/*
Theme Name: Coral Field 8fc4
Version: 1.0
*/
:root {
  --mil71d4-accent: #2e6b94;
  --mil71d4-ink: #15191e;
  --mil71d4-paper: #fdfcfc;
  --mil71d4-radius: 4px;
  --mil71d4-font: "Iowan Old Style", Georgia, serif;
  --mil71d4-muted: color-mix(in srgb, var(--mil71d4-ink) 62%, var(--mil71d4-paper));
  --mil71d4-rule: color-mix(in srgb, var(--mil71d4-ink) 14%, var(--mil71d4-paper));
  --mil71d4-measure: 64ch;
  /* The page shell, distinct from the reading measure.
     Capping the masthead, footer and listings at a 68ch prose column is what
     made every site read as a narrow document rather than a publication. Prose
     keeps the measure; the chrome around it does not. */
  --mil71d4-shell: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--mil71d4-paper);
  color: var(--mil71d4-ink);
  font-family: var(--mil71d4-font);
  font-size: 1.02rem;
  line-height: 1.76;
}

/* Keyboard users need a way past the nav; visible only when focused. */
.mil71d4-skip {
  position: absolute; left: -9999px;
}
.mil71d4-skip:focus {
  left: 1rem; top: 1rem; z-index: 10;
  background: var(--mil71d4-paper); padding: .6rem 1rem;
}

a { color: var(--mil71d4-accent); text-underline-offset: .16em; }
a:hover { text-decoration: none; }

img, video, iframe { max-width: 100%; height: auto; }

