/* =============================================================
   GSK Redesign — Archive, Blog & Contact Page Styles
   Upload to theme folder and enqueue via functions.php
   ============================================================= */

/* ============================================================
   SHARED — PAGE HERO (archive + contact)
   ============================================================ */
   /* ── Contact info band fix ── */
.gsk-ct-info-band {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    border-bottom: 1px solid var(--border);
}

.gsk-ct-info-card {
    padding: 40px 32px;
    border-right: 1px solid var(--border);
}

.gsk-ct-info-card:last-child {
    border-right: none;
}

/* Stack on mobile */
@media (max-width: 768px) {
    .gsk-ct-info-band {
        grid-template-columns: 1fr !important;
    }
    .gsk-ct-info-card {
        border-right: none !important;
        border-bottom: 1px solid var(--border);
    }
}
.gsk-arch-hero,
.gsk-ct-hero {
  position: relative;
  background: var(--sky2);
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
}
.gsk-arch-hero-geo,
.gsk-ct-hero-geo {
  position: absolute;
  inset: 0;
}
.gsk-arch-geo-sky,
.gsk-ct-geo-sky {
  position: absolute;
  top: 0; left: 0;
  width: 55%; height: 100%;
  background: var(--sky2);
  clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
}
.gsk-arch-geo-cr,
.gsk-ct-geo-cr {
  position: absolute;
  top: 0; left: 38%;
  width: 38%; height: 100%;
  background: var(--crimson);
  clip-path: polygon(20% 0, 100% 0, 80% 100%, 0 100%);
}
.gsk-arch-geo-pk,
.gsk-ct-geo-pk {
  position: absolute;
  top: 0; right: 0;
  width: 32%; height: 100%;
  background: var(--pink);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
}
.gsk-arch-hero-content,
.gsk-ct-hero-content {
  position: relative;
  z-index: 2;
  padding: 48px 5% 44px;
  width: 100%;
}
.gsk-arch-bc {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 16px;
}
.gsk-arch-bc a { color: rgba(255,255,255,.6); transition: color .2s; }
.gsk-arch-bc a:hover { color: #fff; }
.gsk-arch-bc span { color: rgba(255,255,255,.35); }
.gsk-arch-bc span:last-child { color: rgba(255,255,255,.9); }

.gsk-arch-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 4px 12px;
  margin-bottom: 14px;
  border-radius: 2px;
}
.gsk-arch-eyebrow--sky  { background: rgba(46,157,191,.25); color: #fff; }
.gsk-arch-eyebrow--cr   { background: rgba(192,57,43,.3);   color: #fff; }
.gsk-arch-eyebrow--pk   { background: rgba(212,96,122,.3);  color: #fff; }
.gsk-arch-hero-content h1,
.gsk-ct-hero-content h1 {
  font-family: var(--serif);
  font-size: clamp(30px, 4.5vw, 58px);
  font-weight: 700;
  color: #fff;
  line-height: 1.08;
  max-width: 720px;
  text-shadow: 0 2px 20px rgba(0,0,0,.2);
  margin-bottom: 14px;
}
.gsk-ct-hero-content h1 em { font-style: italic; color: rgba(255,255,255,.75); }
.gsk-arch-desc {
  font-size: 16px;
  color: rgba(255,255,255,.8);
  line-height: 1.7;
  max-width: 580px;
}
.gsk-arch-stripe {
  height: 6px;
  background: linear-gradient(90deg, var(--sky) 0%, var(--crimson) 50%, var(--pink) 100%);
  display: block;
  margin: 0;
  line-height: 0;
  font-size: 0;
}

/* ============================================================
   ARCHIVE — CATEGORY FILTER BAR
   ============================================================ */
.gsk-arch-filters {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 5%;
  position: sticky;
  top: 52px; /* below nav */
  z-index: 800;
}
.gsk-arch-filters-inner {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 12px 0;
}
.gsk-arch-filters-inner::-webkit-scrollbar { display: none; }
.gsk-arch-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: var(--off);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  white-space: nowrap;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
  cursor: pointer;
}
.gsk-arch-filter-btn:hover {
  background: var(--sky-pale);
  color: var(--sky2);
  border-color: var(--sky);
}
.gsk-arch-filter-btn.active {
  background: var(--sky);
  color: #fff;
  border-color: var(--sky);
}
.gsk-arch-filter-btn--cr.active { background: var(--crimson); border-color: var(--crimson); }
.gsk-arch-filter-btn--pk.active { background: var(--pink2);   border-color: var(--pink2); }
.gsk-arch-filter-count {
  background: rgba(255,255,255,.3);
  border-radius: 10px;
  font-size: 10.5px;
  padding: 1px 6px;
  font-weight: 700;
}
.gsk-arch-filter-btn:not(.active) .gsk-arch-filter-count {
  background: var(--border);
  color: var(--muted);
}

/* ============================================================
   ARCHIVE — POSTS GRID
   ============================================================ */
.gsk-arch-body { padding: 56px 0 72px; }
.gsk-arch-container { max-width: 1280px; margin: 0 auto; padding: 0 5%; }

.gsk-arch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  margin-bottom: 56px;
}

/* ── Standard card ── */
.gsk-arch-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
  position: relative;
}
.gsk-arch-card:nth-child(3n) { border-right: none; }
.gsk-arch-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.1);
  z-index: 2;
}

