/*
Theme Name: Affable Complete
Theme URI: https://affable.info/
Author: Affable
Description: Complete standalone Affable publishing theme with an editable homepage, launch, contact, FAQ, support and policy pages. Includes a non-destructive starter-content importer.
Version: 1.2.0
Requires at least: 6.6
Requires PHP: 8.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: affable-complete
*/
@font-face{font-family:Newsreader;src:url('assets/fonts/newsreader-latin-standard-normal-s-izfB6B.woff2') format('woff2');font-weight:300 700;font-display:swap}
@font-face{font-family:'Work Sans';src:url('assets/fonts/work-sans-latin-wght-normal-Bl-S9Xys.woff2') format('woff2');font-weight:300 700;font-display:swap}
body{line-height:1.65}h1,h2,h3,.brand{font-family:Newsreader,Georgia,serif;color:#131c2b;font-weight:400}h1{font-size:clamp(36px,5vw,52px);line-height:1.12}h2{font-size:30px}button,input,textarea{font:inherit}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #9b762c;outline-offset:4px}a{text-underline-offset:4px}p a{text-decoration:underline}.site-header{position:sticky;top:0;z-index:100;background:rgba(253,251,247,.97);border-bottom:1px solid #eae5dc}.header-inner,.footer-inner{max-width:1200px;margin:auto;padding:18px 32px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:inline-flex;align-items:center;gap:10px;font-size:25px}.menu{display:flex;gap:28px;list-style:none;padding:0;margin:0}.menu a{display:block;padding:8px 0;font-size:14px}.launch-pill{background:#131c2b;color:#f6f1e7;padding:10px 18px;border-radius:32px;font-size:13px;white-space:nowrap}.menu-toggle{display:none;background:none;border:1px solid #d3c7b8;border-radius:8px;padding:8px 12px}.page-content{width:100%;max-width:920px;margin:auto;padding:56px 24px;min-height:55vh}.page-content>section,.page-content>div{max-width:100%!important;padding-left:0!important;padding-right:0!important}.site-footer{background:#f5f1ea;margin-top:40px;padding:32px 0}.footer-inner{align-items:flex-start}.footer-inner>div{max-width:340px}.site-footer .menu{flex-direction:column;gap:4px}.copyright{max-width:1200px;margin:24px auto 0;padding:24px 32px 0;border-top:1px solid #e4ded4;font-size:12px}.skip-link{position:absolute;left:12px;top:-100px;background:white;padding:12px;z-index:200}.skip-link:focus{top:12px}.review-note,.contact-status{padding:16px 20px;background:#f5f1ea;border-left:4px solid #c6a45c;border-radius:6px}.affable-contact{display:grid;gap:18px;max-width:620px;margin-top:32px}.affable-contact label{display:grid;gap:6px}.affable-contact input,.affable-contact textarea{width:100%;padding:12px;border:1px solid #b8afa3;border-radius:10px;background:#fff;color:#2b2824}.affable-contact button{padding:14px 24px;background:#6e1b24;border:0;color:white;border-radius:12px;justify-self:start;cursor:pointer}.contact-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.contact-help{font-size:14px;color:#6b655d}.home-content img{height:auto}.home-content .hero-books img{max-width:100%}.alignwide{max-width:1200px}.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}.wp-caption{max-width:100%}.wp-caption-text,.gallery-caption{font-size:14px}.sticky{border-top:2px solid #c6a45c}.alignleft{float:left;margin-right:20px}.alignright{float:right;margin-left:20px}.aligncenter{display:block;margin:auto}
@media(max-width:768px){.header-inner{padding:14px 20px;gap:12px;flex-wrap:wrap}.launch-pill{font-size:11px;padding:8px 12px}.nav-ready .menu-toggle{display:block;margin-left:auto}.nav-ready #site-navigation{display:none;width:100%;order:4}.nav-ready #site-navigation.is-open{display:block}#site-navigation .menu{flex-wrap:wrap;gap:20px}.footer-inner{flex-direction:column;padding:24px}.home-content .grid-hero{padding:48px 24px!important;gap:24px!important;width:100%}.home-content h1{font-size:40px!important}.hero-books{min-height:280px!important;width:100%;overflow:hidden}.hero-books>div:last-child{gap:10px!important;max-width:100%}.hero-books img{width:100%!important;max-height:200px;object-fit:contain}.hero-books>div:last-child>div{flex:1;min-width:0}.page-content{padding:32px 24px}.admin-bar .site-header{top:46px}}
@media(min-width:783px){.admin-bar .site-header{top:32px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.faq-item{padding:20px 0;border-bottom:1px solid #e4ded4}.faq-item summary{cursor:pointer;font-weight:500;padding:8px 0}.faq-item summary:focus-visible{outline:3px solid #9b762c}.faq-item p{color:#6b655d}
.affable-hero{max-width:1200px;margin:auto;padding:80px 32px;display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}.affable-hero h1{margin:18px 0 24px;font-size:52px}.eyebrow{color:#92702d;letter-spacing:.18em;text-transform:uppercase;font-size:11px;font-weight:500}.hero-description{font-size:17px;color:#6b655d;max-width:440px}.store-badges{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.store-badge{display:flex;flex-direction:column;padding:12px 26px;background:#6e1b24;border-radius:14px;color:#f6f1e7;font-size:16px}.store-badge small{font-size:11px;color:#f0dbdc}.store-badge.android{background:#131c2b}.hero-art{display:flex;align-items:center;justify-content:center;gap:16px;min-height:440px;background:radial-gradient(circle,rgba(198,164,92,.08),transparent 70%)}.hero-art img{width:29%;height:auto;object-fit:contain;border-radius:7px;box-shadow:0 18px 38px #0002}.hero-art img:nth-child(2){width:34%;margin-bottom:60px}.quote-band{background:#131c2b;padding:40px 24px;text-align:center;color:#f6f1e7}.quote-band p{font-family:Newsreader,Georgia,serif;font-size:28px}.quote-band span{display:block;width:40px;height:2px;background:#c6a45c;margin:20px auto}.catalog-section,.section-inner{max-width:1200px;margin:auto;padding:64px 32px}.catalog-section h2,.features-section h2,.launch-section h2{font-size:36px;margin:8px 0 16px}.section-intro{color:#6b655d;max-width:660px;margin-bottom:32px}.book-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:36px 28px}.book-card img{width:100%;aspect-ratio:2/3;object-fit:contain;border-radius:6px}.book-card h3{font-size:19px;line-height:1.3;margin:14px 0 0}.children-section{padding-top:0}.children-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.children-grid img{aspect-ratio:1}.features-section{background:#f5f1ea}.features-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:36px}.features-grid h3{font-size:25px}.features-grid p{font-size:15px;color:#6b655d}.launch-section{text-align:center;padding:60px 24px;max-width:820px;margin:auto}.launch-section p{color:#6b655d}
@media(max-width:768px){.affable-hero{grid-template-columns:1fr;padding:44px 24px;gap:16px}.affable-hero h1{font-size:42px}.hero-art{min-height:300px;gap:12px}.hero-art img:nth-child(2){margin-bottom:30px}.catalog-section,.section-inner{padding:44px 24px}.book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 18px}.features-grid{grid-template-columns:1fr;gap:8px}.children-section{padding-top:0}.book-card h3{font-size:18px}.children-grid article:last-child{grid-column:auto}}

/* Additions reuse the active Affable theme's fonts. No global body/header reset. */
.asc-page{color:#2b2824}
.asc-page-heading{margin-bottom:30px}
.asc-page-heading h1{margin:10px 0 22px;text-wrap:balance}
.asc-eyebrow{color:#806026;letter-spacing:.14em;text-transform:uppercase;font-size:11px;font-weight:500}
.asc-content{line-height:1.75;overflow-wrap:anywhere}
.asc-content h2{margin:40px 0 14px;font-size:28px;line-height:1.25}
.asc-content h3{margin-top:24px}
.asc-content p{margin:0 0 18px}
.asc-content ul,.asc-content ol{padding-left:24px;margin-bottom:24px}
.asc-content li{margin-bottom:8px}
.asc-content a{color:#6e1b24;text-decoration:underline;text-underline-offset:4px}
.asc-content img{max-width:100%;height:auto}
.asc-content .wp-block-columns{display:flex;gap:40px;align-items:center}
.asc-content .wp-block-column{flex:1;min-width:0}
.asc-content .aff-hero__cover{max-width:260px}
.asc-content .aff-toc{background:#f5f1ea;padding:24px;border-radius:10px;margin:24px 0 40px}
.asc-content .aff-toc a{display:inline-block;padding:4px 0}
.asc-content .aff-updated,.asc-muted{font-size:14px;color:#6b655d}
.asc-content .aff-small{font-size:14px;border-top:1px solid #e4ded4;padding-top:20px}
.asc-button,.asc-content a.asc-button{display:inline-flex;align-items:center;justify-content:center;background:#6e1b24;color:#fff;padding:14px 24px;border-radius:12px;text-decoration:none;min-height:48px;box-sizing:border-box}
.asc-button:hover{background:#51151b;color:#fff}
.asc-page :focus-visible,.asc-banner :focus-visible,.asc-fallback :focus-visible{outline:3px solid #9b762c;outline-offset:4px}
.asc-banner{box-sizing:border-box;max-width:1136px;margin:0 auto 40px;padding:28px 32px;display:flex;align-items:center;justify-content:space-between;gap:24px;background:#f5f1ea;border-block:1px solid #e4ded4}
.asc-banner h2{font-size:28px;line-height:1.2;margin:8px 0}
.asc-banner p{margin:0}
.asc-banner .asc-button{flex-shrink:0}
.asc-fallback{max-width:1136px;margin:24px auto;padding:24px}
.asc-fallback ul{display:flex;flex-wrap:wrap;gap:16px 24px;list-style:none;padding:0}
.asc-post{display:grid;grid-template-columns:180px minmax(0,1fr);gap:28px;padding:32px 0;border-bottom:1px solid #e4ded4}
.asc-post img{width:100%;height:auto;border-radius:6px}
.asc-post h2{font-size:28px;line-height:1.2;margin:8px 0 16px}
.asc-post h2 a{color:inherit}
.asc-pagination ul{display:flex;gap:16px;list-style:none;padding:24px 0}
.asc-pagination a,.asc-pagination span{padding:8px 12px}
.asc-header-expanded #site-navigation .menu{gap:18px;flex-wrap:wrap}
@media(min-width:769px) and (max-width:1000px){.asc-header-expanded{flex-wrap:wrap}.asc-header-expanded #site-navigation{order:3;width:100%}.asc-header-expanded #site-navigation .menu{justify-content:center}}
@media(max-width:640px){.asc-content .wp-block-columns{flex-direction:column;align-items:stretch}.asc-content .aff-hero__cover{max-width:220px;margin:auto}.asc-banner{margin:0 0 24px;padding:24px;align-items:flex-start;flex-direction:column}.asc-post{grid-template-columns:1fr}.asc-post img{max-width:240px}}
.asc-content [id]{scroll-margin-top:110px}
.asc-content .wp-block-table{overflow-x:auto;margin:24px 0}
.asc-content table{width:100%;border-collapse:collapse;text-align:left}
.asc-content td,.asc-content th{padding:12px;border-bottom:1px solid #e4ded4;vertical-align:top}
.asc-post:not(:has(img)){grid-template-columns:1fr}

.header-inner{flex-wrap:wrap}#site-navigation .menu{gap:18px;flex-wrap:wrap}.page-content .asc-page-heading{margin-bottom:28px}.page-content .asc-page-heading h1{margin-top:8px}.affable-editor-note{font-size:14px;color:#6b655d}
