/*
Theme Name: GSK Redesign Project Theme
Theme URI: https://gskinitiative.org
Author: Segun Daniels Software Consulting
Author URI: https://gskinitiative.org
Description: A modern, fully custom NGO theme for GSK Initiative. Built from scratch — no parent theme required.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gsk-redesign
Tags: custom-logo, custom-menu, featured-images, sticky-post, translation-ready
*/

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --sky:       #2e9dbf;
  --sky2:      #1a7d9e;
  --sky-pale:  #edf7fb;
  --crimson:   #c0392b;
  --crim-dark: #9b2d1f;
  --crim-pale: #fef2f1;
  --pink:      #d4607a;
  --pink2:     #b84d67;
  --pink-pale: #fdf0f3;
  --black:     #161616;
  --white:     #fff;
  --off:       #f8f8f6;
  --muted:     #666;
  --border:    #e8e8e8;
  --serif:     'Lora', Georgia, serif;
  --sans:      'Outfit', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--black);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
button { font-family: var(--sans); cursor: pointer; }

/* ============================================================
   ACCESSIBILITY — SKIP LINK
   ============================================================ */
.gsk-skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--sky);
  color: #fff;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 14px;
  z-index: 99999;
  transition: top .2s;
}
.gsk-skip-link:focus { top: 8px; }

/* ============================================================
   TOPBAR
   ============================================================ */
.gsk-topbar {
  background: var(--sky2);
  padding: 9px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,.82);
  font-family: var(--sans);
}
.gsk-topbar a {
  color: #fff;
  font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,.4);
  cursor: pointer;
  transition: opacity .2s;
}
.gsk-topbar a:hover { opacity: .8; }

/* ============================================================
   NEWS TICKER
   ============================================================ */
.gsk-ticker { background: var(--black); overflow: hidden; white-space: nowrap; }
.gsk-tinner {
  display: inline-block;
  padding: 10px 0;
  animation: gskTicker 34s linear infinite;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.58);
  letter-spacing: .02em;
}
.gsk-ticker:hover .gsk-tinner { animation-play-state: paused; }
.gsk-tinner span { margin-right: 68px; }
.gsk-tinner span::before { content: '— '; }
.gsk-tinner .accent { color: var(--pink); }
@keyframes gskTicker {
  from { transform: translateX(100vw); }
  to   { transform: translateX(-100%); }
}

/* ============================================================
   SITE HEADER
   ============================================================ */
.gsk-site-header {
  background: var(--white);
  border-bottom: 4px solid var(--sky);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 5%;
}
.gsk-logo {
  display: flex;
  align-items: center;
  width: auto;
  max-width: fit-content;
}
.gsk-logo svg {
  width: auto;
  max-width: 200px;
  height: 60px;
}
.gsk-logo { display: flex; align-items: center; margin-left: 0; }
.gsk-logo img,
.gsk-logo svg { height: 60px; width: auto; max-width: 220px; }
.gsk-logo img { height: 60px; width: auto; }
.gsk-logo-text {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--black);
}
.gsk-logo-text span { color: var(--sky); }

.gsk-hd-right { display: flex; align-items: center; gap: 32px; }
.gsk-hd-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.gsk-hd-meta span { font-size: 12.5px; color: var(--muted); font-weight: 500; }

.gsk-btn-donate {
  background: var(--crimson);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 13px 28px;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: none;
  transition: background .2s, transform .2s;
}
.gsk-btn-donate:hover { background: var(--crim-dark); transform: translateY(-1px); }

/* ============================================================
   STICKY NAV
   ============================================================ */
.gsk-nav {
  background: var(--sky);
  position: sticky;
  top: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 54px;
  transition: box-shadow .3s;
}
.gsk-nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.2); }

/* Primary menu — WP outputs a <ul> */
.gsk-nav-links { display: flex; align-items: center; }
.gsk-nav-links ul { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
.gsk-nav-links ul li a {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: rgba(255,255,255,.88);
  padding: 0 17px;
  line-height: 54px;
  letter-spacing: .01em;
  transition: background .15s, color .15s;
}
.gsk-nav-links ul li a:hover,
.gsk-nav-links ul li.current-menu-item > a,
.gsk-nav-links ul li.current_page_item > a { color: #fff; background: rgba(255,255,255,.15); }

/* Dropdown */
.gsk-nav-links ul li { position: relative; }
.gsk-nav-links ul li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 200px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  z-index: 999;
  flex-direction: column;
}
.gsk-nav-links ul li:hover > ul { display: flex; }
.gsk-nav-links ul li ul li a {
  color: var(--black);
  background: var(--white);
  line-height: 1.4;
  padding: 12px 20px;
  font-size: 13.5px;
  border-bottom: 1px solid var(--border);
}
.gsk-nav-links ul li ul li a:hover { background: var(--sky-pale); color: var(--sky2); }

.gsk-nav-right { display: flex; align-items: center; gap: 14px; }

.gsk-nav-search-btn {
  color: rgba(255,255,255,.82);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  background: none;
  border: none;
  transition: color .2s;
  padding: 0;
}
.gsk-nav-search-btn:hover { color: #fff; }

.gsk-nav-donate-sticky {
  background: var(--crimson);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 9px 20px;
  letter-spacing: .05em;
  text-transform: uppercase;
  border: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .3s, transform .3s, background .2s;
}
.gsk-nav-donate-sticky.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
.gsk-nav-donate-sticky:hover { background: var(--crim-dark); }

/* Mobile hamburger */
.gsk-nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
}
.gsk-nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: .3s;
}
.gsk-nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.gsk-nav-hamburger.open span:nth-child(2) { opacity: 0; }
.gsk-nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile slide-down menu */
.gsk-mobile-nav {
  display: none;
  background: var(--sky2);
  padding: 0;
  overflow: hidden;
  max-height: 0;
  transition: max-height .4s ease;
}
.gsk-mobile-nav.open { max-height: 600px; }
.gsk-mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.gsk-mobile-nav ul li a {
  display: block;
  padding: 14px 5%;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  border-bottom: 1px solid rgba(255,255,255,.1);
  transition: background .2s;
}
.gsk-mobile-nav ul li a:hover { background: rgba(255,255,255,.1); }