/* ── Featured card (first post — spans full width) ── */
.gsk-arch-card--featured {
  grid-column: 1 / -1;
  flex-direction: row;
  border-right: none;
  min-height: 380px;
}
.gsk-arch-card--featured .gsk-arch-card-thumb {
  flex: 0 0 55%;
  height: auto;
}
.gsk-arch-card--featured .gsk-arch-card-body {
  flex: 1;
  padding: 48px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.gsk-arch-card--featured .gsk-arch-card-title {
  font-size: clamp(22px, 2.5vw, 32px);
  margin-bottom: 16px;
}
.gsk-arch-card--featured .gsk-arch-card-excerpt {
  font-size: 16px;
  -webkit-line-clamp: 4;
}

/* ── Thumbnail ── */
.gsk-arch-card-thumb {
  display: block;
  overflow: hidden;
  height: 220px;
  flex-shrink: 0;
  position: relative;
  text-decoration: none;
}
.gsk-arch-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s;
}
.gsk-arch-card:hover .gsk-arch-card-thumb img { transform: scale(1.05); }
.gsk-arch-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.18) 0%, transparent 50%);
  pointer-events: none;
}

/* ── Card body ── */
.gsk-arch-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.gsk-arch-card-meta-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.gsk-arch-cat {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 10px;
  text-decoration: none;
  border-radius: 2px;
  transition: filter .2s;
}
.gsk-arch-cat--sky { background: var(--sky-pale);  color: var(--sky2); }
.gsk-arch-cat--cr  { background: var(--crim-pale); color: var(--crimson); }
.gsk-arch-cat--pk  { background: var(--pink-pale); color: var(--pink2); }
.gsk-arch-cat:hover { filter: brightness(.92); }
.gsk-arch-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}
.gsk-arch-tag:hover { color: var(--sky2); }

.gsk-arch-card-title {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--black);
  line-height: 1.28;
  margin-bottom: 10px;
}
.gsk-arch-card-title a { text-decoration: none; color: inherit; transition: color .2s; }
.gsk-arch-card-title a:hover { color: var(--sky2); }

.gsk-arch-card-excerpt {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.72;
  flex: 1;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

/* ── Card footer ── */
.gsk-arch-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  gap: 10px;
  flex-wrap: wrap;
}
.gsk-arch-card-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--black);
}
.gsk-arch-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}
.gsk-arch-card-info {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}
.gsk-arch-dot { opacity: .4; }

