/* GrannySite.co.uk - Bespoke British Mature Companionship & Senior Dating Design System */
:root {
  --gsuk-primary: #9A3412;
  --gsuk-primary-dark: #7C2D12;
  --gsuk-primary-light: #FBF0EB;
  --gsuk-accent: #D97706;
  --gsuk-accent-glow: rgba(217, 119, 6, 0.16);
  --gsuk-bg: #FDFBF7;
  --gsuk-card: #FFFFFF;
  --gsuk-card-subtle: #F9F5EC;
  --gsuk-border: #E8DCCB;
  --gsuk-border-light: #F2EBE0;
  --gsuk-text-main: #1C1917;
  --gsuk-text-muted: #57504A;
  --gsuk-text-light: #78716C;
  --gsuk-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gsuk-shadow-sm: 0 2px 6px rgba(28, 25, 23, 0.05);
  --gsuk-shadow-md: 0 6px 18px rgba(28, 25, 23, 0.08);
  --gsuk-shadow-lg: 0 12px 30px rgba(154, 52, 18, 0.12);
  --gsuk-radius-sm: 6px;
  --gsuk-radius-md: 12px;
  --gsuk-radius-lg: 18px;
  --gsuk-radius-full: 9999px;
  --gsuk-transition: all 0.22s ease-in-out;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--gsuk-font);
  background-color: var(--gsuk-bg);
  color: var(--gsuk-text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gsuk-primary);
  text-decoration: none;
  transition: var(--gsuk-transition);
}

a:hover {
  color: var(--gsuk-primary-dark);
}

.gsuk-skip-link {
  position: absolute;
  top: -9999px;
  left: 1rem;
  background: var(--gsuk-primary);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 9999;
  border-radius: var(--gsuk-radius-sm);
  font-weight: 600;
}

.gsuk-skip-link:focus {
  top: 1rem;
}

/* Layout Container */
.gsuk-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.gsuk-container-narrow {
  max-width: 860px;
}

/* Header & Navigation */
.gsuk-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(253, 251, 247, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gsuk-border);
  padding: 0.75rem 0;
}

.gsuk-nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.gsuk-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gsuk-primary);
  letter-spacing: -0.02em;
}

.gsuk-logo img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  object-fit: cover;
  flex-shrink: 0;
}

.gsuk-mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--gsuk-border);
  padding: 6px 10px;
  border-radius: var(--gsuk-radius-sm);
  cursor: pointer;
  color: var(--gsuk-text-main);
  font-size: 1.15rem;
}

.gsuk-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.gsuk-nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gsuk-text-muted);
  padding: 0.5rem 0.25rem;
  position: relative;
}

.gsuk-nav-link:hover {
  color: var(--gsuk-primary);
}

.gsuk-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gsuk-primary);
  color: #fff !important;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.6rem 1.25rem;
  border-radius: var(--gsuk-radius-full);
  box-shadow: 0 2px 8px rgba(154, 52, 18, 0.25);
  transition: var(--gsuk-transition);
}

.gsuk-nav-cta:hover {
  background: var(--gsuk-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(154, 52, 18, 0.35);
}

/* Hero Section */
.gsuk-hero {
  position: relative;
  background: linear-gradient(180deg, rgba(253, 251, 247, 0.92) 0%, rgba(253, 251, 247, 0.97) 100%), url('/assets/images/banner.webp') center/cover no-repeat;
  border-bottom: 1px solid var(--gsuk-border);
  min-height: calc(100vh - 63px);
  min-height: calc(100dvh - 63px);
  display: flex;
  align-items: center;
  padding: 2.5rem 0;
  overflow: visible;
}

@media (max-width: 768px) {
  .gsuk-hero {
    background: linear-gradient(180deg, rgba(253, 251, 247, 0.92) 0%, rgba(253, 251, 247, 0.97) 100%), url('/assets/images/banner-mobile.webp') center/cover no-repeat;
  }
}

.gsuk-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.gsuk-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--gsuk-primary-light);
  color: var(--gsuk-primary-dark);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--gsuk-radius-full);
  border: 1px solid rgba(154, 52, 18, 0.2);
  margin-bottom: 1rem;
}

