/* ==========================================================================
   Castletown Heritage Society
   Palette: Caithness flagstone greys, sandstone warmth, north-coast sea blue.
   ========================================================================== */

:root {
  /* flagstone */
  --stone-900: #1c2227;
  --stone-800: #2b3339;
  --stone-700: #3d474e;
  --stone-600: #566269;
  --stone-500: #75828a;
  --stone-400: #9aa5ac;
  --stone-300: #c2cad0;
  --stone-200: #dfe4e8;
  --stone-100: #eff2f4;
  --stone-050: #f7f9fa;

  /* north-coast sea */
  --sea-900: #0d2c3b;
  --sea-800: #123a4d;
  --sea-700: #175369;
  --sea-600: #1d6b87;
  --sea-500: #2a87a6;
  --sea-300: #7cb8cd;
  --sea-100: #dcecf2;

  /* sandstone / heather accents */
  --sand-600: #9a6f38;
  --sand-500: #b98a48;
  --sand-300: #e3c795;
  --sand-100: #f7efe0;
  --heather:  #6b5b7b;

  --ok-700:   #2f6b45;
  --ok-100:   #e2f0e7;
  --warn-700: #8a6320;
  --warn-100: #fbf0d9;

  --ink:      var(--stone-900);
  --ink-soft: var(--stone-600);
  --rule:     var(--stone-200);
  --bg:       #ffffff;
  --bg-alt:   var(--stone-050);

  --font-body: "Charter", "Iowan Old Style", "Palatino Linotype", Palatino,
               Georgia, "Times New Roman", serif;
  --font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
             "Helvetica Neue", Arial, sans-serif;

  --wrap: 74rem;
  --measure: 40rem;

  --r-sm: 3px;
  --r-md: 6px;
  --r-lg: 10px;

  --shadow-1: 0 1px 2px rgba(28, 34, 39, .07), 0 2px 8px rgba(28, 34, 39, .05);
  --shadow-2: 0 2px 6px rgba(28, 34, 39, .09), 0 12px 28px rgba(28, 34, 39, .09);
}