/* ── Pagination ── */
.gsk-arch-pagination { display: flex; justify-content: center; }
.gsk-arch-pagination ul {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0; padding: 0;
}
.gsk-arch-pagination li a,
.gsk-arch-pagination li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 10px;
  border: 2px solid var(--border);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
  text-decoration: none;
  transition: border-color .2s, color .2s, background .2s;
}
.gsk-arch-pagination li a:hover { border-color: var(--sky); color: var(--sky); }
.gsk-arch-pagination li .current { background: var(--sky); color: #fff; border-color: var(--sky); }
.gsk-arch-pagination li .prev,
.gsk-arch-pagination li .next {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 18px;
}

/* ── Empty state ── */
.gsk-arch-empty {
  text-align: center;
  padding: 80px 20px;
  max-width: 480px;
  margin: 0 auto;
}
.gsk-arch-empty-icon {
  width: 80px; height: 80px;
  background: var(--off);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--muted);
  margin: 0 auto 24px;
}
.gsk-arch-empty h2 {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--black);
  margin-bottom: 12px;
}
.gsk-arch-empty p {
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.72;
  margin-bottom: 28px;
}
.gsk-arch-empty-btn {
  display: inline-block;
  background: var(--sky);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 13px 28px;
  text-decoration: none;
  transition: background .2s;
}
.gsk-arch-empty-btn:hover { background: var(--sky2); color: #fff; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */

/* ── Info band (4 cards) ── */
.gsk-ct-info-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--border);
}
.gsk-ct-info-card {
  padding: 40px 32px;
  border-right: 1px solid var(--border);
  transition: background .2s;
}
.gsk-ct-info-card:last-child { border-right: none; }
.gsk-ct-info-card:hover { background: var(--off); }
.gsk-ct-info-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 18px;
  flex-shrink: 0;
}
.gsk-ct-info-icon--sky  { background: var(--sky-pale);  color: var(--sky2); }
.gsk-ct-info-icon--cr   { background: var(--crim-pale); color: var(--crimson); }
.gsk-ct-info-icon--pk   { background: var(--pink-pale); color: var(--pink2); }
.gsk-ct-info-icon--sky2 { background: var(--sky-pale);  color: var(--sky2); }
.gsk-ct-info-card h3 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}
.gsk-ct-info-card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
}
.gsk-ct-info-card a { color: var(--sky2); text-decoration: none; }
.gsk-ct-info-card a:hover { color: var(--sky); text-decoration: underline; }

/* ── Main split: form + sidebar ── */
.gsk-ct-main {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 0;
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 5%;
  align-items: start;
}

/* ── Form wrap ── */
.gsk-ct-form-wrap { padding-right: 72px; border-right: 1px solid var(--border); }
.gsk-ct-form-header { margin-bottom: 40px; }
.gsk-ct-form-header h2 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--black);
  margin: 10px 0 10px;
}
.gsk-ct-form-header p { font-size: 15.5px; color: var(--muted); line-height: 1.7; }

/* ── Form fields ── */
.gsk-ct-form { display: flex; flex-direction: column; gap: 20px; }
.gsk-ct-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.gsk-ct-field { display: flex; flex-direction: column; gap: 6px; }
.gsk-ct-field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: .02em;
}
.gsk-ct-field label .req { color: var(--crimson); }
.gsk-ct-field input,
.gsk-ct-field select,
.gsk-ct-field textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--black);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 2px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
  -webkit-appearance: none;
}
.gsk-ct-field input:focus,
.gsk-ct-field select:focus,
.gsk-ct-field textarea:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(46,157,191,.12);
}
.gsk-ct-field input::placeholder,
.gsk-ct-field textarea::placeholder { color: #aaa; }
.gsk-ct-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.gsk-ct-field textarea { resize: vertical; min-height: 140px; }

/* ── Checkbox ── */
.gsk-ct-field--check .gsk-ct-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.gsk-ct-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--sky);
  flex-shrink: 0;
  cursor: pointer;
}
.gsk-ct-checkbox span {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}
.gsk-ct-checkbox a { color: var(--sky2); }

