/* A single responsive feature layout; the active book stays consistent on all screens. */
.tlc-home-shell .tlc-feature{display:grid!important;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);align-items:center;gap:clamp(28px,5vw,80px);min-height:0;padding:48px max(24px,calc((100vw - 1160px)/2)) 64px;box-sizing:border-box}
.tlc-home-shell .tlc-feature .tlc-mobile-feature{display:none!important}
.tlc-home-shell .tlc-feature>.tlc-feature-visual{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:22px;height:auto!important;min-height:0;padding:0}
.tlc-home-shell .tlc-feature-book{width:100%;max-width:270px;height:350px;margin:0;transform:rotate(-3deg);background:transparent;box-shadow:none}
.tlc-home-shell .tlc-feature-book img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(12px 18px 12px #001c2580)}
.tlc-home-shell .tlc-feature-script{position:static;max-width:320px;margin:0;font:italic 21px/1.35 Georgia,serif;transform:none;color:#fff;text-align:center}
.tlc-home-shell .tlc-feature>.tlc-feature-copy{display:block!important;padding:0;min-width:0;width:auto;max-width:620px;align-self:center}
.tlc-home-shell .tlc-feature-copy h1{font-size:clamp(32px,4vw,58px);line-height:1.08;margin:20px 0 14px;overflow-wrap:anywhere}
.tlc-home-shell .tlc-feature-author{font:600 12px/1.6 Arial,sans-serif;letter-spacing:1px;margin:0 0 16px}
.tlc-home-shell .tlc-feature-description{font-size:16px;line-height:1.65;margin:0 0 18px;max-width:54ch;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.tlc-home-shell .tlc-feature-actions{max-width:340px;margin-top:18px;gap:16px}
.tlc-home-shell .tlc-feature-actions .tlc-btn{padding:14px 20px;font-size:14px;min-height:48px}
.tlc-home-shell .tlc-feature-backdrop-image{filter:blur(35px);opacity:.38;transform:scale(1.18)}
.tlc-home-shell .tlc-feature-backdrop::after{background:linear-gradient(100deg,#053a2c80,#042e25e6 90%)}
.tlc-home-shell .tlc-hero-controls{bottom:8px}
/* Book ribbons match the compact cover-first treatment of the children's shelf. */
.tlc-home-shell .tlc-home-rail-meta{display:flex;align-items:center;gap:10px;flex-shrink:0}
.tlc-home-shell .tlc-home-rail-meta>a{font:600 12px/1.4 Arial,sans-serif;white-space:nowrap;margin-right:4px}
.tlc-home-shell .tlc-home-rail-meta .tlc-rail-arrow{position:static;display:inline-flex;align-items:center;justify-content:center;flex:none;transform:none;width:36px;height:36px;border:1px solid #d6e1db;border-radius:50%;padding:0;font-size:25px;line-height:1;background:#006e49;color:white;cursor:pointer;box-shadow:0 2px 6px #1233}
.tlc-home-shell .tlc-home-rail-meta .tlc-rail-arrow[data-direction=prev]{background:white;color:#006e49}
.tlc-home-shell .tlc-home-rail-meta .tlc-rail-arrow[hidden]{display:none}
.tlc-home-shell .tlc-home-rail-meta .tlc-rail-arrow:disabled{opacity:.4}
.tlc-home-shell .tlc-home-rail-section .tlc-home-book-rail{display:flex!important;gap:18px;padding:5px 3px 12px;background:transparent;border-radius:0;overflow-x:auto!important;scroll-snap-type:x mandatory}
.tlc-home-shell .tlc-home-rail-section .tlc-home-book{display:block!important;flex:0 0 190px!important;min-width:0;scroll-snap-align:start}
.tlc-home-shell .tlc-home-rail-section .tlc-home-book-cover{height:270px;aspect-ratio:auto;background:transparent;box-shadow:none;display:flex;align-items:flex-end;overflow:visible}
.tlc-home-shell .tlc-home-rail-section .tlc-home-book-cover img{height:auto;max-height:100%;width:100%;object-fit:contain;object-position:bottom;filter:drop-shadow(0 3px 3px #1232);border-radius:2px}
.tlc-home-shell .tlc-home-rail-section .tlc-home-book h3{font:700 13px/1.4 Georgia,serif!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:8px 0 3px}
.tlc-home-shell .tlc-home-rail-section .tlc-home-book-author{font:12px/1.45 Arial,sans-serif;color:#476b76;margin:0 0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-height:18px}
.tlc-home-shell .tlc-home-rail-section .tlc-home-book-open{display:inline-block;font:700 12px/1.5 Arial,sans-serif;color:#00617a;text-decoration:none;padding:6px 0}
.tlc-home-shell .tlc-home-rail-section .tlc-home-book-price,.tlc-home-shell .tlc-home-rail-section .tlc-home-book-format{display:none}
.tlc-home-shell .tlc-home-book-image-link:focus-visible{outline:3px solid #ffcf40;outline-offset:3px}
.tlc-home-shell .tlc-home-book-image-link:hover .tlc-home-book-cover{outline:2px solid #ffcf40;outline-offset:3px;border-radius:2px}
@media(max-width:900px){
 .tlc-home-shell .tlc-feature{gap:32px;padding:36px 28px 64px;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}
 .tlc-home-shell .tlc-feature-book{height:300px;max-width:220px}
 .tlc-home-shell .tlc-feature-script{font-size:18px}
 .tlc-home-shell .tlc-feature-copy h1{font-size:36px}
 .tlc-home-shell .tlc-feature-description{font-size:14px}
}
@media(max-width:600px){
 .tlc-home-shell .tlc-feature{grid-template-columns:minmax(0,1fr);gap:24px;padding:30px 24px 64px;text-align:center}
 .tlc-home-shell .tlc-feature-book{height:235px;max-width:180px;transform:none}
 .tlc-home-shell .tlc-feature-script{font-size:17px;max-width:270px}
 .tlc-home-shell .tlc-feature-copy{justify-self:center}
 .tlc-home-shell .tlc-feature-kicker{font-size:11px;letter-spacing:1.5px}
 .tlc-home-shell .tlc-feature-copy h1{font-size:32px;margin:14px 0 10px}
 .tlc-home-shell .tlc-feature-author{font-size:11px;letter-spacing:.5px;margin-bottom:12px}
 .tlc-home-shell .tlc-feature-description{font-size:14px;-webkit-line-clamp:3}
 .tlc-home-shell .tlc-feature-formats{justify-content:center}
 .tlc-home-shell .tlc-feature-actions{margin:16px auto 0;align-items:center;max-width:340px}
 .tlc-home-shell .tlc-home-rail-section .tlc-home-book{flex-basis:155px!important}
 .tlc-home-shell .tlc-home-rail-section .tlc-home-book-cover{height:222px}
 .tlc-home-shell .tlc-home-rail-section .tlc-home-book-rail{gap:14px}
 .tlc-home-shell .tlc-home-rail-section .tlc-home-section-head{align-items:flex-start;gap:12px}
 .tlc-home-shell .tlc-home-rail-section .tlc-home-section-head h2{font-size:25px}
 .tlc-home-shell .tlc-home-rail-meta{gap:6px}
 .tlc-home-shell .tlc-home-rail-meta .tlc-rail-arrow{width:32px;height:32px}
 .tlc-home-shell .tlc-home-rail-meta>a{font-size:11px}
}
@media(prefers-reduced-motion:reduce){.tlc-home-book-rail{scroll-behavior:auto}}
.tlc-home-shell .tlc-feature>p{display:none}
@media(max-width:600px){
 .tlc-home-shell .tlc-home-rail-section .tlc-home-section-head{flex-wrap:wrap;gap:8px}
 .tlc-home-shell .tlc-home-rail-section .tlc-home-section-head>div:first-child{flex:1 1 100%}
 .tlc-home-shell .tlc-home-rail-meta{width:100%;justify-content:flex-end}
 .tlc-home-shell .tlc-home-rail-meta>a{display:inline-block!important}
}
/* Keep the author's portrait inside its column, including WordPress paragraph wrappers. */
.tlc-home-shell .tlc-author-panel{align-items:start;grid-template-columns:minmax(0,.8fr) minmax(0,1.05fr) minmax(0,1.35fr);gap:24px;padding:24px;box-sizing:border-box}
.tlc-home-shell .tlc-author-panel>div{min-width:0}
.tlc-home-shell .tlc-author-portrait{align-self:start;display:block;height:clamp(240px,28vw,340px);min-height:0;overflow:hidden;border-radius:6px;box-sizing:border-box}
.tlc-home-shell .tlc-author-portrait>p,.tlc-home-shell .tlc-author-portrait>figure,.tlc-home-shell .tlc-author-portrait>a,.tlc-home-shell .tlc-author-portrait picture{display:block;margin:0!important;padding:0;width:100%;height:100%;min-height:0}
.tlc-home-shell .tlc-author-portrait img{display:block;width:100%!important;height:100%!important;max-height:100%;margin:0;object-fit:cover;object-position:center 25%}
.tlc-home-shell .tlc-author-portrait br{display:none}
.tlc-home-shell .tlc-author-panel h3{overflow-wrap:anywhere}
@media(max-width:1000px){
 .tlc-home-shell .tlc-author-panel{grid-template-columns:minmax(160px,.7fr) minmax(0,1.3fr)}
 .tlc-home-shell .tlc-author-books{grid-column:1/-1;align-items:start}
 .tlc-home-shell .tlc-author-books .tlc-home-book{max-width:180px}
}
@media(max-width:600px){
 .tlc-home-shell .tlc-author-panel{grid-template-columns:minmax(0,1fr);padding:18px;gap:20px}
 .tlc-home-shell .tlc-author-portrait{width:100%;max-width:240px;height:300px;justify-self:center}
 .tlc-home-shell .tlc-author-panel h3{font-size:25px}
 .tlc-home-shell .tlc-author-panel p{font-size:14px;line-height:1.6}
 .tlc-home-shell .tlc-author-books{width:100%;gap:14px}
 .tlc-home-shell .tlc-author-books .tlc-home-book{flex:1 1 0;max-width:180px}
}

/* Compact collection directory: text links, with no image tiles. */
.tlc-home-shell .tlc-collection-index .tlc-collection-text-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:48px;row-gap:0;list-style:none;margin:0 0 22px;padding:0}
.tlc-home-shell .tlc-collection-text-links>li{list-style:none;margin:0;padding:0;border-bottom:1px solid #dce3d8;min-width:0}
.tlc-home-shell .tlc-collection-text-links a{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:62px;padding:14px 4px;box-sizing:border-box;color:#124333;text-decoration:none;font:600 20px/1.35 var(--tlc-custom-heading-font,Georgia,serif);background:transparent;transition:color .15s}
.tlc-home-shell .tlc-collection-text-links a>span:first-child{min-width:0;overflow-wrap:anywhere}
.tlc-home-shell .tlc-collection-text-links a>span:last-child{flex:none;font:400 22px/1 Arial,sans-serif;color:#6a846f}
.tlc-home-shell .tlc-collection-text-links a:hover{color:#006e49;text-decoration:underline;text-underline-offset:5px}
.tlc-home-shell .tlc-collection-text-links a:focus-visible{outline:3px solid #e4b900;outline-offset:3px;border-radius:2px}
.tlc-home-shell .tlc-collection-index .tlc-collection-all{display:inline-block;color:#006e49;font:700 14px/1.5 Arial,sans-serif;text-underline-offset:4px;padding-block:10px}
@media(max-width:600px){
 .tlc-home-shell .tlc-collection-index .tlc-collection-text-links{grid-template-columns:minmax(0,1fr)}
 .tlc-home-shell .tlc-collection-text-links a{font-size:18px;min-height:58px;gap:16px}
}