.gsuk-pill-dot {
  width: 8px;
  height: 8px;
  background: #16A34A;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.25);
  animation: gsukPulse 2s infinite;
}

@keyframes gsukPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.gsuk-hero-title {
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.025em;
  color: var(--gsuk-text-main);
  margin-bottom: 1.1rem;
}

.gsuk-hero-title span {
  color: var(--gsuk-primary);
}

.gsuk-hero-desc {
  font-size: 1.12rem;
  color: var(--gsuk-text-muted);
  line-height: 1.65;
  margin-bottom: 1.6rem;
}

.gsuk-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--gsuk-border);
}

.gsuk-trust-badge {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.86rem;
  color: var(--gsuk-text-muted);
  font-weight: 600;
}

.gsuk-trust-badge svg {
  color: var(--gsuk-primary);
  flex-shrink: 0;
}

/* Match Finder Widget */
.gsuk-finder-box {
  background: var(--gsuk-card);
  border: 1px solid var(--gsuk-border);
  border-radius: var(--gsuk-radius-lg);
  padding: 1.75rem;
  box-shadow: var(--gsuk-shadow-lg);
  position: relative;
}

.gsuk-finder-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--gsuk-border-light);
}

.gsuk-finder-heading {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gsuk-text-main);
}

.gsuk-finder-step {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--gsuk-card-subtle);
  color: var(--gsuk-primary);
  padding: 0.25rem 0.65rem;
  border-radius: var(--gsuk-radius-full);
}

.gsuk-form-group {
  margin-bottom: 1rem;
}

.gsuk-form-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--gsuk-text-main);
  margin-bottom: 0.4rem;
}

.gsuk-select, .gsuk-input {
  width: 100%;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--gsuk-text-main);
  background: #FAFAFA;
  border: 1.5px solid var(--gsuk-border);
  border-radius: var(--gsuk-radius-md);
  padding: 0.7rem 0.95rem;
  outline: none;
  transition: var(--gsuk-transition);
}

.gsuk-select:focus, .gsuk-input:focus {
  border-color: var(--gsuk-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(154, 52, 18, 0.12);
}

/* Custom Inline Dropdown List (No Native OS Popup) */
.gsuk-dropdown {
  position: relative;
  width: 100%;
}

.gsuk-dropdown-trigger {
  width: 100%;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gsuk-text-main);
  background: #FAFAFA;
  border: 1.5px solid var(--gsuk-border);
  border-radius: var(--gsuk-radius-md);
  padding: 0.7rem 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  text-align: left;
  transition: var(--gsuk-transition);
}

.gsuk-dropdown-trigger:hover {
  border-color: var(--gsuk-primary);
  background: #ffffff;
}

.gsuk-dropdown.open .gsuk-dropdown-trigger {
  outline: none;
  border-color: var(--gsuk-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(154, 52, 18, 0.12);
}

.gsuk-dropdown-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gsuk-dropdown-arrow {
  flex-shrink: 0;
  color: var(--gsuk-primary);
  transition: transform 0.2s ease;
}

.gsuk-dropdown.open .gsuk-dropdown-arrow {
  transform: rotate(180deg);
}

.gsuk-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 60;
  background: #ffffff;
  border: 1.5px solid var(--gsuk-primary);
  border-radius: var(--gsuk-radius-md);
  box-shadow: 0 12px 28px rgba(28, 25, 23, 0.16);
  list-style: none;
  padding: 6px;
  margin: 0;
  max-height: 205px;
  overflow-y: auto;
}

.gsuk-dropdown.open .gsuk-dropdown-menu {
  display: block;
}