/* ============================================================
   HERO
   ============================================================ */
.gsk-hero {
  position: relative;
  height: 90vh;
  min-height: 540px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.gsk-hero-slides { position: absolute; inset: 0; }
.gsk-hslide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: gskFade 21s infinite;
}
.gsk-hslide:nth-child(1) { animation-delay: 0s; }
.gsk-hslide:nth-child(2) { animation-delay: 7s; }
.gsk-hslide:nth-child(3) { animation-delay: 14s; }
@keyframes gskFade {
  0%, 100% { opacity: 0; }
  5%,  30%  { opacity: 1; }
  36%       { opacity: 0; }
}
.gsk-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(26,125,158,.74) 0%, rgba(192,57,43,.46) 60%, rgba(212,96,122,.36) 100%);
}
.gsk-hero-panel {
  position: relative;
  z-index: 2;
  margin-left: 5%;
  background: var(--white);
  padding: 56px 60px 56px 56px;
  max-width: 610px;
  animation: gskSlideIn 1s cubic-bezier(.16,1,.3,1) both;
}
@keyframes gskSlideIn {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}
.gsk-hero-panel::before {
  content: '';
  display: block;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--sky) 0%, var(--crimson) 55%, var(--pink) 100%);
  margin-bottom: 30px;
}
.gsk-hero-chip {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sky2);
  display: block;
  margin-bottom: 16px;
}
.gsk-hero-panel h1 {
  font-family: var(--serif);
  font-size: clamp(30px, 3.8vw, 50px);
  font-weight: 700;
  line-height: 1.12;
  color: var(--black);
  margin-bottom: 18px;
}
.gsk-hero-panel .gsk-hero-desc {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 30px;
}
.gsk-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.gsk-btn-sky {
  background: var(--sky);
  color: #fff;
  font-weight: 700;
  font-size: 14.5px;
  padding: 14px 30px;
  border: none;
  transition: background .2s;
  display: inline-block;
}
.gsk-btn-sky:hover { background: var(--sky2); color: #fff; }
.gsk-btn-outline {
  border: 2px solid var(--crimson);
  color: var(--crimson);
  font-weight: 700;
  font-size: 14.5px;
  padding: 12px 26px;
  background: transparent;
  transition: background .2s, color .2s;
  display: inline-block;
}
.gsk-btn-outline:hover { background: var(--crimson); color: #fff; }

/* ============================================================
   STAT BAR
   ============================================================ */
.gsk-statbar { display: grid; grid-template-columns: repeat(5, 1fr); }
.gsk-stat {
  padding: 28px 12px;
  text-align: center;
  color: #fff;
  position: relative;
}
.gsk-stat::after {
  content: '';
  position: absolute;
  right: 0; top: 18%; bottom: 18%;
  width: 1px;
  background: rgba(255,255,255,.2);
}
.gsk-stat:last-child::after { display: none; }
.gsk-stat:nth-child(1) { background: var(--sky2); }
.gsk-stat:nth-child(2) { background: var(--sky); }
.gsk-stat:nth-child(3) { background: var(--crimson); }
.gsk-stat:nth-child(4) { background: var(--pink2); }
.gsk-stat:nth-child(5) { background: var(--pink); }
.gsk-stat-n {
  display: block;
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}
.gsk-stat-l {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .9;
}

/* ============================================================
   SECTION SCAFFOLDING
   ============================================================ */
.gsk-sec { padding: 92px 5%; }
.gsk-sec-off { background: var(--off); }
.gsk-sec-pale { background: var(--sky-pale); }

.gsk-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 11px;
}
.gsk-eyebrow.sky { color: var(--sky2); }
.gsk-eyebrow.cr  { color: var(--crimson); }
.gsk-eyebrow.pk  { color: var(--pink); }

.gsk-sec-title {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  color: var(--black);
  line-height: 1.2;
  margin-bottom: 16px;
}
.gsk-sec-desc {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 540px;
}
.gsk-sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 52px;
  flex-wrap: wrap;
  gap: 20px;
}
.gsk-sec-head-left { flex: 1; min-width: 240px; }

.gsk-more-link {
  font-size: 14px;
  font-weight: 700;
  padding-bottom: 2px;
  transition: color .2s;
  white-space: nowrap;
}
.gsk-more-link.sky { color: var(--sky2);    border-bottom: 2px solid var(--sky); }
.gsk-more-link.sky:hover { color: var(--sky); }
.gsk-more-link.cr  { color: var(--crimson); border-bottom: 2px solid var(--crimson); }
.gsk-more-link.cr:hover  { color: var(--crim-dark); }
.gsk-more-link.pk  { color: var(--pink);    border-bottom: 2px solid var(--pink); }
.gsk-more-link.pk:hover  { color: var(--pink2); }

/* ============================================================
   PROGRAMS GRID
   ============================================================ */
