* { box-sizing: border-box; }
:root {
    --ink: #172033;
    --muted: #667085;
    --brand: #4338ca;
    --brand-dark: #312e81;
    --surface: #ffffff;
    --page: #f4f6fb;
    --line: #e5e7eb;
}
body {
    margin: 0;
    color: var(--ink);
    background: var(--page);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    line-height: 1.6;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(1320px, calc(100% - 36px)); margin: 0 auto; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.nav-wrap { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { color: var(--ink); font-size: 1.15rem; font-weight: 800; letter-spacing: -.03em; }
nav { display: flex; gap: 22px; flex-wrap: wrap; }
nav a { color: var(--muted); font-weight: 600; }
.hero { margin: 42px 0 28px; padding: clamp(30px, 6vw, 64px); color: white; border-radius: 24px; background: linear-gradient(125deg, #312e81, #4f46e5 60%, #0f766e); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 800; opacity: .8; }
.hero h1 { max-width: 760px; margin: 10px 0; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.08; letter-spacing: -.045em; }
.hero p { max-width: 650px; color: #e0e7ff; font-size: 1.05rem; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; margin: 22px 0; box-shadow: 0 8px 28px rgba(16,24,40,.04); }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: #ecfdf3; color: #027a48; font-weight: 700; font-size: .85rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.feature { padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.feature h3 { margin: 0 0 6px; }
.feature p { color: var(--muted); margin: 0; }
.site-footer { margin-top: 60px; padding: 24px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
code { background: #eef2ff; padding: 2px 6px; border-radius: 5px; }
@media (max-width: 640px) {
    .nav-wrap { align-items: flex-start; flex-direction: column; padding: 16px 0; }
    nav { gap: 14px; }
}



/* Homepage V6 additions: story browsing controls */
.load-more-wrap{display:flex;justify-content:center;margin-top:24px}
.load-more-link{display:inline-flex;align-items:center;justify-content:center;padding:11px 20px;border-radius:9px;background:var(--brand);color:#fff;font-weight:700}
.load-more-link:hover{background:var(--brand-dark);color:#fff;text-decoration:none}
.load-more-link.secondary{background:#eef2ff;color:var(--brand)}

/* V5.5 reader comments */
.comments-panel{margin-top:24px}.reader-comment{padding:16px 0;border-bottom:1px solid #e2e8f0}.reader-comment p{margin:8px 0 0}.comment-form{display:grid;gap:12px;max-width:720px}.comment-form label{display:grid;gap:6px;font-weight:600}.comment-form input,.comment-form textarea{width:100%;padding:11px 12px;border:1px solid #cbd5e1;border-radius:8px;font:inherit}.comment-notice{padding:12px;background:#ecfdf5;border-radius:8px;color:#047857}.comment-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}

/* V5.5.1 comment form disclosure */
.comment-disclosure{margin-top:18px}
.comment-disclosure>summary{display:inline-flex;align-items:center;gap:9px;cursor:pointer;list-style:none;color:var(--brand);font-weight:700;padding:10px 14px;border:1px solid var(--line);border-radius:9px;background:#fff}
.comment-disclosure>summary::-webkit-details-marker{display:none}
.comment-disclosure>summary::after{content:"+";font-size:1.2rem;line-height:1}
.comment-disclosure[open]>summary::after{content:"−"}
.comment-disclosure .comment-form{margin-top:16px}


/* V5.6.1 refined newsletter signup */
.newsletter-signup{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,0.9fr);
  align-items:center;gap:32px;max-width:100%;margin:0 auto 28px;
  padding:26px 28px;background:#fff;border:1px solid #e5e7eb;border-radius:16px;
  box-shadow:0 8px 28px rgba(16,24,40,.045)
}
.newsletter-copy h2{margin:0 0 7px;font-size:clamp(19px,2vw,24px);line-height:1.25;color:var(--ink)}
.newsletter-copy p{margin:0 0 8px;color:var(--muted)}
.newsletter-copy small,.newsletter-form small{color:var(--muted);font-size:12px}
.newsletter-form{display:grid;gap:7px;min-width:0}
.newsletter-email-label{font-weight:650;font-size:13px;color:var(--ink)}
.newsletter-form-row{display:flex;gap:10px;align-items:stretch}
.newsletter-form-row input{flex:1;min-width:0;padding:12px 14px;border:1px solid #cbd5e1;border-radius:9px;font:inherit;background:#fff}
.newsletter-form-row input:focus{outline:3px solid rgba(67,56,202,.14);border-color:var(--brand)}
.newsletter-form-row .btn{white-space:nowrap;padding:12px 20px}
.newsletter-honeypot{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important}
@media(max-width:700px){
 .newsletter-signup{grid-template-columns:1fr;gap:18px;padding:21px}
}
@media(max-width:460px){
 .newsletter-form-row{flex-direction:column}
 .newsletter-form-row .btn{width:100%}
}

/* V5.7 advanced publishing: tags, sharing and related stories */
.article-tags,.article-share{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:20px 0}
.tag-chip{display:inline-flex;padding:5px 11px;border:1px solid #dbe2f0;border-radius:999px;background:#f8fafc;color:#344054;font-size:.85rem}
.tag-chip:hover{background:#eef2ff;text-decoration:none}
.article-share{padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.share-actions{display:flex;gap:8px;flex-wrap:wrap}
.share-link{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border:1px solid #d0d5dd;border-radius:8px;background:#fff;color:var(--ink);font:inherit;font-size:.88rem;cursor:pointer}
.share-link:hover{background:#f8fafc;text-decoration:none}
.share-feedback{font-size:.85rem;color:#027a48}
.related-articles{margin-top:22px}
.related-articles .feature img{width:100%;height:150px;object-fit:cover;border-radius:9px}
.search-form{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:end}
.search-form label{display:grid;gap:6px;font-weight:600}
.search-form input{padding:11px 12px;border:1px solid #cbd5e1;border-radius:8px;font:inherit}
.search-result img{max-width:180px;height:auto;border-radius:9px}
@media(max-width:620px){.search-form{grid-template-columns:1fr}.article-share{align-items:flex-start;flex-direction:column}}

/* V5.9 advertising placements */
.bc-ad{display:block;max-width:100%;margin:22px auto;text-align:center;overflow:hidden}.bc-ad img{display:block;max-width:100%;height:auto;margin:0 auto;border:0}.bc-ad-adsense,.bc-ad-html{min-height:1px}.bc-ad-creative{max-width:100%;overflow:hidden}.bc-ad-creative img{max-width:100%;height:auto}


/* V6.0.2 — unlimited photo-story publishing */
.photo-story-picker-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:14px;margin-top:16px}
.photo-story-picker{display:grid;gap:8px;padding:10px;border:1px solid var(--line);border-radius:12px;background:var(--surface);cursor:pointer}
.photo-story-picker>input[type=checkbox]{width:18px;height:18px;accent-color:var(--brand)}
.photo-story-picker img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px}
.photo-story-picker span{font-size:.82rem;color:var(--muted);overflow-wrap:anywhere}
.photo-caption-input{width:100%;min-width:0;padding:9px;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--ink);font:inherit;font-size:.85rem}
.photo-story-panel{display:none}
.photo-story-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:26px 0}
.photo-story-figure{margin:0;min-width:0}
.photo-story-figure img{display:block;width:100%;height:auto;max-height:900px;object-fit:contain;border-radius:var(--theme-radius);background:var(--surface)}
.photo-story-figure figcaption{padding:10px 2px 0;color:var(--muted);font-size:.94rem;line-height:1.55}
.photo-story-intro{margin:18px 0}
.photo-story-article{max-width:100%}
@media(max-width:700px){.photo-story-gallery{grid-template-columns:1fr;gap:18px}}


/* V6.0.3 — dedicated video-first Vlog stories */
.video-story-panel{display:none}
.video-story-picker-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px;margin-top:16px}
.video-story-picker{display:grid;gap:9px;padding:12px;border:1px solid var(--line);border-radius:13px;background:var(--surface);cursor:pointer;min-width:0}
.video-story-picker>input[type=checkbox]{width:18px;height:18px;accent-color:var(--brand)}
.video-story-picker video{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;background:#101828;border-radius:9px}
.video-story-picker strong{font-size:.9rem;overflow-wrap:anywhere}
.video-caption-input{width:100%;min-width:0;padding:9px;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--ink);font:inherit;font-size:.85rem}
.video_story-article{max-width:100%}
.vlog-playlist{display:grid;gap:30px;margin:28px 0}
.vlog-video-card{margin:0;overflow:hidden;border:1px solid var(--line);border-radius:16px;background:var(--surface);box-shadow:0 8px 24px rgba(16,24,40,.07)}
.vlog-player-wrap{background:#080b12;line-height:0}
.vlog-player-wrap video{display:block;width:100%;max-height:760px;aspect-ratio:16/9;object-fit:contain;background:#080b12}
.vlog-video-card figcaption{padding:18px 22px 21px}
.vlog-video-number{font-size:.7rem;letter-spacing:.14em;font-weight:800;color:var(--brand)}
.vlog-video-card h2{font-size:1.2rem;margin:7px 0}
.vlog-video-card p{margin:0;color:var(--muted);line-height:1.65}

/* V6.2 — professional composition engine: distinct homepage and story layouts */
.home-layout,.article-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:30px;align-items:start}
.home-primary,.article-primary{min-width:0}
.theme-sidebar{display:none;min-width:0;position:sticky;top:22px;align-self:start}
.theme-sidebar .sidebar-module{padding:20px;margin:0 0 18px;background:var(--surface);border:1px solid var(--line);border-radius:var(--theme-radius);}
.sidebar-kicker{margin:0 0 5px;color:var(--brand);font-size:.68rem;font-weight:850;letter-spacing:.14em;text-transform:uppercase}
.sidebar-module h2{margin:0 0 14px;font-size:1.08rem}
.sidebar-topic-list,.sidebar-recent-list{list-style:none;margin:0;padding:0}
.sidebar-topic-list li{display:flex;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid var(--line);font-size:.9rem}
.sidebar-topic-list li:last-child,.sidebar-recent-list li:last-child{border-bottom:0}
.sidebar-topic-list li span,.sidebar-recent-list time{color:var(--muted);font-size:.78rem}
.sidebar-recent-list li{display:grid;gap:4px;padding:10px 0;border-bottom:1px solid var(--line)}
.sidebar-recent-list a{color:var(--ink);font-weight:700;line-height:1.35}
.sidebar-subscribe{display:grid;gap:5px;padding:18px;border-radius:var(--theme-radius);background:var(--brand);color:#fff}
.sidebar-subscribe span{font-size:.82rem;opacity:.88}.sidebar-subscribe:hover{color:#fff;text-decoration:none;filter:brightness(.96)}
@media(min-width:980px){
 .home-layout-sidebar,.article-layout-sidebar,.home-layout-news,.article-layout-news,.home-layout-corporate,.article-layout-corporate{grid-template-columns:minmax(0,1fr) 286px}
 .home-layout-sidebar .theme-sidebar,.article-layout-sidebar .theme-sidebar,.home-layout-news .theme-sidebar,.article-layout-news .theme-sidebar,.home-layout-corporate .theme-sidebar,.article-layout-corporate .theme-sidebar{display:block}
}
/* The first five flagship designs receive deliberately different composition rules. */
.theme-editorial .hero{border-radius:4px;background:linear-gradient(110deg,#252b61,#4943a4);padding:clamp(38px,6vw,76px);}
.theme-editorial .home-primary>.panel:first-of-type{border:0;box-shadow:none;padding-inline:0;background:transparent}
.theme-editorial .home-primary>.panel:first-of-type .grid{grid-template-columns:minmax(0,1.55fr) minmax(220px,1fr)}
.theme-editorial .home-primary>.panel:first-of-type .feature:first-child{grid-row:span 2}
.theme-editorial .home-primary>.panel:first-of-type .feature:first-child img{height:330px!important}
.theme-editorial .article{max-width:900px}.theme-editorial .article h1{font-family:Georgia,serif;font-weight:600}
.theme-modern .hero{display:grid;align-content:center;min-height:300px;border-radius:18px;background:linear-gradient(120deg,#102b54,#2875bd);box-shadow:0 24px 60px rgba(30,90,160,.18)}
.theme-modern .home-primary>.panel{border:0;background:transparent;box-shadow:none;padding:12px 0}
.theme-modern .feature{display:flex;flex-direction:column;padding:0;overflow:hidden;border-radius:16px;background:var(--surface)}
.theme-modern .feature img{height:205px!important;object-fit:cover}
.theme-modern .feature small,.theme-modern .feature h3,.theme-modern .feature p{margin-left:18px;margin-right:18px}.theme-modern .feature small{margin-top:16px}.theme-modern .feature p{margin-bottom:18px}
.theme-modern .article-layout{gap:42px}.theme-modern .article{border:0;box-shadow:0 18px 55px rgba(16,40,80,.07);padding:clamp(24px,5vw,58px)}
.theme-minimal .site-header{background:transparent;border-bottom:1px solid var(--line)}.theme-minimal .nav-wrap{min-height:88px}
.theme-minimal .hero{background:transparent;color:var(--ink);padding:clamp(42px,8vw,100px) 0 42px;border-radius:0;border-bottom:1px solid var(--line)}
.theme-minimal .hero p{color:var(--muted)}.theme-minimal .hero h1{max-width:820px;font-family:Georgia,serif;font-weight:500;letter-spacing:-.025em}
.theme-minimal .home-primary>.panel{padding:24px 0;background:transparent;border:0;border-radius:0;box-shadow:none;border-bottom:1px solid var(--line)}
.theme-minimal .feature{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.theme-minimal .feature img{border-radius:0}
.theme-minimal .article{max-width:740px;padding:clamp(20px,4vw,46px);border:0;box-shadow:none;background:transparent}
.theme-magazine .hero{border-radius:0;background:var(--brand-dark);border-bottom:9px solid var(--brand);padding:clamp(36px,6vw,70px)}
.theme-magazine .hero h1{text-transform:uppercase;font-weight:950;letter-spacing:-.06em;max-width:1000px}
.theme-magazine .home-primary>.panel{border:0;border-radius:0;box-shadow:none;padding:22px 0;background:transparent}
.theme-magazine .home-primary>.panel h2{font-size:1.8rem;text-transform:uppercase;letter-spacing:-.035em;border-bottom:3px solid var(--ink);padding-bottom:10px}
.theme-magazine .home-primary>.panel .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.theme-magazine .home-primary>.panel .feature:first-child{grid-column:1/-1;display:grid;grid-template-columns:1.25fr 1fr;gap:20px;align-items:center}
.theme-magazine .home-primary>.panel .feature:first-child img{height:300px!important;grid-row:span 4}
.theme-magazine .feature{border:0;border-top:4px solid var(--brand);border-radius:0;padding:14px 0;background:transparent;box-shadow:none}
.theme-magazine .article{border-radius:0;border-top:8px solid var(--brand);box-shadow:none}.theme-magazine .article h1{text-transform:uppercase;font-weight:950}
.theme-dark .hero{background:linear-gradient(120deg,#202c45,#101522);border:1px solid #34425a}
.theme-dark .feature{background:var(--surface);border-color:var(--line)}
.theme-dark .article-share,.theme-dark .share-link{background:var(--surface);color:var(--ink);border-color:var(--line)}
/* Sidebar themes use a strong editorial rail on desktop; mobile remains single-column. */
@media(min-width:980px){
 .theme-editorial .theme-sidebar,.theme-emerald .theme-sidebar,.theme-terracotta .theme-sidebar,.theme-royal .theme-sidebar,.theme-coastal .theme-sidebar,.theme-wellness .theme-sidebar{display:block}
 .theme-editorial .home-layout,.theme-editorial .article-layout,.theme-emerald .home-layout,.theme-emerald .article-layout,.theme-terracotta .home-layout,.theme-terracotta .article-layout,.theme-royal .home-layout,.theme-royal .article-layout,.theme-coastal .home-layout,.theme-coastal .article-layout,.theme-wellness .home-layout,.theme-wellness .article-layout{grid-template-columns:minmax(0,1fr) 286px}
}
/* Article reading measure, author line, and image treatment */
.article{max-width:none}.article h1{max-width:18ch;margin:.2em 0 .35em}.article>.muted{font-size:.88rem;letter-spacing:.01em}.article-body{max-width:72ch;margin:26px auto 0;font-size:1.08rem;line-height:1.9}.article-featured-image{display:block;width:100%;max-height:620px;object-fit:cover;margin:24px 0;border-radius:var(--theme-radius)}
.article.post-type-photo_story{padding:clamp(18px,4vw,42px)}.post-type-photo_story .photo-story-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(12px,2vw,28px)}
.post-type-photo_story .photo-story-figure:nth-child(5n+1){grid-column:1/-1}.post-type-photo_story .photo-story-figure:nth-child(5n+1) img{max-height:760px;object-fit:cover}
.post-type-video_story{padding:clamp(16px,3vw,34px)}.post-type-video_story>h1{max-width:24ch}.post-type-video_story .vlog-playlist{max-width:1040px;margin:30px auto}.post-type-video_story .vlog-video-card{border-radius:calc(var(--theme-radius) + 3px)}
.theme-minimal .post-type-photo_story,.theme-minimal .post-type-video_story{background:transparent;border:0;box-shadow:none}
.theme-magazine .post-type-video_story .vlog-video-card{border-radius:0;border:0;border-bottom:3px solid var(--brand)}
@media(max-width:700px){.home-primary>.panel:first-of-type .grid,.theme-magazine .home-primary>.panel .grid{grid-template-columns:1fr}.theme-magazine .home-primary>.panel .feature:first-child{display:block;grid-column:auto}.theme-magazine .home-primary>.panel .feature:first-child img{height:220px!important}.post-type-photo_story .photo-story-gallery{grid-template-columns:1fr}.post-type-photo_story .photo-story-figure:nth-child(5n+1){grid-column:auto}.theme-sidebar{position:static}}

@media(max-width:760px){body.background-image{background-attachment:scroll!important}.theme-sidebar{display:none!important}.home-layout,.article-layout{grid-template-columns:1fr!important}}


/* V6.3 — second flagship collection: Emerald, Slate, Rose, Terracotta and Nordic.
   Each composition is intentionally distinct; all rules retain the shared Article,
   unlimited Photo Story and Vlog markup supplied by the publishing engine. */

/* 06 — Emerald Garden: botanical editorial, calm green rail, sidebar composition. */
.theme-emerald .site-header{border-bottom:1px solid color-mix(in srgb,var(--brand) 24%,var(--line));}
.theme-emerald .hero{position:relative;overflow:hidden;background:linear-gradient(118deg,#123d30 0%,#176348 58%,#78a58a 100%);color:#fff;padding:clamp(42px,6vw,76px);border-radius:22px;}
.theme-emerald .hero:after{content:"";position:absolute;width:310px;height:310px;border:1px solid rgba(255,255,255,.18);border-radius:50%;right:-80px;top:-130px;box-shadow:0 0 0 34px rgba(255,255,255,.045),0 0 0 72px rgba(255,255,255,.035);}
.theme-emerald .hero .eyebrow{color:#d2eadb;letter-spacing:.16em;text-transform:uppercase;font-size:.72rem;font-weight:800}
.theme-emerald .hero h1{max-width:15ch;font-family:Georgia,serif;font-weight:500;letter-spacing:-.035em;font-size:clamp(2.5rem,5vw,4.4rem)}
.theme-emerald .home-primary>.panel{border:1px solid #d5e9dc;box-shadow:0 12px 34px rgba(20,83,55,.055)}
.theme-emerald .home-primary>.panel h2{font-family:Georgia,serif;font-size:1.55rem;font-weight:600}
.theme-emerald .home-primary>.panel .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.theme-emerald .home-primary>.panel .feature:first-child{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(240px,.8fr);gap:22px;align-items:center;background:#f5faf6;border-color:#e1eee4}
.theme-emerald .home-primary>.panel .feature:first-child img{height:260px!important;grid-row:span 4;border-radius:14px}
.theme-emerald .feature h3 a{font-family:Georgia,serif;font-size:1.2rem}
.theme-emerald .theme-sidebar .sidebar-module{border-radius:18px;border-top:3px solid #4f8b68}
.theme-emerald .article{border:1px solid #dcebe0;box-shadow:0 18px 50px rgba(27,75,48,.055);padding:clamp(22px,4vw,48px)}
.theme-emerald .article h1{font-family:Georgia,serif;font-weight:500}
.theme-emerald .post-type-photo_story .photo-story-figure{background:#f4faf5;border:1px solid #dcebe0;border-radius:14px;padding:10px}
.theme-emerald .post-type-video_story .vlog-video-card{border:1px solid #dcebe0;background:#f7fbf8}

/* 07 — Corporate Slate: structured business publication with a strong utility rail. */
.theme-slate .site-header{border-bottom:3px solid var(--brand);box-shadow:0 5px 18px rgba(15,23,42,.045)}
.theme-slate .hero{background:#17283d;color:#fff;border-radius:6px;padding:clamp(34px,5vw,64px);border-left:9px solid #94a3b8}
.theme-slate .hero .eyebrow{color:#cbd5e1;font-size:.72rem;font-weight:800;letter-spacing:.15em;text-transform:uppercase}
.theme-slate .hero h1{max-width:17ch;font-size:clamp(2.25rem,4.6vw,3.8rem);font-weight:800;letter-spacing:-.045em}
.theme-slate .home-primary>.panel{border-radius:8px;box-shadow:none;border:1px solid #cbd5e1}
.theme-slate .home-primary>.panel h2{font-size:1.12rem;text-transform:uppercase;letter-spacing:.09em;color:#334155;border-bottom:1px solid #cbd5e1;padding-bottom:12px}
.theme-slate .home-primary>.panel .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 22px}
.theme-slate .feature{border:0;border-bottom:1px solid #dbe2ea;border-radius:0;padding:18px 0;background:transparent;box-shadow:none}
.theme-slate .feature img{width:116px!important;height:92px!important;float:left;object-fit:cover;margin:0 16px 10px 0;border-radius:5px}
.theme-slate .feature h3{font-size:1.05rem;line-height:1.35}
.theme-slate .theme-sidebar .sidebar-module{border-radius:7px;background:#f8fafc;border-left:4px solid #64748b}
.theme-slate .article{border-radius:8px;border-top:5px solid var(--brand);padding:clamp(22px,4vw,46px)}
.theme-slate .article h1{font-family:Arial,sans-serif;font-size:clamp(2rem,4vw,3.2rem);letter-spacing:-.04em}
.theme-slate .post-type-photo_story .photo-story-figure{border-radius:6px;border:1px solid #dbe2ea;padding:8px;background:#fff}
.theme-slate .post-type-video_story .vlog-video-card{border-radius:8px;border:1px solid #cbd5e1}

/* 08 — Rose Editorial: refined literary style with soft rose framing. */
.theme-rose .site-header{background:#fffafb;border-bottom:1px solid #f1dce3}
.theme-rose .hero{background:linear-gradient(135deg,#fff0f4 0%,#f8dfe8 100%);color:#492334;border:1px solid #efd3de;border-radius:28px;padding:clamp(42px,7vw,82px)}
.theme-rose .hero .eyebrow{color:#9f4567;letter-spacing:.17em;text-transform:uppercase;font-weight:800;font-size:.7rem}
.theme-rose .hero h1{font-family:Georgia,serif;font-weight:500;max-width:16ch;font-size:clamp(2.55rem,5vw,4.5rem);letter-spacing:-.04em}
.theme-rose .hero p{color:#74485b;max-width:54ch}
.theme-rose .home-primary>.panel{background:#fffdfd;border:1px solid #f0dce4;box-shadow:0 16px 42px rgba(139,45,83,.055);border-radius:22px}
.theme-rose .home-primary>.panel h2{font-family:Georgia,serif;font-weight:500;font-size:1.65rem;color:#54263b}
.theme-rose .home-primary>.panel .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.theme-rose .feature{border:1px solid #f0dce4;border-radius:16px;background:#fff;padding:14px;box-shadow:0 7px 22px rgba(139,45,83,.045)}
.theme-rose .feature img{border-radius:11px}
.theme-rose .feature h3 a{font-family:Georgia,serif;font-weight:600;color:#51243a}
.theme-rose .theme-sidebar .sidebar-module{border:1px solid #f0dce4;border-radius:18px;background:#fffafb}
.theme-rose .article{background:#fffdfd;border:1px solid #f0dce4;box-shadow:0 18px 48px rgba(139,45,83,.06);padding:clamp(24px,5vw,58px);border-radius:22px}
.theme-rose .article h1{font-family:Georgia,serif;font-weight:500;color:#482337}
.theme-rose .article-body{font-family:Georgia,serif;font-size:1.13rem;line-height:1.95}
.theme-rose .post-type-photo_story .photo-story-figure{background:#fff8fa;border:1px solid #f0dce4;border-radius:16px;padding:10px}
.theme-rose .post-type-video_story .vlog-video-card{background:#fff8fa;border:1px solid #f0dce4;border-radius:16px}

/* 09 — Warm Terracotta: tactile culture/lifestyle magazine with image-led lead story. */
.theme-terracotta .site-header{border-bottom:1px solid #e8d4c1}
.theme-terracotta .hero{background:#6e3825;color:#fff4e8;border-radius:3px;padding:clamp(42px,6vw,78px);position:relative;overflow:hidden}
.theme-terracotta .hero:after{content:"";position:absolute;right:5%;top:15%;width:180px;height:180px;border:1px solid rgba(255,238,220,.25);transform:rotate(45deg);box-shadow:0 0 0 24px rgba(255,238,220,.05),0 0 0 48px rgba(255,238,220,.035)}
.theme-terracotta .hero h1{font-family:Georgia,serif;font-weight:500;max-width:15ch;font-size:clamp(2.6rem,5vw,4.4rem)}
.theme-terracotta .hero .eyebrow{color:#e9c8ad;text-transform:uppercase;letter-spacing:.15em;font-size:.7rem;font-weight:800}
.theme-terracotta .home-primary>.panel{border:0;border-radius:3px;background:#fffaf4;box-shadow:none;border-top:1px solid #e7d4c2;border-bottom:1px solid #e7d4c2}
.theme-terracotta .home-primary>.panel h2{font-family:Georgia,serif;font-size:1.6rem;font-weight:500;color:#6e3825}
.theme-terracotta .home-primary>.panel .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.theme-terracotta .home-primary>.panel .feature:first-child{grid-column:1/-1;display:grid;grid-template-columns:1.35fr 1fr;gap:24px;align-items:center;padding:0 0 22px;border-bottom:1px solid #e7d4c2}
.theme-terracotta .home-primary>.panel .feature:first-child img{height:310px!important;grid-row:span 4;border-radius:3px}
.theme-terracotta .feature{border:0;border-bottom:1px solid #e7d4c2;border-radius:0;background:transparent;padding:16px 0;box-shadow:none}
.theme-terracotta .feature h3 a{font-family:Georgia,serif;font-size:1.18rem;color:#5b3021}
.theme-terracotta .theme-sidebar .sidebar-module{border-radius:3px;background:#fffaf4;border-top:3px solid #b85c38}
.theme-terracotta .article{background:#fffaf4;border:1px solid #e7d4c2;border-radius:3px;padding:clamp(22px,4vw,48px)}
.theme-terracotta .article h1{font-family:Georgia,serif;font-weight:500;color:#5b3021}
.theme-terracotta .post-type-photo_story .photo-story-figure{background:#fff7ee;border:1px solid #e7d4c2;border-radius:3px;padding:9px}
.theme-terracotta .post-type-video_story .vlog-video-card{border:1px solid #e7d4c2;border-radius:3px;background:#fff7ee}

/* 10 — Nordic Frost: airy, full-width Scandinavian design with calm image rhythm. */
.theme-nordic .site-header{background:rgba(255,255,255,.9);backdrop-filter:blur(18px);border-bottom:1px solid #d6e7ed}
.theme-nordic .hero{background:linear-gradient(120deg,#e4f2f5 0%,#f6fbfc 62%,#dceef2 100%);color:#153a46;border:1px solid #d1e5eb;border-radius:24px;padding:clamp(44px,7vw,86px)}
.theme-nordic .hero .eyebrow{color:#397b8a;text-transform:uppercase;letter-spacing:.17em;font-size:.7rem;font-weight:800}
.theme-nordic .hero h1{font-weight:650;letter-spacing:-.055em;max-width:16ch;font-size:clamp(2.6rem,5vw,4.5rem)}
.theme-nordic .hero p{color:#527580;max-width:56ch}
.theme-nordic .home-primary>.panel{border:0;background:transparent;box-shadow:none;padding:24px 0}
.theme-nordic .home-primary>.panel h2{font-size:1.35rem;font-weight:700;letter-spacing:-.025em;color:#214b58}
.theme-nordic .home-primary>.panel .grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.theme-nordic .feature{padding:0;overflow:hidden;border:1px solid #dcebef;border-radius:18px;background:#fff;box-shadow:0 12px 30px rgba(30,90,110,.055)}
.theme-nordic .feature img{height:190px!important;object-fit:cover;border-radius:0!important}
.theme-nordic .feature small,.theme-nordic .feature h3,.theme-nordic .feature p{margin-left:17px;margin-right:17px}
.theme-nordic .feature small:first-of-type{display:inline-block;margin-top:16px;color:#28778a;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.theme-nordic .feature h3{font-size:1.08rem;line-height:1.35}
.theme-nordic .feature p{margin-bottom:18px}
.theme-nordic .article{background:#fff;border:1px solid #dcebef;border-radius:22px;padding:clamp(24px,5vw,60px);box-shadow:0 16px 44px rgba(30,90,110,.05)}
.theme-nordic .article h1{font-weight:650;letter-spacing:-.05em;color:#153a46}
.theme-nordic .article-body{max-width:70ch}
.theme-nordic .post-type-photo_story .photo-story-figure{border:1px solid #dcebef;border-radius:18px;background:#fff;padding:10px}
.theme-nordic .post-type-video_story .vlog-video-card{border:1px solid #dcebef;border-radius:18px;background:#fff}
.theme-nordic .newsletter-signup{border:1px solid #d6e7ed;background:#f7fbfc}

/* Shared responsive behavior for the second flagship collection. */
@media(max-width:760px){
 .theme-emerald .home-primary>.panel .grid,
 .theme-slate .home-primary>.panel .grid,
 .theme-rose .home-primary>.panel .grid,
 .theme-terracotta .home-primary>.panel .grid,
 .theme-nordic .home-primary>.panel .grid{grid-template-columns:1fr}
 .theme-emerald .home-primary>.panel .feature:first-child,
 .theme-terracotta .home-primary>.panel .feature:first-child{display:block;grid-column:auto}
 .theme-emerald .home-primary>.panel .feature:first-child img,
 .theme-terracotta .home-primary>.panel .feature:first-child img{height:220px!important}
 .theme-slate .feature img{width:100%!important;height:190px!important;float:none;margin:0 0 12px}
 .theme-nordic .feature img{height:220px!important}
 .theme-rose .hero,.theme-emerald .hero,.theme-terracotta .hero,.theme-nordic .hero{padding:30px 24px}
}


/* ============================================================
   V6.4 — Flagship theme collection 11–15
   Distinct compositions for Monochrome Ink, Ocean Gradient,
   Sunset Gradient, Royal Violet and Luxury Charcoal.
   The shared publishing markup supports Article, unlimited
   Photo Story and Vlog presentations in each theme.
   ============================================================ */

/* 11 — MONOCHROME INK
   Newspaper-like black/white grid, strong rules, restrained serif display. */
.theme-mono .site-header{background:#fff;border-bottom:3px solid #111;box-shadow:none}
.theme-mono .site-header .brand,.theme-mono .site-header a{color:#111}
.theme-mono .hero{background:#111;color:#fff;border-radius:0;padding:clamp(38px,6vw,76px);border-left:12px solid #777;position:relative}
.theme-mono .hero:after{content:"";position:absolute;inset:18px;border:1px solid rgba(255,255,255,.18);pointer-events:none}
.theme-mono .hero .eyebrow{color:#bbb;text-transform:uppercase;letter-spacing:.2em;font-size:.68rem;font-weight:800}
.theme-mono .hero h1{font-family:Georgia,serif;font-weight:700;letter-spacing:-.045em;max-width:13ch;font-size:clamp(2.8rem,6vw,5rem);line-height:.98}
.theme-mono .hero p{color:#ddd;max-width:50ch}
.theme-mono .home-primary>.panel{border:0;border-top:4px solid #111;border-bottom:1px solid #111;border-radius:0;box-shadow:none;background:#fff;padding:clamp(18px,3vw,32px) 0}
.theme-mono .home-primary>.panel h2{font-family:Georgia,serif;text-transform:uppercase;letter-spacing:.08em;font-size:1.25rem;border-bottom:1px solid #111;padding-bottom:13px}
.theme-mono .home-primary>.panel .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 26px}
.theme-mono .feature{border:0;border-bottom:1px solid #c7c7c7;border-radius:0;background:#fff;box-shadow:none;padding:18px 0}
.theme-mono .feature img{filter:grayscale(1);border-radius:0!important}
.theme-mono .feature h3 a{font-family:Georgia,serif;color:#111;font-size:1.22rem}
.theme-mono .feature small{color:#555;text-transform:uppercase;letter-spacing:.08em}
.theme-mono .theme-sidebar .sidebar-module{border:0;border-top:3px solid #111;border-radius:0;background:#fafafa}
.theme-mono .article{border:0;border-top:5px solid #111;border-radius:0;box-shadow:none;padding:clamp(22px,5vw,58px);background:#fff}
.theme-mono .article h1{font-family:Georgia,serif;font-weight:700;letter-spacing:-.045em}
.theme-mono .article-body{font-family:Georgia,serif;font-size:1.16rem;line-height:1.95;color:#222}
.theme-mono .article-featured-image{filter:grayscale(1);border-radius:0}
.theme-mono .post-type-photo_story .photo-story-figure{border:0;border-top:1px solid #111;border-bottom:1px solid #bbb;border-radius:0;padding:12px 0;background:#fff}
.theme-mono .post-type-video_story .vlog-video-card{border:1px solid #111;border-radius:0;background:#f7f7f7}
.theme-mono .newsletter-signup{border:1px solid #111;border-radius:0;background:#f5f5f5}

/* 12 — OCEAN GRADIENT
   Cinematic wide hero, layered blue/teal surfaces and image-led horizontal stories. */
.theme-ocean .site-header{background:#f8fcff;border-bottom:1px solid #c7dce9}
.theme-ocean .hero{background:linear-gradient(112deg,#082f63 0%,#126a9a 52%,#0f827c 100%);color:#fff;border-radius:26px;padding:clamp(44px,7vw,88px);position:relative;overflow:hidden}
.theme-ocean .hero:before{content:"";position:absolute;width:420px;height:420px;border:1px solid rgba(255,255,255,.18);border-radius:50%;right:-100px;bottom:-280px;box-shadow:0 0 0 42px rgba(255,255,255,.045),0 0 0 88px rgba(255,255,255,.035)}
.theme-ocean .hero .eyebrow{color:#bdebf2;text-transform:uppercase;letter-spacing:.16em;font-size:.7rem;font-weight:800}
.theme-ocean .hero h1{max-width:15ch;font-size:clamp(2.7rem,5.5vw,4.8rem);font-weight:750;letter-spacing:-.055em}
.theme-ocean .hero p{color:#d7f4f5;max-width:55ch}
.theme-ocean .home-primary>.panel{border:1px solid #c8e0eb;border-radius:22px;background:rgba(255,255,255,.96);box-shadow:0 16px 42px rgba(8,70,110,.07)}
.theme-ocean .home-primary>.panel h2{color:#0b496c;font-size:1.45rem;font-weight:750}
.theme-ocean .home-primary>.panel .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.theme-ocean .home-primary>.panel .feature:first-child{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(220px,.75fr);gap:22px;align-items:center;background:linear-gradient(110deg,#f0f9fc,#fff);border-color:#cfe5ed}
.theme-ocean .home-primary>.panel .feature:first-child img{height:270px!important;grid-row:span 4;border-radius:16px}
.theme-ocean .feature{border:1px solid #d8e9ef;border-radius:16px;background:#fff;box-shadow:0 7px 22px rgba(8,70,110,.045)}
.theme-ocean .feature h3 a{color:#075985}
.theme-ocean .theme-sidebar .sidebar-module{border:1px solid #cde2eb;border-radius:16px;background:#f5fbfd;border-top:3px solid #0e7490}
.theme-ocean .article{border:1px solid #cde2eb;border-radius:24px;box-shadow:0 18px 48px rgba(8,70,110,.06);padding:clamp(24px,5vw,60px)}
.theme-ocean .article h1{color:#073b5a;letter-spacing:-.05em}
.theme-ocean .article-body{max-width:72ch;line-height:1.9}
.theme-ocean .article-featured-image{border-radius:20px}
.theme-ocean .post-type-photo_story .photo-story-figure{background:#f2fafc;border:1px solid #d3e7ed;border-radius:18px;padding:12px}
.theme-ocean .post-type-video_story .vlog-video-card{background:#f2fafc;border:1px solid #cde2eb;border-radius:18px}
.theme-ocean .newsletter-signup{background:linear-gradient(110deg,#edf8fb,#f5fbff);border:1px solid #cde2eb}

/* 13 — SUNSET GRADIENT
   Expressive culture magazine with warm gradient masthead and editorial feature grid. */
.theme-sunset .site-header{background:#fff9f7;border-bottom:1px solid #f4d7d9}
.theme-sunset .hero{background:linear-gradient(115deg,#f05b68 0%,#d94d86 48%,#7543a5 100%);color:#fff;border-radius:8px;padding:clamp(42px,6.5vw,82px);position:relative;overflow:hidden}
.theme-sunset .hero:after{content:"";position:absolute;width:260px;height:260px;border-radius:50%;right:7%;top:-120px;background:rgba(255,255,255,.09);box-shadow:0 0 0 34px rgba(255,255,255,.055),0 0 0 70px rgba(255,255,255,.035)}
.theme-sunset .hero .eyebrow{color:#ffe1e4;text-transform:uppercase;letter-spacing:.17em;font-weight:800;font-size:.7rem}
.theme-sunset .hero h1{font-family:Georgia,serif;font-weight:500;max-width:15ch;font-size:clamp(2.65rem,5.2vw,4.6rem);letter-spacing:-.045em}
.theme-sunset .hero p{color:#fff0f2}
.theme-sunset .home-primary>.panel{border:1px solid #f3d8dc;border-radius:10px;background:#fff;box-shadow:0 16px 42px rgba(154,55,99,.07)}
.theme-sunset .home-primary>.panel h2{font-family:Georgia,serif;font-size:1.65rem;font-weight:500;color:#87375d}
.theme-sunset .home-primary>.panel .grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.theme-sunset .feature{border:0;border-radius:8px;background:#fff8f7;overflow:hidden;box-shadow:0 8px 24px rgba(154,55,99,.06);padding:0 0 17px}
.theme-sunset .feature img{height:190px!important;object-fit:cover;border-radius:0!important}
.theme-sunset .feature small,.theme-sunset .feature h3,.theme-sunset .feature p{margin-left:15px;margin-right:15px}
.theme-sunset .feature small:first-of-type{display:inline-block;margin-top:15px;color:#b13f68;text-transform:uppercase;letter-spacing:.09em;font-weight:800}
.theme-sunset .feature h3 a{font-family:Georgia,serif;color:#632b4a;font-size:1.13rem}
.theme-sunset .theme-sidebar .sidebar-module{border:1px solid #f1d6dc;border-radius:10px;background:#fff8f8;border-top:3px solid #d94d86}
.theme-sunset .article{border:1px solid #f1d6dc;border-radius:12px;background:#fff;box-shadow:0 16px 42px rgba(154,55,99,.06);padding:clamp(22px,5vw,56px)}
.theme-sunset .article h1{font-family:Georgia,serif;font-weight:500;color:#632b4a}
.theme-sunset .article-body{font-size:1.12rem;line-height:1.92}
.theme-sunset .article-featured-image{border-radius:12px}
.theme-sunset .post-type-photo_story .photo-story-figure{background:#fff7f6;border:1px solid #f1d6dc;border-radius:12px;padding:10px}
.theme-sunset .post-type-video_story .vlog-video-card{background:#fff7f6;border:1px solid #f1d6dc;border-radius:12px}
.theme-sunset .newsletter-signup{background:linear-gradient(110deg,#fff1ed,#f8efff);border:1px solid #f1d6dc}

/* 14 — ROYAL VIOLET
   Premium sidebar publication with violet masthead, editorial serif and refined cards. */
.theme-royal .site-header{background:#fff;border-bottom:1px solid #e4d8f5;box-shadow:0 6px 22px rgba(76,29,149,.045)}
.theme-royal .hero{background:linear-gradient(125deg,#2e155f 0%,#6336a5 58%,#8b5bc7 100%);color:#fff;border-radius:18px;padding:clamp(42px,6vw,78px);border:1px solid rgba(255,255,255,.18)}
.theme-royal .hero .eyebrow{color:#e5d5ff;text-transform:uppercase;letter-spacing:.18em;font-size:.68rem;font-weight:800}
.theme-royal .hero h1{font-family:Georgia,serif;font-weight:500;max-width:15ch;font-size:clamp(2.7rem,5vw,4.5rem);letter-spacing:-.04em}
.theme-royal .hero p{color:#eee5ff}
.theme-royal .home-primary>.panel{border:1px solid #e3d7f4;border-radius:18px;background:#fff;box-shadow:0 14px 40px rgba(76,29,149,.055)}
.theme-royal .home-primary>.panel h2{font-family:Georgia,serif;color:#43206f;font-size:1.55rem;font-weight:500}
.theme-royal .home-primary>.panel .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.theme-royal .home-primary>.panel .feature:first-child{grid-column:1/-1;display:grid;grid-template-columns:1.15fr .85fr;gap:22px;align-items:center;background:#faf7ff;border:1px solid #e9dff7}
.theme-royal .home-primary>.panel .feature:first-child img{height:245px!important;grid-row:span 4;border-radius:14px}
.theme-royal .feature{border:1px solid #e8def5;border-radius:14px;background:#fff;box-shadow:0 7px 22px rgba(76,29,149,.04)}
.theme-royal .feature h3 a{font-family:Georgia,serif;color:#51258a}
.theme-royal .theme-sidebar .sidebar-module{border:1px solid #e4d8f5;border-radius:14px;background:#faf7ff;border-left:4px solid #7c3aed}
.theme-royal .article{border:1px solid #e4d8f5;border-radius:18px;background:#fff;box-shadow:0 18px 46px rgba(76,29,149,.055);padding:clamp(24px,5vw,58px)}
.theme-royal .article h1{font-family:Georgia,serif;font-weight:500;color:#32165c}
.theme-royal .article-body{font-family:Georgia,serif;line-height:1.95;font-size:1.12rem}
.theme-royal .article-featured-image{border-radius:16px}
.theme-royal .post-type-photo_story .photo-story-figure{border:1px solid #e4d8f5;border-radius:16px;background:#faf7ff;padding:10px}
.theme-royal .post-type-video_story .vlog-video-card{border:1px solid #e4d8f5;border-radius:16px;background:#faf7ff}
.theme-royal .newsletter-signup{border:1px solid #e4d8f5;background:#faf7ff}

/* 15 — LUXURY CHARCOAL
   High-end dark journal: charcoal canvas, ivory typography, gold rules and restrained surfaces. */
.theme-luxury .site-header{background:#171614;border-bottom:1px solid #6d5834}
.theme-luxury .site-header,.theme-luxury .site-header a,.theme-luxury .site-header .brand{color:#f5f0e6}
.theme-luxury .hero{background:linear-gradient(120deg,#171614 0%,#28251f 72%,#3a3020 100%);color:#f5f0e6;border:1px solid #6d5834;border-radius:4px;padding:clamp(46px,7vw,88px);position:relative}
.theme-luxury .hero:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:linear-gradient(#e4c77e,#80612b)}
.theme-luxury .hero .eyebrow{color:#d4bd88;text-transform:uppercase;letter-spacing:.22em;font-size:.67rem;font-weight:800}
.theme-luxury .hero h1{font-family:Georgia,serif;font-weight:400;max-width:15ch;font-size:clamp(2.7rem,5.4vw,4.7rem);letter-spacing:-.035em;color:#fffaf0}
.theme-luxury .hero p{color:#c9bea9;max-width:52ch}
.theme-luxury .home-primary>.panel{background:#22211e;color:#f5f0e6;border:1px solid #514633;border-radius:4px;box-shadow:0 18px 46px rgba(0,0,0,.18)}
.theme-luxury .home-primary>.panel h2{font-family:Georgia,serif;color:#e1c47e;font-weight:400;font-size:1.55rem}
.theme-luxury .home-primary>.panel .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.theme-luxury .feature{background:#292722;border:1px solid #514633;border-radius:4px;box-shadow:none;color:#f5f0e6}
.theme-luxury .feature h3 a{font-family:Georgia,serif;color:#f2dfad;font-size:1.2rem}
.theme-luxury .feature p,.theme-luxury .feature small{color:#c1b69f}
.theme-luxury .feature img{border-radius:2px!important}
.theme-luxury .theme-sidebar .sidebar-module{background:#22211e;color:#f5f0e6;border:1px solid #514633;border-top:2px solid #c6a15b;border-radius:4px}
.theme-luxury .theme-sidebar .sidebar-module h2,.theme-luxury .theme-sidebar .sidebar-module a{color:#e8d29d}
.theme-luxury .article{background:#22211e;color:#f5f0e6;border:1px solid #514633;border-top:3px solid #c6a15b;border-radius:4px;box-shadow:0 20px 55px rgba(0,0,0,.2);padding:clamp(24px,5vw,60px)}
.theme-luxury .article h1{font-family:Georgia,serif;font-weight:400;color:#fff8e8}
.theme-luxury .article .eyebrow,.theme-luxury .article time{color:#d4bd88}
.theme-luxury .article-body{color:#e4ddcf;font-family:Georgia,serif;font-size:1.12rem;line-height:1.95}
.theme-luxury .article-featured-image{border:1px solid #6d5834;border-radius:3px}
.theme-luxury .post-type-photo_story .photo-story-figure{background:#292722;border:1px solid #514633;border-radius:4px;padding:10px}
.theme-luxury .post-type-video_story .vlog-video-card{background:#292722;border:1px solid #6d5834;border-radius:4px}
.theme-luxury .newsletter-signup{background:#22211e;color:#f5f0e6;border:1px solid #6d5834;border-radius:4px}
.theme-luxury .newsletter-signup h2{color:#e1c47e}
.theme-luxury a{ text-decoration-color:rgba(198,161,91,.5) }

/* Responsive refinements for themes 11–15. */
@media(max-width:760px){
 .theme-mono .home-primary>.panel .grid,
 .theme-ocean .home-primary>.panel .grid,
 .theme-sunset .home-primary>.panel .grid,
 .theme-royal .home-primary>.panel .grid,
 .theme-luxury .home-primary>.panel .grid{grid-template-columns:1fr}
 .theme-ocean .home-primary>.panel .feature:first-child,
 .theme-royal .home-primary>.panel .feature:first-child{display:block;grid-column:auto}
 .theme-ocean .home-primary>.panel .feature:first-child img,
 .theme-royal .home-primary>.panel .feature:first-child img{height:220px!important}
 .theme-sunset .feature img{height:220px!important}
 .theme-luxury .hero,.theme-mono .hero{padding:32px 24px}
}


/* ============================================================
   V6.5 — Flagship theme collection 16–20
   Creative Spectrum, Tech Neon, Coastal Sand, Newsroom Red,
   and The Broadsheet. Distinct art direction, not palette swaps.
   ============================================================ */

/* 16 — CREATIVE SPECTRUM
   Experimental creative studio: vivid spectrum masthead, modular asymmetric cards. */
.theme-spectrum .site-header{background:#10121d;color:#fff;border-bottom:1px solid #34384a}
.theme-spectrum .site-header a,.theme-spectrum .site-header .brand{color:#f8fafc}
.theme-spectrum .hero{position:relative;overflow:hidden;color:#fff;border-radius:24px;padding:clamp(44px,7vw,88px);background:linear-gradient(112deg,#ec4899 0%,#8b5cf6 34%,#3b82f6 67%,#14b8a6 100%)}
.theme-spectrum .hero:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,transparent 42%,rgba(255,255,255,.16) 42.2%,transparent 42.6%),linear-gradient(25deg,transparent 60%,rgba(255,255,255,.12) 60.2%,transparent 60.6%);pointer-events:none}
.theme-spectrum .hero .eyebrow{color:#fff;text-transform:uppercase;letter-spacing:.2em;font-size:.68rem;font-weight:900}
.theme-spectrum .hero h1{font-weight:850;letter-spacing:-.065em;line-height:.96;max-width:13ch;font-size:clamp(2.8rem,6vw,5.2rem)}
.theme-spectrum .hero p{color:#f4efff;max-width:54ch}
.theme-spectrum .home-primary>.panel{background:#fff;border:1px solid #e3e4ec;border-radius:20px;box-shadow:0 18px 46px rgba(40,35,80,.08)}
.theme-spectrum .home-primary>.panel h2{font-weight:850;letter-spacing:-.04em;color:#24243b;font-size:1.55rem}
.theme-spectrum .home-primary>.panel .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.theme-spectrum .home-primary>.panel .feature:first-child{grid-column:1/-1;display:grid;grid-template-columns:1.3fr .7fr;gap:22px;align-items:center;background:#f8f7ff;border:1px solid #e7e2ff}
.theme-spectrum .home-primary>.panel .feature:first-child img{height:280px!important;grid-row:span 4;border-radius:14px}
.theme-spectrum .feature{border:1px solid #e5e5ee;border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(40,35,80,.05)}
.theme-spectrum .feature:nth-child(3n+1){border-top:4px solid #ec4899}
.theme-spectrum .feature:nth-child(3n+2){border-top:4px solid #6366f1}
.theme-spectrum .feature:nth-child(3n){border-top:4px solid #14b8a6}
.theme-spectrum .feature h3 a{color:#30265f;font-weight:800}
.theme-spectrum .theme-sidebar .sidebar-module{border:1px solid #e4e1f2;border-radius:16px;background:#faf9ff;border-top:4px solid #8b5cf6}
.theme-spectrum .article{background:#fff;border:1px solid #e3e4ec;border-radius:20px;box-shadow:0 18px 46px rgba(40,35,80,.07);padding:clamp(24px,5vw,60px)}
.theme-spectrum .article h1{font-weight:850;letter-spacing:-.055em;color:#282344}
.theme-spectrum .article-body{font-size:1.1rem;line-height:1.9}
.theme-spectrum .article-featured-image{border-radius:18px}
.theme-spectrum .post-type-photo_story .photo-story-figure{border:1px solid #e4e1f2;border-radius:16px;padding:10px;background:#faf9ff}
.theme-spectrum .post-type-video_story .vlog-video-card{border:1px solid #e4e1f2;border-radius:16px;background:#faf9ff}
.theme-spectrum .newsletter-signup{background:linear-gradient(110deg,#fff1f7,#f0efff,#e9fbf7);border:1px solid #e5e0f3}

/* 17 — TECH NEON
   Dark technology publication with neon signal accents, compact data-like story rows. */
.theme-neon{background:#080d18;color:#dbeafe}
.theme-neon .site-header{background:#080d18;color:#e5f3ff;border-bottom:1px solid #164e63}
.theme-neon .site-header a,.theme-neon .site-header .brand{color:#d8faff}
.theme-neon .hero{background:radial-gradient(circle at 82% 18%,rgba(34,211,238,.19),transparent 28%),linear-gradient(125deg,#0b1220,#111c32 72%,#102b37);color:#f0fdff;border:1px solid #155e75;border-radius:10px;padding:clamp(42px,6vw,78px);box-shadow:0 0 0 1px rgba(34,211,238,.06),0 18px 55px rgba(0,0,0,.25)}
.theme-neon .hero .eyebrow{color:#67e8f9;text-transform:uppercase;letter-spacing:.2em;font-size:.68rem;font-weight:900}
.theme-neon .hero h1{font-family:Arial,sans-serif;font-weight:850;letter-spacing:-.055em;max-width:14ch;font-size:clamp(2.6rem,5.4vw,4.6rem)}
.theme-neon .hero p{color:#a5f3fc}
.theme-neon .home-primary>.panel{background:#0d1728;color:#e2e8f0;border:1px solid #164e63;border-radius:10px;box-shadow:0 14px 38px rgba(0,0,0,.2)}
.theme-neon .home-primary>.panel h2{color:#67e8f9;text-transform:uppercase;letter-spacing:.1em;font-size:1.05rem;font-weight:850}
.theme-neon .home-primary>.panel .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.theme-neon .feature{background:#101e31;color:#dbeafe;border:1px solid #164e63;border-radius:8px;box-shadow:none}
.theme-neon .feature h3 a{color:#a5f3fc;font-weight:800}
.theme-neon .feature small,.theme-neon .feature p{color:#94a3b8}
.theme-neon .feature img{border:1px solid #155e75;border-radius:6px!important}
.theme-neon .theme-sidebar .sidebar-module{background:#0d1728;color:#dbeafe;border:1px solid #164e63;border-left:3px solid #22d3ee;border-radius:8px}
.theme-neon .theme-sidebar .sidebar-module h2,.theme-neon .theme-sidebar .sidebar-module a{color:#a5f3fc}
.theme-neon .article{background:#0d1728;color:#e2e8f0;border:1px solid #164e63;border-top:3px solid #22d3ee;border-radius:10px;padding:clamp(24px,5vw,58px);box-shadow:0 18px 48px rgba(0,0,0,.25)}
.theme-neon .article h1{color:#f0fdff;font-weight:850;letter-spacing:-.05em}
.theme-neon .article .eyebrow,.theme-neon .article time{color:#67e8f9}
.theme-neon .article-body{color:#cbd5e1;line-height:1.9}
.theme-neon .article-featured-image{border:1px solid #155e75;border-radius:8px}
.theme-neon .post-type-photo_story .photo-story-figure{background:#101e31;border:1px solid #164e63;border-radius:8px;padding:9px}
.theme-neon .post-type-video_story .vlog-video-card{background:#101e31;border:1px solid #155e75;border-radius:8px}
.theme-neon .newsletter-signup{background:#0d1728;color:#e2e8f0;border:1px solid #155e75}
.theme-neon .newsletter-signup h2{color:#67e8f9}

/* 18 — COASTAL SAND
   Relaxed travel/lifestyle journal: warm sand, sea-glass accent, open image-led columns. */
.theme-coastal .site-header{background:#fffdf8;border-bottom:1px solid #e8dfcd}
.theme-coastal .hero{background:linear-gradient(115deg,#f2e6cf 0%,#f9f4e9 55%,#d9ece7 100%);color:#264a48;border:1px solid #e6ddca;border-radius:26px;padding:clamp(44px,7vw,84px)}
.theme-coastal .hero .eyebrow{color:#66857b;text-transform:uppercase;letter-spacing:.17em;font-size:.7rem;font-weight:850}
.theme-coastal .hero h1{font-family:Georgia,serif;font-weight:500;max-width:15ch;font-size:clamp(2.7rem,5.2vw,4.5rem);letter-spacing:-.045em;color:#244743}
.theme-coastal .hero p{color:#59736d;max-width:54ch}
.theme-coastal .home-primary>.panel{border:1px solid #e8dfcd;border-radius:22px;background:#fffdf9;box-shadow:0 12px 34px rgba(95,78,48,.055)}
.theme-coastal .home-primary>.panel h2{font-family:Georgia,serif;font-weight:500;color:#345b54;font-size:1.6rem}
.theme-coastal .home-primary>.panel .grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.theme-coastal .feature{border:1px solid #eee5d5;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(95,78,48,.045);overflow:hidden;padding:0 0 16px}
.theme-coastal .feature img{height:190px!important;object-fit:cover;border-radius:0!important}
.theme-coastal .feature small,.theme-coastal .feature h3,.theme-coastal .feature p{margin-left:16px;margin-right:16px}
.theme-coastal .feature small:first-of-type{display:inline-block;margin-top:15px;color:#64877b;text-transform:uppercase;letter-spacing:.09em;font-weight:800}
.theme-coastal .feature h3 a{font-family:Georgia,serif;color:#31564f;font-size:1.12rem;font-weight:600}
.theme-coastal .theme-sidebar .sidebar-module{background:#fbf8f0;border:1px solid #e8dfcd;border-radius:18px;border-top:3px solid #7fa99a}
.theme-coastal .article{background:#fffdf9;border:1px solid #e8dfcd;border-radius:22px;padding:clamp(24px,5vw,58px);box-shadow:0 16px 42px rgba(95,78,48,.05)}
.theme-coastal .article h1{font-family:Georgia,serif;font-weight:500;color:#244743}
.theme-coastal .article-body{font-family:Georgia,serif;font-size:1.12rem;line-height:1.95;color:#3e514c}
.theme-coastal .article-featured-image{border-radius:18px}
.theme-coastal .post-type-photo_story .photo-story-figure{background:#fbf8f0;border:1px solid #e8dfcd;border-radius:18px;padding:10px}
.theme-coastal .post-type-video_story .vlog-video-card{background:#fbf8f0;border:1px solid #e8dfcd;border-radius:18px}
.theme-coastal .newsletter-signup{background:linear-gradient(110deg,#f8f0df,#eef7f3);border:1px solid #e8dfcd}

/* 19 — NEWSROOM RED
   High-energy breaking-news/broadsheet hybrid: red masthead, ticker rule, compact news grid. */
.theme-newsroom .site-header{background:#fff;border-bottom:4px solid #b91c1c}
.theme-newsroom .hero{background:#991b1b;color:#fff;border-radius:0;padding:clamp(36px,5.5vw,68px);border-bottom:8px solid #fbbf24;position:relative}
.theme-newsroom .hero:before{content:"LATEST / FEATURES / ANALYSIS";display:block;color:#fecaca;font-size:.68rem;font-weight:900;letter-spacing:.18em;margin-bottom:18px}
.theme-newsroom .hero .eyebrow{color:#fee2e2;text-transform:uppercase;letter-spacing:.16em;font-size:.68rem;font-weight:850}
.theme-newsroom .hero h1{font-family:Arial,sans-serif;font-weight:900;letter-spacing:-.055em;max-width:15ch;font-size:clamp(2.5rem,5vw,4.3rem);text-transform:uppercase}
.theme-newsroom .hero p{color:#fee2e2}
.theme-newsroom .home-primary>.panel{border:1px solid #e5caca;border-top:5px solid #b91c1c;border-radius:4px;background:#fff;box-shadow:none}
.theme-newsroom .home-primary>.panel h2{font-family:Arial,sans-serif;color:#991b1b;text-transform:uppercase;letter-spacing:.08em;font-weight:900;font-size:1.12rem;border-bottom:1px solid #e5caca;padding-bottom:12px}
.theme-newsroom .home-primary>.panel .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}
.theme-newsroom .feature{border:0;border-bottom:1px solid #e5caca;border-radius:0;background:#fff;box-shadow:none;padding:16px 0}
.theme-newsroom .feature img{width:118px!important;height:90px!important;object-fit:cover;float:left;margin:0 14px 8px 0;border-radius:2px!important}
.theme-newsroom .feature small:first-of-type{color:#b91c1c;text-transform:uppercase;font-weight:900;letter-spacing:.08em}
.theme-newsroom .feature h3 a{font-family:Arial,sans-serif;color:#1f2937;font-weight:850;font-size:1.08rem}
.theme-newsroom .theme-sidebar .sidebar-module{border:1px solid #e5caca;border-top:4px solid #b91c1c;border-radius:4px;background:#fff}
.theme-newsroom .article{border:1px solid #e5caca;border-top:6px solid #b91c1c;border-radius:4px;background:#fff;padding:clamp(22px,4vw,48px)}
.theme-newsroom .article h1{font-family:Arial,sans-serif;font-weight:900;letter-spacing:-.045em;color:#1f2937}
.theme-newsroom .article .eyebrow,.theme-newsroom .article time{color:#b91c1c;text-transform:uppercase;font-weight:800}
.theme-newsroom .article-body{font-size:1.08rem;line-height:1.85}
.theme-newsroom .post-type-photo_story .photo-story-figure{border:1px solid #e5caca;border-radius:4px;padding:8px;background:#fff}
.theme-newsroom .post-type-video_story .vlog-video-card{border:1px solid #e5caca;border-radius:4px;background:#fff}
.theme-newsroom .newsletter-signup{border:1px solid #e5caca;border-top:4px solid #b91c1c;border-radius:4px}

/* 20 — THE BROADSHEET
   Classic print newspaper translated for the web: masthead, columns, fine rules, serif. */
.theme-broadsheet .site-header{background:#faf9f5;border-bottom:3px double #262626}
.theme-broadsheet .hero{background:#f5f2e9;color:#1d1d1b;border:1px solid #d8d2c5;border-radius:0;padding:clamp(36px,5.5vw,70px);text-align:center}
.theme-broadsheet .hero .eyebrow{color:#555;text-transform:uppercase;letter-spacing:.22em;font-size:.66rem;font-weight:800}
.theme-broadsheet .hero h1{font-family:Georgia,serif;font-weight:700;letter-spacing:-.055em;max-width:18ch;margin-left:auto;margin-right:auto;font-size:clamp(2.6rem,5.5vw,4.8rem);line-height:1.02}
.theme-broadsheet .hero p{color:#555;max-width:58ch;margin-left:auto;margin-right:auto;font-family:Georgia,serif}
.theme-broadsheet .home-primary>.panel{border:0;border-top:4px double #333;border-bottom:1px solid #777;border-radius:0;background:#faf9f5;box-shadow:none;padding:24px 0}
.theme-broadsheet .home-primary>.panel h2{font-family:Georgia,serif;text-align:center;text-transform:uppercase;letter-spacing:.14em;font-size:1.12rem;font-weight:700;border-bottom:1px solid #777;padding-bottom:14px;color:#222}
.theme-broadsheet .home-primary>.panel .grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:0 18px}
.theme-broadsheet .feature{border:0;border-right:1px solid #d2cbbc;border-radius:0;background:transparent;box-shadow:none;padding:12px 15px}
.theme-broadsheet .feature:last-child{border-right:0}
.theme-broadsheet .feature img{border-radius:0!important;filter:saturate(.78)}
.theme-broadsheet .feature h3 a{font-family:Georgia,serif;font-weight:700;color:#222;font-size:1.12rem}
.theme-broadsheet .feature p{font-family:Georgia,serif;color:#555}
.theme-broadsheet .theme-sidebar .sidebar-module{border:0;border-top:3px double #333;border-bottom:1px solid #aaa;border-radius:0;background:#f5f2e9}
.theme-broadsheet .article{background:#faf9f5;border:0;border-top:4px double #333;border-radius:0;box-shadow:none;padding:clamp(24px,5vw,60px)}
.theme-broadsheet .article h1{font-family:Georgia,serif;font-weight:700;color:#171717;letter-spacing:-.045em}
.theme-broadsheet .article-body{font-family:Georgia,serif;font-size:1.16rem;line-height:1.98;color:#252525}
.theme-broadsheet .article-featured-image{border-radius:0;filter:saturate(.86)}
.theme-broadsheet .post-type-photo_story .photo-story-figure{background:#f5f2e9;border-top:1px solid #777;border-bottom:1px solid #bbb;border-radius:0;padding:12px 0}
.theme-broadsheet .post-type-video_story .vlog-video-card{background:#f5f2e9;border:1px solid #bbb;border-radius:0}
.theme-broadsheet .newsletter-signup{background:#f5f2e9;border:1px solid #bbb;border-top:3px double #333;border-radius:0}

/* Responsive layouts for themes 16–20. */
@media(max-width:760px){
 .theme-spectrum .home-primary>.panel .grid,
 .theme-neon .home-primary>.panel .grid,
 .theme-coastal .home-primary>.panel .grid,
 .theme-newsroom .home-primary>.panel .grid,
 .theme-broadsheet .home-primary>.panel .grid{grid-template-columns:1fr}
 .theme-spectrum .home-primary>.panel .feature:first-child{display:block;grid-column:auto}
 .theme-spectrum .home-primary>.panel .feature:first-child img{height:220px!important}
 .theme-newsroom .feature img{width:100%!important;height:190px!important;float:none;margin:0 0 12px}
 .theme-broadsheet .feature{border-right:0;border-bottom:1px solid #d2cbbc}
 .theme-coastal .feature img{height:220px!important}
 .theme-neon .hero,.theme-newsroom .hero{padding:32px 24px}
}


/* ============================================================
   V6.6 — Flagship theme collection 21–25
   Creative Portfolio, Personal Journal, Fashion House,
   Table & Taste, and Atlas Travel.
   ============================================================ */

/* 21 — CREATIVE PORTFOLIO
   Image-first designer portfolio with asymmetrical editorial gallery. */
.theme-portfolio .site-header{background:#f8f8f6;border-bottom:1px solid #deded8}
.theme-portfolio .hero{background:#e9e9e4;color:#171918;border-radius:2px;padding:clamp(42px,7vw,90px);position:relative;overflow:hidden}
.theme-portfolio .hero:after{content:"";position:absolute;width:38%;height:150%;right:-9%;top:-25%;background:linear-gradient(145deg,#d1d2cb,#f6f6f2);transform:rotate(17deg)}
.theme-portfolio .hero .eyebrow{color:#696d66;text-transform:uppercase;letter-spacing:.2em;font-size:.68rem;font-weight:850}
.theme-portfolio .hero h1{font-size:clamp(3rem,7vw,6rem);font-weight:850;letter-spacing:-.075em;line-height:.92;max-width:10ch}
.theme-portfolio .hero p{color:#555b55;max-width:44ch}
.theme-portfolio .home-primary>.panel{border:0;background:transparent;box-shadow:none;padding:20px 0}
.theme-portfolio .home-primary>.panel h2{font-size:1rem;text-transform:uppercase;letter-spacing:.16em;font-weight:850;color:#4b514b;border-bottom:1px solid #bfc2ba;padding-bottom:14px}
.theme-portfolio .home-primary>.panel .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.theme-portfolio .feature{border:0;border-radius:2px;background:#fff;box-shadow:none;padding:0 0 16px;overflow:hidden}
.theme-portfolio .feature:nth-child(4n+1){grid-row:span 2}
.theme-portfolio .feature img{height:230px!important;object-fit:cover;border-radius:2px!important;filter:saturate(.82)}
.theme-portfolio .feature:nth-child(4n+1) img{height:470px!important}
.theme-portfolio .feature h3 a{font-weight:800;color:#171918;letter-spacing:-.035em;font-size:1.2rem}
.theme-portfolio .feature small{color:#777;text-transform:uppercase;letter-spacing:.1em}
.theme-portfolio .theme-sidebar .sidebar-module{background:#f0f0eb;border:0;border-top:2px solid #171918;border-radius:2px}
.theme-portfolio .article{border:0;border-radius:2px;background:#fff;padding:clamp(22px,5vw,60px);box-shadow:none}
.theme-portfolio .article h1{font-weight:850;letter-spacing:-.06em;font-size:clamp(2.3rem,5vw,4.2rem)}
.theme-portfolio .article-body{max-width:68ch;line-height:1.9}
.theme-portfolio .article-featured-image{border-radius:2px}
.theme-portfolio .post-type-photo_story .photo-story-figure{border:0;border-radius:2px;background:#f0f0eb;padding:8px}
.theme-portfolio .post-type-video_story .vlog-video-card{border:1px solid #d8d9d2;border-radius:2px;background:#f8f8f6}

/* 22 — PERSONAL JOURNAL
   Intimate long-form diary style with narrow reading measure and warm paper. */
.theme-journal .site-header{background:#fbf7ef;border-bottom:1px solid #e8dfd0}
.theme-journal .hero{background:#eee4d5;color:#453a30;border:1px solid #e3d5c2;border-radius:18px;padding:clamp(38px,6vw,76px);text-align:center}
.theme-journal .hero .eyebrow{color:#967b5d;text-transform:uppercase;letter-spacing:.18em;font-size:.68rem;font-weight:800}
.theme-journal .hero h1{font-family:Georgia,serif;font-weight:400;letter-spacing:-.045em;max-width:16ch;margin:0 auto;font-size:clamp(2.6rem,5vw,4.3rem)}
.theme-journal .hero p{font-family:Georgia,serif;color:#796956;max-width:52ch;margin:16px auto 0}
.theme-journal .home-primary>.panel{max-width:920px;margin-left:auto;margin-right:auto;border:1px solid #e9dfd0;border-radius:16px;background:#fffdf8;box-shadow:0 12px 35px rgba(75,55,35,.045)}
.theme-journal .home-primary>.panel h2{font-family:Georgia,serif;font-weight:400;color:#5c4735;font-size:1.65rem}
.theme-journal .home-primary>.panel .grid{grid-template-columns:1fr;gap:0}
.theme-journal .feature{display:grid;grid-template-columns:140px 1fr;align-items:center;gap:18px;border:0;border-bottom:1px solid #eee5d8;border-radius:0;background:transparent;box-shadow:none;padding:18px 0}
.theme-journal .feature:last-child{border-bottom:0}
.theme-journal .feature img{width:140px!important;height:110px!important;object-fit:cover;border-radius:9px!important}
.theme-journal .feature h3 a{font-family:Georgia,serif;font-weight:500;color:#513e30;font-size:1.25rem}
.theme-journal .feature p{font-family:Georgia,serif;color:#796956;line-height:1.65}
.theme-journal .theme-sidebar .sidebar-module{background:#f8f1e7;border:1px solid #e9dfd0;border-radius:12px}
.theme-journal .article{max-width:900px;background:#fffdf8;border:1px solid #e9dfd0;border-radius:16px;padding:clamp(24px,6vw,72px);box-shadow:0 14px 40px rgba(75,55,35,.045)}
.theme-journal .article h1{font-family:Georgia,serif;font-weight:400;color:#45372d;font-size:clamp(2.4rem,5vw,4rem)}
.theme-journal .article-body{font-family:Georgia,serif;font-size:1.18rem;line-height:2;color:#51463c;max-width:66ch}
.theme-journal .article-featured-image{border-radius:12px}
.theme-journal .post-type-photo_story .photo-story-figure{background:#f8f1e7;border:1px solid #e9dfd0;border-radius:12px;padding:10px}
.theme-journal .post-type-video_story .vlog-video-card{background:#f8f1e7;border:1px solid #e9dfd0;border-radius:12px}
.theme-journal .newsletter-signup{background:#f8f1e7;border:1px solid #e9dfd0}

/* 23 — FASHION HOUSE
   Luxury fashion editorial: dramatic black masthead, oversized typography, runway cards. */
.theme-fashion .site-header{background:#111;color:#fff;border-bottom:1px solid #4b3b34}
.theme-fashion .site-header a,.theme-fashion .site-header .brand{color:#fff}
.theme-fashion .hero{background:#171513;color:#f8f2e9;border-radius:0;padding:clamp(44px,7vw,92px);position:relative;overflow:hidden}
.theme-fashion .hero:after{content:"";position:absolute;right:8%;top:12%;width:190px;height:260px;border:1px solid rgba(205,174,130,.45);transform:rotate(12deg);box-shadow:18px 18px 0 -17px #c9a77b,36px 36px 0 -35px #c9a77b}
.theme-fashion .hero .eyebrow{color:#c9a77b;text-transform:uppercase;letter-spacing:.24em;font-size:.66rem;font-weight:800}
.theme-fashion .hero h1{font-family:Georgia,serif;font-weight:400;letter-spacing:-.055em;max-width:13ch;font-size:clamp(3rem,6vw,5.4rem);line-height:.98}
.theme-fashion .hero p{color:#d8cfc2;max-width:48ch}
.theme-fashion .home-primary>.panel{background:#fff;border:0;border-radius:0;box-shadow:none;padding:24px 0}
.theme-fashion .home-primary>.panel h2{font-family:Georgia,serif;font-weight:400;text-transform:uppercase;letter-spacing:.16em;text-align:center;color:#5b493b;font-size:1.15rem;border-bottom:1px solid #d9c9b5;padding-bottom:16px}
.theme-fashion .home-primary>.panel .grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.theme-fashion .feature{border:0;border-radius:0;background:#f7f4ef;box-shadow:none;padding:0 0 16px;overflow:hidden}
.theme-fashion .feature img{height:250px!important;object-fit:cover;border-radius:0!important}
.theme-fashion .feature h3 a{font-family:Georgia,serif;font-weight:400;color:#29231e;font-size:1.2rem;letter-spacing:-.02em}
.theme-fashion .feature small{color:#987d5f;text-transform:uppercase;letter-spacing:.13em;font-size:.65rem}
.theme-fashion .theme-sidebar .sidebar-module{border:1px solid #d9c9b5;border-radius:0;background:#f7f4ef;border-top:3px solid #b08a5b}
.theme-fashion .article{background:#fff;border:0;border-radius:0;padding:clamp(24px,5vw,60px);box-shadow:none}
.theme-fashion .article h1{font-family:Georgia,serif;font-weight:400;color:#29231e;letter-spacing:-.045em}
.theme-fashion .article-body{font-family:Georgia,serif;font-size:1.13rem;line-height:1.95;color:#494039}
.theme-fashion .article-featured-image{border-radius:0}
.theme-fashion .post-type-photo_story .photo-story-figure{background:#f7f4ef;border:1px solid #e6ded2;border-radius:0;padding:9px}
.theme-fashion .post-type-video_story .vlog-video-card{background:#f7f4ef;border:1px solid #d9c9b5;border-radius:0}
.theme-fashion .newsletter-signup{background:#171513;color:#f8f2e9;border:1px solid #6b5945;border-radius:0}
.theme-fashion .newsletter-signup h2{color:#c9a77b}

/* 24 — TABLE & TASTE
   Food publication with fresh produce palette, recipe cards and generous photography. */
.theme-food .site-header{background:#fffdf7;border-bottom:1px solid #e6e2d2}
.theme-food .hero{background:linear-gradient(120deg,#315d3c 0%,#4d7d4b 58%,#a6b66b 100%);color:#fffdf2;border-radius:18px;padding:clamp(42px,6vw,78px);position:relative;overflow:hidden}
.theme-food .hero:after{content:"";position:absolute;right:5%;bottom:-95px;width:230px;height:230px;border:1px solid rgba(255,255,255,.28);border-radius:50%;box-shadow:0 0 0 25px rgba(255,255,255,.06),0 0 0 55px rgba(255,255,255,.04)}
.theme-food .hero .eyebrow{color:#e4efc9;text-transform:uppercase;letter-spacing:.17em;font-size:.68rem;font-weight:850}
.theme-food .hero h1{font-family:Georgia,serif;font-weight:500;max-width:14ch;font-size:clamp(2.7rem,5.3vw,4.6rem);letter-spacing:-.04em}
.theme-food .hero p{color:#edf5df;max-width:52ch}
.theme-food .home-primary>.panel{background:#fffef9;border:1px solid #e5e3d2;border-radius:18px;box-shadow:0 12px 34px rgba(60,80,40,.055)}
.theme-food .home-primary>.panel h2{font-family:Georgia,serif;color:#365b39;font-size:1.55rem;font-weight:500}
.theme-food .home-primary>.panel .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.theme-food .home-primary>.panel .feature:first-child{grid-column:1/-1;display:grid;grid-template-columns:1.25fr .75fr;gap:22px;align-items:center;background:#f7f8ed;border:1px solid #e5e8d4}
.theme-food .home-primary>.panel .feature:first-child img{height:285px!important;grid-row:span 4;border-radius:14px}
.theme-food .feature{border:1px solid #e7e5d7;border-radius:14px;background:#fff;box-shadow:0 7px 22px rgba(60,80,40,.04)}
.theme-food .feature img{border-radius:10px!important}
.theme-food .feature h3 a{font-family:Georgia,serif;color:#365b39;font-size:1.2rem}
.theme-food .feature small{color:#a05b31;text-transform:uppercase;letter-spacing:.08em;font-weight:800}
.theme-food .theme-sidebar .sidebar-module{background:#f7f8ed;border:1px solid #e5e8d4;border-radius:14px;border-top:3px solid #71934e}
.theme-food .article{background:#fffef9;border:1px solid #e5e3d2;border-radius:18px;padding:clamp(24px,5vw,58px);box-shadow:0 14px 40px rgba(60,80,40,.045)}
.theme-food .article h1{font-family:Georgia,serif;font-weight:500;color:#315638}
.theme-food .article-body{font-family:Georgia,serif;font-size:1.12rem;line-height:1.92}
.theme-food .article-featured-image{border-radius:14px}
.theme-food .post-type-photo_story .photo-story-figure{background:#f7f8ed;border:1px solid #e5e8d4;border-radius:14px;padding:10px}
.theme-food .post-type-video_story .vlog-video-card{background:#f7f8ed;border:1px solid #e5e8d4;border-radius:14px}
.theme-food .newsletter-signup{background:#f7f8ed;border:1px solid #e5e8d4}

/* 25 — ATLAS TRAVEL
   Travel journal with map-inspired lines, expedition colors and destination-led cards. */
.theme-travel .site-header{background:#f7faf9;border-bottom:1px solid #d8e4df}
.theme-travel .hero{background:linear-gradient(118deg,#123b4a 0%,#1b6470 60%,#c18b55 140%);color:#fff;border-radius:6px;padding:clamp(44px,7vw,86px);position:relative;overflow:hidden}
.theme-travel .hero:before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(135deg,transparent 0 34px,rgba(255,255,255,.045) 35px 36px);pointer-events:none}
.theme-travel .hero .eyebrow{color:#d3e9df;text-transform:uppercase;letter-spacing:.2em;font-size:.68rem;font-weight:850}
.theme-travel .hero h1{font-family:Georgia,serif;font-weight:500;letter-spacing:-.045em;max-width:14ch;font-size:clamp(2.8rem,5.5vw,4.8rem)}
.theme-travel .hero p{color:#e0eee8;max-width:52ch}
.theme-travel .home-primary>.panel{background:#fff;border:1px solid #dbe6e1;border-radius:8px;box-shadow:0 12px 34px rgba(25,70,70,.05)}
.theme-travel .home-primary>.panel h2{font-family:Georgia,serif;font-weight:500;color:#1d5960;font-size:1.55rem}
.theme-travel .home-primary>.panel .grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.theme-travel .feature{border:1px solid #dce7e2;border-radius:8px;background:#f9fbfa;box-shadow:none;overflow:hidden;padding:0 0 15px}
.theme-travel .feature img{height:190px!important;object-fit:cover;border-radius:0!important}
.theme-travel .feature small,.theme-travel .feature h3,.theme-travel .feature p{margin-left:15px;margin-right:15px}
.theme-travel .feature small:first-of-type{display:inline-block;margin-top:14px;color:#b07843;text-transform:uppercase;letter-spacing:.1em;font-weight:850}
.theme-travel .feature h3 a{font-family:Georgia,serif;color:#174d55;font-size:1.12rem}
.theme-travel .theme-sidebar .sidebar-module{background:#f3f8f5;border:1px solid #dbe6e1;border-radius:8px;border-left:4px solid #b07843}
.theme-travel .article{background:#fff;border:1px solid #dbe6e1;border-radius:8px;padding:clamp(24px,5vw,58px);box-shadow:0 14px 40px rgba(25,70,70,.045)}
.theme-travel .article h1{font-family:Georgia,serif;font-weight:500;color:#174d55}
.theme-travel .article-body{font-family:Georgia,serif;font-size:1.12rem;line-height:1.95;color:#344d4d}
.theme-travel .article-featured-image{border-radius:8px}
.theme-travel .post-type-photo_story .photo-story-figure{background:#f3f8f5;border:1px solid #dbe6e1;border-radius:8px;padding:10px}
.theme-travel .post-type-video_story .vlog-video-card{background:#f3f8f5;border:1px solid #dbe6e1;border-radius:8px}
.theme-travel .newsletter-signup{background:linear-gradient(110deg,#f3f8f5,#f8f3e9);border:1px solid #dbe6e1}

/* Responsive refinement for themes 21–25. */
@media(max-width:760px){
 .theme-portfolio .home-primary>.panel .grid,
 .theme-fashion .home-primary>.panel .grid,
 .theme-food .home-primary>.panel .grid,
 .theme-travel .home-primary>.panel .grid{grid-template-columns:1fr}
 .theme-portfolio .feature:nth-child(4n+1){grid-row:auto}
 .theme-portfolio .feature:nth-child(4n+1) img{height:240px!important}
 .theme-journal .feature{grid-template-columns:100px 1fr;gap:12px}
 .theme-journal .feature img{width:100px!important;height:90px!important}
 .theme-fashion .feature img{height:230px!important}
 .theme-food .home-primary>.panel .feature:first-child{display:block;grid-column:auto}
 .theme-food .home-primary>.panel .feature:first-child img{height:220px!important}
}


/* ============================================================
   V6.7 — Final flagship collection, themes 26–30
   Art Deco, Playroom, Academic Review, Swiss Grid, Heritage Craft.
   ============================================================ */

/* 26 — ART DECO
   Geometric luxury editorial with symmetrical framing and brass accents. */
.theme-artdeco .site-header{background:#171a20;color:#f7f0df;border-bottom:1px solid #9b7942}
.theme-artdeco .site-header a,.theme-artdeco .site-header .brand{color:#f7f0df}
.theme-artdeco .hero{background:linear-gradient(135deg,#17202a 0%,#202b35 100%);color:#f8f1df;border:1px solid #a98a51;border-radius:2px;padding:clamp(44px,7vw,88px);text-align:center;position:relative;overflow:hidden}
.theme-artdeco .hero:before{content:"";position:absolute;inset:14px;border:1px solid rgba(213,183,119,.55);pointer-events:none}
.theme-artdeco .hero:after{content:"";position:absolute;left:50%;top:10px;width:100px;height:100px;border:1px solid rgba(213,183,119,.3);transform:translateX(-50%) rotate(45deg);pointer-events:none}
.theme-artdeco .hero .eyebrow{color:#d8bd82;text-transform:uppercase;letter-spacing:.24em;font-size:.66rem;font-weight:800}
.theme-artdeco .hero h1{font-family:Georgia,serif;font-weight:400;letter-spacing:.015em;max-width:17ch;margin-left:auto;margin-right:auto;font-size:clamp(2.6rem,5.3vw,4.6rem)}
.theme-artdeco .hero p{color:#d9d0bd;max-width:54ch;margin-left:auto;margin-right:auto;font-family:Georgia,serif}
.theme-artdeco .home-primary>.panel{background:#fffdf7;border:1px solid #dfd2b5;border-radius:2px;box-shadow:none}
.theme-artdeco .home-primary>.panel h2{font-family:Georgia,serif;color:#72572e;text-align:center;text-transform:uppercase;letter-spacing:.16em;font-weight:500;font-size:1.2rem;border-bottom:1px solid #cdbb94;padding-bottom:14px}
.theme-artdeco .home-primary>.panel .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.theme-artdeco .feature{background:#fff;border:1px solid #e6dcc8;border-radius:2px;box-shadow:none}
.theme-artdeco .feature h3 a{font-family:Georgia,serif;color:#27313a;font-weight:500}
.theme-artdeco .feature small{color:#967644;text-transform:uppercase;letter-spacing:.12em}
.theme-artdeco .theme-sidebar .sidebar-module{background:#fbf7ed;border:1px solid #dfd2b5;border-top:2px solid #a98a51;border-radius:2px}
.theme-artdeco .article{background:#fffdf7;border:1px solid #dfd2b5;border-radius:2px;padding:clamp(24px,5vw,60px);box-shadow:none}
.theme-artdeco .article h1{font-family:Georgia,serif;font-weight:400;color:#27313a;letter-spacing:-.025em}
.theme-artdeco .article-body{font-family:Georgia,serif;font-size:1.13rem;line-height:1.95;color:#45443e}
.theme-artdeco .article-featured-image{border:1px solid #d8c69f;border-radius:2px}
.theme-artdeco .post-type-photo_story .photo-story-figure{background:#fbf7ed;border:1px solid #dfd2b5;border-radius:2px;padding:10px}
.theme-artdeco .post-type-video_story .vlog-video-card{background:#fbf7ed;border:1px solid #dfd2b5;border-radius:2px}
.theme-artdeco .newsletter-signup{background:#f6f0e2;border:1px solid #dfd2b5;border-radius:2px}

/* 27 — PLAYROOM
   Friendly children's/family publication with joyful colors and rounded cards. */
.theme-playroom .site-header{background:#fff;border-bottom:2px solid #dbeafe}
.theme-playroom .hero{background:linear-gradient(120deg,#ffcf70 0%,#ff9b86 48%,#a9d9f5 100%);color:#27334a;border-radius:28px;padding:clamp(40px,6vw,78px);position:relative;overflow:hidden}
.theme-playroom .hero:after{content:"";position:absolute;width:180px;height:180px;right:7%;top:12%;border-radius:50%;background:rgba(255,255,255,.24);box-shadow:-52px 78px 0 -48px rgba(255,255,255,.55),58px 94px 0 -55px rgba(255,255,255,.6)}
.theme-playroom .hero .eyebrow{color:#5b5361;text-transform:uppercase;letter-spacing:.14em;font-size:.7rem;font-weight:900}
.theme-playroom .hero h1{font-weight:850;letter-spacing:-.055em;max-width:14ch;font-size:clamp(2.7rem,5.4vw,4.7rem);line-height:1.02}
.theme-playroom .hero p{color:#4d5364;max-width:52ch}
.theme-playroom .home-primary>.panel{border:2px solid #e7eff8;border-radius:24px;background:#fff;box-shadow:0 12px 32px rgba(60,90,130,.07)}
.theme-playroom .home-primary>.panel h2{color:#425a82;font-weight:850;font-size:1.5rem;letter-spacing:-.035em}
.theme-playroom .home-primary>.panel .grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.theme-playroom .feature{border:2px solid #e5edf7;border-radius:20px;background:#fff;box-shadow:0 6px 18px rgba(60,90,130,.05);overflow:hidden}
.theme-playroom .feature:nth-child(3n+1){border-bottom:5px solid #f5b84b}
.theme-playroom .feature:nth-child(3n+2){border-bottom:5px solid #82c9e8}
.theme-playroom .feature:nth-child(3n){border-bottom:5px solid #f39bb0}
.theme-playroom .feature img{border-radius:14px!important}
.theme-playroom .feature h3 a{color:#334d77;font-weight:850}
.theme-playroom .theme-sidebar .sidebar-module{border:2px solid #e5edf7;border-radius:20px;background:#f8fbff}
.theme-playroom .article{background:#fff;border:2px solid #e5edf7;border-radius:24px;padding:clamp(22px,5vw,56px);box-shadow:0 12px 32px rgba(60,90,130,.06)}
.theme-playroom .article h1{font-weight:850;letter-spacing:-.05em;color:#334d77}
.theme-playroom .article-body{font-size:1.08rem;line-height:1.9;color:#46546a}
.theme-playroom .article-featured-image{border-radius:18px}
.theme-playroom .post-type-photo_story .photo-story-figure{background:#f8fbff;border:2px solid #e5edf7;border-radius:18px;padding:10px}
.theme-playroom .post-type-video_story .vlog-video-card{background:#f8fbff;border:2px solid #e5edf7;border-radius:18px}
.theme-playroom .newsletter-signup{background:#fff8eb;border:2px solid #f5dfb5;border-radius:22px}

/* 28 — ACADEMIC REVIEW
   Scholarly journal with restrained navy, citations-friendly reading measure. */
.theme-academic .site-header{background:#f8fafc;border-bottom:1px solid #cbd5e1}
.theme-academic .hero{background:#e9eff6;color:#172b46;border-left:6px solid #31577f;border-radius:3px;padding:clamp(38px,6vw,72px)}
.theme-academic .hero .eyebrow{color:#526d8a;text-transform:uppercase;letter-spacing:.17em;font-size:.68rem;font-weight:850}
.theme-academic .hero h1{font-family:Georgia,serif;font-weight:500;max-width:16ch;font-size:clamp(2.5rem,5vw,4.2rem);letter-spacing:-.035em}
.theme-academic .hero p{font-family:Georgia,serif;color:#526477;max-width:58ch}
.theme-academic .home-primary>.panel{background:#fff;border:1px solid #d7e0e9;border-radius:4px;box-shadow:none}
.theme-academic .home-primary>.panel h2{font-family:Georgia,serif;color:#233e5d;font-weight:500;font-size:1.45rem;border-bottom:1px solid #d7e0e9;padding-bottom:12px}
.theme-academic .home-primary>.panel .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 22px}
.theme-academic .feature{border:0;border-bottom:1px solid #dbe3eb;border-radius:0;background:#fff;box-shadow:none;padding:18px 0}
.theme-academic .feature h3 a{font-family:Georgia,serif;color:#1f3d5d;font-weight:600;font-size:1.16rem}
.theme-academic .feature small{color:#647b91;text-transform:uppercase;letter-spacing:.08em}
.theme-academic .theme-sidebar .sidebar-module{background:#f6f8fb;border:1px solid #d7e0e9;border-radius:4px;border-top:3px solid #31577f}
.theme-academic .article{background:#fff;border:1px solid #d7e0e9;border-radius:4px;padding:clamp(24px,5vw,62px);box-shadow:none}
.theme-academic .article h1{font-family:Georgia,serif;font-weight:500;color:#172b46}
.theme-academic .article-body{font-family:Georgia,serif;font-size:1.15rem;line-height:2;color:#34465a;max-width:70ch}
.theme-academic .article-featured-image{border-radius:3px}
.theme-academic .post-type-photo_story .photo-story-figure{background:#f6f8fb;border:1px solid #d7e0e9;border-radius:4px;padding:10px}
.theme-academic .post-type-video_story .vlog-video-card{background:#f6f8fb;border:1px solid #d7e0e9;border-radius:4px}
.theme-academic .newsletter-signup{background:#f6f8fb;border:1px solid #d7e0e9;border-radius:4px}

/* 29 — SWISS GRID
   Precision-first international typographic style, strict grid and vivid signal red. */
.theme-swiss .site-header{background:#fff;border-bottom:1px solid #111}
.theme-swiss .hero{background:#f3f3f0;color:#111;border-radius:0;padding:clamp(36px,6vw,76px);border-top:8px solid #e12d27;position:relative}
.theme-swiss .hero .eyebrow{color:#e12d27;text-transform:uppercase;letter-spacing:.2em;font-size:.68rem;font-weight:900}
.theme-swiss .hero h1{font-family:Arial,sans-serif;font-weight:900;letter-spacing:-.075em;line-height:.94;max-width:12ch;font-size:clamp(3rem,6.5vw,5.5rem)}
.theme-swiss .hero p{color:#555;max-width:48ch}
.theme-swiss .home-primary>.panel{border:0;border-top:1px solid #111;border-radius:0;background:#fff;box-shadow:none;padding:22px 0}
.theme-swiss .home-primary>.panel h2{font-family:Arial,sans-serif;color:#111;text-transform:uppercase;letter-spacing:.12em;font-size:1rem;font-weight:900;border-bottom:1px solid #111;padding-bottom:12px}
.theme-swiss .home-primary>.panel .grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:0}
.theme-swiss .feature{border:0;border-right:1px solid #d4d4d0;border-radius:0;background:#fff;box-shadow:none;padding:14px}
.theme-swiss .feature:last-child{border-right:0}
.theme-swiss .feature img{border-radius:0!important}
.theme-swiss .feature small{color:#e12d27;text-transform:uppercase;letter-spacing:.1em;font-weight:900}
.theme-swiss .feature h3 a{font-family:Arial,sans-serif;color:#111;font-weight:850;letter-spacing:-.03em}
.theme-swiss .theme-sidebar .sidebar-module{border:0;border-top:3px solid #e12d27;border-radius:0;background:#f3f3f0}
.theme-swiss .article{background:#fff;border:0;border-top:8px solid #e12d27;border-radius:0;padding:clamp(22px,5vw,60px);box-shadow:none}
.theme-swiss .article h1{font-family:Arial,sans-serif;font-weight:900;letter-spacing:-.065em;color:#111}
.theme-swiss .article-body{font-family:Arial,sans-serif;font-size:1.08rem;line-height:1.9;color:#303030;max-width:72ch}
.theme-swiss .article-featured-image{border-radius:0}
.theme-swiss .post-type-photo_story .photo-story-figure{background:#f3f3f0;border:1px solid #d4d4d0;border-radius:0;padding:8px}
.theme-swiss .post-type-video_story .vlog-video-card{background:#f3f3f0;border:1px solid #d4d4d0;border-radius:0}
.theme-swiss .newsletter-signup{background:#f3f3f0;border-top:3px solid #e12d27;border-radius:0}

/* 30 — HERITAGE CRAFT
   Editorial craft journal with ink, clay and natural-paper tones. */
.theme-heritage .site-header{background:#f7f1e7;border-bottom:1px solid #d9c9b2}
.theme-heritage .hero{background:linear-gradient(125deg,#43352c 0%,#684b39 65%,#8a6246 100%);color:#fbf2e4;border-radius:4px;padding:clamp(42px,6vw,80px);position:relative}
.theme-heritage .hero:after{content:"";position:absolute;right:5%;top:15%;width:150px;height:150px;border:1px solid rgba(237,213,177,.35);border-radius:50%;box-shadow:0 0 0 16px rgba(237,213,177,.045),0 0 0 34px rgba(237,213,177,.035)}
.theme-heritage .hero .eyebrow{color:#e7c9a3;text-transform:uppercase;letter-spacing:.18em;font-size:.68rem;font-weight:850}
.theme-heritage .hero h1{font-family:Georgia,serif;font-weight:500;max-width:15ch;font-size:clamp(2.7rem,5.4vw,4.6rem);letter-spacing:-.04em}
.theme-heritage .hero p{font-family:Georgia,serif;color:#e6d6c3;max-width:54ch}
.theme-heritage .home-primary>.panel{background:#fcf8f0;border:1px solid #e1d3bf;border-radius:4px;box-shadow:0 12px 34px rgba(73,52,34,.05)}
.theme-heritage .home-primary>.panel h2{font-family:Georgia,serif;color:#624631;font-weight:500;font-size:1.55rem}
.theme-heritage .home-primary>.panel .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.theme-heritage .home-primary>.panel .feature:first-child{grid-column:1/-1;display:grid;grid-template-columns:1.2fr .8fr;gap:20px;align-items:center;background:#f4ecdf;border:1px solid #e1d3bf}
.theme-heritage .home-primary>.panel .feature:first-child img{height:270px!important;grid-row:span 4;border-radius:3px}
.theme-heritage .feature{background:#fffdf8;border:1px solid #e8ddcc;border-radius:4px;box-shadow:none}
.theme-heritage .feature h3 a{font-family:Georgia,serif;color:#60442f;font-weight:600}
.theme-heritage .feature small{color:#9b704b;text-transform:uppercase;letter-spacing:.09em}
.theme-heritage .theme-sidebar .sidebar-module{background:#f4ecdf;border:1px solid #e1d3bf;border-left:4px solid #9b704b;border-radius:4px}
.theme-heritage .article{background:#fcf8f0;border:1px solid #e1d3bf;border-radius:4px;padding:clamp(24px,5vw,58px);box-shadow:0 14px 38px rgba(73,52,34,.045)}
.theme-heritage .article h1{font-family:Georgia,serif;font-weight:500;color:#49372b}
.theme-heritage .article-body{font-family:Georgia,serif;font-size:1.15rem;line-height:1.98;color:#51463a}
.theme-heritage .article-featured-image{border-radius:4px}
.theme-heritage .post-type-photo_story .photo-story-figure{background:#f4ecdf;border:1px solid #e1d3bf;border-radius:4px;padding:10px}
.theme-heritage .post-type-video_story .vlog-video-card{background:#f4ecdf;border:1px solid #e1d3bf;border-radius:4px}
.theme-heritage .newsletter-signup{background:#f4ecdf;border:1px solid #e1d3bf;border-radius:4px}

/* Responsive refinement for the final collection. */
@media(max-width:760px){
 .theme-artdeco .home-primary>.panel .grid,
 .theme-playroom .home-primary>.panel .grid,
 .theme-academic .home-primary>.panel .grid,
 .theme-swiss .home-primary>.panel .grid,
 .theme-heritage .home-primary>.panel .grid{grid-template-columns:1fr}
 .theme-playroom .feature img{height:210px!important}
 .theme-swiss .feature{border-right:0;border-bottom:1px solid #d4d4d0}
 .theme-heritage .home-primary>.panel .feature:first-child{display:block;grid-column:auto}
 .theme-heritage .home-primary>.panel .feature:first-child img{height:220px!important}
 .theme-artdeco .hero,.theme-heritage .hero{padding:32px 24px}
}


/* Responsive article media positioning and text wrapping */
.article-body img,.article-body video{max-width:100%;height:auto}
.article-body video{display:block}
.article-body::after{content:"";display:block;clear:both}
.article-body img[style*="float: left"],.article-body video[style*="float: left"]{max-width:min(48%,420px)}
.article-body img[style*="float: right"],.article-body video[style*="float: right"]{max-width:min(48%,420px)}
@media(max-width:640px){
 .article-body img[style*="float"],.article-body video[style*="float"]{float:none!important;display:block!important;width:100%;max-width:100%;margin:16px auto!important}
 .article-body img[style*="position: absolute"]{position:static!important;z-index:auto!important}
}


/* Responsive article media presentation */
.article-body img,.article-body video,.article-body iframe{
  max-width:100%;height:auto;
}
.article-body img,.article-body video{
  object-fit:contain;
}
.article-body video{
  display:block;
  background:#111;
}
.article-body iframe{
  display:block;
  width:min(100%,560px);
  aspect-ratio:16 / 9;
  height:auto;
  border:0;
  margin:14px auto;
}
.article-body video:fullscreen,
.article-body iframe:fullscreen{
  width:100vw!important;height:100vh!important;max-width:100vw!important;
  max-height:100vh!important;aspect-ratio:auto!important;object-fit:contain;
  background:#000;
}
@media(max-width:720px){
  .article-body img[style*="float"],
  .article-body video[style*="float"],
  .article-body iframe[style*="float"]{
    float:none!important;display:block!important;width:100%!important;
    max-width:100%;margin:14px auto!important;
  }
}

/* Ensure floated media can share a paragraph with article text. */
.article-body p{overflow:visible}
.article-body p:after{content:"";display:table;clear:both}
.article-body img[style*="float:left"],.article-body video[style*="float:left"]{margin-right:20px}
.article-body img[style*="float:right"],.article-body video[style*="float:right"]{margin-left:20px}

/* Public article column layouts */
.article-body .article-columns{display:grid;gap:24px;align-items:start;width:100%;max-width:100%;margin:22px 0}
.article-body .article-columns.columns-1{grid-template-columns:minmax(0,1fr)}
.article-body .article-columns.columns-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.article-body .article-columns.columns-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.article-body .article-columns.columns-2-1{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}
.article-body .article-columns.columns-1-2{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}
.article-body .article-column{min-width:0;overflow-wrap:anywhere}
.article-body .article-column img,.article-body .article-column video,.article-body .article-column iframe{max-width:100%;height:auto}
@media(max-width:720px){.article-body .article-columns{grid-template-columns:minmax(0,1fr)!important;gap:14px}}

/* Accessible, responsive main-image + thumbnail photo-story gallery. */
.post-type-photo_story .photo-story-gallery{grid-template-columns:minmax(0,1fr)!important}
.photo-story-gallery{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin:28px auto;max-width:1100px}
.photo-gallery-stage{position:relative;display:grid;place-items:center;min-height:220px;background:#101828;border-radius:var(--theme-radius);overflow:hidden}
.photo-gallery-expand{display:block;position:relative;width:100%;padding:0;border:0;background:transparent;cursor:zoom-in;line-height:0}
.photo-gallery-expand img{display:block;width:100%;height:clamp(260px,62vw,680px);max-height:72vh;object-fit:contain;background:#101828}
.photo-gallery-expand-hint{position:absolute;right:14px;bottom:14px;padding:8px 11px;border-radius:7px;background:rgba(0,0,0,.68);color:#fff;font-size:.78rem;line-height:1.2}
.photo-gallery-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:42px;height:42px;border:0;border-radius:50%;background:rgba(0,0,0,.62);color:#fff;font-size:20px;cursor:pointer}
.photo-gallery-prev{left:12px}.photo-gallery-next{right:12px}
.photo-gallery-caption{min-height:1.5em;margin:0;color:var(--muted);font-size:.95rem;line-height:1.55;text-align:center}
.photo-gallery-thumbnails{display:flex;gap:10px;overflow-x:auto;padding:5px 2px 10px;scroll-snap-type:x proximity}
.photo-gallery-thumb{flex:0 0 104px;width:104px;height:76px;padding:3px;border:2px solid transparent;border-radius:9px;background:var(--surface);cursor:pointer;opacity:.78;scroll-snap-align:start}
.photo-gallery-thumb img{display:block;width:100%;height:100%;object-fit:cover;border-radius:5px}
.photo-gallery-thumb.is-active{border-color:var(--brand);opacity:1;box-shadow:0 0 0 2px color-mix(in srgb,var(--brand) 20%,transparent)}
.photo-gallery-lightbox{position:fixed;inset:0;max-width:min(96vw,1400px);max-height:94vh;width:fit-content;padding:18px;border:1px solid rgba(255,255,255,.2);border-radius:14px;background:#090d16;color:#fff;box-shadow:0 20px 80px rgba(0,0,0,.55)}
.photo-gallery-lightbox::backdrop{background:rgba(3,7,18,.88)}
.photo-gallery-lightbox img{display:block;max-width:90vw;max-height:78vh;width:auto;height:auto;object-fit:contain;margin:auto}
.photo-gallery-lightbox p{margin:12px 44px 0;text-align:center;color:#e5e7eb;line-height:1.5}
.photo-gallery-close{position:absolute;top:7px;right:10px;width:36px;height:36px;border:0;border-radius:50%;background:#263244;color:#fff;font-size:25px;line-height:1;cursor:pointer}
@media(max-width:600px){.photo-gallery-stage{min-height:190px}.photo-gallery-expand img{height:62vw;max-height:58vh}.photo-gallery-thumb{flex-basis:82px;width:82px;height:64px}.photo-gallery-nav{width:36px;height:36px}.photo-gallery-lightbox{padding:12px}}


/* Single-block selections use native balanced columns instead of leaving blank grid cells. */
.rich-editor .article-columns-flow,.article-body .article-columns-flow{display:block;column-gap:24px;column-fill:balance}
.article-columns-flow.columns-2{column-count:2}
.article-columns-flow.columns-3{column-count:3}
.article-columns-flow.columns-2-1,.article-columns-flow.columns-1-2{column-count:2}
.article-columns-flow h2,.article-columns-flow h3,.article-columns-flow figure,.article-columns-flow img,.article-columns-flow video,.article-columns-flow table{break-inside:avoid;}
@media(max-width:720px){.rich-editor .article-columns-flow,.article-body .article-columns-flow{column-count:1!important}}


/* Citrus — bright editorial energy balanced with warm paper surfaces. */
.theme-citrus .site-header{border-bottom:3px solid #d7c600}
.theme-citrus .hero{background:linear-gradient(118deg,#26351b 0%,#63751d 56%,#d7c600 100%);color:#fff;border-radius:20px;padding:clamp(34px,5vw,68px)}
.theme-citrus .hero .eyebrow{color:#fff6a6;text-transform:uppercase;letter-spacing:.14em;font-weight:800}
.theme-citrus .hero h1{max-width:16ch;font-family:Georgia,serif;font-weight:600}
.theme-citrus .home-primary>.panel{border-top:3px solid #d7c600}
.theme-citrus .feature img{border-radius:12px}
.theme-citrus .article{border-top:4px solid #d7c600}
.theme-citrus .post-type-photo_story .photo-gallery-thumb.is-active{border-color:#a89b00}
