/*
Theme Name: Cupcake Journal
Author: Cupcake on a Postcard
Description: A thoughtful editorial journal in a Diwali-inspired palette of plum, saffron, gold, and ivory. Customized from BlankSlate (2026) by Web Guy.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: blankslate
Tags: blog, food-and-drink, photography, custom-logo, custom-menu, featured-images, editor-style, wide-blocks
*/

/* Diwali colours: warm ivory, deep plum, saffron, and lamplight gold.
   The existing token names remain compatible with previously styled blocks. */
:root {
  --paper: #fff9ee;
  --ink: #4b153f;
  --muted: #73576a;
  --line: #dcc49b;
  --terracotta: #984017;
  --sage: #fff0cd;
  --stone: #f5e7ef;
  --white: #fffdf8;
  --gold: #c48a32;
  --gold-light: #f6cf7b;
  --saffron: #ed982b;
  --field-border: #a57950;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
  --content-width: 1260px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.75; -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
::selection { background: var(--gold-light); color: var(--ink); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--terracotta); }
a, button, input, textarea, select { -webkit-tap-highlight-color: transparent; }
a, button { transition: color .18s ease, background-color .18s ease, border-color .18s ease; }
button, input, textarea, select { font: inherit; border-radius: 0; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; }
button:disabled, input:disabled { cursor: not-allowed; opacity: .65; }
img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }
svg { max-width: 100%; vertical-align: middle; }
iframe, video, embed, object { max-width: 100%; }
figure { margin: 0; }
p { margin: 0 0 1.3em; }
ul, ol { margin-top: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .65em; color: var(--ink); font-family: var(--serif); font-weight: 400; line-height: 1.18; text-wrap: balance; }
h1 { font-size: clamp(36px, 4.1vw, 54px); }
h2 { font-size: 34px; }
h3 { font-size: 27px; }
h4 { font-size: 22px; }
h5 { font-size: 19px; }
h6 { font-size: 17px; }
hr { margin: 40px 0; border: 0; border-top: 1px solid var(--line); }
small { font-size: .8em; }
abbr[title] { text-decoration: underline dotted; cursor: help; }
address { font-style: normal; }
pre, code, kbd, samp { font-family: Consolas, Monaco, monospace; font-size: .9em; }
code, kbd { padding: .15em .3em; background: var(--stone); }
pre { padding: 24px; background: var(--stone); overflow: auto; }
pre code { padding: 0; background: none; }
:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 5px; }
[hidden] { display: none !important; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; clip-path: inset(50%); }
.screen-reader-text:focus, .skip-link:focus { position: fixed !important; z-index: 99999; top: 12px; left: 12px; width: auto; height: auto; padding: 12px 20px; overflow: visible; clip: auto; clip-path: none; background: var(--ink); color: var(--paper); font-size: 14px; font-weight: 600; text-decoration: none; }
.site-shell { width: min(100%, var(--content-width)); margin-right: auto; margin-left: auto; padding-right: 48px; padding-left: 48px; }
#content { min-width: 0; }