.gsuk-dropdown-item {
  padding: 9px 12px;
  font-size: 0.9rem;
  color: var(--gsuk-text-main);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.gsuk-dropdown-item:hover,
.gsuk-dropdown-item.selected {
  background: var(--gsuk-primary-light);
  color: var(--gsuk-primary);
  font-weight: 700;
}

.gsuk-step-panel {
  display: block;
}

.gsuk-step-panel.is-hidden {
  display: none;
}

.gsuk-btn-group {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.gsuk-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: var(--gsuk-primary);
  color: #fff !important;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.85rem 1.5rem;
  border-radius: var(--gsuk-radius-md);
  border: none;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(154, 52, 18, 0.3);
  transition: var(--gsuk-transition);
}

.gsuk-btn-primary:hover {
  background: var(--gsuk-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(154, 52, 18, 0.4);
}

.gsuk-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gsuk-card-subtle);
  color: var(--gsuk-text-main);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 1.15rem;
  border-radius: var(--gsuk-radius-md);
  border: 1px solid var(--gsuk-border);
  cursor: pointer;
  transition: var(--gsuk-transition);
}

.gsuk-btn-secondary:hover {
  background: #EFE8DA;
}

.gsuk-finder-calculating {
  display: none;
  text-align: center;
  padding: 1.5rem 0.5rem;
}

.gsuk-spinner {
  width: 36px;
  height: 36px;
  border: 3.5px solid var(--gsuk-border);
  border-top-color: var(--gsuk-primary);
  border-radius: 50%;
  animation: gsukSpin 0.8s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes gsukSpin {
  to { transform: rotate(360deg); }
}

.gsuk-calc-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gsuk-primary);
}

/* Section Common */
.gsuk-section {
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--gsuk-border-light);
}

.gsuk-section-alt {
  background: #FAF6ED;
}

.gsuk-section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.5rem;
}

.gsuk-section-subtitle {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gsuk-primary);
  margin-bottom: 0.5rem;
  display: block;
}

.gsuk-section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gsuk-text-main);
  line-height: 1.25;
  margin-bottom: 0.85rem;
}

.gsuk-section-lead {
  font-size: 1.05rem;
  color: var(--gsuk-text-muted);
}

/* Profile Grid (8 Rescued Profiles) */
.gsuk-profile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
}

.gsuk-profile-card {
  background: var(--gsuk-card);
  border: 1px solid var(--gsuk-border);
  border-radius: var(--gsuk-radius-md);
  overflow: hidden;
  box-shadow: var(--gsuk-shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--gsuk-transition);
}

.gsuk-profile-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--gsuk-shadow-md);
  border-color: var(--gsuk-accent);
}

.gsuk-profile-thumb-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #EFE8DA;
  overflow: hidden;
}

.gsuk-profile-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gsuk-profile-card:hover .gsuk-profile-thumb {
  transform: scale(1.05);
}

.gsuk-profile-status {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  background: rgba(22, 163, 74, 0.92);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--gsuk-radius-full);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.gsuk-profile-status::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
}

.gsuk-profile-body {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.gsuk-profile-handle {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--gsuk-text-main);
  margin-bottom: 0.2rem;
}

.gsuk-profile-meta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gsuk-primary);
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.gsuk-profile-bio {
  font-size: 0.88rem;
  color: var(--gsuk-text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.gsuk-profile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: var(--gsuk-primary-light);
  color: var(--gsuk-primary-dark) !important;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.6rem 0.85rem;
  border-radius: var(--gsuk-radius-sm);
  border: 1px solid rgba(154, 52, 18, 0.2);
  transition: var(--gsuk-transition);
}

.gsuk-profile-btn:hover {
  background: var(--gsuk-primary);
  color: #fff !important;
}

/* Editorial Story / Feature Splits */
.gsuk-editorial-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.75rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

.gsuk-editorial-split:last-child {
  margin-bottom: 0;
}

.gsuk-editorial-split.is-reversed {
  direction: rtl;
}

.gsuk-editorial-split.is-reversed > * {
  direction: ltr;
}

.gsuk-editorial-img-box {
  border-radius: var(--gsuk-radius-lg);
  overflow: hidden;
  box-shadow: var(--gsuk-shadow-md);
  border: 1px solid var(--gsuk-border);
}

.gsuk-editorial-img-box img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.gsuk-editorial-content h3 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--gsuk-text-main);
  line-height: 1.3;
  margin-bottom: 1rem;
}

