:root {
  color-scheme: light;
  --shell-width: min(95vw, 1320px);
  --site-corner-radius: 20px;
  --site-background-color: #f9fafc;
  --blue-700: #2457d8;
  --red-700: #c8102e;
  --white: #ffffff;
  --text: #102b66;
  --text-muted: #60709a;
  --muted: #60709a;
  --gray-light: #f8f9fb;
  --gray-border: rgba(16, 43, 102, 0.06);
  --line: rgba(16, 43, 102, 0.09);
  --panel: rgba(255, 255, 255, 0.9);
  --panel-strong: #ffffff;
  --shadow-soft: 0 18px 40px 15px rgba(16, 43, 102, 0.08);
  --shadow-md: 0 4px 16px rgba(16, 43, 102, 0.10);
  --shadow-accent: 0 22px 52px rgba(16, 43, 102, 0.10);
  --link-hover: rgba(16, 43, 102, 0.1);
}

body[data-theme="dark"] {
  color-scheme: dark;
  --site-background-color: #0b1223;
  --blue-700: #7aa2ff;
  --red-700: #ff617f;
  --white: #f4f7ff;
  --text: #e6edf9;
  --text-muted: #a6b6d4;
  --muted: #a6b6d4;
  --gray-light: #121a2f;
  --gray-border: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.10);
  --panel: rgba(10, 16, 30, 0.92);
  --panel-strong: #0f1728;
  --shadow-soft: 0 20px 48px 15px rgba(1, 6, 14, 0.38);
  --shadow-md: 0 8px 20px rgba(1, 6, 14, 0.32);
  --shadow-accent: 0 24px 52px rgba(1, 6, 14, 0.42);
  --link-hover: rgba(122, 162, 255, 0.14);
}

* { box-sizing: border-box; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

html {
  background: #f9fafc;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--site-background-color, #f5f6f9);
  overflow-x: hidden;
}

body:not(.admin-wp-look) {
  background: var(--site-background-color, #f5f6f9);
  --shell-width: min(92vw, 1240px);
}

body[data-theme="dark"] {
  background:
    radial-gradient(circle at top left, rgba(68, 101, 186, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 97, 127, 0.10), transparent 24%),
    var(--site-background-color, #0b1223);
  color: #e6edf9;
}

/* ============================================================
   HEADER — EXACT REPLICA FROM STAY FOLDER
   ============================================================ */
.home-header {
  width: 100%;
  margin: 0 0 -0.4rem 0;
  padding: 0.2rem 0 0.45rem;
  z-index: 40;
  position: relative;
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
}

.home-header-shell {
  width: var(--shell-width);
  margin: 0 auto;
  border: 0;
  border-radius: var(--site-corner-radius);
  box-shadow: var(--shadow-soft);
  overflow: visible;
  background: transparent;
}

.home-header-shell .home-header-inner {
  width: 100%;
  margin: 0;
  border-radius: var(--site-corner-radius) var(--site-corner-radius) 0 0;
  box-shadow: none;
}

.home-header-shell .site-public-menu-bar {
  width: 100%;
  margin: 0;
  border-radius: 0 0 var(--site-corner-radius) var(--site-corner-radius);
  box-shadow: none;
}

.home-mobile-compact-bar {
  display: none;
}

.home-mobile-more-menu {
  display: none;
}

.home-header-mobile-accommodation {
  display: none;
}

.site-footer-logo {
  display: none;
}

.site-footer-brand-copy {
  display: grid;
  gap: 0.35rem;
}

.site-footer-mobile-more {
  display: none;
}

.social-icons-bar {
  display: none;
  width: 100%;
  padding: 0.25rem 0 0.125rem 0;
  margin-bottom: 0;
  background: var(--site-background-color);
  border-bottom: 0;
  position: relative;
  z-index: 39;
}

.social-icons-container {
  width: 100%;
  max-width: var(--shell-width);
  margin: 0 auto;
  padding: 0 1.2rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.social-icons-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  margin-right: 0.25rem;
}

.social-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 0;
  background: transparent;
  text-decoration: none;
  transition: opacity 150ms ease, transform 150ms ease;
}

.social-icon-image {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}

.social-icon-link:hover .social-icon-image,
.social-icon-link:focus-visible .social-icon-image {
  transform: translateY(-2px);
  opacity: 0.8;
}

.site-public-menu-bar {
  padding: 0.3rem 0 0.3rem;
  background: var(--site-public-menu-background, var(--red-700));
  border: 0;
  border-top: var(--site-public-menu-border-width, 0px) solid rgba(16, 43, 102, 0.08);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.site-public-menu-inner {
  width: 100%;
  margin: 0 auto;
  padding: 0 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-sizing: border-box;
}

.site-public-menu-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  min-width: 0;
}

.site-public-menu-group-left {
  justify-content: flex-start;
  flex: 1 1 auto;
  display: flex;
  flex-wrap: nowrap;
}

.site-public-menu-group-center {
  justify-content: center;
}

.site-public-menu-group-right {
  justify-content: flex-end;
}

.site-public-menu-link {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.25rem 0.2rem;
  border-radius: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  line-height: 1;
  transition: color 150ms ease, opacity 150ms ease, text-decoration-color 150ms ease, transform 150ms ease;
  white-space: nowrap;
}

.site-public-menu-link:hover,
.site-public-menu-link:focus-visible {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.28rem;
  transform: translateY(-1px);
}

.site-public-menu-home-link {
  width: auto;
  min-width: auto;
  height: auto;
  padding: 0.25rem 0.2rem;
  justify-content: flex-start;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  box-shadow: none;
}

.site-public-menu-home-link:hover,
.site-public-menu-home-link:focus-visible {
  color: #ffffff;
  background: transparent;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.28rem;
}

.site-public-menu-home-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  display: inline-block;
}

.site-public-menu-home-link-active,
.site-public-menu-home-link-active:hover,
.site-public-menu-home-link-active:focus-visible {
  color: #ffffff;
  background: transparent;
}

.site-public-menu-link-active {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.28rem;
}

.site-public-menu-link.site-public-menu-home-link:hover,
.site-public-menu-link.site-public-menu-home-link:focus-visible,
.site-public-menu-link.site-public-menu-home-link-active,
.site-public-menu-link.site-public-menu-home-link-active:hover,
.site-public-menu-link.site-public-menu-home-link-active:focus-visible {
  color: #ffffff;
  background: transparent;
}

.site-public-menu-group-social {
  display: none;
}

.site-public-menu-social-label {
  display: none;
}

.site-public-menu-social-link {
  display: none;
}

.site-public-menu-social-icon {
  display: none;
}

.site-public-menu-group-auth {
  gap: 1rem;
}

.site-public-menu-auth-link {
  padding: 0.25rem 0;
  color: rgba(255, 255, 255, 0.92);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  line-height: 1;
  border: 0;
  background: transparent;
  text-decoration: none;
  transition: color 150ms ease, opacity 150ms ease, text-decoration-color 150ms ease, transform 150ms ease;
}

.site-public-menu-auth-link:hover,
.site-public-menu-auth-link:focus-visible {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.28rem;
  transform: translateY(-1px);
}

.home-header-inner {
  width: 100%;
  margin: 0;
  padding: 0.75rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 0;
  backdrop-filter: blur(16px);
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}

.home-header-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  color: var(--text);
  text-decoration: none;
}

.home-header-brand-copy {
  min-width: 0;
  display: grid;
  gap: 0.18rem;
}

.home-header-brand-copy--desktop,
.home-header-logo--desktop {
  display: block;
}

.home-header-brand-copy--desktop {
  display: grid;
}

.home-header-brand-copy--mobile,
.home-header-logo--mobile {
  display: none;
}

.home-header-title {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  font-weight: 800;
  font-synthesis-weight: none;
  font-variation-settings: "wght" 800;
  letter-spacing: -0.03em;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 0.18em;
  flex-wrap: wrap;
}

.home-header-title-project {
  color: #282e6e;
  font-weight: inherit;
  font-synthesis-weight: none;
  font-variation-settings: "wght" 800;
}

.home-header-title-universal {
  color: #ce1420;
  font-weight: inherit;
  font-synthesis-weight: none;
  font-variation-settings: "wght" 800;
}

.home-header-tagline {
  display: block;
  max-width: 44rem;
  color: var(--muted);
  font-family: "Manrope", sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.home-header-logo {
  display: none;
}

.home-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.55rem;
  position: relative;
  z-index: 45;
}

.home-header-mobile-menu {
  display: none;
  margin-left: auto;
  flex-shrink: 0;
}

/* ============================================================
   HEADER NAVIGATION
   ============================================================ */
.home-header-primary-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 auto 0 0;
}

.home-header-nav-button {
  min-height: 38px;
  padding: 0.55rem 0.95rem;
  border-radius: var(--site-corner-radius);
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 150ms ease;
}

.home-header-nav-button:hover,
.home-header-nav-button:focus-visible {
  background: var(--link-hover);
  border-color: var(--line);
}

.home-header-nav-link-active {
  background: var(--text);
  color: var(--white);
  border-color: var(--text);
}

.home-header-nav-link-active:hover {
  background: var(--blue-700);
  border-color: var(--blue-700);
}

.home-header-nav-button-dropdown {
  position: relative;
}

.home-header-nav-button-dropdown summary {
  list-style: none;
  cursor: pointer;
}

.home-header-nav-button-dropdown summary::-webkit-details-marker {
  display: none;
}

.home-header-dropdown {
  position: relative;
}

.home-header-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 180px;
  display: grid;
  gap: 0.35rem;
  padding: 0.6rem;
  border-radius: var(--site-corner-radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 32px rgba(16, 43, 102, 0.12);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
  z-index: 50;
}

.home-header-dropdown[open] .home-header-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.home-header-dropdown-link {
  display: flex;
  align-items: center;
  padding: 0.58rem 0.72rem;
  border-radius: var(--site-corner-radius);
  background: rgba(16, 43, 102, 0.05);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background 150ms ease;
}

.home-header-dropdown-link:hover,
.home-header-dropdown-link:focus-visible {
  background: var(--link-hover);
}

.home-header-admin-link {
  position: relative;
}

.home-header-signout {
  min-height: 38px;
  padding: 0.55rem 0.95rem;
  border-radius: var(--site-corner-radius);
}

.home-header-view-all {
  min-height: 38px;
  padding: 0.55rem 0.95rem;
  border-radius: var(--site-corner-radius);
}

.home-header-home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.55rem 0.9rem;
  min-width: 42px;
  border-radius: var(--site-corner-radius);
}

.home-header-home-link svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  stroke: none;
}

.home-header-cta {
  min-height: 42px;
  padding: 0.75rem 1.1rem;
  border-radius: var(--site-corner-radius);
}

.home-header-accommodation-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.75rem 1.1rem;
  border-radius: var(--site-corner-radius);
  background: #c8102e;
  color: #fff;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  box-shadow: none;
  transition: opacity 150ms ease, background-color 150ms ease;
}

.home-header-accommodation-link:hover,
.home-header-accommodation-link:focus-visible {
  background: #a80824;
  opacity: 1;
}

.home-header-theme-toggle,
.home-mobile-menu-theme-toggle {
  display: none;
}

.home-header-theme-toggle-icon,
.home-mobile-menu-theme-toggle span[aria-hidden="true"] {
  display: none;
}

.home-header-theme-toggle-label,
.home-mobile-menu-theme-toggle [data-theme-toggle-label] {
  display: none;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.75rem 1rem;
  border-radius: var(--site-corner-radius);
  border: 0;
  background: var(--blue-700);
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button-link:hover,
.button-link:focus-visible {
  background: #1f4fc6;
}

.header-profile-menu {
  position: relative;
  z-index: 5;
}

.header-profile-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-width: 112px;
  list-style: none;
  cursor: pointer;
}

.header-profile-trigger-label {
  line-height: 1;
}

.header-profile-trigger::-webkit-details-marker {
  display: none;
}

.header-profile-dropdown {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  min-width: 210px;
  display: grid;
  gap: 0.35rem;
  padding: 0.6rem;
  border-radius: var(--site-corner-radius);
  border: 1px solid rgba(16, 43, 102, 0.12);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 22px 48px rgba(16, 43, 102, 0.16);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  z-index: 6;
}

.header-profile-menu[open] .header-profile-dropdown,
.header-profile-menu:focus-within .header-profile-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-profile-dropdown a,
.header-profile-signout {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 0.72rem 0.9rem;
  border: 0;
  border-radius: var(--site-corner-radius);
  background: rgba(16, 43, 102, 0.05);
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.header-profile-dropdown a:hover,
.header-profile-dropdown a:focus-visible,
.header-profile-signout:hover,
.header-profile-signout:focus-visible {
  background: rgba(16, 43, 102, 0.1);
}

.header-profile-form {
  margin: 0;
}

.header-notification-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.45rem;
  height: 1.45rem;
  padding: 0 0.38rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #e54f66 0%, #c8102e 100%);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(200, 16, 46, 0.22);
}

.header-profile-menu--browse .header-profile-trigger {
  min-width: 154px;
}

.header-profile-dropdown--browse {
  min-width: 220px;
}

.home-mobile-menu-group-toggle {
  display: grid;
  gap: 0.55rem;
}

.home-mobile-menu-group-toggle summary {
  list-style: none;
}

.home-mobile-menu-group-toggle summary::-webkit-details-marker {
  display: none;
}

.home-mobile-menu-submenu {
  display: none;
  gap: 0.55rem;
  padding-left: 0.75rem;
}

.home-mobile-menu-group-toggle[open] .home-mobile-menu-submenu {
  display: grid;
}

.home-header-alert-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.3rem;
  height: 1.3rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #e54f66 0%, #c8102e 100%);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
}

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--site-corner-radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 18px rgba(17, 31, 70, 0.12);
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  position: relative;
  z-index: 150;
}

.mobile-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--blue-700);
  border-radius: 999px;
  transition: transform 150ms ease, opacity 150ms ease;
}

.home-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 120;
  pointer-events: none;
}

.home-mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 20, 46, 0.6);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 220ms ease;
}

.home-mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100%;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: -8px 0 32px rgba(8, 20, 46, 0.3);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(100%);
  transition: transform 220ms ease;
}

.home-mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

  .home-mobile-menu-close {
  gap: 0.35rem;
  padding: 0.45rem 0.6rem;
  border-radius: var(--site-corner-radius);
  background: rgba(16, 43, 102, 0.08);
  border: 1px solid rgba(16, 43, 102, 0.15);
  color: var(--text);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 150ms ease;
}

.home-mobile-menu-close:hover,
.home-mobile-menu-close:focus-visible {
  background: rgba(16, 43, 102, 0.12);
}

.home-mobile-menu-close-label {
  font-size: 0.9rem;
  display: inline;
}

.home-mobile-menu-group {
  display: grid;
  gap: 0.45rem;
}

.home-mobile-menu-group-label {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.home-mobile-menu-link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  justify-content: flex-start;
  padding: 0.58rem 0.72rem;
  border-radius: var(--site-corner-radius);
  border: 1px solid rgba(16, 43, 102, 0.12);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.96rem;
  line-height: 1.2;
  transition: background 150ms ease, border-color 150ms ease;
}

.home-mobile-menu-link:hover,
.home-mobile-menu-link:focus-visible {
  background: var(--link-hover);
  border-color: rgba(16, 43, 102, 0.3);
}

.home-mobile-menu-link-with-badge {
  justify-content: space-between;
}

.home-mobile-menu-link--primary {
  justify-content: center;
  background: var(--blue-700);
  color: #fff;
  border-color: transparent;
}

.home-mobile-menu-link--accent {
  justify-content: center;
  background: linear-gradient(180deg, #e54f66 0%, #c8102e 100%);
  color: #fff;
  border-color: transparent;
}

.home-mobile-menu-link--accent.home-mobile-menu-theme-toggle {
  justify-content: center;
  background: var(--panel-strong);
  color: var(--text);
  border-color: var(--gray-border);
}

.home-mobile-menu-home-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  display: block;
}

.home-mobile-menu-link--active {
  background: var(--text);
  color: var(--white);
  border-color: var(--text);
}

.home-mobile-menu-social-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.5rem;
}

.home-mobile-menu-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: var(--site-corner-radius);
  border: 1px solid rgba(16, 43, 102, 0.12);
  background: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.home-mobile-menu-social-link:hover,
.home-mobile-menu-social-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(16, 43, 102, 0.2);
  box-shadow: 0 8px 18px rgba(16, 43, 102, 0.12);
}

.home-mobile-menu-social-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}

.home-mobile-menu-footer-spacer {
  min-height: 0.25rem;
}

body.mobile-menu-open {
  overflow: hidden;
}

body.mobile-menu-open .home-mobile-menu {
  pointer-events: auto;
}

body.mobile-menu-open .home-mobile-menu-backdrop {
  opacity: 1;
}

body.mobile-menu-open .home-mobile-menu-panel {
  transform: translateX(0);
}

/* ============================================================
   BUTTON STYLES
   ============================================================ */
.text-button {
  background: none;
  border: none;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  padding: 0;
  margin: 0;
}

/* ============================================================
   MAIN LAYOUT
   ============================================================ */
main { flex: 1; }

.shell {
  flex: 1;
  width: var(--shell-width);
  margin: 0 auto;
  padding: 2rem 0 2.4rem;
  display: grid;
  gap: 1.5rem;
  align-content: start;
  box-sizing: border-box;
}

.site-public-layout {
  width: var(--shell-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 2rem;
  align-items: start;
}

.site-public-content {
  min-width: 0;
}

.site-public-content .shell {
  width: 100%;
  max-width: none;
  margin: 0;
}

.site-public-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-top: 2rem;
  min-width: 0;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 0.5rem 0;
  color: var(--text);
}

h1 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.2rem, 2.5vw, 1.7rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1rem, 2vw, 1.3rem); letter-spacing: -0.01em; }

p {
  margin: 0 0 1rem 0;
  line-height: 1.7;
  color: var(--text);
}

p.intro {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 640px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red-700);
  margin-bottom: 0.5rem;
}

/* ============================================================
   CARDS AND CONTAINERS
   ============================================================ */
.content-card {
  position: relative;
  background: var(--panel-strong);
  border: 1px solid var(--gray-border);
  border-radius: var(--site-corner-radius);
  overflow: visible;
  box-shadow: var(--shadow-soft);
}

.content-section {
  padding: 1.8rem;
  border-bottom: 1px solid var(--gray-border);
  position: relative;
}

.content-section:last-child { border-bottom: none; }

.news-article-page-card,
.news-article-body-card,
.news-article-comments-card,
.news-article-side-panel {
  background: #ffffff;
  border: 1px solid var(--gray-border);
  border-radius: var(--site-corner-radius);
  box-shadow: var(--shadow-soft);
  overflow: visible;
}

.news-article-page-card::before,
.news-article-body-card::before,
.news-article-side-panel::before {
  display: none;
}

.news-article-page-header,
.news-article-body-section,
.news-article-taxonomy-section,
.news-article-nav-section {
  padding-left: 1.8rem;
  padding-right: 1.8rem;
}

.news-article-page-header {
  padding: 1.05rem 1.8rem 0.35rem;
  border-bottom: 0;
}

.news-article-body-card .content-section,
.news-article-side-panel .content-section,
.news-article-nav-section {
  border-bottom: 0;
  background: transparent;
}

.news-article-standfirst-section {
  padding: 0.15rem 1.8rem 0.7rem;
  border-bottom: 0;
}

.news-article-standfirst-section .intro {
  margin-bottom: 0;
  padding-left: 1.2rem;
  border-left: 3px solid var(--line);
  color: var(--text-muted);
  line-height: 1.4;
}

body[data-theme="dark"] .content-card,
body[data-theme="dark"] .hero,
body[data-theme="dark"] .news-lead-grid,
body[data-theme="dark"] .news-sidebar-youtube,
body[data-theme="dark"] .news-article-page-card,
body[data-theme="dark"] .news-article-body-card,
body[data-theme="dark"] .news-article-comments-card,
body[data-theme="dark"] .news-article-side-panel,
body[data-theme="dark"] .notice,
body[data-theme="dark"] .site-public-menu-home-link,
body[data-theme="dark"] .site-public-menu-social-link,
body[data-theme="dark"] .home-mobile-menu-panel {
  background: var(--panel-strong);
  border-color: var(--gray-border);
}

body[data-theme="dark"] .site-public-menu-home-link,
body[data-theme="dark"] .site-public-menu-home-link:hover,
body[data-theme="dark"] .site-public-menu-home-link:focus-visible {
  background: rgba(10, 16, 30, 0.92);
  color: #f4f7ff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
}

body[data-theme="dark"] .site-public-menu-social-link {
  background: rgba(255, 255, 255, 0.95);
}

body[data-theme="dark"] .site-public-menu-social-link:hover,
body[data-theme="dark"] .site-public-menu-social-link:focus-visible {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.18), 0 10px 18px rgba(0, 0, 0, 0.26);
}

body[data-theme="dark"] .social-icons-bar {
  background: var(--site-background-color);
  border-bottom-color: var(--gray-border);
}

body[data-theme="dark"] .social-icons-label {
  color: var(--text);
}

body[data-theme="dark"] .social-icon-link {
  opacity: 0.85;
}

body[data-theme="dark"] .social-icon-link:hover,
body[data-theme="dark"] .social-icon-link:focus-visible {
  opacity: 1;
}

body[data-theme="dark"] .news-article-card,
body[data-theme="dark"] .news-compact-card,
body[data-theme="dark"] .news-related-link,
body[data-theme="dark"] .post-tag,
body[data-theme="dark"] .news-taxonomy-pill,
body[data-theme="dark"] .cookie-banner,
body[data-theme="dark"] .home-mobile-menu-link,
body[data-theme="dark"] .home-mobile-menu-social-link {
  background: rgba(15, 23, 40, 0.9);
  border-color: var(--gray-border);
}

