/* =================================================================
   Guardian Feed — main.css
   The Guardian clone for guardianfeed.com
   ================================================================= */

/* ─── Design Tokens ──────────────────────────────────────────── */
:root {
  /* Six-pillar colour system — The Guardian's defining design pattern */
  --gf-news:        #052962;   /* Deep navy blue */
  --gf-opinion:     #c70000;   /* Red */
  --gf-sport:       #005689;   /* Blue-green */
  --gf-sport-acc:   #22874d;   /* Sport accent green */
  --gf-culture:     #6d0072;   /* Purple */
  --gf-lifestyle:   #b05681;   /* Pink/mauve */
  --gf-environment: #005f00;   /* Dark green */
  --gf-env-acc:     #22874d;   /* Environment accent */

  /* Neutral palette */
  --gf-text:        #121212;
  --gf-text-muted:  #767676;
  --gf-text-light:  #999999;
  --gf-bg:          #ffffff;
  --gf-bg-alt:      #f6f6f6;
  --gf-bg-section:  #ededed;
  --gf-border:      #dcdcdc;
  --gf-border-dark: #c0c0c0;

  /* Special */
  --gf-supporter:   #ffe500;   /* Supporter badge yellow */
  --gf-live:        #c70000;   /* Live dot red */
  --gf-breaking:    #c70000;

  /* Typography — closest approximation to Guardian Egyptian */
  --gf-font-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --gf-font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;

  /* Layout */
  --gf-max-w:  1300px;
  --gf-nav-h:  0px;
  --gf-pad:    16px;
}

/* ─── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--gf-font-sans); font-size: 15px; line-height: 1.5; color: var(--gf-text); background: var(--gf-bg); -webkit-font-smoothing: antialiased; }
img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

/* ─── Container ──────────────────────────────────────────────── */
.gf-container { max-width: var(--gf-max-w); margin: 0 auto; padding: 0 var(--gf-pad); }

/* ─── Pillar border — THE Guardian signature element ─────────── */
.gf-pillar-border--news        { border-top: 3px solid var(--gf-news); }
.gf-pillar-border--opinion     { border-top: 3px solid var(--gf-opinion); }
.gf-pillar-border--sport       { border-top: 3px solid var(--gf-sport-acc); }
.gf-pillar-border--culture     { border-top: 3px solid var(--gf-culture); }
.gf-pillar-border--lifestyle   { border-top: 3px solid var(--gf-lifestyle); }
.gf-pillar-border--environment { border-top: 3px solid var(--gf-environment); }

