/*
Theme Name: GIGTU 47 AFRICA
Author: GIGTU 47 AFRICA Company Limited
Description: The GIGTU 47 AFRICA website: agriculture, solar cookers, news, about and contact. On activation it creates the pages, the menu and the first news stories, so the site works straight away. Add news under Posts.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gigtu47
*/

/* GIGTU 47 AFRICA — site styles
   Palette taken from the farm itself: laterite soil, leaf, field, maize/sun. */
:root {
  --ink: #13231a;
  --muted: #4a5a50;
  --paper: #ffffff;
  --mist: #eef1ea;
  --rule: #d5dccf;
  --leaf: #1f4d2b;
  --leaf-deep: #163a20;
  --field: #8da34a;
  --sun: #f2b701;
  --sun-soft: #fbf3d6;
  --soil: #8e2b1b;

  --narrow: "wdth" 72;
  --wide: "wdth" 118;
  --gutter: clamp(20px, 5vw, 64px);
  --max: 1240px;
  --header-h: 76px;
  /* left edge that lines up with .wrap content, for full-bleed layouts */
  --edge: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
}

* { box-sizing: border-box }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px) }
body {
  margin: 0;
  padding-top: var(--header-h);
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100% }
a { color: inherit }
p { margin: 0 0 1em; max-width: 62ch }
button { font: inherit; color: inherit; cursor: pointer }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 700; text-decoration: none; transform: translateY(-200%) }
.skip-link:focus { transform: none }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }

/* Type */
h1, h2, h3 { margin: 0; font-weight: 800; font-variation-settings: var(--narrow); letter-spacing: -0.01em }
h1 { font-size: clamp(48px, 7vw, 104px); line-height: 0.94 }
h2 { font-size: clamp(36px, 4.6vw, 60px); line-height: 0.98; margin-bottom: 24px }
h3 { font-size: 26px; line-height: 1.1; margin-bottom: 10px }
.lede { font-size: 21px; line-height: 1.55; color: var(--muted) }

/* Header — pinned; hides while scrolling down, returns on scroll up */
.site-header { position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: var(--header-h); background: var(--paper); transition: transform .3s ease, box-shadow .3s ease }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--rule) }
.site-header.is-hidden { transform: translateY(-100%) }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px }
.brand { text-decoration: none; display: flex; align-items: center; gap: 12px; line-height: 1.1 }
.brand-mark { width: 52px; height: 52px; flex: none }
/* Name set like the logo: green, orange 47, small caps line underneath */
.brand b { display: block; font-size: 21px; font-weight: 800; font-variation-settings: var(--wide); letter-spacing: 0.01em; color: #1f4d2b }
.brand-47 { color: #f2b701 }
.brand small { display: block; margin-top: 3px; padding-top: 3px; border-top: 2px solid #f2b701; font-size: 11px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: #4a5a50 }
.site-nav { display: flex; align-items: center; gap: 4px }
.site-nav a { text-decoration: none; font-size: 16px; font-weight: 600; padding: 10px 16px; border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center; -webkit-tap-highlight-color: transparent; transition: background-color .2s, color .2s }
.site-nav a:hover, .site-nav a:active { background: var(--mist); color: var(--ink) }
.site-nav a[aria-current], .site-nav a[aria-current]:hover { background: var(--ink); color: var(--paper) }
.nav-toggle { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 2px solid var(--ink); border-radius: 999px; background: none; font-weight: 700; font-size: 16px }
.nav-toggle-bars { width: 18px; height: 12px; position: relative }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .2s }
.nav-toggle-bars::before { top: 1px }
.nav-toggle-bars::after { bottom: 1px }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(4px) rotate(45deg) }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-5px) rotate(-45deg) }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; background: var(--leaf); color: var(--paper); font-weight: 700; font-size: 17px; text-decoration: none; transition: background-color .2s }
.button:hover { background: var(--ink) }
.button--sun { background: var(--sun); color: var(--ink) }
.button--sun:hover { background: #ffd043 }
.button--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor }
.button--ghost:hover { background: rgba(255, 255, 255, .12) }
.actions { display: flex; flex-wrap: wrap; gap: 12px }