/* ── Submit button ── */
.gsk-ct-form-actions { display: flex; align-items: center; gap: 16px; }
.gsk-ct-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--sky);
  color: #fff;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
  padding: 15px 36px;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .2s;
  letter-spacing: .04em;
}
.gsk-ct-submit:hover { background: var(--sky2); transform: translateY(-1px); }
.gsk-ct-submit:disabled { background: #aaa; cursor: not-allowed; transform: none; }

/* ── Form messages ── */
.gsk-ct-form-msg {
  padding: 14px 18px;
  font-size: 14.5px;
  font-weight: 600;
  border-radius: 2px;
  display: none;
}
.gsk-ct-form-msg:not(:empty) { display: block; }
.gsk-ct-form-msg--ok  { background: #d4edda; color: #155724; border-left: 4px solid #28a745; }
.gsk-ct-form-msg--err { background: var(--crim-pale); color: var(--crim-dark); border-left: 4px solid var(--crimson); }

/* ── Sidebar ── */
.gsk-ct-sidebar { padding-left: 52px; display: flex; flex-direction: column; gap: 28px; }

/* Donate card */
.gsk-ct-donate-card {
  background: var(--crimson);
  padding: 32px 28px;
  text-align: center;
}
.gsk-ct-donate-card-icon {
  width: 56px; height: 56px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  margin: 0 auto 18px;
}
.gsk-ct-donate-card h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.3;
}
.gsk-ct-donate-card p {
  font-size: 14px;
  color: rgba(255,255,255,.82);
  line-height: 1.65;
  margin-bottom: 22px;
}
.gsk-ct-donate-btn {
  display: block;
  width: 100%;
  background: #fff;
  color: var(--crimson);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  padding: 13px;
  border: none;
  cursor: pointer;
  transition: background .2s;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.gsk-ct-donate-btn:hover { background: var(--crim-pale); }


/* ── Contact info band fix ── */
.gsk-ct-info-band {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    border-bottom: 1px solid var(--border);
}

.gsk-ct-info-card {
    padding: 40px 32px;
    border-right: 1px solid var(--border);
}

.gsk-ct-info-card:last-child {
    border-right: none;
}

/* Stack on mobile */
@media (max-width: 768px) {
    .gsk-ct-info-band {
        grid-template-columns: 1fr !important;
    }
    .gsk-ct-info-card {
        border-right: none !important;
        border-bottom: 1px solid var(--border);
    }
}

/* Social card */
.gsk-ct-social-card {
  background: var(--off);
  padding: 28px;
  border: 1px solid var(--border);
}
.gsk-ct-social-card h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 16px;
}
.gsk-ct-socials { display: flex; gap: 10px; flex-wrap: wrap; }
.gsk-ct-social {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #fff;
  text-decoration: none;
  transition: filter .2s, transform .2s;
}
.gsk-ct-social:hover { filter: brightness(.9); transform: scale(1.1); }
.gsk-ct-social--fb { background: #1877f2; }
.gsk-ct-social--tw { background: #000; }
.gsk-ct-social--ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.gsk-ct-social--li { background: #0a66c2; }
.gsk-ct-social--yt { background: #ff0000; }

/* Quick links card */
.gsk-ct-links-card {
  padding: 28px;
  border: 1px solid var(--border);
}
.gsk-ct-links-card h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--sky);
}
.gsk-ct-quick-links {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.gsk-ct-quick-links li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.gsk-ct-quick-links li:last-child { border-bottom: none; }
.gsk-ct-quick-links i { color: var(--sky); font-size: 11px; flex-shrink: 0; }
.gsk-ct-quick-links a { color: var(--black); text-decoration: none; transition: color .2s; font-weight: 500; }
.gsk-ct-quick-links a:hover { color: var(--sky2); }

/* ── Map ── */
.gsk-ct-map { height: 400px; overflow: hidden; }
.gsk-ct-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.gsk-ct-map-placeholder {
  height: 320px;
  background: linear-gradient(135deg, var(--sky2) 0%, var(--sky) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.gsk-ct-map-overlay {
  text-align: center;
  color: rgba(255,255,255,.85);
  padding: 20px;
}
.gsk-ct-map-overlay i { font-size: 40px; margin-bottom: 14px; display: block; opacity: .7; }
.gsk-ct-map-overlay p { font-size: 16px; font-weight: 600; line-height: 1.5; }
.gsk-ct-map-overlay small { font-size: 12px; opacity: .65; font-weight: 400; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .gsk-arch-grid { grid-template-columns: repeat(2, 1fr); }
  .gsk-arch-card:nth-child(3n)  { border-right: 1px solid var(--border); 
      
  }
  .gsk-arch-card:nth-child(2n)  { border-right: none; }
  .gsk-arch-card--featured { grid-column: 1 / -1; }
  .gsk-ct-info-band { grid-template-columns: repeat(2, 1fr); }
  .gsk-ct-info-card:nth-child(2) { border-right: none; }
  .gsk-ct-info-card:nth-child(3) { border-top: 1px solid var(--border); }
}
@media (max-width: 960px) {
  .gsk-arch-card--featured { flex-direction: column; }
  .gsk-arch-card--featured .gsk-arch-card-thumb { flex: none; height: 280px; }
  .gsk-arch-card--featured .gsk-arch-card-body { padding: 28px; }
  .gsk-ct-main { grid-template-columns: 1fr; padding: 52px 5%; }
  .gsk-ct-form-wrap { padding-right: 0; border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 52px; margin-bottom: 52px; }
  .gsk-ct-sidebar { padding-left: 0; flex-direction: row; flex-wrap: wrap; }
  .gsk-ct-donate-card { flex: 1 1 280px; }
  .gsk-ct-social-card, .gsk-ct-links-card { flex: 1 1 240px; }
}
@media (max-width: 768px) {
  .gsk-arch-grid { grid-template-columns: 1fr; }
  .gsk-arch-card { border-right: none !important; }
  .gsk-ct-info-band { grid-template-columns: 1fr; }
  .gsk-ct-info-card { border-right: none !important; border-bottom: 1px solid var(--border); }
  .gsk-ct-info-card:last-child { border-bottom: none; }
  .gsk-ct-form-row { grid-template-columns: 1fr; }
  .gsk-arch-hero-content h1 { font-size: clamp(26px, 6vw, 38px); }
  .gsk-arch-filters { top: 0; }
}
@media (max-width: 540px) {
  .gsk-arch-card--featured .gsk-arch-card-body { padding: 20px; }
  .gsk-ct-sidebar { flex-direction: column; }
}
/* =============================================================
   GSK — General Page Template (page.php)
   ============================================================= */

/* ── Prevent global CSS crushing this template ── */
.gsk-pg-main { padding: 0 !important; margin: 0 !important; }

/* ── Hero ── */
.gsk-pg-hero {
    display: flex !important;
    align-items: stretch;
    min-height: 280px;
    background: var(--sky2);
    overflow: hidden !important;
    position: relative;
}

/* Featured image as full background */
.gsk-pg-hero-img {
    position: absolute !important;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
    max-width: none;
}
.gsk-pg-hero-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(14,90,115,.92) 0%,
        rgba(14,90,115,.75) 50%,
        rgba(14,90,115,.4) 100%
    );
}

/* Left accent bar */
.gsk-pg-hero-accent {
    display: flex;
    flex-direction: column;
    width: 6px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}
.gsk-pg-accent-sky { flex: 1; background: var(--sky); }
.gsk-pg-accent-cr  { flex: 1; background: var(--crimson); }
.gsk-pg-accent-pk  { flex: 1; background: var(--pink); }

/* Title content — sits above image */
.gsk-pg-hero-content {
    position: relative;
    z-index: 2;
    padding: 48px 48px 44px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex: 1;
    max-width: 720px;
}

/* Geo decoration (no image case) */
.gsk-pg-hero-geo {
    position: absolute;
    right: 0; top: 0; bottom: 0;
    width: 340px;
    z-index: 1;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0,0,0,.06) 0%, transparent 100%);
}
.gsk-pg-geo-dot {
    position: absolute;
    border-radius: 50%;
    opacity: .08;
}
.gsk-pg-geo-dot--1 { width: 260px; height: 260px; background: #fff; bottom: -80px; right: -60px; }
.gsk-pg-geo-dot--2 { width: 140px; height: 140px; background: var(--crimson); top: 20px; right: 80px; }
.gsk-pg-geo-dot--3 { width: 80px; height: 80px; background: var(--pink); top: 100px; right: 20px; opacity: .12; }
.gsk-pg-geo-lines  { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Breadcrumb */
.gsk-pg-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.55);
    margin-bottom: 18px;
}
.gsk-pg-breadcrumb a {
    color: rgba(255,255,255,.55);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color .2s;
}
.gsk-pg-breadcrumb a:hover { color: #fff; }
.gsk-pg-bc-sep { font-size: 9px; opacity: .4; }
.gsk-pg-breadcrumb span { color: rgba(255,255,255,.9); }

/* Title */
.gsk-pg-title {
    font-family: var(--serif);
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin: 0 0 14px;
    max-width: 640px;
    text-shadow: 0 2px 16px rgba(0,0,0,.2);
}
.gsk-pg-title em { font-style: italic; color: rgba(255,255,255,.75); }

/* Subtitle/excerpt */
.gsk-pg-subtitle {
    font-size: 15.5px;
    color: rgba(255,255,255,.78);
    line-height: 1.7;
    max-width: 540px;
    margin: 0;
}
.gsk-pg-subtitle p { margin: 0; }

/* ── Reading progress bar ── */
.gsk-pg-progress {
    position: sticky;
    top: 0;
    z-index: 900;
    height: 3px;
    background: var(--border);
}
.gsk-pg-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--sky) 0%, var(--crimson) 60%, var(--pink) 100%);
    transition: width .1s linear;
}