/* ─── Support Bar ────────────────────────────────────────────── */
.gf-support-bar { background: var(--gf-news); color: #fff; padding: 10px 0; }
.gf-support-bar__inner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.gf-support-bar__text { font-size: 14px; flex: 1; font-family: var(--gf-font-serif); line-height: 1.4; }
.gf-support-bar__text strong { font-weight: 700; }
.gf-support-bar__btn { background: var(--gf-supporter); color: var(--gf-news); padding: 6px 14px; font-size: 14px; font-weight: 700; border-radius: 2px; white-space: nowrap; transition: background .15s; text-decoration: none; flex-shrink: 0; }
.gf-support-bar__btn:hover { background: #ffd000; text-decoration: none; }
.gf-support-bar__close { color: rgba(255,255,255,.7); padding: 4px; flex-shrink: 0; transition: color .15s; }
.gf-support-bar__close:hover { color: #fff; }

/* ─── Masthead ───────────────────────────────────────────────── */
.gf-masthead { background: var(--gf-bg); border-bottom: 1px solid var(--gf-border); padding: 8px 0; }
.gf-masthead__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* Logo — Guardian stacks two words, different weights */
.gf-logo { display: flex; flex-direction: column; gap: 0; text-decoration: none; line-height: 1.05; }
.gf-logo__word1 { font-family: var(--gf-font-serif); font-size: 36px; font-weight: 900; color: var(--gf-news); letter-spacing: -.5px; line-height: 1; }
.gf-logo__word2 { font-family: var(--gf-font-serif); font-size: 36px; font-weight: 300; color: var(--gf-news); letter-spacing: -.5px; line-height: 1; }
.gf-logo--light .gf-logo__word1 { color: #fff; }
.gf-logo--light .gf-logo__word2 { color: rgba(255,255,255,.8); }
.gf-logo--dark  .gf-logo__word1 { color: var(--gf-news); }
.gf-logo--dark  .gf-logo__word2 { color: var(--gf-news); }

.gf-masthead__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.gf-masthead__date { font-size: 12px; color: var(--gf-text-muted); font-family: var(--gf-font-sans); }
.gf-masthead__icon-btn { color: var(--gf-text-muted); width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: background .15s, color .15s; }
.gf-masthead__icon-btn:hover { background: var(--gf-bg-alt); color: var(--gf-text); }
.gf-masthead__support-btn { background: var(--gf-supporter); color: var(--gf-news); padding: 7px 14px; font-size: 14px; font-weight: 700; border-radius: 2px; transition: background .15s; text-decoration: none; }
.gf-masthead__support-btn:hover { background: #ffd000; text-decoration: none; }
.gf-masthead__signin-btn { color: var(--gf-news); font-size: 14px; font-weight: 600; padding: 7px 14px; border: 1px solid var(--gf-border-dark); border-radius: 2px; transition: background .15s; }
.gf-masthead__signin-btn:hover { background: var(--gf-bg-alt); text-decoration: none; }
.gf-hamburger { display: none; flex-direction: column; gap: 4px; padding: 6px; align-items: center; justify-content: center; color: var(--gf-news); }

/* ─── Edition Strip ──────────────────────────────────────────── */
.gf-edition-strip { background: var(--gf-news); border-bottom: 1px solid rgba(255,255,255,.15); padding: 4px 0; }
.gf-edition-strip__inner { display: flex; align-items: center; gap: 4px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.gf-edition-strip__inner::-webkit-scrollbar { display: none; }
.gf-edition-strip__label { font-size: 12px; color: rgba(255,255,255,.65); font-family: var(--gf-font-sans); white-space: nowrap; margin-right: 4px; }
.gf-edition-strip__link { font-size: 13px; font-weight: 500; color: rgba(255,255,255,.75); padding: 3px 10px; border-radius: 20px; white-space: nowrap; transition: background .15s, color .15s; text-decoration: none; }
.gf-edition-strip__link:hover { background: rgba(255,255,255,.15); color: #fff; text-decoration: none; }
.gf-edition-strip__link.is-current { background: rgba(255,255,255,.2); color: #fff; font-weight: 700; }

/* ─── Primary Nav ────────────────────────────────────────────── */
.gf-nav-wrap { background: var(--gf-bg); border-bottom: 1px solid var(--gf-border); position: sticky; top: 0; z-index: 100; box-shadow: 0 1px 4px rgba(0,0,0,.07); }
.gf-nav__inner { display: flex; align-items: stretch; justify-content: space-between; }
.gf-nav__list { display: flex; align-items: stretch; overflow-x: auto; scrollbar-width: none; flex: 1; }
.gf-nav__list::-webkit-scrollbar { display: none; }
.gf-nav__item { display: flex; align-items: stretch; }
.gf-nav__link {
  display: flex;
  align-items: center;
  padding: 0 11px;
  font-family: var(--gf-font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--gf-text);
  white-space: nowrap;
  height: 44px;
  border-bottom: 3px solid transparent;
  transition: color .15s, border-color .15s;
  text-decoration: none;
}
.gf-nav__link:hover { text-decoration: none; }
/* Pillar-coloured underlines on hover */
.gf-nav__item--news        .gf-nav__link:hover { color: var(--gf-news);        border-bottom-color: var(--gf-news); }
.gf-nav__item--opinion     .gf-nav__link:hover { color: var(--gf-opinion);     border-bottom-color: var(--gf-opinion); }
.gf-nav__item--sport       .gf-nav__link:hover { color: var(--gf-sport-acc);   border-bottom-color: var(--gf-sport-acc); }
.gf-nav__item--culture     .gf-nav__link:hover { color: var(--gf-culture);     border-bottom-color: var(--gf-culture); }
.gf-nav__item--lifestyle   .gf-nav__link:hover { color: var(--gf-lifestyle);   border-bottom-color: var(--gf-lifestyle); }
.gf-nav__item--environment .gf-nav__link:hover { color: var(--gf-environment); border-bottom-color: var(--gf-environment); }
/* Active states */
.gf-nav__item--news.is-current        .gf-nav__link { color: var(--gf-news);        border-bottom-color: var(--gf-news); }
.gf-nav__item--opinion.is-current     .gf-nav__link { color: var(--gf-opinion);     border-bottom-color: var(--gf-opinion); }
.gf-nav__item--sport.is-current       .gf-nav__link { color: var(--gf-sport-acc);   border-bottom-color: var(--gf-sport-acc); }
.gf-nav__item--culture.is-current     .gf-nav__link { color: var(--gf-culture);     border-bottom-color: var(--gf-culture); }
.gf-nav__item--lifestyle.is-current   .gf-nav__link { color: var(--gf-lifestyle);   border-bottom-color: var(--gf-lifestyle); }
.gf-nav__item--environment.is-current .gf-nav__link { color: var(--gf-environment); border-bottom-color: var(--gf-environment); }
.gf-nav__all-btn { display: flex; align-items: center; gap: 4px; padding: 0 12px; font-size: 14px; font-weight: 600; color: var(--gf-text-muted); border-left: 1px solid var(--gf-border); flex-shrink: 0; transition: color .15s; }
.gf-nav__all-btn:hover { color: var(--gf-news); }

/* ─── Search Overlay ─────────────────────────────────────────── */
.gf-search-overlay { position: fixed; inset: 0; background: rgba(255,255,255,.97); z-index: 9999; display: flex; flex-direction: column; padding-top: 60px; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.gf-search-overlay.is-open { opacity: 1; visibility: visible; }
.gf-search-overlay__inner { max-width: 760px; margin: 0 auto; padding: 0 var(--gf-pad); width: 100%; }
.gf-search-overlay__close { position: absolute; top: 14px; right: 16px; display: flex; align-items: center; gap: 6px; color: var(--gf-text-muted); font-size: 13px; font-weight: 600; transition: color .15s; }
.gf-search-overlay__close:hover { color: var(--gf-news); }
.gf-search-overlay__popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.gf-search-overlay__popular-label { font-size: 12px; color: var(--gf-text-muted); font-weight: 600; }
.gf-search-overlay__tag { font-size: 13px; padding: 4px 10px; border: 1px solid var(--gf-border-dark); border-radius: 20px; color: var(--gf-text-muted); transition: border-color .12s, color .12s, background .12s; }
.gf-search-overlay__tag:hover { border-color: var(--gf-news); color: var(--gf-news); background: #e8f0f8; text-decoration: none; }

/* Search form */
.gf-search-form { display: flex; border-bottom: 2px solid var(--gf-news); }
.gf-search-form__input { flex: 1; height: 52px; border: none; font-family: var(--gf-font-serif); font-size: 22px; font-weight: 300; color: var(--gf-text); outline: none; background: transparent; padding-right: 12px; }
.gf-search-form__input::placeholder { color: var(--gf-border-dark); }
.gf-search-form__btn { width: 48px; height: 52px; display: flex; align-items: center; justify-content: center; color: var(--gf-news); flex-shrink: 0; transition: color .15s; }
.gf-search-form__btn:hover { color: var(--gf-text); }

/* ─── Story Labels ───────────────────────────────────────────── */
.gf-story-label {
  display: inline-block;
  font-family: var(--gf-font-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--gf-text-muted);
  margin-bottom: 3px;
  text-decoration: none;
}
.gf-story-label--analysis    { color: var(--gf-news); }
.gf-story-label--exclusive   { color: #4a2c6f; }
.gf-story-label--interview   { color: #4a2c6f; }
.gf-story-label--review      { color: var(--gf-culture); }
.gf-story-label--explainer   { color: #0e6b82; }
.gf-story-label--feature     { color: var(--gf-text-muted); }
.gf-story-label--opinion     { color: var(--gf-opinion); font-style: italic; }
.gf-story-label--breaking { color: var(--gf-breaking); font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.gf-story-label--live    { display: inline-flex; align-items: center; gap: 5px; color: var(--gf-live); font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.gf-story-label--large { font-size: 15px; }

/* Live dot */
.gf-live-dot { display: inline-block; width: 8px; height: 8px; background: var(--gf-live); border-radius: 50%; animation: gf-pulse 1.2s ease-in-out infinite; flex-shrink: 0; }
@keyframes gf-pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.7)} }
.gf-live-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: var(--gf-live); text-transform: uppercase; letter-spacing: .04em; }

/* Supporter badge */
.gf-supporter-badge { display: inline-block; background: var(--gf-supporter); color: var(--gf-news); font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 2px; }

/* ─── Section label pills ────────────────────────────────────── */
.gf-section-label { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; margin-bottom: 12px; border-bottom: 1px solid var(--gf-border); }
.gf-section-label--top-stories { border-bottom: 3px solid var(--gf-news); }
.gf-section-label__title { font-family: var(--gf-font-sans); font-size: 18px; font-weight: 700; color: var(--gf-news); letter-spacing: -.2px; }
.gf-section-label__more { font-size: 13px; color: var(--gf-text-muted); transition: color .15s; }
.gf-section-label__more:hover { color: var(--gf-news); }
.gf-section-label__pill {
  display: inline-block;
  font-family: var(--gf-font-sans);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 3px;
}
.gf-section-label__pill--news        { color: var(--gf-news); }
.gf-section-label__pill--opinion     { color: var(--gf-opinion); }
.gf-section-label__pill--sport       { color: var(--gf-sport-acc); }
.gf-section-label__pill--culture     { color: var(--gf-culture); }
.gf-section-label__pill--lifestyle   { color: var(--gf-lifestyle); }
.gf-section-label__pill--environment { color: var(--gf-environment); }
.gf-section-label__pill:hover { text-decoration: underline; }

/* ─── Homepage Front Grid ────────────────────────────────────── */
.gf-homepage { padding: 16px 0 48px; }
.gf-front-grid {
  display: grid;
  grid-template-columns: minmax(0,2fr) minmax(0,1fr) minmax(0,200px);
  grid-template-rows: auto auto;
  gap: 0;
  margin-bottom: 20px;
}

/* Lead story */
.gf-front-lead { grid-column: 1; grid-row: 1 / 2; padding: 0 16px 16px 0; border-right: 1px solid var(--gf-border); padding-top: 10px; }
.gf-front-lead__img-wrap { display: block; overflow: hidden; margin-bottom: 10px; }
.gf-front-lead__img { width: 100%; aspect-ratio: 5/3; object-fit: cover; }
.gf-front-lead__headline { font-family: var(--gf-font-serif); font-size: 28px; font-weight: 700; line-height: 1.2; color: var(--gf-text); margin: 6px 0 8px; letter-spacing: -.3px; }
.gf-front-lead__headline a:hover { text-decoration: underline; text-underline-offset: 3px; }
.gf-front-lead__standfirst { font-family: var(--gf-font-serif); font-size: 16px; color: var(--gf-text-muted); line-height: 1.45; margin-bottom: 8px; }
.gf-front-lead__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* Second story */
.gf-front-second { grid-column: 2; grid-row: 1 / 2; padding: 10px 16px 16px; border-right: 1px solid var(--gf-border); }
.gf-front-second__img-wrap { display: block; overflow: hidden; margin-bottom: 8px; }
.gf-front-second__img { width: 100%; aspect-ratio: 5/3; object-fit: cover; }
.gf-front-second__headline { font-family: var(--gf-font-serif); font-size: 20px; font-weight: 700; line-height: 1.25; color: var(--gf-text); margin: 5px 0 6px; }
.gf-front-second__headline a:hover { text-decoration: underline; }
.gf-front-second__standfirst { font-size: 14px; color: var(--gf-text-muted); font-family: var(--gf-font-serif); line-height: 1.4; }
.gf-front-second__meta { margin-top: 6px; }

/* Third stories 2-up grid */
.gf-front-thirds { grid-column: 1 / 3; grid-row: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--gf-border); border-right: 1px solid var(--gf-border); }
.gf-front-card { padding: 10px 16px 12px 0; border-right: 1px solid var(--gf-border); }
.gf-front-card:last-child { border-right: none; }
.gf-front-card__img-wrap { display: block; overflow: hidden; margin-bottom: 8px; }
.gf-front-card__img { width: 100%; aspect-ratio: 5/3; object-fit: cover; }
.gf-front-card__headline { font-family: var(--gf-font-serif); font-size: 17px; font-weight: 700; line-height: 1.25; color: var(--gf-text); margin: 4px 0 5px; }
.gf-front-card__headline a:hover { text-decoration: underline; }
.gf-front-card__meta {}

/* Right column */
.gf-front-right-col { grid-column: 3; grid-row: 1 / 3; padding: 10px 0 0 16px; border-left: 1px solid var(--gf-border); }
.gf-front-right-col__title { font-size: 13px; font-weight: 700; color: var(--gf-text-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--gf-border); }
.gf-front-news-item { display: grid; grid-template-columns: 1fr 60px; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--gf-border); align-items: start; }
.gf-front-news-item__headline { font-family: var(--gf-font-serif); font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--gf-text); grid-column: 1; }
.gf-front-news-item__headline a:hover { text-decoration: underline; }
.gf-front-news-item__thumb-wrap { grid-column: 2; overflow: hidden; }
.gf-front-news-item__thumb { width: 100%; aspect-ratio: 5/3; object-fit: cover; }

/* ─── Pillar Section Headers ─────────────────────────────────── */
.gf-pillar-section { padding: 16px 0; border-top: 3px solid var(--gf-border); margin-top: 20px; }
.gf-pillar-section__header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 8px; margin-bottom: 14px; border-bottom: 1px solid var(--gf-border); }
.gf-pillar-section__title { font-family: var(--gf-font-sans); font-size: 20px; font-weight: 800; letter-spacing: -.2px; }
.gf-pillar-section__more { font-size: 14px; color: var(--gf-text-muted); font-weight: 600; transition: color .15s; }
.gf-pillar-section__more:hover { text-decoration: underline; }
/* Pillar-coloured headers */
.gf-pillar-section--opinion    { border-top-color: var(--gf-opinion); }
.gf-pillar-section--opinion    .gf-pillar-section__title { color: var(--gf-opinion); }
.gf-pillar-section--sport      { border-top-color: var(--gf-sport-acc); }
.gf-pillar-section--sport      .gf-pillar-section__title { color: var(--gf-sport-acc); }
.gf-pillar-section--culture    { border-top-color: var(--gf-culture); }
.gf-pillar-section--culture    .gf-pillar-section__title { color: var(--gf-culture); }
.gf-pillar-section--environment{ border-top-color: var(--gf-environment); }
.gf-pillar-section--environment.gf-pillar-section__title { color: var(--gf-environment); }
.gf-pillar-header--opinion     { border-bottom-color: var(--gf-opinion); }
.gf-pillar-header--sport       { border-bottom-color: var(--gf-sport-acc); }
.gf-pillar-header--culture     { border-bottom-color: var(--gf-culture); }
.gf-pillar-header--environment { border-bottom-color: var(--gf-environment); }

/* ─── Opinion Grid ───────────────────────────────────────────── */
.gf-opinion-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.gf-opinion-card { padding: 0 14px 12px 0; border-right: 1px solid var(--gf-border); }
.gf-opinion-card:last-child { border-right: none; }

/* Author portrait — THE defining Guardian opinion style */
.gf-opinion-card__author-wrap { display: flex; align-items: flex-end; gap: 8px; margin-bottom: 10px; }
.gf-opinion-card__portrait-wrap { flex-shrink: 0; overflow: hidden; border-radius: 4px; width: 100px; aspect-ratio: 3/4; }
.gf-opinion-card__portrait { width: 100%; height: 100%; object-fit: cover; }
.gf-opinion-card__portrait-wrap--avatar { width: 80px; height: 80px; border-radius: 50%; }
.gf-opinion-card__avatar { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.gf-opinion-card__author-text { }
.gf-opinion-card__author-name { display: block; font-family: var(--gf-font-sans); font-size: 14px; font-weight: 700; color: var(--gf-opinion); margin-bottom: 2px; }
.gf-opinion-card__author-name:hover { text-decoration: underline; }
.gf-opinion-card__author-role { font-size: 12px; color: var(--gf-text-muted); display: block; }
.gf-opinion-card__body {}
.gf-opinion-card__headline { font-family: var(--gf-font-serif); font-size: 17px; font-weight: 700; line-height: 1.25; color: var(--gf-text); margin: 4px 0 5px; font-style: italic; }
.gf-opinion-card__headline a:hover { text-decoration: underline; }
.gf-opinion-card__standfirst { font-size: 13px; color: var(--gf-text-muted); font-family: var(--gf-font-serif); line-height: 1.4; }
.gf-opinion-card__meta { font-size: 11px; color: var(--gf-text-light); margin-top: 5px; }

/* ─── Pillar Grid (sport / culture) ─────────────────────────── */
.gf-pillar-grid { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: 0; border-top: 1px solid var(--gf-border); }
.gf-pillar-lead { padding-right: 16px; border-right: 1px solid var(--gf-border); }
.gf-pillar-list { padding-left: 16px; display: flex; flex-direction: column; }

/* Environment grid */
.gf-env-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

/* ─── Standard Cards ─────────────────────────────────────────── */
.gf-card { padding-top: 10px; }
.gf-card__img-wrap { display: block; overflow: hidden; margin-bottom: 8px; aspect-ratio: 5/3; }
.gf-card__img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.gf-card__img-wrap:hover .gf-card__img { opacity: .9; }
.gf-card__body { }
.gf-card__headline { font-family: var(--gf-font-serif); font-size: 20px; font-weight: 700; line-height: 1.25; color: var(--gf-text); margin: 5px 0 6px; }
.gf-card__headline a:hover { text-decoration: underline; }
.gf-card__standfirst { font-size: 14px; color: var(--gf-text-muted); font-family: var(--gf-font-serif); line-height: 1.4; margin-bottom: 6px; }
.gf-card__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* Small card */
.gf-card-sm { display: grid; grid-template-columns: 1fr 100px; gap: 8px; padding-top: 10px; align-items: start; }
.gf-card-sm__img-wrap { overflow: hidden; aspect-ratio: 5/3; }
.gf-card-sm__img { width: 100%; height: 100%; object-fit: cover; }
.gf-card-sm__body { grid-column: 1; }
.gf-card-sm__img-wrap { grid-column: 2; }
.gf-card-sm__headline { font-family: var(--gf-font-serif); font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--gf-text); margin: 4px 0 5px; }
.gf-card-sm__headline a:hover { text-decoration: underline; }
.gf-card-sm__meta { font-size: 12px; color: var(--gf-text-light); }

/* News item */
.gf-news-item { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--gf-border); }
.gf-news-item__body { flex: 1; min-width: 0; }
.gf-news-item__headline { font-family: var(--gf-font-serif); font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--gf-text); margin: 3px 0 4px; }
.gf-news-item__headline a:hover { text-decoration: underline; }
.gf-news-item__meta { font-size: 12px; color: var(--gf-text-light); display: flex; align-items: center; gap: 6px; }
.gf-news-item__thumb-wrap { flex-shrink: 0; width: 80px; overflow: hidden; }
.gf-news-item__thumb { width: 100%; aspect-ratio: 5/3; object-fit: cover; }

/* ─── Most Viewed ────────────────────────────────────────────── */
.gf-most-viewed { margin-bottom: 24px; }
.gf-most-viewed__title { font-size: 14px; font-weight: 700; color: var(--gf-text); margin-bottom: 10px; padding-bottom: 8px; border-bottom: 3px solid var(--gf-news); font-family: var(--gf-font-sans); }
.gf-most-viewed__list { list-style: none; }
.gf-most-viewed__item { padding: 8px 0; border-bottom: 1px solid var(--gf-border); display: flex; gap: 8px; align-items: flex-start; }
.gf-most-viewed__num { font-family: var(--gf-font-serif); font-size: 22px; font-weight: 700; color: var(--gf-border-dark); width: 24px; flex-shrink: 0; line-height: 1; text-align: right; }
.gf-most-viewed__headline { font-family: var(--gf-font-serif); font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--gf-text); flex: 1; }
.gf-most-viewed__headline:hover { text-decoration: underline; }

/* ─── Byline ─────────────────────────────────────────────────── */
.gf-byline { display: flex; align-items: center; gap: 8px; }
.gf-byline__avatar { border-radius: 50%; flex-shrink: 0; }
.gf-byline__text { display: flex; flex-direction: column; gap: 1px; }
.gf-byline__name { font-size: 13px; font-weight: 700; color: var(--gf-text); text-decoration: none; transition: color .15s; }
.gf-byline__name:hover { color: var(--gf-news); text-decoration: underline; }
.gf-byline__role { font-size: 12px; color: var(--gf-text-muted); }
.gf-time { font-size: 12px; color: var(--gf-text-muted); }
.gf-date-full { font-size: 13px; color: var(--gf-text-muted); }

/* ─── Bottom Layout ──────────────────────────────────────────── */
.gf-bottom-layout { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 32px; align-items: start; margin-top: 24px; padding-top: 16px; border-top: 3px solid var(--gf-news); }
.gf-bottom-main {}
.gf-latest-section {}
.gf-latest-section__title { font-size: 18px; font-weight: 800; color: var(--gf-news); margin-bottom: 12px; font-family: var(--gf-font-sans); border-bottom: 3px solid var(--gf-news); padding-bottom: 8px; }
.gf-latest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.gf-latest-grid .gf-card-sm { padding: 10px 12px; border-bottom: 1px solid var(--gf-border); border-right: 1px solid var(--gf-border); }
.gf-latest-grid .gf-card-sm:nth-child(3n) { border-right: none; }
.gf-bottom-sidebar { position: sticky; top: calc(var(--gf-nav-h) + 12px); }

/* ─── Single Article ─────────────────────────────────────────── */
.gf-single-wrap { padding: 16px 0 60px; }
.gf-single-layout { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 40px; align-items: start; }
.gf-single__main { min-width: 0; max-width: 740px; }
.gf-single__sidebar { position: sticky; top: calc(var(--gf-nav-h) + 12px); }

.gf-single__labels { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.gf-single__section { font-size: 14px; }

/* Headline — Guardian's big, serif, weighted headline */
.gf-single__headline {
  font-family: var(--gf-font-serif);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--gf-text);
  margin-bottom: 12px;
  letter-spacing: -.3px;
}
.gf-single__headline--opinion { font-style: italic; color: var(--gf-opinion); }

.gf-single__standfirst { font-family: var(--gf-font-serif); font-size: 20px; font-weight: 300; color: var(--gf-text); line-height: 1.5; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--gf-border); }
.gf-single__byline-row { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.gf-single__meta { display: flex; flex-direction: column; gap: 2px; text-align: right; }
.gf-single__readtime { font-size: 12px; color: var(--gf-text-light); }
.gf-single__share-wrap { padding: 10px 0; border-top: 1px solid var(--gf-border); border-bottom: 1px solid var(--gf-border); margin-bottom: 16px; }

/* Hero image — Guardian goes full column width */
.gf-single__hero { margin-bottom: 16px; }
.gf-single__hero-img { width: 100%; }
.gf-single__hero-caption { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-top: 5px; }
.gf-single__hero-caption-text { font-size: 12px; color: var(--gf-text-muted); line-height: 1.4; flex: 1; font-style: italic; }
.gf-single__hero-credit { font-size: 11px; color: var(--gf-text-light); white-space: nowrap; }

/* Article body — Guardian Egyptian-style reading */
.gf-article-body { font-family: var(--gf-font-serif); font-size: 18px; line-height: 1.8; color: var(--gf-text); }
.gf-article-body p { margin-bottom: 22px; }
.gf-article-body h2 { font-family: var(--gf-font-serif); font-size: 24px; font-weight: 700; margin: 30px 0 12px; color: var(--gf-text); }
.gf-article-body h3 { font-family: var(--gf-font-serif); font-size: 20px; font-weight: 700; margin: 26px 0 10px; }
.gf-article-body a { color: var(--gf-news); text-decoration: underline; text-underline-offset: 2px; }
.gf-article-body a:hover { color: #0666cc; }
/* Guardian blockquotes: left-border, large italic serif */
.gf-article-body blockquote { margin: 28px 0; padding: 0 0 0 20px; border-left: 4px solid var(--gf-news); font-family: var(--gf-font-serif); font-size: 22px; font-style: italic; font-weight: 300; color: var(--gf-text); line-height: 1.5; }
.gf-article-body--opinion blockquote { border-left-color: var(--gf-opinion); }
.gf-article-body--sport blockquote { border-left-color: var(--gf-sport-acc); }
.gf-article-body--culture blockquote { border-left-color: var(--gf-culture); }
.gf-article-body blockquote cite { display: block; font-size: 14px; font-style: normal; font-weight: 700; color: var(--gf-text-muted); margin-top: 8px; font-family: var(--gf-font-sans); }
.gf-article-body ul, .gf-article-body ol { padding-left: 22px; margin-bottom: 22px; }
.gf-article-body ul li { list-style: disc; margin-bottom: 6px; }
.gf-article-body ol li { list-style: decimal; margin-bottom: 6px; }
.gf-article-body figure { margin: 26px 0; }
.gf-article-body figcaption { font-size: 13px; color: var(--gf-text-muted); font-style: italic; margin-top: 5px; font-family: var(--gf-font-sans); line-height: 1.4; }

/* Tags */
.gf-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 24px 0; }
.gf-tag { display: inline-block; padding: 6px 12px; border: 1px solid var(--gf-border-dark); font-size: 13px; font-family: var(--gf-font-sans); color: var(--gf-text-muted); border-radius: 2px; transition: border-color .12s, color .12s; }
.gf-tag:hover { border-color: var(--gf-news); color: var(--gf-news); text-decoration: none; }

.gf-single__share-footer { padding: 12px 0; border-top: 1px solid var(--gf-border); border-bottom: 1px solid var(--gf-border); margin-bottom: 24px; }

/* Author card */
.gf-author-card { display: flex; gap: 16px; align-items: flex-start; padding: 16px; background: var(--gf-bg-alt); border-left: 3px solid var(--gf-news); margin: 24px 0; }
.gf-author-card__avatar { border-radius: 50%; flex-shrink: 0; }
.gf-author-card__name { display: block; font-family: var(--gf-font-sans); font-size: 16px; font-weight: 700; color: var(--gf-news); margin-bottom: 2px; text-decoration: none; }
.gf-author-card__name:hover { text-decoration: underline; }
.gf-author-card__role { font-size: 13px; color: var(--gf-text-muted); display: block; margin-bottom: 6px; }
.gf-author-card__bio { font-size: 14px; color: var(--gf-text); line-height: 1.5; font-family: var(--gf-font-serif); }

/* Support CTA */
.gf-single__support-cta { background: var(--gf-bg-alt); border: 1px solid var(--gf-border); padding: 16px 20px; margin: 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.gf-single__support-text { font-size: 15px; color: var(--gf-text); font-family: var(--gf-font-serif); flex: 1; }
.gf-single__support-btn { background: var(--gf-supporter); color: var(--gf-news); padding: 8px 16px; font-size: 14px; font-weight: 700; border-radius: 2px; text-decoration: none; white-space: nowrap; transition: background .15s; }
.gf-single__support-btn:hover { background: #ffd000; text-decoration: none; }

/* Related */
.gf-related { margin-top: 28px; padding-top: 16px; border-top: 3px solid var(--gf-news); }
.gf-related__title { font-size: 16px; font-weight: 700; color: var(--gf-text); margin-bottom: 12px; font-family: var(--gf-font-sans); }
.gf-related__list { display: flex; flex-direction: column; }

/* Social share */
.gf-share { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.gf-share__btn { display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border: 1px solid var(--gf-border-dark); border-radius: 2px; font-size: 13px; font-weight: 600; font-family: var(--gf-font-sans); color: var(--gf-text); transition: background .12s, border-color .12s, color .12s; background: var(--gf-bg); cursor: pointer; }
.gf-share__btn:hover { border-color: var(--gf-news); color: var(--gf-news); text-decoration: none; background: #e8f0f8; }
.gf-share__btn--fb:hover  { border-color: #1877f2; color: #1877f2; background: #e7f0fd; }
.gf-share__btn--tw:hover  { border-color: #000;    color: #000;    background: #f0f0f0; }
.gf-share__btn--wa:hover  { border-color: #25d366; color: #25d366; background: #e6fbee; }
.gf-share__btn--copy.is-copied { border-color: #059669; color: #059669; }

/* ─── Breadcrumb ─────────────────────────────────────────────── */
.gf-breadcrumb { margin-bottom: 10px; }
.gf-breadcrumb__list { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.gf-breadcrumb__list li { display: flex; align-items: center; gap: 4px; font-size: 12px; font-family: var(--gf-font-sans); color: var(--gf-text-muted); }
.gf-breadcrumb__list li:not(:last-child)::after { content: '/'; color: var(--gf-border-dark); margin-left: 4px; }
.gf-breadcrumb__list a { color: var(--gf-news); text-decoration: none; }
.gf-breadcrumb__list a:hover { text-decoration: underline; }

/* ─── Ad Placeholder ─────────────────────────────────────────── */
.gf-ad-placeholder { background: var(--gf-bg-section); border: 1px dashed var(--gf-border-dark); display: flex; align-items: center; justify-content: center; color: var(--gf-text-light); font-size: 11px; font-family: var(--gf-font-sans); letter-spacing: .08em; text-transform: uppercase; }
.gf-ad-placeholder--rect { height: 250px; margin-bottom: 16px; }

/* ─── Archive ────────────────────────────────────────────────── */
.gf-archive-header { padding: 20px 0; }
.gf-archive-header--news        { background: var(--gf-news); }
.gf-archive-header--opinion     { background: var(--gf-opinion); }
.gf-archive-header--sport       { background: var(--gf-sport-acc); }
.gf-archive-header--culture     { background: var(--gf-culture); }
.gf-archive-header--lifestyle   { background: var(--gf-lifestyle); }
.gf-archive-header--environment { background: var(--gf-environment); }
.gf-archive-header__kicker { display: block; font-size: 13px; font-family: var(--gf-font-sans); font-weight: 600; color: rgba(255,255,255,.8); margin-bottom: 4px; text-transform: uppercase; letter-spacing: .06em; }
.gf-archive-header__title { font-family: var(--gf-font-serif); font-size: 36px; font-weight: 700; color: #fff; letter-spacing: -.3px; margin-bottom: 6px; }
.gf-archive-header__desc { font-family: var(--gf-font-serif); font-size: 18px; color: rgba(255,255,255,.85); font-weight: 300; }
.gf-archive-header__count { font-size: 13px; color: rgba(255,255,255,.7); margin-top: 4px; font-family: var(--gf-font-sans); }
.gf-archive-author { display: flex; align-items: center; gap: 16px; }
.gf-archive-author__avatar { border-radius: 50%; }
.gf-archive__body { padding: 20px 0 48px; }
.gf-archive__main-sidebar { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 32px; align-items: start; }
.gf-archive__main {}
.gf-archive__sidebar { position: sticky; top: calc(var(--gf-nav-h) + 12px); }
.gf-archive-lead { max-width: 680px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--gf-border); }
.gf-archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.gf-archive-grid .gf-card-sm { padding: 10px 12px; border-bottom: 1px solid var(--gf-border); border-right: 1px solid var(--gf-border); }
.gf-archive-grid .gf-card-sm:nth-child(3n) { border-right: none; }

/* ─── Show More ──────────────────────────────────────────────── */
.gf-show-more-wrap { text-align: center; padding: 24px 0; }
.gf-show-more-btn { display: inline-flex; align-items: center; gap: 6px; padding: 12px 28px; background: transparent; border: 1px solid var(--gf-news); color: var(--gf-news); font-size: 15px; font-family: var(--gf-font-sans); font-weight: 700; border-radius: 2px; cursor: pointer; transition: background .15s, color .15s; }
.gf-show-more-btn:hover { background: var(--gf-news); color: #fff; }
.gf-show-more-btn:disabled { opacity: .5; cursor: not-allowed; }

/* ─── Newsletter Banner ──────────────────────────────────────── */
.gf-newsletter-banner { background: var(--gf-news); padding: 28px 0; }
.gf-newsletter-banner__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.gf-newsletter-banner__title { font-family: var(--gf-font-serif); font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.gf-newsletter-banner__desc { font-size: 15px; color: rgba(255,255,255,.8); font-family: var(--gf-font-serif); }
.gf-newsletter-banner__form { display: flex; flex: 0 0 380px; max-width: 380px; position: relative; }
.gf-newsletter-banner__input { flex: 1; height: 46px; padding: 0 12px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); border-right: none; color: #fff; font-size: 15px; outline: none; font-family: var(--gf-font-sans); }
.gf-newsletter-banner__input::placeholder { color: rgba(255,255,255,.55); }
.gf-newsletter-banner__btn { height: 46px; padding: 0 18px; background: var(--gf-supporter); color: var(--gf-news); font-size: 14px; font-family: var(--gf-font-sans); font-weight: 700; border: none; cursor: pointer; flex-shrink: 0; transition: background .15s; }
.gf-newsletter-banner__btn:hover { background: #ffd000; }
.gf-newsletter__msg { position: absolute; bottom: -20px; left: 0; font-size: 12px; color: rgba(255,255,255,.8); }

/* ─── Footer ─────────────────────────────────────────────────── */
.gf-footer__top { background: var(--gf-news); padding: 24px 0; border-top: 3px solid var(--gf-supporter); }
.gf-footer__logo-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.gf-footer__back-top { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.7); font-family: var(--gf-font-sans); text-decoration: none; transition: color .15s; }
.gf-footer__back-top:hover { color: #fff; }
.gf-footer__cols { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.gf-footer__col-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.55); margin-bottom: 10px; padding-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.15); font-family: var(--gf-font-sans); }
.gf-footer__list { display: flex; flex-direction: column; gap: 6px; }
.gf-footer__list a { font-size: 13px; color: rgba(255,255,255,.8); font-family: var(--gf-font-sans); text-decoration: none; transition: color .15s; }
.gf-footer__list a:hover { color: #fff; text-decoration: underline; }
.gf-footer__bottom { background: #041938; padding: 20px 0; }
.gf-footer__bottom-inner { display: flex; flex-direction: column; gap: 14px; }
.gf-footer__notice-wrap { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.1); }
.gf-footer__notice { font-size: 14px; color: rgba(255,255,255,.75); font-family: var(--gf-font-serif); flex: 1; line-height: 1.5; }
.gf-footer__support-btn { background: var(--gf-supporter); color: var(--gf-news); padding: 8px 16px; font-size: 14px; font-weight: 700; border-radius: 2px; white-space: nowrap; text-decoration: none; flex-shrink: 0; transition: background .15s; }
.gf-footer__support-btn:hover { background: #ffd000; text-decoration: none; }
.gf-footer__legal { display: flex; gap: 14px; flex-wrap: wrap; }
.gf-footer__legal-link { font-size: 12px; color: rgba(255,255,255,.55); font-family: var(--gf-font-sans); text-decoration: none; transition: color .15s; }
.gf-footer__legal-link:hover { color: #fff; text-decoration: underline; }
.gf-footer__copyright { font-size: 12px; color: rgba(255,255,255,.45); font-family: var(--gf-font-sans); }
.gf-footer__social { display: flex; gap: 8px; }
.gf-footer__social-link { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.1); border-radius: 50%; color: rgba(255,255,255,.7); transition: background .15s, color .15s; }
.gf-footer__social-link:hover { background: rgba(255,255,255,.25); color: #fff; }

/* ─── Mobile Menu ────────────────────────────────────────────── */
.gf-mobile-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.65); z-index: 500; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.gf-mobile-overlay.is-open { opacity: 1; visibility: visible; }
.gf-mobile-menu { position: fixed; top: 0; left: 0; width: 280px; height: 100%; background: var(--gf-news); z-index: 600; transform: translateX(-100%); transition: transform .28s ease; overflow-y: auto; display: flex; flex-direction: column; }
.gf-mobile-menu.is-open { transform: none; }
.gf-mobile-menu__header { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,.15); }
.gf-mobile-menu__close { color: rgba(255,255,255,.8); transition: color .15s; }
.gf-mobile-menu__close:hover { color: #fff; }
.gf-mobile-menu__search { padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,.15); }
.gf-mobile-menu__search .gf-search-form { border-bottom-color: rgba(255,255,255,.4); }
.gf-mobile-menu__search .gf-search-form__input { color: #fff; font-size: 16px; }
.gf-mobile-menu__search .gf-search-form__input::placeholder { color: rgba(255,255,255,.5); }
.gf-mobile-menu__search .gf-search-form__btn { color: rgba(255,255,255,.7); }
.gf-mobile-nav { flex: 1; }
.gf-mobile-nav__item { border-bottom: 1px solid rgba(255,255,255,.1); }
.gf-mobile-nav__link { display: block; padding: 12px 16px; font-size: 15px; font-family: var(--gf-font-sans); font-weight: 600; color: rgba(255,255,255,.85); text-decoration: none; transition: color .12s, background .12s; }
.gf-mobile-nav__link:hover { color: #fff; background: rgba(255,255,255,.08); }
/* Pillar colours in mobile nav */
.gf-mobile-nav__item--opinion   .gf-mobile-nav__link { color: #ff9090; }
.gf-mobile-nav__item--sport     .gf-mobile-nav__link { color: #7be8a7; }
.gf-mobile-nav__item--culture   .gf-mobile-nav__link { color: #e0a0e0; }
.gf-mobile-nav__item--lifestyle .gf-mobile-nav__link { color: #f0b0d0; }
.gf-mobile-nav__item--environment .gf-mobile-nav__link { color: #80e080; }
.gf-mobile-menu__footer { padding: 14px 16px; border-top: 1px solid rgba(255,255,255,.15); }
.gf-mobile-menu__support-btn { display: block; text-align: center; background: var(--gf-supporter); color: var(--gf-news); padding: 11px; font-size: 14px; font-weight: 700; border-radius: 2px; text-decoration: none; transition: background .15s; }
.gf-mobile-menu__support-btn:hover { background: #ffd000; }

/* ─── Buttons ────────────────────────────────────────────────── */
.gf-btn-primary { display: inline-flex; align-items: center; padding: 10px 22px; background: var(--gf-news); color: #fff; font-size: 15px; font-family: var(--gf-font-sans); font-weight: 700; border-radius: 2px; transition: background .15s; text-decoration: none; }
.gf-btn-primary:hover { background: #041938; color: #fff; text-decoration: none; }

/* ─── Page ───────────────────────────────────────────────────── */
.gf-page-wrap { padding: 20px 0 60px; }
.gf-page-layout { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 32px; align-items: start; }
.gf-page-sidebar { position: sticky; top: calc(var(--gf-nav-h) + 12px); }
.gf-page-article__title { font-family: var(--gf-font-serif); font-size: 30px; font-weight: 700; margin-bottom: 20px; line-height: 1.2; }
.gf-page-article__hero { margin-bottom: 20px; }
.gf-page-article__hero-img { width: 100%; }

/* ─── Error ──────────────────────────────────────────────────── */
.gf-error-page { padding: 60px 0; }
.gf-error-page__inner { max-width: 580px; }
.gf-error-page__title { font-family: var(--gf-font-serif); font-size: 32px; font-weight: 700; margin-bottom: 12px; }
.gf-error-page__text { font-size: 16px; color: var(--gf-text-muted); margin-bottom: 24px; font-family: var(--gf-font-serif); }
.gf-error-page .gf-search-form { max-width: 480px; margin-bottom: 20px; border-bottom: 2px solid var(--gf-news); }
.gf-error-page__links { margin-top: 20px; }

/* ─── Comments ───────────────────────────────────────────────── */
.gf-comments { padding: 28px 0; border-top: 3px solid var(--gf-news); margin-top: 24px; }
.gf-comments__title { font-family: var(--gf-font-serif); font-size: 22px; font-weight: 700; margin-bottom: 20px; }
.gf-comment-list { list-style: none; }
.gf-page-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.gf-page-links span, .gf-page-links a { padding: 5px 12px; font-size: 13px; border: 1px solid var(--gf-border-dark); font-family: var(--gf-font-sans); color: var(--gf-text); }
.gf-page-links a:hover, .gf-page-links .current { background: var(--gf-news); color: #fff; border-color: var(--gf-news); text-decoration: none; }

/* ─── No Results ─────────────────────────────────────────────── */
.gf-no-results { padding: 48px 20px; }
.gf-no-results__title { font-family: var(--gf-font-serif); font-size: 28px; font-weight: 700; margin-bottom: 10px; }
.gf-no-results__text { font-size: 16px; color: var(--gf-text-muted); margin-bottom: 20px; font-family: var(--gf-font-serif); }
.gf-no-results .gf-search-form { max-width: 480px; margin-bottom: 20px; border-bottom: 2px solid var(--gf-news); }
.gf-no-results__links { display: flex; flex-wrap: wrap; gap: 8px; }

/* ─── Back to top ────────────────────────────────────────────── */
.gf-back-top { position: fixed; bottom: 24px; right: 20px; width: 40px; height: 40px; background: var(--gf-news); color: #fff; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; z-index: 300; border-radius: 2px; }
.gf-back-top.is-visible { opacity: 1; visibility: visible; }

/* Read progress */
.gf-read-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--gf-news); z-index: 9999; transition: width .1s linear; pointer-events: none; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity .3s ease, transform .3s ease; }
.reveal.is-revealed { opacity: 1; transform: none; }

/* Widget */
.gf-widget { margin-bottom: 20px; }
.gf-widget__title { font-size: 14px; font-weight: 700; color: var(--gf-text); margin-bottom: 10px; border-bottom: 3px solid var(--gf-news); padding-bottom: 6px; font-family: var(--gf-font-sans); }

/* ─── Responsive ─────────────────────────────────────────────── */
@media ( max-width: 1100px ) {
  .gf-front-grid { grid-template-columns: minmax(0,2fr) minmax(0,1fr); }
  .gf-front-right-col { display: none; }
  .gf-front-thirds { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
  .gf-opinion-grid { grid-template-columns: repeat(3, 1fr); }
  .gf-footer__cols { grid-template-columns: repeat(3, 1fr); }
}
@media ( max-width: 900px ) {
  .gf-front-grid { grid-template-columns: 1fr; }
  .gf-front-second { border-right: none; border-top: 1px solid var(--gf-border); }
  .gf-front-thirds { grid-column: 1; grid-template-columns: repeat(2, 1fr); }
  .gf-single-layout, .gf-archive__main-sidebar, .gf-page-layout, .gf-bottom-layout { grid-template-columns: 1fr; }
  .gf-single__sidebar, .gf-archive__sidebar, .gf-page-sidebar, .gf-bottom-sidebar { position: static; }
  .gf-pillar-grid { grid-template-columns: 1fr; }
  .gf-pillar-list { border-left: none; padding-left: 0; border-top: 1px solid var(--gf-border); padding-top: 10px; }
  .gf-opinion-grid { grid-template-columns: repeat(2, 1fr); }
  .gf-env-grid { grid-template-columns: repeat(2, 1fr); }
  .gf-latest-grid { grid-template-columns: repeat(2, 1fr); }
  .gf-archive-grid { grid-template-columns: repeat(2, 1fr); }
  .gf-footer__cols { grid-template-columns: repeat(3, 1fr); }
}
@media ( max-width: 700px ) {
  :root { --gf-pad: 12px; }
  .gf-masthead__date, .gf-masthead__support-btn, .gf-masthead__signin-btn { display: none; }
  .gf-hamburger { display: flex; }
  .gf-nav__list { display: none; }
  .gf-nav__all-btn { display: none; }
  .gf-logo__word1, .gf-logo__word2 { font-size: 28px; }
  .gf-single__headline { font-size: 26px; }
  .gf-front-lead__headline { font-size: 22px; }
  .gf-front-thirds { grid-template-columns: 1fr; }
  .gf-opinion-grid { grid-template-columns: 1fr; }
  .gf-env-grid { grid-template-columns: 1fr; }
  .gf-latest-grid, .gf-archive-grid { grid-template-columns: 1fr; }
  .gf-footer__cols { grid-template-columns: 1fr 1fr; }
  .gf-newsletter-banner__inner { flex-direction: column; align-items: flex-start; }
  .gf-newsletter-banner__form { flex: 0 0 100%; max-width: 100%; }
  .gf-support-bar__inner { flex-wrap: wrap; }
  .gf-article-body { font-size: 16px; }
  .gf-single__standfirst { font-size: 18px; }
  .gf-archive-header__title { font-size: 28px; }
}
@media ( max-width: 480px ) {
  .gf-front-card { border-right: none; padding-right: 0; }
  .gf-footer__cols { grid-template-columns: 1fr; }
  .gf-share { gap: 4px; }
  .gf-share__btn span { display: none; }
  .gf-share__btn { padding: 6px 8px; }
}