.gsk-pgrid { display: grid; grid-template-columns: repeat(4, 1fr); }
.gsk-pcard {
  padding: 40px 28px;
  border: 1px solid var(--border);
  border-right: none;
  transition: background .25s;
  position: relative;
  overflow: hidden;
}
.gsk-pcard:last-child { border-right: 1px solid var(--border); }
.gsk-pcard::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}
.gsk-pcard:nth-child(1)::before { background: var(--sky); }
.gsk-pcard:nth-child(2)::before { background: var(--crimson); }
.gsk-pcard:nth-child(3)::before { background: var(--pink); }
.gsk-pcard:nth-child(4)::before { background: var(--sky2); }
.gsk-pcard:nth-child(1):hover { background: var(--sky-pale); }
.gsk-pcard:nth-child(2):hover { background: var(--crim-pale); }
.gsk-pcard:nth-child(3):hover { background: var(--pink-pale); }
.gsk-pcard:nth-child(4):hover { background: var(--sky-pale); }
.gsk-pcard-icon { font-size: 30px; margin-bottom: 18px; margin-top: 8px; }
.gsk-pcard:nth-child(1) .gsk-pcard-icon { color: var(--sky); }
.gsk-pcard:nth-child(2) .gsk-pcard-icon { color: var(--crimson); }
.gsk-pcard:nth-child(3) .gsk-pcard-icon { color: var(--pink); }
.gsk-pcard:nth-child(4) .gsk-pcard-icon { color: var(--sky2); }
.gsk-pcard h3 {
  font-family: var(--serif);
  font-size: 21px;
  color: var(--black);
  margin-bottom: 12px;
}
.gsk-pcard p { font-size: 15px; color: var(--muted); line-height: 1.74; }

/* ============================================================
   FEATURE SPLIT (Impact story)
   ============================================================ */
.gsk-feat { display: grid; grid-template-columns: 55% 45%; min-height: 500px; }
.gsk-feat-img { overflow: hidden; }
.gsk-feat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gsk-feat:hover .gsk-feat-img img { transform: scale(1.04); }
.gsk-feat-body {
  background: var(--crimson);
  padding: 68px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.gsk-feat-body .gsk-eyebrow { color: rgba(255,255,255,.65); }
.gsk-feat-body .gsk-sec-title { color: #fff; margin-bottom: 18px; }
.gsk-feat-body p { font-size: 17px; color: rgba(255,255,255,.84); line-height: 1.82; margin-bottom: 34px; }
.gsk-btn-white {
  background: #fff;
  font-weight: 700;
  font-size: 14.5px;
  padding: 15px 30px;
  display: inline-block;
  transition: background .2s;
  letter-spacing: .04em;
  text-transform: uppercase;
  align-self: flex-start;
  border: none;
}
.gsk-btn-white.cr { color: var(--crimson); }
.gsk-btn-white.cr:hover { background: var(--crim-pale); }
.gsk-btn-white.pk { color: var(--pink2); }
.gsk-btn-white.pk:hover { background: var(--pink-pale); }

/* ============================================================
   NEWS / STORIES GRID
   ============================================================ */
.gsk-ngrid { display: grid; grid-template-columns: repeat(3, 1fr); }
.gsk-article {
  overflow: hidden;
  border: 1px solid var(--border);
  border-right: none;
  transition: transform .3s, box-shadow .3s;
  position: relative;
}
.gsk-article:last-child { border-right: 1px solid var(--border); }
.gsk-article::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  opacity: 0;
  transition: opacity .3s;
}
.gsk-article:nth-child(1)::after { background: var(--sky); }
.gsk-article:nth-child(2)::after { background: var(--crimson); }
.gsk-article:nth-child(3)::after { background: var(--pink); }
.gsk-article:hover::after { opacity: 1; }
.gsk-article:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,.1); }

.gsk-thumb { height: 220px; overflow: hidden; }
.gsk-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gsk-article:hover .gsk-thumb img { transform: scale(1.06); }

.gsk-ngrid .gsk-article-body { padding: 24px 28px 28px; }
.gsk-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 12px;
  margin-bottom: 14px;
}
.gsk-tag.sky { color: var(--sky2);    background: var(--sky-pale); }
.gsk-tag.cr  { color: var(--crimson); background: var(--crim-pale); }
.gsk-tag.pk  { color: var(--pink2);   background: var(--pink-pale); }

.gsk-article-body h3 {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--black);
  margin-bottom: 10px;
  line-height: 1.3;
}
.gsk-article-body p { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 14px; }
.gsk-article-foot {
  font-size: 13px;
  color: var(--muted);
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.gsk-article-foot a { font-weight: 700; }
.gsk-article-foot a.sky { color: var(--sky2); }
.gsk-article-foot a.cr  { color: var(--crimson); }
.gsk-article-foot a.pk  { color: var(--pink); }

/* ============================================================
   PRINCIPLES
   ============================================================ */
.gsk-prin { display: grid; grid-template-columns: repeat(4, 1fr); }
.gsk-prin-card {
  padding: 42px 30px;
  position: relative;
  overflow: hidden;
}
.gsk-prin-card::before {
  content: attr(data-n);
  position: absolute;
  top: 14px; right: 14px;
  font-family: var(--serif);
  font-size: 66px;
  font-weight: 700;
  line-height: 1;
  opacity: .14;
  color: #fff;
}
.gsk-prin-card:nth-child(1) { background: var(--sky); }
.gsk-prin-card:nth-child(2) { background: var(--crimson); }
.gsk-prin-card:nth-child(3) { background: var(--pink); }
.gsk-prin-card:nth-child(4) { background: var(--sky2); }
.gsk-prin-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 12px; color: #fff; position: relative; }
.gsk-prin-card p  { font-size: 15px; line-height: 1.74; color: rgba(255,255,255,.84); position: relative; }

/* ============================================================
   EVENTS GRID
   ============================================================ */
.gsk-egrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--border);
}
.gsk-ecard {
  padding: 30px 34px;
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 20px;
  align-items: center;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background .2s;
  position: relative;
}
.gsk-ecard::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
}
.gsk-ecard:nth-child(odd)::before  { background: var(--sky); }
.gsk-ecard:nth-child(even)::before { background: var(--pink); }
.gsk-ecard:nth-child(2n)   { border-right: none; }
.gsk-ecard:nth-last-child(-n+2) { border-bottom: none; }
.gsk-ecard:nth-child(odd):hover  { background: var(--sky-pale); }
.gsk-ecard:nth-child(even):hover { background: var(--pink-pale); }

