/* Mission Reports hub + topic pages. Extracted from pages/mission-reports.html and mission-report.html. */
/* ============ MISSION REPORTS HUB ============ */
.mr-hero{margin-top:var(--page-top);max-width:760px}
.mr-hero h1{margin:0 0 14px}
.mr-hero p{color:var(--ink-soft);line-height:1.68;font-size:1rem;margin:0}
.topic-grid{list-style:none;margin:0 0 48px;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.topic-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);padding:26px 26px 24px;display:flex;flex-direction:column;transition:border-color .12s,box-shadow .12s}
.topic-card:hover{border-color:var(--navy-ink);box-shadow:0 16px 34px -20px rgba(7,24,46,0.35)}
.topic-card h3{font-family:"Hanken Grotesk",sans-serif;font-weight:700;font-size:1.14rem;margin:0 0 8px;color:var(--ink)}
.topic-card p{color:var(--ink-soft);line-height:1.55;font-size:0.88rem;margin:0 0 18px;flex:1}
.topic-link{display:inline-flex;align-items:center;gap:6px;font-weight:700;font-size:0.82rem;color:var(--navy-ink);align-self:flex-start}
.topic-card:hover .topic-link{color:var(--red-ink)}
/* Topic card with a background image: cover image, dark gradient for legibility, white text (set in Site Manager > Mission Reports). */
.topic-card.has-bg{position:relative;overflow:hidden;background-size:cover;background-position:center;background-repeat:no-repeat;border:0;padding:27px 27px 25px;min-height:210px}   /* no border: overflow:hidden clips the overlay at the padding edge, which left a 1px ring of un-darkened photo */
.topic-card.has-bg::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(11,35,66,0.30) 0%,rgba(7,24,46,0.86) 100%);z-index:0}
.topic-card.has-bg>*{position:relative;z-index:1}
.topic-card.has-bg h3{color:#fff}
.topic-card.has-bg p{color:rgba(255,255,255,0.9)}
.topic-card.has-bg .topic-link{color:#fff}
.topic-card.has-bg:hover{box-shadow:0 16px 34px -18px rgba(7,24,46,0.6)}
.topic-card.has-bg:hover .topic-link{color:var(--red-soft-ink)}
@media (max-width:920px){.topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){.topic-grid{grid-template-columns:1fr}}

/* placeholder art */
/* ============ MISSION REPORT (TOPIC) PAGE ============ */
.mr-crumb{margin-top:22px;font-size:0.78rem;color:var(--ink-faint)}
.mr-crumb a{color:var(--ink-faint)}
.mr-crumb a:hover{color:var(--red-ink)}
.mr-topic-hero{margin:10px 0 30px;max-width:760px}
.mr-kicker{display:inline-block;font-size:0.74rem;font-weight:700;letter-spacing:0.12em;text-transform:uppercase;color:var(--red-ink);margin-bottom:8px}
.mr-topic-hero h1{margin:0 0 12px}
.mr-topic-hero p{color:var(--ink-soft);line-height:1.62;font-size:0.98rem;margin:0}
.featured-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:26px;margin-bottom:48px}
.featured-article{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);overflow:hidden;display:flex;flex-direction:column}
.featured-article .art{aspect-ratio:7/5}
.featured-article .art.is-wide{aspect-ratio:16/9}
.featured-article .art.is-tall{aspect-ratio:4/5}
.featured-body{padding:20px 22px 22px}
.featured-eyebrow{display:block;font-size:0.7rem;font-weight:700;letter-spacing:0.1em;text-transform:uppercase;color:var(--red-ink);margin-bottom:8px}
.featured-article h3{font-family:"Hanken Grotesk",sans-serif;font-weight:700;font-size:1.3rem;line-height:1.26;margin:0 0 8px;color:var(--ink)}
.featured-article h3 a{color:inherit}
.featured-article h3 a:hover{color:var(--red-ink)}
.featured-article time{display:block;font-size:0.7rem;letter-spacing:0.08em;text-transform:uppercase;color:var(--ink-faint);margin-bottom:10px}
.featured-article p{color:var(--ink-soft);line-height:1.6;font-size:0.92rem;margin:0}
.featured-video{background:var(--navy);border-radius:var(--r-lg);overflow:hidden;display:flex;flex-direction:column;color:#fff}
.featured-video .art{aspect-ratio:16/9;background:rgba(255,255,255,0.06);border-color:rgba(255,255,255,0.14);color:rgba(255,255,255,0.4)}
.featured-video .play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,0.7)}
.featured-video .play svg{width:34px;height:34px}
.yt-facade{cursor:pointer;border:0}
.featured-video .art.yt-facade{background-size:cover;background-position:center;background-repeat:no-repeat}   /* after .featured-video .art's background shorthand; the theater overlay tiled the thumbnail */
.yt-facade:hover .play,.yt-facade:focus-visible .play{color:#fff}
.yt-facade:focus-visible{outline:2px solid #fff;outline-offset:-3px}
.featured-video .art .yt-iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.featured-video-body{padding:20px 22px 22px;display:flex;flex-direction:column;flex:1}
.featured-video-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.fv-theater{display:inline-flex;align-items:center;gap:6px;font:inherit;font-size:0.72rem;font-weight:700;letter-spacing:0.04em;text-transform:uppercase;color:rgba(255,255,255,0.72);background:transparent;border:1px solid rgba(255,255,255,0.28);border-radius:6px;padding:5px 10px;cursor:pointer}
.fv-theater:hover,.fv-theater[aria-pressed="true"]{color:#fff;border-color:#fff}
.fv-theater svg{width:15px;height:15px}
/* Theater: the video goes full width on top, the featured article drops below. */
.featured-grid.is-theater{grid-template-columns:1fr}
.featured-grid.is-theater .featured-video{order:-1}
.featured-grid.is-theater .featured-video .art{max-height:78vh}
.featured-grid.is-theater .featured-video-body{max-width:760px}
/* Expand-to-read featured article: reveal the full body inline; when open the article goes full width (newspaper below-the-fold). */
.fa-expand{display:inline-flex;align-items:center;gap:6px;margin-top:14px;font:inherit;font-size:0.82rem;font-weight:700;color:var(--navy-ink);background:transparent;border:0;padding:6px 0;cursor:pointer;align-self:flex-start}
.fa-expand:hover{color:var(--red-ink)}
.fa-expand svg{width:16px;height:16px;transition:transform .15s}
.fa-expand[aria-expanded="true"] svg{transform:rotate(180deg)}
.featured-fulltext{margin-top:16px;padding-top:16px;border-top:1px solid var(--border);max-width:760px;color:var(--ink-soft);line-height:1.7;font-size:0.98rem;overflow-wrap:break-word;word-break:break-word}
.featured-fulltext p{margin:0 0 16px}
.featured-fulltext p:empty{display:none}
.featured-fulltext h2,.featured-fulltext h3{font-family:"Hanken Grotesk",sans-serif;color:var(--ink);margin:26px 0 12px;line-height:1.3}
.featured-fulltext h2{font-size:1.3rem}.featured-fulltext h3{font-size:1.1rem}
.featured-fulltext a{color:var(--info)}
.featured-fulltext img{max-width:100%;height:auto;border-radius:var(--r-sm);margin:6px 0 14px}
.featured-fulltext ul,.featured-fulltext ol{margin:0 0 16px;padding-left:22px}
.featured-fulltext li{margin-bottom:8px}
/* Same fixes as .story-body (sfn-single.css): WordPress's [caption] shortcode and pasted embeds carry fixed
   pixel width/height as inline attributes, which beats any max-width rule on the element itself and blows
   the layout out on phones. */
.featured-fulltext figure.wp-caption{width:auto!important;max-width:100%!important}
.featured-fulltext figcaption,.featured-fulltext .wp-caption-text{font-size:0.78rem;color:var(--ink-faint);margin-top:8px;line-height:1.5}
.featured-fulltext iframe{width:100%;height:auto;aspect-ratio:16/9;border:0;border-radius:var(--r-sm);display:block;margin:20px 0}
.featured-fulltext video,.featured-fulltext embed,.featured-fulltext object{max-width:100%}
.featured-fulltext table{display:block;max-width:100%;overflow-x:auto}
.featured-fulltext blockquote{margin:20px 0;padding-left:18px;border-left:3px solid var(--red);color:var(--ink-soft);font-style:italic}
.fa-fulltext-foot{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin-top:8px;padding-top:14px;border-top:1px solid var(--border)}
.fa-permalink{font-weight:700;font-size:0.85rem;color:var(--navy-ink)}
.fa-permalink:hover{color:var(--red-ink)}
.fa-collapse{font:inherit;font-size:0.8rem;font-weight:700;color:var(--ink-faint);background:transparent;border:0;cursor:pointer}
.fa-collapse:hover{color:var(--navy-ink)}
/* Expand-to-read animation: the text height and the column reflow both ease in on a slow, deliberate curve, and
   each paragraph/heading/image cascades in with its own short delay rather than the block just appearing.
   yt-facade.js drives the height (measured, not guessed) and the .is-revealed/stagger timing; this just defines
   the motion. The video panel gets a brief opacity mask while the grid reflows under it, so the reorder reads as
   one continuous move instead of a jump cut. */
.featured-grid{transition:grid-template-columns .75s cubic-bezier(.65,0,.35,1)}
.featured-fulltext{overflow:hidden;overflow:clip;transition:height .85s cubic-bezier(.65,0,.35,1)}
.featured-fulltext>*{opacity:0;transform:translateY(14px);transition:opacity .6s ease,transform .6s cubic-bezier(.65,0,.35,1)}
.featured-fulltext.is-revealed>*{opacity:1;transform:translateY(0)}
@media (prefers-reduced-motion:reduce){
  .featured-grid,.featured-fulltext,.featured-fulltext>*{transition:none!important}
}
.featured-video h3{font-family:"Hanken Grotesk",sans-serif;font-weight:700;font-size:1.1rem;line-height:1.3;margin:0 0 8px}
.featured-video p{color:rgba(255,255,255,0.68);line-height:1.55;font-size:0.86rem;margin:0;flex:1}


@media (max-width:820px){.featured-grid{grid-template-columns:1fr}}
.feed-list{list-style:none;margin:0 0 40px;padding:0;display:grid;gap:24px}
.feed-item{display:grid;grid-template-columns:220px minmax(0,1fr);gap:20px;padding-bottom:24px;border-bottom:1px solid var(--border);align-items:start}
.feed-item .art{aspect-ratio:4/3;border-radius:var(--r-sm)}
.feed-item .art.is-wide{aspect-ratio:16/9}
.feed-item .art.is-tall{aspect-ratio:4/5}
.feed-item h3{font-family:"Hanken Grotesk",sans-serif;font-weight:700;font-size:1.15rem;line-height:1.28;margin:0 0 8px;color:var(--ink)}
.feed-item h3 a{color:inherit}
.feed-item h3 a:hover{color:var(--red-ink)}
.feed-item time{display:block;font-size:0.7rem;letter-spacing:0.08em;text-transform:uppercase;color:var(--ink-faint);margin-bottom:8px}
.feed-item p{color:var(--ink-soft);line-height:1.6;font-size:0.9rem;margin:0}
@media (max-width:640px){.feed-item{grid-template-columns:1fr}}
.feed-empty,.feed-loading{color:var(--ink-faint);font-size:0.9rem;padding:20px 0}
.mr-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 48px;flex-wrap:wrap}
@media (max-width:520px){.mr-actions{flex-direction:column;align-items:stretch}.mr-actions .archive-link{justify-content:center;width:100%}}
.archive-link{display:inline-flex;align-items:center;gap:7px;margin:0;padding:10px 18px;border-radius:var(--r-sm);font-weight:700;font-size:0.8rem;color:var(--navy-ink);background:var(--surface);border:1px solid var(--border-2)}
.archive-link:hover{background:var(--active-bg);color:var(--active-fg);border-color:var(--active-bg)}



.featured-article .art,.featured-video .art,.feed-item .art{position:relative;overflow:hidden}
.featured-article .art>img,.feed-item .art>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.featured-grid.no-video{grid-template-columns:1fr}
/* No video: lead the topic like the home page's lead story — photo on the left (2/3), headline and preview on the right (1/3), no card.
   The full text, when expanded, runs across the whole width underneath. */
.featured-grid.no-video .featured-article{display:grid;grid-template-columns:2fr 1fr;gap:0 36px;align-items:center;background:none;border:0;border-radius:0;overflow:visible}
.featured-grid.no-video .featured-article .art{border-radius:var(--r-md)}
.featured-grid.no-video .featured-body{padding:0;min-width:0}
.featured-grid.no-video .featured-article h3{font-weight:800;font-size:1.7rem;line-height:1.16}
.featured-grid.no-video .featured-fulltext{grid-column:1/-1;margin:32px auto 0}
@media (max-width:820px){.featured-grid.no-video .featured-article{grid-template-columns:1fr;gap:18px}}
/* Expanded report, desktop (yt-facade.js layoutReport): subheads become section breaks across the full width; each
   picture sits beside the paragraphs that follow it, alternating sides, and stays in view while they scroll past.
   Text with no picture keeps the reading column. Without .fa-wide the rows simply stack in reading order. */
.featured-fulltext .fa-section{display:flex;align-items:center;justify-content:center;gap:18px;font-family:"Hanken Grotesk",sans-serif;font-size:1.2rem;font-weight:700;color:var(--ink);margin:34px 0 22px;line-height:1.3;text-align:center}
.featured-fulltext .fa-section::before,.featured-fulltext .fa-section::after{content:"";flex:1;height:2px;background:var(--border-2)}
.featured-fulltext .fa-section strong,.featured-fulltext .fa-section b{font-weight:inherit}
/* .fa-wide (set by yt-facade.js): the report has the page's width to itself — no video, 1100px and up; or with a video,
   1860px and up with the article open and the video popped out into the margin. */

.featured-grid.fa-wide .featured-fulltext.is-paired{max-width:none;width:auto}
.featured-grid.fa-wide .featured-fulltext.is-paired .fa-row.is-solo{max-width:720px;margin:0 auto 24px}
.featured-grid.fa-wide .featured-fulltext.is-paired .fa-row.is-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 48px;align-items:start;margin:8px 0 24px}
.featured-grid.fa-wide .featured-fulltext.is-paired .fa-row.is-media-right{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
.featured-grid.fa-wide .featured-fulltext.is-paired .fa-row.is-media-left{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr)}
  /* text column: the section's opening text (if any) above the picture's partner text; the picture spans both, sticky */
.featured-grid.fa-wide .featured-fulltext.is-paired .fa-row.is-pair{grid-template-rows:auto 1fr}
.featured-grid.fa-wide .featured-fulltext.is-paired .is-media-right>.fa-text{grid-column:1}
.featured-grid.fa-wide .featured-fulltext.is-paired .is-media-right>.fa-media{grid-column:2;grid-row:1/span 2}
.featured-grid.fa-wide .featured-fulltext.is-paired .is-media-left>.fa-text{grid-column:2}
.featured-grid.fa-wide .featured-fulltext.is-paired .is-media-left>.fa-media{grid-column:1;grid-row:1/span 2}
.featured-grid.fa-wide .featured-fulltext.is-paired .fa-row.is-pair.is-photo{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.featured-grid.fa-wide .featured-fulltext.is-paired .fa-media img{display:block;width:100%}
  /* the centred feature row (a big section break): the picture alone across the middle at its own size, then its
     one or two paragraphs centred under it */
.featured-grid.fa-wide .featured-fulltext.is-paired .fa-row.is-center{margin:4px 0 28px}
.featured-grid.fa-wide .featured-fulltext.is-paired .is-center>.fa-media{max-width:960px;margin:0 auto 26px;text-align:center}
.featured-grid.fa-wide .featured-fulltext.is-paired .is-center>.fa-media img{width:auto;max-width:100%;margin-left:auto;margin-right:auto}   /* never past the photo's own size (no blur) */
.featured-grid.fa-wide .featured-fulltext.is-paired .is-center>.fa-media figcaption{max-width:720px;margin-left:auto;margin-right:auto}
  /* text with no picture beside it, never in newspaper columns: centred only as a short section opener (the feature
     row's one or two paragraphs, a one-or-two-paragraph section start); anything longer is a plain left reading column */
.featured-grid.fa-wide .featured-fulltext.is-paired .is-center>.fa-text,.featured-grid.fa-wide .featured-fulltext.is-paired .fa-row.is-text.is-lede{max-width:720px;margin-left:auto;margin-right:auto}
.featured-grid.fa-wide .featured-fulltext.is-paired .fa-row.is-text{max-width:78ch;margin-bottom:24px}
.featured-grid.fa-wide .featured-fulltext.is-paired .fa-media{position:sticky;top:24px}
.featured-grid.fa-wide .featured-fulltext.is-paired .fa-media>:first-child,.featured-grid.fa-wide .featured-fulltext.is-paired .fa-media>:first-child>:first-child{margin-top:0}
.featured-grid.fa-wide .featured-fulltext.is-paired .fa-media figure{margin:0 0 18px}
.featured-grid.fa-wide .featured-fulltext.is-paired .is-center>.fa-media{position:static}
.featured-grid.fa-wide .featured-fulltext.is-paired .fa-section{max-width:none}
/* With a video (not in theater): the video follows the reader down the page beside the article, so they can read and watch together. */
@media (min-width:821px){.featured-grid:not(.is-theater):not(.no-video) .featured-video{position:sticky;top:24px;align-self:start}}
/* Article and video together: while the article is open, it takes the page and the video moves to a 300px side rail
   (still sticky); the lead photo goes widescreen so it doesn't tower over the text. */
@media (min-width:821px){
  .featured-grid:not(.no-video).is-article-open:not(.is-theater){grid-template-columns:minmax(0,1fr) 300px}
  .featured-grid:not(.no-video).is-article-open .featured-article .art{aspect-ratio:16/9}
  .featured-grid:not(.no-video).is-article-open .featured-video-body{padding:16px 18px 18px}
  .featured-grid:not(.no-video).is-article-open .featured-video h3{font-size:1rem}
  .featured-grid:not(.no-video).is-article-open .featured-video p{font-size:0.82rem}
  /* Theater while reading: the video floats over a dimmed page, nothing underneath moves */
  .featured-grid.is-article-open.is-theater-overlay .featured-video{position:fixed;z-index:1000;top:50%;left:50%;transform:translate(-50%,-50%);width:min(92vw,calc((88vh - 130px) * 16 / 9));box-shadow:0 0 0 100vmax rgba(4,10,20,0.82),0 30px 80px rgba(0,0,0,0.6)}
  .featured-grid.is-article-open.is-theater-overlay .featured-video-body{padding:14px 20px 16px}
  .featured-grid.is-article-open.is-theater-overlay .featured-video p{display:none}
}
/* Wide screens: the side rail pops out of the page into the right-hand margin, so the open article gets the full width
   (and the side-by-side layout). The lead card goes photo-left / headline-right while open. */
@media (min-width:1860px){
  .featured-grid:not(.no-video).is-article-open:not(.is-theater){grid-template-columns:minmax(0,1fr) 0px;column-gap:0}
  .featured-grid:not(.no-video).is-article-open:not(.is-theater):not(.is-theater-overlay) .featured-video{width:300px;margin-left:32px}
  .featured-grid:not(.no-video).is-article-open:not(.is-theater) .featured-article{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);align-items:center}
  .featured-grid:not(.no-video).is-article-open:not(.is-theater) .featured-article .art{aspect-ratio:7/5}
  .featured-grid:not(.no-video).is-article-open:not(.is-theater) .featured-body{padding:22px 28px}
  .featured-grid:not(.no-video).is-article-open:not(.is-theater) .featured-article>.featured-fulltext{grid-column:1/-1;margin:0 28px 28px}
}
/* Full text sits under the body inside the card, so it needs the card's side padding */
.featured-grid:not(.no-video) .featured-article>.featured-fulltext{margin:0 22px 22px}


/* "Pitch a story" note at the foot of Mission Reports (hub + topic pages) */
.mr-pitch{display:flex;align-items:center;justify-content:space-between;gap:16px 28px;flex-wrap:wrap;margin:8px 0 56px;padding:20px 24px;background:var(--surface-2);border:1px solid var(--border-2);border-left:3px solid var(--red);border-radius:var(--r-md)}
.mr-pitch p{margin:0;max-width:62ch;color:var(--ink-soft);line-height:1.55;font-size:0.95rem}
.mr-pitch p strong{color:var(--navy-ink)}
.mr-pitch-link{display:inline-flex;align-items:center;gap:7px;padding:10px 18px;border-radius:var(--r-sm);font-weight:700;font-size:0.8rem;color:var(--btn-fg);background:var(--btn-bg);border:1px solid var(--btn-bg);white-space:nowrap}
.mr-pitch-link:hover{background:var(--red);border-color:var(--red);color:#fff}
@media (max-width:520px){.mr-pitch{flex-direction:column;align-items:stretch;padding:18px}.mr-pitch-link{justify-content:center}}

time a.by{color:var(--ink-soft);text-transform:none;letter-spacing:0.01em;text-decoration:none}
time a.by:hover{color:var(--navy-ink);text-decoration:underline}