.gsuk-editorial-content p {
  font-size: 1.02rem;
  color: var(--gsuk-text-muted);
  line-height: 1.7;
  margin-bottom: 1.1rem;
}

/* Love Stories / Testimonials (4 Rescued Stories) */
.gsuk-stories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.gsuk-story-card {
  background: var(--gsuk-card);
  border: 1px solid var(--gsuk-border);
  border-radius: var(--gsuk-radius-md);
  padding: 1.75rem;
  box-shadow: var(--gsuk-shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.gsuk-story-text {
  font-size: 0.96rem;
  color: var(--gsuk-text-muted);
  line-height: 1.65;
  margin-bottom: 1.35rem;
  font-style: italic;
  position: relative;
}

.gsuk-story-user {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gsuk-border-light);
}

.gsuk-story-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gsuk-primary);
  flex-shrink: 0;
}

.gsuk-story-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--gsuk-text-main);
}

.gsuk-story-loc {
  font-size: 0.84rem;
  color: var(--gsuk-text-light);
}

/* Comparison Tables & Hub Grids */
.gsuk-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  background: var(--gsuk-card);
  border: 1px solid var(--gsuk-border);
  border-radius: var(--gsuk-radius-md);
}

.gsuk-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.gsuk-table th {
  background: var(--gsuk-card-subtle);
  color: var(--gsuk-text-main);
  font-weight: 700;
  padding: 0.9rem 1.1rem;
  border-bottom: 1.5px solid var(--gsuk-border);
}

.gsuk-table td {
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--gsuk-border-light);
  color: var(--gsuk-text-muted);
}

.gsuk-table tr:last-child td {
  border-bottom: none;
}

/* Feature Grid */
.gsuk-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.gsuk-feature-card {
  background: var(--gsuk-card);
  border: 1px solid var(--gsuk-border);
  border-radius: var(--gsuk-radius-md);
  padding: 1.5rem;
  box-shadow: var(--gsuk-shadow-sm);
}

.gsuk-feature-icon {
  width: 44px;
  height: 44px;
  background: var(--gsuk-primary-light);
  color: var(--gsuk-primary);
  border-radius: var(--gsuk-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.gsuk-feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--gsuk-text-main);
}

.gsuk-feature-card p {
  font-size: 0.92rem;
  color: var(--gsuk-text-muted);
  line-height: 1.55;
}

/* FAQ Accordion */
.gsuk-faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.gsuk-faq-item {
  background: var(--gsuk-card);
  border: 1px solid var(--gsuk-border);
  border-radius: var(--gsuk-radius-md);
  margin-bottom: 0.85rem;
  overflow: hidden;
  box-shadow: var(--gsuk-shadow-sm);
}

.gsuk-faq-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.15rem 1.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gsuk-text-main);
  cursor: pointer;
  list-style: none;
  user-select: none;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
}

.gsuk-faq-summary::-webkit-details-marker {
  display: none;
}

.gsuk-faq-summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gsuk-primary);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.gsuk-faq-item[open] .gsuk-faq-summary::after {
  transform: rotate(45deg);
}

.gsuk-faq-content {
  padding: 0 1.35rem 1.25rem;
  font-size: 0.95rem;
  color: var(--gsuk-text-muted);
  line-height: 1.65;
  border-top: 1px solid var(--gsuk-border-light);
}

.gsuk-faq-content p {
  margin-top: 0.85rem;
}