.gsk-edate { text-align: center; }
.gsk-edate .d {
  display: block;
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 700;
  color: var(--black);
  line-height: 1;
}
.gsk-ecard:nth-child(odd)  .gsk-edate .m { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sky2); }
.gsk-ecard:nth-child(even) .gsk-edate .m { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pink); }

.gsk-einfo h3 { font-size: 16px; font-weight: 600; color: var(--black); margin-bottom: 5px; line-height: 1.35; }
.gsk-einfo p  { font-size: 14px; color: var(--muted); }

/* ============================================================
   CTA BAND
   ============================================================ */
.gsk-cta-band {
  background: var(--pink);
  padding: 0 5%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  min-height: 190px;
}
.gsk-cta-band h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 2.8vw, 38px);
  color: #fff;
  margin-bottom: 8px;
}
.gsk-cta-band p { font-size: 16px; color: rgba(255,255,255,.82); }

/* ============================================================
   FOOTER
   ============================================================ */
.gsk-footer { background: #0f1618; color: rgba(255,255,255,.5); }
.gsk-footer-accent { height: 4px; background: linear-gradient(90deg, var(--sky) 0%, var(--crimson) 50%, var(--pink) 100%); }
.gsk-footer-top {
  padding: 60px 5% 44px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.gsk-footer-brand p {
  font-size: 14.5px;
  line-height: 1.82;
  color: rgba(255,255,255,.38);
  margin-top: 14px;
}
.gsk-footer-brand-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}
.gsk-footer-brand-name span { color: var(--pink); }

.gsk-footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.gsk-footer-col h4.sky { color: var(--sky); }
.gsk-footer-col h4.pk  { color: var(--pink); }
.gsk-footer-col h4.cr  { color: #e87a72; }
.gsk-footer-col ul { list-style: none; padding: 0; margin: 0; }
.gsk-footer-col li { margin-bottom: 11px; }
.gsk-footer-col a { font-size: 14.5px; color: rgba(255,255,255,.42); transition: color .2s; }
.gsk-footer-col a:hover { color: #fff; }

.gsk-footer-bottom {
  padding: 18px 5%;
  border-top: 1px solid rgba(255,255,255,.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 10px;
}
.gsk-footer-bottom a { color: rgba(255,255,255,.28); margin-left: 18px; transition: color .2s; }
.gsk-footer-bottom a:hover { color: #fff; }

/* ============================================================
   DONATE MODAL
   ============================================================ */
.gsk-modal-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.56);
  backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity .35s;
}
.gsk-modal-overlay.open { opacity: 1; pointer-events: all; }
.gsk-modal {
  background: #fff;
  width: 100%; max-width: 860px;
  display: grid; grid-template-columns: 1fr 1fr;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.3);
  transform: translateY(28px) scale(.97);
  transition: transform .35s cubic-bezier(.16,1,.3,1);
  max-height: 92vh;
  overflow-y: auto;
}
.gsk-modal-overlay.open .gsk-modal { transform: translateY(0) scale(1); }

.gsk-modal-left { position: relative; min-height: 380px; }
.gsk-modal-left img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.gsk-modal-left-shade {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(26,125,158,.5) 0%, rgba(192,57,43,.56) 100%);
}
.gsk-modal-left-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 34px 30px; }
.gsk-modal-icon {
  width: 54px; height: 54px;
  background: var(--sky); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.gsk-modal-icon i { color: #fff; font-size: 24px; }
.gsk-modal-left-content h2 {
  font-family: var(--serif); font-size: 24px; font-weight: 700;
  color: #fff; margin-bottom: 10px; line-height: 1.25;
}
.gsk-modal-left-content p { font-size: 14.5px; color: rgba(255,255,255,.86); line-height: 1.68; }

.gsk-modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.92); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--black);
  transition: transform .2s, background .2s; z-index: 2;
}
.gsk-modal-close:hover { background: #fff; transform: scale(1.1); }

.gsk-modal-right { padding: 38px 34px; display: flex; flex-direction: column; gap: 22px; }
.gsk-modal-title { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--black); margin-bottom: 5px; }
.gsk-modal-sub { font-size: 14px; color: var(--muted); }