body[data-theme="dark"] .home-mobile-menu-social-link:hover,
body[data-theme="dark"] .home-mobile-menu-social-link:focus-visible {
  border-color: rgba(122, 162, 255, 0.2);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
}

body[data-theme="dark"] .news-card-grid {
  background: rgba(15, 23, 40, 0.9);
  border-color: var(--gray-border);
  box-shadow: var(--shadow-soft);
}

body[data-theme="dark"] .news-article-card {
  background: rgba(20, 28, 48, 0.96);
}

body[data-theme="dark"] .home-stack-card {
  background: rgba(15, 23, 40, 0.92);
  border-color: var(--gray-border);
}

body[data-theme="dark"] .home-stack-card-copy p,
body[data-theme="dark"] .home-stack-card-copy .post-card-date {
  color: rgba(223, 232, 247, 0.78);
}

body[data-theme="dark"] .topic-hub-card {
  background: rgba(15, 23, 40, 0.92);
  border-color: var(--gray-border);
}

body[data-theme="dark"] .topic-hub-card:hover {
  background: rgba(27, 37, 63, 0.96);
  border-color: rgba(122, 162, 255, 0.16);
}

body[data-theme="dark"] .topic-hub-card p {
  color: rgba(223, 232, 247, 0.78);
}

body[data-theme="dark"] .news-article-card:hover {
  background: rgba(27, 37, 63, 0.96);
  border-color: rgba(122, 162, 255, 0.16);
}

body[data-theme="dark"] .news-article-card-copy p,
body[data-theme="dark"] .news-article-card-copy .post-card-date {
  color: rgba(223, 232, 247, 0.78);
}

body[data-theme="dark"].news-index-page .hero {
  background: rgba(15, 23, 40, 0.92);
  border-color: var(--gray-border);
  box-shadow: var(--shadow-soft);
}

body[data-theme="dark"].news-index-page .hero h1 {
  color: var(--white);
}

body[data-theme="dark"].news-index-page .hero .intro {
  color: rgba(223, 232, 247, 0.82);
}

body[data-theme="dark"].news-index-page .news-lead-grid {
  background: rgba(15, 23, 40, 0.9);
  border-color: var(--gray-border);
}

body[data-theme="dark"] .home-mobile-menu-link--primary,
body[data-theme="dark"] .home-mobile-menu-link--accent,
body[data-theme="dark"] .home-mobile-menu-link--active {
  color: #ffffff;
}

body[data-theme="dark"] .hero,
body[data-theme="dark"] .news-lead-grid,
body[data-theme="dark"] .news-sidebar-youtube,
body[data-theme="dark"] .news-article-page-card,
body[data-theme="dark"] .news-article-body-card,
body[data-theme="dark"] .news-article-comments-card,
body[data-theme="dark"] .news-article-side-panel {
  box-shadow: var(--shadow-soft);
}

body[data-theme="dark"] .hero,
body[data-theme="dark"] .news-lead-grid,
body[data-theme="dark"] .news-sidebar-youtube,
body[data-theme="dark"] .news-article-page-card,
body[data-theme="dark"] .news-article-body-card,
body[data-theme="dark"] .news-article-comments-card,
body[data-theme="dark"] .news-article-side-panel {
  color: var(--text);
}

body[data-theme="dark"] .home-header-shell {
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(10, 16, 30, 0.86);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

body[data-theme="dark"] .home-header {
  background: transparent;
}

body[data-theme="dark"] .home-header-inner {
  background: rgba(10, 16, 30, 0.92);
  backdrop-filter: blur(18px);
}

body[data-theme="dark"] .home-header-brand,
body[data-theme="dark"] .home-header-title-project,
body[data-theme="dark"] .home-header-title-universal,
body[data-theme="dark"] .home-header-tagline {
  color: var(--white);
}

body[data-theme="dark"] .home-header-title-project {
  color: #d9e4ff;
}

body[data-theme="dark"] .home-header-title-universal {
  color: #ff7d92;
}

body[data-theme="dark"] .home-header-tagline {
  color: rgba(214, 224, 247, 0.82);
}

body[data-theme="dark"] .home-header-accommodation-link {
  box-shadow: 0 12px 28px rgba(200, 16, 46, 0.24);
}

body[data-theme="dark"] .site-public-menu-bar {
  background: linear-gradient(180deg, #c92d2d 0%, #9d1f24 100%);
  border-top-color: rgba(255, 255, 255, 0.08);
}

body[data-theme="dark"] .site-public-menu-home-link,
body[data-theme="dark"] .site-public-menu-home-link:hover,
body[data-theme="dark"] .site-public-menu-home-link:focus-visible {
  background: rgba(10, 16, 30, 0.92);
  color: #f4f7ff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
}

body[data-theme="dark"] .site-public-menu-social-link {
  background: rgba(243, 246, 255, 0.96);
}

body[data-theme="dark"] .site-public-menu-link,
body[data-theme="dark"] .site-public-menu-social-label {
  color: rgba(255, 255, 255, 0.92);
}

body[data-theme="dark"] .news-sidebar-instagram {
  background: transparent;
  border-color: var(--gray-border);
  box-shadow: var(--shadow-soft);
}

body[data-theme="dark"] .news-sidebar-instagram-cell {
  background: transparent;
}

body[data-theme="dark"] .news-sidebar-instagram-follow {
  color: #9db8ff;
}

body[data-theme="dark"] .news-sidebar-instagram-follow:hover {
  color: #c2d1ff;
}

body[data-theme="dark"] .home-mobile-menu-panel {
  background: rgba(10, 16, 30, 0.98);
}

body[data-theme="dark"] .home-mobile-menu-link {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

body[data-theme="dark"] .home-mobile-menu-link:hover,
body[data-theme="dark"] .home-mobile-menu-link:focus-visible {
  background: rgba(122, 162, 255, 0.12);
  border-color: rgba(122, 162, 255, 0.2);
}

body[data-theme="dark"] .home-mobile-menu-link--primary,
body[data-theme="dark"] .home-mobile-menu-link--accent,
body[data-theme="dark"] .home-mobile-menu-link--active {
  color: #ffffff;
}

body[data-theme="dark"] .site-footer {
  background: rgba(6, 10, 18, 0.96);
  border-top-color: #27446f;
}

body[data-theme="dark"] .site-footer-eyebrow,
body[data-theme="dark"] .site-footer-section-label {
  color: rgba(221, 231, 248, 0.66);
}

body[data-theme="dark"] .site-footer-brand-title,
body[data-theme="dark"] .site-footer-link,
body[data-theme="dark"] .site-footer-copy {
  color: var(--white);
}

body[data-theme="dark"] .site-footer-brand-text,
body[data-theme="dark"] .site-footer-disclaimer {
  color: rgba(223, 232, 247, 0.8);
}

body[data-theme="dark"] .site-footer-meta {
  border-top-color: rgba(255, 255, 255, 0.09);
}

body[data-theme="dark"] .back-link {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

body[data-theme="dark"] .back-link:hover,
body[data-theme="dark"] .back-link:focus-visible {
  color: #ffffff;
  background: var(--blue-700);
  border-color: var(--blue-700);
}

.news-article-body-section {
  padding-top: 0.85rem;
  padding-bottom: 0.6rem;
  border-top: 0;
  margin-top: 0.85rem;
}

.news-article-taxonomy-section {
  padding-top: 0.2rem;
}

.legal-page-card {
  border: 0;
  box-shadow: none;
  background: transparent;
}

.legal-page-card .hero,
.legal-page-card .content-section {
  background: transparent;
}

.legal-page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.legal-page-links .footer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.55rem 1rem;
  border-radius: var(--site-corner-radius);
  background: #ffffff;
  border: 1px solid var(--gray-border);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.legal-page-links .footer-link:hover,
.legal-page-links .footer-link:focus-visible {
  background: var(--blue-700);
  border-color: var(--blue-700);
  color: #ffffff;
  transform: translateY(-1px);
}

.legal-page-links .back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
}

.privacy-page-card {
  border: 0;
  box-shadow: none;
  background: transparent;
}

.privacy-page-card .hero,
.privacy-page-card .content-section {
  background: transparent;
}

.privacy-page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.privacy-page-links .footer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.55rem 1rem;
  border-radius: var(--site-corner-radius);
  background: #ffffff;
  border: 1px solid var(--gray-border);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.privacy-page-links .footer-link:hover,
.privacy-page-links .footer-link:focus-visible {
  background: var(--blue-700);
  border-color: var(--blue-700);
  color: #ffffff;
  transform: translateY(-1px);
}

.privacy-page-links .back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
}

.cookies-page-card {
  border: 0;
  box-shadow: none;
  background: transparent;
}

.cookies-page-card .hero,
.cookies-page-card .content-section {
  background: transparent;
}

.cookies-page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookies-page-links .footer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.55rem 1rem;
  border-radius: var(--site-corner-radius);
  background: #ffffff;
  border: 1px solid var(--gray-border);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.cookies-page-links .footer-link:hover,
.cookies-page-links .footer-link:focus-visible {
  background: var(--blue-700);
  border-color: var(--blue-700);
  color: #ffffff;
  transform: translateY(-1px);
}

.cookies-page-links .back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
}

.terms-page-card {
  border: 0;
  box-shadow: none;
  background: transparent;
}

.terms-page-card .hero,
.terms-page-card .content-section {
  background: transparent;
}

.terms-page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.terms-page-links .footer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.55rem 1rem;
  border-radius: var(--site-corner-radius);
  background: #ffffff;
  border: 1px solid var(--gray-border);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.terms-page-links .footer-link:hover,
.terms-page-links .footer-link:focus-visible {
  background: var(--blue-700);
  border-color: var(--blue-700);
  color: #ffffff;
  transform: translateY(-1px);
}

.terms-page-links .back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
}

/* ============================================================
   ACCOUNT PAGE
   ============================================================ */
.account-page-card {
  border: 0;
  box-shadow: none;
  background: transparent;
}

.account-page-card .hero,
.account-page-card .content-section {
  background: #ffffff;
}

.account-page-card .content-section {
  padding-block: 1.75rem;
}

.account-group-card,
.account-section-divider {
  display: grid;
  gap: 1rem;
}

.account-section-divider {
  padding-top: 1.25rem;
  margin-top: 1.25rem;
  border-top: 1px solid var(--gray-border);
}

.account-avatar-actions {
  margin-top: 0.75rem;
}

.member-summary-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.member-summary-avatar {
  width: 160px;
  height: 160px;
  max-width: 100%;
  object-fit: cover;
  display: block;
  border: 1px solid var(--gray-border);
  border-radius: 0;
  background: var(--gray-light);
}

.member-summary-card h2 {
  margin: 0.15rem 0 0.35rem;
}

.member-summary-card p:last-child {
  margin-bottom: 0;
}

.account-password-panel {
  border-top: 1px solid var(--gray-border);
  background: #ffffff;
}

.account-password-summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 2rem;
  font-weight: 800;
  color: var(--text);
}

.account-password-summary::-webkit-details-marker {
  display: none;
}

.account-password-body {
  padding: 0 2rem 1.75rem;
  display: grid;
  gap: 1rem;
}

.account-followed-posts-list {
  display: grid;
  gap: 0.85rem;
}

.account-followed-post-item {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--gray-border);
}

.account-followed-post-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.account-form-actions {
  margin-top: 1rem;
}

.account-page-card .admin-lockable-fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.account-page .checkbox-grid {
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

.account-page .follow-platform-setting {
  display: grid;
  gap: 0.4rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.account-page .follow-platform-toggle {
  align-items: center;
  gap: 0.55rem;
}

.account-page .follow-platform-setting-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  line-height: 1.2;
}

.account-page .follow-platform-input {
  padding-left: 1.9rem;
}

.account-page .follow-platform-setting .form-field {
  margin-bottom: 0;
}

.account-page .follow-platform-toggle input[type="checkbox"] {
  width: 20px;
  height: 20px;
  border: 2px solid var(--blue-700);
  border-radius: 999px;
  accent-color: var(--blue-700);
}

.account-page .follow-platform-setting-label {
  font-weight: 700;
}

/* ============================================================
   YOUTUBE / VIDEOS PAGE
   ============================================================ */
.youtube-page-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.video-card {
  display: grid;
  gap: 0;
  border-radius: var(--site-corner-radius);
  overflow: hidden;
  border: 1px solid var(--gray-border);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.video-card-thumb {
  background: var(--gray-light);
}

.video-card-copy {
  background: #ffffff;
}

.video-card-thumb-fallback {
  color: var(--text-muted);
}

body[data-theme="dark"] .youtube-page-card .hero,
body[data-theme="dark"] .youtube-page-card .content-section {
  background: rgba(15, 23, 40, 0.92);
  border-color: var(--gray-border);
  box-shadow: var(--shadow-soft);
}

body[data-theme="dark"] .video-card {
  background: rgba(20, 28, 48, 0.96);
  border-color: var(--gray-border);
}

body[data-theme="dark"] .video-card-copy {
  background: rgba(20, 28, 48, 0.96);
}

body[data-theme="dark"] .video-card-copy h2 a,
body[data-theme="dark"] .video-card-date,
body[data-theme="dark"] .video-card-thumb-fallback {
  color: var(--white);
}

body[data-theme="dark"] .video-card .footer-link {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

body[data-theme="dark"] .video-card .footer-link:hover,
body[data-theme="dark"] .video-card .footer-link:focus-visible {
  background: var(--blue-700);
  border-color: var(--blue-700);
  color: #ffffff;
}

.video-card {
  display: flex;
  flex-direction: column;
  background: var(--panel-strong);
  border: 1px solid var(--gray-border);
  border-radius: 0;
  overflow: hidden;
}

.video-card-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--gray-light);
  overflow: hidden;
  text-decoration: none;
}

.video-card-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card-thumb-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.video-card-copy {
  padding: 1rem;
  display: grid;
  gap: 0.55rem;
  background: transparent;
}

.video-card-date {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.video-card-copy h2 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}

.video-card-copy h2 a {
  color: var(--text);
  text-decoration: none;
}

.video-card-copy h2 a:hover,
.video-card-copy h2 a:focus-visible {
  text-decoration: underline;
}

.video-card-copy .footer-links {
  margin-top: 0.2rem;
}

.youtube-page-card .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.youtube-page-card .footer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.55rem 1rem;
  border-radius: var(--site-corner-radius);
  background: var(--panel-strong);
  border: 1px solid var(--gray-border);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.youtube-page-card .footer-link:hover,
.youtube-page-card .footer-link:focus-visible {
  background: var(--blue-700);
  border-color: var(--blue-700);
  color: #ffffff;
  transform: translateY(-1px);
}

/* ============================================================
   PODCAST PAGE
   ============================================================ */
.podcast-page-card {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.podcast-page-card .hero,
.podcast-page-card .content-section {
  background: #ffffff;
}

.podcast-page-card .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.podcast-page-card .podcast-spotify-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.62rem 1.15rem;
  border-radius: 999px;
  background: var(--red-700);
  border: 1px solid var(--red-700);
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease;
}

.podcast-page-card .podcast-spotify-link:hover,
.podcast-page-card .podcast-spotify-link:focus-visible {
  background: #a90e25;
  border-color: #a90e25;
  transform: translateY(-1px);
}

.podcast-embed {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  background: #ffffff;
  border: 1px solid var(--gray-border);
  overflow: hidden;
}

.podcast-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================================
   HOMEPAGE — HERO
   ============================================================ */
.hero {
  padding: 1.8rem;
  background: #ffffff;
  border-bottom: 1px solid var(--gray-border);
}

.hero h1 { margin-bottom: 0.75rem; }
.hero p { margin: 0; }

body.home .hero h1 {
  margin-bottom: 0.45rem;
}

.breadcrumb-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  padding: 0 1.8rem 1rem;
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.breadcrumb-separator {
  opacity: 0.55;
}

.post-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.post-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.48rem 0.7rem;
  border-radius: 999px;
  background: rgba(16, 43, 102, 0.06);
  color: var(--text);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
}

/* ============================================================
   HOMEPAGE — FEATURED ARTICLE (BALANCED SIZE)
   ============================================================ */
.home-stack-section {
  padding: 0;
  background: transparent;
  border-bottom: none;
}

.home-stack-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.home-stack-card {
  background: #ffffff;
  border: 1px solid var(--gray-border);
  border-radius: var(--site-corner-radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.home-stack-card-link {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  min-height: 100%;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.home-stack-card-image {
  min-height: 100%;
  background: transparent;
  overflow: hidden;
}

.home-stack-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.home-stack-card:hover .home-stack-card-image img {
  transform: scale(1.03);
}

.home-stack-card-copy {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.2rem 1.3rem;
  min-width: 0;
}

.home-stack-card-copy h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.25;
}

.home-stack-card-copy p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-stack-card-copy .post-card-date {
  margin-top: auto;
}

.news-lead-grid {
  display: block;
  padding: 0;
  background: #ffffff;
  border: 1px solid var(--gray-border);
  border-radius: var(--site-corner-radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

body.home {
  --home-sidebar-gap: 2rem;
}

body.home .site-public-layout {
  gap: var(--home-sidebar-gap);
}

body.home .news-lead-grid {
  width: 100%;
  margin: 0;
}

body.home .news-lead-story,
body.news-index-page .news-lead-story {
  padding: 0;
}

.news-lead-story { display: flex; flex-direction: column; }

.news-lead-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  gap: 0;
}

.news-lead-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: transparent;
  border-radius: 0;
  border: 0;
  flex-shrink: 0;
}

.news-lead-image img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 300ms ease;
}

.news-lead-link:hover .news-lead-image img { transform: scale(1.03); }

.news-lead-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.7rem 1.75rem 1.75rem;
}

.news-lead-copy h2 { margin: 0 0 0.5rem 0; font-size: 1.72rem; }

.news-lead-standfirst {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.58;
  margin-bottom: 0.9rem;
}

.news-lead-read-more {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 0.1rem;
  margin-bottom: 0.85rem;
  color: var(--red-700);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.news-lead-read-more:hover,
.news-lead-read-more:focus-visible {
  text-decoration: underline;
}

.home-mobile-only {
  display: none;
}

.home-mobile-article-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-mobile-article-list-item {
  margin: 0;
}

.home-mobile-article-list-link {
  display: grid;
  grid-template-columns: minmax(0, 46%) minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  padding: 0.85rem 0;
  color: inherit;
  text-decoration: none;
  background: #ffffff;
  border-top: 1px solid rgba(16, 43, 102, 0.12);
}

.home-mobile-article-list-item:first-child .home-mobile-article-list-link {
  border-top: 0;
}

.home-mobile-article-list-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #ffffff;
}

.home-mobile-article-list-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-mobile-article-list-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.home-mobile-article-list-title {
  margin: 0;
  font-size: clamp(0.96rem, 4.4vw, 1.28rem);
  line-height: 1.12;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: #202020;
}

.home-mobile-article-list-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.92rem;
  line-height: 1.2;
}

.home-mobile-article-list-category {
  color: var(--red-700);
  font-weight: 700;
}

.home-mobile-article-list-separator {
  color: rgba(32, 32, 32, 0.45);
}

.home-mobile-article-list-time {
  color: rgba(32, 32, 32, 0.55);
  font-weight: 600;
}

.home-mobile-youtube .post-card-date {
  color: rgba(32, 32, 32, 0.55);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
}

.home-mobile-youtube-section {
  padding-bottom: 0.25rem;
  background: #ffffff;
}

.home-mobile-youtube-link {
  display: grid;
  grid-template-columns: minmax(0, 46%) minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  color: inherit;
  text-decoration: none;
  background: #ffffff;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(16, 43, 102, 0.12);
}

.home-mobile-youtube-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #ffffff;
}

.home-mobile-youtube-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-mobile-youtube-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.home-mobile-youtube-title {
  margin: 0;
  font-size: clamp(0.96rem, 4.4vw, 1.28rem);
  line-height: 1.12;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: #202020;
}

body.home .site-public-sidebar {
  padding-top: clamp(1.55rem, 2.6vw, 2rem);
  gap: 1rem;
}

.news-sidebar-youtube {
  background: #ffffff;
  padding: 0;
  border: 1px solid var(--gray-border);
  border-radius: var(--site-corner-radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.news-sidebar-youtube-link {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-decoration: none;
  color: inherit;
}

.news-sidebar-youtube-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--gray-light);
  border-radius: 0;
}

.news-sidebar-youtube-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.news-sidebar-youtube-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 0.3rem;
  padding: 0.85rem 0.85rem 0.95rem;
}

.news-sidebar-youtube-body strong {
  font-size: 0.95rem;
  line-height: 1.25;
}

.news-sidebar-youtube-body .eyebrow {
  margin-bottom: 0;
}

.news-sidebar-youtube-body .post-card-date {
  margin-top: 0;
  font-size: 0.74rem;
}

body.home .news-sidebar-instagram {
  margin-top: 0;
}

.post-card-date {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 700;
  margin-top: auto;
}

/* ============================================================
   HOMEPAGE — LATEST ARTICLES SIDEBAR
   ============================================================ */
.news-latest-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.news-compact-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
  width: 100%;
  padding: 0.75rem 0.82rem;
  background: #ffffff;
  border: 1px solid var(--gray-border);
  border-radius: var(--site-corner-radius);
  text-decoration: none;
  color: inherit;
  transition: background 150ms ease;
  position: relative;
  z-index: 1;
}

.news-compact-card:hover { background: rgba(16, 43, 102, 0.03); }

.news-compact-card .eyebrow { margin-bottom: 0.22rem; }

.news-compact-card h3 { margin: 0.12rem 0 0.25rem; font-size: 0.84rem; }