/* The masthead. */
.top-strip { padding: 7px 20px 6px; border-bottom: 2px solid var(--saffron); background: var(--ink); color: var(--gold-light); text-align: center; font-size: 9px; line-height: 1.6; letter-spacing: 2px; text-transform: uppercase; }
.top-strip p { margin: 0; }
.top-strip a { color: inherit; text-decoration: none; }
.site-header { position: relative; }
.brand-row { display: grid; grid-template-columns: 1fr 2.5fr 1fr; align-items: center; gap: 20px; min-height: 151px; padding-top: 26px; padding-bottom: 26px; }
.brand-side { max-width: 160px; color: var(--muted); font-family: var(--serif); font-size: 12px; font-style: italic; line-height: 1.6; }
.brand-side p { margin: 0; }
.brand-side-right { justify-self: end; text-align: right; font-family: var(--sans); font-size: 9px; font-style: normal; letter-spacing: 1.4px; text-transform: uppercase; }
.brand-side-right a { padding-bottom: 4px; border-bottom: 1px solid var(--muted); text-decoration: none; }
.site-brand { min-width: 0; text-align: center; }
.site-title { display: inline-block; color: var(--ink); text-decoration: none; margin: 0; font-family: var(--serif); font-size: 39px; font-weight: 400; line-height: 1.15; letter-spacing: -1.8px; white-space: nowrap; }
.site-title a { color: var(--ink); text-decoration: none; }
.site-tagline { margin: 12px 0 0; color: var(--muted); font-family: var(--sans); font-size: 9px; line-height: 1.6; letter-spacing: 2.2px; text-transform: uppercase; }
.custom-logo-link { display: inline-block; }
.custom-logo { width: auto; max-width: 360px; max-height: 90px; object-fit: contain; }
.navigation-bar { position: relative; display: flex; align-items: center; justify-content: center; min-height: 48px; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); }
.primary-navigation { min-width: 0; width: 100%; }
.nav-menu { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 31px; margin: 0; padding: 0; list-style: none; }
.nav-menu > li { position: relative; }
.nav-menu a { display: block; padding: 16px 0 15px; color: var(--ink); font-size: 9px; line-height: 1.5; letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none; }
.nav-menu a:hover, .nav-menu .current-menu-item > a, .nav-menu .current-menu-ancestor > a, .nav-menu .current_page_item > a { color: var(--terracotta); }
.nav-menu .current-menu-item > a::after, .nav-menu .current_page_item > a::after { position: absolute; right: 0; bottom: 10px; left: 0; display: block; content: ""; border-bottom: 1px solid currentColor; }
.nav-menu .sub-menu { position: absolute; z-index: 20; top: 100%; left: -18px; width: 220px; margin: 0; padding: 8px 0; border: 1px solid var(--line); background: var(--paper); list-style: none; box-shadow: 0 8px 18px rgb(75 21 63 / 10%); }
.nav-menu .sub-menu { visibility: hidden; opacity: 0; transform: translateY(5px); transition: opacity .18s ease, transform .18s ease; }
.nav-menu li:hover > .sub-menu, .nav-menu li:focus-within > .sub-menu { visibility: visible; opacity: 1; transform: translateY(0); }
.nav-menu .sub-menu li { position: relative; }
.nav-menu .sub-menu a { padding: 10px 18px; font-size: 10px; line-height: 1.5; letter-spacing: .8px; }
.nav-menu .sub-menu .sub-menu { top: -9px; left: 100%; }
.nav-menu .sub-menu .current-menu-item > a::after { display: none; }
.menu-toggle { display: none; align-items: center; gap: 9px; padding: 13px 0; border: 0; background: transparent; color: var(--ink); font-size: 10px; line-height: 1.5; letter-spacing: 1.4px; text-transform: uppercase; }
.menu-toggle svg { width: 17px; height: 17px; }
.nav-tools { position: absolute; top: 0; right: 0; display: flex; align-items: center; height: 100%; }
.search-disclosure { position: relative; }
.search-disclosure > summary { display: flex; align-items: center; justify-content: center; width: 40px; min-height: 46px; padding: 0; color: var(--ink); list-style: none; cursor: pointer; }
.search-disclosure > summary::-webkit-details-marker { display: none; }
.search-disclosure > summary svg { width: 15px; height: 15px; }
.search-disclosure[open] > summary, .search-disclosure > summary:hover { color: var(--terracotta); }
.search-panel { position: absolute; z-index: 30; top: calc(100% + 1px); right: 0; width: 340px; max-width: calc(100vw - 32px); padding: 22px; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 8px 18px rgb(75 21 63 / 10%); }
.search-form { display: flex; align-items: stretch; gap: 8px; }
.search-form label { flex: 1; min-width: 0; margin: 0; }
.search-field { width: 100%; min-width: 0; min-height: 43px; padding: 10px 12px; border: 1px solid var(--field-border); background: var(--white); color: var(--ink); font-size: 12px; line-height: 1.6; }
.search-submit { padding: 10px 14px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); font-size: 10px; letter-spacing: 1px; text-transform: uppercase; }
.search-submit:hover { border-color: var(--terracotta); background: var(--terracotta); }