.gsk-freq { display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--border); border-radius: 3px; overflow: hidden; }
.gsk-freq-btn {
  padding: 12px; text-align: center; font-size: 14.5px; font-weight: 700;
  cursor: pointer; border: none; background: #fff; font-family: var(--sans); color: var(--muted);
  transition: background .2s, color .2s;
}
.gsk-freq-btn.active { background: var(--sky); color: #fff; }
.gsk-freq-btn:first-child { border-right: 2px solid var(--border); }
.gsk-freq-btn.active:first-child { border-right-color: var(--sky); }

.gsk-amounts { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.gsk-amt {
  padding: 13px 6px; text-align: center; font-size: 16px; font-weight: 700;
  border: 2px solid var(--border); background: #fff; cursor: pointer; border-radius: 2px;
  font-family: var(--sans); color: var(--black); transition: border-color .2s, color .2s, background .2s;
}
.gsk-amt:hover { border-color: var(--sky); color: var(--sky); }
.gsk-amt.active { border-color: var(--sky); background: var(--sky-pale); color: var(--sky2); }

.gsk-custom-wrap {
  display: flex; align-items: center;
  border: 2px solid var(--border); border-radius: 2px;
  transition: border-color .2s;
}
.gsk-custom-wrap.focused { border-color: var(--sky); }
.gsk-currency { padding: 13px 15px; font-size: 17px; font-weight: 700; color: var(--black); }
.gsk-custom-input {
  flex: 1; border: none; outline: none; font-size: 17px; font-weight: 700;
  padding: 13px 0; font-family: var(--sans); color: var(--black); background: transparent;
}
.gsk-currency-code { padding: 13px 15px; font-size: 14px; color: var(--muted); font-weight: 600; }

.gsk-dedicate { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.gsk-dedicate input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--sky); cursor: pointer; }
.gsk-dedicate label { font-size: 14.5px; color: var(--black); cursor: pointer; }

.gsk-donate-submit {
  background: var(--sky); color: #fff; font-weight: 700; font-size: 16px;
  padding: 17px; text-align: center; border: none; cursor: pointer;
  font-family: var(--sans); letter-spacing: .04em; transition: background .2s; border-radius: 2px;
  width: 100%;
}
.gsk-donate-submit:hover { background: var(--sky2); }

.gsk-secure { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: var(--muted); }
.gsk-secure i { color: #27ae60; font-size: 15px; }

/* ============================================================
   SEARCH OVERLAY
   ============================================================ */
.gsk-search-overlay {
  position: fixed; inset: 0; z-index: 9998;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(4px);
  display: flex; flex-direction: column; align-items: center;
  padding: 80px 20px 40px;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.gsk-search-overlay.open { opacity: 1; pointer-events: all; }
.gsk-search-close-btn {
  position: absolute; top: 24px; right: 28px;
  background: transparent; border: none; color: #fff;
  font-size: 30px; cursor: pointer; opacity: .7; transition: opacity .2s; line-height: 1;
}
.gsk-search-close-btn:hover { opacity: 1; }
.gsk-search-box {
  width: 100%; max-width: 680px;
  background: #fff;
  display: flex; align-items: center;
  padding: 4px 4px 4px 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.gsk-search-box input {
  flex: 1; border: none; outline: none; font-size: 19px;
  font-family: var(--sans); padding: 13px 0; color: var(--black); background: transparent;
}
.gsk-search-box input::placeholder { color: #aaa; }
.gsk-search-go {
  background: var(--sky); color: #fff; border: none; cursor: pointer;
  padding: 15px 22px; font-size: 19px; transition: background .2s;
}
.gsk-search-go:hover { background: var(--sky2); }
.gsk-search-results-wrap { width: 100%; max-width: 680px; margin-top: 14px; }
.gsk-search-item {
  background: #fff; padding: 18px 22px; margin-bottom: 8px;
  cursor: pointer; transition: border-color .2s; border-left: 4px solid transparent;
}
.gsk-search-item:hover { border-left-color: var(--sky); }
.gsk-search-item .s-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--sky2); margin-bottom: 6px; display: block; }
.gsk-search-item h4 { font-size: 15px; font-weight: 700; color: var(--black); margin-bottom: 4px; }
.gsk-search-item p  { font-size: 13.5px; color: var(--muted); }
.gsk-search-none { color: rgba(255,255,255,.72); font-size: 15px; padding: 20px 0; text-align: center; }

/* ============================================================
   WP CORE COMPATIBILITY
   ============================================================ */
.screen-reader-text {
  clip: rect(1px,1px,1px,1px);
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  word-wrap: normal;
}
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--muted); padding: 6px 0; }
.alignleft  { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter{ display: block; margin: 0 auto 1em; }

/* Pagination */
.gsk-pagination { display: flex; gap: 8px; justify-content: center; padding: 40px 0; flex-wrap: wrap; }
.gsk-pagination a,
.gsk-pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border: 2px solid var(--border);
  font-weight: 700; font-size: 14px; color: var(--black);
  transition: .2s;
}
.gsk-pagination a:hover        { border-color: var(--sky); color: var(--sky); }
.gsk-pagination .current       { background: var(--sky); color: #fff; border-color: var(--sky); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .gsk-pgrid   { grid-template-columns: repeat(2, 1fr); }
  .gsk-footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .gsk-statbar { grid-template-columns: repeat(3, 1fr); }
  .gsk-stat:nth-child(4) { grid-column: 1; }
  .gsk-stat:nth-child(5) { grid-column: 2; }
  .gsk-hero-panel { margin: 5%; max-width: none; padding: 40px 36px; }
  .gsk-feat  { grid-template-columns: 1fr; }
  .gsk-feat-img  { height: 300px; }
  .gsk-feat-body { padding: 46px 36px; }
  .gsk-ngrid { grid-template-columns: 1fr 1fr; }
  .gsk-ngrid .gsk-article:last-child { border-right: 1px solid var(--border); }
  .gsk-prin  { grid-template-columns: repeat(2, 1fr); }
  .gsk-egrid { grid-template-columns: 1fr; }
  .gsk-ecard { border-right: none; border-bottom: 1px solid var(--border); }
  .gsk-ecard:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .gsk-ecard:last-child { border-bottom: none; }
  .gsk-cta-band { grid-template-columns: 1fr; min-height: auto; padding: 52px 5%; }
  .gsk-modal { grid-template-columns: 1fr; }
  .gsk-modal-left { min-height: 240px; }
}
@media (max-width: 768px) {
  .gsk-nav-links { display: none; }
  .gsk-nav-hamburger { display: flex; }
  .gsk-mobile-nav { display: block; }
  .gsk-ngrid { grid-template-columns: 1fr; }
  .gsk-ngrid .gsk-article { border-right: 1px solid var(--border); }
  .gsk-statbar { grid-template-columns: repeat(2, 1fr); }
  .gsk-pgrid  { grid-template-columns: 1fr; }
  .gsk-pcard  { border-right: 1px solid var(--border); border-bottom: none; }
  .gsk-pcard:last-child { border-bottom: 1px solid var(--border); }
  .gsk-prin   { grid-template-columns: 1fr 1fr; }
  .gsk-footer-top { grid-template-columns: 1fr; }
  .gsk-hd-meta { display: none; }
}
@media (max-width: 540px) {
  .gsk-prin { grid-template-columns: 1fr; }
  .gsk-modal-right { padding: 24px 18px; }
  .gsk-amounts { grid-template-columns: repeat(2, 1fr); }
  .gsk-topbar { font-size: 12px; }
  .gsk-hero-panel { padding: 30px 24px; }
  .gsk-sec { padding: 64px 5%; }
}

/* ── General page template fixes ── */
body.page .gsk-pg-hero {
    display: flex !important;
    min-height: 320px !important;
    overflow: hidden !important;
    background: var(--sky2) !important;
    position: relative !important;
    align-items: stretch !important;
}
body.page .gsk-pg-hero-accent {
    display: flex !important;
    flex-direction: column !important;
    width: 6px !important;
    flex-shrink: 0 !important;
    position: relative !important;
    z-index: 2 !important;
}
body.page .gsk-pg-accent-sky { flex: 1 !important; background: var(--sky) !important; }
body.page .gsk-pg-accent-cr  { flex: 1 !important; background: var(--crimson) !important; }
body.page .gsk-pg-accent-pk  { flex: 1 !important; background: var(--pink) !important; }
body.page .gsk-pg-hero-content {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 52px 48px !important;
    position: relative !important;
    z-index: 2 !important;
    flex: 1 !important;
    min-height: 320px !important;
}
body.page .gsk-pg-hero-img {
    position: absolute !important;
    inset: 0 !important;
    background-size: cover !important;
    background-position: center !important;
    z-index: 0 !important;
}
body.page .gsk-pg-hero-img-overlay {
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(to right, rgba(14,90,115,.92) 0%, rgba(14,90,115,.5) 100%) !important;
}
body.page .gsk-pg-breadcrumb {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 16px !important;
    color: rgba(255,255,255,.6) !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .1em !important;
}
body.page .gsk-pg-breadcrumb a { color: rgba(255,255,255,.6) !important; text-decoration: none !important; }
body.page .gsk-pg-title {
    display: block !important;
    font-family: var(--serif) !important;
    font-size: clamp(28px, 4vw, 52px) !important;
    font-weight: 700 !important;
    color: #fff !important;
    line-height: 1.1 !important;
    margin: 0 !important;
    text-shadow: 0 2px 16px rgba(0,0,0,.2) !important;
}
body.page .gsk-pg-title em {
    font-style: italic !important;
    color: rgba(255,255,255,.75) !important;
}
body.page .gsk-pg-body {
    display: block !important;
    padding: 64px 0 80px !important;
    background: var(--white) !important;
}
body.page .gsk-pg-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 5% !important;
}
body.page .gsk-pg-layout {
    display: grid !important;
    grid-template-columns: 1fr 300px !important;
    gap: 64px !important;
    align-items: start !important;
}
body.page .gsk-pg-sidebar {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
}
/* ── General page template fixes ── */
body.page .gsk-pg-entry {
    font-family: 'Outfit', system-ui, sans-serif !important;
    font-size: 16px !important;
    color: var(--black) !important;
    line-height: 1.85 !important;
}