.news-compact-card,
.news-compact-card * {
  cursor: pointer;
}

.news-compact-card p {
  margin: 0 0 0.28rem;
  font-size: 0.74rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-compact-card__thumb {
  display: block;
  width: 88px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--gray-light);
  flex-shrink: 0;
}

.news-compact-card__thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.news-compact-card__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.news-lead-standfirst {
  font-size: 1.06rem;
}

@media (min-width: 1025px) {
  body.home {
    --shell-width: min(92vw, 1240px);
  }

  .social-icons-bar {
    display: block;
  }
}

/* ============================================================
   HOMEPAGE — ARTICLE GRID
   ============================================================ */
.news-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
  background: #ffffff;
  border: 1px solid var(--gray-border);
  border-radius: var(--site-corner-radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.homepage-section-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.homepage-section-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.homepage-section-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.homepage-section-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.news-article-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--site-corner-radius);
  overflow: hidden;
  transition: border-color 150ms ease, background 150ms ease;
  box-shadow: var(--shadow-soft);
}

.news-article-card:hover {
  border-color: rgba(16, 43, 102, 0.18);
  background: rgba(16, 43, 102, 0.01);
}

.news-article-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.news-article-card-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: transparent;
  flex-shrink: 0;
}

.news-article-card-image img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 300ms ease;
}

.news-article-card:hover .news-article-card-image img { transform: scale(1.04); }

.news-article-card-copy {
  padding: 1.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-article-card-copy h2,
.news-article-card-copy h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  line-height: 1.3;
}

.news-article-card-copy p {
  margin: 0 0 0.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-heading h2 { margin: 0; }

/* ============================================================
   TOPIC HUB CARDS
   ============================================================ */
.topic-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
}

.topic-hub-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1rem 1.05rem 1.08rem;
  background: #ffffff;
  border: 1px solid var(--gray-border);
  border-radius: var(--site-corner-radius);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  color: inherit;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}

.topic-hub-card:hover {
  transform: translateY(-2px);
  border-color: rgba(16, 43, 102, 0.18);
  background: rgba(16, 43, 102, 0.012);
}

.topic-hub-card .eyebrow {
  margin-bottom: 0;
}

.topic-hub-card h3 {
  margin: 0;
  font-size: 1.03rem;
  line-height: 1.25;
}

.topic-hub-card p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* ============================================================
   ARTICLE PAGE
   ============================================================ */
.news-article-page-card { max-width: 100%; }

.news-article-page-card {
  border-radius: var(--site-corner-radius);
}

.news-article-desktop-body-header {
  display: none;
}

.news-article-meta--desktop {
  display: none;
}

body.news-article-page {
  background: #f8fafc !important;
}

body.news-article-page .site-public-layout {
  grid-template-columns: 1fr;
  gap: 0;
  width: var(--shell-width);
}

body.news-article-page .news-article-page-card {
  overflow: visible;
}

@media (min-width: 1025px) {
  body.news-article-page .news-article-page-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    row-gap: 0;
    column-gap: 2rem;
    align-items: start;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
  }

  body.news-article-page .shell {
    padding-top: 0.75rem;
    background: #f8fafc;
  }

  body.news-article-page .news-article-title-card {
    display: block;
    padding: 0.05rem 1.8rem 0.55rem;
    padding-left: 0;
  }

  body.news-article-page .news-article-title-card .news-article-eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 2rem;
    padding: .34rem .82rem;
    border-radius: 999px;
    font-size: .88rem;
    font-weight: 800;
    letter-spacing: .025em;
    text-transform: none;
    margin: 0 0 0.55rem;
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fd 100%);
    border: 1px solid #d8dfea;
    color: var(--blue-900);
    box-shadow: none;
    white-space: nowrap;
  }

  body.news-article-page .news-article-title-card h1 {
    max-width: none;
    width: 100%;
  }

  body.news-article-page .news-article-desktop-body-header {
    display: block;
    padding-top: 1.05rem;
    padding-bottom: 0.55rem;
  }

  body.news-article-page .news-article-desktop-body-header h1 {
    max-width: none;
    width: 100%;
  }

  body.news-article-page .news-article-meta--desktop {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem 0.85rem;
    margin: 0.55rem 0 0;
    padding: 0;
    font-size: 0.8rem;
    line-height: 1.2;
    color: #7a8498;
  }

  body.news-article-page .news-article-meta--desktop .news-article-meta-author {
    display: none;
    align-items: baseline;
    gap: 0.15rem;
    color: var(--text);
  }

  body.news-article-page .news-article-meta--desktop .news-article-meta-date {
    color: #7a8498;
  }

  body.news-article-page .news-article-meta--mobile {
    display: none;
  }

  body.news-article-page .news-article-split-card {
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  body.news-article-page .news-article-media-card {
    grid-column: 1 / -1;
    min-width: 0;
    display: block;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  body.news-article-page .news-article-media-card .news-article-gallery {
    padding: 0;
    width: 100%;
    grid-template-columns: minmax(0, 0.98fr) minmax(0, 0.72fr);
    gap: 0.95rem;
  }

  body.news-article-page .news-article-media-card .single-listing__gallery--count-2,
  body.news-article-page .news-article-media-card .news-article-gallery--count-2 {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.56fr);
  }

  body.news-article-page .news-article-media-card .single-listing__gallery--count-3,
  body.news-article-page .news-article-media-card .news-article-gallery--count-3 {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.62fr);
  }

  body.news-article-page .news-article-media-card .single-listing__gallery--count-4,
  body.news-article-page .news-article-media-card .news-article-gallery--count-4 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.68fr);
  }

  body.news-article-page .news-article-media-card .single-listing__gallery--count-5,
  body.news-article-page .news-article-media-card .news-article-gallery--count-5 {
    grid-template-columns: minmax(0, 0.98fr) minmax(0, 0.72fr);
  }

  body.news-article-page .news-article-media-card .news-article-gallery--single {
    grid-template-columns: 1fr;
  }

  body.news-article-page .news-article-media-card .news-article-gallery--multi .news-article-gallery__lead,
  body.news-article-page .news-article-media-card .single-listing__gallery--count-2 .news-article-gallery__lead,
  body.news-article-page .news-article-media-card .single-listing__gallery--count-3 .news-article-gallery__lead,
  body.news-article-page .news-article-media-card .single-listing__gallery--count-4 .news-article-gallery__lead,
  body.news-article-page .news-article-media-card .single-listing__gallery--count-5 .news-article-gallery__lead {
    min-height: clamp(300px, 29vw, 490px);
    aspect-ratio: 16 / 9;
  }

  body.news-article-page .news-article-media-card .news-article-gallery--count-2 .news-article-gallery__lead,
  body.news-article-page .news-article-media-card .news-article-gallery--count-3 .news-article-gallery__lead,
  body.news-article-page .news-article-media-card .news-article-gallery--count-4 .news-article-gallery__lead,
  body.news-article-page .news-article-media-card .news-article-gallery--count-5 .news-article-gallery__lead {
    aspect-ratio: 16 / 9;
  }

  body.news-article-page .news-article-media-card .news-article-gallery__secondary-grid,
  body.news-article-page .news-article-media-card .single-listing__secondary-grid {
    grid-auto-rows: minmax(145px, 1fr);
    gap: 0.8rem;
  }

  body.news-article-page .news-article-media-card .single-listing__secondary-grid--count-2,
  body.news-article-page .news-article-media-card .news-article-gallery--count-2 .news-article-gallery__secondary-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }

  body.news-article-page .news-article-media-card .single-listing__secondary-grid--count-2 .gallery-card--secondary,
  body.news-article-page .news-article-media-card .news-article-gallery--count-2 .news-article-gallery__secondary-grid .news-article-gallery__tile {
    min-height: 0;
    aspect-ratio: auto;
  }

  body.news-article-page .news-article-media-card .single-listing__secondary-grid--count-3,
  body.news-article-page .news-article-media-card .news-article-gallery__secondary-grid--count-3 {
    grid-template-rows: minmax(0, 1.06fr) minmax(0, 0.94fr);
  }

  body.news-article-page .news-article-media-card .single-listing__secondary-grid--count-3 .gallery-card--secondary:first-child,
  body.news-article-page .news-article-media-card .news-article-gallery__secondary-grid--count-3 .news-article-gallery__tile:first-child {
    aspect-ratio: 16 / 9;
  }

  body.news-article-page .news-article-media-card .single-listing__secondary-grid--count-4,
  body.news-article-page .news-article-media-card .news-article-gallery__secondary-grid--count-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }

  body.news-article-page .news-article-media-card .single-listing__secondary-grid--count-4 .gallery-card--secondary,
  body.news-article-page .news-article-media-card .news-article-gallery__secondary-grid--count-4 .news-article-gallery__tile {
    aspect-ratio: 1 / 1;
  }

  body.news-article-page .news-article-media-card .gallery-card,
  body.news-article-page .news-article-media-card .news-article-gallery__figure,
  body.news-article-page .news-article-media-card .news-article-gallery__tile {
    margin: 0;
    overflow: hidden;
    border-radius: 22px;
    border: 0;
    background: transparent;
    box-shadow: none;
    min-height: 0;
  }

  body.news-article-page .news-article-media-card .gallery-card--featured {
    min-height: clamp(300px, 29vw, 490px);
    aspect-ratio: 16 / 9;
  }

  body.news-article-page .news-article-media-card .gallery-card--secondary {
    min-height: clamp(150px, 14vw, 228px);
    aspect-ratio: 1 / 1;
  }

  body.news-article-page .news-article-media-card .gallery-card img,
  body.news-article-page .news-article-media-card .news-article-gallery__figure img,
  body.news-article-page .news-article-media-card .news-article-gallery__tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
  }

  body.news-article-page .news-article-media-card .news-article-gallery__thumbs {
    grid-column: 1 / -1;
    padding-top: 0.65rem;
  }

  body.news-article-page .news-article-body-card {
    grid-column: 1;
    min-width: 0;
    display: grid;
    gap: 0;
    border-radius: var(--site-corner-radius);
    background: #ffffff;
    border: 1px solid var(--gray-border);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
  }

  body.news-article-page .news-article-side-column {
    grid-column: 2;
    width: 100%;
    max-width: 330px;
    padding: 0;
    min-width: 0;
    padding-top: 0;
    position: relative;
    top: 0;
  }

  body.news-article-page .news-article-sidebar-card {
    display: block;
    gap: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
  }

  body.news-article-page .news-article-sidebar-card .site-public-sidebar {
    width: 100%;
    padding-top: 0;
    gap: 1rem;
  }

  body.news-article-page .news-article-sidebar-card .news-article-side-card,
  body.news-article-page .news-article-sidebar-card .news-article-side-panel {
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
  }

  /* Restore card styling for YouTube and Instagram widgets within article sidebar */
  body.news-article-page .news-article-sidebar-card .news-sidebar-youtube,
  body.news-article-page .news-article-sidebar-card .news-sidebar-instagram {
    background: #ffffff;
    border: 1px solid var(--gray-border);
    border-radius: var(--site-corner-radius);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    padding: 0;
  }

  body.news-article-page .news-article-sidebar-card .news-related-link {
    overflow: hidden;
    border: 1px solid var(--gray-border);
    box-shadow: var(--shadow-soft);
    border-radius: var(--site-corner-radius);
    gap: 0;
  }

  body.news-article-page .news-article-sidebar-card .news-related-link__thumb {
    border-radius: 0;
  }

  body.news-article-page .news-article-sidebar-card .news-related-link__body {
    padding: 0.85rem 0.85rem 0.95rem;
  }

  body.news-article-page .news-article-comments-card {
    grid-column: 1;
    min-width: 0;
    background: #ffffff;
    border: 1px solid var(--gray-border);
    border-radius: var(--site-corner-radius);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
  }

  body.news-article-page .news-article-read-next-card {
    grid-column: 1;
    min-width: 0;
    margin-top: 0.5rem;
    max-width: calc(100% - 330px - 2rem);
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  body.news-article-page .news-article-read-next-card .eyebrow {
    display: none;
  }

  body.news-article-page .news-article-media-card .single-listing__header,
  body.news-article-page .news-article-media-card .single-listing__gallery,
  body.news-article-page .news-article-media-card .single-listing__layout,
  body.news-article-page .news-article-media-card .single-listing > .content-card {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  body.news-article-page .news-article-media-card .single-listing__gallery {
    display: grid;
    grid-template-columns: minmax(0, 0.98fr) minmax(0, 0.72fr);
    align-items: stretch;
    gap: 0.95rem;
    margin-bottom: 0.75rem;
  }

  body.news-article-page .news-article-media-card .single-listing__gallery--count-2 {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.56fr);
  }

  body.news-article-page .news-article-media-card .single-listing__gallery--count-3 {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.62fr);
  }

  body.news-article-page .news-article-media-card .single-listing__gallery--count-4 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.68fr);
  }

  body.news-article-page .news-article-media-card .single-listing__gallery--count-5 {
    grid-template-columns: minmax(0, 0.98fr) minmax(0, 0.72fr);
  }

  body.news-article-page .news-article-media-card .single-listing__gallery > * {
    min-width: 0;
  }

  body.news-article-page .news-article-media-card .single-listing__gallery .gallery-card {
    overflow: hidden;
    border-radius: 22px;
    border: 0;
    background: transparent;
    box-shadow: none;
    min-height: 100%;
  }

  body.news-article-page .news-article-media-card .gallery-card--featured {
    min-width: 0;
    min-height: clamp(300px, 29vw, 490px);
    aspect-ratio: 16 / 9;
    width: 100%;
  }

  body.news-article-page .news-article-media-card .single-listing__gallery--solo .gallery-card--featured {
    grid-row: auto;
    width: min(100%, 820px);
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  body.news-article-page .news-article-media-card .gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
  }

  body.news-article-page .news-article-media-card .single-listing__secondary-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    min-height: 100%;
    align-items: stretch;
    min-width: 0;
    width: 100%;
  }

  body.news-article-page .news-article-media-card .single-listing__secondary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(145px, 1fr);
    gap: 0.8rem;
    min-height: 100%;
    width: 100%;
    min-width: 0;
  }

  body.news-article-page .news-article-media-card .single-listing__secondary-grid--count-1 {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
  }

  body.news-article-page .news-article-media-card .single-listing__secondary-grid--count-1 .gallery-card--secondary {
    aspect-ratio: auto;
    min-height: 100%;
  }

  body.news-article-page .news-article-media-card .single-listing__secondary-grid--count-2 {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }

  body.news-article-page .news-article-media-card .single-listing__secondary-grid--count-2 .gallery-card--secondary {
    min-height: 0;
    aspect-ratio: auto;
  }

  body.news-article-page .news-article-media-card .single-listing__secondary-grid--count-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: minmax(0, 1.06fr) minmax(0, 0.94fr);
  }

  body.news-article-page .news-article-media-card .single-listing__secondary-grid--count-3 .gallery-card--secondary:first-child {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  body.news-article-page .news-article-media-card .single-listing__secondary-grid--count-3 .gallery-card--secondary:not(:first-child) {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  body.news-article-page .news-article-media-card .single-listing__secondary-grid--count-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }

  body.news-article-page .news-article-media-card .single-listing__secondary-grid--count-4 .gallery-card--secondary {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  body.news-article-page .news-article-media-card .gallery-card--secondary {
    min-width: 0;
    min-height: clamp(150px, 14vw, 228px);
    aspect-ratio: 1 / 1;
  }

  body.news-article-page .news-card-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  body.news-article-page .news-article-card {
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  body.news-article-page .news-article-card-link {
    display: grid;
    grid-template-columns: minmax(0, 46%) minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
    padding: 0.85rem 0;
    color: inherit;
    text-decoration: none;
    background: transparent;
    border-top: 1px solid rgba(16, 43, 102, 0.12);
  }

  body.news-article-page .news-article-card:first-child .news-article-card-link {
    border-top: 0;
  }

  body.news-article-page .news-article-card-image {
    aspect-ratio: 16 / 9;
    width: 100%;
    overflow: hidden;
    background: transparent;
  }

  body.news-article-page .news-article-card-image img {
    border-radius: 0;
  }

  body.news-article-page .news-article-card-copy {
    min-width: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
  }

  body.news-article-page .news-article-card-copy h2,
  body.news-article-page .news-article-card-copy h3 {
    margin: 0;
    font-size: clamp(0.96rem, 4.4vw, 1.28rem);
    line-height: 1.12;
    font-weight: 650;
    letter-spacing: -0.01em;
    color: #202020;
  }

  body.news-article-page .news-article-card-copy p {
    display: none;
  }

  body.news-article-page .news-article-card-copy .post-card-date {
    color: rgba(32, 32, 32, 0.55);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.2;
  }

  body.news-article-page .news-article-page-card > .news-article-split-card:not(.news-article-media-card):not(.news-article-body-card):not(.news-article-sidebar-card):not(.news-article-comments-card):not(.news-article-read-next-card) {
    grid-column: 1 / -1;
    min-width: 0;
  }
  }

body.news-index-page .hero {
  padding: 1.6rem 1.75rem;
  background: #ffffff;
  border: 1px solid var(--gray-border);
  border-radius: var(--site-corner-radius);
  box-shadow: var(--shadow-soft);
}

body.news-index-page .hero h1 {
  margin-bottom: 0.4rem;
}

body.news-index-page .hero .intro {
  max-width: 720px;
}

body.news-index-page .news-lead-grid {
  margin-top: 0;
}

body.news-index-page .news-lead-link {
  gap: 1rem;
}

.news-article-page-hero { max-width: 100%; }

.news-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 2rem;
  align-items: start;
}

.news-article-main {
  display: grid;
  gap: 2rem;
  min-width: 0;
}

.news-article-side-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: stretch;
  min-width: 0;
  padding-top: 0;
}

.news-article-meta {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 700;
  margin: 1.2rem 0;
  padding: 1rem 0;
  border-top: 0;
}

.news-article-meta--mobile {
  display: grid;
  gap: 0.2rem;
  width: 100%;
  margin: 0;
  padding: 0.85rem 1.8rem 0.55rem;
  font-size: 0.82rem;
  line-height: 1.2;
  color: var(--text-muted);
}

.news-article-meta-author {
  display: block;
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}

.news-article-meta-date,
.news-article-meta-updated {
  font-size: 0.64rem;
  line-height: 1.18;
  color: #7a8498;
}

.news-article-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 0 1.8rem 2rem;
  align-items: stretch;
}

.news-article-gallery--multi {
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 0.72fr);
  gap: 0.95rem;
}

.news-article-page-card .news-article-gallery {
  padding-bottom: 0.75rem;
}

.news-article-gallery__lead,
.news-article-gallery__secondary {
  margin: 0;
}

.news-article-gallery__lead {
  min-height: 0;
}

.news-article-gallery__secondary {
  display: none;
}

.news-article-gallery--single .news-article-gallery__lead {
  width: 100%;
}

.news-article-gallery__secondary-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  min-width: 0;
  width: 100%;
}

.news-article-gallery__secondary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(145px, 1fr);
  gap: 0.8rem;
  min-width: 0;
  width: 100%;
}

.news-article-gallery__secondary-grid--count-1 {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}

.news-article-gallery__secondary-grid--count-1 .news-article-gallery__tile {
  aspect-ratio: 16 / 10;
}

.news-article-gallery__secondary-grid--count-2 {
  grid-template-columns: 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.news-article-gallery__secondary-grid--count-2 .news-article-gallery__tile {
  aspect-ratio: 16 / 10;
}

.news-article-gallery__secondary-grid--count-3 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1.06fr) minmax(0, 0.94fr);
}

.news-article-gallery__secondary-grid--count-3 .news-article-gallery__tile:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}

.news-article-gallery__secondary-grid--count-3 .news-article-gallery__tile:not(:first-child) {
  aspect-ratio: 1 / 1;
}

.news-article-gallery__secondary-grid--count-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.news-article-gallery__secondary-grid--count-4 .news-article-gallery__tile {
  aspect-ratio: 1 / 1;
}

.news-article-gallery__tile {
  padding: 0;
  border: 1px solid rgba(16, 43, 102, 0.08);
  border-radius: var(--site-corner-radius);
  overflow: hidden;
  background: #ffffff;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.news-article-gallery__tile:hover,
.news-article-gallery__tile:focus-visible {
  transform: translateY(-1px);
}

.news-article-gallery__tile.is-active {
  border-color: var(--blue-700);
  box-shadow: 0 0 0 1px rgba(36, 87, 216, 0.08);
}

.news-article-gallery__tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-article-gallery__thumbs {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 0 0.2rem;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.news-article-gallery__thumb {
  flex: 0 0 auto;
  width: 96px;
  height: 64px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 0.7rem;
  background: #ffffff;
  overflow: hidden;
  scroll-snap-align: start;
  cursor: pointer;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.news-article-gallery__thumb.is-active {
  border-color: var(--blue-700);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.02);
}

.news-article-gallery__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-article-gallery__thumb:hover {
  transform: translateY(-1px);
}

.news-article-gallery__figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--site-corner-radius);
  background: var(--gray-light);
  border: 1px solid rgba(16, 43, 102, 0.08);
  box-shadow: none;
  aspect-ratio: 16 / 10;
}

.news-article-gallery__figure img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 280ms ease;
}

.news-article-image-caption {
  margin: 0;
  padding: 0.95rem 1rem 1.05rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.4;
  background: #ffffff;
  border-top: 1px solid var(--gray-border);
}

.news-article-image-caption[hidden] {
  display: none;
}

.news-article-gallery__figure:hover img {
  transform: scale(1.02);
}