/* Hero — full-width photo slideshow with the words on top */
.hero { position: relative; display: flex; align-items: center; height: calc(100svh - var(--header-h)); min-height: 560px; max-height: 880px; overflow: hidden; background: var(--ink); color: #fff }
.slideshow { position: absolute; inset: 0 }
.slideshow::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(10, 22, 14, .82) 0%, rgba(10, 22, 14, .55) 45%, rgba(10, 22, 14, .15) 100%), linear-gradient(to top, rgba(10, 22, 14, .6), transparent 40%) }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity 1.2s ease, visibility 0s 1.2s }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.2s ease, visibility 0s }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7s ease-out }
.slide.is-active img { transform: scale(1) }
.hero-content { position: relative; z-index: 2; width: 100%; pointer-events: none }
.hero-text { max-width: 640px; pointer-events: auto }
.hero-text h1 { font-size: clamp(48px, 6.6vw, 104px); text-shadow: 0 2px 24px rgba(0, 0, 0, .25) }
.hero-text p { font-size: 21px; line-height: 1.55; margin: 26px 0 34px; color: #e6eee3; max-width: 36ch }
.hero-text .button { background: var(--sun); color: var(--ink) }
.hero-text .button:hover { background: #ffd043 }
.hero-text .button--ghost { background: transparent; color: #fff }
.hero-text .button--ghost:hover { background: rgba(255, 255, 255, .14) }

/* Page heading for inner pages */
/* Page heading band for inner pages — same green as the site, text on the same left edge as the hero */
.page-head-band { background: var(--leaf); color: #fff }
.page-head { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px) }
.page-head h1 { max-width: 14ch; margin-bottom: 24px }
.page-head .lede { margin: 0; color: #dbe6d6 }
.section-body { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(40px, 5vw, 72px) }

/* Agriculture: aerial field strip — the season's plan as crop rows */
.field-plan { margin: 0 auto; max-width: var(--max); padding: clamp(40px, 5vw, 64px) var(--gutter) 0 }
.field-plan h2 { margin-bottom: 28px }
.plots { display: grid; grid-template-columns: 1.3fr 1fr 1.5fr 0.8fr; height: clamp(220px, 26vw, 340px); border-radius: 6px; overflow: hidden }
.plot { position: relative; display: flex; align-items: flex-end; padding: 20px; color: var(--paper) }
.plot span { font-weight: 700; font-size: 18px; line-height: 1.2; text-shadow: 0 1px 2px rgba(0, 0, 0, .25) }
.plot span small { display: block; font-weight: 400; font-size: 15px; opacity: .92 }
.plot--potato { background: repeating-linear-gradient(100deg, #2f4a22 0 14px, #3d5c2b 14px 28px) }
.plot--soya { background: repeating-linear-gradient(100deg, #7b9140 0 10px, #8da34a 10px 20px) }
.plot--maize { background: repeating-linear-gradient(100deg, #d29c12 0 12px, #e2b32c 12px 24px); color: var(--ink) }
.plot--maize span { text-shadow: none }
.plot--hives { background: radial-gradient(circle, #c2573c 0 5px, transparent 6px) 0 0 / 26px 26px, var(--soil) }
.field-plan figcaption { font-size: 15px; color: var(--muted); padding-top: 12px }

/* Facts */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 0 auto; padding-top: 40px; padding-bottom: 40px }
.facts div { border-left: 4px solid var(--field); padding-left: 18px }
.facts dt { font-size: clamp(28px, 3vw, 38px); font-weight: 800; font-variation-settings: var(--narrow); line-height: 1.05 }
.facts dd { margin: 6px 0 0; color: var(--muted); font-size: 16px }

/* Sections */
.section { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(40px, 5vw, 72px) }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start }
.split > :first-child p { color: var(--muted) }
.points { display: grid; gap: 36px }
.points article { padding-top: 22px; border-top: 2px solid var(--ink) }
.points p { color: var(--muted); margin: 0 }

.band { background: var(--mist) }
.solar .band { background: var(--sun-soft) }

/* Real sequences only */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0 }
.steps li { counter-increment: step; display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--rule); font-size: 19px; font-weight: 600 }
.steps li:first-child { border-top: 1px solid var(--rule) }
.steps li::before { content: counter(step); font-size: 34px; font-weight: 800; font-variation-settings: var(--narrow); color: var(--leaf); line-height: 1 }
.solar .steps li::before { color: var(--soil) }

/* Solar: how it works, a left-to-right chain */
.chain { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr) }
.chain li { position: relative; padding: 28px 32px 0 0 }
.chain li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--ink) }
.chain li:first-child::before { background: var(--sun) }
.chain li::after { content: ""; position: absolute; top: -6px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 4px solid var(--ink) }
.chain li:first-child::after { border-color: var(--sun); background: var(--sun) }
.chain p { color: var(--muted); margin: 0 }

/* Video */
.film { width: 100%; max-height: 680px; background: var(--ink); border-radius: 6px }

/* Galleries — numbered because they record the build in order */
.gallery { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 20px; counter-reset: shot }
.gallery li { counter-increment: shot }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 40%; border-radius: 4px; background: var(--mist) }
.gallery p { font-size: 15px; line-height: 1.45; margin: 12px 0 0; display: flex; gap: 10px }
.gallery p::before { content: counter(shot); font-weight: 800; color: var(--soil); min-width: 1.4em }

/* About: the two projects side by side */
.projects { display: grid; grid-template-columns: 1fr 1fr; gap: 24px }
.project { position: relative; display: block; text-decoration: none; border-radius: 6px; overflow: hidden; color: #fff; aspect-ratio: 4 / 3.4 }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease }
.project:hover img { transform: scale(1.03) }
.project div { position: absolute; left: 0; right: 0; bottom: 0; padding: 80px 28px 26px; background: linear-gradient(to top, rgba(10, 20, 14, .8), transparent) }
.project h3 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 6px }
.project p { margin: 0; color: #e4ebe1 }
.project span { display: inline-block; margin-top: 12px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px }

/* News */
.stories { display: grid }
.story { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 40px; align-items: start; padding: 40px 0; border-top: 1px solid var(--rule) }
.story:first-child { padding-top: 0; border-top: 0 }
.story img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; background: var(--mist) }
.story h2 { font-size: clamp(28px, 3vw, 40px); margin: 0 0 14px }
.story-body p { color: var(--muted) }
.story-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 15px }
.story-meta time { font-weight: 700; color: var(--soil) }
.story-meta span { padding: 3px 12px; border-radius: 999px; background: var(--mist); color: var(--ink); font-weight: 600 }
.story-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--leaf); text-underline-offset: 4px }
.band .story-meta span { background: var(--paper) }

/* Home page: latest news cards (same 4:3 photos as the News page) */
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; margin-bottom: 40px }
.section-head h2 { margin: 0 }
.news-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px }
.news-card { position: relative }
.news-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; margin-bottom: 18px; background: var(--mist) }
.news-card h3 { font-size: 24px; margin: 0 0 8px }
.news-card h3 a { text-decoration: none }
.news-card h3 a::after { content: ""; position: absolute; inset: 0 }
.news-card:hover h3 a { text-decoration: underline; text-underline-offset: 3px }
.news-card p:last-child { color: var(--muted); font-size: 16px; margin: 0 }