body.page .gsk-pg-entry h1,
body.page .gsk-pg-entry h2,
body.page .gsk-pg-entry h3,
body.page .gsk-pg-entry h4 {
    font-family: 'Lora', Georgia, serif !important;
}
/* ── Share buttons force-row fix ── */
.gsk-pg-share {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    align-items: center !important;
    min-height: 44px !important;
}

.gsk-pg-share .gsk-pg-share-btn,
.gsk-pg-share a.gsk-pg-share-btn {
    display: inline-flex !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    flex-direction: row !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    float: none !important;      /* kills any float inheritance */
    clear: none !important;      /* kills clear: both from resets */
}
/* ============================================================
   SINGLE POST — ARTICLE HERO
   ============================================================ */

/* Progress bar */
#gsk-progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--sky) 0%, var(--crimson) 55%, var(--pink) 100%);
  z-index: 9999;
  transition: width .1s linear;
}

/* Hero wrapper — must be tall enough to absorb long titles */
.gsk-article-hero {
  position: relative;
  min-height: 560px;           /* enough room for long multi-line titles */
  display: flex;
  align-items: flex-end;       /* anchor content to bottom so it never clips upward */
  overflow: hidden;
}

/* Background image with Ken Burns zoom */
.gsk-article-hero-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  animation: gskHeroZoom 14s ease-in-out infinite alternate;
}
@keyframes gskHeroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}

/* Dark gradient overlay */
.gsk-article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.82) 0%,
    rgba(0,0,0,.55) 45%,
    rgba(0,0,0,.18) 100%
  );
}