@media (min-width: 1025px) {
  body.news-article-page .news-article-media-card .single-listing__header,
  body.news-article-page .news-article-media-card .single-listing__gallery,
  body.news-article-page .news-article-media-card .single-listing__layout,
  body.news-article-page .news-article-media-card .single-listing > .content-card {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  body.news-article-page .news-article-media-card .single-listing__gallery {
    display: grid;
    grid-template-columns: minmax(0, 0.98fr) minmax(0, 0.72fr);
    align-items: stretch;
    gap: 0.95rem;
    margin-bottom: 0.75rem;
  }

  body.news-article-page .news-article-media-card .single-listing__gallery--count-2 {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.56fr);
  }

  body.news-article-page .news-article-media-card .single-listing__gallery--count-3 {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.62fr);
  }

  body.news-article-page .news-article-media-card .single-listing__gallery--count-4 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.68fr);
  }

  body.news-article-page .news-article-media-card .single-listing__gallery--count-5 {
    grid-template-columns: minmax(0, 0.98fr) minmax(0, 0.72fr);
  }

  body.news-article-page .news-article-media-card .single-listing__gallery > * {
    min-width: 0;
  }

  body.news-article-page .news-article-media-card .single-listing__gallery .gallery-card {
    overflow: hidden;
    border-radius: 22px;
    border: 0;
    background: transparent;
    box-shadow: none;
    min-height: 100%;
  }

  body.news-article-page .news-article-media-card .gallery-card--featured {
    min-width: 0;
    min-height: clamp(300px, 29vw, 490px);
    aspect-ratio: 16 / 9;
    width: 100%;
  }

  body.news-article-page .news-article-media-card .single-listing__gallery--solo .gallery-card--featured {
    grid-row: auto;
    width: min(100%, 820px);
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  body.news-article-page .news-article-media-card .single-listing__secondary-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    min-height: 100%;
    align-items: stretch;
    min-width: 0;
    width: 100%;
  }

  body.news-article-page .news-article-media-card .single-listing__secondary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(145px, 1fr);
    gap: 0.8rem;
    min-height: 100%;
    width: 100%;
    min-width: 0;
  }

  body.news-article-page .news-article-media-card .single-listing__secondary-grid--count-1 {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
  }

  body.news-article-page .news-article-media-card .single-listing__secondary-grid--count-1 .gallery-card--secondary {
    aspect-ratio: auto;
    min-height: 100%;
  }

  body.news-article-page .news-article-media-card .single-listing__secondary-grid--count-2 {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }

  body.news-article-page .news-article-media-card .single-listing__secondary-grid--count-2 .gallery-card--secondary {
    min-height: 0;
    aspect-ratio: auto;
  }

  body.news-article-page .news-article-media-card .single-listing__secondary-grid--count-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: minmax(0, 1.06fr) minmax(0, 0.94fr);
  }

  body.news-article-page .news-article-media-card .single-listing__secondary-grid--count-3 .gallery-card--secondary:first-child {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  body.news-article-page .news-article-media-card .single-listing__secondary-grid--count-3 .gallery-card--secondary:not(:first-child) {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  body.news-article-page .news-article-media-card .single-listing__secondary-grid--count-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }

  body.news-article-page .news-article-media-card .single-listing__secondary-grid--count-4 .gallery-card--secondary {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  body.news-article-page .news-article-media-card .gallery-card--secondary {
    min-width: 0;
    min-height: clamp(150px, 14vw, 228px);
    aspect-ratio: 1 / 1;
  }

  body.news-article-page .news-article-media-card .gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
  }

  body.news-article-page .news-article-media-card .news-article-gallery__figure {
    margin: 0;
    overflow: hidden;
    border-radius: 22px;
    border: 0;
    background: transparent;
    box-shadow: none;
    aspect-ratio: auto;
  }

  body.news-article-page .news-article-media-card .news-article-gallery__figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
  }

  body.news-article-page .news-article-media-card .news-article-gallery__tile {
    margin: 0;
    overflow: hidden;
    border-radius: 22px;
    border: 0;
    background: transparent;
    box-shadow: none;
    min-height: 0;
    transition: none;
  }

  body.news-article-page .news-article-media-card .news-article-gallery__tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
  }

  body.news-article-page .news-article-media-card .news-article-gallery__tile:hover,
  body.news-article-page .news-article-media-card .news-article-gallery__tile:focus-visible,
  body.news-article-page .news-article-media-card .news-article-gallery__figure:hover {
    transform: none;
  }

  body.news-article-page .news-article-media-card .news-article-gallery__figure:hover img {
    transform: none;
  }
}

.news-article-gallery__figure--lead {
  min-height: inherit;
}

.news-article-gallery__figure--secondary {
  min-height: 0;
}

.news-article-gallery__figure--secondary + .news-article-gallery__figure--secondary {
  margin-top: 0;
}

.news-article-gallery__stack {
  display: grid;
  gap: 1rem;
  min-height: 100%;
}

.news-article-gallery__stack .news-article-gallery__figure {
  min-height: 0;
}

.news-article-body {
  font-size: 1rem;
  line-height: 1.8;
  max-width: 720px;
}

.news-article-body p { margin-bottom: 1.2rem; }

.news-article-body > p:first-of-type::first-letter {
  float: left;
  font-size: 3.2rem;
  line-height: 2.4rem;
  font-weight: 700;
  margin-right: 0.1em;
  margin-top: 0.05em;
}

.news-article-body h2 {
  font-size: 1.25rem;
  margin: 1.75rem 0 0.8rem;
  border-left: 3px solid var(--red-700);
  padding-left: 0.75rem;
}

.news-article-body a { color: var(--blue-700); text-decoration: none; }
.news-article-body a:hover { text-decoration: underline; }

.news-article-standfirst {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.6;
  margin: 10px 0 1.5rem 0;
  color: var(--text);
}

.news-related-stories-section {
  display: grid;
  gap: 1rem;
}

.news-related-stories-list {
  display: grid;
  gap: 0.75rem;
}

.news-related-story-link {
  display: grid;
  gap: 0.25rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--gray-border);
  text-decoration: none;
  color: var(--text);
}

.news-related-story-link:first-child {
  border-top: 0;
  padding-top: 0;
}

.news-related-story-link strong {
  font-size: 0.95rem;
  line-height: 1.35;
}

.news-related-story-link span {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.news-taxonomy-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.news-taxonomy-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--gray-border);
  color: var(--text-muted);
  background: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.8rem;
}

.news-taxonomy-pill:hover,
.news-taxonomy-pill:focus-visible {
  color: #ffffff;
  background: var(--blue-700);
  border-color: var(--blue-700);
}

.news-article-side-panel {
  background: #fff;
  padding: 0.85rem 0.85rem 0.95rem;
  border-radius: var(--site-corner-radius);
  border: 1px solid var(--gray-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 1rem;
}

.news-article-side-card h2 { margin: 0 0 1rem; font-size: 1.05rem; }

.news-related-list {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.85rem;
}

.news-related-link {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0;
  text-decoration: none;
  color: inherit;
  border-radius: var(--site-corner-radius);
  background: #fff;
  transition: opacity 150ms ease;
}

.news-related-link:hover {
  opacity: 0.92;
}

.news-related-link__thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--gray-light);
  border-radius: var(--site-corner-radius);
}

.news-related-link__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-related-link__body {
  min-width: 0;
  padding: 0 0 0.35rem;
}

.news-related-link strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.98rem;
  line-height: 1.2;
}

.news-related-link .post-card-date {
  font-size: 0.78rem;
}

.news-sidebar-instagram {
  margin-top: 0.85rem;
  background: transparent;
  padding: 0;
  border: 1px solid var(--gray-border);
  border-radius: var(--site-corner-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.news-sidebar-instagram-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  padding: 0;
}

.news-sidebar-instagram-cell {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: transparent;
  border-radius: 0;
  text-decoration: none;
}

.news-sidebar-instagram-cell img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-sidebar-instagram-follow {
  display: inline-block;
  margin: 0 0.85rem 0.95rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue-700);
  text-decoration: none;
}

.news-sidebar-instagram-follow:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .news-related-link {
    gap: 0.6rem;
  }

  .news-related-link__thumb {
    aspect-ratio: 16 / 10;
  }

  .news-sidebar-instagram-grid {
    gap: 0.4rem;
  }
}

/* ============================================================
   NEWS ARCHIVE
   ============================================================ */
.news-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 0;
  margin: 0;
}

.news-pagination-label { font-size: 0.85rem; color: var(--text-muted); font-weight: 700; }

/* ============================================================
   FORM STYLING
   ============================================================ */
.contact-form,
.community-form {
  display: grid;
  gap: 1.5rem;
  width: 100%;
  max-width: none;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field span {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-border);
  border-radius: var(--site-corner-radius);
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: all 150ms ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue-700);
  box-shadow: 0 0 0 3px rgba(36, 87, 216, 0.1);
}

.form-field input::placeholder {
  color: var(--text-muted);
}

body[data-theme="dark"] .form-field input,
body[data-theme="dark"] .form-field select,
body[data-theme="dark"] .form-field textarea {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  color: #f4f7ff;
  caret-color: #f4f7ff;
}

body[data-theme="dark"] .form-field input::placeholder,
body[data-theme="dark"] .form-field textarea::placeholder {
  color: rgba(223, 232, 247, 0.55);
}

body[data-theme="dark"] .form-field input:focus,
body[data-theme="dark"] .form-field select:focus,
body[data-theme="dark"] .form-field textarea:focus {
  border-color: rgba(122, 162, 255, 0.72);
  box-shadow: 0 0 0 3px rgba(122, 162, 255, 0.16);
}

body[data-theme="dark"] .form-field input:-webkit-autofill,
body[data-theme="dark"] .form-field input:-webkit-autofill:hover,
body[data-theme="dark"] .form-field input:-webkit-autofill:focus,
body[data-theme="dark"] .form-field textarea:-webkit-autofill,
body[data-theme="dark"] .form-field select:-webkit-autofill {
  -webkit-text-fill-color: #f4f7ff;
  box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.05) inset;
  transition: background-color 9999s ease-out 0s;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.form-actions .footer-link {
  min-height: 46px;
  padding: 0.7rem 1.2rem;
  border-radius: var(--site-corner-radius);
  font-size: 0.95rem;
  background: var(--blue-700);
  color: var(--white);
  border: none;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease, transform 150ms ease;
  flex: 1;
  min-width: 140px;
}

.form-actions .footer-link:hover,
.form-actions .footer-link:focus-visible {
  background: #1d46c5;
  transform: translateY(-1px);
  box-shadow: none;
}

.form-actions .back-link {
  background: transparent;
  color: var(--blue-700);
  border: 1px solid var(--blue-700);
  padding: 0.7rem 1.2rem;
  min-height: 46px;
  border-radius: var(--site-corner-radius);
}

.form-actions .back-link:hover {
  background: rgba(36, 87, 216, 0.05);
}

.admin-settings-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.admin-settings-action-row .footer-link,
.admin-settings-action-row .back-link {
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  padding-left: 0.95rem;
  padding-right: 0.95rem;
}

.form-errors {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.form-errors li {
  font-size: 0.9rem;
  color: #8b1a2c;
}

.checkbox-fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

.checkbox-fieldset legend {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--blue-700);
}

.checkbox-row span {
  font-size: 0.9rem;
  color: var(--text);
}

.register-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  margin-bottom: 1rem;
}

.register-fields-stack {
  display: grid;
  gap: 1.5rem;
}

.register-side-stack {
  display: grid;
  gap: 1.5rem;
}

.register-accommodation-card {
  background: rgba(36, 87, 216, 0.04);
  border: 1px solid rgba(36, 87, 216, 0.15);
  padding: 1.2rem;
  border-radius: var(--site-corner-radius);
  margin: 0;
}

.register-accommodation-card strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text);
  font-size: 0.95rem;
}

.register-accommodation-card p {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.register-accommodation-card .footer-links {
  display: flex;
  gap: 0.5rem;
}

.register-accommodation-card .footer-link {
  font-size: 0.85rem;
  padding: 0.5rem 0.8rem;
  min-height: auto;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid var(--gray-border);
  color: var(--text);
  font-weight: 700;
  font-size: 0.82rem;
  border-radius: var(--site-corner-radius);
  text-decoration: none;
  cursor: pointer;
  transition: all 150ms ease;
}

.back-link:hover {
  background: var(--blue-700);
  border-color: var(--blue-700);
  color: var(--white);
}

.notice {
  padding: 1rem 1.25rem;
  border-radius: var(--site-corner-radius);
  border: 1px solid var(--gray-border);
  background: var(--gray-light);
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 1.5rem 0;
}

.notice-error {
  background: rgba(200, 16, 46, 0.05);
  border-color: rgba(200, 16, 46, 0.2);
  color: #8b1a2c;
}

.empty-state-copy {
  padding: 3rem 1rem;
  text-align: center;
  color: var(--text-muted);
}

/* ============================================================
   FOOTER — EXACT REPLICA FROM STAY FOLDER
   ============================================================ */
.site-footer {
  width: 100%;
  margin: 1.5rem 0 0;
  padding: 0.95rem 0 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 0;
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  background: rgba(16, 23, 42, 0.94);
  box-shadow: none;
  backdrop-filter: none;
  flex-shrink: 0;
  box-sizing: border-box;
}

.site-footer-inner {
  width: 100%;
  box-sizing: border-box;
  padding-inline: clamp(1rem, 2vw, 1.6rem);
  display: grid;
  justify-items: center;
  justify-content: center;
  gap: 0.55rem;
}

.site-footer-actions {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 0.35rem 0.75rem;
  margin-bottom: 0;
  justify-content: center;
}

.site-footer-link {
  min-height: auto;
  padding: 0.08rem 0.3rem;
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(235, 244, 255, 0.92);
  line-height: 1.35;
  text-decoration: none;
}

.site-footer-link--button {
  cursor: pointer;
  font-family: inherit;
}

.site-footer-link:hover,
.site-footer-link:focus-visible {
  color: #ffffff;
  text-decoration: underline;
}

.site-footer-disclaimer,
.site-footer-copy {
  margin: 0;
  color: rgba(213, 224, 246, 0.74);
  width: 100%;
  max-width: 980px;
  text-wrap: pretty;
  font-size: 0.7rem;
  line-height: 1.38;
  text-align: center;
  letter-spacing: 0.01em;
}

.site-footer-copy {
  margin-top: 0.12rem;
  font-weight: 600;
  color: rgba(235, 244, 255, 0.8);
}

/* ============================================================
   COOKIE BANNER — EXACT REPLICA FROM STAY FOLDER
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 10020;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.9rem 1rem;
  width: min(620px, calc(100vw - 2rem));
  padding: 1.15rem 1.2rem;
  border: 1px solid rgba(16, 43, 102, 0.14);
  border-radius: var(--site-corner-radius);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 28px 64px rgba(16, 43, 102, 0.18);
  backdrop-filter: blur(18px);
  flex-wrap: wrap;
}

.cookie-copy {
  flex: 1 1 420px;
  color: var(--text);
  font-size: 0.8rem;
  line-height: 1.42;
}

.cookie-copy strong {
  display: block;
  color: var(--text);
  font-size: 0.86rem;
}

.cookie-copy p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
}

.cookie-actions .cookie-button,
.cookie-actions .cookie-link {
  min-height: 46px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
}

.cookie-actions .cookie-link {
  order: -1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(16, 43, 102, 0.12);
  background: rgba(16, 43, 102, 0.04);
  color: var(--text);
  text-decoration: none;
}

.cookie-actions .cookie-link:hover,
.cookie-actions .cookie-link:focus-visible {
  background: rgba(16, 43, 102, 0.08);
  color: var(--text);
}

.cookie-button-secondary {
  background: rgba(16, 43, 102, 0.04);
  color: var(--text);
  border: 1px solid rgba(16, 43, 102, 0.12);
}

.cookie-button-secondary:hover,
.cookie-button-secondary:focus-visible {
  background: rgba(16, 43, 102, 0.08);
  color: var(--text);
}

body.cookie-banner-visible {
  overflow: hidden;
}

/* ============================================================
   ADMIN LAYOUT — SIDEBAR + CONTENT AREA
   ============================================================ */
body.admin-wp-look {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #f0f0f1;
  color: #1d2327;
}

body.admin-wp-look .admin-topbar {
  position: sticky;
  top: 0;
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-height: 46px;
  padding: 0 1rem;
  background: #1d2327;
  color: #f0f0f1;
  border-bottom: 1px solid #101417;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset;
}

body.admin-wp-look .admin-topbar-brand {
  color: #f0f0f1;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

body.admin-wp-look .admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

body.admin-wp-look .admin-topbar-link {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.25rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.04);
  color: #f0f0f1;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
}

body.admin-wp-look .admin-topbar-link:hover,
body.admin-wp-look .admin-topbar-link:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

body.admin-wp-look::before,
body.admin-wp-look::after {
  display: none;
}

body.admin-wp-look .shell {
  width: 100%;
  max-width: none;
  padding: 0;
  display: block;
}

body.admin-wp-look .hero,
body.admin-wp-look .content-card,
body.admin-wp-look .content-section,
body.admin-wp-look .news-lead-grid,
body.admin-wp-look .news-card-grid,
body.admin-wp-look .news-article-gallery,
body.admin-wp-look .news-article-side-card,
body.admin-wp-look .news-article-card,
body.admin-wp-look .news-compact-card {
  background: #fff;
  box-shadow: none;
  border-color: #dcdcde;
}

body.admin-wp-look .hero {
  padding: 0;
  border-bottom: 1px solid #dcdcde;
}

body.admin-wp-look .content-card::before {
  display: none;
}

body.admin-wp-look .content-card {
  border-radius: 0;
}

body.admin-wp-look .content-section {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid #dcdcde;
}

body.admin-wp-look .contact-form,
body.admin-wp-look .community-form,
body.admin-wp-look .admin-form {
  max-width: none;
  width: 100%;
}

body.admin-wp-look .contact-form,
body.admin-wp-look .community-form {
  gap: 1rem;
}

body.admin-wp-look .settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.85rem 1rem;
  align-items: start;
}

body.admin-wp-look .settings-grid .form-field {
  min-width: 0;
}

body.admin-wp-look .admin-inline-panel {
  padding: 0.95rem;
  background: #f6f7f7;
  border: 1px solid #dcdcde;
}

.admin-branding-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

.submit-listing-field--full {
  display: block;
}

.settings-hint {
  display: block;
  margin-top: 0.35rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

body.admin-wp-look .admin-header-menu-editor,
body.admin-wp-look .admin-header-social-editor {
  display: grid;
  gap: 0.9rem;
}

body.admin-wp-look .admin-header-menu-row {
  padding: 0.95rem;
  background: #fff;
  border: 1px solid #dcdcde;
}

body.admin-wp-look .admin-header-menu-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

body.admin-wp-look .admin-inline-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #1d2327;
}

body.admin-wp-look .admin-inline-toggle input {
  margin: 0;
}

body.admin-wp-look .admin-header-social-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  padding: 0.95rem;
  background: #fff;
  border: 1px solid #dcdcde;
}

body.admin-wp-look .admin-header-social-preview {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f6f7f7;
  border: 1px solid #dcdcde;
}

body.admin-wp-look .admin-header-social-preview img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
}

body.admin-wp-look .admin-header-social-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

body.admin-wp-look .admin-header-social-enabled {
  align-self: end;
}

body.admin-wp-look .admin-inline-panel h3 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1d2327;
}

body.admin-wp-look .admin-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

body.admin-wp-look .admin-two-col > * {
  min-width: 0;
}

body.admin-wp-look .admin-two-col.analytics-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

body.admin-wp-look .analytics-pie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

body.admin-wp-look .analytics-pie-card {
  display: grid;
  gap: 1rem;
}

body.admin-wp-look .analytics-chart-card__head h3 {
  margin: 0;
  font-size: 1.05rem;
}

body.admin-wp-look .analytics-chart-card__head p {
  margin: 0.25rem 0 0;
  color: #50575e;
}

body.admin-wp-look .analytics-pie-row {
  display: grid;
  grid-template-columns: minmax(170px, 210px) minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}

body.admin-wp-look .analytics-pie {
  position: relative;
  width: min(100%, 210px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--pie);
  box-shadow: inset 0 0 0 1px #dcdcde;
  margin: 0 auto;
}

body.admin-wp-look .analytics-pie::after {
  content: "";
  position: absolute;
  inset: 23%;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1px #eef0f2;
}

body.admin-wp-look .analytics-pie__center {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
}

body.admin-wp-look .analytics-pie__center strong {
  font-size: 1.75rem;
  line-height: 1;
  color: #1d2327;
}

body.admin-wp-look .analytics-pie__center span {
  margin-top: 0.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #50575e;
}

body.admin-wp-look .analytics-pie-empty {
  background: linear-gradient(135deg, #eef2f7 0%, #f7f9fb 100%);
}

body.admin-wp-look .analytics-legend {
  display: grid;
  gap: 0.7rem;
}

body.admin-wp-look .analytics-legend__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: center;
}

body.admin-wp-look .analytics-legend__swatch {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--swatch, #dcdcde);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

body.admin-wp-look .analytics-legend__item strong {
  font-size: 0.95rem;
  color: #1d2327;
}

body.admin-wp-look .analytics-legend__item span:not(.analytics-legend__swatch) {
  font-size: 0.92rem;
  color: #50575e;
  white-space: nowrap;
}

body.member-public-profile-page .content-card {
  background: #ffffff;
}

body.member-public-profile-page .member-public-profile-page {
  display: grid;
  gap: 0;
  background: #ffffff;
  overflow: hidden;
}

body.member-public-profile-page .member-public-profile-hero,
body.member-public-profile-page .member-public-profile-socials-section,
body.member-public-profile-page .member-public-profile-facts {
  padding: 1rem 0.95rem;
  background: #ffffff;
}

body.member-public-profile-page .member-public-profile-hero {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  border-bottom: 1px solid var(--gray-border);
}

body.member-public-profile-page .member-public-profile-avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--gray-border);
  background: #f7f9fb;
}