/* Contact — the details column stretches so its last card ends level with the form */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: stretch }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-rows: repeat(3, 1fr); gap: 14px }
.contact-list > li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-content: center; padding: 22px; background: var(--mist); border-radius: 6px }
.contact-list svg { width: 48px; height: 48px; padding: 12px; border-radius: 50%; background: var(--leaf); color: var(--sun) }
.contact-list h2 { font-size: 22px; margin: 0 0 4px }
.contact-list p, .contact-list address { margin: 0; font-style: normal; color: var(--muted); line-height: 1.5 }
.contact-list a { font-weight: 700; color: var(--ink); text-underline-offset: 3px; overflow-wrap: anywhere }
.contact-list .email { font-size: 15.5px }
.form { display: grid; gap: 20px; padding: clamp(24px, 4vw, 44px); border: 2px solid var(--ink); border-radius: 6px }
.form h2 { font-size: clamp(30px, 3vw, 40px); margin: 0 }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px }
.field { display: grid; gap: 8px }
.field label { font-weight: 700; font-size: 16px }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #9aa79c; border-radius: 4px; background: var(--paper); font: inherit; font-size: 17px; color: var(--ink) }
.field textarea { min-height: 160px; resize: vertical }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--sun); outline-offset: 1px; border-color: var(--ink) }
.form-note { font-size: 15px; color: var(--muted); margin: 0 }
.form-error { color: var(--soil); font-weight: 600; font-size: 15px; margin: 0 }