.mil71d4-main, .mil71d4-foot {
  max-width: var(--mil71d4-shell);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* The masthead spans the viewport; its contents do not. Constraining the
   element itself made a tinted header stop dead in the middle of the screen. */
.mil71d4-masthead, .mil71d4-top { width: 100%; }
.mil71d4-bar, .mil71d4-identity,
.mil71d4-masthead > nav, .mil71d4-top > nav,
/* One header variant has no inner wrapper -- its brand and tagline are direct
   children of the masthead, so without these they sat flush against the
   viewport edge while the nav beneath them was correctly indented. */
.mil71d4-masthead > .mil71d4-brand, .mil71d4-top > .mil71d4-brand,
.mil71d4-masthead > .mil71d4-tagline, .mil71d4-top > .mil71d4-tagline {
  max-width: var(--mil71d4-shell);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* The reading column. Long-form text needs a measure; a nav bar and a footer
   grid do not, and constraining them to one is what looked unfinished. */
.mil71d4-prose,
.mil71d4-article-head,
.mil71d4-title,
.mil71d4-article-hero,
.mil71d4-head-block,
.mil71d4-article-foot,
.mil71d4-adjacent,
.mil71d4-takeaway,
.mil71d4-standfirst,
.mil71d4-toc,
.mil71d4-jumps,
.mil71d4-related,
.mil71d4-hub-lead,
.mil71d4-byline,
.mil71d4-authorbox,
.mil71d4-crumbs {
  max-width: var(--mil71d4-measure);
  margin-inline: auto;
}

.mil71d4-masthead, .mil71d4-top {
  padding-block: 2rem 1rem;
  border-bottom: 1px solid var(--mil71d4-rule);
}
.mil71d4-brand {
  margin: 0; font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em;
}
.mil71d4-brand a { color: inherit; text-decoration: none; }
.mil71d4-tagline { margin: .25rem 0 0; color: var(--mil71d4-muted); font-size: .95rem; }

.mil71d4-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 1.1rem; margin: .75rem 0 0; padding: 0; }
.mil71d4-nav a { text-decoration: none; font-size: .95rem; }

.mil71d4-main { padding-block: 2.5rem 3rem; }

h1, h2, h3 { line-height: 1.34; letter-spacing: -.015em; }
h1 { font-size: clamp(2.00rem, 1.41rem + 2vw, 2.83rem); margin: 0 0 .5rem; }
h2 { font-size: 1.68rem; margin: 0 0 .35rem; }

.mil71d4-meta, .mil71d4-byline, .mil71d4-kicker {
  color: var(--mil71d4-muted); font-size: .9rem; margin: 0 0 1rem;
}
.mil71d4-byline .mil71d4-author { font-weight: 600; }
.mil71d4-byline time::before { content: " · "; }

/* Long-form reading: generous spacing, clear hierarchy, readable tables. */
.mil71d4-prose > * + * { margin-top: 1em; }
.mil71d4-prose h2 { margin-top: 1.90em; }
.mil71d4-prose h3 { margin-top: 1.55em; font-size: 1.41rem; }
.mil71d4-prose a { text-decoration: underline dotted; text-underline-offset: .2em; }

/* --- front page --------------------------------------------------------------
   Hero, stat row, card grid, methodology block, contributors. The shape is taken
   from comparable publications in this category rather than invented: a title
   over a column of prose reads as a draft however well it is typeset. */

.mil71d4-hero {
  padding-block: 1.5rem 2.2rem;
  border-bottom: 1px solid var(--mil71d4-rule);
  margin-bottom: 2.4rem;
}
.mil71d4-hero-title {
  font-size: clamp(2.00rem, 1.41rem + 3vw, 3.25rem);
  margin: 0 0 .7rem; max-width: 22ch;
}
.mil71d4-hero-lead {
  font-size: 1.142rem; color: var(--mil71d4-muted);
  max-width: 62ch; margin: 0 0 1.6rem;
}
.mil71d4-hero-cta { margin: 1.4rem 0 0; }
.mil71d4-hero-cta a {
  display: inline-block; text-decoration: none; font-weight: 600;
  border: 1px solid var(--mil71d4-accent); border-radius: var(--mil71d4-radius);
  padding: .55rem 1.1rem;
}
.mil71d4-hero-cta a:hover { background: var(--mil71d4-accent); color: var(--mil71d4-paper); }

/* The stat row. Numbers pulled from the articles' own citable facts. */
.mil71d4-stats {
  display: grid; gap: 1.2rem; margin: 0;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.mil71d4-stat dt {
  font-size: clamp(1.5rem, 1rem + 1.6vw, 2.83rem);
  font-weight: 700; color: var(--mil71d4-accent); line-height: 1.1;
}
.mil71d4-stat dd {
  margin: .3rem 0 0; font-size: .86rem; color: var(--mil71d4-muted);
  text-transform: uppercase; letter-spacing: .06em;
}

.mil71d4-section-head {
  font-size: 1.62rem;
  margin: 0 0 1.1rem; padding-bottom: .5rem;
  border-bottom: 2px solid var(--mil71d4-accent); display: inline-block;
}
.mil71d4-spokes, .mil71d4-editorial, .mil71d4-people {
  margin-top: 3rem;
}

.mil71d4-spoke-table { width: 100%; border-collapse: collapse; }
.mil71d4-spoke-table th, .mil71d4-spoke-table td {
  text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--mil71d4-rule);
  font-weight: 400; vertical-align: top;
}
.mil71d4-spoke-table thead th {
  font-size: .8rem; text-transform: uppercase; letter-spacing: .06em;
  color: var(--mil71d4-muted); border-bottom-width: 2px;
}
.mil71d4-spoke-table tbody th a { font-weight: 600; }
.mil71d4-spoke-table td { color: var(--mil71d4-muted); font-size: .92rem; }

/* Methodology and independence -- the trust block. */
.mil71d4-editorial-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.mil71d4-editorial-grid h3 { font-size: 1.41rem; margin: 0 0 .4rem; }
.mil71d4-editorial-grid p { margin: 0; color: var(--mil71d4-muted); font-size: .93rem; }

.mil71d4-people-grid {
  display: grid; gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.mil71d4-person-name { margin: 0 0 .3rem; font-weight: 700; }
.mil71d4-person-name a { text-decoration: none; }
.mil71d4-person-bio { margin: 0; color: var(--mil71d4-muted); font-size: .9rem; }

/* Article composition: summary 1, contents 3, order 0. */

/* Standfirst: no box, just larger opening text. */
.mil71d4-standfirst {
  border: 0; background: none; padding: 0; margin: 0 auto 1.5rem;
  font-size: 1.204rem; line-height: 1.5; color: var(--mil71d4-ink);
}
.mil71d4-standfirst-label { display: none; }






/* Inline: one sentence of links rather than a block. */
.mil71d4-related ul { display: block; margin: 0; padding: 0; }
.mil71d4-related li { display: inline; border: 0; padding: 0; }
.mil71d4-related li::after { content: " · "; color: var(--mil71d4-muted); }
.mil71d4-related li:last-child::after { content: ""; }
.mil71d4-related-head { border: 0; font-size: 1rem; display: inline; margin-right: .5rem; }

/* Article page: takeaway box, contents, then the prose. */
.mil71d4-takeaway {
  max-width: var(--mil71d4-measure); margin: 0 auto 1.6rem;
  border-left: 4px solid var(--mil71d4-accent);
  background: color-mix(in srgb, var(--mil71d4-accent) 6%, var(--mil71d4-paper));
  border-radius: var(--mil71d4-radius); padding: 1rem 1.2rem;
}
.mil71d4-takeaway-label {
  margin: 0 0 .35rem; font-size: .74rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; color: var(--mil71d4-accent);
}
.mil71d4-takeaway-text { margin: 0; font-size: 1.061rem; }

.mil71d4-toc {
  max-width: var(--mil71d4-measure); margin: 0 auto 2rem;
  border: 1px solid var(--mil71d4-rule); border-radius: var(--mil71d4-radius);
  padding: .9rem 1.2rem;
}
.mil71d4-toc-label {
  margin: 0 0 .5rem; font-size: .74rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; color: var(--mil71d4-muted);
}
.mil71d4-toc ol { margin: 0; padding-left: 1.2em; }
.mil71d4-toc li { margin: .25em 0; }
.mil71d4-toc a { text-decoration: none; }
.mil71d4-toc a:hover { text-decoration: underline; }
/* Jump links must not land the heading under a sticky header. */
.mil71d4-prose h2 { scroll-margin-top: 1.5rem; }

/* Front page: the hub lead, then its spokes. */
.mil71d4-hub-title { margin: 0 0 .75rem; }
.mil71d4-spokes { margin-top: 2.60em; border-top: 1px solid var(--mil71d4-rule); padding-top: 1.6rem; }
.mil71d4-spokes-heading { font-size: 1.52rem; margin: 0 0 1rem; }
.mil71d4-spoke-list { list-style: none; margin: 0; padding: 0; }
.mil71d4-spoke-list .mil71d4-spoke { padding: .7rem 0; border-bottom: 1px solid var(--mil71d4-rule); }
.mil71d4-spoke-list .mil71d4-spoke a { font-weight: 600; }
.mil71d4-spoke-grid {
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
}
.mil71d4-spoke-grid .mil71d4-spoke {
  border: 1px solid var(--mil71d4-rule); border-radius: var(--mil71d4-radius); padding: .9rem 1rem;
}
.mil71d4-spoke-grid .mil71d4-spoke h3 { margin: 0 0 .35rem; font-size: 1.41rem; }
.mil71d4-spoke-note { display: block; color: var(--mil71d4-muted); font-size: .9rem; margin: .2rem 0 0; }

/* --- chrome ---------------------------------------------------------------
   A reader decides whether a site is real before reading a word of it: is there
   a masthead, navigation, an author, a footer with something in it. The
   templates carried none of that, which read as unfinished however good the
   prose was. */

/* Masthead. A wordmark beside the site's own generated mark, a tagline, and a
   nav that reads as navigation -- the previous header was a line of text and a
   row of links, which is what made every site look unfinished. */
.mil71d4-masthead, .mil71d4-top {
  
  border-bottom: 3px solid var(--mil71d4-accent);
}
.mil71d4-bar, .mil71d4-identity {
  display: flex; align-items: center; gap: .7rem; flex-wrap: wrap;
}
.mil71d4-brand { margin: 0; }
.mil71d4-brand a {
  text-decoration: none; color: inherit;
  display: inline-flex; align-items: center; gap: .6rem;
}
.mil71d4-mark svg { display: block; width: 26px; height: 26px; border-radius: 4px; }
.mil71d4-wordmark {
  font-weight: 700; font-size: 1.54rem;
  letter-spacing: -.015em; line-height: 1.1;
}
.mil71d4-tagline { margin: 0; color: var(--mil71d4-muted); font-size: .9rem; }

/* Header ARRANGEMENT 5 of 6.
   Patterns taken from how editorial sites actually build mastheads -- classic
   (logo left, nav right), magazine (large wordmark over a ruled nav row),
   centred masthead, minimal bar, utility strip, and stacked. The four template
   variants emit the same three elements in different wrapper tags, which renders
   identically every time; where those pieces SIT is a CSS decision. */

.mil71d4-masthead, .mil71d4-top {
  padding-block: 1.1rem;
}
.mil71d4-nav ul { justify-content: flex-start; }












/* Stacked with a heavy rule under the wordmark. */
.mil71d4-bar, .mil71d4-identity { align-items: baseline; }
.mil71d4-wordmark {
  padding-bottom: .3rem; border-bottom: 3px solid var(--mil71d4-accent);
}
.mil71d4-tagline { padding-left: .9rem; }
.mil71d4-masthead > nav, .mil71d4-top > nav { padding-top: .8rem; }
.mil71d4-nav a { font-size: .9rem; }

/* Breadcrumbs: orientation for a reader, hierarchy for a crawler. *//* Breadcrumbs: orientation for a reader, hierarchy for a crawler. */
.mil71d4-crumbs ol {
  list-style: none; display: flex; flex-wrap: wrap; gap: .45rem;
  margin: 0 0 1.4rem; padding: 0; font-size: .88rem; color: var(--mil71d4-muted);
}
.mil71d4-crumbs li + li::before { content: "/ "; color: var(--mil71d4-rule); }
.mil71d4-crumbs a { color: inherit; }

/* The author box is the E-E-A-T signal a reader actually looks at. */
.mil71d4-authorbox {
  margin-top: 2.40em;
  border-top: 2px solid var(--mil71d4-accent);
  padding-top: 1.1rem;
}
.mil71d4-authorbox-name { margin: 0 0 .35rem; font-weight: 700; }
.mil71d4-authorbox-bio { margin: 0; color: var(--mil71d4-muted); font-size: .95rem; }
.mil71d4-authorbox-more { margin: .5rem 0 0; font-size: .9rem; }

.mil71d4-related { margin-top: 2.20em; }
.mil71d4-related-head { font-size: 1.49rem; margin: 0 0 .8rem; }
.mil71d4-related ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.mil71d4-related li {
  border-left: 3px solid var(--mil71d4-rule); padding-left: .9rem;
}
.mil71d4-related a { font-weight: 600; }
.mil71d4-related span {
  display: block; color: var(--mil71d4-muted); font-size: .9rem; margin-top: .2rem;
}

/* A footer with substance. An empty one reads as an abandoned site. */
.mil71d4-foot {
  margin-top: 3.5rem; border-top: 1px solid var(--mil71d4-rule);
  padding-block: 1.8rem 1rem;
}
.mil71d4-footgrid {
  display: grid; gap: 1.6rem; margin-bottom: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.mil71d4-footname { margin: 0 0 .3rem; font-weight: 700; }
.mil71d4-footabout p { margin: 0; color: var(--mil71d4-muted); font-size: .92rem; }
.mil71d4-footlinks ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.mil71d4-footlinks a { font-size: .92rem; }
.mil71d4-copy, .mil71d4-disclaim {
  color: var(--mil71d4-muted); font-size: .85rem; margin: .4rem 0 0;
}
.mil71d4-disclaim { padding-bottom: 2rem; }

/* Nav is built from the hub's spokes; no menu is configured by hand. */
.mil71d4-nav ul {
  list-style: none; display: flex; flex-wrap: wrap;
  column-gap: 1.1rem; row-gap: .35rem; margin: 0; padding: 0;
}
.mil71d4-nav li { margin: 0; }
.mil71d4-nav a { text-decoration: none; font-size: .95rem; white-space: nowrap; }
.mil71d4-nav a:hover { text-decoration: underline; }
.mil71d4-prose ul, .mil71d4-prose ol { padding-left: 1.3em; }
.mil71d4-prose li + li { margin-top: .4em; }
.mil71d4-prose blockquote {
  margin-inline: 0 0 0 1.2em; font-style: italic; color: var(--mil71d4-muted);
}
.mil71d4-prose code {
  font-size: .92em;
  background: color-mix(in srgb, var(--mil71d4-ink) 7%, var(--mil71d4-paper));
  padding: .12em .35em; border-radius: var(--mil71d4-radius);
}
.mil71d4-prose pre { overflow-x: auto; padding: 1rem; border-radius: var(--mil71d4-radius);
  background: color-mix(in srgb, var(--mil71d4-ink) 7%, var(--mil71d4-paper)); }
.mil71d4-prose pre code { background: none; padding: 0; }
.mil71d4-prose table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.mil71d4-prose th, .mil71d4-prose td {
  text-align: left; padding: .55rem .7rem; border-bottom: 1px solid var(--mil71d4-rule);
}

.mil71d4-feed, .mil71d4-list { display: grid; gap: 2.2rem; }
.mil71d4-index { list-style: none; padding: 0; margin: 0; display: grid; gap: 2rem; }
.mil71d4-card, .mil71d4-entry, .mil71d4-item, .mil71d4-block {
  border-radius: var(--mil71d4-radius);
}
.mil71d4-card-title a, .mil71d4-item-link { text-decoration: none; }
.mil71d4-card-title a:hover, .mil71d4-item-link:hover { text-decoration: underline; }
.mil71d4-excerpt { color: var(--mil71d4-muted); }
.mil71d4-excerpt p { margin: .4rem 0 0; }

.mil71d4-pager ul, .mil71d4-adjacent {
  display: flex; flex-wrap: wrap; gap: 1rem; list-style: none;
  padding: 0; margin-top: 3rem; font-size: .95rem;
}
.mil71d4-adjacent { justify-content: space-between; border-top: 1px solid var(--mil71d4-rule); padding-top: 1.5rem; }

.mil71d4-foot {
  border-top: 1px solid var(--mil71d4-rule);
  padding-block: 1.5rem 3rem;
  color: var(--mil71d4-muted); font-size: .9rem;
}
.mil71d4-footnav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 1rem; padding: 0; margin: 0 0 .6rem; }
.mil71d4-copy { margin: 0; }

.mil71d4-empty { color: var(--mil71d4-muted); }

@media (prefers-color-scheme: dark) {
  :root {
    --mil71d4-paper: #1a1614;
    --mil71d4-ink: #e9ebec;
    --mil71d4-accent: #81b6da;
  }
}