body.member-public-profile-page .member-public-profile-copy {
  display: grid;
  gap: 0.85rem;
}

body.member-public-profile-page .member-public-profile-copy h1 {
  margin: 0.1rem 0 0.35rem;
  font-size: clamp(1.5rem, 6vw, 2.25rem);
  line-height: 1.05;
}

body.member-public-profile-page .member-public-profile-copy .intro {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-muted);
}

body.member-public-profile-page .member-public-profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

body.member-public-profile-page .member-public-profile-socials-section {
  border-bottom: 1px solid var(--gray-border);
}

body.member-public-profile-page .member-public-profile-follows {
  display: grid;
  gap: 0.8rem;
}

body.member-public-profile-page .member-public-profile-follows-label {
  display: block;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
}

body.member-public-profile-page .member-public-profile-follows-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

body.member-public-profile-page .member-public-profile-follows-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--gray-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}

body.member-public-profile-page a.member-public-profile-follows-link {
  border-color: var(--blue-700);
  box-shadow: inset 0 0 0 1px rgba(51, 85, 204, 0.12);
}

body.member-public-profile-page a.member-public-profile-follows-link:hover,
body.member-public-profile-page a.member-public-profile-follows-link:focus-visible {
  border-color: var(--blue-800);
  box-shadow: inset 0 0 0 1px rgba(51, 85, 204, 0.18);
}

body.member-public-profile-page .member-public-profile-follows-link .follow-platform-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--blue-700);
}

body.member-public-profile-page .member-public-profile-follows-link .follow-platform-icon img,
body.member-public-profile-page .member-public-profile-follows-link .follow-platform-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

body.member-public-profile-page .member-public-profile-facts {
  display: grid;
  gap: 0.65rem;
}

body.member-public-profile-page .member-public-profile-facts .static-field {
  border-top: 1px solid var(--gray-border);
  padding-top: 0.65rem;
}

body.member-public-profile-page .member-public-profile-facts .static-field:first-child {
  border-top: 0;
  padding-top: 0;
}

body.member-public-profile-page .member-public-profile-facts .static-field span {
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

body.member-public-profile-page .member-public-profile-facts .static-field strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.98rem;
}

body.admin-wp-look .admin-stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
}

body.admin-wp-look .admin-quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 0.45rem;
}

body.admin-wp-look .admin-quick-links .back-link {
  justify-content: center;
}

body.admin-wp-look .admin-post-entry-actions,
body.admin-wp-look .admin-settings-action-row {
  align-items: center;
}

body.admin-wp-look .admin-footer-link-row,
body.admin-wp-look .admin-homepage-sections-editor {
  display: grid;
  gap: 0.85rem;
}

body.admin-wp-look .admin-footer-link-row {
  padding: 0.95rem;
  border: 1px solid #dcdcde;
  background: #fff;
}

body.admin-wp-look .content-section:last-child {
  border-bottom: 0;
}

body.admin-wp-look .eyebrow {
  color: #2271b1;
}

body.admin-wp-look .back-link {
  border-color: #c3c4c7;
  background: #fff;
  color: #1d2327;
  box-shadow: none;
}

body.admin-wp-look .back-link:hover,
body.admin-wp-look .back-link:focus-visible {
  background: #2271b1;
  border-color: #2271b1;
  color: #fff;
}

body.admin-wp-look .news-article-meta,
body.admin-wp-look .post-card-date,
body.admin-wp-look .news-lead-standfirst,
body.admin-wp-look .news-compact-card p,
body.admin-wp-look .news-article-card-copy p,
body.admin-wp-look .intro {
  color: #50575e;
}

body.admin-wp-look .news-article-card:hover,
body.admin-wp-look .news-compact-card:hover {
  box-shadow: none;
  transform: none;
}

body.admin-wp-look .news-article-card-image img,
body.admin-wp-look .news-lead-image img,
body.admin-wp-look .news-article-gallery__figure img {
  transition: none;
}

body.admin-wp-look .admin-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
  min-height: 100vh;
  align-items: stretch;
}

.admin-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  min-height: calc(100vh - 200px);
  align-items: stretch;
}

.admin-sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 20, 46, 0.6);
  backdrop-filter: blur(8px);
  opacity: 0;
  z-index: 99;
  pointer-events: none;
  transition: opacity 220ms ease;
}

body.admin-sidebar-open .admin-sidebar-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.admin-sidebar {
  background: var(--white);
  border-right: 1px solid var(--gray-border);
  padding: 1.5rem 0;
  overflow: visible;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 100;
}

body.admin-wp-look .admin-sidebar {
  background: #f0f0f1;
  border-right: 1px solid #dcdcde;
  box-shadow: none;
  padding: 0;
  position: sticky;
  top: 0;
  overflow: visible;
}

body.admin-wp-look .admin-main {
  padding: 0;
  background: #f0f0f1;
}

body.admin-wp-look .admin-main-surface {
  display: grid;
  gap: 0;
  background: #fff;
  border-left: 1px solid #dcdcde;
  border-right: 1px solid #dcdcde;
  min-height: 100vh;
}

body.admin-wp-look .admin-page-header {
  padding: 0.85rem 1rem 0.75rem;
  border-bottom: 1px solid #dcdcde;
  background: #fff;
}

body.admin-wp-look .admin-page-header h1 {
  margin: 0.1rem 0 0.35rem;
  font-size: 1.55rem;
  font-weight: 600;
  color: #1d2327;
}

body.admin-wp-look .admin-page-header .intro {
  margin: 0;
  max-width: 72rem;
}

.admin-sidebar-heading {
  padding: 0 1.5rem 1.5rem;
  border-bottom: 1px solid var(--gray-border);
  margin-bottom: 1.5rem;
}

body.admin-wp-look .admin-sidebar-heading {
  padding: 0.85rem 0.9rem 0.7rem;
  border-bottom: 1px solid #dcdcde;
  margin-bottom: 0.55rem;
}

.admin-sidebar-heading .eyebrow {
  margin-bottom: 0.5rem;
}

.admin-hero-logo,
.admin-sidebar-logo,
.admin-mobile-toolbar-logo {
  display: block;
  width: auto;
  object-fit: contain;
}

.admin-hero-logo {
  max-width: min(320px, 70vw);
  max-height: 72px;
  margin-bottom: 0.5rem;
}

.admin-sidebar-logo {
  max-width: 220px;
  max-height: 72px;
}

.admin-mobile-toolbar-logo {
  max-width: 180px;
  max-height: 40px;
}

.admin-sidebar-heading h1 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.admin-sidebar-caption {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.admin-nav {
  flex: 1;
  display: grid;
  gap: 0.15rem;
  overflow: visible;
  align-content: start;
  grid-auto-rows: min-content;
}

.admin-nav-group {
  position: relative;
  border-bottom: 1px solid var(--gray-border);
}

body.admin-wp-look .admin-nav-group {
  border-bottom: 0;
}

.admin-nav-group-toggle {
  width: 100%;
  padding: 0.8rem 1.5rem;
  background: none;
  border: none;
  color: var(--text);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 150ms ease;
  text-align: left;
  position: relative;
  z-index: 1;
}

body.admin-wp-look .admin-nav-group-toggle {
  padding: 0.32rem 0.8rem;
  font-size: 0.86rem;
  color: #1d2327;
  min-height: 2.05rem;
}

.admin-nav-group-toggle-indicator {
  font-size: 1rem;
  line-height: 1;
  transform: translateY(-1px);
  transition: transform 150ms ease;
}

body.admin-wp-look .admin-nav-group:hover .admin-nav-group-toggle-indicator,
body.admin-wp-look .admin-nav-group:focus-within .admin-nav-group-toggle-indicator,
body.admin-wp-look .admin-nav-group.admin-nav-group-open .admin-nav-group-toggle-indicator {
  transform: translateY(-1px) rotate(90deg);
}

.admin-nav-group-toggle:hover {
  background: var(--gray-light);
}

body.admin-wp-look .admin-nav-group-toggle:hover,
body.admin-wp-look .admin-nav-group-toggle:focus-visible {
  background: #e2e4e7;
}

.admin-nav-submenu {
  display: grid;
  gap: 0;
  padding: 0.35rem;
  overflow: visible;
  background: #fff;
}

body.admin-wp-look .admin-nav-submenu {
  position: absolute;
  left: calc(100% - 0.25rem);
  top: 0;
  min-width: 220px;
  max-width: 300px;
  padding: 0.35rem;
  border: 1px solid #dcdcde;
  border-radius: 0;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-6px);
  transition: opacity 120ms ease, transform 120ms ease, visibility 120ms ease;
  z-index: 200;
}

body.admin-wp-look .admin-nav-group:hover .admin-nav-submenu,
body.admin-wp-look .admin-nav-group:focus-within .admin-nav-submenu,
body.admin-wp-look .admin-nav-group.admin-nav-group-open .admin-nav-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}

.admin-nav-item {
  padding: 0.6rem 2rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: background 150ms ease;
  position: relative;
}

body.admin-wp-look .admin-nav-item {
  padding: 0.34rem 0.7rem;
  font-size: 0.86rem;
  color: #1d2327;
  background: #fff;
  border: 1px solid transparent;
}

body.admin-wp-look .admin-nav-item + .admin-nav-item {
  margin-top: 0.15rem;
}

.admin-nav-item:hover {
  background: var(--gray-light);
}

body.admin-wp-look .admin-nav-item:hover {
  background: #f6f7f7;
  border-color: #dcdcde;
}

.admin-nav-item-active {
  background: rgba(36, 87, 216, 0.08);
  color: var(--blue-700);
  border-left: 3px solid var(--blue-700);
  padding-left: calc(2rem - 3px);
}

body.admin-wp-look .admin-nav-item-active {
  background: #2271b1;
  color: #fff;
  border-left-color: #2271b1;
  padding-left: 0.75rem;
  border-color: #2271b1;
}

.admin-nav-alert-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.3rem;
  height: 1.3rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #e54f66 0%, #c8102e 100%);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1;
  margin-left: auto;
}

body.admin-wp-look .admin-nav-alert-badge {
  background: #d63638;
}

.admin-sidebar-footer {
  margin-top: auto;
  padding: 1.5rem;
  border-top: 1px solid var(--gray-border);
  display: grid;
  gap: 1rem;
}

body.admin-wp-look .admin-sidebar-footer {
  padding: 0.85rem 0.9rem;
  border-top: 1px solid #dcdcde;
}

.admin-sidebar-site-link {
  display: block;
  padding: 0.8rem 1rem;
  background: var(--blue-700);
  color: var(--white);
  text-align: center;
  text-decoration: none;
  border-radius: var(--site-corner-radius);
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 150ms ease;
}

body.admin-wp-look .admin-sidebar-site-link,
body.admin-wp-look .admin-sidebar-footer-link {
  border: 1px solid #c3c4c7;
  background: #fff;
  color: #1d2327;
  border-radius: 2px;
  box-shadow: none;
}

.admin-sidebar-site-link:hover {
  background: #1d46c5;
  transform: translateY(-2px);
}

body.admin-wp-look .admin-sidebar-site-link:hover,
body.admin-wp-look .admin-sidebar-footer-link:hover {
  background: #f6f7f7;
  color: #1d2327;
  transform: none;
}

.admin-sidebar-footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.admin-sidebar-footer-link {
  padding: 0.6rem 1rem;
  background: var(--gray-light);
  color: var(--text);
  text-decoration: none;
  border-radius: var(--site-corner-radius);
  font-weight: 600;
  font-size: 0.88rem;
  text-align: center;
  transition: all 150ms ease;
}

body.admin-wp-look .admin-sidebar-footer-links {
  gap: 0.35rem;
}

body.admin-wp-look .admin-sidebar-footer-link {
  padding: 0.38rem 0.65rem;
}

.admin-sidebar-footer-link:hover {
  background: rgba(36, 87, 216, 0.1);
  color: var(--blue-700);
}

.admin-main {
  padding: 2rem;
  overflow-y: auto;
}

body.admin-wp-look .admin-main {
  padding: 0;
}

.admin-mobile-toolbar {
  display: none;
  padding: 0.75rem 1rem;
  background: var(--white);
  border-bottom: 1px solid var(--gray-border);
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

body.admin-wp-look .admin-mobile-toolbar {
  padding: 0.75rem 1rem;
  background: #fff;
  border: 1px solid #dcdcde;
  border-radius: 0;
  margin-bottom: 0;
}

.admin-sidebar-toggle {
  padding: 0.5rem;
  border: 1px solid var(--gray-border);
  background: var(--gray-light);
  border-radius: var(--site-corner-radius);
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 150ms ease;
}

.admin-sidebar-toggle:hover {
  background: var(--link-hover);
}

body.admin-wp-look .admin-sidebar-toggle {
  background: #fff;
  border: 1px solid #c3c4c7;
  border-radius: 2px;
}

body.admin-wp-look .admin-sidebar-toggle:hover {
  background: #f6f7f7;
}

.admin-mobile-toolbar-copy {
  flex: 1;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
}

body.admin-wp-look .admin-mobile-toolbar-copy {
  color: #1d2327;
}

body.admin-wp-look .admin-page-intro {
  font-size: 0.95rem;
  line-height: 1.5;
}

body.admin-wp-look .admin-mobile-toolbar {
  padding: 0.6rem 0.9rem;
  margin-bottom: 0;
}

body.admin-wp-look .admin-mobile-toolbar-copy {
  gap: 0;
}

body.admin-wp-look .admin-shell .notice {
  margin: 0;
  border-left: 4px solid #2271b1;
  border-radius: 0;
  box-shadow: none;
}

body.admin-wp-look .admin-shell .notice-error {
  border-left-color: #d63638;
}

body.admin-wp-look .admin-shell .content-section h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.65rem;
}

body.admin-wp-look .admin-shell .meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

body.admin-wp-look .admin-shell .meta-card,
body.admin-wp-look .admin-shell .admin-list-item,
body.admin-wp-look .admin-shell .admin-table-wrap,
body.admin-wp-look .admin-shell .admin-two-col,
body.admin-wp-look .admin-shell .admin-inline-panel {
  border: 1px solid #dcdcde;
  border-radius: 0;
  box-shadow: none;
}

body.admin-wp-look .admin-shell .admin-table-wrap {
  overflow-x: auto;
  background: #fff;
}

body.admin-wp-look .admin-shell .admin-data-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

body.admin-wp-look .admin-shell .admin-data-table thead th {
  padding: 0.6rem 0.7rem;
  border-bottom: 1px solid #dcdcde;
  background: #f6f7f7;
  color: #1d2327;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

body.admin-wp-look .admin-shell .admin-data-table tbody td {
  padding: 0.7rem;
  border-bottom: 1px solid #eff0f1;
  vertical-align: top;
  line-height: 1.35;
}

body.admin-wp-look .admin-shell .admin-data-table tbody tr:hover {
  background: #fafafa;
}

body.admin-wp-look .admin-shell .admin-table-actions-col,
body.admin-wp-look .admin-shell .admin-row-actions {
  white-space: nowrap;
  width: 1%;
}

body.admin-wp-look .admin-shell .admin-row-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

body.admin-wp-look .admin-shell .admin-row-actions form {
  display: inline-flex;
  margin: 0;
}

body.admin-wp-look .admin-shell .admin-sort-button {
  border: 0;
  background: transparent;
  color: #1d2327;
  font: inherit;
  font-weight: 700;
  padding: 0;
  cursor: pointer;
}

body.admin-wp-look .admin-shell .admin-sort-button:hover,
body.admin-wp-look .admin-shell .admin-sort-button:focus-visible {
  color: #2271b1;
}

body.admin-wp-look .admin-shell .admin-listing-toolbar {
  margin-bottom: 0.7rem;
}

body.admin-wp-look .admin-shell .admin-bulk-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

body.admin-wp-look .admin-shell .admin-bulk-toolbar .checkbox-row {
  margin: 0;
}

body.admin-wp-look .admin-shell .admin-bulk-toolbar .back-link {
  min-height: 32px;
}

body.admin-wp-look .admin-shell .admin-bulk-select-col,
body.admin-wp-look .admin-shell .admin-bulk-select-cell {
  width: 1%;
  white-space: nowrap;
}

body.admin-wp-look .admin-shell .admin-bulk-select-cell {
  vertical-align: middle;
}

body.admin-wp-look .admin-shell .admin-post-select-row {
  margin-bottom: 0.65rem;
}

body.admin-wp-look .admin-shell .admin-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

body.admin-wp-look .admin-shell .meta {
  gap: 0.6rem;
}

body.admin-wp-look .admin-shell .meta-card {
  padding: 0.75rem 0.8rem;
  display: grid;
  gap: 0.25rem;
}

body.admin-wp-look .admin-shell .meta-card strong {
  font-size: 0.8rem;
  font-weight: 700;
  color: #50575e;
}

body.admin-wp-look .admin-shell .meta-card span {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1d2327;
}

body.admin-wp-look .admin-shell .admin-action-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

body.admin-wp-look .admin-shell .admin-action-stack > * {
  flex: 0 0 auto;
}

body.admin-wp-look .admin-shell .admin-action-stack .footer-link {
  min-height: 32px;
}

body.admin-wp-look .admin-shell .admin-action-stack .inline-admin-form {
  display: inline-flex;
  margin: 0;
}

body.admin-wp-look .admin-shell .admin-list-item {
  padding: 0.75rem 0.85rem;
}

body.admin-wp-look .admin-shell .admin-list {
  gap: 0.55rem;
}

body.admin-wp-look .admin-shell .form-actions {
  gap: 0.4rem;
  margin-top: 0.6rem;
}

body.admin-wp-look .admin-shell .footer-link,
body.admin-wp-look .admin-shell .back-link,
body.admin-wp-look .admin-shell .admin-icon-button,
body.admin-wp-look .admin-shell .admin-page-button {
  border-radius: 0;
  box-shadow: none;
}

body.admin-wp-look .admin-shell .admin-icon-button {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 28px;
  padding: 0.18rem 0.6rem;
  border: 1px solid #c3c4c7;
  background: #fff;
  color: #1d2327;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

body.admin-wp-look .admin-shell .admin-icon-button::before {
  content: "";
  width: 0.9rem;
  height: 0.9rem;
  flex: 0 0 0.9rem;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

body.admin-wp-look .admin-shell .admin-icon-button:hover,
body.admin-wp-look .admin-shell .admin-icon-button:focus-visible {
  background: #f6f7f7;
  border-color: #8c8f94;
}

body.admin-wp-look .admin-shell .admin-icon-button-danger {
  color: #d63638;
}

body.admin-wp-look .admin-shell .admin-icon-button-danger:hover,
body.admin-wp-look .admin-shell .admin-icon-button-danger:focus-visible {
  background: rgba(214, 54, 56, 0.08);
  border-color: #d63638;
}

body.admin-wp-look .admin-shell .admin-icon-button-edit::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M14.85 3.15a1.5 1.5 0 0 1 2.12 2.12l-8.94 8.94-3.6.72.72-3.6 8.7-8.18zM4.2 14.2l1.6-.32-1.28 1.28c-.16.16-.38.25-.61.24l-.8-.03.03-.8c-.01-.23.08-.45.24-.61l.82-.76z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M14.85 3.15a1.5 1.5 0 0 1 2.12 2.12l-8.94 8.94-3.6.72.72-3.6 8.7-8.18zM4.2 14.2l1.6-.32-1.28 1.28c-.16.16-.38.25-.61.24l-.8-.03.03-.8c-.01-.23.08-.45.24-.61l.82-.76z'/%3E%3C/svg%3E");
}

body.admin-wp-look .admin-shell .admin-icon-button-view::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 4c4.5 0 8.2 2.5 9.4 6-.2.6-1.9 6-9.4 6S.8 10.6.6 10C1.8 6.5 5.5 4 10 4zm0 2c-3 0-5.9 1.5-7 4 1.1 2.5 4 4 7 4s5.9-1.5 7-4c-1.1-2.5-4-4-7-4zm0 1.5A2.5 2.5 0 1 1 10 12a2.5 2.5 0 0 1 0-5z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 4c4.5 0 8.2 2.5 9.4 6-.2.6-1.9 6-9.4 6S.8 10.6.6 10C1.8 6.5 5.5 4 10 4zm0 2c-3 0-5.9 1.5-7 4 1.1 2.5 4 4 7 4s5.9-1.5 7-4c-1.1-2.5-4-4-7-4zm0 1.5A2.5 2.5 0 1 1 10 12a2.5 2.5 0 0 1 0-5z'/%3E%3C/svg%3E");
}

body.admin-wp-look .admin-shell .admin-icon-button-delete::before,
body.admin-wp-look .admin-shell .admin-icon-button-danger::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7 3.5h6l.6 1.5H17v2H3V5h3.4L7 3.5zm1.2 4h2v7h-2v-7zm3.8 0h2v7h-2v-7zM5 6.8h10l-.7 8.7c-.1 1.1-1 2-2.1 2H7.8c-1.1 0-2-.9-2.1-2L5 6.8z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7 3.5h6l.6 1.5H17v2H3V5h3.4L7 3.5zm1.2 4h2v7h-2v-7zm3.8 0h2v7h-2v-7zM5 6.8h10l-.7 8.7c-.1 1.1-1 2-2.1 2H7.8c-1.1 0-2-.9-2.1-2L5 6.8z'/%3E%3C/svg%3E");
}