/* CTA Conversion Banner */
.gsuk-cta-banner {
  background: linear-gradient(135deg, #7C2D12 0%, #9A3412 100%);
  color: #fff;
  border-radius: var(--gsuk-radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--gsuk-shadow-lg);
  margin: 3rem 0;
}

.gsuk-cta-banner h2 {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
}

.gsuk-cta-banner p {
  font-size: 1.1rem;
  max-width: 680px;
  margin: 0 auto 1.75rem;
  opacity: 0.92;
}

.gsuk-cta-btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--gsuk-primary-dark) !important;
  font-size: 1.05rem;
  font-weight: 800;
  padding: 0.9rem 2.2rem;
  border-radius: var(--gsuk-radius-full);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: var(--gsuk-transition);
}

.gsuk-cta-btn-white:hover {
  background: #FFF7ED;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

/* Subpage Article Layout */
.gsuk-article-header {
  padding: 2.5rem 0 2rem;
  text-align: center;
  border-bottom: 1px solid var(--gsuk-border-light);
  background: #FAF6ED;
}

.gsuk-article-hero-img {
  width: 100%;
  border-radius: var(--gsuk-radius-lg);
  margin: 2rem 0;
  border: 1px solid var(--gsuk-border);
  box-shadow: var(--gsuk-shadow-md);
}

.gsuk-content-body {
  font-size: 1.05rem;
  color: var(--gsuk-text-muted);
  line-height: 1.75;
}

.gsuk-content-body h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gsuk-text-main);
  margin: 2.25rem 0 0.9rem;
  line-height: 1.3;
}

.gsuk-content-body h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gsuk-text-main);
  margin: 1.75rem 0 0.75rem;
}

.gsuk-content-body p {
  margin-bottom: 1.25rem;
}

.gsuk-content-body ul, .gsuk-content-body ol {
  margin: 1rem 0 1.5rem 1.75rem;
}

.gsuk-content-body li {
  margin-bottom: 0.5rem;
}

.gsuk-tip-box {
  background: #FFFBEB;
  border-left: 4px solid var(--gsuk-accent);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--gsuk-radius-md) var(--gsuk-radius-md) 0;
  margin: 1.75rem 0;
}

.gsuk-tip-box strong {
  color: #92400E;
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

/* Blog Magazine Cards */
.gsuk-magazine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin: 2.5rem 0;
}

.gsuk-mag-card {
  background: var(--gsuk-card);
  border: 1px solid var(--gsuk-border);
  border-radius: var(--gsuk-radius-md);
  overflow: hidden;
  box-shadow: var(--gsuk-shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--gsuk-transition);
}

.gsuk-mag-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--gsuk-shadow-md);
  border-color: var(--gsuk-primary);
}

.gsuk-mag-thumb-wrap {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #EFE8DA;
}

.gsuk-mag-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gsuk-mag-card:hover .gsuk-mag-thumb {
  transform: scale(1.05);
}

.gsuk-mag-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.gsuk-mag-tag {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gsuk-primary);
  margin-bottom: 0.45rem;
}

.gsuk-mag-title {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--gsuk-text-main);
  margin-bottom: 0.65rem;
}

.gsuk-mag-excerpt {
  font-size: 0.9rem;
  color: var(--gsuk-text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* Footer */
.gsuk-footer {
  background: #1C1917;
  color: #D6D3D1;
  padding: 3.5rem 0 2rem;
  margin-top: auto;
  border-top: 3px solid var(--gsuk-primary);
}

.gsuk-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.gsuk-footer-brand h3, .gsuk-footer-brand h4 {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.gsuk-footer-brand p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #A8A29E;
}

.gsuk-footer-col h3, .gsuk-footer-col h5 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.gsuk-footer-links {
  list-style: none;
}

.gsuk-footer-links li {
  margin-bottom: 0.65rem;
}

.gsuk-footer-links a {
  color: #D6D3D1;
  font-size: 0.88rem;
}

.gsuk-footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.gsuk-footer-disclaimer {
  font-size: 0.82rem;
  color: #A8A29E;
  line-height: 1.6;
  padding-top: 1.5rem;
  border-top: 1px solid #292524;
  margin-bottom: 1rem;
}

.gsuk-footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  color: #A8A29E;
  padding-top: 1rem;
  border-top: 1px solid #292524;
}

/* Breadcrumbs */
.gsuk-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: var(--gsuk-text-light);
  margin-bottom: 1rem;
}