/* ── Body layout ── */
.gsk-pg-body { padding: 64px 0 80px; background: var(--white); }
.gsk-pg-container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.gsk-pg-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 64px;
    align-items: start;
}

/* ── Mobile image ── */
.gsk-pg-content-img-mobile { display: none; }
.gsk-pg-content-img-mobile img { width: 100%; height: 260px; object-fit: cover; }

/* ── Entry content ── */
.gsk-pg-entry { font-size: 16px; color: var(--black); line-height: 1.85; }
.gsk-pg-entry h2 {
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 700;
    color: var(--black);
    margin: 44px 0 16px;
    padding-left: 16px;
    border-left: 4px solid var(--sky);
    line-height: 1.25;
}
.gsk-pg-entry h3 {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 700;
    color: var(--black);
    margin: 32px 0 12px;
}
.gsk-pg-entry h4 {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--sky2);
    margin: 28px 0 10px;
}
.gsk-pg-entry p { margin: 0 0 20px; }
.gsk-pg-entry a { color: var(--sky2); text-decoration: underline; text-underline-offset: 3px; }
.gsk-pg-entry a:hover { color: var(--sky); }
.gsk-pg-entry ul, .gsk-pg-entry ol { padding-left: 20px; margin: 0 0 20px; }
.gsk-pg-entry li { margin-bottom: 8px; }
.gsk-pg-entry blockquote {
    margin: 32px 0;
    padding: 20px 28px;
    border-left: 5px solid var(--crimson);
    background: var(--crim-pale);
    font-family: var(--serif);
    font-size: 18px;
    color: var(--crimson);
    line-height: 1.65;
    font-style: italic;
}
.gsk-pg-entry img { max-width: 100%; height: auto; display: block; margin: 28px 0; }
.gsk-pg-entry figure { margin: 28px 0; }
.gsk-pg-entry figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; font-style: italic; }
.gsk-pg-entry table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14.5px; }
.gsk-pg-entry th { background: var(--sky); color: #fff; font-weight: 700; padding: 10px 14px; text-align: left; }
.gsk-pg-entry td { padding: 10px 14px; border-bottom: 1px solid var(--border); }
.gsk-pg-entry tr:nth-child(even) td { background: var(--off); }

/* Edit link */
.gsk-pg-edit-link { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); }
.gsk-pg-edit-link a {
    font-size: 12.5px; font-weight: 600; color: var(--muted);
    text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: color .2s;
}
.gsk-pg-edit-link a:hover { color: var(--sky2); }