/* -------------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important;
    animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
address { font-style: normal; }
.meta { color: var(--ink-soft); font-size: .9em; }
a { color: var(--sea-700); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--sea-900); }
:focus-visible { outline: 3px solid var(--sea-500); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3, h4 { font-family: var(--font-body); line-height: 1.2;
  color: var(--stone-900); margin: 0 0 .5em; font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(1.85rem, 1.3rem + 2.2vw, 2.9rem); letter-spacing: -.015em; }
h2 { font-size: clamp(1.4rem, 1.15rem + 1.1vw, 1.9rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 2.5rem 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 1.25rem; }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--sea-900); color: #fff; padding: .75rem 1.25rem;
  font-family: var(--font-ui); border-radius: 0 0 var(--r-md) 0;
}
.skip:focus { left: 0; }

/* ------------------------------------------------------------------- header */
.topbar {
  background: var(--sea-900); color: var(--stone-100);
  font-family: var(--font-ui); font-size: .8125rem;
}
.topbar .wrap {
  display: flex; flex-wrap: wrap; gap: .35rem 1.5rem;
  align-items: center; justify-content: space-between; padding-block: .5rem;
}
.topbar a { color: #fff; }
.topbar-hours { color: var(--sea-300); }
.topbar-links { display: flex; gap: 1.1rem; align-items: center; }

.masthead { border-bottom: 1px solid var(--rule); background: #fff; }
.masthead .wrap {
  display: flex; align-items: center; gap: 1.25rem;
  justify-content: space-between; padding-block: 1.15rem;
}
.brand { display: flex; align-items: center; gap: .9rem; text-decoration: none; color: inherit; }
.brand:hover { color: inherit; }
.brand img { width: 58px; height: auto; flex: none; }
.brand-text { display: flex; flex-direction: column; }
.brand-name {
  font-size: clamp(1.1rem, .95rem + .55vw, 1.45rem); font-weight: 600;
  letter-spacing: -.01em; line-height: 1.15; color: var(--stone-900);
}
.brand-tag {
  font-family: var(--font-ui); font-size: .75rem; color: var(--ink-soft);
  font-style: italic; margin-top: .2rem; max-width: 34rem;
}

/* --------------------------------------------------------------------- nav */
.nav-toggle {
  display: none; font-family: var(--font-ui); font-size: .9rem; font-weight: 600;
  align-items: center; gap: .5rem; background: var(--stone-100);
  border: 1px solid var(--stone-300); color: var(--stone-800);
  padding: .6rem .9rem; border-radius: var(--r-md); cursor: pointer;
}
.nav-toggle:hover { background: var(--stone-200); }

.mainnav { background: var(--stone-800); font-family: var(--font-ui); }
.mainnav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap;
}
.mainnav a {
  display: block; color: var(--stone-100); text-decoration: none;
  padding: .8rem 1rem; font-size: .82rem; font-weight: 600;
  letter-spacing: .045em; text-transform: uppercase;
  border-bottom: 3px solid transparent;
}
.mainnav a:hover { background: var(--stone-700); color: #fff; }
.mainnav a[aria-current="page"] {
  background: var(--stone-700); color: #fff; border-bottom-color: var(--sand-500);
}

@media (max-width: 34rem) {
  /* the strapline is four lines on a phone; the footer still carries it */
  .brand-tag { display: none; }
}

@media (max-width: 62rem) {
  .nav-toggle { display: inline-flex; }
  .mainnav ul { display: none; flex-direction: column; }
  .mainnav.open ul { display: flex; }
  .mainnav a { padding: .85rem 1.25rem; border-bottom: 1px solid var(--stone-700); }
  .mainnav .wrap { padding-inline: 0; }
}

/* ------------------------------------------------------------------- hero */
.hero { background: var(--stone-900); color: #fff; position: relative; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(13,44,59,.93) 0%,
              rgba(13,44,59,.72) 45%, rgba(28,34,39,.42) 100%);
}
.hero .wrap { position: relative; z-index: 2; padding-block: clamp(3rem, 7vw, 6rem); }
.hero-inner { max-width: 46rem; }
.hero h1 { color: #fff; margin-bottom: .6rem; }
.hero-lede { font-size: clamp(1.05rem, .98rem + .35vw, 1.25rem); color: var(--stone-200); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-ui); font-size: .9rem; font-weight: 600;
  padding: .8rem 1.35rem; border-radius: var(--r-md);
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--sand-500); color: var(--stone-900); border-color: var(--sand-500); }
.btn-primary:hover { background: var(--sand-300); color: var(--stone-900); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.18); color: #fff; }
.btn-quiet { background: var(--stone-100); color: var(--stone-800); border-color: var(--stone-300); }
.btn-quiet:hover { background: var(--stone-200); color: var(--stone-900); }

/* ------------------------------------------------------------------ layout */
main { display: block; }
.page { padding-block: clamp(2rem, 4vw, 3.5rem); }
.page-head { margin-bottom: 2rem; }
.page-head .eyebrow {
  font-family: var(--font-ui); font-size: .75rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--sea-600);
  margin-bottom: .5rem;
}
.lede { font-size: 1.15rem; color: var(--stone-700); max-width: var(--measure); }

.breadcrumb {
  font-family: var(--font-ui); font-size: .8rem; color: var(--ink-soft);
  padding-block: .85rem; border-bottom: 1px solid var(--rule); background: var(--bg-alt);
}
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex;
  flex-wrap: wrap; gap: .4rem; align-items: center; }
.breadcrumb li::after { content: "›"; margin-left: .4rem; color: var(--stone-400); }
.breadcrumb li:last-child::after { content: ""; }

