/*
Theme Name: Umbrella Authors
Description: A warm editorial block theme for a multi-pen-name author website, designed for Zuni Blue, Zia White and Zahra Brown.
Version: 1.1.0
Requires at least: 6.6
Requires PHP: 7.4
Author: Umbrella Authors
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: umbrella-authors
Tags: full-site-editing, block-patterns, custom-colors, custom-logo, custom-menu, featured-images, wide-blocks
*/

:root {
  --ua-paper: var(--wp--preset--color--paper,#fcfaf5);
  --ua-ink: var(--wp--preset--color--ink,#252f2b);
  --ua-muted: #53615b;
  --ua-green: var(--wp--preset--color--green,#365d4f);
  --ua-line: #dcded4;
  --ua-serif: Georgia, 'Times New Roman', serif;
  --ua-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* {box-sizing:border-box}
html {scroll-behavior:smooth}
body {margin:0}
a {text-underline-offset: .2em}
:focus-visible {outline: 3px solid #a66a27; outline-offset: 4px}
.wp-site-blocks {padding:0}
.ua-site-header,.ua-site-footer {max-width:none!important}
.ua-site-header {border-bottom:1px solid var(--ua-line);background:var(--wp--preset--color--paper,#fcfaf5)}
.ua-shell {width:min(1200px,calc(100% - 64px));margin-inline:auto!important;max-width:none!important}
.ua-header-inner {padding:22px 0;gap:24px;min-height:84px}
.ua-header-inner .wp-block-site-title {font-family:var(--ua-serif);font-weight:700;font-size:clamp(19px,2.5vw,26px);line-height:1.1;letter-spacing:-.05em}
.ua-header-inner .wp-block-site-title a{text-decoration:none}
.ua-header-inner .wp-block-navigation {font-size:14px;font-weight:600}
.ua-header-inner .wp-block-navigation a:hover {text-decoration:underline}
.ua-main {min-height:55vh}
.ua-standard {width:min(900px,calc(100% - 48px));margin:0 auto!important;padding:64px 0 80px}
.ua-standard > .wp-block-post-title {margin:0 0 28px;font-size:clamp(2rem,5vw,3.4rem)}
.ua-standard .wp-block-post-content {max-width:none}
.ua-kicker {font-family:var(--ua-sans);font-size:12px;letter-spacing:.17em;text-transform:uppercase;font-weight:750;line-height:1.4;margin:0}
.ua-hero {isolation:isolate;position:relative;overflow:hidden;background:#e9eee6;border-bottom:1px solid #dce4db}
.ua-hero-inner {min-height:450px;display:grid;grid-template-columns:1.12fr .88fr;align-items:center;gap:40px;padding-block:60px}
.ua-hero-copy {max-width:660px}
.ua-hero-copy .ua-kicker {color:#426759}
.ua-hero h1 {font-size:clamp(3rem,6.9vw,5.7rem);letter-spacing:-.07em;line-height:.99;margin:20px 0 22px;max-width:760px}
.ua-hero p:not(.ua-kicker) {max-width:560px;font-size:clamp(1rem,2vw,1.2rem);color:#43584d;line-height:1.75}
.ua-hero-art {min-height:340px;background:url('assets/hero-books.jpg') center/cover no-repeat;border-radius:9px;align-self:stretch;min-width:0}
.wp-block-buttons {gap:12px}
.wp-block-button__link {transition:background .18s,color .18s,transform .18s;border-radius:4px}
.wp-block-button__link:hover {transform:translateY(-1px);filter:brightness(.94)}
.ua-section {padding-block:72px}
.ua-section-heading {display:flex;justify-content:space-between;align-items:end;gap:24px;margin:0 0 30px}
.ua-section-heading h2 {font-size:clamp(2.1rem,4vw,3.3rem);line-height:1.08;letter-spacing:-.05em;margin:9px 0 0}
.ua-section-heading .ua-intro {max-width:450px;font-size:.98rem;color:var(--ua-muted);margin:0}
.ua-author-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.ua-author-card {display:flex;flex-direction:column;border:1px solid var(--uaw-border,#d9e2df);background:var(--uaw-bg,#e8f1f0);color:var(--uaw-ink,#142f38);overflow:hidden;border-radius:9px;margin:0!important}
.ua-zuni {--uaw-bg:#e6f3f8;--uaw-ink:#183c53;--uaw-accent:var(--wp--preset--color--emerald,#23765f);--uaw-border:#c9dfe5;--uaw-hero:var(--wp--preset--color--zuni,#d6eaf2);--uaw-button-ink:#fff}
.ua-zia {--uaw-bg:var(--wp--preset--color--zia,#22272e);--uaw-ink:#f6f1e3;--uaw-accent:var(--wp--preset--color--gold,#e4c66e);--uaw-border:#39414a;--uaw-hero:#171d26;--uaw-button-ink:#25282d}
.ua-zahra {--uaw-bg:var(--wp--preset--color--zahra,#f6e9d7);--uaw-ink:#583a2b;--uaw-accent:var(--wp--preset--color--copper,#905536);--uaw-border:#e5d2b9;--uaw-hero:#f2e4d0;--uaw-button-ink:#fff}
.ua-author-art {aspect-ratio:1.65;background:var(--uaw-hero) center/cover no-repeat;margin:0!important;min-height:155px}
.ua-zuni .ua-author-art {background-image:url('assets/zuni.jpg')}
.ua-zia .ua-author-art {background-image:url('assets/zia-v2.jpg?ver=1.0.4')}
.ua-zahra .ua-author-art {background-image:url('assets/zahra-v2.jpg?ver=1.0.4')}
.ua-author-copy {display:flex;flex-direction:column;flex:1;padding:25px;gap:9px}
.ua-author-copy > * {margin:0}
.ua-author-copy .ua-kicker {color:var(--uaw-accent)}
.ua-author-copy h3 {font-size:clamp(1.9rem,3vw,2.5rem);line-height:1.1;letter-spacing:-.055em}
.ua-author-copy p:not(.ua-kicker) {font-size:.95rem;line-height:1.65;min-height:4.9em}
.ua-author-copy .wp-block-buttons {margin-top:auto;padding-top:10px}
.ua-author-card a,.ua-brand a {color:inherit}
.ua-author-card .wp-block-button__link,.ua-brand .wp-block-button__link {background:var(--uaw-accent);color:var(--uaw-button-ink);border:0}
.ua-brand {background:var(--uaw-bg);color:var(--uaw-ink)}
.ua-brand .ua-brand-hero {background:var(--uaw-hero)}
.ua-brand .ua-brand-inner {display:grid;grid-template-columns:1fr .9fr;gap:36px;align-items:center;padding-block:58px}
.ua-brand .ua-brand-inner h1 {font-size:clamp(3rem,7vw,5.8rem);line-height:1;letter-spacing:-.065em;margin:12px 0 20px}
.ua-brand .ua-brand-inner p {max-width:620px}
.ua-brand .ua-brand-inner .ua-author-art {border-radius:8px;background-size:cover}
.ua-brand .ua-kicker {color:var(--uaw-accent)}
.ua-brand-nav {border-bottom:1px solid var(--uaw-border);padding-block:14px}
.ua-brand-nav .wp-block-button__link {font-size:13px;background:transparent;color:var(--uaw-ink);border:1px solid var(--uaw-border);padding:9px 16px}
.ua-brand .ua-section-heading .ua-intro {color:inherit;opacity:.85}
.ua-note {border:1px solid var(--ua-line);border-radius:8px;padding:20px 24px;background:#fffefa;color:var(--ua-muted)}
.ua-feature {padding:40px 0;background:#f0eadb;border-block:1px solid #e2d8c5}
.ua-feature-inner {display:grid;grid-template-columns:1fr auto;align-items:center;gap:24px}
.ua-feature h2 {font-size:clamp(1.9rem,3vw,2.9rem);letter-spacing:-.045em;margin:10px 0}
.ua-feature p {max-width:640px}
.ua-site-footer {background:#253b32;color:#f9f7ef;padding:36px 0 24px;margin:0}
.ua-site-footer a {color:inherit}
.ua-site-footer .wp-block-site-title {font-family:var(--ua-serif);font-weight:700;font-size:1.35rem;margin:0}
.ua-footer-inner {display:flex;align-items:start;justify-content:space-between;gap:22px}
.ua-footer-inner p {margin:7px 0 0;font-size:.88rem;opacity:.85}
.ua-footer-note {font-size:.8rem;opacity:.75;margin:26px 0 0;border-top:1px solid #597064;padding-top:16px}
.ua-grid {display:grid;grid-template-columns:repeat(auto-fill,minmax(min(190px,100%),1fr));gap:24px;list-style:none;padding:0;margin:24px 0}
.ua-book-card,.ua-resource-card {margin:0;display:flex;flex-direction:column;gap:10px;min-width:0}
.ua-cover-link {display:block;text-decoration:none}
.ua-cover {aspect-ratio:2/3;width:100%;display:block;object-fit:contain;object-position:center;background:#e2e9df;border-radius:3px;box-shadow:0 5px 9px #14271e18}
.ua-cover-placeholder {display:grid;place-items:center;aspect-ratio:2/3;width:100%;background:linear-gradient(150deg,#d8e6dc,#8ea99a);border:1px solid #91aa9d;color:#243c31;text-align:center;padding:16px;border-radius:3px;font:700 clamp(1rem,2vw,1.45rem)/1.25 var(--ua-serif)}
.ua-book-card h3,.ua-resource-card h3 {font-size:1.3rem;margin:0;line-height:1.25}
.ua-book-card p,.ua-resource-card p {margin:0;font-size:.89rem}
.ua-book-card h3 a {color:inherit;text-decoration:none}
.ua-book-card h3 a:hover {text-decoration:underline}
.ua-badge {display:inline-flex;align-self:flex-start;border:1px solid currentColor;border-radius:20px;font-size:.72rem;font-weight:700;letter-spacing:.025em;padding:3px 10px;line-height:1.5}
.ua-book-detail {display:grid;grid-template-columns:minmax(160px,290px) minmax(0,1fr);align-items:start;gap:36px;margin-bottom:40px}
.ua-book-detail h1 {font-size:clamp(2.35rem,5vw,4rem);line-height:1.04;margin:14px 0 8px;letter-spacing:-.045em}
.ua-book-detail .ua-book-subtitle {font-size:1.2rem;color:var(--ua-muted);margin-top:0}
.ua-link-button {display:inline-block;background:var(--uaw-accent,var(--ua-green));color:var(--uaw-button-ink,#fff)!important;text-decoration:none;padding:11px 17px;border-radius:4px;font-size:.9rem;font-weight:650;line-height:1.5}
.ua-link-button:hover {filter:brightness(.93)}
.ua-links {display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}
.ua-resource-grid {grid-template-columns:repeat(auto-fill,minmax(min(240px,100%),1fr))}
.ua-resource-card {border:1px solid var(--uaw-border,var(--ua-line));background:var(--uaw-hero,#f5f4eb);padding:21px;border-radius:8px;gap:12px}
.ua-resource-card .ua-links {margin-top:auto}
.ua-pagination {display:flex;gap:12px;margin-block:24px;align-items:center;flex-wrap:wrap}
.ua-pagination a,.ua-pagination span {padding:8px 12px;border:1px solid currentColor;border-radius:4px;font-size:.9rem}
.ua-newsletter {padding:20px 0}
.ua-newsletter:empty {display:none}
.ua-brand .ua-note {background:transparent;border-color:var(--uaw-border);color:inherit}
.ua-brand .ua-cover-placeholder {background:var(--uaw-hero);color:var(--uaw-ink);border-color:var(--uaw-border)}
.ua-tax-links {display:flex;flex-wrap:wrap;gap:8px;font-size:.9rem}
.ua-filter-bar {display:flex;flex-wrap:wrap;gap:9px;margin:16px 0}
.ua-filter-bar a {font-size:.85rem;border:1px solid var(--uaw-border,var(--ua-line));padding:8px 12px;border-radius:4px;text-decoration:none;color:inherit}
.ua-filter-bar a[aria-current="true"] {background:var(--uaw-accent,var(--ua-green));color:var(--uaw-button-ink,#fff)}
@media(max-width:820px) {
 .ua-shell {width:calc(100% - 40px)}
 .ua-hero-inner,.ua-brand .ua-brand-inner {grid-template-columns:1fr;gap:18px;padding-block:42px}
 .ua-hero-art {min-height:245px}
 .ua-author-grid {grid-template-columns:1fr}
 .ua-author-card {display:grid;grid-template-columns:40% 60%}
 .ua-author-art {aspect-ratio:auto;min-height:215px}
 .ua-brand .ua-author-art {aspect-ratio:2.2;min-height:200px}
 .ua-author-copy p:not(.ua-kicker) {min-height:0}
 .ua-section {padding-block:48px}
 .ua-section-heading {align-items:start;flex-direction:column;gap:9px}
 .ua-feature-inner {grid-template-columns:1fr}
}
@media(max-width:500px) {
 .ua-shell {width:calc(100% - 32px)}
 .ua-header-inner {min-height:64px;padding-block:16px}
 .ua-hero h1 {font-size:3.2rem}
 .ua-author-card {display:flex}
 .ua-author-art {aspect-ratio:1.72;min-height:0}
 .ua-author-copy {padding:20px}
 .ua-book-detail {grid-template-columns:1fr;gap:24px}
 .ua-book-detail .ua-cover,.ua-book-detail .ua-cover-placeholder {max-width:240px;margin-inline:auto}
 .ua-footer-inner {flex-direction:column}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Override default inter-template gaps without altering editorial content spacing. */
.wp-site-blocks > header,.wp-site-blocks > main,.wp-site-blocks > footer {margin-block-start:0}
.ua-main > .wp-block-post-content,.ua-brand > *,.ua-hero > *,.ua-feature > * {margin-block-start:0}
.ua-section + .ua-section {padding-top:0}
.ua-brand .ua-brand-hero h2 {font-size:clamp(1.5rem,3vw,2.4rem);line-height:1.15;letter-spacing:-.035em}
.ua-brand .ua-brand-copy p:not(.ua-kicker) {font-size:1.1rem}
.ua-footer-inner .wp-block-navigation {font-size:.85rem}
.ua-author-copy .wp-block-buttons {margin-block-start:auto}
.ua-author-copy .wp-block-buttons .wp-block-button__link {font-size:.88rem}

.ua-book-detail.ua-branded-detail {background:var(--uaw-bg);color:var(--uaw-ink);border:1px solid var(--uaw-border);padding:clamp(18px,3.5vw,36px);border-radius:9px}
.ua-branded-detail .ua-kicker{color:var(--uaw-accent)}
.ua-branded-detail .ua-book-subtitle,.ua-branded-detail a:not(.ua-link-button){color:inherit}

/* v1.0.1: Keep a stable portrait frame even when image dimensions or
   third-party lazy-loading styles set an unexpected intrinsic height. */
.ua-book-detail > div:first-child,
.ua-cover-link {
    display:block;
    position:relative;
    width:100%;
    aspect-ratio:2 / 3;
    align-self:start;
    overflow:hidden;
    border-radius:3px;
    background:#e2e9df;
    box-shadow:0 5px 9px #14271e18;
}
.ua-book-detail > div:first-child > img.ua-cover,
.ua-book-layout .ua-book-cover img.ua-cover,
.ua-cover-link > img.ua-cover {
    position:absolute;
    inset:0;
    display:block;
    width:100% !important;
    height:100% !important;
    min-width:0 !important;
    min-height:0 !important;
    max-width:none !important;
    max-height:none !important;
    aspect-ratio:auto !important;
    object-fit:contain !important;
    object-position:center;
    margin:0 !important;
    padding:0 !important;
    background:transparent;
    box-shadow:none;
}
.ua-book-detail > div:first-child > .ua-cover-placeholder,
.ua-book-layout .ua-book-cover .ua-cover-placeholder,
.ua-cover-link > .ua-cover-placeholder {
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    max-width:none;
    margin:0;
}
@media(max-width:500px) {
    .ua-book-detail > div:first-child {
        max-width:240px;
        margin-inline:auto;
    }
}


/* v1.0.2: native book content sits in the same column as the title and links. */
.ua-book-layout > .ua-book-cover,
.ua-book-layout > .ua-book-copy { margin-block-start:0 !important; min-width:0; }
.ua-book-layout .ua-book-cover > p { margin:0; }
.ua-book-layout .ua-book-heading > :last-child { margin-bottom:0; }
.ua-book-layout .ua-book-blurb { margin-block-start:20px; line-height:1.65; overflow-wrap:anywhere; }
.ua-book-layout .ua-book-blurb > :first-child { margin-block-start:0; }
.ua-book-layout .ua-book-blurb > :last-child { margin-block-end:0; }
.ua-book-layout .ua-book-blurb:empty { display:none; }
.ua-book-layout .ua-links { margin:22px 0 0; }
.ua-book-layout.ua-book-protected { grid-template-columns:minmax(0,1fr); }
.ua-book-layout.ua-book-protected > .ua-book-cover { display:none; }
/* Brand links and heading colours also cover the native blurb blocks. */
.ua-book-layout.ua-branded-detail .ua-book-blurb,
.ua-book-layout.ua-branded-detail .ua-book-blurb :is(h2,h3,h4,h5,h6) { color:inherit; }

/* 1.0.5 — Full-page Zia White author identity. All rules are conditional. */
body.ua-zia-world{
 --ua-paper:#0b1220;--ua-ink:#e9edf4;--ua-muted:#b4c0d0;--ua-green:#64dce0;--ua-line:#314258;
 --uaw-bg:#141f30;--uaw-ink:#e9edf4;--uaw-accent:#64dce0;--uaw-border:#314258;--uaw-hero:#080f1b;--uaw-button-ink:#101b28;
 background:#0b1220;color:#e9edf4;
}
body.ua-zia-world .wp-site-blocks{background:#0b1220;color:#e9edf4}
body.ua-zia-world .ua-zia{--uaw-bg:#0b1220;--uaw-ink:#e9edf4;--uaw-accent:#64dce0;--uaw-border:#314258;--uaw-hero:#101b2c;--uaw-button-ink:#101b28}
body.ua-zia-world a{color:#64dce0}
body.ua-zia-world :focus-visible{outline-color:#64dce0}
body.ua-zia-world .ua-site-header{background:#0e1728;color:#e9edf4;border-color:#263549}
body.ua-zia-world .ua-header-inner{min-height:92px;gap:22px;padding-block:17px}
body.ua-zia-world .ua-zia-brandmark{flex-shrink:0;display:flex;flex-direction:column;align-items:flex-start}
body.ua-zia-world .ua-zia-brandmark .wp-block-site-title{font:700 clamp(1.8rem,3vw,2.65rem)/1.04 var(--ua-serif);letter-spacing:.105em;text-transform:uppercase;color:#f2f5f8;margin:0}
body.ua-zia-world .ua-zia-brandmark .wp-block-site-title a{position:relative;display:inline-block;padding-bottom:10px;color:inherit;text-decoration:none;white-space:nowrap}
body.ua-zia-world .ua-zia-brandmark .wp-block-site-title a:after{content:"";position:absolute;left:1px;right:1px;bottom:0;height:2px;background:#64dce0}
body.ua-zia-world .ua-zia-publisher{margin:7px 0 0;font:600 .66rem/1.2 var(--ua-sans);letter-spacing:.12em;text-transform:uppercase}
body.ua-zia-world .ua-zia-publisher a{color:#aebed0;text-decoration:none}
body.ua-zia-world .ua-zia-publisher a:hover{color:#64dce0;text-decoration:underline}
body.ua-zia-world .ua-header-inner .wp-block-navigation{color:#e9edf4;font-size:.79rem;letter-spacing:.065em;text-transform:uppercase;font-weight:600}
body.ua-zia-world .ua-header-inner .wp-block-navigation a,
body.ua-zia-world .ua-site-header .ua-preview-nav a{color:#e9edf4;text-decoration:none}
body.ua-zia-world .ua-header-inner .wp-block-navigation a:hover,
body.ua-zia-world .ua-header-inner .wp-block-navigation .current-menu-item>a,
body.ua-zia-world .ua-header-inner .wp-block-navigation a[aria-current="page"],
body.ua-zia-world .ua-site-header .ua-preview-nav a[aria-current="page"]{color:#64dce0}
body.ua-zia-world .wp-block-navigation .wp-block-navigation__submenu-container,
body.ua-zia-world .wp-block-navigation__responsive-container.is-menu-open{background:#111c2d!important;color:#e9edf4!important;border-color:#314258!important}
body.ua-zia-world .ua-brand{background:#0b1220;color:#e9edf4}
body.ua-zia-world .ua-brand .ua-brand-hero{background:radial-gradient(ellipse at 83% 44%,#183b51 0%,#101c2d 37%,#0b1220 76%);border-bottom:1px solid #27384b}
body.ua-zia-world .ua-brand .ua-brand-inner{min-height:525px;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:clamp(30px,6vw,85px);padding-block:68px}
body.ua-zia-world .ua-brand .ua-brand-inner h1{font:400 clamp(1.35rem,2.5vw,2.15rem)/1.15 var(--ua-serif);letter-spacing:.025em;color:#c1d1df;margin:20px 0 13px}
body.ua-zia-world .ua-brand .ua-brand-hero h2{font:400 clamp(2.8rem,5.7vw,5.15rem)/1.03 var(--ua-serif);letter-spacing:-.045em;color:#e8eff5;margin:0 0 23px}
body.ua-zia-world .ua-brand .ua-brand-copy p:not(.ua-kicker){color:#bac8d8;font-size:clamp(1rem,1.65vw,1.17rem);line-height:1.7}
body.ua-zia-world .ua-brand .ua-kicker,body.ua-zia-world .ua-kicker{color:#64dce0}
body.ua-zia-world .ua-brand .ua-brand-inner .ua-author-art{aspect-ratio:4/5;min-height:390px;max-height:520px;background-color:#14263a;border:1px solid #405065;border-radius:5px;box-shadow:0 24px 60px #02050c80}
body.ua-zia-world .ua-brand-nav{background:#141f30;border-color:#314258;padding:18px 0}
body.ua-zia-world .ua-brand-nav .wp-block-buttons{margin:0}
body.ua-zia-world .ua-brand-nav .wp-block-button__link{background:#18273a;color:#e8eff5!important;border:1px solid #435b72;border-radius:3px;padding:11px 19px}
body.ua-zia-world .ua-brand-nav .wp-block-button:first-child .wp-block-button__link{background:#e8eff5;color:#101b28!important;border-color:#e8eff5}
body.ua-zia-world .ua-brand .ua-section-heading h2,body.ua-zia-world .ua-section-heading h2{font:400 clamp(2rem,4.5vw,3.25rem)/1.12 var(--ua-serif);letter-spacing:-.035em;color:#e8eff5}
body.ua-zia-world .ua-standard{width:min(1100px,calc(100% - 64px))}
body.ua-zia-world .ua-standard>h1,body.ua-zia-world .ua-standard>.wp-block-query-title{color:#e8eff5;font-weight:400}
body.ua-zia-world .ua-note{background:#141f30;color:#b4c0d0;border:1px solid #314258;border-left:3px solid #42617a;border-radius:4px;padding:26px}
body.ua-zia-world .ua-filter-bar{background:#141f30;border:1px solid #29394f;border-radius:4px;padding:7px;gap:7px}
body.ua-zia-world .ua-filter-bar a{color:#b8c6d5;border-color:transparent;padding:10px 13px;border-radius:3px}
body.ua-zia-world .ua-filter-bar a[aria-current="true"]{background:#26394d;color:#64dce0;border:1px solid #456276;font-weight:700}
body.ua-zia-world .ua-filter-bar a:hover{border-color:#43566a}
body.ua-zia-world .ua-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
body.ua-zia-world .ua-book-card,body.ua-zia-world .ua-resource-card{background:#141f30;border:1px solid #293a4e;border-radius:4px;padding:14px;gap:10px}
body.ua-zia-world .ua-book-card h3,body.ua-zia-world .ua-resource-card h3{color:#e8eff5;font-weight:400;overflow-wrap:anywhere}
body.ua-zia-world .ua-book-card h3 a{color:inherit;text-decoration:none}
body.ua-zia-world .ua-book-card h3 a:hover{text-decoration:underline}
body.ua-zia-world .ua-book-card p,body.ua-zia-world .ua-resource-card p{color:#b4c0d0}
body.ua-zia-world .ua-cover-link,body.ua-zia-world .ua-cover,body.ua-zia-world .ua-book-cover{background:#0a101d;box-shadow:0 8px 22px #0005}
body.ua-zia-world .ua-cover-placeholder{background:linear-gradient(155deg,#263c50,#101a2a);color:#e8eff5;border-color:#3b4d64}
body.ua-zia-world .ua-badge{color:#64dce0;border-color:#326071;background:#183345}
body.ua-zia-world .ua-book-detail.ua-branded-detail,body.ua-zia-world .ua-book-detail{background:#141f30;color:#e9edf4;border:1px solid #314258;padding:clamp(20px,3vw,38px);border-radius:5px;box-shadow:0 14px 40px #02071150}
body.ua-zia-world .ua-book-detail .ua-book-cover{align-self:start}
body.ua-zia-world .ua-book-detail h1{font-weight:400;color:#e8eff5}
body.ua-zia-world .ua-book-detail .ua-book-subtitle,body.ua-zia-world .ua-book-blurb{color:#b8c6d5}
body.ua-zia-world .ua-book-detail a:not(.ua-link-button){color:#64dce0}
body.ua-zia-world .ua-book-detail .ua-book-blurb a{color:#64dce0}
body.ua-zia-world .ua-link-button,body.ua-zia-world .wp-block-button__link{background:#e8eff5;color:#101b28!important;border-radius:3px}
body.ua-zia-world .ua-pagination a,body.ua-zia-world .ua-pagination span{background:#142032;border-color:#43556d;color:#e8eff5}
body.ua-zia-world .ua-site-footer{background:#080f1b;color:#b8c6d5;border-top:1px solid #27364a}
body.ua-zia-world .ua-site-footer .ua-zia-brandmark .wp-block-site-title{font-size:1.55rem}
body.ua-zia-world .ua-site-footer a{color:inherit}
body.ua-zia-world .ua-footer-note{border-color:#304258;color:#a4b5c8}
body.ua-zia-world input:not([type="submit"]),body.ua-zia-world textarea,body.ua-zia-world select{background:#101a2a;color:#e8eff5;border:1px solid #43556d}
@media(max-width:950px){body.ua-zia-world .ua-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:820px){
 body.ua-zia-world .ua-brand .ua-brand-inner{grid-template-columns:1fr;min-height:0;padding-block:40px;gap:26px}
 body.ua-zia-world .ua-brand .ua-brand-inner .ua-author-art{aspect-ratio:16/10;min-height:220px;max-height:none}
 body.ua-zia-world .ua-standard{width:calc(100% - 40px)}
 body.ua-zia-world .ua-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:500px){body.ua-zia-world .ua-zia-brandmark .wp-block-site-title{font-size:clamp(1.65rem,6.8vw,2.2rem)}body.ua-zia-world .ua-header-inner{padding-block:13px;min-height:0;gap:14px}body.ua-zia-world .ua-brand .ua-brand-hero h2{font-size:clamp(2.6rem,11vw,3.5rem)}body.ua-zia-world .ua-book-card{padding:10px}body.ua-zia-world .ua-grid{gap:10px}}

/* 1.0.7 — Author reading worlds (publisher pages retain their original design). */
body.ua-author-world{
 --ua-world-bg:#0b1220;--ua-world-header:#0e1728;--ua-world-panel:#141f30;--ua-world-ink:#e9edf4;
 --ua-world-muted:#b4c0d0;--ua-world-accent:#64dce0;--ua-world-rule:#314258;--ua-world-footer:#080f1b;--ua-world-footer-ink:#b8c6d5;
 --ua-world-hero:#101c2d;--ua-world-button:#e8eff5;--ua-world-button-ink:#101b28;
}
body.ua-zuni-world{
 --ua-world-bg:#edf7fa;--ua-world-header:#dceff5;--ua-world-panel:#f9fdff;--ua-world-ink:#183c53;
 --ua-world-muted:#426374;--ua-world-accent:#23765f;--ua-world-rule:#c1dce5;--ua-world-footer:#173c53;--ua-world-footer-ink:#ebf7fb;
 --ua-world-hero:#dbeff5;--ua-world-button:#23765f;--ua-world-button-ink:#fff;
}
body.ua-zahra-world{
 --ua-world-bg:#f8efe3;--ua-world-header:#f2e2cf;--ua-world-panel:#fffaf2;--ua-world-ink:#523629;
 --ua-world-muted:#735645;--ua-world-accent:#8b4e2f;--ua-world-rule:#ddc9b4;--ua-world-footer:#3b2c24;--ua-world-footer-ink:#f7ecdc;
 --ua-world-hero:#f3e5d3;--ua-world-button:#8b4e2f;--ua-world-button-ink:#fff;
}
body.ua-author-world{--ua-paper:var(--ua-world-bg);--ua-ink:var(--ua-world-ink);--ua-muted:var(--ua-world-muted);--ua-green:var(--ua-world-accent);--ua-line:var(--ua-world-rule);background:var(--ua-world-bg);color:var(--ua-world-ink)}
body.ua-author-world .wp-site-blocks{background:var(--ua-world-bg);color:var(--ua-world-ink)}
body.ua-author-world :focus-visible{outline-color:var(--ua-world-accent)}
body.ua-author-world a{color:var(--ua-world-accent)}
body.ua-author-world .ua-site-header{background:var(--ua-world-header);color:var(--ua-world-ink);border-color:var(--ua-world-rule)}
body.ua-author-world .ua-world-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;min-height:91px;padding-block:20px;gap:25px}
body.ua-author-world .ua-world-brandmark{flex-shrink:0}
body.ua-author-world .ua-world-brandmark .wp-block-site-title{font-family:var(--ua-serif);font-size:clamp(1.75rem,3.3vw,2.55rem);font-weight:700;color:var(--ua-world-ink);line-height:1.05;letter-spacing:.065em;margin:0}
body.ua-author-world .ua-world-brandmark .wp-block-site-title a{position:relative;display:inline-block;text-decoration:none;color:inherit;white-space:nowrap;padding-bottom:11px}
body.ua-author-world .ua-world-brandmark .wp-block-site-title a:after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--ua-world-accent)}
body.ua-zuni-world .ua-world-brandmark .wp-block-site-title{text-transform:uppercase;letter-spacing:.07em}
body.ua-zahra-world .ua-world-brandmark .wp-block-site-title{font-weight:700;letter-spacing:-.035em;text-transform:none}
body.ua-zia-world .ua-world-brandmark .wp-block-site-title{text-transform:uppercase;letter-spacing:.105em}
body.ua-author-world .ua-world-nav{font-size:.82rem;font-weight:650;color:var(--ua-world-ink)}
body.ua-author-world .ua-world-nav>ul{display:flex;align-items:center;gap:17px 23px;flex-wrap:wrap;padding:0;margin:0;list-style:none}
body.ua-author-world .ua-world-nav>ul>li{margin:0}
body.ua-author-world .ua-world-nav a{display:inline-block;color:inherit;text-decoration:none;padding:7px 0}
body.ua-author-world .ua-world-nav a:hover,body.ua-author-world .ua-world-dropdown summary:hover{color:var(--ua-world-accent);text-decoration:underline}
body.ua-author-world .ua-world-nav .ua-world-return{border:1px solid var(--ua-world-rule);background:var(--ua-world-panel);color:var(--ua-world-ink);border-radius:4px;padding:8px 12px;white-space:nowrap}
body.ua-author-world .ua-world-dropdown{position:relative}
body.ua-author-world .ua-world-dropdown summary{list-style:none;cursor:pointer;padding:7px 0;white-space:nowrap}
body.ua-author-world .ua-world-dropdown summary::-webkit-details-marker{display:none}
body.ua-author-world .ua-world-dropdown summary span{font-size:.8rem;color:var(--ua-world-accent);margin-left:4px}
body.ua-author-world .ua-world-dropdown>ul{position:absolute;z-index:20;top:100%;left:0;min-width:220px;max-width:300px;width:max-content;list-style:none;margin:0;padding:8px 12px;background:var(--ua-world-panel);color:var(--ua-world-ink);border:1px solid var(--ua-world-rule);box-shadow:0 12px 30px #101a2b22;border-radius:4px}
body.ua-author-world .ua-world-dropdown>ul li{padding:0 3px;margin:0}
body.ua-author-world .ua-world-dropdown>ul li+li{border-top:1px solid var(--ua-world-rule)}
body.ua-author-world .ua-world-dropdown>ul a{display:block;white-space:normal;padding:8px}
body.ua-author-world .ua-brand{color:var(--ua-world-ink);background:var(--ua-world-bg);--uaw-bg:var(--ua-world-bg);--uaw-ink:var(--ua-world-ink);--uaw-accent:var(--ua-world-accent);--uaw-border:var(--ua-world-rule);--uaw-hero:var(--ua-world-hero);--uaw-button-ink:var(--ua-world-button-ink)}
body.ua-zuni-world .ua-brand .ua-brand-hero{background:linear-gradient(135deg,#d9edf4,#eef8f9)}
body.ua-zahra-world .ua-brand .ua-brand-hero{background:linear-gradient(135deg,#f1dfc8,#f9eee0)}
body.ua-zuni-world .ua-brand .ua-brand-inner,body.ua-zahra-world .ua-brand .ua-brand-inner{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:clamp(26px,5vw,65px);min-height:440px;padding-block:62px}
body.ua-zuni-world .ua-brand .ua-brand-inner h1,body.ua-zahra-world .ua-brand .ua-brand-inner h1{font-size:clamp(1.55rem,2.7vw,2.45rem);letter-spacing:-.025em;margin:14px 0 12px;color:var(--ua-world-ink)}
body.ua-zuni-world .ua-brand .ua-brand-hero h2,body.ua-zahra-world .ua-brand .ua-brand-hero h2{font-size:clamp(2.65rem,5.4vw,4.6rem);letter-spacing:-.055em;line-height:1.06;margin:0 0 20px}
body.ua-zuni-world .ua-brand .ua-brand-inner .ua-author-art,body.ua-zahra-world .ua-brand .ua-brand-inner .ua-author-art{min-height:300px;aspect-ratio:1.2;border:1px solid var(--ua-world-rule);border-radius:8px;box-shadow:0 12px 30px #183c5317}
body.ua-author-world .ua-brand-nav{background:var(--ua-world-panel);border-color:var(--ua-world-rule)}
body.ua-author-world .ua-brand-nav .wp-block-button__link{color:var(--ua-world-ink)!important;background:transparent;border:1px solid var(--ua-world-rule)}
body.ua-author-world .ua-brand-nav .wp-block-button:first-child .wp-block-button__link{background:var(--ua-world-button);color:var(--ua-world-button-ink)!important;border-color:var(--ua-world-button)}
body.ua-author-world .ua-kicker{color:var(--ua-world-accent)}
body.ua-author-world .ua-world-about{padding:34px 0 38px;background:var(--ua-world-panel);border-block:1px solid var(--ua-world-rule)}
body.ua-author-world .ua-world-about-inner{display:grid;grid-template-columns:minmax(200px,.85fr) minmax(0,1.4fr);align-items:start;gap:35px;padding:24px 30px;border-left:4px solid var(--ua-world-accent)}
body.ua-author-world .ua-world-about-inner h2{font:700 clamp(1.8rem,3.2vw,2.6rem)/1.13 var(--ua-serif);letter-spacing:-.035em;margin:11px 0 0;color:var(--ua-world-ink)}
body.ua-zia-world .ua-world-about-inner h2{font-weight:400}
body.ua-author-world .ua-world-about-inner p:not(.ua-kicker){margin:0 0 18px;color:var(--ua-world-muted);line-height:1.7}
body.ua-author-world .ua-world-tags{display:flex;flex-wrap:wrap;gap:9px}
body.ua-author-world .ua-world-tags span{display:inline-flex;align-items:center;border:1px solid var(--ua-world-rule);background:var(--ua-world-bg);color:var(--ua-world-ink);font-size:.76rem;font-weight:650;padding:6px 10px;border-radius:4px}
body.ua-author-world .ua-world-directory-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(235px,100%),1fr));gap:17px}
body.ua-author-world .ua-world-directory-grid article{display:flex;flex-direction:column;min-height:115px;align-items:flex-start;padding:22px;border:1px solid var(--ua-world-rule);background:var(--ua-world-panel);border-radius:5px}
body.ua-author-world .ua-world-directory-grid h3{font:700 1.3rem/1.3 var(--ua-serif);margin:0 0 17px;color:var(--ua-world-ink)}
body.ua-author-world .ua-world-more{color:var(--ua-world-accent);font-size:.84rem;font-weight:700;text-decoration:none;margin-top:auto}
body.ua-author-world .ua-world-more:hover{text-decoration:underline}
body.ua-author-world .ua-note{background:var(--ua-world-panel);border:1px solid var(--ua-world-rule);color:var(--ua-world-muted)}
body.ua-author-world .ua-book-card,body.ua-author-world .ua-resource-card{background:var(--ua-world-panel);border:1px solid var(--ua-world-rule);border-radius:5px;padding:14px}
body.ua-author-world .ua-book-card h3,body.ua-author-world .ua-resource-card h3{color:var(--ua-world-ink)}
body.ua-author-world .ua-book-card p,body.ua-author-world .ua-resource-card p{color:var(--ua-world-muted)}
body.ua-author-world .ua-filter-bar{background:var(--ua-world-panel);border:1px solid var(--ua-world-rule);padding:7px;border-radius:5px}
body.ua-author-world .ua-filter-bar a{color:var(--ua-world-ink);border-color:transparent}
body.ua-author-world .ua-filter-bar a[aria-current="true"]{background:var(--ua-world-button);color:var(--ua-world-button-ink);border-color:var(--ua-world-button)}
body.ua-author-world .ua-book-detail.ua-branded-detail,body.ua-author-world .ua-book-detail{background:var(--ua-world-panel);color:var(--ua-world-ink);border:1px solid var(--ua-world-rule);padding:clamp(20px,3.5vw,36px);border-radius:6px}
body.ua-author-world .ua-book-detail h1{color:var(--ua-world-ink)}
body.ua-author-world .ua-book-detail .ua-book-blurb,body.ua-author-world .ua-book-detail .ua-book-subtitle{color:var(--ua-world-muted)}
body.ua-author-world .ua-book-detail .ua-book-blurb a{color:var(--ua-world-accent)}
body.ua-author-world .ua-link-button,body.ua-author-world .wp-block-button__link{background:var(--ua-world-button);color:var(--ua-world-button-ink)!important}
body.ua-author-world .ua-site-footer{background:var(--ua-world-footer);color:var(--ua-world-footer-ink);border-top:1px solid var(--ua-world-rule)}
body.ua-author-world .ua-world-footer{display:flex;justify-content:space-between;gap:25px;flex-wrap:wrap;align-items:start}
body.ua-author-world .ua-world-footer .ua-world-brandmark .wp-block-site-title{color:var(--ua-world-footer-ink);font-size:1.55rem}
body.ua-author-world .ua-world-footer .ua-world-nav{color:var(--ua-world-footer-ink)}
body.ua-author-world .ua-world-nav-footer .ua-world-return{color:var(--ua-world-ink);background:var(--ua-world-panel)}
body.ua-author-world .ua-world-nav-footer .ua-world-dropdown>ul{top:auto;bottom:100%}
body.ua-author-world .ua-footer-note{color:var(--ua-world-footer-ink);border-color:#ffffff35}
@media(max-width:820px){
 body.ua-author-world .ua-world-header{gap:16px;padding-block:18px}
 body.ua-author-world .ua-world-about-inner{grid-template-columns:1fr;gap:16px;padding:17px 20px}
 body.ua-zuni-world .ua-brand .ua-brand-inner,body.ua-zahra-world .ua-brand .ua-brand-inner{grid-template-columns:1fr;min-height:0;padding-block:40px;gap:25px}
 body.ua-zuni-world .ua-brand .ua-brand-inner .ua-author-art,body.ua-zahra-world .ua-brand .ua-brand-inner .ua-author-art{aspect-ratio:16/10;min-height:220px}
 body.ua-author-world .ua-world-nav>ul{gap:9px 18px}
 body.ua-author-world .ua-world-nav{flex-basis:100%}
 body.ua-author-world .ua-world-dropdown>ul{position:static;min-width:0;max-width:min(280px,80vw);width:auto;box-shadow:none}
}
@media(max-width:500px){body.ua-author-world .ua-world-brandmark .wp-block-site-title{font-size:clamp(1.65rem,6.7vw,2.2rem)}body.ua-author-world .ua-world-about{padding:22px 0}body.ua-author-world .ua-world-nav{font-size:.77rem}body.ua-author-world .ua-world-nav>ul{gap:8px 14px}body.ua-author-world .ua-world-directory-grid{gap:12px}}


/* 1.0.9: keep the publisher's navigation author-first; retain the Books page. */
body:not(.ua-author-world) :is(.ua-site-header,.ua-site-footer) a.ua-publisher-books-link,
body:not(.ua-author-world) :is(.ua-site-header,.ua-site-footer) li:has(>a.ua-publisher-books-link){
 display:none!important;
}

/* 1.1.0 — Separate news for each author world. */
body.ua-author-world .ua-news-band{background:var(--ua-world-panel);color:var(--ua-world-ink);border-top:1px solid var(--ua-world-rule)}
body.ua-author-world .ua-news-band .ua-section-heading{align-items:end;gap:18px;flex-wrap:wrap}
body.ua-author-world .ua-news-band .ua-section-heading h2{color:var(--ua-world-ink)}
body.ua-author-world .ua-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:stretch}
body.ua-author-world .ua-news-card{display:flex;flex-direction:column;overflow:hidden;min-width:0;border:1px solid var(--ua-world-rule);background:var(--ua-world-bg);border-radius:6px}
body.ua-author-world .ua-news-archive .ua-news-card{background:var(--ua-world-panel)}
body.ua-author-world .ua-news-image{display:block;aspect-ratio:16/10;overflow:hidden;background:var(--ua-world-hero)}
body.ua-author-world .ua-news-image img{width:100%;height:100%;display:block;object-fit:cover}
body.ua-author-world .ua-news-card-copy{display:flex;flex:1;flex-direction:column;align-items:start;padding:24px;gap:12px}
body.ua-author-world .ua-news-date,body.ua-author-world.single-post .wp-block-post-date{font-size:.78rem;font-weight:650;letter-spacing:.04em;color:var(--ua-world-muted)}
body.ua-author-world .ua-news-card h3{font:700 1.5rem/1.25 var(--ua-serif);color:var(--ua-world-ink);margin:0;overflow-wrap:anywhere}
body.ua-author-world .ua-news-card h3 a{color:inherit;text-decoration:none}
body.ua-author-world .ua-news-card h3 a:hover{text-decoration:underline}
body.ua-author-world .ua-news-summary{color:var(--ua-world-muted);line-height:1.65;margin:0 0 6px}
body.ua-author-world .ua-news-read{margin-top:auto;padding-top:6px}
body.ua-author-world .ua-news-empty{margin-bottom:0}
body.ua-author-world .ua-news-archive h1{font-size:clamp(2.4rem,5vw,4.4rem);margin:0 0 14px;color:var(--ua-world-ink)}
body.ua-author-world .ua-news-archive>.wp-block-heading+p{margin-bottom:32px;color:var(--ua-world-muted)}
body.ua-author-world .ua-news-back{border-top:1px solid var(--ua-world-rule);padding-top:24px;margin-top:40px}
body.ua-author-world.single-post .wp-block-post-featured-image img{border-radius:6px;height:auto}
body.ua-author-world .ua-news-archive .ua-pagination a,body.ua-author-world .ua-news-archive .ua-pagination span{background:var(--ua-world-panel);border-color:var(--ua-world-rule);color:var(--ua-world-ink)}
@media(max-width:880px){body.ua-author-world .ua-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){body.ua-author-world .ua-news-grid{grid-template-columns:1fr}body.ua-author-world .ua-news-card-copy{padding:20px}}