.gsuk-breadcrumbs a {
  color: var(--gsuk-text-muted);
}

.gsuk-breadcrumbs a:hover {
  color: var(--gsuk-primary);
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .gsuk-hero {
    min-height: calc(100vh - 54px);
    min-height: calc(100dvh - 54px);
    display: flex;
    align-items: center;
    padding: 0.75rem 0 1.25rem;
  }
  .gsuk-hero-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .gsuk-hero-content {
    display: contents;
  }
  .gsuk-pill {
    order: 1;
    justify-self: start;
    font-size: 0.76rem;
    padding: 0.25rem 0.7rem;
    margin-bottom: 0;
  }
  .gsuk-hero-title {
    order: 2;
    font-size: 1.36rem;
    line-height: 1.2;
    margin-bottom: 0.1rem;
  }
  .gsuk-hero-desc {
    order: 3;
    font-size: 0.88rem;
    line-height: 1.42;
    margin-bottom: 0.15rem;
  }
  .gsuk-finder-box {
    order: 4;
    width: 100%;
    padding: 0.95rem 1rem;
    margin: 0.1rem 0 0.3rem;
  }
  .gsuk-finder-header {
    margin-bottom: 0.65rem;
    padding-bottom: 0.45rem;
  }
  .gsuk-finder-heading {
    font-size: 1.02rem;
  }
  .gsuk-form-group {
    margin-bottom: 0.55rem;
  }
  .gsuk-form-label {
    font-size: 0.78rem;
    margin-bottom: 0.2rem;
  }
  .gsuk-dropdown-trigger {
    padding: 0.55rem 0.8rem;
    font-size: 0.88rem;
  }
  .gsuk-btn-primary, .gsuk-btn-secondary {
    padding: 0.68rem 1.15rem;
    font-size: 0.92rem;
  }
  .gsuk-hero-trust {
    order: 5;
    margin-top: 0.5rem;
    padding-top: 0.85rem;
    gap: 0.75rem;
  }
  .gsuk-profile-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gsuk-stories-grid {
    grid-template-columns: 1fr;
  }
  .gsuk-feature-grid {
    grid-template-columns: 1fr;
  }
  .gsuk-magazine-grid {
    grid-template-columns: 1fr;
  }
  .gsuk-editorial-split {
    grid-template-columns: 1fr;
  }
  .gsuk-editorial-split.is-reversed {
    direction: ltr;
  }
  .gsuk-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .gsuk-header {
    padding: 0.55rem 0;
  }
  .gsuk-logo {
    font-size: 1.22rem;
    gap: 0.5rem;
  }
  .gsuk-logo img {
    width: 34px;
    height: 34px;
    border-radius: 8px;
  }
  .gsuk-mobile-toggle {
    display: block;
  }
  .gsuk-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #FDFBF7;
    flex-direction: column;
    padding: 1.15rem 1.25rem;
    gap: 0.65rem;
    border-bottom: 1px solid var(--gsuk-border);
    box-shadow: var(--gsuk-shadow-lg);
  }
  .gsuk-nav.show {
    display: flex;
  }
  .gsuk-nav li {
    width: 100%;
  }
  .gsuk-nav-link {
    display: block;
    width: 100%;
    padding: 0.5rem 0.25rem;
  }
  .gsuk-nav-cta {
    width: 100%;
    margin-top: 0.25rem;
  }
}