body.admin-wp-look .admin-shell .admin-icon-button-toggle::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 4h10v2H5V4zm0 5h10v2H5V9zm0 5h6v2H5v-2z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 4h10v2H5V4zm0 5h10v2H5V9zm0 5h6v2H5v-2z'/%3E%3C/svg%3E");
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */
@media (max-width: 1024px) {
  .shell { padding: 1.5rem 0 1.75rem; gap: 1.35rem; }

  .site-public-layout {
    width: var(--shell-width);
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .site-public-sidebar {
    padding-top: 0;
  }

  .home-header-inner {
    padding: 0.8rem 1.2rem;
  }

  .site-public-menu-inner {
    padding: 0 1.2rem;
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .social-icons-bar {
    display: none;
  }

  .site-public-menu-bar {
    display: none;
  }

  .site-public-menu-group-auth {
    display: none;
  }

  .site-public-menu-group {
    justify-content: center;
  }

  .site-public-menu-link {
    min-height: 32px;
    padding: 0.42rem 0.78rem;
    font-size: 0.76rem;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .news-lead-grid { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.5rem; }

  body.home .news-lead-grid {
    width: 100%;
    margin-right: 0;
  }

  .home-stack-card-link {
    grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  }

  body.home .site-public-sidebar {
    display: flex;
    padding-top: 0;
    gap: 0.9rem;
  }

  .news-article-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .news-article-gallery {
    padding: 0 1.5rem 1.5rem;
  }

  .news-article-page-card .news-article-gallery {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }

  .news-card-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.2rem; padding: 1.5rem; }

  .register-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .register-side-stack {
    max-width: 100%;
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 280px;
    z-index: 101;
    transform: translateX(-100%);
    transition: transform 220ms ease;
    box-shadow: 8px 0 24px rgba(8, 20, 46, 0.2);
  }

  body.admin-sidebar-open .admin-sidebar {
    transform: translateX(0);
  }

  .admin-mobile-toolbar {
    display: flex;
  }

  .admin-main {
    padding: 1.5rem 1.25rem;
  }

  body.admin-wp-look .admin-two-col {
    grid-template-columns: 1fr;
  }

  body.admin-wp-look .analytics-pie-row {
    grid-template-columns: 1fr;
  }

  body.admin-wp-look .analytics-pie {
    width: min(100%, 200px);
  }

  body.admin-wp-look .analytics-legend__item {
    grid-template-columns: auto minmax(0, 1fr);
  }

  body.admin-wp-look .analytics-legend__item span:last-child {
    grid-column: 2;
  }

  body.admin-wp-look .admin-nav-submenu {
    position: static;
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: 0 0 0.35rem 0.45rem;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    display: none;
  }

  body.admin-wp-look .admin-nav-group:hover .admin-nav-submenu,
  body.admin-wp-look .admin-nav-group:focus-within .admin-nav-submenu,
  body.admin-wp-look .admin-nav-group.admin-nav-group-open .admin-nav-submenu {
    display: grid;
  }

  body.admin-wp-look .admin-nav-group-toggle-indicator {
    transform: translateY(-1px) rotate(90deg);
  }

  body.admin-wp-look .admin-nav-group.admin-nav-group-open .admin-nav-group-toggle-indicator {
    transform: translateY(-1px) rotate(270deg);
  }

  body.admin-wp-look .admin-header-social-row {
    grid-template-columns: 1fr;
  }

  .admin-branding-panels {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body.home {
    background: #ffffff;
    background-image: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  }

  body.home .shell {
    width: 100vw;
    max-width: none;
    margin: 0;
    padding: 0.95rem 0 1.1rem;
    gap: 1rem;
  }

  body.home .site-public-layout {
    width: 100vw;
    max-width: none;
    margin: 0;
    gap: 1rem;
  }

  .hero { padding: 1.05rem 1.1rem; background: #ffffff; }

  .content-section { padding: 1rem 1.05rem; background: #ffffff; }

  .home-header {
    margin: 0;
    padding: 0.45rem 0 0.3rem;
    background: #ffffff;
    border: 0;
    box-shadow: none;
  }

  .home-header-shell {
    width: 100vw;
    max-width: none;
    margin: 0;
    background: #ffffff;
    overflow: visible;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .home-header-inner {
    padding: 0.52rem 0.85rem 0.42rem;
    background: #ffffff;
    gap: 0.6rem;
    border-radius: 0;
  }

  .home-header-mobile-accommodation {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-left: auto;
    flex-shrink: 0;
    border-radius: 999px;
    background: #ce1420;
    box-shadow: none;
    color: #ffffff;
    text-decoration: none;
  }

  .home-header-mobile-accommodation:hover,
  .home-header-mobile-accommodation:focus-visible {
    transform: translateY(-1px);
    box-shadow: none;
    filter: brightness(1.04);
  }

  .home-header-mobile-accommodation-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
    display: block;
  }

  .home-mobile-compact-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.24rem 0.85rem 0.34rem;
    background: #ffffff;
    border-top: 1px solid rgba(16, 43, 102, 0.06);
    border-bottom: 1px solid rgba(16, 43, 102, 0.06);
    position: relative;
    overflow: visible;
    z-index: 4;
  }

  .home-mobile-compact-primary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.16rem;
    min-width: 0;
  }

  .home-mobile-compact-secondary {
    display: flex;
    align-items: center;
    gap: 0.16rem;
    margin-left: auto;
    flex-shrink: 0;
  }

  .home-mobile-compact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.4rem;
    padding: 0.12rem 0.1rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--text);
    font-family: "Manrope", sans-serif;
    font-size: 0.79rem;
    font-weight: 700;
    text-decoration: none;
    line-height: 1;
    letter-spacing: 0.01em;
  }

  .home-mobile-compact-link:hover,
  .home-mobile-compact-link:focus-visible {
    text-decoration: underline;
    text-underline-offset: 0.2rem;
  }

  .home-mobile-compact-link-active {
    color: var(--red-700);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.2rem;
    text-decoration-thickness: 2px;
  }

  .home-mobile-compact-separator {
    display: inline-flex;
    align-items: center;
    color: rgba(16, 43, 102, 0.28);
    font-size: 0.77rem;
    line-height: 1;
    user-select: none;
  }

  .home-mobile-more-menu {
    display: inline-flex;
    position: relative;
    align-items: stretch;
    flex-shrink: 0;
  }

  .home-mobile-more-summary {
    list-style: none;
    gap: 0.2rem;
    cursor: pointer;
  }

  .home-mobile-more-summary::-webkit-details-marker {
    display: none;
  }

  .home-mobile-more-chevron {
    font-size: 0.56rem;
    line-height: 1;
    transform: translateY(-1px);
    transition: transform 150ms ease;
  }

  .home-mobile-more-menu[open] .home-mobile-more-chevron {
    transform: translateY(-1px) rotate(180deg);
  }

  .home-mobile-more-panel {
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 50%;
    transform: translateX(-50%);
    width: min(18rem, calc(100vw - 1.1rem));
    display: grid;
    gap: 0.15rem;
    padding: 0.75rem 0.8rem;
    border: 1px solid rgba(16, 43, 102, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 34px rgba(16, 43, 102, 0.14);
    z-index: 8;
  }

  .home-mobile-more-link {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.5rem 0;
    border: 0;
    background: transparent;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    text-align: left;
    cursor: pointer;
  }

  .home-mobile-more-link:hover,
  .home-mobile-more-link:focus-visible {
    color: var(--red-700);
    text-decoration: underline;
    text-underline-offset: 0.18rem;
  }

  .home-mobile-more-button {
    font-family: inherit;
  }

  .home-mobile-more-button {
    -webkit-appearance: none;
    appearance: none;
  }

  .home-mobile-more-button:hover,
  .home-mobile-more-button:focus-visible {
    background: transparent;
  }

  body.home .home-header-shell {
    width: 100vw;
    max-width: none;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: #ffffff;
  }

  .home-header-inner {
    padding: 0.52rem 0.85rem 0.42rem;
    gap: 0.6rem;
    border-radius: 0;
    background: #ffffff;
  }

  .home-header-shell,
  .content-card,
  .news-article-page-card,
  .news-article-body-card,
  .news-article-comments-card,
  .news-article-side-panel,
  .news-article-card,
  .news-compact-card,
  .home-stack-card,
  .topic-hub-card,
  .news-lead-grid,
  .news-sidebar-youtube,
  .news-card-grid {
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .site-public-menu-bar {
    display: none;
    padding: 0.35rem 0 0.45rem;
  }

  .site-public-menu-inner {
    padding: 0 1rem;
    gap: 0.4rem;
  }

  .site-public-menu-link {
    min-height: 31px;
    padding: 0.38rem 0.72rem;
    font-size: 0.74rem;
  }

  .home-header-title {
    font-size: clamp(1.3rem, 2.4vw, 1.74rem);
    font-family: "Sora", sans-serif;
    font-weight: 800 !important;
    font-synthesis-weight: none;
    font-variation-settings: "wght" 800;
  }

  .home-header-title-project,
  .home-header-title-universal {
    font-weight: 800 !important;
    font-synthesis-weight: none;
    font-variation-settings: "wght" 800;
  }

  .home-header-tagline {
    display: block;
    font-family: "Manrope", sans-serif;
    font-size: 0.8rem;
    max-width: 36rem;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: 0.01em;
  }

  .home-header-logo {
    width: 38px;
    height: 38px;
    min-width: 38px;
    max-width: 38px;
    min-height: 38px;
    max-height: 38px;
  }

  .home-header-actions {
    display: none;
  }

  .home-header-mobile-menu {
    display: none;
  }

  .home-header-brand-copy--desktop,
  .home-header-logo--desktop {
    display: none;
  }

  .home-header-brand-copy--mobile {
    display: grid;
  }

  .home-header-logo--mobile {
    display: block;
  }

  .header-profile-menu {
    width: 100%;
  }

  .header-profile-trigger,
  .home-header-cta {
    width: 100%;
    justify-content: center;
  }

  .header-profile-dropdown {
    position: static;
    min-width: 0;
    margin-top: 0.55rem;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  .header-profile-menu[open] .header-profile-dropdown {
    display: grid;
  }

  .news-lead-grid { padding: 0; }

  body.home .news-lead-grid {
    padding: 0;
    gap: 0;
  }

  body.home .news-lead-image {
    aspect-ratio: 1 / 1;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: #ffffff;
    border-left: 8px solid #ffffff;
    border-right: 8px solid #ffffff;
    border-top: 0;
    border-bottom: 0;
    box-shadow: none;
  }

  body.home .news-lead-copy .news-article-meta {
    display: none;
  }

  body.home .site-public-layout {
    margin-bottom: 0;
    background: #ffffff;
  }

  body.member-public-profile-page .shell {
    width: 100vw;
    max-width: none;
    margin: 0;
    padding: 0.95rem 0.75rem 1.1rem;
    gap: 1rem;
    background: #ffffff;
  }

  body.member-public-profile-page .site-public-layout {
    width: 100vw;
    max-width: none;
    margin: 0;
    grid-template-columns: 1fr;
    gap: 1rem;
    background: #ffffff;
  }

  body.member-public-profile-page .member-public-profile-page {
    padding: 0;
    border: 0;
    box-shadow: none;
    background: #ffffff;
    overflow: visible;
  }

  body.member-public-profile-page .member-public-profile-hero {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 0.8rem;
    padding: 0.95rem 0.85rem;
  }

  body.member-public-profile-page .member-public-profile-avatar {
    width: 72px;
    height: 72px;
  }

  body.member-public-profile-page .member-public-profile-socials-section,
  body.member-public-profile-page .member-public-profile-facts {
    padding: 0.9rem 0.85rem;
  }

  body.member-public-profile-page .site-public-sidebar {
    display: none;
  }

  body.member-public-profile-page .site-public-content {
    display: block;
  }

  body.home .home-homepage-section {
    padding: 0;
    background: #ffffff;
  }

  body.home .home-mobile-youtube-section {
    padding: 0 0.75rem 0.25rem;
    background: #ffffff;
  }

  body.home .home-mobile-shorts-section {
    padding: 0.25rem 0.5rem 0.4rem;
    background: #ffffff;
    overflow: hidden;
  }

  body.home .home-mobile-shorts-heading {
    display: none;
  }

  body.home .home-mobile-shorts-rail {
    display: flex;
    gap: 0.35rem;
    overflow-x: auto;
    padding: 0 0 0.16rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overscroll-behavior-x: contain;
    mask-image: linear-gradient(90deg, transparent 0, #000 10px, #000 calc(100% - 10px), transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10px, #000 calc(100% - 10px), transparent 100%);
  }

  body.home .home-mobile-shorts-rail::-webkit-scrollbar {
    display: none;
  }

  body.home .home-mobile-short-card {
    flex: 0 0 clamp(78px, 19vw, 92px);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: clamp(78px, 19vw, 92px);
    margin: 0;
    padding: 0;
    border: 1px solid rgba(16, 43, 102, 0.09);
    appearance: none;
    -webkit-appearance: none;
    color: inherit;
    text-decoration: none;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 6px 14px rgba(16, 43, 102, 0.08);
    overflow: hidden;
    cursor: pointer;
    text-align: left;
    min-height: 146px;
    min-width: 0;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  body.home .home-mobile-short-card:hover,
  body.home .home-mobile-short-card:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(16, 43, 102, 0.12);
  }

  body.home .home-mobile-short-card:focus-visible {
    outline: 3px solid rgba(196, 16, 46, 0.22);
    outline-offset: 2px;
  }

  body.home .home-mobile-short-media {
    position: relative;
    aspect-ratio: 9 / 16;
    min-height: 146px;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(16, 43, 102, 0.08), rgba(16, 43, 102, 0.02));
  }

  body.home .home-mobile-short-media::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 20, 46, 0.08), transparent 36%, rgba(8, 20, 46, 0.22) 100%);
    pointer-events: none;
    z-index: 1;
  }

  body.home .home-mobile-short-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  body.home .home-mobile-short-play {
    position: absolute;
    inset: auto 0.4rem 0.4rem auto;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 6px 12px rgba(8, 20, 46, 0.14);
  }

  body.home .home-mobile-short-play-icon {
    width: 0;
    height: 0;
    margin-left: 2px;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid var(--red-700);
  }

  body.home .home-mobile-shorts-progress {
    width: 100%;
    height: 2px;
    margin-top: 0.3rem;
    border-radius: 999px;
    background: rgba(16, 43, 102, 0.08);
    overflow: hidden;
  }

  body.home .home-mobile-shorts-progress-bar {
    display: block;
    width: 16%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--red-700), #ef6b82);
    transform: translateX(0);
    transition: transform 140ms ease-out, width 140ms ease-out;
  }

  .youtube-shorts-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
    background: #000000;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .youtube-shorts-modal[hidden] {
    display: none !important;
  }

  .youtube-shorts-modal-stage {
    width: 100vw;
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr;
    background: #000000;
    position: relative;
    overflow: hidden;
  }

  .youtube-shorts-modal-player-wrap {
    position: relative;
    background: #000000;
    min-height: 100vh;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
  }

  .youtube-shorts-modal-player {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: #000000;
    transition: opacity 180ms ease;
  }

  .youtube-shorts-modal-stage[data-short-loading="1"] .youtube-shorts-modal-player {
    opacity: 0.42;
  }

  .youtube-shorts-modal-gesture-layer {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: transparent;
    touch-action: none;
    cursor: grab;
  }

  .youtube-shorts-modal-gesture-layer:active {
    cursor: grabbing;
  }

  .youtube-shorts-modal-sound {
    position: absolute;
    left: 0.75rem;
    bottom: 0.75rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 0.85rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
  }

  .youtube-shorts-modal-sound:hover,
  .youtube-shorts-modal-sound:focus-visible {
    background: rgba(255, 255, 255, 0.28);
  }

  .youtube-shorts-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .youtube-shorts-modal-close:hover,
  .youtube-shorts-modal-close:focus-visible {
    background: rgba(255, 255, 255, 0.26);
  }

  body.youtube-shorts-modal-open {
    overflow: hidden;
  }

  body.home .home-mobile-youtube-link {
    gap: 0.65rem;
    padding: 0.78rem 0;
  }

  body.home .home-mobile-youtube-title {
    font-size: clamp(0.94rem, 4.1vw, 1.12rem);
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -0.01em;
  }

  body.home .home-mobile-article-list-section {
    padding: 0 0.75rem 0.25rem;
    background: #ffffff;
  }

  body.home .home-mobile-article-list-title {
    font-size: clamp(0.94rem, 4.1vw, 1.12rem);
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -0.01em;
  }

  body.home .home-mobile-article-list-time {
    color: rgba(32, 32, 32, 0.55);
    font-weight: 600;
    font-size: 0.78rem;
  }

  body.home .home-mobile-youtube .post-card-date {
    color: rgba(32, 32, 32, 0.55);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.2;
  }

  body.home .home-stack-section,
  body.home .home-homepage-section--grid {
    display: none;
  }

  body.home .home-mobile-only {
    display: block;
  }

  body.home .home-homepage-section .section-heading {
    padding: 0.95rem 0.85rem 0;
    margin-bottom: 0.85rem;
  }

  body.home .home-homepage-section .news-card-grid {
    padding: 0;
    gap: 0.75rem;
    background: #ffffff;
  }

  body.home .home-homepage-section .home-stack-list {
    gap: 0.75rem;
  }

  .home-stack-list {
    gap: 0.75rem;
  }

  .home-stack-card-link {
    grid-template-columns: 1fr;
  }

  body.home .home-stack-card-image {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    aspect-ratio: 16 / 9;
    background: #ffffff;
  }

  .home-stack-card-image {
    aspect-ratio: 16 / 9;
  }

  body.home .home-stack-card-copy {
    padding: 0;
  }

  .home-stack-card-copy {
    padding: 0.9rem 0.95rem 1rem;
    gap: 0.4rem;
  }

  .home-stack-card-copy h3 {
    font-size: 1rem;
  }

  .home-stack-card-copy p {
    font-size: 0.84rem;
    line-height: 1.45;
    -webkit-line-clamp: 2;
  }

  body.home .news-lead-copy h2 {
    font-size: 1.2rem;
  }

  body.home .news-lead-standfirst {
    font-size: 0.95rem;
    line-height: 1.48;
    margin-bottom: 0.68rem;
  }

  body.home .news-lead-story {
    padding: 0;
  }

  body.home .news-lead-link {
    gap: 0;
  }

  body.home .news-lead-image {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  body.home .news-lead-copy {
    width: 100%;
    padding: 0;
  }

  body.home .news-latest-list {
    gap: 0.5rem;
  }

  body.home .news-compact-card {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
  }

  body.home .news-compact-card__thumb {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    aspect-ratio: 16 / 9;
  }

  body.home .news-compact-card__content {
    padding: 0;
  }

  body.home .news-compact-card h3 {
    font-size: 0.92rem;
  }

  body.home .news-sidebar-youtube {
    padding: 0;
    background: #ffffff;
    border: 0;
    box-shadow: none;
  }

  body.home .news-sidebar-youtube-link {
    display: grid;
    grid-template-columns: minmax(0, 46%) minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
    background: #ffffff;
  }

  body.home .news-sidebar-youtube-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #ffffff;
  }

  body.home .news-sidebar-youtube-body {
    padding: 0;
    gap: 0.35rem;
  }

  body.home .news-sidebar-youtube-body .eyebrow {
    display: none;
  }

  body.home .site-public-sidebar {
    display: none;
  }

  body.home .news-sidebar-instagram-grid {
    gap: 0.4rem;
  }

  body.home .news-card-grid {
    padding: 0;
    gap: 0.75rem;
    background: #ffffff;
  }

  body.youtube-page {
    background: #ffffff;
  }

  body.youtube-page .site-public-layout {
    width: 100vw;
    max-width: none;
    margin: 0;
    grid-template-columns: 1fr;
    gap: 1rem;
    background: #ffffff;
  }

  body.youtube-page .site-public-content {
    width: 100%;
    min-width: 0;
  }

  body.youtube-page .shell {
    width: 100vw;
    max-width: none;
    margin: 0;
    padding: 0.95rem 0 1.1rem;
    gap: 1rem;
  }

  body.youtube-page .youtube-page-card {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: #ffffff;
  }

  body.youtube-page .content-card {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: #ffffff;
  }

  body.youtube-page .youtube-page-card .hero {
    padding: 0.85rem 0.85rem 0.65rem;
    background: #ffffff;
  }

  body.youtube-page .youtube-page-card .content-section {
    padding: 0 0.85rem 0.25rem;
    background: #ffffff;
  }

  body.youtube-page .video-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    background: #ffffff;
  }

  body.youtube-page .video-card {
    display: grid;
    grid-template-columns: minmax(0, 46%) minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
    margin: 0;
    padding: 0.85rem 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: #ffffff;
  }

  body.youtube-page .video-card:first-child {
    padding-top: 0;
  }

  body.youtube-page .video-card + .video-card {
    border-top: 1px solid rgba(16, 43, 102, 0.12);
  }

  body.youtube-page .video-card-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #ffffff;
  }

  body.youtube-page .video-card-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 0;
  }

  body.youtube-page .video-card-date {
    color: rgba(32, 32, 32, 0.55);
    font-size: 0.78rem;
    font-weight: 600;
  }

  body.youtube-page .video-card-copy h2 {
    margin: 0;
    font-size: clamp(0.96rem, 4.4vw, 1.28rem);
    line-height: 1.12;
    font-weight: 650;
    letter-spacing: -0.01em;
  }

  body.youtube-page .video-card-copy .footer-links {
    display: none;
  }

  body.youtube-page .site-public-sidebar {
    display: none;
  }

  body.home .news-article-card-image {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: #ffffff;
  }

  body.home .news-article-card-copy {
    padding: 0;
    background: #ffffff;
  }

  body.home .news-article-card {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: #ffffff;
  }

  .news-article-gallery {
    padding: 0 1.25rem 1.25rem;
    gap: 0.8rem;
  }

  .news-article-page-card .news-article-gallery {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }

  .news-card-grid { grid-template-columns: 1fr; gap: 0.8rem; padding: 0.75rem; }

  .news-article-card-copy {
    padding: 0.75rem 0.75rem 0.85rem;
  }

  .news-article-card-copy h2,
  .news-article-card-copy h3 {
    font-size: 0.98rem;
    margin-bottom: 0.35rem;
  }

  .news-article-card-copy p {
    font-size: 0.82rem;
    margin-bottom: 0.35rem;
  }

  .news-article-meta { flex-direction: column; gap: 0.5rem; font-size: 0.8rem; }

  .section-heading { margin-bottom: 1rem; }

  .member-summary-card {
    grid-template-columns: 1fr;
    gap: 1rem;
    justify-items: start;
  }

  .member-summary-avatar {
    width: 120px;
    height: 120px;
  }

  .account-page-card .content-section {
    padding-block: 1.35rem;
  }

  .account-password-summary {
    padding: 1rem 1.25rem;
  }

  .account-password-body {
    padding: 0 1.25rem 1.35rem;
  }

  .site-footer {
    padding: 1rem 0 1.2rem;
  }

  .site-footer-inner {
    padding-inline: 0.95rem;
  }

  .site-footer-actions {
    gap: 0.35rem 0.75rem;
    width: 100%;
  }

  .site-footer-link {
    min-height: auto;
    padding: 0.08rem 0.3rem;
    font-size: 0.84rem;
    line-height: 1.32;
  }

  .site-footer-disclaimer,
  .site-footer-copy {
    font-size: 0.72rem;
    line-height: 1.42;
    max-width: none;
    justify-self: center;
    text-align: center;
  }

  .site-footer-disclaimer {
    width: 100%;
  }

  .site-footer-meta {
    gap: 0.5rem;
    padding-top: 0.85rem;
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .site-footer-disclaimer {
    max-width: 32rem;
  }

  .site-footer-copy {
    font-weight: 500;
  }

  .cookie-banner {
    left: 0.5rem;
    right: 0.5rem;
    top: auto;
    bottom: 0.5rem;
    transform: none;
    width: auto;
    padding: 0.8rem 0.9rem;
    gap: 0.55rem;
    align-items: stretch;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--site-corner-radius);
    background: linear-gradient(180deg, rgba(41, 45, 67, 0.97), rgba(24, 28, 45, 0.98));
    box-shadow: 0 24px 44px rgba(8, 12, 24, 0.34);
  }

  .cookie-copy {
    max-width: 100%;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.72rem;
    line-height: 1.38;
  }

  .cookie-copy strong {
    color: #ffffff;
    font-size: 0.78rem;
  }

  .cookie-copy p {
    margin-top: 0.22rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.78rem;
    line-height: 1.42;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    align-items: stretch;
    margin-left: 0;
  }

  .cookie-actions .cookie-link {
    order: 0;
    grid-column: 1 / -1;
    min-height: 36px;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.98);
    color: var(--text);
    font-size: 0.74rem;
    font-weight: 700;
    text-align: center;
  }

  .cookie-actions .cookie-button {
    width: 100%;
    min-height: 38px;
    padding: 0.52rem 0.7rem;
    font-size: 0.75rem;
  }

  .cookie-actions .cookie-button-secondary {
    background: rgba(255, 255, 255, 0.98);
    color: var(--text);
    border-color: rgba(16, 43, 102, 0.12);
  }

  .cookie-actions .cookie-button-secondary:hover,
  .cookie-actions .cookie-button-secondary:focus-visible,
  .cookie-actions .cookie-link:hover,
  .cookie-actions .cookie-link:focus-visible {
    background: #ffffff;
    color: var(--text);
  }

  .grecaptcha-badge {
    display: none !important;
  }
}

