/*
Theme Name: Neriah House Publishing
Description: Approved editorial website converted from design 1.40.
Version: 1.1.2
Author: Regimus
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: neriah-house
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600&family=Source+Sans+3:wght@400;500;600;700&display=swap');
:root{--navy:#192c3d;--ivory:#f7f2e8;--gold:#b69a60;--teal:#326d70;--berry:#813e50}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--ivory);color:var(--navy);font:18px/1.55 'Source Sans 3',Arial,sans-serif}h1,h2,h3,.brand{font-family:'Playfair Display',Georgia,serif;font-weight:500;line-height:1.12;margin:0 0 .5em}h1{font-size:clamp(42px,5.2vw,80px)}h2{font-size:clamp(32px,3.5vw,51px)}h3{font-size:26px}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #c7a053;outline-offset:4px}.wrap{max-width:1280px;margin:auto;padding:0 5%}.top{background:var(--navy);color:#fff;text-align:center;font-size:13px;letter-spacing:.14em;padding:9px}.mast{display:flex;align-items:center;justify-content:space-between;padding:25px 0;gap:16px}.brand{font-size:28px;letter-spacing:.07em;margin:0;text-align:center}.brand small{display:block;font:600 11px 'Source Sans 3',sans-serif;letter-spacing:.38em}.brand em{display:block;font:italic 13px Georgia;letter-spacing:0;margin-top:8px}.mark{font-size:34px;color:var(--gold);line-height:1}.tools{display:flex;gap:20px;font-size:15px}.nav{border-top:1px solid #d9cdb6;border-bottom:1px solid #d9cdb6;display:flex;justify-content:center;gap:26px;padding:13px 0;font-size:15px;font-weight:600;flex-wrap:wrap}.hero{display:grid;grid-template-columns:1fr 1fr;min-height:570px;background:#ede5d6}.hero-copy{padding:clamp(35px,6vw,100px);align-self:center}.eyebrow{font-size:12px;font-weight:700;letter-spacing:.22em;text-transform:uppercase;color:var(--teal);margin:0 0 18px}.hero-art{min-height:420px;background:radial-gradient(ellipse at 20% 5%,#ead8a9,transparent 65%),linear-gradient(135deg,#6b7d6b,#263d3d);display:grid;place-items:center;overflow:hidden}.hero-art svg{width:100%;height:100%;max-height:630px}.btn{display:inline-block;background:var(--navy);color:white;padding:13px 22px;font-size:15px;font-weight:600;letter-spacing:.04em;border:1px solid var(--navy);margin:8px 7px 0 0}.btn.alt{background:transparent;color:var(--navy);border-color:var(--gold)}.section{padding:75px 0}.center{text-align:center}.intro{max-width:680px;margin:0 auto 34px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.category{background:#fffdf8;padding:25px;border:1px solid #ded3c0}.category .art{height:220px;display:grid;place-items:center;margin-bottom:24px;overflow:hidden}.art svg{width:100%;height:100%}.feature{background:#e1e9df;display:grid;grid-template-columns:1.05fr 1fr;align-items:center}.feature .copy{padding:55px}.feature-art{min-height:370px;background:#d7b984;display:grid;place-items:center}.feature-art svg{width:100%;height:100%}.catalog{background:#fffdf8}.filters{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:25px 0}.filters button{font:inherit;font-size:14px;padding:8px 15px;background:transparent;border:1px solid #c9b99c;color:var(--navy);cursor:pointer}.filters button.active{background:var(--navy);color:white}.shelf{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}.book{text-align:left}.book[hidden]{display:none}.cover-stage{height:310px;display:grid;place-items:center;background:#eae2d4;margin-bottom:18px}.cover{width:155px;height:225px;padding:22px 14px;box-shadow:9px 12px 17px #0003,inset 5px 0 #0002;border:1px solid #ffffff45;color:#fff;display:flex;flex-direction:column;justify-content:space-between;text-align:center;font-family:Georgia,serif;position:relative}.cover:after{content:'';position:absolute;inset:9px;border:1px solid #e2ca8e88;pointer-events:none}.cover strong{font-size:25px;line-height:1.1;font-weight:normal}.cover small{font-size:10px;letter-spacing:.12em}.book h3{font-size:24px;margin-bottom:8px}.book p{font-size:16px}.note{font-size:13px;color:#5d625f}.split{display:grid;grid-template-columns:1fr 1fr;gap:30px}.panel{padding:40px;background:#ede5d6;border-top:3px solid var(--gold)}.quote{background:var(--navy);color:white;text-align:center;padding:65px 5%}.quote h2{max-width:850px;margin:auto}.footer{background:#142331;color:#f7f2e8;padding:50px 0 25px}.footgrid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:30px}.footer a{display:block;margin:7px 0;font-size:15px}.footer .brand{text-align:left}.bottom{border-top:1px solid #ffffff30;margin-top:32px;padding-top:18px;font-size:13px;display:flex;justify-content:space-between;flex-wrap:wrap}.search{display:none;padding:15px 0;text-align:center}.search.open{display:block}.search input{padding:12px;width:min(420px,70%);border:1px solid var(--gold);font:inherit}.search button{font:inherit;padding:12px;background:var(--navy);color:white;border:0}.linkbutton{border:0;background:none;color:inherit;font:inherit;cursor:pointer;padding:0}.mobile{display:none}@media(max-width:760px){.hero,.feature,.split{grid-template-columns:1fr}.hero-art{min-height:300px}.hero-copy,.feature .copy{padding:35px 6%}.grid,.shelf{grid-template-columns:1fr}.footgrid{grid-template-columns:1fr 1fr}.footgrid>div:first-child{grid-column:1/-1}.section{padding:45px 0}.mast{flex-wrap:wrap;justify-content:center}.tools{width:100%;justify-content:center}.nav{gap:12px;font-size:13px}.cover-stage{height:270px}.feature-art{min-height:240px}.mark{display:none}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.actual-cover{max-height:265px;max-width:88%;object-fit:contain;box-shadow:8px 10px 18px #0003}.actual-cover[hidden],.fallback[hidden]{display:none}.bookmeta{font-size:11px!important;margin:0 0 8px!important;letter-spacing:.12em}.price{font-weight:700;font-size:20px!important;margin:8px 0}.product-link{color:var(--teal);font-weight:600}.book{padding-bottom:15px}.cover strong{font-size:21px}.shelf{row-gap:42px}.official-logo{display:block;width:180px;height:auto;max-width:100%;margin:0 auto 7px}.footer .official-logo{margin-left:0;margin-right:0}.mast .mark{visibility:hidden}
/* V1.3: left-aligned masthead, integrated navigation */
header.wrap{max-width:1440px;padding:0 3%}.mast{gap:24px;padding:18px 0;align-items:center}.mast .brand{flex:0 0 180px;text-align:left}.mast .official-logo{margin:0 0 5px;width:156px}.mast .brand small{letter-spacing:.26em}.mast .brand em{font-size:12px}.mast .nav{border:0;flex:1;gap:clamp(10px,1.4vw,23px);align-items:center;justify-content:center;padding:8px 0;font-size:15px}.mast .nav>a{white-space:nowrap}.mast .tools{flex:0 0 auto;gap:12px;white-space:nowrap;font-size:14px}.family-menu{position:relative}.family-menu summary{cursor:pointer;white-space:nowrap}.family-links{position:absolute;top:100%;right:0;min-width:190px;background:var(--ivory);border:1px solid var(--gold);padding:10px;z-index:5;box-shadow:0 6px 18px #192c3d20}.family-links a{display:block;padding:6px 8px}.mast{border-bottom:1px solid #d9cdb6}@media(max-width:1050px){.mast{flex-wrap:wrap;justify-content:space-between}.mast .brand{order:0}.mast .tools{order:1;width:auto;justify-content:flex-end}.mast .nav{order:2;flex:1 0 100%;border-top:1px solid #d9cdb6;justify-content:flex-start;gap:12px 22px}}@media(max-width:480px){.mast{gap:12px}.mast .brand{flex-basis:145px}.mast .official-logo{width:130px}.mast .brand em{font-size:10px}.mast .tools{gap:8px;font-size:12px}.mast .nav{font-size:13px;gap:9px 15px}.family-links{left:0;right:auto}}
.hero-art,.feature-art,.category .art{position:relative;overflow:hidden}.editorial-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}.hero-art .editorial-photo{object-position:65% center}.friends-cover{position:absolute;bottom:16px;right:16px;width:85px;z-index:1;box-shadow:0 4px 15px #0005}.friends-cover img{display:block;width:100%;height:auto}

.page-view[hidden]{display:none!important}.crumb{padding-top:20px;padding-bottom:20px;font-size:14px;color:#536266;text-transform:capitalize}.inner-banner{display:grid;grid-template-columns:1fr 1fr;background:#ede5d6;min-height:310px}.inner-banner>div{padding:clamp(30px,6vw,80px);align-self:center}.inner-banner h1{font-size:clamp(38px,4.4vw,64px)}.inner-banner img{width:100%;height:100%;max-height:380px;object-fit:cover}.product-detail{display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:center}.product-detail h1{font-size:clamp(32px,4vw,52px)}.product-detail .cover-stage{height:500px}.product-detail .actual-cover{max-height:450px}.nav a[aria-current=page]{border-bottom:2px solid var(--gold)}@media(max-width:760px){.inner-banner,.product-detail{grid-template-columns:1fr}.inner-banner img{max-height:240px}.product-detail .cover-stage{height:330px}.product-detail .actual-cover{max-height:300px}}
.feature-art:has(.friends-original){background:#e1e9df;min-height:370px}.feature-art .friends-original{object-fit:contain;object-position:center}.inner-banner img.friends-banner-original{object-fit:contain;background:#e1e9df}@media(max-width:760px){.feature-art:has(.friends-original){min-height:0;aspect-ratio:762/335}}

.feature-art:has(.friends-original){display:flex;align-items:center;justify-content:center;min-height:370px}.feature-art .friends-original{position:static;inset:auto;width:100%;height:auto;max-width:100%;object-fit:contain;display:block}.inner-banner img.friends-banner-original{height:auto;align-self:center;max-height:none;object-fit:contain}@media(max-width:760px){.feature-art:has(.friends-original){min-height:0;aspect-ratio:auto}}

.chapter-collection{margin:28px 0 42px}.chapter-heading{font-family:inherit;font-size:clamp(1.35rem,2.4vw,1.8rem);margin:0 0 8px;color:#192c3d}.chapter-subtitle{margin:0 0 22px}.chapter-shelf{grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;align-items:start}.chapter-shelf .cover-stage{height:auto;aspect-ratio:3/4;min-height:0}.chapter-shelf .actual-cover{width:100%;height:100%;max-height:100%;object-fit:contain}.chapter-shelf .book h3{font-size:clamp(1rem,1.5vw,1.2rem)}.other-heading{margin:24px 0}.chapter-collection[hidden],.other-heading[hidden]{display:none!important}@media(max-width:900px){.chapter-shelf{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:580px){.chapter-shelf{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}}

/* v1.33: edge-to-edge square homepage slideshow */
.hero:not(.shop-slider){min-height:0;align-items:center}
.hero-slider.hero-art:not(.shop-slider){width:100%;height:auto;min-height:0;aspect-ratio:1/1;align-self:start}
.hero-slider.hero-art:not(.shop-slider) .hero-slide{object-fit:cover!important;object-position:center!important}
.shop-slider.hero-art .hero-slide{object-fit:cover!important}
@media(max-width:760px){.hero-slider.hero-art{aspect-ratio:1/1;height:auto;min-height:0}}


/* Equal-sized portrait display frames across all shelves; detail pages retain larger covers. */
.shelf .book{min-width:0}
.shelf .cover-stage,.chapter-shelf .cover-stage{height:264px;aspect-ratio:auto;min-height:0;display:grid;place-items:center;padding:12px;background:transparent}
.shelf .cover-stage .actual-cover,.chapter-shelf .cover-stage .actual-cover,.shelf .cover-stage .cover{width:160px;height:240px;max-width:100%;max-height:240px;object-fit:contain;box-shadow:none}
.shelf .cover-stage .actual-cover{filter:drop-shadow(5px 7px 5px #0003)}
.shelf .cover-stage .cover{box-shadow:5px 7px 10px #0003}
.shelf .cover-stage [hidden]{display:none!important}
@media(max-width:580px){.shelf .cover-stage,.chapter-shelf .cover-stage{height:216px;padding:8px}.shelf .cover-stage .actual-cover,.chapter-shelf .cover-stage .actual-cover,.shelf .cover-stage .cover{width:133px;height:200px;max-height:200px}.shelf .cover-stage .cover{padding:12px 8px}.shelf .cover-stage .cover strong{font-size:17px}}

.hero-slider .hero-slide{opacity:0;transition:opacity .85s ease;object-position:center}.hero-slider .hero-slide.is-active{opacity:1}.slider-controls{position:absolute;z-index:2;bottom:18px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:10px;padding:6px 10px;background:#192c3de6;border-radius:30px;color:white}.slider-controls button{border:0;background:transparent;color:white;font:inherit;cursor:pointer;min-width:32px;height:32px;line-height:1}.slider-dots{display:flex;gap:7px;align-items:center}.slider-dots button{min-width:12px;width:12px;height:12px;border:1px solid white;border-radius:50%;padding:0}.slider-dots button[aria-pressed=true]{background:#d6b675;border-color:#d6b675}@media(prefers-reduced-motion:reduce){.hero-slider .hero-slide{transition:none}}
.shelf.education-shelf{grid-template-columns:repeat(3,minmax(0,1fr));max-width:760px;margin-inline:auto}.shelf.memoir-shelf{grid-template-columns:minmax(0,240px);justify-content:center}.other-heading{margin-top:2rem}.other-heading[hidden]{display:none!important}@media(max-width:600px){.shelf.education-shelf{grid-template-columns:repeat(2,minmax(0,1fr))}}
.memoir-editorial{display:grid;grid-template-columns:1fr 1fr;gap:0;margin:48px 0 32px;border-radius:3px;overflow:hidden;background:#192c3d;color:#f7f2e8;text-align:left}.memoir-editorial-photo{aspect-ratio:1;min-width:0}.memoir-editorial-photo img{width:100%;height:100%;display:block;object-fit:cover}.memoir-editorial-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:clamp(24px,4vw,65px);min-width:0}.memoir-editorial-copy .eyebrow{color:#e0bd82;letter-spacing:.12em;margin:0 0 12px}.memoir-editorial-copy h2{font-size:clamp(32px,4vw,58px);line-height:1.05;color:#fff;margin:0 0 8px;text-align:left}.memoir-subtitle{font-family:Georgia,serif;font-style:italic;font-size:clamp(20px,2vw,28px);margin:0 0 12px}.memoir-author{color:#e0bd82;margin:0}.memoir-rule{width:60px;border-top:1px solid #b69a60;margin:20px 0}.memoir-editorial-copy p:not(.eyebrow){line-height:1.55}.memoir-format{font-weight:600;color:#e0bd82}.memoir-cta{display:inline-block;background:#b69a60;color:#192c3d!important;padding:13px 22px;text-decoration:none;font-weight:700;border-radius:2px}.memoir-cta:hover{background:#e0bd82}@media(max-width:760px){.memoir-editorial{grid-template-columns:1fr}.memoir-editorial-copy{padding:30px 24px}.memoir-editorial-photo{aspect-ratio:1}}
/* Collection colour separation */
.collection-band{padding:clamp(22px,3.5vw,48px);margin:24px 0 34px;border-radius:3px;display:block;}
.collection-band[hidden]{display:none!important}
.chapter-collection.collection-band{background:#e3ece4;border-top:4px solid #326d70}
.education-band{background:#eee4d2;border-top:4px solid #b69a60}
.memoir-band{background:#eee2e6;border-top:4px solid #813e50}
.collection-band .chapter-heading{margin:0 0 12px;text-align:center}
.collection-band .chapter-subtitle{text-align:center}
.collection-band .shelf{margin-top:18px}
.collection-band .book{min-width:0}
@media(max-width:600px){.collection-band{padding:18px 12px;margin:20px 0 26px}.collection-band .shelf{gap:14px}}

/* V1.21: full-bleed collection backgrounds, unchanged centered book displays. */
.collection-band{border-radius:0;clip-path:inset(0 -100vmax);box-shadow:0 0 0 100vmax var(--band-color);}
.chapter-collection.collection-band{--band-color:#e3ece4}
.education-band{--band-color:#eee4d2}
.memoir-band{--band-color:#eee2e6}

html,body{overflow-x:clip}.memoir-editorial{width:100vw;max-width:none;margin:0 calc(50% - 50vw);border-radius:0;grid-template-columns:1fr 1fr}.memoir-editorial-photo{aspect-ratio:auto;min-height:clamp(340px,48vw,680px)}.memoir-editorial-copy{padding:clamp(32px,6vw,100px)}.memoir-editorial[hidden]{display:none!important}.shop-slider.hero-art{position:relative;width:100%;height:clamp(330px,46vw,660px);min-height:0;overflow:hidden;background:#192c3d}.shop-slider .hero-slide{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#192c3d}.shop-intro{padding:36px 20px 8px}.shop-intro h1{margin:0;font-size:clamp(36px,5vw,60px)}.shop-intro p{margin:10px 0}.shop-intro + .catalog .intro{display:none}@media(max-width:760px){.memoir-editorial{grid-template-columns:1fr}.memoir-editorial-photo{min-height:0;aspect-ratio:1}.memoir-editorial-copy{padding:32px 24px}.shop-slider.hero-art{height:auto;aspect-ratio:1}.shop-slider .hero-slide{object-fit:contain}}
.about-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.about-values .panel{border-top:3px solid #b69a60}.about-values h3{font-family:"Playfair Display",Georgia,serif;font-size:1.55rem;color:#192c3d;margin:0 0 16px}.about-values p{line-height:1.8;margin:0}@media(max-width:850px){.about-values{grid-template-columns:1fr}}
.pub-band{padding:64px 0;color:#192c3d}.pub-band .wrap{max-width:1100px}.pub-band h2{margin:0 0 12px}.pub-sub{color:#326d70;margin:0 0 24px}.pub-sub:empty{display:none}.pub-band p{max-width:85ch;line-height:1.75}.pub-band li{margin:8px 0;line-height:1.5}.pub-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:28px}.pub-band .panel{border-top:3px solid #b69a60}.pub-cta{background:#192c3d;color:#fff;text-align:center}.pub-cta h2,.pub-cta h3{color:#fff}.pub-cta p{margin:16px auto}.pub-cta .btn{background:#b69a60;color:#192c3d}@media(max-width:760px){.pub-three{grid-template-columns:1fr}.pub-band{padding:36px 0}}
/* Responsive photography: preserve complete photographs rather than cutting out readers. */
.hero-slider{background:#192c3d}.hero-slider .hero-slide{object-fit:contain!important;object-position:center!important;background:#192c3d}.hero-slider .hero-slide[data-original-asian]{object-position:center!important}.hero-slider .slider-controls{bottom:12px}.inner-resource-band{background:#e3ece4;padding:clamp(30px,5vw,70px) 0}.inner-resource-band h2{margin-top:0}.author-cover{width:150px;max-width:42%;height:auto;float:left;margin:0 22px 14px 0;filter:drop-shadow(3px 5px 5px #0003)}.panel:after{content:"";display:block;clear:both}@media(max-width:760px){.hero-slider.hero-art{height:auto;min-height:0;aspect-ratio:1}.hero-slider .hero-slide{object-fit:contain!important}.hero-slider .slider-controls{bottom:8px}.author-cover{float:none;max-width:100%;margin:0 0 18px}}
.memoir-details{margin-top:2rem;padding-top:1rem;border-top:1px solid #b69a60}.memoir-details dl{display:grid;grid-template-columns:auto 1fr;gap:.4rem 1rem}.memoir-details dd{margin:0}#catalog-search-items a{text-decoration:underline}
.book-detail-target{display:block;color:inherit;text-decoration:none}.book-detail-target:hover h3{text-decoration:underline}.book-detail-target:focus-visible{outline:2px solid #326d70;outline-offset:4px}
.nhp-standard{max-width:1280px;margin:40px auto;padding:0 5%;}.nhp-standard img{max-width:100%;height:auto}.woocommerce .button{background:var(--teal);color:white}.nhp-catalog-note{font-size:14px;}

/* Full-width educational partner artwork, no crop. */


/* v1.0.6: identical three-dimensional education box geometry. Original cover art is contained, not cropped. */
.nhp-book-box{--box-width:150px;--box-depth:17px;--box-rise:9px;--box-color:#192c3d;display:block;position:relative;isolation:isolate;width:var(--box-width);aspect-ratio:2/3;margin:0 var(--box-depth) var(--box-rise) 0;background:var(--box-color);box-shadow:12px 13px 16px #0003;transform:skewY(-3deg);}
.nhp-book-box--warriors{--box-color:#8a4926}.nhp-book-box--ai{--box-color:#071c30}.nhp-book-box--tmfi{--box-color:#123858}
.nhp-book-box:before{content:"";position:absolute;top:0;left:100%;width:var(--box-depth);height:100%;background:linear-gradient(90deg,#0004,#0009),var(--box-color);transform-origin:left top;transform:skewY(29deg);border-right:1px solid #0004;z-index:-1}
.nhp-book-box:after{content:"";position:absolute;left:0;top:100%;width:100%;height:var(--box-rise);background:linear-gradient(180deg,#0008,#0003),var(--box-color);transform-origin:left top;transform:skewX(63deg);z-index:-1}
.nhp-book-box .actual-cover,.shelf .cover-stage .nhp-book-box .actual-cover,.product-detail .nhp-book-box .actual-cover{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;box-shadow:none;filter:none;}
.product-detail .nhp-book-box{--box-width:clamp(150px,23vw,270px);--box-depth:30px;--box-rise:16px}
@media(max-width:580px){.shelf .nhp-book-box{--box-width: min(112px, 24vw);--box-depth:12px;--box-rise:6px}.product-detail .nhp-book-box{--box-width:180px;--box-depth:20px;--box-rise:11px}}

/* Four educational products, matching outer display dimensions. */
.shelf.education-shelf{grid-template-columns:repeat(4,minmax(0,1fr));max-width:1020px}.nhp-book-box--friends{background:none;box-shadow:none;transform:none;width:calc(var(--box-width) + var(--box-depth));aspect-ratio:auto;height:calc(var(--box-width)*1.5 + var(--box-rise));margin:0;filter:drop-shadow(8px 9px 7px #0003)}.nhp-book-box--friends:before,.nhp-book-box--friends:after{display:none}.shelf .cover-stage .nhp-book-box--friends .actual-cover{object-fit:contain}@media(max-width:760px){.shelf.education-shelf{grid-template-columns:repeat(2,minmax(0,1fr))}}

.memoir-editorial-copy .nhp-amazon-cta{margin-top:12px;background:transparent;color:#f7f2e8!important;border:1px solid #b69a60}.memoir-editorial-copy .nhp-amazon-cta:hover{background:#b69a60;color:#192c3d!important}


.nhp-education-promos{width:100%;padding:24px 0 56px}
.nhp-education-promos .wrap.center h2{margin-bottom:12px}
.nhp-education-promos .section-intro{max-width:760px;margin:0 auto 28px;color:#4b5460;text-align:center}
.edu-feature-stack{display:flex;flex-direction:column;gap:28px;width:100%}
.edu-feature{display:grid;grid-template-columns:1.1fr .9fr;align-items:stretch;gap:0;background:#fff;border:1px solid #e3e0db;border-radius:24px;overflow:hidden;box-shadow:0 12px 28px rgba(15,23,42,.09)}
.edu-feature.reverse{grid-template-columns:.9fr 1.1fr}
.edu-feature .feature-media{min-height:320px;background:#dde6ef;display:block}
.edu-feature .feature-media img{display:block;width:100%;height:100%;object-fit:cover}
.edu-feature .feature-copy{padding:34px 34px 36px;display:flex;flex-direction:column;justify-content:center}
.edu-feature .feature-copy h3{font-size:clamp(1.85rem,2.4vw,2.65rem);line-height:1.08;margin:8px 0 10px;color:#162447}
.edu-feature .feature-copy p{color:#4b5460;margin:0 0 14px}
.edu-feature .feature-copy .price{font-family:Playfair Display,Georgia,serif;font-size:1.35rem;color:#6b1b7b;margin:4px 0 14px}
.edu-feature .feature-copy .feature-highlights{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px;list-style:none;padding:0;margin:0 0 20px;color:#24314d}
.edu-feature .feature-copy .feature-highlights li{position:relative;padding-left:18px;font-size:.98rem}
.edu-feature .feature-copy .feature-highlights li:before{content:"•";position:absolute;left:0;top:-1px;color:#b69a60;font-size:1.2rem;line-height:1}
.edu-feature .feature-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:4px}
.edu-feature .feature-actions .btn.alt{background:#fff;color:#162447;border:1px solid #d5dbe3}
@media (max-width: 980px){
  .edu-feature,.edu-feature.reverse{grid-template-columns:1fr}
  .edu-feature .feature-media{min-height:260px}
}
@media (max-width: 640px){
  .nhp-education-promos{padding-bottom:34px}
  .edu-feature .feature-copy{padding:26px 22px 28px}
  .edu-feature .feature-copy .feature-highlights{grid-template-columns:1fr}
}


/* Educational promotional artwork: equal landscape frames, no cropping. */
.nhp-ad-band .chapter-heading{margin:0 0 24px}.nhp-ad-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:stretch}.nhp-ad-card{min-width:0;display:flex;flex-direction:column;padding:0!important;background:#fffdf8;border:1px solid #ded3c0;overflow:hidden}.nhp-ad-card[hidden]{display:none!important}.nhp-ad-image{display:block;aspect-ratio:16/9;background:#192c3d}.nhp-ad-image img{display:block;width:100%;height:100%;object-fit:contain}.nhp-ad-caption{padding:18px 20px;flex:1;display:flex;flex-direction:column}.nhp-ad-caption h3{font-size:clamp(20px,2.2vw,27px);margin:0}.nhp-ad-caption .price{font-size:17px!important}.nhp-ad-links{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:auto}.nhp-ad-links a{font-size:15px}.nhp-partner-sites{padding:20px 0 48px}.nhp-partner-sites a,.nhp-partner-sites img{display:block;width:100%;height:auto}.nhp-partner-sites a+a{margin-top:24px}@media(max-width:760px){.nhp-ad-grid{grid-template-columns:1fr;gap:18px}.nhp-ad-caption{padding:14px 16px}}