@media (max-width: 640px) {
  .gsuk-profile-grid {
    grid-template-columns: 1fr;
  }
  .gsuk-footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Interactive Hook 1: UK Reply Simulator (.gsuk-sim) */
.gsuk-sim {
  margin: 2.25rem 0;
}

.gsuk-sim.gsuk-sim-home {
  margin: 0;
  padding: 3rem 0;
  background: var(--gsuk-card-subtle);
  border-bottom: 1px solid var(--gsuk-border-light);
}

.gsuk-sim-card {
  background: var(--gsuk-card);
  border: 1.5px solid var(--gsuk-border);
  border-radius: var(--gsuk-radius-lg);
  padding: 1.5rem 1.65rem;
  box-shadow: var(--gsuk-shadow-md);
}

.gsuk-sim-eyebrow,
.gsuk-dial-eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gsuk-primary);
  margin-bottom: 0.3rem;
}

.gsuk-sim .gsuk-sim-title,
.gsuk-dial .gsuk-dial-title {
  font-size: 1.38rem;
  font-weight: 800;
  color: var(--gsuk-text-main);
  line-height: 1.3;
  margin: 0 0 1rem;
}

.gsuk-sim-profile {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  background: var(--gsuk-card-subtle);
  border: 1px solid var(--gsuk-border);
  border-radius: var(--gsuk-radius-md);
  padding: 0.9rem 1.05rem;
  margin-bottom: 1rem;
}

.gsuk-sim-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gsuk-primary);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(154, 52, 18, 0.22);
}

.gsuk-sim-who {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--gsuk-text-main);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.2rem;
}

.gsuk-sim-online {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: #15803D;
  background: #ECFDF5;
  border: 1px solid #BBF7D0;
  padding: 0.1rem 0.5rem;
  border-radius: var(--gsuk-radius-full);
}

.gsuk-sim .gsuk-sim-bio {
  font-size: 0.89rem;
  color: var(--gsuk-text-muted);
  line-height: 1.5;
  margin: 0;
  font-style: italic;
}

.gsuk-sim-prompt {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--gsuk-text-muted);
  margin-bottom: 0.55rem;
  display: block;
}

.gsuk-sim-options {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.gsuk-sim-opt {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.95rem;
  background: #FAFAFA;
  border: 1.5px solid var(--gsuk-border);
  border-radius: var(--gsuk-radius-md);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-align: left;
  font-family: inherit;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--gsuk-text-main);
  cursor: pointer;
  transition: var(--gsuk-transition);
}

.gsuk-sim-opt:hover {
  border-color: var(--gsuk-primary);
  background: #fff;
}

.gsuk-sim-opt.is-active {
  border-color: var(--gsuk-primary);
  background: var(--gsuk-primary-light);
  box-shadow: 0 0 0 2px rgba(154, 52, 18, 0.1);
  font-weight: 600;
}

.gsuk-sim-opt-tag {
  flex-shrink: 0;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--gsuk-card);
  color: var(--gsuk-primary);
  border: 1px solid rgba(154, 52, 18, 0.25);
  padding: 0.22rem 0.55rem;
  border-radius: var(--gsuk-radius-sm);
}

.gsuk-sim-opt.is-active .gsuk-sim-opt-tag {
  background: var(--gsuk-primary);
  color: #fff;
  border-color: var(--gsuk-primary);
}

.gsuk-sim-thread {
  background: var(--gsuk-bg);
  border: 1px solid var(--gsuk-border);
  border-radius: var(--gsuk-radius-md);
  padding: 0.95rem 1.1rem;
}

.gsuk-sim-status {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.18rem 0.6rem;
  border-radius: var(--gsuk-radius-full);
  margin-bottom: 0.5rem;
}

.gsuk-sim-status.is-warm {
  background: #ECFDF5;
  color: #15803D;
  border: 1px solid #BBF7D0;
}