.prose { max-width: 46rem; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; padding-bottom: .3em; border-bottom: 1px solid var(--rule); }
.prose h3 { margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li + li { margin-top: .35em; }
.prose blockquote {
  margin: 1.5em 0; padding: .25em 0 .25em 1.25rem;
  border-left: 3px solid var(--sand-500); color: var(--stone-700); font-style: italic;
}

/* ------------------------------------------------------------------ figures */
figure { margin: 0; }
.figure {
  margin: 1.75rem 0; background: var(--bg-alt);
  border: 1px solid var(--rule); border-radius: var(--r-md); overflow: hidden;
}
/* width comes from an inline max-width equal to the image's intrinsic size,
   so small legacy thumbnails are never upscaled into blurry banners */
.figure img { width: 100%; height: auto; }
.figure figcaption, .gallery figcaption {
  font-family: var(--font-ui); font-size: .8125rem; line-height: 1.5;
  color: var(--ink-soft); padding: .7rem .85rem;
}
.figure.is-portrait { max-width: min(26rem, 100%); }

.zoom { display: block; position: relative; text-decoration: none; }
.zoom::after {
  content: "⤢"; position: absolute; right: .5rem; bottom: .5rem;
  width: 1.9rem; height: 1.9rem; display: grid; place-items: center;
  background: rgba(13,44,59,.82); color: #fff; border-radius: var(--r-sm);
  font-size: .9rem; opacity: 0; transition: opacity .15s ease;
}
.zoom:hover::after, .zoom:focus-visible::after { opacity: 1; }

.gallery {
  display: grid; gap: 1rem; margin: 1.75rem 0;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
}
.gallery > figure {
  background: var(--bg-alt); border: 1px solid var(--rule);
  border-radius: var(--r-md); overflow: hidden;
  display: flex; flex-direction: column;
}
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery.is-tight { grid-template-columns: repeat(auto-fill, minmax(min(100%, 11rem), 1fr)); }

.logo-strip {
  display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; align-items: center;
  margin: 1.75rem 0; padding: 1.25rem; background: var(--bg-alt);
  border: 1px solid var(--rule); border-radius: var(--r-md);
}
.logo-strip img { max-height: 78px; width: auto; }

/* -------------------------------------------------------------- event cards */
.events { display: flex; flex-direction: column; gap: 1rem; margin: 1.5rem 0; }
.event {
  display: grid; grid-template-columns: 12.5rem 1fr;
  border: 1px solid var(--rule); border-radius: var(--r-md);
  background: #fff; overflow: hidden; box-shadow: var(--shadow-1);
}
.event-when {
  padding: 1.1rem 1.15rem; background: var(--bg-alt);
  border-right: 1px solid var(--rule);
  font-family: var(--font-ui); font-size: .9rem; line-height: 1.45;
}
.event-when .when-line { display: block; }
.event-when .when-line.is-strong { font-weight: 700; color: var(--stone-900); }
.event-body { padding: 1.1rem 1.25rem; min-width: 0; }
.event-body > :first-child { margin-top: 0; }
.event-title { font-size: 1.15rem; margin-bottom: .5rem; }

.status {
  display: inline-block; margin-top: .6rem;
  font-family: var(--font-ui); font-size: .68rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  padding: .22rem .5rem; border-radius: var(--r-sm); border: 1px solid;
}
.status-confirmed { background: var(--ok-100); color: var(--ok-700); border-color: #b9d8c5; }
.status-tbc { background: var(--warn-100); color: var(--warn-700); border-color: #e6d3a8; }
.status-completed { background: var(--sea-100); color: var(--sea-800); border-color: #b6d5e1; }

.event.is-completed { background: var(--bg-alt); }
.event.is-completed .event-when { background: var(--stone-100); }

.band {
  margin: 2.5rem 0 1.25rem; padding: .7rem 1.1rem;
  background: var(--sea-900); color: #fff; border-radius: var(--r-md);
  font-family: var(--font-ui); font-size: .82rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
}
.band.is-amber { background: var(--sand-600); }

@media (max-width: 46rem) {
  .event { grid-template-columns: 1fr; }
  .event-when { border-right: 0; border-bottom: 1px solid var(--rule); }
}

/* --------------------------------------------------------------- year index */
.yearnav {
  display: flex; flex-wrap: wrap; gap: .45rem; margin: 1.5rem 0 0;
  padding: 1.1rem; background: var(--bg-alt);
  border: 1px solid var(--rule); border-radius: var(--r-md);
  list-style: none;
}
.yearnav li { margin: 0; }
.yearnav a {
  display: block; font-family: var(--font-ui); font-size: .85rem; font-weight: 600;
  padding: .4rem .7rem; text-decoration: none; color: var(--sea-800);
  background: #fff; border: 1px solid var(--stone-300); border-radius: var(--r-sm);
}
.yearnav a:hover { background: var(--sea-900); color: #fff; border-color: var(--sea-900); }
.yearnav a[aria-current="page"] { background: var(--sea-900); color: #fff; border-color: var(--sea-900); }
.yearnav-label {
  font-family: var(--font-ui); font-size: .75rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; color: var(--ink-soft);
  width: 100%; margin-bottom: .1rem;
}

/* ------------------------------------------------------------------- cards */
.cards {
  display: grid; gap: 1.25rem; margin: 1.75rem 0;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}
.card {
  border: 1px solid var(--rule); border-radius: var(--r-md); background: #fff;
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow-1); transition: box-shadow .18s ease, transform .18s ease;
}
.card:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.card-body { padding: 1.1rem 1.15rem; flex: 1; }
.card-body h3 { margin-bottom: .35rem; font-size: 1.1rem; }
.card-body h3 a { text-decoration: none; color: var(--stone-900); }
.card-body h3 a:hover { color: var(--sea-700); text-decoration: underline; }
.card-body p { font-size: .95rem; color: var(--stone-700); }

/* ------------------------------------------------------------------ panels */
.panel {
  padding: 1.35rem 1.5rem; background: var(--bg-alt);
  border: 1px solid var(--rule); border-left: 4px solid var(--sea-600);
  border-radius: var(--r-md); margin: 1.75rem 0;
}
.panel h2, .panel h3 { margin-top: 0; border: 0; }
.panel-sand { border-left-color: var(--sand-500); background: var(--sand-100); }

.factlist { font-family: var(--font-ui); font-size: .95rem; margin: 0; }
.factlist dt { font-weight: 700; color: var(--stone-900); margin-top: .85rem; }
.factlist dt:first-child { margin-top: 0; }
.factlist dd { margin: .15rem 0 0; color: var(--stone-700); }

.split { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (min-width: 60rem) { .split { grid-template-columns: 1.55fr 1fr; } }
.split-aside > * + * { margin-top: 1.25rem; }

.embed { margin: 1.5rem 0; }
.embed iframe { width: 100%; border: 0; border-radius: var(--r-md); display: block; }
.embed-map iframe { aspect-ratio: 4 / 3; height: auto; min-height: 320px; }
.embed-audio iframe { height: 152px; }

.doclist { list-style: none; padding: 0; margin: 1.5rem 0; }
.doclist li + li { margin-top: .5rem; }
.doclist a {
  display: flex; align-items: baseline; gap: .6rem;
  padding: .8rem 1rem; background: var(--bg-alt); border: 1px solid var(--rule);
  border-radius: var(--r-md); text-decoration: none; font-family: var(--font-ui);
  font-size: .95rem; font-weight: 600;
}
.doclist a:hover { background: var(--sea-100); border-color: var(--sea-300); }
.doclist .meta { font-weight: 400; font-size: .82rem; color: var(--ink-soft); }

.tablewrap { overflow-x: auto; margin: 1.5rem 0; -webkit-overflow-scrolling: touch; }
table.data { border-collapse: collapse; width: 100%; font-size: .95rem; }
table.data th, table.data td {
  border: 1px solid var(--rule); padding: .6rem .7rem; text-align: left; vertical-align: top;
}
table.data th { background: var(--bg-alt); font-family: var(--font-ui); font-size: .85rem; }

.note {
  font-family: var(--font-ui); font-size: .85rem; color: var(--ink-soft);
  padding: .8rem 1rem; background: var(--stone-100);
  border-radius: var(--r-md); margin: 1.5rem 0;
}

/* ------------------------------------------------------------------ footer */
.sitefoot {
  margin-top: clamp(3rem, 6vw, 5rem);
  background: var(--stone-900); color: var(--stone-300);
  font-family: var(--font-ui); font-size: .9rem;
}
.sitefoot a { color: #fff; }
.sitefoot .wrap { padding-block: 2.75rem; }
.foot-grid { display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.sitefoot h2 {
  color: #fff; font-family: var(--font-ui); font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: .9rem;
  border: 0; padding: 0;
}
.sitefoot ul { list-style: none; margin: 0; padding: 0; }
.sitefoot li + li { margin-top: .45rem; }
.sitefoot address { font-style: normal; line-height: 1.7; }
.foot-badges { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 1rem; }
.foot-badges img { max-height: 62px; width: auto; background: #fff;
  padding: .3rem; border-radius: var(--r-sm); }
.foot-bottom {
  border-top: 1px solid var(--stone-700); margin-top: 2.25rem; padding-top: 1.35rem;
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
  font-size: .82rem; color: var(--stone-400);
}

/* --------------------------------------------------------------- lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: none;
  background: rgba(8,13,17,.97); padding: 1.5rem;
}
.lightbox[open], .lightbox.is-open { display: grid; place-items: center; }
.lightbox figure { max-width: min(96vw, 78rem); max-height: 92vh; text-align: center; }
.lightbox img {
  max-width: 100%; max-height: 82vh; width: auto; margin-inline: auto;
  border-radius: var(--r-sm); background: #000;
}
.lightbox figcaption {
  color: var(--stone-200); font-family: var(--font-ui); font-size: .9rem;
  margin-top: .9rem; max-width: 46rem; margin-inline: auto;
}
.lightbox-close, .lightbox-nav {
  position: absolute; background: rgba(255,255,255,.1); color: #fff;
  border: 1px solid rgba(255,255,255,.3); border-radius: var(--r-md);
  width: 3rem; height: 3rem; font-size: 1.4rem; cursor: pointer;
  display: grid; place-items: center; font-family: var(--font-ui);
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,.22); }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-nav.prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-count {
  position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%);
  color: var(--stone-400); font-family: var(--font-ui); font-size: .8rem;
}
body.no-scroll { overflow: hidden; }

/* ------------------------------------------------------------------- print */
@media print {
  .topbar, .mainnav, .nav-toggle, .breadcrumb, .sitefoot, .hero-actions,
  .lightbox, .yearnav { display: none !important; }
  body { font-size: 11pt; color: #000; }
  .hero { background: none; color: #000; }
  .hero::after { display: none; }
  .hero h1 { color: #000; }
  a { color: #000; text-decoration: underline; }
  .event { break-inside: avoid; border-color: #999; }
}

/* ==========================================================================
   Reading measure for converted page bodies.
   The generated content is a flat stream of blocks. Text needs a comfortable
   line length; galleries, event cards and banners are free to run wider.
   ========================================================================== */
.page > .wrap > p,
.page > .wrap > h2:not(.band),
.page > .wrap > h3,
.page > .wrap > ul:not(.yearnav):not(.doclist),
.page > .wrap > ol,
.page > .wrap > blockquote,
.page > .wrap > address {
  max-width: 46rem;
}
.page > .wrap > h2:not(.band) {
  margin-top: 2.2em; padding-bottom: .3em; border-bottom: 1px solid var(--rule);
}
.page > .wrap > h2:first-child { margin-top: 0; }
.page > .wrap > .figure { margin-inline: 0; }
.event-body .figure { margin: 1rem 0; max-width: min(100%, 30rem); }
.event-body .gallery { grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr)); }

/* the legacy pages centre a lot of short lines; keep that but not full-bleed */
.page > .wrap > p[style*="center"] { max-width: 46rem; }

/* ------------------------------------------------------------- home page */
.home-intro { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (min-width: 58rem) { .home-intro { grid-template-columns: 1.5fr 1fr; } }
.home-section { padding-block: clamp(2rem, 4vw, 3.25rem); }
.home-section + .home-section { border-top: 1px solid var(--rule); }
.home-section > .wrap > h2 { margin-bottom: 1rem; }
.section-lead { max-width: 46rem; color: var(--stone-700); }
.home-badges { justify-content: flex-start; }
.home-badges img { max-height: 84px; }
.quote-strap {
  font-family: var(--font-body); font-style: italic;
  font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem);
  color: var(--sea-800); text-align: center; max-width: 44rem;
  margin: 0 auto; padding: 1.25rem 0;
}

/* news item date markers (legacy "Dateline: …" separators) */
.dateline {
  font-family: var(--font-ui); font-size: .75rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; color: var(--sea-700);
  margin: 3rem 0 .35rem; padding-top: 1.5rem;
  border-top: 2px solid var(--sand-300);
}
.page > .wrap > .dateline:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.dateline + h2, .dateline + h3, .dateline + p { margin-top: 0; }
.page > .wrap > .dateline + h2:not(.band) { margin-top: .2em; border-bottom: 0; }