/* ── Sidebar ── */
.gsk-pg-sidebar { display: flex; flex-direction: column; gap: 24px; }
.gsk-pg-card-label {
    font-size: 11px; font-weight: 700; letter-spacing: .16em;
    text-transform: uppercase; color: var(--black);
    margin: 0 0 16px; padding-bottom: 10px; border-bottom: 2px solid var(--sky);
}

/* CTA card */
.gsk-pg-cta-card { background: var(--crimson); padding: 28px 24px; text-align: center; }
.gsk-pg-cta-icon {
    width: 52px; height: 52px; background: rgba(255,255,255,.15); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: #fff; margin: 0 auto 16px;
}
.gsk-pg-cta-card h3 { font-family: var(--serif); font-size: 18px; font-weight: 700; color: #fff; margin: 0 0 8px; line-height: 1.3; }
.gsk-pg-cta-card p { font-size: 13.5px; color: rgba(255,255,255,.82); line-height: 1.6; margin: 0 0 20px; }
.gsk-pg-cta-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; color: var(--crimson); font-family: var(--sans);
    font-weight: 700; font-size: 13.5px; padding: 12px 24px; border: none;
    cursor: pointer; width: 100%; justify-content: center;
    letter-spacing: .04em; text-transform: uppercase; transition: background .2s;
}
.gsk-pg-cta-btn:hover { background: var(--crim-pale); }

