@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: #fff;
  color: #111;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body { font-family: 'Inter', sans-serif; }
img  { display: block; max-width: 100%; height: auto; }
a    { color: inherit; text-decoration: none; }

/* ============================================================
   SINGLE CONTAINER
   Every layout row is a .c — max-width 1160px, 48px side gutter.
   On mobile the gutter shrinks to 20px.
   Nothing else sets widths or gutters.
   ============================================================ */
.c {
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 48px;
  padding-right: 48px;
}
@media (max-width: 700px) {
  .c { padding-left: 20px; padding-right: 20px; }
}

/* ============================================================
   MASTHEAD
   ============================================================ */
.masthead {
  padding-top: 32px;
  padding-bottom: 24px;
}
.masthead .c {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.masthead__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(1.4rem, 4vw, 2.4rem);
  font-weight: 900;
  color: #111;
  letter-spacing: 0;
  line-height: 1;
  flex-shrink: 0;
}
.masthead__dots {
  flex-shrink: 0;
  color: #C0392B;
}

.masthead__social {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.follow-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  transition: opacity 0.15s;
  white-space: nowrap;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.follow-pill:hover,
.follow-pill:focus,
.follow-pill:visited { opacity: 0.8; text-decoration: none; }
.follow-pill--x     { background: #111;    color: #fff; }
.follow-pill--submit { background: #C0392B; color: #fff; }

@media (max-width: 700px) {
  .masthead { padding-top: 24px; padding-bottom: 18px; }
  .masthead__logo { font-size: 1.3rem; gap: 8px; }
  .masthead__dots { width: 16px; height: 22px; }
  .masthead__social { gap: 5px; }
  .follow-pill {
    padding: 0;
    width: 34px;
    height: 34px;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
  }
  .follow-pill span { display: none; }
}

/* ============================================================
   CONTENT FILTERS — chips row
   ============================================================ */
.filters {
  padding-bottom: 8px;
}
.filters__inner {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 0;
}
.filters__inner::-webkit-scrollbar { display: none; }

.filter-chip {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: #888;
  padding: 8px 0;
  border-radius: 999px;
  border: 1.5px solid #eaeaea;
  text-decoration: none;
  white-space: nowrap;
  text-align: center;
  flex: 1;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.filter-chip--active {
  background: #111;
  border-color: #111;
  color: #fff;
}

@media (max-width: 700px) {
  .filter-chip { font-size: 0.68rem; padding: 7px 0; flex: none; padding: 7px 13px; }
  .filters__inner { gap: 6px; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding-top: 48px;
}
.hero .c {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 48px;
}
@media (max-width: 700px) {
  .hero .c { grid-template-columns: 1fr; gap: 20px; padding-bottom: 36px; }
}
.hero__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.hero__fallback {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #f3f3f3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.hero__fallback svg  { width: 28px; height: 28px; color: #ccc; }
.hero__fallback span { font-size: 0.6rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: #ccc; }
.hero__kicker {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #C0392B;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__title {
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  font-weight: 800;
  color: #111;
  line-height: 1.15;
  letter-spacing: 0;
  margin-bottom: 16px;
  display: block;
  transition: color 0.15s;
}
.hero__title:hover { color: #555; }
.hero__excerpt {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 14px;
}
.hero__meta {
  font-size: 0.64rem;
  font-weight: 500;
  color: #bbb;
}

/* ============================================================
   SECTION LABEL
   ============================================================ */
.section-label {
  padding-top: 40px;
  padding-bottom: 16px;
}
.section-label__text {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #C0392B;
}

/* ============================================================
   NEWCASTLE BANNER
   ============================================================ */
.newcastle-banner {
  margin-bottom: 20px;
}
.newcastle-banner p {
  font-size: 0.74rem;
  font-style: italic;
  color: #aaa;
  line-height: 1.5;
}

/* ============================================================
   STORY GRID
   ============================================================ */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 24px;
  padding-bottom: 64px;
}
@media (max-width: 860px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
}
@media (max-width: 500px) {
  .grid { grid-template-columns: 1fr; gap: 40px; padding-bottom: 60px; }
}
.story__img-wrap {
  display: block;
  overflow: hidden;
  margin-bottom: 16px;
}
.story__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s;
}
.story:hover .story__img { opacity: 0.82; }
.story__fallback {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #f3f3f3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.story__fallback svg  { width: 20px; height: 20px; color: #ccc; }
.story__fallback span { font-size: 0.56rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: #ccc; }
.story__kicker {
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #C0392B;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 3px;
  background: #C0392B;
  color: #fff;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  vertical-align: middle;
}

.live-tag::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  animation: livePulse 1.5s ease-in-out infinite;
}
.story__title {
  font-size: 0.97rem;
  font-weight: 700;
  color: #111;
  line-height: 1.35;
  letter-spacing: 0;
  margin-bottom: 8px;
  display: block;
  transition: color 0.15s;
}
.story__title:hover { color: #555; }
.story__excerpt {
  font-size: 0.78rem;
  color: #888;
  line-height: 1.65;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.story__meta {
  font-size: 0.61rem;
  font-weight: 500;
  color: #bbb;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pager {
  display: flex;
  justify-content: center;
  gap: 2px;
  padding-bottom: 64px;
}
.pager a,
.pager span {
  font-size: 0.74rem;
  font-weight: 600;
  color: #ccc;
  padding: 8px 12px;
  transition: color 0.15s;
}
.pager a:hover { color: #111; }
.pager .on     { color: #111; }

/* ============================================================
   FOOTER — compact single row
   ============================================================ */
.foot {
  background: #fafafa;
  padding: 24px 0;
}

.foot__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.foot__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.foot__logo {
  font-size: 0.9rem;
  font-weight: 900;
  color: #111;
  letter-spacing: -0.3px;
}

.foot__links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.foot__links a {
  font-size: 0.72rem;
  color: #999;
  transition: color 0.15s;
}
.foot__links a:hover { color: #111; }

.foot__copy {
  font-size: 0.64rem;
  color: #bbb;
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .foot__inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .foot__links { flex-wrap: wrap; gap: 12px; }
}

/* ============================================================
   READING BAR (sticky on scroll, article pages only)
   ============================================================ */
.reading-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transform: translateY(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.reading-bar--visible {
  transform: translateY(0);
}

.reading-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  gap: 16px;
}

.reading-bar__left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.reading-bar__title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0;
}

.reading-bar__share {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 999px;
  background: #C0392B;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  transition: opacity 0.15s;
  flex-shrink: 0;
}
.reading-bar__share:hover { opacity: 0.85; }

@media (max-width: 700px) {
  .reading-bar__title { font-size: 0.78rem; }
  .reading-bar__share span { display: none; }
  .reading-bar__share { width: 36px; height: 36px; padding: 0; border-radius: 50%; justify-content: center; }
}

/* ============================================================
   ARTICLE PAGE
   ============================================================ */
.art-breadcrumb {
  padding-top: 28px;
  padding-bottom: 4px;
  font-size: 0.64rem;
  font-weight: 500;
  color: #bbb;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.art-breadcrumb a       { color: #bbb; transition: color 0.15s; }
.art-breadcrumb a:hover { color: #111; }
.art-breadcrumb span    { color: #111; }

.art-header {
  padding-top: 32px;
  padding-bottom: 28px;
}
.art-kicker {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #C0392B;
  margin-bottom: 14px;
  display: block;
}
.art-title {
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  font-weight: 800;
  color: #111;
  line-height: 1.1;
  letter-spacing: 0;
  margin-bottom: 20px;
}
.art-standfirst {
  font-size: clamp(0.95rem, 1.8vw, 1.08rem);
  color: #555;
  line-height: 1.75;
  margin-bottom: 18px;
}
.art-byline {
  font-size: 0.71rem;
  font-weight: 500;
  color: #bbb;
}
.art-byline strong { color: #666; font-weight: 600; }

/* Article image — full container width, capped height */
.art-img-wrap {
  padding-top: 8px;
}
.art-img-wrap img {
  width: 100%;
  display: block;
  max-height: 480px;
  object-fit: cover;
  border-radius: 4px;
}
.art-img-wrap figcaption { font-size: 0.63rem; color: #bbb; margin-top: 8px; }

.art-fallback {
  padding-top: 8px;
}
.art-fallback__inner {
  width: 100%;
  height: 220px;
  background: #f3f3f3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.art-fallback__inner svg  { width: 32px; height: 32px; color: #ccc; }
.art-fallback__inner span { font-size: 0.6rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: #ccc; }

/* Article body — full width */
.art-body {
  padding-top: 44px;
  padding-bottom: 16px;
}

.art-body p {
  font-size: clamp(1rem, 1.5vw, 1.06rem);
  line-height: 1.9;
  color: #222;
  margin-bottom: 1.5em;
}
.art-body h2 {
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
  font-weight: 800;
  color: #111;
  margin: 2em 0 0.6em;
  line-height: 1.2;
  letter-spacing: -0.3px;
}
.art-body h3 {
  font-size: clamp(1rem, 2vw, 1.22rem);
  font-weight: 700;
  color: #111;
  margin: 1.8em 0 0.5em;
}
.art-body ul,
.art-body ol  { padding-left: 1.4em; margin-bottom: 1.5em; }
.art-body li  { font-size: 1rem; line-height: 1.8; color: #222; margin-bottom: 0.3em; }
.art-body blockquote { margin: 2em 0; padding-left: 20px; }
.art-body blockquote p { font-weight: 500; color: #555; }
.art-body a    { color: #111; text-decoration: underline; text-underline-offset: 3px; }
.art-body strong { font-weight: 700; }

/* Share section */
.art-share {
  padding-top: 32px;
  padding-bottom: 12px;
}
.art-share__label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #bbb;
  margin-bottom: 14px;
  display: block;
}
.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sh-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
  white-space: nowrap;
}
.sh-btn:hover { opacity: 0.8; }
.sh-btn--fb     { background: #1877f2; color: #fff; }
.sh-btn--wa     { background: #25d366; color: #fff; }
.sh-btn--x      { background: #111;    color: #fff; }
.sh-btn--cp     { background: #f0f0f0; color: #111; }
@media (max-width: 480px) {
  .share-row    { flex-direction: column; }
  .sh-btn       { justify-content: center; }
}

/* Tags */
.art-tags {
  padding-top: 12px;
  padding-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.art-tags__label {
  font-size: 0.59rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #999;
}
.art-tags__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.art-tags a {
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  background: #C0392B;
  padding: 6px 14px;
  border-radius: 0;
  text-decoration: none;
  transition: opacity 0.15s;
  letter-spacing: 0.02em;
}
.art-tags a:hover {
  opacity: 0.8;
}

/* More Stories */
.more {
  background: #f8f8f8;
  padding-top: 52px;
  padding-bottom: 72px;
  margin-top: 52px;
}
.more__heading {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #C0392B;
  margin-bottom: 32px;
}

/* ============================================================
   LIVE UPDATES (public article page) — BBC-style timeline
   ============================================================ */
.live-updates {
  padding-top: 40px;
  padding-bottom: 40px;
}

.live-updates__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.live-updates__badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 4px;
  background: #C0392B;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
}

/* Pulsing dot inside badge */
.live-updates__badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.3; }
}

.live-updates__label {
  font-size: 0.84rem;
  font-weight: 700;
  color: #111;
}

.live-updates__list {
  list-style: none;
  position: relative;
  padding-left: 28px;
}

/* Vertical line */
.live-updates__list::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: #e8e8e8;
}

.live-updates__item {
  position: relative;
  padding-bottom: 32px;
}
.live-updates__item:last-child { padding-bottom: 0; }

/* Timeline dot */
.live-updates__item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #C0392B;
  z-index: 1;
}

/* First item gets a filled dot */
.live-updates__item:first-child::before {
  background: #C0392B;
  border-color: #C0392B;
}

.live-updates__time {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  color: #999;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.live-updates__content {
  flex: 1;
  min-width: 0;
}

.live-updates__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 6px;
  line-height: 1.3;
}

.live-updates__text {
  font-size: 0.84rem;
  color: #555;
  line-height: 1.7;
}

.live-updates__img {
  display: block;
  max-width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 6px;
  margin-top: 14px;
}

/* Ended state */
.live-updates--ended {
  opacity: 0.7;
}

.live-updates--ended .live-updates__list::before {
  background: #ddd;
}

.live-updates--ended .live-updates__item::before {
  border-color: #ccc;
  background: #fff;
}

.live-updates--ended .live-updates__item:first-child::before {
  background: #ccc;
  border-color: #ccc;
}

.live-updates--ended .live-updates__time {
  color: #bbb;
}

.live-updates__badge--ended {
  background: #999;
  animation: none;
}

.live-updates__badge--ended::before {
  display: none;
}

/* ============================================================
   FOLLOW SLIDE-UP BAR
   ============================================================ */
.follow-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: #C0392B;
  color: #fff;
  padding: 18px 48px;
  display: flex;
  align-items: center;
  gap: 20px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.follow-bar.visible {
  transform: translateY(0);
}

.follow-bar__dots {
  flex-shrink: 0;
}

.follow-bar__text {
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.9);
  flex: 1;
}

.follow-bar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.follow-pill--share {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: none;
  cursor: pointer;
}
.follow-pill--share:hover { background: rgba(255,255,255,0.25); }

.follow-bar__close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  padding: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border-radius: 50%;
  transition: color 0.15s, background 0.15s;
  margin-left: 8px;
  flex-shrink: 0;
}
.follow-bar__close:hover { color: #fff; background: rgba(255,255,255,0.15); }

@media (max-width: 640px) {
  .follow-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 20px 20px;
    gap: 14px;
  }
  .follow-bar__dots { display: none; }
  .follow-bar__text { font-size: 0.78rem; }
  .follow-bar__actions {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
  }
  .follow-bar__actions .follow-pill {
    width: 100%;
    justify-content: center;
    padding: 11px 10px;
    border-radius: 999px;
    font-size: 0.7rem;
  }
  .follow-bar__actions .follow-pill span { display: inline; }
  .follow-bar__close {
    position: absolute;
    top: 12px;
    right: 12px;
    margin: 0;
  }
}

/* ============================================================
   MISC
   ============================================================ */
.notice {
  font-size: 0.84rem;
  color: #bbb;
  padding: 32px 0;
}
