/* The News — standalone styling for thenews.masteradamo.uk.
   Echoes the main site's typefaces (PT Sans / Abril Fatface) but is fully
   self-contained: no shared CSS, no build step. */

@import url("https://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700|Abril+Fatface");

:root {
  --ink: #2a2a2a;
  --muted: #6b6b6b;
  --rule: #e2e2e2;
  --accent: #7a3b2e;
  --bg: #fdfcfa;
  --maxw: 42rem;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding: 0 1.25rem 4rem;
  background: var(--bg);
  color: var(--ink);
  font-family: "PT Sans", -apple-system, Helvetica, Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.55;
}

.masthead {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 2.5rem 0 1.25rem;
  border-bottom: 2px solid var(--ink);
}

.masthead h1 {
  font-family: "Abril Fatface", Georgia, serif;
  font-weight: 400;
  font-size: 2.75rem;
  line-height: 1.1;
  margin: 0;
}

.masthead .tagline {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-style: italic;
}

.masthead .updated {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.stories {
  max-width: var(--maxw);
  margin: 0 auto;
}

.status {
  color: var(--muted);
  padding: 2rem 0;
}

.story {
  border-bottom: 1px solid var(--rule);
}

.story-headline {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 1.75rem 1.1rem 0;
  font-size: 1.3rem;
  font-weight: 700;
  position: relative;
  outline-offset: 3px;
}

/* Hide the default disclosure triangle, use our own marker. */
.story-headline::-webkit-details-marker { display: none; }

.story-headline::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 1.1rem;
  color: var(--accent);
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 0.15s ease;
}

.story[open] > .story-headline::after {
  content: "\2212"; /* minus sign */
}

.story-headline:hover { color: var(--accent); }

.story-body {
  padding: 0 0 1.25rem;
}

.story-body p {
  margin: 0 0 1rem;
}

.story-sources {
  margin-top: 1.25rem;
  padding-top: 0.85rem;
  border-top: 1px dotted var(--rule);
  font-size: 0.85rem;
  color: var(--muted);
}

.sources-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  margin-bottom: 0.35rem;
}

.story-sources ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

a:hover { border-bottom-color: var(--accent); }

.colophon {
  max-width: var(--maxw);
  margin: 2.5rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.82rem;
}