/* Content sits on top of image + overlay */
.gsk-article-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  padding: 140px 5% 52px;   /* large top padding so breadcrumb is never clipped */
}

/* Breadcrumb */
.gsk-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 14px;
}
.gsk-breadcrumb a { color: rgba(255,255,255,.6); transition: color .2s; }
.gsk-breadcrumb a:hover { color: #fff; }
.gsk-breadcrumb .sep { color: rgba(255,255,255,.3); }
.gsk-breadcrumb .current { color: rgba(255,255,255,.45); }

/* Category pill */
.gsk-article-cat-pill {
  display: inline-block;
  background: var(--sky);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 14px;
  margin-bottom: 18px;
}

/* Article H1 inside hero */
.gsk-article-hero-content h1 {
  font-family: var(--serif);
  font-size: clamp(26px, 4vw, 52px);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 24px;
  text-shadow: 0 2px 16px rgba(0,0,0,.3);
}

/* Meta row */
.gsk-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  color: rgba(255,255,255,.78);
  font-size: 13.5px;
}
.gsk-meta-author { display: flex; align-items: center; gap: 10px; }
.gsk-meta-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,.4);
}
.gsk-meta-author-name { font-weight: 700; color: #fff; font-size: 14px; }
.gsk-meta-author-title { font-size: 12px; color: rgba(255,255,255,.55); }
.gsk-meta-divider { width: 1px; height: 20px; background: rgba(255,255,255,.25); }
.gsk-meta-item { display: flex; align-items: center; gap: 6px; }
.gsk-meta-item i { font-size: 13px; opacity: .7; }

/* Colour stripe below hero */
.gsk-color-stripe {
  height: 5px;
  background: linear-gradient(90deg, var(--sky) 0%, var(--crimson) 55%, var(--pink) 100%);
}

/* ============================================================
   SINGLE POST — TWO-COLUMN LAYOUT
   ============================================================ */
.gsk-article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 5% 80px;
  align-items: start;
}

/* Article body typography */
.gsk-article-body {
  font-size: 17px;
  line-height: 1.85;
  color: var(--black);
}
.gsk-article-body .gsk-lead {
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  color: var(--muted);
  border-left: 4px solid var(--sky);
  padding-left: 20px;
  margin-bottom: 32px;
  line-height: 1.7;
}
.gsk-article-body h2 {
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  color: var(--black);
  margin: 44px 0 16px;
  line-height: 1.2;
}
.gsk-article-body h3 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  color: var(--black);
  margin: 32px 0 12px;
}
.gsk-article-body p { margin-bottom: 24px; }
.gsk-article-body ul,
.gsk-article-body ol {
  margin: 0 0 24px 24px;
  list-style: disc;
  line-height: 1.85;
}
.gsk-article-body ol { list-style: decimal; }
.gsk-article-body li { margin-bottom: 8px; }
.gsk-article-body blockquote {
  border-left: 4px solid var(--crimson);
  background: var(--crim-pale);
  padding: 18px 24px;
  margin: 30px 0;
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
  color: var(--crim-dark);
  line-height: 1.7;
}
.gsk-article-body img {
  width: 100%;
  height: auto;
  margin: 28px 0;
}
.gsk-article-body a { color: var(--sky2); border-bottom: 1px solid var(--sky); transition: color .2s; }
.gsk-article-body a:hover { color: var(--sky); }