/* Nav card */
.gsk-pg-nav-card { padding: 24px; border: 1px solid var(--border); background: var(--white); }
.gsk-pg-nav-list { list-style: none; margin: 0; padding: 0; }
.gsk-pg-nav-list li {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 13.5px;
}
.gsk-pg-nav-list li:last-child { border-bottom: none; }
.gsk-pg-nav-list i { color: var(--sky); font-size: 11px; flex-shrink: 0; }
.gsk-pg-nav-list a { color: var(--black); text-decoration: none; font-weight: 500; transition: color .2s; }
.gsk-pg-nav-list a:hover { color: var(--sky2); }
.gsk-pg-nav-current { background: var(--sky-pale); margin: 0 -24px; padding: 10px 24px !important; border-bottom: 1px solid var(--border) !important; }
.gsk-pg-nav-current i { color: var(--sky2); }
.gsk-pg-nav-current a { color: var(--sky2); font-weight: 700; }

/* Share card */
.gsk-pg-share-card { padding: 24px; border: 1px solid var(--border); background: var(--off); }
.gsk-pg-share-btns { display: flex; gap: 8px; }
.gsk-pg-share {
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; color: #fff; text-decoration: none;
    border: none; cursor: pointer; transition: filter .2s, transform .2s;
}
.gsk-pg-share:hover { filter: brightness(.88); transform: scale(1.08); }
.gsk-pg-share--fb   { background: #1877f2; }
.gsk-pg-share--tw   { background: #000; }
.gsk-pg-share--li   { background: #0a66c2; }
.gsk-pg-share--copy { background: var(--sky); }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .gsk-pg-layout { grid-template-columns: 1fr 260px; gap: 40px; }
}
@media (max-width: 820px) {
    .gsk-pg-hero-geo { display: none; }
    .gsk-pg-hero-content { padding: 36px 24px 32px 20px; max-width: 100%; }
    .gsk-pg-layout { grid-template-columns: 1fr; }
    .gsk-pg-content-img-mobile { display: block; margin-bottom: 28px; }
    .gsk-pg-sidebar { flex-direction: row; flex-wrap: wrap; }
    .gsk-pg-cta-card { flex: 1 1 260px; }
    .gsk-pg-nav-card, .gsk-pg-share-card { flex: 1 1 220px; }
}
@media (max-width: 540px) {
    .gsk-pg-hero-content { padding: 28px 20px 24px 16px; }
    .gsk-pg-body { padding: 40px 0 56px; }
    .gsk-pg-sidebar { flex-direction: column; }
}