/* The latest dispatch. */
.intro { padding: 46px 20px 38px; text-align: center; }
.eyebrow { margin: 0 0 13px; color: var(--terracotta); font-family: var(--sans); font-size: 9px; line-height: 1.6; font-weight: 400; letter-spacing: 2.2px; text-transform: uppercase; }
.intro h1 { margin: 0 0 13px; font-size: 45px; line-height: 1.15; letter-spacing: -1.4px; }
.intro-copy { font-family: var(--serif); max-width: 620px; margin: 0 auto; color: var(--muted); font-size: 16px; line-height: 1.8; }
.featured-story { display: grid; grid-template-columns: 1.4fr 1fr; margin-bottom: 54px; }
.featured-media { position: relative; min-width: 0; min-height: 390px; overflow: hidden; background: var(--stone); }
.featured-media > a { display: block; height: 100%; }
.story-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.featured-media .story-image { position: absolute; inset: 0; min-height: 0; max-height: none; }
.featured-media a .story-image, .card-media a .story-image { transition: transform .55s ease; }
.featured-media:hover .story-image, .card-media:hover .story-image { transform: scale(1.025); }
.art-caption { position: absolute; right: 12px; bottom: 10px; left: 12px; color: #fff; font-size: 8px; line-height: 1.5; letter-spacing: 1px; text-transform: uppercase; text-shadow: 0 1px 4px rgb(0 0 0 / 60%); }
.featured-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-width: 0; min-height: 390px; padding: 41px 44px; border-top: 3px solid var(--saffron); background: var(--sage); }
.story-category { display: block; margin: 0 0 17px; color: var(--terracotta); font-family: var(--sans); font-size: 9px; font-weight: 400; line-height: 1.6; letter-spacing: 1.8px; text-transform: uppercase; text-decoration: none; }
.story-category a { color: inherit; text-decoration: none; }
.story-category a:hover { text-decoration: underline; }
.featured-title { margin: 0 0 18px; font-size: 38px; line-height: 1.16; letter-spacing: -1.1px; }
.featured-title a, .card-title a { color: inherit; text-decoration: none; }
.featured-title a:hover, .card-title a:hover { color: var(--terracotta); }
.featured-excerpt { margin: 0 0 22px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.featured-excerpt p:last-child { margin-bottom: 0; }
.read-link { white-space: nowrap; display: inline-flex; align-items: center; gap: 16px; padding-bottom: 5px; border-bottom: 1px solid var(--ink); color: var(--ink); font-size: 9px; line-height: 1.8; letter-spacing: 1.4px; text-transform: uppercase; text-decoration: none; }
.read-link:hover { border-color: var(--terracotta); color: var(--terracotta); }
.read-link .arrow, .collaboration-link .arrow { font-size: 15px; line-height: 1; }
.story-meta { display: flex; flex-wrap: wrap; gap: 6px 13px; margin-top: 24px; color: var(--muted); font-size: 9px; line-height: 1.8; letter-spacing: .3px; }
.story-meta a { color: inherit; }
.story-meta span + span::before { content: "·"; margin-right: 13px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 23px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.section-heading > .eyebrow { max-width: 180px; margin: 0; font-size: 8px; text-align: right; }
.section-heading h2 { flex-shrink: 0; margin: 0; font-size: 25px; line-height: 1.2; letter-spacing: -.5px; }
.section-heading > a { flex-shrink: 0; color: var(--muted); font-size: 8px; line-height: 1.6; letter-spacing: 1.2px; text-transform: uppercase; text-decoration: none; }
.section-heading > a:hover { color: var(--terracotta); }
.section-heading > .eyebrow { margin: 0; color: var(--muted); font-size: 8px; letter-spacing: 1.2px; text-align: right; }
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 35px 28px; }
.story-card { min-width: 0; }
.card-media { position: relative; display: block; height: 215px; overflow: hidden; background: var(--stone); }
.card-media > a { display: block; height: 100%; }
.card-media .story-image { height: 215px; }
.card-copy { padding-top: 21px; }
.card-copy .story-category { margin-bottom: 11px; font-size: 8px; letter-spacing: 1.5px; }
.card-title { margin: 0 0 12px; font-size: 24px; line-height: 1.25; letter-spacing: -.5px; }
.card-excerpt { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.9; }
.card-excerpt p:last-child { margin-bottom: 0; }
.card-copy .story-meta { margin-top: 16px; font-size: 8px; }
.latest-stories { margin-bottom: 54px; }
.collaboration { position: relative; display: flex; align-items: center; gap: 25px; margin: 52px 0 0; padding: 30px 34px; border-top: 3px solid var(--gold); background: var(--ink); color: var(--paper); }
.postage-mark { display: flex; align-items: center; justify-content: center; flex: 0 0 66px; width: 66px; height: 77px; padding: 10px; border: 1px dashed var(--gold); outline: 5px solid var(--ink); outline-offset: -7px; color: var(--gold-light); font-family: var(--serif); font-size: 28px; line-height: 1; transform: rotate(-7deg); }
.postage-mark svg { width: 38px; height: 38px; }
.collaboration-copy { flex: 1; min-width: 0; }
.collaboration-copy .eyebrow { margin-bottom: 5px; font-size: 8px; letter-spacing: 1.8px; }
.collaboration-copy h2 { margin: 0 0 6px; font-size: 25px; letter-spacing: -.5px; }
.collaboration-copy p:last-child { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.8; }
.collaboration-link { display: inline-flex; align-items: center; gap: 20px; flex-shrink: 0; padding: 9px 0 7px; border-bottom: 1px solid var(--ink); font-size: 9px; line-height: 1.6; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; }
/* Lamplight accents stay legible on the plum collaboration panel. */
.collaboration .eyebrow, .collaboration-link { color: var(--gold-light); }
.collaboration-copy h2, .collaboration-copy p:last-child { color: var(--paper); }
.collaboration-link { border-bottom-color: var(--gold-light); }
.collaboration-link:hover { color: var(--paper); border-bottom-color: var(--paper); }
.collaboration :focus-visible { outline-color: var(--gold-light); }
.newsletter-area { margin-top: 52px; padding: 35px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.newsletter-area h2 { margin-bottom: 10px; font-size: 29px; }
.newsletter-area p { color: var(--muted); font-size: 12px; }
.newsletter-area form { max-width: 470px; margin: 20px auto 0; }

/* The last little note. */
.site-footer { margin-top: 62px; padding-top: 27px; padding-bottom: 25px; border-top: 1px solid var(--line); }
.footer-top, .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand { color: var(--ink); font-family: var(--serif); font-size: 21px; line-height: 1.3; letter-spacing: -.6px; text-decoration: none; }
.footer-menu { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px 23px; margin: 0; padding: 0; list-style: none; }
.footer-menu a { color: var(--muted); font-size: 8px; line-height: 1.8; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; }
.footer-menu a:hover { color: var(--terracotta); }
.footer-bottom { margin-top: 20px; }
.copyright, .footer-note { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.7; }
.footer-note { font-family: var(--serif); font-size: 11px; font-style: italic; }
.site-footer > .footer-brand, .site-footer > .footer-menu { display: inline-flex; }
.site-footer > .footer-menu { float: right; }
.site-footer > .copyright { display: block; margin-top: 21px; clear: both; }

/* Archives, pages, and long reads. */
.homepage-content { margin-top: 52px; padding-top: 35px; border-top: 1px solid var(--line); }
.reading-width { max-width: 780px; margin-right: auto; margin-left: auto; }
.journal-article { margin-top: 43px; }
.homepage-content { margin-top: 44px; }
.content-layout { margin-top: 48px; margin-bottom: 54px; }
.page-header { max-width: 780px; margin: 0 auto 38px; padding-top: 47px; text-align: center; }
.page-header .eyebrow { margin-bottom: 12px; }
.page-header h1 { margin-bottom: 14px; font-size: 44px; letter-spacing: -1.2px; }
.archive-description { max-width: 580px; margin: 0 auto; color: var(--muted); font-size: 13px; line-height: 1.85; }
.archive-description p:last-child { margin-bottom: 0; }
.entry-header { margin-bottom: 31px; text-align: center; }
.entry-header .story-category { margin-bottom: 17px; }
.entry-header .back-link { display: block; margin-bottom: 27px; }
.entry-title { margin: 0 0 20px; font-size: 48px; line-height: 1.15; letter-spacing: -1.5px; }
.entry-title a { color: inherit; text-decoration: none; }
.entry-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 13px; color: var(--muted); font-size: 10px; line-height: 1.8; }
.entry-meta a { color: inherit; text-decoration: none; }
.entry-meta a:hover { color: var(--terracotta); text-decoration: underline; }
.entry-meta .sep { color: var(--muted); }
.entry-featured { margin: 0 0 39px; }
.entry-featured img { display: block; width: 100%; max-height: 650px; object-fit: cover; }
.entry-featured figcaption { margin-top: 10px; color: var(--muted); font-size: 10px; text-align: center; }
.breadcrumbs { margin: 25px 0; color: var(--muted); font-size: 10px; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs .separator { margin: 0 9px; }
.back-link { display: inline-block; margin-bottom: 25px; color: var(--muted); font-size: 10px; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; }
.entry-content { font-size: 16px; line-height: 1.85; }
.entry-content::after { content: ""; display: table; clear: both; }
.entry-content > :first-child { margin-top: 0; }
.entry-content > :last-child { margin-bottom: 0; }
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 { margin-top: 1.6em; margin-bottom: .65em; }
.entry-content h2 { font-size: 33px; letter-spacing: -.6px; }
.entry-content h3 { font-size: 27px; }
.entry-content h4 { font-size: 22px; }
.entry-content a { color: var(--terracotta); }
.entry-content a:hover { color: var(--ink); }
.entry-content ul, .entry-content ol { margin-bottom: 1.5em; padding-left: 1.5em; }
.entry-content li { margin-bottom: .4em; }
.entry-content li > ul, .entry-content li > ol { margin-top: .4em; margin-bottom: .4em; }
.entry-content dl { margin: 0 0 1.6em; }
.entry-content dt { margin-top: 1em; font-weight: 700; }
.entry-content dd { margin-left: 1.5em; }
.entry-content blockquote, .wp-block-quote { margin: 36px 0; padding: 6px 0 6px 27px; border-left: 2px solid var(--terracotta); color: var(--ink); font-family: var(--serif); font-size: 25px; line-height: 1.5; }
.entry-content blockquote p:last-child, .wp-block-quote p:last-child { margin-bottom: 0; }
.entry-content blockquote cite, .wp-block-quote cite { display: block; margin-top: 14px; color: var(--muted); font-family: var(--sans); font-size: 11px; font-style: normal; letter-spacing: .5px; }
.wp-block-pullquote { margin: 40px 0; padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.wp-block-pullquote blockquote { margin: 0; padding: 0; border: 0; font-size: 30px; }
.entry-content table, .comment-content table { width: 100%; margin: 0 0 1.8em; border-collapse: collapse; font-size: 14px; }
.entry-content th, .entry-content td, .comment-content th, .comment-content td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry-content th, .comment-content th { background: var(--sage); font-weight: 600; }
.wp-block-table { overflow-x: auto; }
.entry-content .wp-block-table table { margin-bottom: 0; }
.wp-block-table figcaption, .wp-caption-text, .wp-element-caption, .gallery-caption { margin-top: 10px; color: var(--muted); font-family: var(--sans); font-size: 11px; line-height: 1.7; text-align: center; }
.wp-caption { max-width: 100%; margin-bottom: 24px; }
.wp-caption img { display: block; }
.entry-content .wp-block-image, .entry-content .wp-block-gallery, .entry-content .wp-block-video, .entry-content .wp-block-embed { margin-bottom: 28px; }
.entry-content .wp-block-image img { display: block; }
.entry-content .wp-block-cover { margin-bottom: 30px; }
.wp-block-cover .wp-block-cover__inner-container, .wp-block-cover .wp-block-cover__inner-container a { color: inherit; }
.wp-block-columns { margin-bottom: 28px; }
.wp-block-separator { width: 100%; margin: 35px auto; border: 0; border-top: 1px solid var(--line); }
.wp-block-separator:not(.is-style-wide):not(.is-style-dots) { max-width: 100px; }
.wp-block-separator.is-style-dots { color: var(--muted); }
.wp-block-button__link, .wp-element-button { padding: 12px 22px; border: 1px solid var(--ink); border-radius: 0; background: var(--ink); color: var(--paper) !important; font-family: var(--sans); font-size: 11px; line-height: 1.7; letter-spacing: .8px; text-decoration: none; }
.wp-block-button__link:hover, .wp-element-button:hover { border-color: var(--terracotta); background: var(--terracotta); }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--ink) !important; }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--ink); color: var(--paper) !important; }
.wp-block-file { padding: 18px; border: 1px solid var(--line); font-size: 13px; }
.wp-block-file .wp-block-file__button { padding: 8px 13px; border-radius: 0; background: var(--ink); color: var(--paper); }
.wp-block-media-text { margin-bottom: 30px; }
.wp-block-media-text .wp-block-media-text__content { padding: 25px 30px; }
.wp-block-calendar caption { padding: 10px; font-family: var(--serif); font-size: 21px; }
.wp-block-calendar table th { background: var(--sage); }
.has-drop-cap:not(:focus)::first-letter { margin: .07em .13em 0 0; color: var(--terracotta); font-family: var(--serif); font-size: 5em; font-weight: 400; line-height: .8; }
.alignleft { float: left; margin: 6px 26px 20px 0; }
.alignright { float: right; margin: 6px 0 20px 26px; }
.aligncenter { display: block; margin-right: auto; margin-left: auto; }
.entry-content > .alignwide { width: min(100vw - 96px, 1040px); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.entry-content > .alignfull { width: min(100vw - 96px, 1164px); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0 0 30px; }
.gallery-columns-1 { grid-template-columns: 1fr; }
.gallery-columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery-columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gallery-columns-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.gallery-columns-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.gallery-columns-7 { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.gallery-columns-8 { grid-template-columns: repeat(8, minmax(0, 1fr)); }
.gallery-columns-9 { grid-template-columns: repeat(9, minmax(0, 1fr)); }
.gallery-item { min-width: 0; margin: 0; text-align: center; }
.gallery-icon img { width: 100%; height: auto; }
.article-footer { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 14px 25px; margin-top: 35px; padding-top: 23px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.article-footer p { margin: 0; }
.article-footer a { color: var(--terracotta); }
.post-tags a { display: inline-block; margin: 0 6px 6px 0; padding: 3px 9px; border: 1px solid var(--line); font-size: 10px; text-decoration: none; }
.post-tags a:hover { border-color: var(--terracotta); }
.post-edit-link { color: var(--muted); font-size: 10px; }
.post-navigation, .posts-navigation { margin-top: 39px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.nav-links { display: flex; justify-content: space-between; gap: 30px; }
.nav-links > div { flex: 1; min-width: 0; }
.nav-links .nav-next { text-align: right; }
.nav-links a { font-family: var(--serif); font-size: 19px; line-height: 1.4; text-decoration: none; }
.nav-subtitle { display: block; margin-bottom: 8px; color: var(--muted); font-family: var(--sans); font-size: 9px; letter-spacing: 1px; text-transform: uppercase; }
.navigation.pagination { margin-top: 43px; text-align: center; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination ul.page-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; border: 0; list-style: none; }
.pagination ul.page-numbers:hover { background: transparent; color: inherit; }
.pagination ul.page-numbers > li { margin: 0; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 36px; padding: 5px 10px; border: 1px solid var(--line); font-size: 11px; text-decoration: none; }
.page-numbers:hover, .page-numbers.current { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.page-numbers.dots { border-color: transparent; }
.pagination .nav-links > a, .pagination .nav-links > span { font-family: var(--sans); font-size: 11px; }
.page-links { clear: both; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 28px 0; font-size: 11px; }
.page-links .post-page-numbers { padding: 3px 10px; border: 1px solid var(--line); text-decoration: none; }
.page-links .current { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.related-stories { margin-top: 52px; }
.no-results, .error-page { max-width: 650px; margin: 55px auto 70px; text-align: center; }
.no-results h1, .error-page h1 { font-size: 43px; letter-spacing: -1px; }
.no-results p, .error-page p { color: var(--muted); font-size: 14px; }
.no-results .search-form, .error-page .search-form { max-width: 430px; margin: 25px auto; }
.error-page .eyebrow { font-size: 10px; }
.sticky .card-title::before { content: "Featured · "; color: var(--terracotta); font-family: var(--sans); font-size: 9px; line-height: 1.8; letter-spacing: 1px; text-transform: uppercase; }
.bypostauthor > .comment-body { border-left: 2px solid var(--terracotta); padding-left: 20px; }

/* Conversation and forms. */
.comments-area { margin-top: 47px; padding-top: 28px; border-top: 1px solid var(--line); }
.comments-title, .comment-reply-title { margin-bottom: 25px; font-size: 28px; letter-spacing: -.5px; }
.comment-list, .comment-list .children { margin: 0; padding: 0; list-style: none; }
.comment-list .children { margin-left: 35px; }
.comment-body { margin-bottom: 27px; padding-bottom: 27px; border-bottom: 1px solid var(--line); font-size: 14px; }
.comment-author { margin-bottom: 6px; font-size: 13px; }
.comment-author .avatar { float: left; width: 38px; height: 38px; margin: 4px 13px 10px 0; border-radius: 50%; }
.comment-author .fn { font-weight: 600; font-style: normal; }
.comment-author .says { color: var(--muted); }
.comment-metadata, .comment-meta { margin-bottom: 14px; color: var(--muted); font-size: 10px; }
.comment-metadata a { text-decoration: none; }
.comment-content { clear: both; }
.comment-content p:last-child { margin-bottom: 0; }
.comment-awaiting-moderation { color: var(--terracotta); font-size: 12px; font-style: italic; }
.reply { margin-top: 13px; }
.comment-reply-link { color: var(--terracotta); font-size: 10px; letter-spacing: .6px; text-transform: uppercase; }
.comment-respond { margin-top: 35px; }
.comment-reply-title small { margin-left: 12px; font-family: var(--sans); font-size: 10px; }
.comment-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.comment-form > p { margin-bottom: 20px; }
.comment-notes, .logged-in-as, .comment-form-comment, .comment-form-url, .comment-form-cookies-consent, .form-submit, .comment-form .must-log-in { grid-column: 1 / -1; }
.comment-notes, .logged-in-as, .comment-form-cookies-consent { color: var(--muted); font-size: 11px; }
.comment-form label, .entry-content label { display: block; margin-bottom: 7px; color: var(--ink); font-size: 11px; }
.required { color: var(--terracotta); }
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="range"]):not([type="color"]), textarea, select { width: 100%; max-width: 100%; padding: 11px 13px; border: 1px solid var(--field-border); background: var(--white); color: var(--ink); font-size: 13px; line-height: 1.65; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
textarea { min-height: 150px; resize: vertical; }
input[type="checkbox"], input[type="radio"] { width: 15px; height: 15px; margin-right: 7px; accent-color: var(--terracotta); vertical-align: middle; }
.comment-form-cookies-consent label { display: inline; font-size: 11px; }
input[type="submit"], input[type="button"], input[type="reset"], button.button { padding: 12px 21px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); font-size: 10px; line-height: 1.8; letter-spacing: 1px; text-transform: uppercase; }
input[type="submit"]:hover, input[type="button"]:hover, input[type="reset"]:hover, button.button:hover { border-color: var(--terracotta); background: var(--terracotta); }
.post-password-form label { margin-bottom: 12px; }
.post-password-form input[type="password"] { margin-top: 8px; }
.form-submit { margin-bottom: 0 !important; }
.widget-area { margin-top: 45px; }
.widget-container { margin-bottom: 30px; list-style: none; }
.widget-title { padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 22px; }
.widget-area ul { padding-left: 20px; font-size: 13px; }

/* A journal of any size. */
@media (min-width: 851px) {
  .primary-navigation { padding-right: 40px; padding-left: 40px; }
  .nav-menu > li:last-child .sub-menu { right: -18px; left: auto; }
  .nav-menu > li:last-child .sub-menu .sub-menu { right: 100%; left: auto; }
}
@media (max-width: 1100px) {
  .brand-row { grid-template-columns: 1fr 3.6fr 1fr; gap: 15px; }
  .site-title { font-size: 35px; }
  .brand-side { font-size: 11px; }
  .brand-side-right { font-size: 8px; }
  .nav-menu { column-gap: 23px; }
  .featured-copy { padding: 32px; }
  .featured-title { font-size: 34px; }
  .featured-media, .featured-media .story-image, .featured-copy { min-height: 375px; }
  .story-grid { column-gap: 23px; }
  .card-media, .card-media .story-image { height: 195px; }
  .card-title { font-size: 23px; }
}
@media (max-width: 850px) {
  .site-shell { padding-right: 30px; padding-left: 30px; }
  .brand-row { grid-template-columns: 1fr; gap: 0; min-height: 134px; padding-top: 28px; padding-bottom: 27px; }
  .brand-side { display: none; }
  .site-title { font-size: 38px; }
  .site-tagline { margin-top: 10px; }
  .navigation-bar { display: flex; flex-wrap: wrap; justify-content: space-between; }
  .js .menu-toggle { display: inline-flex; }
  .primary-navigation { width: 100%; padding-right: 40px; }
  .js .primary-navigation { order: 3; width: 100%; padding: 0; }
  .js .primary-navigation[data-open="false"] { display: none; }
  .js .primary-navigation[data-open="true"] { display: block; padding: 5px 0 15px; }
  .nav-menu { gap: 0 21px; }
  .nav-menu a { font-size: 8px; }
  .js .nav-menu { display: block; }
  .js .nav-menu a { padding: 10px 0; font-size: 10px; }
  .js .nav-menu .current-menu-item > a::after, .js .nav-menu .current_page_item > a::after { display: none; }
  .nav-menu .sub-menu, .js .nav-menu .sub-menu { position: static; visibility: visible; width: auto; margin: 0 0 5px 15px; padding: 0 0 0 14px; border: 0; border-left: 1px solid var(--line); box-shadow: none; opacity: 1; transform: none; }
  .nav-menu .sub-menu a, .js .nav-menu .sub-menu a { padding: 8px 0; font-size: 9px; }
  .nav-tools { height: 47px; }
  .intro { padding: 37px 15px 31px; }
  .intro h1 { font-size: 39px; }
  .featured-story { grid-template-columns: 1.15fr 1fr; margin-bottom: 42px; }
  .featured-copy { padding: 27px 25px; }
  .featured-title { font-size: 30px; letter-spacing: -.8px; }
  .featured-excerpt { margin-bottom: 19px; font-size: 11px; line-height: 1.8; }
  .featured-media, .featured-media .story-image, .featured-copy { min-height: 350px; }
  .story-category { margin-bottom: 13px; font-size: 8px; }
  .story-meta { margin-top: 18px; font-size: 8px; }
  .story-grid { gap: 30px 20px; }
  .card-media, .card-media .story-image { height: 165px; }
  .card-copy { padding-top: 17px; }
  .card-title { font-size: 21px; }
  .card-excerpt { font-size: 11px; }
  .collaboration { flex-wrap: wrap; gap: 20px; padding: 27px; }
  .collaboration-link { margin-left: 86px; }
  .postage-mark { flex-basis: 60px; width: 60px; height: 71px; }
  .collaboration-copy { flex-basis: calc(100% - 80px); }
  .collaboration-copy h2 { font-size: 25px; }
  .site-footer { margin-top: 45px; }
  .footer-menu { gap: 10px 15px; }
  .footer-brand { font-size: 19px; }
  .entry-title { font-size: 43px; }
  .entry-content > .alignwide, .entry-content > .alignfull { width: calc(100vw - 60px); }
  .entry-content { font-size: 15px; }
}
@media (max-width: 600px) {
  body { font-size: 14px; }
  .site-shell { padding-right: 21px; padding-left: 21px; }
  .top-strip { padding: 7px 12px; font-size: 7px; letter-spacing: 1.5px; }
  .brand-row { min-height: 119px; padding-top: 26px; padding-bottom: 24px; }
  .site-title { font-size: clamp(25px, 7.7vw, 36px); letter-spacing: -1.3px; }
  .site-tagline { margin-top: 10px; font-size: 7px; letter-spacing: 1.6px; }
  .custom-logo { max-width: 270px; max-height: 74px; }
  .nav-menu { gap: 0 17px; justify-content: flex-start; }
  .nav-menu a { font-size: 8px; letter-spacing: .9px; }
  .navigation-bar { min-height: 45px; }
  .menu-toggle { padding-top: 13px; padding-bottom: 12px; font-size: 9px; }
  .nav-tools { height: 44px; }
  .search-disclosure > summary { width: 31px; min-height: 44px; }
  .search-panel { width: 310px; padding: 17px; }
  .intro { padding: 34px 5px 29px; }
  .eyebrow { margin-bottom: 10px; font-size: 8px; letter-spacing: 1.8px; }
  .intro h1 { margin-bottom: 13px; font-size: 34px; letter-spacing: -1px; }
  .intro-copy { max-width: 340px; font-size: 14px; line-height: 1.85; }
  .featured-story { grid-template-columns: 1fr; margin-bottom: 37px; }
  .featured-media { min-height: 0; height: 280px; }
  .featured-media .story-image { min-height: 0; height: 280px; }
  .featured-copy { min-height: 0; padding: 29px 28px 30px; }
  .featured-copy .story-category { margin-bottom: 13px; }
  .featured-title { max-width: 360px; margin-bottom: 16px; font-size: 32px; line-height: 1.16; }
  .featured-excerpt { max-width: 390px; font-size: 12px; }
  .featured-copy .story-meta { margin-top: 19px; }
  .section-heading { gap: 14px; margin-bottom: 21px; padding-bottom: 13px; }
  .section-heading h2 { font-size: 23px; }
  .section-heading > .eyebrow { max-width: 105px; font-size: 7px; letter-spacing: .8px; }
  .section-heading > a { max-width: 105px; font-size: 7px; text-align: right; letter-spacing: .8px; }
  .section-heading > .eyebrow { max-width: 110px; font-size: 7px; letter-spacing: .8px; }
  .story-grid { grid-template-columns: 1fr; gap: 31px; }
  .card-media, .card-media .story-image { height: 255px; }
  .card-copy { padding-top: 18px; }
  .card-title { max-width: 390px; margin-bottom: 10px; font-size: 25px; }
  .card-excerpt { max-width: 420px; font-size: 12px; }
  .card-copy .story-category { margin-bottom: 10px; }
  .card-copy .story-meta { margin-top: 12px; font-size: 9px; }
  .collaboration { align-items: flex-start; gap: 19px; margin-top: 37px; padding: 26px 22px; }
  .postage-mark { flex-basis: 48px; width: 48px; height: 60px; margin-top: 3px; padding: 7px; }
  .postage-mark svg { width: 30px; height: 30px; }
  .collaboration-copy { flex-basis: calc(100% - 67px); }
  .collaboration-copy .eyebrow { font-size: 7px; letter-spacing: 1.2px; }
  .collaboration-copy h2 { font-size: 24px; line-height: 1.2; }
  .collaboration-copy p:last-child { font-size: 11px; }
  .collaboration-link { margin-left: 67px; gap: 18px; padding-top: 0; font-size: 8px; }
  .newsletter-area { margin-top: 35px; padding: 27px 0; }
  .newsletter-area h2 { font-size: 25px; }
  .site-footer { margin-top: 38px; padding-top: 23px; padding-bottom: 22px; }
  .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; gap: 17px; }
  .footer-brand { font-size: 23px; }
  .footer-menu { justify-content: flex-start; gap: 9px 20px; }
  .footer-menu a { font-size: 8px; }
  .footer-bottom { margin-top: 22px; gap: 8px; }
  .copyright { font-size: 8px; }
  .site-footer > .footer-brand, .site-footer > .footer-menu { display: flex; float: none; }
  .site-footer > .footer-menu { margin-top: 17px; }
  .content-layout { margin-top: 32px; margin-bottom: 35px; }
  .journal-article { margin-top: 31px; }
  .page-header { margin-bottom: 29px; padding-top: 34px; }
  .page-header h1 { font-size: 35px; }
  .archive-description { font-size: 12px; }
  .entry-header { margin-bottom: 27px; }
  .entry-title { font-size: 36px; letter-spacing: -1px; }
  .entry-meta { gap: 4px 10px; font-size: 9px; }
  .entry-featured { margin-bottom: 29px; }
  .entry-content { font-size: 15px; line-height: 1.85; }
  .entry-content h2 { font-size: 29px; }
  .entry-content h3 { font-size: 25px; }
  .entry-content > .alignwide, .entry-content > .alignfull { width: calc(100vw - 42px); }
  .entry-content blockquote, .wp-block-quote { margin: 28px 0; padding-left: 21px; font-size: 23px; }
  .wp-block-pullquote blockquote { font-size: 26px; }
  .entry-content .alignleft, .entry-content .alignright { float: none; display: block; margin: 24px auto; }
  .entry-content th, .entry-content td { padding: 9px 10px; font-size: 12px; }
  .gallery { gap: 13px; }
  .gallery-columns-4, .gallery-columns-5, .gallery-columns-6, .gallery-columns-7, .gallery-columns-8, .gallery-columns-9 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wp-block-media-text .wp-block-media-text__content { padding: 22px 0; }
  .article-footer { margin-top: 28px; padding-top: 20px; }
  .post-navigation, .posts-navigation { margin-top: 30px; padding: 21px 0; }
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 17px; }
  .nav-subtitle { font-size: 8px; }
  .related-stories { margin-top: 37px; }
  .comments-area { margin-top: 35px; padding-top: 24px; }
  .comments-title, .comment-reply-title { font-size: 25px; }
  .comment-list .children { margin-left: 20px; }
  .comment-form { grid-template-columns: 1fr; }
  .comment-form > p { grid-column: 1; }
  .no-results, .error-page { margin: 38px auto 45px; }
  .no-results h1, .error-page h1 { font-size: 35px; }
  .no-results p, .error-page p { font-size: 13px; }
}
@media (max-width: 360px) {
  .site-shell { padding-right: 17px; padding-left: 17px; }
  .site-title { font-size: 25px; letter-spacing: -1px; }
  .site-tagline { font-size: 6px; letter-spacing: 1.2px; }
  .intro h1 { font-size: 31px; }
  .featured-copy { padding: 25px 23px; }
  .featured-title { font-size: 29px; }
  .featured-media, .featured-media .story-image { height: 245px; }
  .card-media, .card-media .story-image { height: 225px; }
  .collaboration { gap: 14px; padding-right: 19px; padding-left: 19px; }
  .collaboration-copy { flex-basis: calc(100% - 62px); }
  .collaboration-copy h2 { font-size: 22px; }
  .collaboration-link { margin-left: 62px; }
  .entry-content > .alignwide, .entry-content > .alignfull { width: calc(100vw - 34px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  body { background: #fff; color: #000; font-size: 12pt; }
  .site-shell { width: 100%; max-width: none; padding: 0; }
  .top-strip, .navigation-bar, .brand-side, .collaboration, .newsletter-area, .site-footer, .post-navigation, .comments-area, .related-stories, .post-edit-link { display: none; }
  .brand-row { min-height: 0; padding: 0 0 25px; }
  .entry-content { font-size: 12pt; }
  .entry-content a { color: #000; }
  .entry-content > .alignwide, .entry-content > .alignfull { width: 100%; margin-left: 0; transform: none; }
  h1, h2, h3, h4 { break-after: avoid; }
  img, figure, blockquote { break-inside: avoid; }
}