/* Tags */
.gsk-article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 36px 0 28px;
}
.gsk-tag-chip {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 14px;
  background: var(--sky-pale);
  color: var(--sky2);
  border: 1px solid rgba(46,157,191,.2);
  transition: background .2s, color .2s;
}
.gsk-tag-chip:hover { background: var(--sky); color: #fff; }

/* Share bar */
.gsk-share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.gsk-share-label { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-right: 4px; }
.gsk-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  font-size: 14px;
  border: none;
  color: #fff;
  cursor: pointer;
  transition: opacity .2s, transform .2s;
  text-decoration: none;
}
.gsk-share-btn:hover { opacity: .85; transform: translateY(-2px); }
.gsk-share-btn.fb { background: #1877f2; }
.gsk-share-btn.tw { background: #000; }
.gsk-share-btn.li { background: #0a66c2; }
.gsk-share-btn.wa { background: #25d366; }
.gsk-share-btn.cp { background: var(--sky); }

/* Author card */
.gsk-author-card {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 22px;
  align-items: start;
  background: var(--off);
  border: 1px solid var(--border);
  border-top: 4px solid var(--sky);
  padding: 28px;
  margin-top: 48px;
}
.gsk-author-card img { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; }
.gsk-author-card h4 { font-family: var(--serif); font-size: 19px; font-weight: 700; margin-bottom: 3px; }
.gsk-author-role { font-size: 12.5px; font-weight: 700; color: var(--sky2); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.gsk-author-card p { font-size: 14.5px; color: var(--muted); line-height: 1.72; margin: 0; }

/* ============================================================
   SINGLE POST — SIDEBAR
   ============================================================ */
.gsk-article-sidebar {
  position: sticky;
  top: 70px;                   /* clears the sticky nav */
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.gsk-sidebar-widget {
  border: 1px solid var(--border);
  padding: 24px;
  background: var(--white);
}

/* Sidebar widget title */
.gsk-sw-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sky2);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--sky-pale);
}
.gsk-sw-title.cr { color: var(--crimson); border-bottom-color: var(--crim-pale); }

/* Donate widget */
.gsk-donate-widget {
  background: linear-gradient(135deg, var(--sky2) 0%, var(--sky) 100%);
  border: none;
  color: #fff;
}
.gsk-donate-widget h3 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.3;
}
.gsk-donate-widget p { font-size: 14px; color: rgba(255,255,255,.84); line-height: 1.68; margin-bottom: 18px; }
.gsk-donate-widget-btn {
  display: block;
  width: 100%;
  background: var(--crimson);
  color: #fff;
  font-weight: 700;
  font-size: 14.5px;
  padding: 14px;
  border: none;
  cursor: pointer;
  letter-spacing: .05em;
  text-transform: uppercase;
  transition: background .2s;
  font-family: var(--sans);
}
.gsk-donate-widget-btn:hover { background: var(--crim-dark); }
.gsk-donate-widget-sub { font-size: 11.5px; color: rgba(255,255,255,.6); text-align: center; margin-top: 10px; }

/* TOC */
.gsk-toc-list { list-style: none; padding: 0; margin: 0; }
.gsk-toc-list li { border-bottom: 1px solid var(--border); }
.gsk-toc-list li:last-child { border-bottom: none; }
.gsk-toc-link {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  padding: 9px 0 9px 10px;
  border-left: 3px solid transparent;
  transition: color .2s, border-color .2s, background .2s;
  line-height: 1.45;
}
.gsk-toc-link:hover { color: var(--sky2); border-left-color: var(--sky); background: var(--sky-pale); }
.gsk-toc-link.gsk-toc-active { color: var(--sky2); border-left-color: var(--sky); font-weight: 700; }

/* Related posts in sidebar */
.gsk-related-post {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: background .2s;
}
.gsk-related-post:last-child { border-bottom: none; }
.gsk-related-post:hover { background: var(--sky-pale); }
.gsk-related-post img { width: 72px; height: 56px; object-fit: cover; border-radius: 2px; }
.gsk-rp-cat { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--sky2); margin-bottom: 4px; }
.gsk-rp-title { font-size: 13px; font-weight: 600; color: var(--black); line-height: 1.4; margin-bottom: 4px; }
.gsk-rp-date { font-size: 12px; color: var(--muted); }

/* Newsletter widget */
.gsk-nl-widget h3 { font-family: var(--serif); font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--black); }
.gsk-nl-widget p { font-size: 13.5px; color: var(--muted); margin-bottom: 14px; line-height: 1.6; }
.gsk-nl-input {
  width: 100%;
  border: 2px solid var(--border);
  padding: 11px 14px;
  font-size: 14px;
  font-family: var(--sans);
  outline: none;
  transition: border-color .2s;
  margin-bottom: 8px;
}
.gsk-nl-input:focus { border-color: var(--sky); }
.gsk-nl-btn {
  width: 100%;
  background: var(--sky);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 12px;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  letter-spacing: .04em;
  transition: background .2s;
}
.gsk-nl-btn:hover { background: var(--sky2); }

/* ============================================================
   SINGLE POST — RELATED ARTICLES SECTION (full-width)
   ============================================================ */
.gsk-related-sec {
  padding: 72px 5%;
  background: var(--off);
  border-top: 1px solid var(--border);
}
.gsk-related-sec-title {
  font-family: var(--serif);
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}
.gsk-related-sec-sub { font-size: 16px; color: var(--muted); margin-bottom: 40px; }
.gsk-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}
.gsk-rc {
  border-right: 1px solid var(--border);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
  background: var(--white);
}
.gsk-rc:last-child { border-right: none; }
.gsk-rc:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,.1); }
.gsk-rc-thumb { height: 210px; overflow: hidden; }
.gsk-rc-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gsk-rc:hover .gsk-rc-thumb img { transform: scale(1.06); }
.gsk-rc-body { padding: 24px; }
.gsk-rc-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 10px;
  margin-bottom: 12px;
}
.gsk-rc-tag.sky { color: var(--sky2);    background: var(--sky-pale); }
.gsk-rc-tag.cr  { color: var(--crimson); background: var(--crim-pale); }
.gsk-rc-tag.pk  { color: var(--pink2);   background: var(--pink-pale); }
.gsk-rc-body h3 { font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--black); line-height: 1.3; margin-bottom: 10px; }
.gsk-rc-body h3 a { color: inherit; transition: color .2s; }
.gsk-rc-body h3 a:hover { color: var(--sky2); }
.gsk-rc-body p { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 14px; }
.gsk-rc-foot { font-size: 12.5px; color: var(--muted); padding-top: 12px; border-top: 1px solid var(--border); }

/* ============================================================
   SINGLE POST — RESPONSIVE OVERRIDES
   ============================================================ */
@media (max-width: 1024px) {
  .gsk-article-layout {
    grid-template-columns: 1fr 300px;
    gap: 40px;
  }
}
@media (max-width: 860px) {
  .gsk-article-layout {
    grid-template-columns: 1fr;
  }
  .gsk-article-sidebar {
    position: static;
  }
  .gsk-article-hero {
    min-height: 480px;
  }
  .gsk-article-hero-content {
    padding: 120px 5% 40px;
  }
  .gsk-related-grid {
    grid-template-columns: 1fr;
  }
  .gsk-rc { border-right: none; border-bottom: 1px solid var(--border); }
  .gsk-rc:last-child { border-bottom: none; }
}
@media (max-width: 540px) {
  .gsk-article-hero {
    min-height: 420px;
  }
  .gsk-article-hero-content {
    padding: 100px 5% 32px;
  }
  .gsk-article-hero-content h1 {
    font-size: clamp(22px, 7vw, 34px);
  }
  .gsk-meta-row {
    gap: 10px;
    font-size: 12.5px;
  }
  .gsk-author-card {
    grid-template-columns: 1fr;
  }
  .gsk-article-layout {
    padding: 36px 5% 60px;
  }
}