/* Hide thumbnail gallery on desktop unless 6+ images */
body.news-article-page .news-article-gallery--count-1 .news-article-gallery__thumbs,
body.news-article-page .news-article-gallery--count-2 .news-article-gallery__thumbs,
body.news-article-page .news-article-gallery--count-3 .news-article-gallery__thumbs,
body.news-article-page .news-article-gallery--count-4 .news-article-gallery__thumbs,
body.news-article-page .news-article-gallery--count-5 .news-article-gallery__thumbs {
  display: none;
}

@media (max-width: 640px) {
  body.home {
    background: #ffffff;
    background-image: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  }

  body.home .shell {
    width: 100vw;
    max-width: none;
    margin: 0;
    padding: 0.7rem 0 0.95rem;
    gap: 0.85rem;
  }

  body.home .site-public-layout {
    width: 100vw;
    max-width: none;
    margin: 0;
    gap: 0.85rem;
  }

  .hero { padding: 0.9rem 0.95rem; }

  .content-section { padding: 0.85rem 0.95rem; }

  .home-header {
    margin: 0;
    padding: 0.4rem 0;
    background: #ffffff;
    border: 0;
    box-shadow: none;
  }

  .home-header-shell {
    width: 100vw;
    max-width: none;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: #ffffff;
  }

  .home-header-inner {
    padding: 0.52rem 0.85rem 0.42rem;
    gap: 0.6rem;
    border-radius: 0;
    background: #ffffff;
  }

  .home-header-title {
    font-size: clamp(1.3rem, 2.4vw, 1.74rem);
    font-family: "Sora", sans-serif;
    font-weight: 800 !important;
    font-synthesis-weight: none;
    font-variation-settings: "wght" 800;
  }

  .home-header-title-project,
  .home-header-title-universal {
    font-weight: 800 !important;
    font-synthesis-weight: none;
    font-variation-settings: "wght" 800;
  }

  .home-header-tagline {
    display: block;
    font-family: "Manrope", sans-serif;
    font-size: 0.8rem;
    max-width: 36rem;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: 0.01em;
  }

  .home-header-logo {
    width: 32px;
    height: 32px;
    min-width: 32px;
    max-width: 32px;
    min-height: 32px;
    max-height: 32px;
  }

  .news-lead-grid { padding: 0; gap: 0; }

  body.home .news-lead-grid {
    padding: 0;
    gap: 0;
  }

  body.home .news-lead-image {
    aspect-ratio: 1 / 1;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: #ffffff;
    border: 0;
    box-shadow: none;
  }

  body.home .news-lead-copy .news-article-meta {
    display: none;
  }

  body.home .site-public-layout {
    margin-bottom: 1rem;
  }

  body.home .home-homepage-section {
    padding: 0;
  }

  body.home .home-mobile-article-list-section {
    padding: 0 0.75rem 0.25rem;
    background: #ffffff;
  }

  body.home .home-stack-section,
  body.home .home-homepage-section--grid {
    display: none;
  }

  body.home .home-mobile-only {
    display: block;
  }

  body.home .home-homepage-section .section-heading {
    padding: 0.85rem 0.75rem 0;
    margin-bottom: 0.75rem;
  }

  body.home .home-homepage-section .news-card-grid {
    padding: 0;
    gap: 0.65rem;
  }

  body.home .home-homepage-section .home-stack-list {
    gap: 0.65rem;
  }

  .home-stack-list {
    gap: 0.65rem;
  }

  .home-stack-card-link {
    grid-template-columns: 1fr;
  }

  body.home .home-stack-card-image {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    aspect-ratio: 16 / 9;
  }

  body.home .home-stack-card-copy {
    padding: 0.9rem 0.75rem 1rem;
    background: #ffffff;
  }

  .home-stack-card-copy {
    padding: 0.86rem 0.9rem 0.92rem;
  }

  .home-stack-card-copy h3 {
    font-size: 0.98rem;
  }

  .home-stack-card-copy p {
    font-size: 0.8rem;
    line-height: 1.42;
  }

  .news-lead-copy {
    padding: 0.95rem 0.75rem 1rem;
    background: #ffffff;
  }

  body.home .news-lead-copy h2 {
    font-size: 1.24rem;
  }

  body.home .news-lead-standfirst {
    font-size: 0.98rem;
    line-height: 1.5;
    margin-bottom: 0.74rem;
  }

  body.home .news-lead-image {
    aspect-ratio: 16 / 10;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    border-left: 8px solid #ffffff;
    border-right: 8px solid #ffffff;
    border-top: 0;
    border-bottom: 0;
  }

  body.home .news-lead-story {
    padding: 0;
  }

  body.home .news-lead-link {
    gap: 0;
  }

  body.home .news-lead-copy {
    width: 100%;
    padding: 0.95rem 0.75rem 1rem;
  }

  body.home .news-compact-card {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
  }

  body.home .news-compact-card__thumb {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    aspect-ratio: 16 / 9;
  }

  body.home .news-compact-card__content {
    padding: 0.75rem 0.75rem 0.85rem;
  }

  .news-lead-copy h2 { font-size: 1.1rem; }

  body.home .site-public-sidebar {
    gap: 0.7rem;
    padding-bottom: 0.25rem;
  }

  body.home .news-sidebar-youtube {
    padding: 0;
    background: #ffffff;
    border: 0;
    box-shadow: none;
  }

  body.home .news-sidebar-youtube-link {
    display: grid;
    grid-template-columns: minmax(0, 46%) minmax(0, 1fr);
    gap: 0.65rem;
    align-items: start;
    background: #ffffff;
  }

  body.home .news-sidebar-youtube-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 0;
    background: #ffffff;
  }

  body.home .news-sidebar-youtube-body {
    padding: 0;
    gap: 0.3rem;
  }

  body.home .news-sidebar-youtube-body .eyebrow {
    display: none;
  }

  body.home .site-public-sidebar {
    display: none;
  }

  body.home .news-sidebar-instagram-grid {
    gap: 0.3rem;
  }

  body.home .news-card-grid {
    padding: 0;
    gap: 0.65rem;
    background: #ffffff;
  }

  body.home .news-article-card-image {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: #ffffff;
  }

  body.home .news-article-card-copy {
    padding: 0.75rem 0.75rem 0.85rem;
    background: #ffffff;
  }

  body.home .news-article-card {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: #ffffff;
  }

  body.news-article-page .shell {
    width: 100vw;
    max-width: none;
    margin: 0;
    padding-top: 0.65rem;
  }

  body.news-article-page .site-public-layout {
    width: 100vw;
    max-width: none;
    margin: 0;
    gap: 0.8rem;
  }

body.news-article-page .news-article-page-card {
  display: block;
  margin-top: -0.15rem;
}

  body.news-article-page .news-article-page-header {
    padding: 1rem 0.85rem 0.3rem;
    border-bottom: 0;
  }

  body.news-article-page .news-article-page-header .news-article-eyebrow {
    display: none;
  }

  body.news-article-page .news-article-page-header .eyebrow {
    display: none;
  }

  body.news-article-page .news-article-title-card {
    padding: 0.05rem 0.85rem 0 0;
  }

  body.news-article-page .news-article-page-header h1 {
    font-size: clamp(1.5rem, 6.4vw, 2rem);
    line-height: 1.08;
    margin: 0.02rem 0 0.75rem;
    padding-left: 0.85rem;
  }

  body.news-article-page .breadcrumb-nav {
    display: none;
  }

body.news-article-page .news-article-gallery {
  margin: 0 0 0.25rem;
  padding: 0;
  width: 100%;
}

body.news-article-page .news-article-side-column {
  display: none;
}

body.news-article-page .news-article-side-column .site-public-sidebar {
  width: 100%;
  padding-top: 0;
  gap: 1rem;
}

  body.news-article-page .news-article-gallery--multi {
    grid-template-columns: 1fr;
  }

  body.news-article-page .news-article-gallery__secondary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(120px, 1fr);
  }

  body.news-article-page .news-article-gallery__secondary-grid--count-1 {
    grid-template-columns: 1fr;
  }

  body.news-article-page .news-article-gallery__secondary-grid--count-2 {
    grid-template-columns: 1fr;
  }

  body.news-article-page .news-article-gallery__secondary-grid--count-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.news-article-page .news-article-gallery__secondary-grid--count-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.news-article-page .news-article-gallery__secondary-shell {
    display: none;
  }

  body.news-article-page .news-article-gallery__tile {
    aspect-ratio: 16 / 10;
  }

  body.news-article-page .news-article-gallery__figure {
    aspect-ratio: 16 / 9;
    border: 0;
    background: transparent;
    border-radius: 0;
  }

  body.news-article-page .news-article-gallery__figure img {
    border-radius: 0;
  }

  body.news-article-page .news-article-meta--mobile {
    display: block !important;
    margin: 0 !important;
    padding: 0 0.85rem 0 0.85rem !important;
    font-size: 0.68rem;
    line-height: 1.18;
    color: var(--text-muted);
  }

  body.news-article-page .news-article-meta--desktop {
    display: none !important;
  }

  body.news-article-page .news-article-meta-author {
    display: none;
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.2;
    margin: 0;
  }

  body.news-article-page .news-article-meta-author .home-header-title-project,
  body.news-article-page .news-article-meta-author .home-header-title-universal {
    font-size: inherit;
  }

  body.news-article-page .news-article-nav-section {
    display: none;
  }

  body.news-article-page .news-article-meta-date {
    display: block;
    margin: 0.75rem 0 0;
  }

  body.news-article-page .news-article-meta-updated {
    display: none;
  }

  body.news-article-page .news-article-meta-updated {
    display: none;
  }

  body.news-article-page .news-article-split-card,
  body.news-article-page .news-article-media-card,
  body.news-article-page .news-article-body-card,
  body.news-article-page .news-article-sidebar-card,
  body.news-article-page .news-article-comments-card,
  body.news-article-page .news-article-read-next-card {
    display: contents;
  }

  body.news-article-page .news-article-standfirst-section {
    padding: 0.65rem 0.85rem 0.1rem;
    border-bottom: 0;
  }

  body.news-article-page .news-article-standfirst-section .intro {
    margin: 0;
    padding-left: 1rem;
    border-left: 3px solid var(--line);
    font-size: 1rem;
    line-height: 1.4;
    color: var(--text-muted);
  }

  body.news-article-page .news-article-body-section {
    padding: 0.75rem 0.85rem 0.35rem;
    border-top: 0;
    margin-top: 0.5rem;
  }

  body.news-article-page .news-article-taxonomy-section {
    display: none;
  }

  body.news-article-page .news-article-nav-section {
    padding: 0.15rem 0.85rem 1.25rem;
    border-bottom: 0;
  }

  body.podcast-page {
    background: #ffffff;
    background-image: none;
  }

  body.podcast-page .shell {
    width: 100vw;
    max-width: none;
    margin: 0;
    padding: 0.85rem 0 1rem;
    gap: 0.95rem;
    background: #ffffff;
  }

  body.podcast-page .site-public-layout {
    width: 100vw;
    max-width: none;
    margin: 0;
    grid-template-columns: 1fr;
    gap: 0;
    background: #ffffff;
  }

  body.podcast-page .site-public-content {
    width: 100%;
    min-width: 0;
  }

  body.podcast-page .podcast-page-card {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: #ffffff;
  }

  body.podcast-page .podcast-page-card .hero,
  body.podcast-page .podcast-page-card .content-section {
    padding-inline: 0.85rem;
    background: #ffffff;
  }

  body.podcast-page .podcast-page-card .intro,
  body.podcast-page .podcast-page-card .content-section h2,
  body.podcast-page .podcast-page-card .content-section > p {
    display: none;
  }

  body.podcast-page .podcast-page-card .hero {
    padding-block: 1rem 0.6rem;
  }

  body.podcast-page .podcast-page-card .content-section {
    padding-top: 0.45rem;
    padding-bottom: 0.65rem;
  }

  body.podcast-page .podcast-embed {
    aspect-ratio: 1 / 1;
  }

  body.podcast-page .site-public-sidebar {
    display: none;
  }

  body.news-article-page .news-article-side-panel {
    padding: 0.75rem;
  }

  body.login-page,
  body.register-page,
  body.forgot-password-page {
    background: #ffffff;
    background-image: none;
  }

  body.login-page .shell,
  body.register-page .shell,
  body.forgot-password-page .shell {
    width: 100vw;
    max-width: none;
    margin: 0;
    padding: 0.85rem 0 1rem;
  }

  body.login-page .site-public-layout,
  body.register-page .site-public-layout,
  body.forgot-password-page .site-public-layout {
    width: 100vw;
    max-width: none;
    margin: 0;
    grid-template-columns: 1fr;
    gap: 0;
  }

  body.login-page .site-public-content,
  body.register-page .site-public-content,
  body.forgot-password-page .site-public-content {
    width: 100%;
    min-width: 0;
  }

  body.login-page .content-card,
  body.register-page .content-card,
  body.forgot-password-page .content-card {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: #ffffff;
  }

  body.login-page .hero,
  body.register-page .hero,
  body.forgot-password-page .hero,
  body.login-page .content-section,
  body.register-page .content-section,
  body.forgot-password-page .content-section {
    background: #ffffff;
  }

  body.login-page .site-public-sidebar,
  body.register-page .site-public-sidebar,
  body.forgot-password-page .site-public-sidebar {
    display: none;
  }

  body.account-page {
    background: #ffffff;
    background-image: none;
  }

  body.account-page .shell {
    width: 100vw;
    max-width: none;
    margin: 0;
    padding: 0.85rem 0 1rem;
    gap: 0.95rem;
  }

  body.account-page .site-public-layout {
    width: 100vw;
    max-width: none;
    margin: 0;
    grid-template-columns: 1fr;
    gap: 0;
    background: #ffffff;
  }

  body.account-page .site-public-sidebar {
    display: none;
  }

  body.account-page .account-page-card {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: #ffffff;
  }

  body.account-page .account-page-card .hero,
  body.account-page .account-page-card .content-section {
    background: #ffffff;
  }

  body.account-page .member-summary-card {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 0.85rem;
    align-items: center;
  }

  body.account-page .member-summary-avatar {
    width: 88px;
    height: 88px;
    border-radius: 18px;
  }

  body.account-page .account-page-card .content-section {
    padding: 1rem 0.85rem;
  }

  body.account-page .account-group-card,
  body.account-page .account-section-divider {
    gap: 0.75rem;
  }

  body.account-page .account-page-card .hero {
    padding: 1rem 0.85rem 0.35rem;
  }

  body.account-page .account-page-card .admin-lockable-fieldset {
    display: grid;
    gap: 1rem;
  }

  body.account-page .account-settings-divider {
    display: grid;
    gap: 0.55rem;
  }

  body.account-page .account-settings-divider .checkbox-row {
    gap: 0.55rem;
  }

  body.account-page .account-settings-divider .checkbox-row input[type="checkbox"] {
    width: 20px;
    height: 20px;
    border: 2px solid var(--blue-700);
    border-radius: 999px;
    accent-color: var(--blue-700);
  }

  body.account-page .account-settings-divider .checkbox-row span {
    line-height: 1.3;
  }

  body.account-page .follow-platform-setting {
    padding: 0;
  }

  body.account-page .follow-platform-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  body.account-page .follow-platform-icon img,
  body.account-page .follow-platform-icon svg {
    width: 100%;
    height: 100%;
    display: block;
  }

  body.account-page .follow-platform-input {
    padding-left: 1.9rem;
  }

  body.account-page .autocomplete-field {
    position: relative;
  }

  body.account-page .autocomplete-suggestions {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    right: 0;
    z-index: 25;
    display: grid;
    gap: 0.2rem;
    padding: 0.45rem;
    border: 1px solid var(--gray-border);
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.12);
  }

  body.account-page .autocomplete-suggestion {
    appearance: none;
    border: 0;
    border-radius: 0.75rem;
    padding: 0.6rem 0.75rem;
    background: #f7f9fc;
    color: var(--blue-700);
    text-align: left;
    font: inherit;
    font-weight: 600;
  }

  body.account-page .autocomplete-suggestion:hover,
  body.account-page .autocomplete-suggestion:focus-visible {
    background: rgba(51, 85, 204, 0.08);
  }

  body.account-page .account-page-card .form-actions {
    display: flex;
    gap: 0.65rem;
  }

  body.account-page .account-page-card .form-actions .footer-link {
    flex: 1;
    min-width: 0;
  }

  body.account-page .account-password-summary {
    padding: 0.95rem 0.85rem;
  }

  body.account-page .account-password-body {
    padding: 0 0.85rem 1rem;
  }

  body.account-page .account-section-divider {
    padding-top: 0.95rem;
    margin-top: 0.95rem;
  }

  body.account-page .account-avatar-actions {
    margin-top: 0.6rem;
  }

  body.register-page .register-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  body.register-page .register-side-stack {
    display: none;
  }

  body.register-page .register-follow-fieldset .checkbox-grid {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  body.register-page .checkbox-row {
    gap: 0.65rem;
  }

  body.register-page .checkbox-row input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--blue-700);
    border-radius: 999px;
    background: #ffffff;
    display: inline-block;
    flex: 0 0 auto;
    position: relative;
    margin: 0;
  }

  body.register-page .checkbox-row input[type="checkbox"]:checked {
    background: var(--blue-700);
    box-shadow: inset 0 0 0 4px #ffffff;
  }

  body.register-page .checkbox-row input[type="checkbox"]:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(36, 87, 216, 0.16);
  }

  body.register-page .form-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.65rem;
    align-items: stretch;
  }

  body.register-page .form-actions .footer-link,
  body.register-page .form-actions .back-link {
    flex: 1;
    min-width: 0;
  }

  body.register-page .form-actions .back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  body.login-page .form-actions {
    display: grid;
    gap: 0.65rem;
    margin-top: 0.85rem;
  }

  body.login-page .login-form-actions-row {
    display: flex;
    align-items: stretch;
    gap: 0.65rem;
  }

  body.login-page .login-form-actions-row .footer-link,
  body.login-page .login-form-actions-row .back-link {
    flex: 1;
    min-width: 0;
  }

  body.login-page .login-forgot-link {
    display: inline-flex;
    align-self: flex-start;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--blue-700);
    font-weight: 700;
    font-size: 0.82rem;
    text-decoration: none;
  }

  body.login-page .login-forgot-link:hover,
  body.login-page .login-forgot-link:focus-visible {
    text-decoration: underline;
    text-underline-offset: 0.18rem;
  }

  body.news-article-page .news-card-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    background: #ffffff;
  }

  body.news-article-page .news-article-card {
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: #ffffff;
  }

  body.news-article-page .news-article-card-link {
    display: grid;
    grid-template-columns: minmax(0, 46%) minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
    padding: 0.85rem 0;
    color: inherit;
    text-decoration: none;
    background: #ffffff;
    border-top: 1px solid rgba(16, 43, 102, 0.12);
  }

  body.news-article-page .news-article-card:first-child .news-article-card-link {
    border-top: 0;
  }

  body.news-article-page .news-article-card-image {
    aspect-ratio: 16 / 9;
    width: 100%;
    overflow: hidden;
    background: #ffffff;
  }

  body.news-article-page .news-article-card-image img {
    border-radius: 0;
  }

  body.news-article-page .news-article-card-copy {
    min-width: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
  }

  body.news-article-page .news-article-card-copy h2,
  body.news-article-page .news-article-card-copy h3 {
    margin: 0;
    font-size: clamp(0.96rem, 4.4vw, 1.28rem);
    line-height: 1.12;
    font-weight: 650;
    letter-spacing: -0.01em;
    color: #202020;
  }

  body.news-article-page .news-article-card-copy p {
    display: none;
  }

  body.news-article-page .news-article-card-copy .post-card-date {
    color: rgba(32, 32, 32, 0.55);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.2;
  }

  body.news-article-page .news-related-list {
    gap: 0.45rem;
  }

  body.news-article-page .news-related-link {
    display: grid;
    grid-template-columns: minmax(0, 46%) minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
    padding: 0.85rem 0;
    border-top: 1px solid rgba(16, 43, 102, 0.12);
    border-radius: 0;
  }

  body.news-article-page .news-related-link:first-child {
    border-top: 0;
    padding-top: 0;
  }

  body.news-article-page .news-related-link__thumb {
    aspect-ratio: 16 / 9;
    width: 100%;
  }

  body.news-article-page .news-related-link__thumb img {
    border-radius: 0;
  }

  body.news-article-page .news-related-link__body {
    padding: 0;
  }

  body.news-article-page .news-related-link strong {
    font-size: clamp(0.96rem, 4.4vw, 1.28rem);
    line-height: 1.12;
    margin-bottom: 0.35rem;
  }

  body.news-article-page .news-related-link .post-card-date {
    font-size: 0.78rem;
    color: rgba(32, 32, 32, 0.55);
    font-weight: 600;
  }

  body.news-article-page .news-article-gallery__thumbs {
    grid-column: 1 / -1;
    gap: 0.45rem;
    padding-bottom: 0.1rem;
    padding-left: 0.85rem;
    padding-right: 0.85rem;
    scroll-padding-left: 0.85rem;
    scroll-padding-right: 0.85rem;
  }

  body.news-article-page .news-article-gallery__thumb {
    width: 96px;
    height: 64px;
  }

  body.news-article-page .news-sidebar-instagram {
    display: none;
  }

  body.news-article-page .site-footer {
    margin-top: 0.75rem;
  }

  .news-article-gallery {
    padding: 0 1.1rem 1.1rem;
  }

  .news-article-page-card .news-article-gallery {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }

