
.home-invitations{display:flex;justify-content:center;gap:24px;flex:none;margin:8px auto 14px;text-align:center;position:relative;z-index:6}.home-invitations a{width:108px;color:#78643f;text-decoration:none;font:13px/1.3 Cabinet,Georgia,serif;display:flex;flex-direction:column;align-items:center;gap:6px}.home-invitations img{width:86px;height:112px;object-fit:cover;object-position:center 40%;border:1px solid #ad9257;box-shadow:0 2px 7px #30241114;border-radius:2px}.home-invitations a:focus-visible{outline:2px solid #99783c;outline-offset:5px}.home-invitations a:hover img{box-shadow:0 3px 10px #30241135}@media(max-width:600px){.home-invitations{gap:18px;margin:6px auto 10px}.home-invitations img{width:76px;height:100px}.home-invitations a{width:102px;font-size:13px}}

#catalog-grid .book-actions .preorder-action{background:#d8c492;color:#302713;border-color:#ac9053}

#catalog-grid .book-actions:not(.youth-parent-note){flex-direction:column;align-items:stretch}
@media(max-width:600px){body:has(.home-invitations)>.house-footer{padding-bottom:62px!important}}

/* Let the stage set the height and keep the footer in normal document flow. */
body.home-with-news>main{flex:1 0 auto;min-height:0}
@media(min-width:601px) and (max-height:740px){
 body.home-with-news>header{padding-block:8px;row-gap:8px}
 body.home-with-news>main{padding-top:14px}
 .home-rubric-slot>.home-invitations{margin-block:4px 8px}
 .home-rubric-slot>.home-invitations img{width:76px;height:100px}
}

/* The preview uses the same row as the invitations, below the constellation. */
.home-rubric-slot{position:relative;display:grid;justify-items:center;align-items:center;flex:none}
.home-rubric-slot>*{grid-area:1/1}
.home-rubric-slot:has(#destination:not([hidden],[data-preview-measurement]))>.home-invitations{visibility:hidden}
.home-rubric-slot #destination{position:relative;inset:auto;transform:none;height:auto;max-height:none;width:min(500px,92%);margin:0;animation:none}
.home-rubric-slot #destination h2{margin-block:3px}
.home-rubric-slot #destination #destination-link{margin-top:0}
.home-rubric-slot .destination-emblem{width:28px}
@media(min-width:601px) and (hover:hover) and (pointer:fine){
 .home-rubric-slot{min-height:max(152px,var(--rubric-slot-height,0px));padding-block:4px}
 .home-rubric-slot #destination{padding-block:8px}
}