/* Cross-link */
.cross { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding-top: 48px; padding-bottom: 48px }
.cross h2 { margin-bottom: 10px }
.cross p { margin: 0 }
.cross-wrap--sun { background: var(--sun) }
.cross-wrap--sun p { color: var(--ink) }
.cross-wrap--leaf { background: var(--leaf); color: var(--paper) }
.cross-wrap--leaf p { color: #d3dfcf }

/* Footer */
.site-footer { background: var(--leaf-deep); color: #d3dfcf; font-size: 16px }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr; gap: 48px; padding-top: 48px; padding-bottom: 36px }
.site-footer .brand { display: flex; color: #fff; margin-bottom: 18px; padding: 0 }
.site-footer .brand-mark { width: 60px; height: 60px; padding: 6px; border-radius: 50%; background: #fff }
.site-footer .brand b { color: #fff }
.site-footer .brand small { color: #c9d6c5 }
.site-footer h2 { font-size: 20px; color: #fff; margin: 0 0 16px; font-variation-settings: normal; letter-spacing: 0 }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px }
.site-footer a { text-decoration: none; display: inline-block; padding: 4px 0 }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px }
.site-footer address { font-style: normal; line-height: 1.6; margin-bottom: 12px }
.footer-base { position: relative; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 28px; font-size: 14px; color: #a9bba4 }
.footer-base::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid rgba(255, 255, 255, .14) }

/* Labelled contact lines: "Call: …", "Email: …" */
.contact-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px }
.contact-lines li { display: flex; flex-wrap: wrap; gap: 0 6px; line-height: 1.5 }
.contact-lines b { font-weight: 700 }
.contact-list .contact-lines li { display: flex; padding: 0; background: none; border-radius: 0 }
.contact-list .contact-lines b { color: var(--ink) }
.site-footer .contact-lines b { color: #fff }
.site-footer .contact-lines a { padding: 0 }


/* Focus */
a:focus-visible, button:focus-visible, video:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px }
.site-header a:focus-visible, .site-header button:focus-visible { outline-color: var(--ink) }
main a:focus-visible { outline-color: var(--soil) }
.hero a:focus-visible { outline-color: #fff }

@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px var(--gutter) 20px; background: var(--paper); box-shadow: 0 12px 24px rgba(19, 35, 26, .12); display: none }
  .site-nav.is-open { display: flex }
  .site-nav a { font-size: 18px; padding: 12px 16px }
}

@media (max-width: 900px) {
  .hero { align-items: flex-end; height: calc(100svh - var(--header-h)); min-height: 600px; max-height: 820px }
  .hero-content { padding-bottom: 56px }
  .slideshow::after { background: linear-gradient(to top, rgba(10, 22, 14, .9) 0%, rgba(10, 22, 14, .55) 55%, rgba(10, 22, 14, .2) 100%) }
  .hero-text p { font-size: 19px; margin: 20px 0 28px }
    .split, .cross, .contact-grid { grid-template-columns: 1fr }
  .split, .contact-grid { gap: 32px }
  .gallery { grid-template-columns: repeat(2, 1fr) }
  .chain { grid-template-columns: 1fr; gap: 32px }
  .chain li { padding-right: 0 }
  .projects { grid-template-columns: 1fr }
  .story { grid-template-columns: 1fr; gap: 20px }
  .news-cards { grid-template-columns: repeat(2, 1fr) }
  .contact-list { grid-template-rows: none }
  .footer-grid { grid-template-columns: 1fr 1fr }
  .footer-grid > :first-child { grid-column: 1 / -1 }
}

@media (max-width: 640px) {
  :root { --header-h: 68px }
  body { font-size: 17px }
  .brand-mark { width: 44px; height: 44px }
  .brand b { font-size: 17px; white-space: nowrap }
  .brand small { font-size: 9px; letter-spacing: .26em }
  .lede { font-size: 19px }
  .plots { grid-template-columns: 1fr; grid-template-rows: 1.3fr 1fr 1.5fr .8fr; height: 420px }
  .plot--potato { background: repeating-linear-gradient(10deg, #2f4a22 0 14px, #3d5c2b 14px 28px) }
  .plot--soya { background: repeating-linear-gradient(10deg, #7b9140 0 10px, #8da34a 10px 20px) }
  .plot--maize { background: repeating-linear-gradient(10deg, #d29c12 0 12px, #e2b32c 12px 24px) }
  .facts { grid-template-columns: 1fr; gap: 20px }
  .news-cards { grid-template-columns: 1fr }
  .form-row { grid-template-columns: 1fr }
  .footer-grid { grid-template-columns: 1fr; gap: 36px }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  .site-header, .slide, .slide img, .project img { transition: none }
  .slide img { transform: none }
}

/* ---------- WordPress additions ---------- */

/* Keep the pinned header below the admin toolbar when logged in */
.admin-bar .site-header { top: 32px }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0 } }

/* Featured images carry width/height attributes; let the aspect ratio win */
.story img, .news-card img, .post-photo { height: auto }
.story--no-image { grid-template-columns: 1fr }
.story h2 a { text-decoration: none }
.story h2 a:hover { text-decoration: underline; text-underline-offset: 4px }

/* Single news story */
.page-head--post h1 { max-width: 22ch; font-size: clamp(40px, 5.4vw, 76px) }
.page-head .story-meta time { color: var(--sun) }
.page-head .story-meta span { background: rgba(255, 255, 255, .14); color: #fff }
.post-layout { max-width: 860px }
.post-photo { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; margin-bottom: 40px; background: var(--mist) }
.post-back { margin-top: 32px }

/* Text written in the WordPress editor */
.prose > * { max-width: 68ch; margin: 0 }
.prose > * + * { margin-top: 1em }
.prose h2 { font-size: clamp(28px, 3vw, 38px); margin: 1.6em 0 .5em }
.prose h3 { font-size: 24px; margin: 1.4em 0 .4em }
.prose ul, .prose ol { padding-left: 1.3em }
.prose li + li { margin-top: .4em }
.prose a { color: var(--leaf); font-weight: 600; text-underline-offset: 3px }
.prose img { height: auto; border-radius: 6px }
.prose figure { margin: 32px 0 }
.prose figure, .prose .wp-block-image, .prose .wp-block-gallery, .prose .wp-block-video, .prose .wp-block-embed { max-width: none }
.prose figcaption { font-size: 15px; color: var(--muted); margin-top: 8px }
.prose blockquote { margin: 32px 0; padding-left: 20px; border-left: 4px solid var(--field); font-size: 21px }
.prose .alignleft { float: left; margin: 6px 24px 16px 0; max-width: 50% }
.prose .alignright { float: right; margin: 6px 0 16px 24px; max-width: 50% }
.prose .aligncenter { margin-left: auto; margin-right: auto }
.prose::after { content: ""; display: table; clear: both }
.wp-caption-text, .screen-reader-text { font-size: 15px }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }

/* News page numbers */
.pagination { margin-top: 48px }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; border-radius: 999px; font-weight: 700; text-decoration: none; background: var(--mist) }
.pagination .page-numbers:hover { background: var(--rule) }
.pagination .page-numbers.current { background: var(--ink); color: var(--paper) }

@media (max-width: 640px) {
  .prose .alignleft, .prose .alignright { float: none; margin: 24px 0; max-width: 100% }
}