.news-pagination { gap: 1rem; flex-direction: column; }
}

@media (max-width: 768px) {
  body[data-theme="dark"] .home-header {
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  body[data-theme="dark"] .home-header-shell {
    width: 100vw;
    max-width: none;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: rgba(8, 12, 22, 0.98);
    box-shadow: none;
  }

  body[data-theme="dark"] .home-header-inner {
    background: rgba(8, 12, 22, 0.98);
  }
}

@media (max-width: 768px) {
  body:not([data-theme="dark"]) .shell,
  body:not([data-theme="dark"]) .site-public-layout,
  body:not([data-theme="dark"]) .hero,
  body:not([data-theme="dark"]) .content-section,
  body:not([data-theme="dark"]) .news-lead-grid,
  body:not([data-theme="dark"]) .news-lead-story,
  body:not([data-theme="dark"]) .news-lead-link,
  body:not([data-theme="dark"]) .news-lead-image,
  body:not([data-theme="dark"]) .news-lead-copy,
  body:not([data-theme="dark"]) .home-homepage-section,
  body:not([data-theme="dark"]) .home-stack-section,
  body:not([data-theme="dark"]) .home-stack-card,
  body:not([data-theme="dark"]) .home-stack-card-link,
  body:not([data-theme="dark"]) .home-stack-card-image,
  body:not([data-theme="dark"]) .home-stack-card-copy,
  body:not([data-theme="dark"]) .home-mobile-article-list-section,
  body:not([data-theme="dark"]) .home-mobile-article-list-item,
  body:not([data-theme="dark"]) .home-mobile-article-list-link,
  body:not([data-theme="dark"]) .home-mobile-article-list-media,
  body:not([data-theme="dark"]) .home-mobile-article-list-copy,
  body:not([data-theme="dark"]) .news-sidebar-youtube,
  body:not([data-theme="dark"]) .news-sidebar-youtube-link,
  body:not([data-theme="dark"]) .news-sidebar-youtube-thumb,
  body:not([data-theme="dark"]) .news-sidebar-youtube-body,
  body:not([data-theme="dark"]) .news-card-grid,
  body:not([data-theme="dark"]) .news-article-card,
  body:not([data-theme="dark"]) .news-article-card-link,
  body:not([data-theme="dark"]) .news-article-card-image,
  body:not([data-theme="dark"]) .news-article-card-copy,
  body:not([data-theme="dark"]) .news-compact-card,
  body:not([data-theme="dark"]) .news-compact-card__thumb,
  body:not([data-theme="dark"]) .news-compact-card__content,
  body:not([data-theme="dark"]) .video-card,
  body:not([data-theme="dark"]) .video-card-thumb,
  body:not([data-theme="dark"]) .video-card-copy,
  body:not([data-theme="dark"]) .news-article-side-card,
  body:not([data-theme="dark"]) .news-article-side-panel,
  body:not([data-theme="dark"]) .news-related-link,
  body:not([data-theme="dark"]) .news-related-link__thumb,
  body:not([data-theme="dark"]) .news-related-link__body {
    background: #ffffff;
    background-image: none;
  }

  body:not([data-theme="dark"]) .home-header,
  body:not([data-theme="dark"]) .home-header-shell,
  body:not([data-theme="dark"]) .home-header-inner,
  body:not([data-theme="dark"]) .home-mobile-article-list-link,
  body:not([data-theme="dark"]) .news-sidebar-youtube,
  body:not([data-theme="dark"]) .news-sidebar-youtube-link,
  body:not([data-theme="dark"]) .news-sidebar-youtube-thumb,
  body:not([data-theme="dark"]) .news-sidebar-youtube-body,
  body:not([data-theme="dark"]) .news-card-grid,
  body:not([data-theme="dark"]) .news-article-card,
  body:not([data-theme="dark"]) .news-article-card-image,
  body:not([data-theme="dark"]) .news-article-card-copy,
  body:not([data-theme="dark"]) .news-compact-card,
  body:not([data-theme="dark"]) .news-compact-card__thumb,
  body:not([data-theme="dark"]) .news-compact-card__content,
  body:not([data-theme="dark"]) .home-stack-card,
  body:not([data-theme="dark"]) .home-stack-card-image,
  body:not([data-theme="dark"]) .home-stack-card-copy,
  body:not([data-theme="dark"]) .news-lead-image,
  body:not([data-theme="dark"]) .news-lead-copy {
    box-shadow: none;
  }
}

.article-comments-section {
  padding-top: 1.5rem;
}

.comment-signin-card {
  background: #f7f9fc;
  border: 1px solid rgba(15, 45, 107, 0.08);
  border-radius: 20px;
  padding: 1rem 1.05rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1rem 0 1.2rem;
}

.comment-signin-card p {
  margin: 0;
  color: #53658b;
  line-height: 1.45;
}

.comment-signin-card .footer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  background: var(--blue-700);
  color: #ffffff;
  text-decoration: none;
  border: 1px solid var(--blue-700);
  white-space: nowrap;
}

.comment-signin-card .footer-link:hover,
.comment-signin-card .footer-link:focus-visible {
  background: var(--blue-800);
  border-color: var(--blue-800);
}

.comment-signin-card-highlight {
  outline: 2px solid rgba(62, 90, 219, 0.18);
  outline-offset: 2px;
}

.article-comments-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.article-comments-toolbar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.article-comments-sort {
  border: 0;
  background: transparent;
  color: var(--blue-700);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.2rem 0;
  border-bottom: 2px solid transparent;
}

.article-comments-sort.is-active {
  color: var(--red-600);
  border-bottom-color: var(--red-600);
}

.article-comment-form {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 0.85rem;
  margin-top: 1rem;
  margin-bottom: 1.35rem;
}

.article-comment-form-avatar img,
.comment-card-avatar img {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.article-comment-form-main textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(15, 45, 107, 0.12);
  border-radius: 18px;
  background: #f5f7fb;
  padding: 0.9rem 1rem;
  font: inherit;
  color: var(--blue-800);
  resize: vertical;
}

.article-comment-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.65rem;
}

.article-comment-meta-note {
  margin: 0;
  color: #6d7da3;
  font-size: 0.88rem;
}

.article-comment-form-actions .article-comment-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--red-600);
  background: var(--red-600);
  color: #ffffff;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(186, 27, 38, 0.12);
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}

.article-comment-form-actions .article-comment-submit:hover,
.article-comment-form-actions .article-comment-submit:focus-visible {
  background: var(--red-700);
  border-color: var(--red-700);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(186, 27, 38, 0.16);
}

.article-comment-form-actions .article-comment-submit[disabled] {
  opacity: 0.8;
  transform: none;
  box-shadow: none;
}

.article-comment-feedback {
  margin-top: 0.6rem;
}

.article-comment-thread {
  margin-top: 1rem;
}

.article-comment-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.comment-thread-empty {
  color: #6d7da3;
  font-size: 0.98rem;
  padding: 0.5rem 0;
}

.comment-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
}

.comment-card-main {
  min-width: 0;
}

.comment-card-bubble {
  background: #f2f4f7;
  border-radius: 18px;
  padding: 0.72rem 0.9rem;
  box-shadow: 0 1px 0 rgba(15, 45, 107, 0.03);
}

.comment-card-header {
  margin-bottom: 0.25rem;
}

.comment-card-username-link,
.comment-card-username-label {
  color: var(--blue-800);
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
}

.comment-card-username-link:hover,
.comment-card-username-link:focus-visible {
  text-decoration: underline;
}

.comment-card-body {
  color: #1e366f;
  font-size: 0.96rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.comment-card-body a {
  color: var(--blue-700);
}

.comment-card-editor {
  margin-top: 0.7rem;
}

.comment-card-editor-input {
  width: 100%;
  min-height: 96px;
  border: 1px solid rgba(15, 45, 107, 0.14);
  border-radius: 16px;
  background: #ffffff;
  color: var(--blue-800);
  font: inherit;
  line-height: 1.5;
  padding: 0.85rem 0.95rem;
  resize: vertical;
}

.comment-card-editor-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.65rem;
}

.comment-card-editor-save,
.comment-card-editor-cancel {
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.55rem 0.95rem;
  cursor: pointer;
}

.comment-card-editor-save {
  background: var(--blue-700);
  color: #fff;
}

.comment-card-editor-cancel {
  background: #e8edf7;
  color: var(--blue-800);
}

.comment-card-editor-feedback {
  margin-top: 0.55rem;
  color: #b42318;
  font-size: 0.84rem;
  font-weight: 700;
}

.comment-card-see-more {
  border: 0;
  background: transparent;
  color: var(--blue-700);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0;
  margin-top: 0.45rem;
  cursor: pointer;
}

.comment-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 0.35rem;
  column-gap: 0.65rem;
  margin-top: 0.38rem;
  padding-left: 0.1rem;
  color: #7f8aa7;
  font-size: 0.83rem;
}

.comment-card-time,
.comment-card-edited {
  font-weight: 600;
}

.comment-card-action {
  border: 0;
  background: transparent;
  color: #5d6c8f;
  font: inherit;
  font-size: 0.83rem;
  font-weight: 700;
  padding: 0;
  cursor: pointer;
  line-height: 1.2;
  transition: color 0.15s ease, opacity 0.15s ease;
}

.comment-card-action:hover,
.comment-card-action:focus-visible,
.comment-card-see-more:hover,
.comment-card-see-more:focus-visible,
.article-comment-load-more:hover,
.article-comment-load-more:focus-visible {
  color: var(--blue-700);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.14em;
}

.comment-card-like.is-liked {
  color: var(--red-600);
}

.comment-card-like[aria-pressed="true"] {
  color: var(--red-600);
}

.comment-card-action-feedback {
  width: 100%;
  color: #b42318;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 0.25rem;
}

.comment-card-enter {
  animation: commentCardIn 220ms ease-out;
}

.article-comment-load-more-wrap {
  margin-top: 1rem;
}

.article-comment-load-more {
  display: inline-flex;
  align-items: center;
}

.article-comment-load-more.is-loading {
  opacity: 0.75;
}

.comment-card-skeleton .comment-card-avatar,
.comment-card-skeleton .comment-card-bubble {
  background: transparent;
}

.skeleton-block,
.skeleton-line {
  background: linear-gradient(90deg, #eef2f8 25%, #f7f9fc 37%, #eef2f8 63%);
  background-size: 400% 100%;
  animation: commentSkeletonPulse 1.2s ease infinite;
}

.skeleton-block {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.skeleton-line {
  height: 12px;
  border-radius: 999px;
  margin-bottom: 0.65rem;
}

.skeleton-line-short {
  width: 34%;
}

.skeleton-line-medium {
  width: 66%;
  margin-bottom: 0;
}

@keyframes commentSkeletonPulse {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

@keyframes commentCardIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .comment-card-enter,
  .skeleton-block,
  .skeleton-line {
    animation: none;
  }
}

@media (max-width: 768px) {
  .article-comments-section {
    padding: 1.35rem 0.9rem 0.85rem;
  }

  .article-comments-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .article-comment-form {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 0.75rem;
  }

  .article-comment-form-avatar img,
  .comment-card-avatar img,
  .skeleton-block {
    width: 38px;
    height: 38px;
  }

  .article-comment-form-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .comment-signin-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .comment-signin-card .footer-link {
    width: auto;
  }

  .comment-card-action {
    padding: 0;
  }

  .comment-card-meta {
    column-gap: 0.55rem;
  }
}

@media (min-width: 1025px) {
  body.news-article-page .news-article-media-card .news-article-gallery,
  body.news-article-page .news-article-media-card .single-listing__gallery {
    width: 100%;
    max-width: 100%;
    grid-template-columns: minmax(0, 0.98fr) minmax(0, 0.72fr);
    align-items: stretch;
    gap: 0.95rem;
    margin: 0 0 0.75rem;
    padding: 0;
  }

  body.news-article-page .news-article-media-card .news-article-gallery--count-2,
  body.news-article-page .news-article-media-card .single-listing__gallery--count-2 {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.56fr);
  }

  body.news-article-page .news-article-media-card .news-article-gallery--count-3,
  body.news-article-page .news-article-media-card .single-listing__gallery--count-3 {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.62fr);
  }

  body.news-article-page .news-article-media-card .news-article-gallery--count-4,
  body.news-article-page .news-article-media-card .single-listing__gallery--count-4 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.68fr);
  }

  body.news-article-page .news-article-media-card .news-article-gallery--count-5,
  body.news-article-page .news-article-media-card .single-listing__gallery--count-5 {
    grid-template-columns: minmax(0, 0.98fr) minmax(0, 0.72fr);
  }

  body.news-article-page .news-article-media-card .news-article-gallery--single {
    grid-template-columns: 1fr;
  }

  body.news-article-page .news-article-media-card .news-article-gallery > *,
  body.news-article-page .news-article-media-card .single-listing__gallery > * {
    min-width: 0;
  }

  body.news-article-page .news-article-media-card .news-article-gallery .gallery-card,
  body.news-article-page .news-article-media-card .single-listing__gallery .gallery-card,
  body.news-article-page .news-article-media-card .news-article-gallery__figure,
  body.news-article-page .news-article-media-card .news-article-gallery__tile {
    margin: 0;
    overflow: hidden;
    border-radius: 22px;
    border: 0;
    background: transparent;
    box-shadow: none;
    min-height: 0;
  }

  body.news-article-page .news-article-media-card .gallery-card--featured,
  body.news-article-page .news-article-media-card .news-article-gallery__figure--lead,
  body.news-article-page .news-article-media-card .news-article-gallery__lead {
    min-width: 0;
    min-height: clamp(300px, 29vw, 490px);
    aspect-ratio: 16 / 9;
    width: 100%;
  }

  body.news-article-page .news-article-media-card .single-listing__gallery--solo .gallery-card--featured {
    grid-row: auto;
    width: min(100%, 820px);
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  body.news-article-page .news-article-media-card .single-listing__secondary-shell,
  body.news-article-page .news-article-media-card .news-article-gallery__secondary-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    min-height: 100%;
    align-items: stretch;
    min-width: 0;
    width: 100%;
  }

  body.news-article-page .news-article-media-card .single-listing__secondary-grid,
  body.news-article-page .news-article-media-card .news-article-gallery__secondary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(145px, 1fr);
    gap: 0.8rem;
    min-height: 100%;
    width: 100%;
    min-width: 0;
  }

  body.news-article-page .news-article-media-card .single-listing__secondary-grid--count-1,
  body.news-article-page .news-article-media-card .news-article-gallery__secondary-grid--count-1 {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
  }

  body.news-article-page .news-article-media-card .single-listing__secondary-grid--count-1 .gallery-card--secondary,
  body.news-article-page .news-article-media-card .news-article-gallery__secondary-grid--count-1 .news-article-gallery__tile {
    aspect-ratio: auto;
    min-height: 100%;
  }

  body.news-article-page .news-article-media-card .single-listing__secondary-grid--count-2,
  body.news-article-page .news-article-media-card .news-article-gallery__secondary-grid--count-2 {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }

  body.news-article-page .news-article-media-card .single-listing__secondary-grid--count-2 .gallery-card--secondary,
  body.news-article-page .news-article-media-card .news-article-gallery__secondary-grid--count-2 .news-article-gallery__tile {
    min-height: 0;
    aspect-ratio: auto;
  }

  body.news-article-page .news-article-media-card .single-listing__secondary-grid--count-3,
  body.news-article-page .news-article-media-card .news-article-gallery__secondary-grid--count-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: minmax(0, 1.06fr) minmax(0, 0.94fr);
  }

  body.news-article-page .news-article-media-card .single-listing__secondary-grid--count-3 .gallery-card--secondary:first-child,
  body.news-article-page .news-article-media-card .news-article-gallery__secondary-grid--count-3 .news-article-gallery__tile:first-child {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  body.news-article-page .news-article-media-card .single-listing__secondary-grid--count-3 .gallery-card--secondary:not(:first-child),
  body.news-article-page .news-article-media-card .news-article-gallery__secondary-grid--count-3 .news-article-gallery__tile:not(:first-child) {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  body.news-article-page .news-article-media-card .single-listing__secondary-grid--count-4,
  body.news-article-page .news-article-media-card .news-article-gallery__secondary-grid--count-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }

  body.news-article-page .news-article-media-card .single-listing__secondary-grid--count-4 .gallery-card--secondary,
  body.news-article-page .news-article-media-card .news-article-gallery__secondary-grid--count-4 .news-article-gallery__tile {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  body.news-article-page .news-article-media-card .gallery-card--secondary,
  body.news-article-page .news-article-media-card .news-article-gallery__tile {
    min-width: 0;
    min-height: clamp(150px, 14vw, 228px);
    aspect-ratio: 1 / 1;
  }

  body.news-article-page .news-article-media-card .gallery-card img,
  body.news-article-page .news-article-media-card .news-article-gallery__figure img,
  body.news-article-page .news-article-media-card .news-article-gallery__tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
  }

  body.news-article-page .news-article-media-card .news-article-gallery__tile,
  body.news-article-page .news-article-media-card .news-article-gallery__figure {
    transition: none;
  }

  body.news-article-page .news-article-media-card .news-article-gallery__tile {
    cursor: zoom-in;
    pointer-events: auto;
  }

  body.news-article-page .news-article-media-card .news-article-gallery__tile:hover,
  body.news-article-page .news-article-media-card .news-article-gallery__tile:focus-visible,
  body.news-article-page .news-article-media-card .news-article-gallery__figure:hover,
  body.news-article-page .news-article-media-card .news-article-gallery__figure:hover img {
    transform: none;
  }

  body.news-article-page .news-article-media-card .news-article-gallery__thumbs {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 100%;
  }
}

/* ============================================================
   ARTICLE IMAGE LIGHTBOX
   ============================================================ */
.article-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  padding: 2rem;
  box-sizing: border-box;
}

.article-lightbox[hidden] {
  display: none;
}

.article-lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
  cursor: default;
  display: block;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
}

.article-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.15);
  border: 0;
  color: #ffffff;
  font-size: 1.6rem;
  line-height: 1;
  padding: 0.3rem 0.7rem 0.4rem;
  cursor: pointer;
  border-radius: var(--site-corner-radius);
  transition: background 150ms ease;
  z-index: 1;
}

.article-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.28);
}

body.article-lightbox-open {
  overflow: hidden;
}

[data-article-gallery-lightbox] {
  cursor: zoom-in;
}