.gsuk-sim-status.is-cold {
  background: #FEF2F2;
  color: #B91C1C;
  border: 1px solid #FECACA;
}

.gsuk-sim-status.is-lukewarm {
  background: #FFFBEB;
  color: #92400E;
  border: 1px solid #FDE68A;
}

.gsuk-sim .gsuk-sim-reply {
  font-size: 0.94rem;
  color: var(--gsuk-text-main);
  line-height: 1.55;
  margin: 0;
}

.gsuk-sim-footer {
  margin-top: 0.85rem;
  padding-top: 0.8rem;
  border-top: 1px dashed var(--gsuk-border);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}

.gsuk-sim .gsuk-sim-coach {
  font-size: 0.88rem;
  color: var(--gsuk-text-muted);
  line-height: 1.5;
  margin: 0;
  flex: 1 1 280px;
}

.gsuk-sim-cta-link {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--gsuk-primary);
  white-space: nowrap;
}

.gsuk-sim-cta-link:hover {
  color: var(--gsuk-primary-dark);
  text-decoration: underline;
}

/* Interactive Hook 2: 3-Signal Safety Dial (.gsuk-dial) */
.gsuk-dial {
  margin: 2.5rem 0;
}

.gsuk-dial.gsuk-dial-home {
  margin: 0;
  padding: 3rem 0;
  background: var(--gsuk-bg);
  border-bottom: 1px solid var(--gsuk-border-light);
}

.gsuk-dial-box {
  background: var(--gsuk-card);
  border: 1.5px solid var(--gsuk-border);
  border-radius: var(--gsuk-radius-lg);
  padding: 1.5rem 1.65rem;
  box-shadow: var(--gsuk-shadow-sm);
}

.gsuk-dial-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  background: var(--gsuk-card-subtle);
  padding: 0.35rem;
  border-radius: var(--gsuk-radius-md);
  border: 1px solid var(--gsuk-border);
  margin-bottom: 1rem;
}

.gsuk-dial-btn {
  min-height: 46px;
  padding: 0.55rem 0.75rem;
  border: none;
  border-radius: 9px;
  background: transparent;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gsuk-text-muted);
  cursor: pointer;
  transition: var(--gsuk-transition);
  text-align: center;
}

.gsuk-dial-btn:hover {
  color: var(--gsuk-primary);
  background: rgba(255, 255, 255, 0.7);
}

.gsuk-dial-btn.is-active {
  background: var(--gsuk-primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(154, 52, 18, 0.25);
}

.gsuk-dial-panel {
  background: var(--gsuk-bg);
  border-left: 4px solid var(--gsuk-primary);
  border-radius: 0 var(--gsuk-radius-md) var(--gsuk-radius-md) 0;
  padding: 1rem 1.15rem;
}

.gsuk-dial-panel[hidden] {
  display: none;
}

.gsuk-dial .gsuk-dial-text {
  font-size: 0.94rem;
  color: var(--gsuk-text-muted);
  line-height: 1.62;
  margin: 0;
}

.gsuk-dial .gsuk-dial-text strong {
  color: var(--gsuk-text-main);
}

@media (max-width: 768px) {
  .gsuk-sim.gsuk-sim-home,
  .gsuk-dial.gsuk-dial-home {
    padding: 2.15rem 0;
  }
  .gsuk-sim-card,
  .gsuk-dial-box {
    padding: 1.15rem 1rem;
  }
  .gsuk-sim .gsuk-sim-title,
  .gsuk-dial .gsuk-dial-title {
    font-size: 1.2rem;
  }
  .gsuk-sim-opt {
    min-height: 48px;
    padding: 0.65rem 0.8rem;
    font-size: 0.88rem;
  }
  .gsuk-dial-track {
    grid-template-columns: 1fr;
  }
  .gsuk-dial-btn {
    min-height: 46px;
    text-align: left;
    padding: 0.6rem 0.9rem;
  }
}
