/* Journal: second Astra child direction. Base components remain in editorial.css. */
:root {
  --paper: #fbfaf6;
  --cream: #f1ece2;
  --sage: #e8efe7;
  --forest: #285446;
  --dog: #925029;
  --cat: #32666a;
  --radius: 12px;
  --content: 1280px;
  --reading: 750px;
  --journal-h1: clamp(2.25rem, 3.9vw, 3.5rem);
  --journal-h2: clamp(1.875rem, 2.8vw, 2.5rem);
  --journal-h3: clamp(1.4rem, 1.9vw, 1.6rem);
  --journal-body: 1.125rem;
}
body { font-size: 17px; }
h1 { font-size: var(--journal-h1); line-height: 1.2; }
h2 { font-size: var(--journal-h2); line-height: 1.25; }
h3 { font-size: var(--journal-h3); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.15rem; }
h6 { font-size: 1.05rem; }
.eyebrow { font-size: .8rem; letter-spacing: .09em; }
.meta, .article-meta { font-size: .875rem; }
.text-link, .button, input[type=submit] { font-size: .95rem; }
.text-link { gap: 14px; }
.button { border-radius: 6px; }
/* Magazine masthead: centred original logo, quieter navigation, readable controls. */
.site-header { border-top: 5px solid var(--forest); background: var(--paper); }
.masthead { display: grid; grid-template-columns: 1fr auto 1fr; min-height: 134px; gap: 28px; }
.masthead > .brand { grid-column: 2; grid-row: 1; }
.brand-logo { width: 246px; height: 96px; mix-blend-mode: multiply; }
.masthead .brand-description { grid-column: 1; grid-row: 1; border: 0; padding: 0; max-width: 240px; font-size: .875rem; line-height: 1.65; }
.header-tools { grid-column: 3; grid-row: 1; justify-self: end; margin-left: 0; gap: 16px; }
.languages a { min-width: 40px; font-size: .8rem; }
.primary-nav { min-height: 62px; }
.primary-nav .menu { gap: 32px; }
.primary-nav a { font-size: .9rem; min-height: 60px; }
.nav-border { border-color: #cbd1c7; }
.search-form label { font-size: .9rem; }
.edition-line { padding-block: 26px; font-size: .77rem; letter-spacing: .075em; }
.edition-line span { font-size: .77rem; }
/* A real editorial front page: one lead, not a landing-page marketing banner. */
.journal-opening { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.journal-cover { display: block; background: transparent; border-radius: 0; overflow: visible; }
.journal-cover .cover-image { min-height: 0; aspect-ratio: 1.7; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.journal-cover .cover-image img { object-fit: contain; width: 100%; height: 100%; }
.journal-cover .cover-copy { display: block; padding: 28px 0 0; }
.journal-cover-labels { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-bottom: 16px; }
.journal-cover-labels .eyebrow { display: flex; align-items: center; gap: 10px; }
.journal-cover-labels .cover-category { margin: 0; font-size: .875rem; padding-left: 20px; border-left: 1px solid #aebbb1; }
.journal-cover h1 { font-size: clamp(2.25rem, 3.75vw, 3.375rem); max-width: 26ch; line-height: 1.2; }
.journal-cover .cover-excerpt { font-size: 1.125rem; line-height: 1.8; margin: 22px 0 16px; max-width: 65ch; }
.journal-picks { border-left: 1px solid var(--line); padding-left: 32px; min-width: 0; }
.journal-picks-heading { padding-bottom: 22px; border-bottom: 2px solid var(--forest); }
.journal-picks-heading .eyebrow { margin-bottom: 10px; }
.journal-picks h2 { font-size: clamp(1.8rem, 2.35vw, 2.125rem); }
.journal-picks .story-card { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 18px; padding-block: 24px; border-bottom: 1px solid var(--line); }
.journal-picks .story-image { margin: 0; aspect-ratio: 1; border-radius: 8px; }
.journal-picks .story-card:first-child { grid-template-columns: minmax(0, 1fr); gap: 18px; }
.journal-picks .story-card:first-child .story-image { aspect-ratio: 2; }
.journal-picks .story-card h3 { font-size: 1.375rem; line-height: 1.4; }
.journal-picks .story-card:first-child h3 { font-size: 1.625rem; }
.journal-picks .story-copy .meta { border: 0; padding-top: 0; font-size: .825rem; }
.journal-picks > .text-link { margin-top: 20px; }
.story-copy > .category-link { font-size: .775rem; letter-spacing: .07em; }
.story-card :is(h2,h3) { font-size: 1.5rem; line-height: 1.4; }
.story-excerpt { font-size: 1rem; line-height: 1.8; }
.story-grid { gap: 36px; }
.story-image { aspect-ratio: 1.55; }
/* An editorial directory rather than more photographic cards. */
.section { margin-top: 76px; }
.section-heading h2 { font-size: var(--journal-h2); }
.journal-topics { background: var(--sage); border: 0; border-radius: var(--radius); padding: 38px 40px; display: grid; grid-template-columns: .85fr 1.4fr; gap: 42px; align-items: center; }
.journal-topics .section-heading { margin: 0; }
.journal-topics h2 { font-size: clamp(1.875rem, 2.6vw, 2.25rem); }
.journal-topics .topic-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 28px; }
.topic-card { min-height: 100px; border-color: #c5d1c4; gap: 12px; }
.topic-card h3 { font-size: 1.05rem; line-height: 1.5; }
.topic-number { font-size: .8rem; color: var(--forest); }
.topic-card .icon { width: 20px; }
/* Two recognisable desks, keeping the established dog/cat palette. */
.journal-pets { gap: 36px; }
.journal-pets .pet-section { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pet-heading { padding: 30px; border-top-width: 4px; }
.pet-heading h2 { font-size: clamp(1.9rem, 2.5vw, 2.25rem); }
.pet-heading .eyebrow { font-size: .825rem; }
.pet-image { height: auto; aspect-ratio: 1.7; }
.pet-stories { padding: 4px 30px 10px; }
.pet-stories article { padding-block: 25px; }
.pet-stories article:last-child { border-bottom: 0; }
.pet-stories h3 { font-size: 1.4rem; line-height: 1.45; }
.pet-stories .meta { font-size: .875rem; }
.pet-stories h3 a { align-items: baseline; }
/* Search invitation has a job to do; no newsletter or service is invented. */
.journal-search { grid-template-columns: 1fr 1.05fr; background: var(--forest-dark); color: var(--paper); padding: 42px 44px; gap: 60px; align-items: center; }
.journal-search .eyebrow { color: #d3e4d1; margin-top: 0; }
.journal-search h2 { font-size: var(--journal-h2); }
.journal-search p:not(.eyebrow) { font-size: 1rem; color: #e2e9dd; margin-bottom: 0; }
.journal-search .text-link { color: var(--paper); margin-top: 16px; }
.journal-search .button { background: #e8efe7; border-color: #e8efe7; color: var(--forest-dark); }
.journal-search .button:hover { background: #fff; }
.journal-search .search-fields { gap: 8px; }
.journal-search input[type=search] { border-color: #fff; }
.journal-search input::placeholder { color: #657168; }
.information-box h2 { font-size: 1rem; }
.information-box p { font-size: .925rem; line-height: 1.8; }
/* Typography across all templates, not only the homepage. */
.article-header { max-width: 980px; margin-bottom: 42px; }
.article-header h1, .archive-header h1, .page-header h1 { font-size: var(--journal-h1); }
.article-image { border: 1px solid var(--line); }
.article-layout { grid-template-columns: minmax(170px,220px) minmax(0,var(--reading)); gap: 64px; }
.entry-content { font-size: 1.1875rem; line-height: 1.9; }
.entry-content h2 { font-size: clamp(1.875rem, 2.6vw, 2.125rem); line-height: 1.3; }
.entry-content h3 { font-size: clamp(1.5rem, 2.2vw, 1.625rem); line-height: 1.4; }
.entry-content h4 { font-size: 1.3rem; }
.entry-content h5 { font-size: 1.1875rem; }
.entry-content h6 { font-size: 1.125rem; }
/* Legacy headings may contain floated images: keep the text on its full reading measure. */
.entry-content :is(h2,h3) img { float: none !important; margin: 0 auto 24px !important; max-width: min(100%, 600px); }
.article-toc a, .article-aside .text-link { font-size: .875rem; }
.archive-note, .breadcrumbs { font-size: .875rem; }
.article-image figcaption, .entry-content figcaption { font-size: .875rem; }
.archive-description { font-size: 1.125rem; }
.topic-filters a { font-size: .875rem; }
.pagination a, .pagination span { font-size: .925rem; }
.author-box h2 { font-size: 1.5rem; }
.author-box p:not(.eyebrow) { font-size: 1rem; }
.site-footer { margin-top: 12px; padding-top: 48px; }
.footer-about p, .footer-navigation a { font-size: .925rem; }
.footer-navigation .eyebrow { font-size: .8rem; }
.footer-bottom { font-size: .8rem; }
.footer-about .brand-logo { width: 215px; height: 84px; }
/* Text-only zoom must reflow, including long translated navigation labels. */
.footer-top > *, .journal-search > *, .pet-heading > div, .section-heading > div, .topic-card h3, .story-copy { min-width: 0; }
.topic-card h3, .journal-topics h2, .story-card :is(h2,h3), .pet-heading h2, .pet-stories h3, .footer-navigation a, .footer-navigation .eyebrow, .journal-search h2 { overflow-wrap: anywhere; }
.footer-navigation a { max-width: 100%; }
@media(max-width:1100px) {
  .masthead { gap: 20px; }
  .masthead .brand-description { max-width: 210px; font-size: .8rem; }
  .brand-logo { width: 215px; height: 88px; }
  .primary-nav .menu { gap: 21px; }
  .primary-nav a { font-size: .825rem; }
  .journal-opening { grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); gap: 28px; }
  .journal-picks { padding-left: 24px; }
  .journal-picks .story-card { grid-template-columns: 78px minmax(0,1fr); gap: 14px; }
  .journal-picks .story-card h3 { font-size: 1.25rem; }
  .journal-picks .story-card:first-child h3 { font-size: 1.4rem; }
  .journal-topics { padding: 32px; gap: 30px; grid-template-columns: 1fr 1.6fr; }
  .journal-topics .topic-grid { gap: 0 20px; }
  .topic-card { gap: 8px; }
  .topic-card h3 { font-size: 1rem; }
  .journal-search { gap: 30px; padding: 34px; }
  .article-layout { gap: 36px; }
}
@media(max-width:900px) {
  .masthead .brand-description { display: block; }
  .header-tools { gap: 6px; }
  .journal-opening { grid-template-columns: minmax(0,1fr); gap: 40px; }
  .journal-cover .cover-image { aspect-ratio: 1.8; }
  .journal-cover h1 { max-width: 28ch; }
  .journal-picks { border-left: 0; padding: 0; }
  .journal-picks-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
  .journal-picks .story-card, .journal-picks .story-card:first-child { display: block; }
  .journal-picks .story-card .story-image { aspect-ratio: 1.5; margin-bottom: 18px; }
  .journal-picks .story-card h3, .journal-picks .story-card:first-child h3 { font-size: 1.375rem; }
  .journal-topics { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .journal-topics .topic-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .topic-card { min-height: 110px; }
  .pet-heading, .pet-stories { padding-inline: 22px; }
  .pet-heading h2 { font-size: 1.875rem; }
  .pet-stories h3 { font-size: 1.3rem; }
  .article-layout { display: block; }
  .journal-search { grid-template-columns: minmax(0,1fr); }
}
@media(max-width:760px) {
  :root { --journal-h1: clamp(2.25rem, 5.5vw, 2.75rem); --journal-h2: 2rem; }
  body { font-size: 17px; }
  .masthead { display: flex; min-height: 96px; gap: 12px; }
  .masthead .brand-description { display: none; }
  .masthead .brand-logo { width: 154px; height: 70px; }
  .header-tools { margin-left: auto; gap: 4px; }
  .header-tools .languages a { min-width: 30px; font-size: .75rem; }
  .primary-nav { min-height: 0; }
  .primary-nav a { font-size: 1rem; min-height: 50px; }
  .primary-nav .menu { gap: 0; }
  .edition-line { padding-block: 22px; font-size: .75rem; letter-spacing: .065em; }
  .journal-cover .cover-image { aspect-ratio: 1.5; }
  .journal-cover .cover-copy { padding-top: 22px; }
  .journal-cover-labels { gap: 10px 14px; }
  .journal-cover-labels .cover-category { padding-left: 14px; font-size: .8rem; }
  .journal-cover h1 { font-size: clamp(2.25rem, 5.5vw, 2.75rem); max-width: none; }
  .journal-cover .cover-excerpt { font-size: 1.0625rem; margin-block: 18px 10px; }
  .journal-picks-list { grid-template-columns: minmax(0,1fr); gap: 0; }
  .journal-picks .story-card, .journal-picks .story-card:first-child { display: grid; grid-template-columns: 112px minmax(0,1fr); gap: 18px; padding-block: 24px; }
  .journal-picks .story-card .story-image { aspect-ratio: 1; margin: 0; }
  .journal-picks .story-card h3, .journal-picks .story-card:first-child h3 { font-size: 1.375rem; }
  .journal-picks .story-copy > .category-link { font-size: .75rem; }
  .journal-picks .story-copy .meta { font-size: .8rem; }
  .section { margin-top: 52px; }
  .journal-topics { padding: 28px 24px; }
  .journal-topics .topic-grid { grid-template-columns: minmax(0,1fr); gap: 0; }
  .topic-card { min-height: 72px; gap: 14px; }
  .topic-card h3 { font-size: 1.0625rem; }
  .journal-pets { gap: 32px; }
  .pet-heading { padding: 26px 24px; }
  .pet-heading h2 { font-size: 2rem; }
  .pet-image { aspect-ratio: 1.5; }
  .pet-stories { padding-inline: 24px; }
  .pet-stories h3 { font-size: 1.375rem; }
  .journal-search { padding: 30px 24px; gap: 24px; }
  .journal-search h2 { font-size: 2rem; }
  .journal-search .search-fields { flex-wrap: wrap; }
  .journal-search input[type=search] { flex-basis: 100%; }
  .journal-search .button { min-width: 100%; }
  .story-card :is(h2,h3) { font-size: 1.5rem; }
  .story-excerpt { font-size: 1rem; }
  .story-copy > .category-link { font-size: .775rem; }
  .article-header h1, .archive-header h1, .page-header h1 { font-size: var(--journal-h1); }
  .article-header { margin-bottom: 30px; }
  .entry-content { font-size: 1.125rem; }
  .entry-content h2 { font-size: 1.875rem; }
  .entry-content h3 { font-size: 1.5rem; }
  .article-meta, .meta { font-size: .875rem; }
  .information-box p { font-size: .9rem; }
  .information-box h2 { font-size: 1rem; }
  .footer-navigation a { font-size: .9rem; }
  .footer-navigation .eyebrow { font-size: .8rem; }
}
@media(max-width:380px) {
  .masthead { gap: 8px; }
  .masthead .brand-logo { width: 120px; height: 62px; }
  .header-tools { gap: 0; }
  .header-tools .languages a { min-width: 29px; }
  .journal-picks .story-card, .journal-picks .story-card:first-child { grid-template-columns: 84px minmax(0,1fr); gap: 14px; }
  .journal-picks .story-card h3, .journal-picks .story-card:first-child h3 { font-size: 1.3rem; }
  .journal-cover-labels .cover-category { border-left: 0; padding-left: 0; }
  .pet-heading, .pet-stories, .journal-topics, .journal-search { padding-inline: 20px; }
  .pet-heading h2 { font-size: 1.875rem; }
}
@media(forced-colors:active) {
  .journal-search { background: Canvas; color: CanvasText; border: 1px solid CanvasText; }
  .journal-search .eyebrow, .journal-search p:not(.eyebrow), .journal-search .text-link { color: CanvasText; }
}
@media print {
  .journal-opening { display: block; }
  .journal-picks, .journal-search { display: none; }
  .entry-content { font-size: 12pt; }
}
/* Sitewide public policy: never show post authors, dates or comments. */
.sdc-site :is(.author-box, .byline, .posted-on, .entry-date, .comments-link, .comments-area, .comment-respond, .comment-list, .comment-navigation, .ast-comment-meta, .ast-comment-cite-wrap, .ast-comment-count) { display: none !important; }
.sdc-site .entry-meta :is(.published, .updated, time) { display: none !important; }
