/* =====================================================================
   Genius Company — Main Stylesheet  v1.5.9
   ===================================================================== */

/* ── Reset & Base ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--gc-body-font);
  font-size: var(--gc-base-font-size);
  line-height: var(--gc-line-height);
  color: #334155;
  background: #fff;
}
a { color: var(--gc-link); text-decoration: none; }
a:hover { text-decoration: underline; }

/* BUG FIX: was applying border-radius globally to ALL images */
img { max-width: 100%; height: auto; display: block; }
img.gc-rounded { border-radius: 22px; }

h1,h2,h3,h4 {
  font-family: var(--gc-heading-font);
  font-weight: var(--gc-heading-weight);
  line-height: 1.08;
  color: var(--gc-dark);
  margin-top: 0;
}
p { margin-top: 0; }
ul,ol { padding-left: 1.25em; }

/* ── Layout ────────────────────────────────────────────────────────── */
.gc-container {
  width: min(var(--gc-site-width), calc(100% - (var(--gc-container-padding) * 2)));
  margin-inline: auto;
}
.gc-narrow { max-width: var(--gc-content-width); margin-inline: auto; }

/* ── Top Bar ───────────────────────────────────────────────────────── */
.gc-topbar { background: var(--gc-dark); color: #94a3b8; font-size: 13px; padding: 8px 0; }
.gc-topbar .gc-container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.gc-topbar a { color: #cbd5e1; }
.gc-topbar a:hover { color: #fff; text-decoration: none; }
.gc-topbar ul { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }

/* ── Header ────────────────────────────────────────────────────────── */
.gc-site-header {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(15,23,42,0.08);
  transition: box-shadow .2s ease, background .2s ease;
  z-index: 90;
}
.gc-site-header.is-sticky { position: sticky; top: 0; }
.gc-site-header.scrolled { box-shadow: 0 8px 30px rgba(15,23,42,0.10); }
.gc-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; }

.gc-brand-link { display: inline-flex; align-items: center; }
/* BUG FIX: no border-radius on logos */
.gc-default-logo,.custom-logo { max-height: 52px; width: auto; border-radius: 0; display: block; }
.gc-brand .custom-logo-link { display: inline-flex; align-items: center; }
.gc-logo-text { font-weight: 900; font-size: 22px; color: var(--gc-dark); letter-spacing: -.03em; white-space: nowrap; }

.gc-primary-nav ul,.gc-footer ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.gc-primary-nav a {
  font-weight: 600; color: #334155; padding: 7px 12px; border-radius: 8px;
  transition: color .15s, background .15s; white-space: nowrap;
}
.gc-primary-nav a:hover,.gc-primary-nav a[aria-current="page"] {
  color: var(--gc-primary); background: rgba(91,92,246,.07); text-decoration: none;
}
.gc-primary-nav a[aria-current="page"] { font-weight: 700; }

.gc-header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* ── Buttons ───────────────────────────────────────────────────────── */
.gc-btn,a.gc-btn,button.gc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 2px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gc-button), var(--gc-secondary));
  color: #fff !important;
  padding: 12px 24px; font-weight: 700; font-size: .9375rem; line-height: 1;
  cursor: pointer; text-decoration: none !important;
  transition: opacity .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 14px rgba(79,70,229,.25); white-space: nowrap;
}
.gc-btn:hover { opacity: .9; transform: translateY(-1px); box-shadow: 0 8px 22px rgba(79,70,229,.32); }
.gc-btn:active { transform: translateY(0); }

/* BUG FIX: outline button properly overrides gradient */
.gc-btn.gc-btn-outline,a.gc-btn.gc-btn-outline {
  background: transparent !important;
  color: var(--gc-primary) !important;
  border: 2px solid var(--gc-primary);
  box-shadow: none;
}
.gc-btn.gc-btn-outline:hover { background: var(--gc-primary) !important; color: #fff !important; }

.gc-icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: #f1f5f9; border: 1px solid #e2e8f0; color: var(--gc-dark);
  cursor: pointer; transition: background .15s; font-size: 18px; padding: 0;
}
.gc-icon-btn:hover { background: #e2e8f0; }
.gc-header-cta { padding: 10px 20px; font-size: .875rem; }

.gc-menu-toggle {
  display: none; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; width: 44px; height: 44px; border-radius: 10px;
  background: #f1f5f9; border: 1px solid #e2e8f0; cursor: pointer; padding: 0;
}
.gc-menu-toggle span { display: block; height: 2px; width: 20px; background: var(--gc-dark); border-radius: 2px; transition: transform .25s, opacity .25s; }

/* ── Mobile Drawer ─────────────────────────────────────────────────── */
.gc-mobile-drawer {
  position: fixed; inset: 0 0 0 auto; width: min(340px, 88vw);
  background: #fff; z-index: 200;
  transform: translateX(105%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  padding: 24px; box-shadow: -20px 0 60px rgba(15,23,42,.20);
  overflow-y: auto; display: flex; flex-direction: column;
}
.gc-mobile-drawer.open { transform: none; }
.gc-mobile-overlay { position: fixed; inset: 0; background: rgba(15,23,42,.5); z-index: 190; opacity: 0; pointer-events: none; transition: opacity .3s; }
.gc-mobile-overlay.open { opacity: 1; pointer-events: auto; }
.gc-drawer-close {
  align-self: flex-end; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid #e2e8f0; background: #f8fafc; font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: var(--gc-dark); margin-bottom: 12px; flex-shrink: 0;
}
.gc-mobile-drawer ul { list-style: none; padding: 0; margin: 0; }
.gc-mobile-drawer li { border-bottom: 1px solid #f1f5f9; }
.gc-mobile-drawer a { display: block; padding: 14px 4px; color: var(--gc-dark); font-weight: 700; font-size: 1.0625rem; }
.gc-mobile-drawer a:hover { color: var(--gc-primary); text-decoration: none; }

/* ── Hero ──────────────────────────────────────────────────────────── */
.gc-hero {
  overflow: hidden; padding: 88px 0; position: relative;
  background: radial-gradient(circle at top right, #dbeafe, transparent 38%), linear-gradient(180deg, #fff, #f8fafc);
}
.gc-hero > .gc-slider { position: relative; z-index: 2; }
.gc-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.gc-hero h1 { font-size: clamp(40px, 7vw, 80px); letter-spacing: -.05em; margin: 10px 0 20px; }
.gc-hero p { font-size: 19px; max-width: 640px; color: #475569; line-height: 1.75; }
.gc-hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0;
  background-size: cover; background-position: center;
  filter: blur(18px); transform: scale(1.08); transform-origin: center;
  opacity: .88; pointer-events: none; transition: background-image .35s ease, opacity .35s ease;
}
.gc-hero-bg-overlay {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none;
  background:
    radial-gradient(circle at 80% 20%, rgba(91,92,246,.28), transparent 34%),
    linear-gradient(110deg, rgba(255,255,255,.90) 0%, rgba(255,255,255,.72) 42%, rgba(15,23,42,.66) 100%);
}
.gc-hero .gc-container { position: relative; z-index: 2; }
.gc-hero .gc-hero-bg[style*="background-image"] { animation: gcHeroBgFloat 8s ease-in-out both; }
@keyframes gcHeroBgFloat { from { transform: scale(1.08); } to { transform: scale(1.12); } }
.gc-hero-copy span,.gc-section-head span,.gc-mini-kicker {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--gc-primary); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: 11px; margin-bottom: 8px;
}
.gc-cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }

.gc-hero-media { position: relative; }
.gc-hero-media::before {
  content: ""; position: absolute; inset: 30px -16px -16px 30px;
  background: linear-gradient(135deg, var(--gc-primary), var(--gc-accent));
  border-radius: 38px; z-index: 0;
}
.gc-hero-media img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3; max-height: clamp(280px, 50vh, 520px); object-fit: cover; border-radius: 28px; box-shadow: 0 28px 80px rgba(15,23,42,.22); }

/* BUG FIX: stack slides in one grid cell so the slider takes the height of the tallest slide and stays stable across transitions (no layout jump during autoplay). Inactive slides stay in the DOM, hidden via opacity + visibility, so they don't add height and don't catch clicks. */
.gc-slider { position: relative; display: grid; }
.gc-slide { grid-row: 1; grid-column: 1; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .6s ease, visibility .6s; }
.gc-slide.gc-slide-active { opacity: 1; visibility: visible; pointer-events: auto; }
.gc-hero { min-height: 460px; }
@keyframes gcFadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ── Sections ──────────────────────────────────────────────────────── */
.gc-section { padding: 88px 0; }
.gc-section-dark { background: var(--gc-dark); color: #cbd5e1; }
.gc-section-dark h2,.gc-section-dark h3 { color: #fff; }
.gc-section-light { background: var(--gc-light); }
.gc-section-head { text-align: center; margin-bottom: 48px; }
.gc-section-head h2 { font-size: clamp(28px, 4vw, 52px); margin: 8px 0 16px; }
.gc-section-head p { font-size: 18px; color: #64748b; max-width: 640px; margin-inline: auto; }

/* ── Grid & Cards ──────────────────────────────────────────────────── */
.gc-grid { display: grid; gap: 24px; }
.gc-grid-2 { grid-template-columns: repeat(2, 1fr); }
.gc-grid-3 { grid-template-columns: repeat(3, 1fr); }
.gc-grid-4 { grid-template-columns: repeat(4, 1fr); }

.gc-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 24px; padding: 28px;
  box-shadow: 0 4px 24px rgba(15,23,42,.06); transition: transform .25s, box-shadow .25s;
}
.gc-card:hover { transform: translateY(-3px); box-shadow: 0 12px 48px rgba(15,23,42,.12); }
.gc-post-card, .gc-demo-item-card { overflow: hidden; }
.gc-card-media { display: block; overflow: hidden; aspect-ratio: 16/10; border-radius: 18px; margin: 0 0 20px; width: 100%; background: #f1f5f9; }
.gc-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; transition: transform .4s ease; }
.gc-card:hover .gc-card-media img { transform: scale(1.04); }
.gc-card-meta { font-size: 13px; color: #94a3b8; margin-bottom: 8px; font-weight: 600; }
.gc-card-title { font-size: 22px; margin: 0 0 10px; }
.gc-card h3 { margin-top: 0; }
.gc-card p { color: #64748b; margin-bottom: 16px; }
.gc-link { font-weight: 700; color: var(--gc-primary); font-size: .9375rem; }
.gc-link:hover { text-decoration: underline; }
.gc-featured { border-color: var(--gc-primary); box-shadow: 0 0 0 2px var(--gc-primary), 0 12px 48px rgba(91,92,246,.15); }

.gc-split,.gc-content-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--gc-sidebar-gap, 48px); align-items: center; }
.gc-content-wrap { grid-template-columns: minmax(0, 1fr) minmax(260px, var(--gc-sidebar-width)); align-items: start; }
.gc-full-content { max-width: var(--gc-full-content-width, var(--gc-site-width)); }
.gc-full-content > main, .gc-sidebar-none .gc-primary-content { width: 100%; min-width: 0; }
.gc-content-wrap > main { min-width: 0; }
.gc-sidebar-left .gc-content-wrap { grid-template-columns: minmax(260px, var(--gc-sidebar-width)) minmax(0, 1fr); }
.gc-sidebar-left .gc-content-wrap > .gc-sidebar { order: -1; }
.gc-sidebar-none .gc-content-wrap { grid-template-columns: minmax(0, 1fr); }
.gc-sidebar-none .gc-content-wrap > main { width: 100%; max-width: none; }
.gc-sidebar-none .gc-content-wrap { max-width: var(--gc-full-content-width, var(--gc-site-width)); }
.gc-sidebar-none .gc-sidebar { display: none; }

/* ── Trust / Logos ─────────────────────────────────────────────────── */
.gc-logos { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; }
.gc-logos b { padding: 14px 24px; border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; font-weight: 800; color: #64748b; }

/* Stats */
.gc-stats { display: flex; flex-wrap: wrap; gap: 32px; justify-content: center; align-items: flex-start; }
.gc-stats > div { text-align: center; }
.gc-stats b { display: block; font-size: 52px; line-height: 1; color: var(--gc-primary); font-weight: 900; }
.gc-stats span { display: block; margin-top: 6px; color: #64748b; font-weight: 600; font-size: 15px; }

/* Steps */
.gc-steps { display: flex; flex-wrap: wrap; gap: 12px; counter-reset: steps; }
.gc-steps > div {
  counter-increment: steps; position: relative;
  padding: 20px 24px 20px 52px; border-radius: 18px; background: #f1f5f9;
  font-weight: 800; font-size: 15px; flex: 1; min-width: 140px;
}
.gc-steps > div::before {
  content: counter(steps); position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; background: var(--gc-primary); color: #fff; border-radius: 50%;
  font-size: 13px; font-weight: 900; display: flex; align-items: center; justify-content: center;
}

/* Property search */
.gc-property-search { display: grid; grid-template-columns: 1fr 180px auto; gap: 12px; padding: 16px; background: #fff; border-radius: 20px; box-shadow: 0 20px 60px rgba(15,23,42,.12); align-items: center; }

input,select,textarea {
  border: 1px solid #cbd5e1; border-radius: 12px; padding: 12px 14px; width: 100%;
  font-family: inherit; font-size: .9375rem; color: #334155; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
input:focus,select:focus,textarea:focus { outline: none; border-color: var(--gc-primary); box-shadow: 0 0 0 3px rgba(91,92,246,.12); }

/* ── Banner CTA ────────────────────────────────────────────────────── */
.gc-banner {
  padding: 56px 40px; border-radius: 28px;
  background: linear-gradient(135deg, var(--gc-primary), var(--gc-secondary));
  color: #fff; text-align: center; box-shadow: 0 20px 60px rgba(91,92,246,.25);
}
.gc-banner h2 { color: #fff; margin-bottom: 8px; }
.gc-banner p { color: rgba(255,255,255,.85); margin-bottom: 24px; }
.gc-banner .gc-btn { background: #fff !important; color: var(--gc-primary) !important; box-shadow: 0 4px 20px rgba(0,0,0,.15); }

/* Meta badges */
.gc-meta-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.gc-meta-badges span,.gc-meta-panel span {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid rgba(15,23,42,.1); background: rgba(255,255,255,.8);
  border-radius: 999px; padding: 5px 12px; font-size: 12px; font-weight: 700; color: var(--gc-dark);
}
.gc-meta-panel { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 26px; }
.gc-text-link { font-weight: 700; text-decoration: none; color: var(--gc-primary); }
.gc-text-link:hover { text-decoration: underline; }
.gc-empty-state { padding: 48px; text-align: center; border-style: dashed !important; }

/* ── Footer ────────────────────────────────────────────────────────── */
.gc-footer { background: #07111f; color: #94a3b8; padding-top: 72px; }
.gc-footer h3 { color: #f1f5f9; font-size: 16px; margin-bottom: 16px; }
.gc-footer a { color: #94a3b8; }
.gc-footer a:hover { color: #fff; text-decoration: none; }
.gc-footer ul { list-style: none; padding: 0; margin: 0; display: block; }
.gc-footer ul li { margin-bottom: 10px; }
.gc-footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.gc-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 48px; padding: 20px 0; }
.gc-footer-bottom .gc-container { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 14px; }
/* BUG FIX: only target the inner split-layout container, not the <footer> element which also carries .gc-footer-split as a layout-name modifier. */
.gc-footer > .gc-footer-split-layout { display: grid; grid-template-columns: .9fr 1.4fr; gap: 54px; align-items: start; }
.gc-footer .gc-footer-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.gc-footer-centered-inner { text-align: center; max-width: 760px; margin-inline: auto; }
.gc-footer-centered .gc-footer-brand { display: flex; justify-content: center; align-items: center; margin-bottom: 18px; }
.gc-footer-centered .custom-logo-link { display: inline-flex; align-items: center; justify-content: center; }
.gc-footer-centered .custom-logo { max-width: 220px; max-height: 70px; width: auto; height: auto; object-fit: contain; }
.gc-footer-brand-title { color: #f8fafc; font-size: clamp(24px, 4vw, 36px); letter-spacing: -.03em; margin: 0; }
.gc-footer-about { max-width: 640px; margin: 0 auto 22px; color: #cbd5e1; line-height: 1.8; }
.gc-footer-nav { margin: 22px 0 0; }
.gc-footer-centered .gc-footer-menu,
.gc-footer-centered .menu { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px 24px; list-style: none; margin: 0; padding: 0; }
.gc-footer-centered .gc-footer-menu li,
.gc-footer-centered .menu li { margin: 0; }
.gc-footer-centered .gc-footer-menu a,
.gc-footer-centered .menu a { font-weight: 700; }
.gc-footer-centered .gc-cta-row { justify-content: center; margin-top: 26px; }
.gc-footer-centered .gc-footer-bottom .gc-container { justify-content: center; text-align: center; flex-wrap: wrap; }

/* ── Single Post ───────────────────────────────────────────────────── */
.gc-single { padding: 72px 0; }
.gc-single-hero {
  margin-bottom: 48px; padding: 96px 0;
  background: linear-gradient(135deg, var(--gc-dark), color-mix(in srgb, var(--gc-primary), #000 45%));
  color: #fff;
}
.gc-single-hero h1 { max-width: 900px; color: #fff; font-size: clamp(36px, 6vw, 68px); }
.gc-single-hero span { color: #a5b4fc; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: 11px; }
.gc-single-narrow .gc-entry { font-size: 20px; line-height: 1.85; }
.gc-entry h2,.gc-entry h3 { margin-top: 2em; }
.gc-entry p,.gc-entry li { line-height: 1.8; }
.gc-single-image { width: 100%; border-radius: 20px; margin: 0 0 36px; }
.gc-related { margin-top: 56px; }
.gc-related h2 { font-size: 30px; margin-bottom: 24px; }
.gc-post-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 32px; border-top: 1px solid #e2e8f0; font-weight: 700; }
.gc-author { display: flex; align-items: flex-start; gap: 20px; padding: 28px; margin-top: 40px; }
.gc-author h3 { margin-bottom: 6px; }
.gc-author p { color: #64748b; margin: 0; }
.gc-sidebar { background: #f8fafc; border-radius: 20px; padding: 24px; }
.gc-sidebar .widget { margin-bottom: 28px; }
.gc-sidebar h3 { font-size: 17px; border-bottom: 2px solid var(--gc-primary); padding-bottom: 8px; margin-bottom: 16px; }

/* Blog layouts */
.gc-post-list { display: grid; gap: 20px; }
.gc-post-horizontal { display: grid; grid-template-columns: 300px minmax(0,1fr); gap: 0; overflow: hidden; padding: 0; }
.gc-post-horizontal .gc-card-media { margin: 0; aspect-ratio: auto; border-radius: 16px 0 0 16px; }
.gc-post-horizontal .gc-card-media img { height: 100%; aspect-ratio: auto; object-fit: cover; border-radius: 16px 0 0 16px; }
.gc-post-horizontal .gc-card-body { padding: 28px; }
.gc-magazine-layout { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 24px; }
.gc-magazine-layout .gc-post-featured { grid-row: span 2; }
.gc-magazine-layout .gc-post-featured .gc-card-title { font-size: 30px; }

/* ── Header layout variants ────────────────────────────────────────── */
.gc-header-center .gc-header-inner { display: grid; grid-template-columns: 1fr auto 1fr; justify-items: center; }
.gc-header-center .gc-header-inner > .gc-primary-nav { display: none; }
.gc-header-center-nav { display: flex; justify-content: center; border-top: 1px solid #f1f5f9; }
.gc-header-center-nav .gc-primary-nav ul { justify-content: center; }
.gc-header-split .gc-header-inner { display: grid; grid-template-columns: 1fr auto 1fr auto; }
.gc-header-split .gc-brand { justify-self: center; }
.gc-header-split .gc-primary-nav-left ul { justify-content: flex-end; }
.gc-header-split .gc-primary-nav-right ul { justify-content: flex-start; }

/* ── CPT / Demo pages ──────────────────────────────────────────────── */
.gc-shortcode-grid .gc-demo-item-card { overflow: hidden; display: flex; flex-direction: column; min-height: 100%; }
.gc-demo-page-wrap .gc-section { padding: 88px 0; }
.gc-demo-page-hero {
  padding: 96px 0;
  background: radial-gradient(circle at 85% 10%, color-mix(in srgb, var(--gc-primary), white 80%), transparent 36%), linear-gradient(180deg, #fff, #f8fafc);
  overflow: hidden;
}
.gc-demo-page-hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
.gc-demo-page-hero h1 { font-size: clamp(40px, 7vw, 76px); letter-spacing: -.055em; margin: 0 0 18px; }
.gc-demo-page-hero p { font-size: 19px; max-width: 680px; color: #475569; }
.gc-demo-page-image { margin: 0; position: relative; }
.gc-demo-page-image::after {
  content: ""; position: absolute; inset: auto -16px -16px 16px; height: 82%;
  background: linear-gradient(135deg, var(--gc-primary), var(--gc-secondary)); border-radius: 34px; z-index: 0;
}
.gc-demo-page-image img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 28px; box-shadow: 0 32px 80px rgba(15,23,42,.22); }
.gc-demo-metrics .gc-card { text-align: center; }
.gc-demo-metrics b { display: block; font-size: 44px; color: var(--gc-primary); line-height: 1; font-weight: 900; }
.gc-demo-metrics span { display: block; margin-top: 8px; font-weight: 700; color: #64748b; }
.gc-demo-media img { object-fit: cover; border-radius: 20px; }
.gc-cpt-archive .gc-section-head,.gc-cpt-single .gc-section-head { max-width: 820px; margin-bottom: 32px; }
.gc-cpt-single .gc-card h3 { margin-top: 0; }

/* ── Animations ────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ── Pagination ────────────────────────────────────────────────────── */
.nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 48px; flex-wrap: wrap; }
.nav-links a,.nav-links span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px; border-radius: 10px;
  border: 1px solid #e2e8f0; font-weight: 700; color: #334155; font-size: 15px;
}
.nav-links .current { background: var(--gc-primary); color: #fff; border-color: var(--gc-primary); }
.nav-links a:hover { background: #f1f5f9; text-decoration: none; }

/* ── Accessibility ─────────────────────────────────────────────────── */
.screen-reader-text { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.skip-link:focus {
  left: 12px; top: 12px; z-index: 9999; background: var(--gc-primary); color: #fff;
  padding: 10px 16px; border-radius: 8px; width: auto; height: auto; clip: auto; position: fixed;
}
*:focus-visible { outline: 3px solid var(--gc-primary); outline-offset: 3px; border-radius: 4px; }

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .gc-header-center .gc-header-inner,.gc-header-split .gc-header-inner { grid-template-columns: 1fr auto; }
  .gc-header-center-nav,.gc-header-split .gc-primary-nav-left,.gc-header-split .gc-primary-nav-right { display: none; }
}
@media (max-width: 900px) {
  .gc-primary-nav,.gc-header-cta { display: none; }
  .gc-menu-toggle { display: flex; }
  .gc-hero-grid,.gc-split,.gc-content-wrap,.gc-demo-page-hero-grid { grid-template-columns: 1fr; }
  .gc-hero { padding: 64px 0; min-height: 0; }
  .gc-hero-media img { max-height: clamp(220px, 38vh, 380px); }
  .gc-hero-bg { filter: blur(16px); transform: scale(1.08); opacity: .78; }
  .gc-hero-bg-overlay { background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78) 48%, rgba(15,23,42,.40)); }
  .gc-section { padding: 60px 0; }
  .gc-grid-3,.gc-grid-4 { grid-template-columns: 1fr 1fr; }
  .gc-footer-grid { grid-template-columns: 1fr 1fr; }
  .gc-footer > .gc-footer-split-layout,.gc-footer .gc-footer-columns { grid-template-columns: 1fr; }
  .gc-property-search { grid-template-columns: 1fr; }
  .gc-magazine-layout { grid-template-columns: 1fr 1fr; }
  .gc-post-horizontal { grid-template-columns: 1fr; }
  .gc-post-horizontal .gc-card-media { aspect-ratio: 16/9; border-radius: 16px 16px 0 0; }
  .gc-post-horizontal .gc-card-media img { height: 100%; border-radius: 16px 16px 0 0; }
}
@media (max-width: 620px) {
  .gc-topbar { display: none; }
  .gc-hero { padding: 52px 0; }
  .gc-hero p { font-size: 17px; }
  .gc-hero-bg { filter: blur(14px); transform: scale(1.1); opacity: .72; }
  .gc-hero-bg-overlay { background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.82) 52%, rgba(15,23,42,.35)); }
  .gc-grid-2,.gc-grid-3,.gc-grid-4,.gc-footer-grid,.gc-magazine-layout { grid-template-columns: 1fr; }
  .gc-banner { padding: 36px 24px; }
  .gc-section-head h2 { font-size: 26px; }
}

/* Hero slider controls */
.gc-slider-arrow {
  position: absolute; top: 50%; z-index: 5; transform: translateY(-50%);
  width: 44px; height: 44px; border: 0; border-radius: 999px;
  background: rgba(255,255,255,.92); color: var(--gc-dark); cursor: pointer;
  box-shadow: 0 12px 30px rgba(15,23,42,.18); font-size: 30px; line-height: 1;
}
.gc-slider-prev { left: max(18px, calc((100vw - var(--gc-site-width)) / 2)); }
.gc-slider-next { right: max(18px, calc((100vw - var(--gc-site-width)) / 2)); }
.gc-slider-arrow:hover,.gc-slider-arrow:focus { background: #fff; outline: 2px solid var(--gc-primary); outline-offset: 2px; }
.gc-slider-dots { position: absolute; z-index: 5; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; gap: 8px; }
.gc-slider-dot { width: 10px; height: 10px; border: 0; border-radius: 999px; background: rgba(15,23,42,.25); cursor: pointer; padding: 0; }
.gc-slider-dot.is-active { width: 28px; background: var(--gc-primary); }
.gc-archive-grid { margin-top: 28px; }
.gc-empty-state { margin-top: 28px; text-align: center; }

@media (max-width: 782px) {
  .gc-slider-arrow { display: none; }
  .gc-slider-dots { bottom: 12px; }
}

/* Search overlay */
.gc-search-overlay {
  position: fixed; inset: 0; z-index: 240; display: none;
  align-items: center; justify-content: center; padding: 24px;
  background: rgba(15,23,42,.68); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.gc-search-overlay.open { display: flex; }
.gc-search-panel {
  width: min(680px, 100%); background: #fff; border-radius: 28px; padding: 36px;
  box-shadow: 0 30px 90px rgba(0,0,0,.28); position: relative;
}
.gc-search-panel h2 { margin: 0 0 18px; font-size: clamp(26px, 4vw, 42px); }
.gc-search-panel .search-form { display: flex; gap: 10px; }
.gc-search-panel input[type="search"] { flex: 1; min-width: 0; border: 1px solid #dbe2ea; border-radius: 999px; padding: 13px 18px; font-size: 16px; }
.gc-search-panel .search-submit { border: 0; border-radius: 999px; padding: 0 24px; background: var(--gc-primary); color: #fff; font-weight: 800; cursor: pointer; }
.gc-search-close {
  position: absolute; top: 16px; right: 18px; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid #e2e8f0; background: #f8fafc; color: var(--gc-dark); font-size: 26px; line-height: 1; cursor: pointer;
}
body.gc-mobile-drawer-left .gc-mobile-drawer { inset: 0 auto 0 0; transform: translateX(-105%); box-shadow: 20px 0 60px rgba(15,23,42,.20); }
body.gc-mobile-drawer-left .gc-mobile-drawer.open { transform: none; }
@media (max-width: 640px) {
  .gc-search-panel { padding: 28px 20px 22px; border-radius: 22px; }
  .gc-search-panel .search-form { flex-direction: column; }
  .gc-search-panel .search-submit { min-height: 46px; }
}

/* Account/Login links */
.gc-account-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: .875rem; }
.gc-account-link a,
.gc-account-login { color: var(--gc-dark); text-decoration: none; }
.gc-account-login,
.gc-account-logout,
.gc-account-dashboard { border: 1px solid rgba(15, 23, 42, .12); border-radius: 999px; padding: 9px 14px; background: #fff; line-height: 1; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.gc-account-login:hover,
.gc-account-logout:hover,
.gc-account-dashboard:hover { transform: translateY(-1px); border-color: rgba(91, 92, 246, .35); box-shadow: 0 10px 24px rgba(15, 23, 42, .08); }
.gc-account-logout { color: var(--gc-primary); }
.gc-mobile-account { margin-top: 22px; padding-top: 18px; border-top: 1px solid #e2e8f0; }
.gc-mobile-account:empty { display: none; }
.gc-mobile-account .gc-account-link { display: grid; gap: 10px; }
.gc-mobile-account .gc-account-login,
.gc-mobile-account .gc-account-dashboard,
.gc-mobile-account .gc-account-logout { display: block; text-align: center; padding: 13px 16px; }
@media (max-width: 860px) {
  .gc-header-actions > .gc-account-link,
  .gc-header-actions > .gc-account-login { display: none; }
}

/* Home shortcode cards: keep media INSIDE each padded card, never bleeding into neighbouring cards. */
.home .gc-shortcode-grid .gc-demo-item-card,
.front-page .gc-shortcode-grid .gc-demo-item-card,
.gc-shortcode-grid .gc-demo-item-card {
  padding: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.home .gc-shortcode-grid .gc-demo-item-card .gc-card-media,
.front-page .gc-shortcode-grid .gc-demo-item-card .gc-card-media,
.gc-shortcode-grid .gc-demo-item-card .gc-card-media {
  display: block;
  margin: 0 0 20px;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px;
  background: #f1f5f9;
}
.home .gc-shortcode-grid .gc-demo-item-card .gc-card-media img,
.front-page .gc-shortcode-grid .gc-demo-item-card .gc-card-media img,
.gc-shortcode-grid .gc-demo-item-card .gc-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}
.home .gc-shortcode-grid .gc-demo-item-card .gc-card-body,
.front-page .gc-shortcode-grid .gc-demo-item-card .gc-card-body,
.gc-shortcode-grid .gc-demo-item-card .gc-card-body {
  padding: 0;
}
@media (max-width: 620px) {
  .home .gc-shortcode-grid .gc-demo-item-card,
  .front-page .gc-shortcode-grid .gc-demo-item-card,
  .gc-shortcode-grid .gc-demo-item-card { padding: 22px; }
  .home .gc-shortcode-grid .gc-demo-item-card .gc-card-media,
  .front-page .gc-shortcode-grid .gc-demo-item-card .gc-card-media,
  .gc-shortcode-grid .gc-demo-item-card .gc-card-media { aspect-ratio: 4 / 3; }
}


/* Layout consistency: sidebars stack below content on tablet/mobile and never leave a blank column. */
@media (max-width: 900px) {
  .gc-content-wrap,
  .gc-sidebar-left .gc-content-wrap,
  .gc-sidebar-none .gc-content-wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .gc-sidebar-left .gc-content-wrap > .gc-sidebar { order: 2; }
  .gc-content-wrap > main { order: 1; }
  .gc-sidebar { order: 2; width: 100%; }
}

@media (max-width: 620px) {
  .gc-content-wrap { gap: 24px; }
  .gc-full-content { max-width: 100%; }
}


/* Homepage Builder shortcode/embed sections */
.gc-shortcode-section {
  position: relative;
}
.gc-shortcode-section-white {
  background: #fff;
}
.gc-shortcode-section-light {
  background: #f8fafc;
}
.gc-shortcode-section-dark {
  background: #0f172a;
  color: #fff;
}
.gc-shortcode-spacing-small {
  padding-top: 42px;
  padding-bottom: 42px;
}
.gc-shortcode-spacing-none {
  padding-top: 0;
  padding-bottom: 0;
}
.gc-shortcode-full {
  width: 100%;
  max-width: none;
  margin: 0;
}
.gc-shortcode-output {
  width: 100%;
}
.gc-shortcode-output > *:first-child {
  margin-top: 0;
}
.gc-shortcode-output > *:last-child {
  margin-bottom: 0;
}
.gc-shortcode-output iframe,
.gc-shortcode-output embed,
.gc-shortcode-output object,
.gc-shortcode-output img,
.gc-shortcode-output video {
  max-width: 100%;
}
.gc-shortcode-output img,
.gc-shortcode-output video {
  height: auto;
}
@media (max-width: 620px) {
  .gc-shortcode-spacing-small {
    padding-top: 28px;
    padding-bottom: 28px;
  }
}

/* ── Global layout option controls ─────────────────────────────────── */
.gc-btn,a.gc-btn,button.gc-btn,
.gc-account-dashboard,
.gc-primary-nav a,
.gc-menu-toggle,
.gc-search-panel input[type="search"],
.gc-search-panel .search-submit { border-radius: var(--gc-button-radius, 999px); }

.gc-card,
.gc-sidebar,
.gc-author,
.gc-banner,
.gc-search-panel { border-radius: var(--gc-card-radius, 24px); }

.gc-single .gc-narrow,
.gc-single-narrow .gc-container.gc-narrow { max-width: var(--gc-single-post-width, 860px); }

.gc-page-title { margin: 0 0 28px; }
.gc-page-title h1 { font-size: clamp(34px, 5vw, 58px); margin: 0; }
/* BUG FIX: these classes are also body classes, so the bare selectors used to match the <body> element and break text alignment / padding / background across the whole page. Require both classes on the same element so only the page-title <header> is affected. */
.gc-page-title.gc-page-title-centered { text-align: center; }
.gc-page-title.gc-page-title-left { text-align: left; }
.gc-page-title.gc-page-title-boxed {
  padding: clamp(28px, 5vw, 54px);
  border-radius: var(--gc-card-radius, 24px);
  background: radial-gradient(circle at top right, rgba(91,92,246,.14), transparent 34%), var(--gc-light);
  border: 1px solid #e2e8f0;
  text-align: center;
}
.gc-page-title-hidden .gc-page-title { display: none; }
.gc-page-title-left .gc-section-head,
.gc-page-title-left .gc-blog-archive .gc-section-head { text-align: left; }
.gc-page-title-left .gc-section-head p,
.gc-page-title-left .gc-section-head-desc { margin-left: 0; margin-right: 0; }
.gc-page-title-boxed .gc-blog-archive .gc-section-head {
  padding: clamp(28px, 5vw, 54px);
  border-radius: var(--gc-card-radius, 24px);
  background: radial-gradient(circle at top right, rgba(91,92,246,.14), transparent 34%), var(--gc-light);
  border: 1px solid #e2e8f0;
}
.gc-page-title-hidden .gc-blog-archive .gc-section-head { display: none; }

.gc-blog-card-border .gc-post-card { box-shadow: none; border-width: 1px; }
.gc-blog-card-flat .gc-post-card { box-shadow: none; border-color: transparent; background: var(--gc-light); }
.gc-blog-card-compact .gc-post-card { padding: 18px; box-shadow: 0 2px 12px rgba(15,23,42,.05); }
.gc-blog-card-compact .gc-card-title { font-size: 19px; }
.gc-blog-card-compact .gc-card-media { margin-bottom: 14px; }

@media (max-width: 700px) {
  .gc-page-title.gc-page-title-boxed { padding: 24px; }
  .gc-page-title h1 { font-size: 32px; }
}

/* Header/Footer builder-lite controls v1.5.9 */
.gc-header-contact { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 12px; line-height: 1.2; }
.gc-header-contact a { color: #475569; font-weight: 800; white-space: nowrap; }
.gc-header-contact a:hover { color: var(--gc-primary); text-decoration: none; }
.gc-topbar-right { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.gc-topbar-contact { font-weight: 700; }
.gc-header-cta-outline { background: transparent !important; color: var(--gc-primary) !important; border-color: var(--gc-primary) !important; box-shadow: none !important; }
.gc-header-cta-outline:hover { background: var(--gc-primary) !important; color: #fff !important; }
.gc-header-cta-text { background: transparent !important; color: var(--gc-primary) !important; border-color: transparent !important; box-shadow: none !important; padding-inline: 8px; }
.gc-header-cta-text:hover { background: rgba(91,92,246,.08) !important; transform: none; }
.gc-mobile-drawer-cta { margin-top: auto; padding-top: 22px; display: grid; gap: 14px; }
.gc-mobile-drawer-cta .gc-btn { width: 100%; }
.gc-mobile-contact { display: grid; gap: 8px; padding-top: 4px; }
.gc-mobile-contact a { padding: 0; color: #475569; font-size: .95rem; font-weight: 800; }
/* Transparent home header: header sits over the hero. Offsets are driven by
   variables so disabling the topbar option doesn't leave an empty gap above
   the header. :has(.gc-topbar) detects topbar presence, since the topbar
   markup is only rendered when the top_bar option is on. */
body.gc-transparent-home-header { --gc-topbar-h: 0px; --gc-admin-bar-h: 0px; }
body.gc-transparent-home-header:has(.gc-topbar) { --gc-topbar-h: 34px; }
body.gc-transparent-home-header.admin-bar { --gc-admin-bar-h: 32px; }
/* Topbar uses position:absolute with no positioned ancestor, so its origin is the viewport, not the body. Offset by admin-bar height so the topbar isn't hidden behind WP's admin bar. */
body.gc-transparent-home-header .gc-topbar { position: absolute; top: var(--gc-admin-bar-h); left: 0; right: 0; z-index: 95; background: rgba(15,23,42,.68); }
body.gc-transparent-home-header .gc-site-header.is-transparent-home { position: absolute; top: calc(var(--gc-topbar-h) + var(--gc-admin-bar-h)); left: 0; right: 0; background: rgba(255,255,255,.10); box-shadow: none; color: #fff; }
body.gc-transparent-home-header .gc-site-header.is-transparent-home .gc-primary-nav a,
body.gc-transparent-home-header .gc-site-header.is-transparent-home .gc-logo-text,
body.gc-transparent-home-header .gc-site-header.is-transparent-home .gc-header-contact a { color: #fff; }
body.gc-transparent-home-header .gc-site-header.is-transparent-home.scrolled { position: fixed; top: var(--gc-admin-bar-h); background: rgba(255,255,255,.94); box-shadow: 0 8px 30px rgba(15,23,42,.12); color: var(--gc-dark); }
body.gc-transparent-home-header .gc-site-header.is-transparent-home.scrolled .gc-primary-nav a,
body.gc-transparent-home-header .gc-site-header.is-transparent-home.scrolled .gc-logo-text,
body.gc-transparent-home-header .gc-site-header.is-transparent-home.scrolled .gc-header-contact a { color: #334155; }
/* Hero is in normal flow inside <body>, and WP already pushes the body down by admin-bar height. So the hero padding only needs to clear the topbar + header heights, not admin-bar. */
body.gc-transparent-home-header .site-content .gc-hero:first-child { padding-top: calc(var(--gc-topbar-h) + 118px); }

.gc-footer-newsletter { background: linear-gradient(135deg, var(--gc-primary), var(--gc-secondary)); color: #fff; padding: 44px 0; }
.gc-footer-newsletter-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr); gap: 32px; align-items: center; }
.gc-footer-newsletter h2 { color: #fff; margin-bottom: 10px; font-size: clamp(24px, 4vw, 40px); }
.gc-footer-newsletter p { color: rgba(255,255,255,.86); margin: 0; }
.gc-footer-newsletter-form form { display: flex; gap: 10px; background: rgba(255,255,255,.14); padding: 8px; border-radius: 999px; }
.gc-footer-newsletter-form input[type="email"] { flex: 1; min-width: 0; border: 0; border-radius: 999px; padding: 12px 16px; }
.gc-footer-newsletter-form .gc-btn { box-shadow: none; background: #fff; color: var(--gc-primary) !important; }
.gc-footer-style-dark { background: #0f172a; color: #94a3b8; }
.gc-footer-style-light { background: #f8fafc; color: #475569; border-top: 1px solid #e2e8f0; }
.gc-footer-style-brand { background: radial-gradient(circle at top left, color-mix(in srgb, var(--gc-primary), white 18%), transparent 42%), #0f172a; color: #cbd5e1; }
.gc-footer-style-dark h2,.gc-footer-style-dark h3,.gc-footer-style-brand h2,.gc-footer-style-brand h3 { color: #fff; }
.gc-footer-style-light h2,.gc-footer-style-light h3 { color: var(--gc-dark); }
.gc-footer-brand-title { margin-bottom: 12px; }
.gc-footer-about { max-width: 360px; color: inherit; opacity: .88; }
.gc-footer-contact { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.gc-footer-contact li { display: grid; gap: 2px; }
.gc-footer-contact span { color: inherit; opacity: .66; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.gc-footer-contact a,.gc-footer-contact strong { color: inherit; font-weight: 800; }
.gc-footer-contact a:hover { color: #fff; }
.gc-footer-style-light .gc-footer-contact a:hover { color: var(--gc-primary); }
.gc-footer-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.gc-footer-social a { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.10); color: inherit; font-weight: 800; font-size: 13px; }
.gc-footer-style-light .gc-footer-social a { background: #fff; border: 1px solid #e2e8f0; }
.gc-footer-social a:hover { background: var(--gc-primary); color: #fff; text-decoration: none; }
.gc-footer-bottom { border-top: 1px solid rgba(148,163,184,.18); }
.gc-back-to-top { position: fixed; right: 22px; bottom: 22px; z-index: 120; width: 44px; height: 44px; border: 0; border-radius: 999px; background: var(--gc-primary); color: #fff; font-size: 20px; font-weight: 900; cursor: pointer; box-shadow: 0 10px 30px rgba(15,23,42,.22); opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease; }
.gc-back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.gc-back-to-top:hover { transform: translateY(-2px); }

@media (max-width: 1100px) {
  .gc-header-contact { display: none; }
}
@media (max-width: 900px) {
  .gc-footer-newsletter-inner { grid-template-columns: 1fr; }
}
@media (max-width: 782px) {
  /* WP's admin bar becomes 46px at this breakpoint, not before. */
  body.gc-transparent-home-header.admin-bar { --gc-admin-bar-h: 46px; }
}
@media (max-width: 620px) {
  /* Topbar is display:none here (see line 426), so its visual height is 0 even though the element still exists in the DOM. Specificity must match the :has(.gc-topbar) rule above, so apply the override to both the with-topbar and the without-topbar selectors. */
  body.gc-transparent-home-header,
  body.gc-transparent-home-header:has(.gc-topbar) { --gc-topbar-h: 0px; }
  body.gc-transparent-home-header .site-content .gc-hero:first-child { padding-top: 96px; }
  .gc-topbar-right { display: none; }
  .gc-footer-newsletter-form form { border-radius: 22px; flex-direction: column; }
  .gc-footer-newsletter-form input[type="email"], .gc-footer-newsletter-form .gc-btn { width: 100%; }
  .gc-back-to-top { right: 14px; bottom: 14px; }
}

/* ── Complete Dark Mode ─────────────────────────────────────────────── */
:root {
  color-scheme: light;
  --gc-page-bg: #fff;
  --gc-surface: #fff;
  --gc-surface-2: #f8fafc;
  --gc-text: #334155;
  --gc-heading: var(--gc-dark);
  --gc-muted: #64748b;
  --gc-border: #e2e8f0;
  --gc-header-bg: rgba(255,255,255,.92);
  --gc-header-shadow: rgba(15,23,42,.08);
  --gc-drawer-bg: #fff;
  --gc-hero-fallback: radial-gradient(circle at top right, #dbeafe, transparent 38%), linear-gradient(180deg, #fff, #f8fafc);
}

body.gc-color-scheme-dark,
body.gc-color-scheme-system.gc-system-dark-ready {
  color-scheme: dark;
  --gc-page-bg: var(--gc-dark-bg);
  --gc-surface: var(--gc-dark-surface);
  --gc-surface-2: var(--gc-dark-surface-2);
  --gc-text: var(--gc-dark-muted);
  --gc-heading: var(--gc-dark-text);
  --gc-muted: var(--gc-dark-muted);
  --gc-border: var(--gc-dark-border);
  --gc-header-bg: color-mix(in srgb, var(--gc-dark-header), transparent 8%);
  --gc-header-shadow: rgba(0,0,0,.45);
  --gc-drawer-bg: var(--gc-dark-header);
  --gc-hero-fallback: radial-gradient(circle at top right, color-mix(in srgb, var(--gc-primary), transparent 72%), transparent 38%), linear-gradient(180deg, var(--gc-dark-bg), var(--gc-dark-surface));
}

body.gc-color-scheme-dark,
body.gc-color-scheme-system.gc-system-dark-ready {
  background: var(--gc-page-bg);
  color: var(--gc-text);
}
body.gc-color-scheme-dark h1,
body.gc-color-scheme-dark h2,
body.gc-color-scheme-dark h3,
body.gc-color-scheme-dark h4,
body.gc-color-scheme-system.gc-system-dark-ready h1,
body.gc-color-scheme-system.gc-system-dark-ready h2,
body.gc-color-scheme-system.gc-system-dark-ready h3,
body.gc-color-scheme-system.gc-system-dark-ready h4 { color: var(--gc-heading); }

body.gc-color-scheme-dark .gc-site-header,
body.gc-color-scheme-system.gc-system-dark-ready .gc-site-header { background: var(--gc-header-bg); box-shadow: 0 1px 0 var(--gc-header-shadow); }
body.gc-color-scheme-dark .gc-site-header.scrolled,
body.gc-color-scheme-system.gc-system-dark-ready .gc-site-header.scrolled { box-shadow: 0 12px 36px rgba(0,0,0,.38); }
body.gc-color-scheme-dark .gc-logo-text,
body.gc-color-scheme-dark .gc-primary-nav a,
body.gc-color-scheme-dark .gc-mobile-drawer a,
body.gc-color-scheme-dark .gc-drawer-close,
body.gc-color-scheme-system.gc-system-dark-ready .gc-logo-text,
body.gc-color-scheme-system.gc-system-dark-ready .gc-primary-nav a,
body.gc-color-scheme-system.gc-system-dark-ready .gc-mobile-drawer a,
body.gc-color-scheme-system.gc-system-dark-ready .gc-drawer-close { color: var(--gc-heading); }
body.gc-color-scheme-dark .gc-primary-nav a:hover,
body.gc-color-scheme-dark .gc-primary-nav a[aria-current="page"],
body.gc-color-scheme-system.gc-system-dark-ready .gc-primary-nav a:hover,
body.gc-color-scheme-system.gc-system-dark-ready .gc-primary-nav a[aria-current="page"] { background: rgba(255,255,255,.08); color: var(--gc-primary); }
body.gc-color-scheme-dark .gc-menu-toggle,
body.gc-color-scheme-dark .gc-icon-btn,
body.gc-color-scheme-dark .gc-drawer-close,
body.gc-color-scheme-system.gc-system-dark-ready .gc-menu-toggle,
body.gc-color-scheme-system.gc-system-dark-ready .gc-icon-btn,
body.gc-color-scheme-system.gc-system-dark-ready .gc-drawer-close { background: var(--gc-surface-2); border-color: var(--gc-border); color: var(--gc-heading); }
body.gc-color-scheme-dark .gc-menu-toggle span,
body.gc-color-scheme-system.gc-system-dark-ready .gc-menu-toggle span { background: var(--gc-heading); }
body.gc-color-scheme-dark .gc-mobile-drawer,
body.gc-color-scheme-system.gc-system-dark-ready .gc-mobile-drawer { background: var(--gc-drawer-bg); box-shadow: -20px 0 60px rgba(0,0,0,.45); }
body.gc-color-scheme-dark.gc-mobile-drawer-left .gc-mobile-drawer,
body.gc-color-scheme-system.gc-system-dark-ready.gc-mobile-drawer-left .gc-mobile-drawer { box-shadow: 20px 0 60px rgba(0,0,0,.45); }
body.gc-color-scheme-dark .gc-mobile-drawer li,
body.gc-color-scheme-system.gc-system-dark-ready .gc-mobile-drawer li { border-color: rgba(255,255,255,.08); }

body.gc-color-scheme-dark .gc-hero,
body.gc-color-scheme-system.gc-system-dark-ready .gc-hero { background: var(--gc-hero-fallback); }
body.gc-color-scheme-dark .gc-hero-bg-overlay,
body.gc-color-scheme-system.gc-system-dark-ready .gc-hero-bg-overlay {
  background: radial-gradient(circle at 80% 20%, rgba(91,92,246,.25), transparent 34%), linear-gradient(110deg, rgba(2,6,23,.82) 0%, rgba(15,23,42,.72) 42%, rgba(2,6,23,.76) 100%);
}
body.gc-color-scheme-dark .gc-hero p,
body.gc-color-scheme-dark .gc-section-head p,
body.gc-color-scheme-dark .gc-card p,
body.gc-color-scheme-system.gc-system-dark-ready .gc-hero p,
body.gc-color-scheme-system.gc-system-dark-ready .gc-section-head p,
body.gc-color-scheme-system.gc-system-dark-ready .gc-card p { color: var(--gc-muted); }

body.gc-color-scheme-dark .gc-section,
body.gc-color-scheme-system.gc-system-dark-ready .gc-section { background-color: var(--gc-page-bg); }
body.gc-color-scheme-dark .gc-section-light,
body.gc-color-scheme-system.gc-system-dark-ready .gc-section-light { background: var(--gc-surface-2); }
body.gc-color-scheme-dark .gc-section-dark,
body.gc-color-scheme-system.gc-system-dark-ready .gc-section-dark { background: #020617; color: var(--gc-muted); }
body.gc-color-scheme-dark .gc-card,
body.gc-color-scheme-system.gc-system-dark-ready .gc-card { background: var(--gc-surface); border-color: var(--gc-border); box-shadow: 0 12px 36px rgba(0,0,0,.20); }
body.gc-color-scheme-dark .gc-card:hover,
body.gc-color-scheme-system.gc-system-dark-ready .gc-card:hover { box-shadow: 0 18px 52px rgba(0,0,0,.35); }
body.gc-color-scheme-dark .gc-card-media,
body.gc-color-scheme-dark .gc-sidebar,
body.gc-color-scheme-dark .gc-process-step,
body.gc-color-scheme-dark .gc-property-search,
body.gc-color-scheme-system.gc-system-dark-ready .gc-card-media,
body.gc-color-scheme-system.gc-system-dark-ready .gc-sidebar,
body.gc-color-scheme-system.gc-system-dark-ready .gc-process-step,
body.gc-color-scheme-system.gc-system-dark-ready .gc-property-search { background: var(--gc-surface-2); border-color: var(--gc-border); }
body.gc-color-scheme-dark .gc-logos b,
body.gc-color-scheme-system.gc-system-dark-ready .gc-logos b { background: var(--gc-surface); border-color: var(--gc-border); color: var(--gc-muted); }
body.gc-color-scheme-dark input,
body.gc-color-scheme-dark select,
body.gc-color-scheme-dark textarea,
body.gc-color-scheme-system.gc-system-dark-ready input,
body.gc-color-scheme-system.gc-system-dark-ready select,
body.gc-color-scheme-system.gc-system-dark-ready textarea { background: var(--gc-surface); border-color: var(--gc-border); color: var(--gc-heading); }
body.gc-color-scheme-dark .gc-footer,
body.gc-color-scheme-system.gc-system-dark-ready .gc-footer { background: var(--gc-dark-footer); }
body.gc-color-scheme-dark .gc-search-panel,
body.gc-color-scheme-system.gc-system-dark-ready .gc-search-panel { background: var(--gc-surface); color: var(--gc-text); }
body.gc-color-scheme-dark .gc-search-panel-close,
body.gc-color-scheme-system.gc-system-dark-ready .gc-search-panel-close { background: var(--gc-surface-2); border-color: var(--gc-border); color: var(--gc-heading); }

@media (prefers-color-scheme: dark) {
  body.gc-color-scheme-system {
    color-scheme: dark;
    --gc-page-bg: var(--gc-dark-bg);
    --gc-surface: var(--gc-dark-surface);
    --gc-surface-2: var(--gc-dark-surface-2);
    --gc-text: var(--gc-dark-muted);
    --gc-heading: var(--gc-dark-text);
    --gc-muted: var(--gc-dark-muted);
    --gc-border: var(--gc-dark-border);
    --gc-header-bg: color-mix(in srgb, var(--gc-dark-header), transparent 8%);
    --gc-header-shadow: rgba(0,0,0,.45);
    --gc-drawer-bg: var(--gc-dark-header);
    --gc-hero-fallback: radial-gradient(circle at top right, color-mix(in srgb, var(--gc-primary), transparent 72%), transparent 38%), linear-gradient(180deg, var(--gc-dark-bg), var(--gc-dark-surface));
    background: var(--gc-page-bg);
    color: var(--gc-text);
  }
  body.gc-color-scheme-system h1,
  body.gc-color-scheme-system h2,
  body.gc-color-scheme-system h3,
  body.gc-color-scheme-system h4 { color: var(--gc-heading); }
  body.gc-color-scheme-system .gc-site-header { background: var(--gc-header-bg); box-shadow: 0 1px 0 var(--gc-header-shadow); }
  body.gc-color-scheme-system .gc-logo-text,
  body.gc-color-scheme-system .gc-primary-nav a,
  body.gc-color-scheme-system .gc-mobile-drawer a,
  body.gc-color-scheme-system .gc-drawer-close { color: var(--gc-heading); }
  body.gc-color-scheme-system .gc-primary-nav a:hover,
  body.gc-color-scheme-system .gc-primary-nav a[aria-current="page"] { background: rgba(255,255,255,.08); color: var(--gc-primary); }
  body.gc-color-scheme-system .gc-menu-toggle,
  body.gc-color-scheme-system .gc-icon-btn,
  body.gc-color-scheme-system .gc-drawer-close { background: var(--gc-surface-2); border-color: var(--gc-border); color: var(--gc-heading); }
  body.gc-color-scheme-system .gc-menu-toggle span { background: var(--gc-heading); }
  body.gc-color-scheme-system .gc-mobile-drawer { background: var(--gc-drawer-bg); box-shadow: -20px 0 60px rgba(0,0,0,.45); }
  body.gc-color-scheme-system.gc-mobile-drawer-left .gc-mobile-drawer { box-shadow: 20px 0 60px rgba(0,0,0,.45); }
  body.gc-color-scheme-system .gc-mobile-drawer li { border-color: rgba(255,255,255,.08); }
  body.gc-color-scheme-system .gc-hero { background: var(--gc-hero-fallback); }
  body.gc-color-scheme-system .gc-hero-bg-overlay { background: radial-gradient(circle at 80% 20%, rgba(91,92,246,.25), transparent 34%), linear-gradient(110deg, rgba(2,6,23,.82) 0%, rgba(15,23,42,.72) 42%, rgba(2,6,23,.76) 100%); }
  body.gc-color-scheme-system .gc-hero p,
  body.gc-color-scheme-system .gc-section-head p,
  body.gc-color-scheme-system .gc-card p { color: var(--gc-muted); }
  body.gc-color-scheme-system .gc-section { background-color: var(--gc-page-bg); }
  body.gc-color-scheme-system .gc-section-light { background: var(--gc-surface-2); }
  body.gc-color-scheme-system .gc-section-dark { background: #020617; color: var(--gc-muted); }
  body.gc-color-scheme-system .gc-card { background: var(--gc-surface); border-color: var(--gc-border); box-shadow: 0 12px 36px rgba(0,0,0,.20); }
  body.gc-color-scheme-system .gc-card:hover { box-shadow: 0 18px 52px rgba(0,0,0,.35); }
  body.gc-color-scheme-system .gc-card-media,
  body.gc-color-scheme-system .gc-sidebar,
  body.gc-color-scheme-system .gc-process-step,
  body.gc-color-scheme-system .gc-property-search { background: var(--gc-surface-2); border-color: var(--gc-border); }
  body.gc-color-scheme-system .gc-logos b { background: var(--gc-surface); border-color: var(--gc-border); color: var(--gc-muted); }
  body.gc-color-scheme-system input,
  body.gc-color-scheme-system select,
  body.gc-color-scheme-system textarea { background: var(--gc-surface); border-color: var(--gc-border); color: var(--gc-heading); }
  body.gc-color-scheme-system .gc-footer { background: var(--gc-dark-footer); }
  body.gc-color-scheme-system .gc-search-panel { background: var(--gc-surface); color: var(--gc-text); }
  body.gc-color-scheme-system .gc-search-panel-close { background: var(--gc-surface-2); border-color: var(--gc-border); color: var(--gc-heading); }
}


/* Multilingual / language switcher support v1.5.9 */
.gc-language-switcher{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:700}
.gc-language-switcher ul{display:flex;align-items:center;gap:8px;list-style:none;margin:0;padding:0}
.gc-language-switcher a{text-decoration:none;color:inherit;opacity:.86}
.gc-language-switcher a:hover,.gc-language-switcher .current-lang a{opacity:1;color:var(--gc-primary,#5b5cf6)}
.gc-mobile-drawer .gc-language-switcher{display:flex;margin-top:14px}
.gc-footer .gc-language-switcher{margin-inline-start:auto}
@media (max-width: 780px){.gc-header-actions>.gc-language-switcher{display:none}.gc-footer .gc-language-switcher{margin-inline-start:0;margin-top:10px}}

/* Editable demo page sections */
.gc-container-fluid{width:min(100% - 32px, 1440px);margin-inline:auto}
.gc-demo-page-intro{max-width:760px;margin:0 auto 28px;text-align:center;color:var(--gc-muted,#64748b)}
.gc-demo-page-shortcode > .gc-grid,.gc-demo-page-shortcode .gc-shortcode-grid{margin-top:0}
.gc-demo-banner-simple{background:var(--gc-surface,#fff)!important;color:inherit;border:1px solid var(--gc-border,#e2e8f0)}
.gc-demo-banner-simple .gc-btn-outline{border-color:currentColor;color:inherit}
@media (max-width: 700px){.gc-container-fluid{width:min(100% - 24px, 1440px)}.gc-demo-page-intro{text-align:left}.gc-demo-page-primary .gc-section-head{text-align:left}}

/* Homepage Builder section controls */
.gc-section-bg-white { background: #fff; }
.gc-section-bg-light { background: var(--gc-light); }
.gc-section-bg-dark { background: var(--gc-dark); }
.gc-section-bg-brand { background: linear-gradient(135deg, var(--gc-primary), var(--gc-secondary)); }
.gc-section-space-top-none { padding-top: 0 !important; }
.gc-section-space-top-small { padding-top: 48px !important; }
.gc-section-space-top-normal { padding-top: 88px !important; }
.gc-section-space-top-large { padding-top: 120px !important; }
.gc-section-space-bottom-none { padding-bottom: 0 !important; }
.gc-section-space-bottom-small { padding-bottom: 48px !important; }
.gc-section-space-bottom-normal { padding-bottom: 88px !important; }
.gc-section-space-bottom-large { padding-bottom: 120px !important; }
.gc-hero.gc-section-space-top-none { padding-top: 0 !important; }
.gc-hero.gc-section-space-top-small { padding-top: 56px !important; }
.gc-hero.gc-section-space-top-normal { padding-top: 88px !important; }
.gc-hero.gc-section-space-top-large { padding-top: 124px !important; }
.gc-hero.gc-section-space-bottom-none { padding-bottom: 0 !important; }
.gc-hero.gc-section-space-bottom-small { padding-bottom: 56px !important; }
.gc-hero.gc-section-space-bottom-normal { padding-bottom: 88px !important; }
.gc-hero.gc-section-space-bottom-large { padding-bottom: 124px !important; }
.gc-container-full { width: 100%; max-width: none; padding-left: 0; padding-right: 0; }
.gc-section-width-full .gc-section-head { padding-left: 24px; padding-right: 24px; }
.gc-empty-state { border: 1px dashed var(--gc-border); background: rgba(255,255,255,.72); }
.gc-empty-state h3 { margin-top: 0; }
@media (min-width: 1025px) { .gc-hide-desktop { display: none !important; } }
@media (min-width: 701px) and (max-width: 1024px) { .gc-hide-tablet { display: none !important; } }
@media (max-width: 700px) {
  .gc-hide-mobile { display: none !important; }
  .gc-section-space-top-small { padding-top: 36px !important; }
  .gc-section-space-top-normal { padding-top: 56px !important; }
  .gc-section-space-top-large { padding-top: 72px !important; }
  .gc-section-space-bottom-small { padding-bottom: 36px !important; }
  .gc-section-space-bottom-normal { padding-bottom: 56px !important; }
  .gc-section-space-bottom-large { padding-bottom: 72px !important; }
  .gc-hero.gc-section-space-top-small { padding-top: 44px !important; }
  .gc-hero.gc-section-space-top-normal { padding-top: 64px !important; }
  .gc-hero.gc-section-space-top-large { padding-top: 80px !important; }
  .gc-hero.gc-section-space-bottom-small { padding-bottom: 44px !important; }
  .gc-hero.gc-section-space-bottom-normal { padding-bottom: 64px !important; }
  .gc-hero.gc-section-space-bottom-large { padding-bottom: 80px !important; }
}

/* ── Global grid and card layout controls ─────────────────────────── */
.gc-grid { gap: var(--gc-grid-gap, 24px); }
.gc-archive-grid,.gc-shortcode-grid { align-items: stretch; }
.gc-shortcode-grid > .gc-card,.gc-archive-grid > .gc-card { height: 100%; }
.gc-card { border-radius: var(--gc-card-radius, 24px); }
.gc-card .gc-card-media { border-radius: calc(var(--gc-card-radius, 24px) - 6px); }
.gc-card-style-clean { box-shadow: none; border-color: #e5e7eb; }
.gc-card-style-border { box-shadow: none; border: 1px solid #cbd5e1; }
.gc-card-style-shadow { box-shadow: 0 14px 42px rgba(15,23,42,.08); }
.gc-card-style-compact { padding: 18px; }
.gc-card-style-compact .gc-card-media { margin-bottom: 14px; aspect-ratio: 16/9; }
.gc-card-style-compact .gc-card-title,.gc-card-style-compact h3 { font-size: 19px; }
.gc-card-style-minimal { box-shadow: none; border-color: transparent; background: transparent; padding: 0; }
.gc-card-style-boxed { background: linear-gradient(180deg,#fff,#f8fafc); border-color: #dbe3ef; }
.gc-card-style-image-top { padding: 0; }
.gc-card-style-image-top .gc-card-media { margin: 0; border-radius: var(--gc-card-radius, 24px) var(--gc-card-radius, 24px) 0 0; }
.gc-card-style-image-top .gc-card-body { padding: 24px; }
.gc-card-style-image-left { display: grid; grid-template-columns: minmax(160px, 38%) minmax(0, 1fr); gap: 0; padding: 0; align-items: stretch; }
.gc-card-style-image-left .gc-card-media { margin: 0; height: 100%; min-height: 180px; aspect-ratio: auto; border-radius: var(--gc-card-radius, 24px) 0 0 var(--gc-card-radius, 24px); }
.gc-card-style-image-left .gc-card-body { padding: 24px; }
.gc-shortcode-grid.gc-card-style-image-left,.gc-shortcode-grid.gc-style-image-left { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gc-shortcode-grid.gc-card-style-image-left .gc-card,.gc-shortcode-grid.gc-style-image-left .gc-card { display: grid; grid-template-columns: minmax(140px, 38%) minmax(0, 1fr); padding: 0; }
.gc-shortcode-grid.gc-card-style-image-left .gc-card-media,.gc-shortcode-grid.gc-style-image-left .gc-card-media { margin: 0; min-height: 180px; height: 100%; aspect-ratio: auto; border-radius: var(--gc-card-radius, 24px) 0 0 var(--gc-card-radius, 24px); }
.gc-shortcode-grid.gc-card-style-image-left .gc-card-body,.gc-shortcode-grid.gc-style-image-left .gc-card-body { padding: 24px; }

@media (max-width: 1024px) {
  .gc-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gc-shortcode-grid.gc-card-style-image-left,.gc-shortcode-grid.gc-style-image-left { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .gc-grid-2,.gc-grid-3,.gc-grid-4 { grid-template-columns: 1fr; }
  .gc-card-style-image-left,.gc-shortcode-grid.gc-card-style-image-left .gc-card,.gc-shortcode-grid.gc-style-image-left .gc-card { grid-template-columns: 1fr; }
  .gc-card-style-image-left .gc-card-media,.gc-shortcode-grid.gc-card-style-image-left .gc-card-media,.gc-shortcode-grid.gc-style-image-left .gc-card-media { border-radius: var(--gc-card-radius, 24px) var(--gc-card-radius, 24px) 0 0; min-height: 0; aspect-ratio: 16/9; }
}

/* Footer layout polish */
.gc-footer-grid { align-items: start; }
.gc-footer-cols-2 .gc-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gc-footer-cols-3 .gc-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gc-footer-cols-4 .gc-footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gc-footer-column { min-width: 0; }
.gc-footer-column:empty { display: none; }
.gc-footer-list,
.gc-footer-bottom-menu { list-style: none; margin: 0; padding: 0; }
.gc-footer-list li { margin: 0 0 10px; }
.gc-footer-brand .custom-logo-link { display: inline-flex; align-items: center; }
.gc-footer-brand .custom-logo { max-width: 190px; max-height: 70px; width: auto; height: auto; object-fit: contain; }
.gc-footer:not(.gc-footer-centered) .gc-footer-about { max-width: 360px; margin: 0 0 20px; }
.gc-footer-centered .gc-footer-about { max-width: 680px; margin: 0 auto 24px; }
.gc-footer-centered .gc-footer-brand { flex-direction: column; }
.gc-footer-centered .gc-footer-contact { max-width: 760px; margin: 22px auto 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 26px; }
.gc-footer-centered .gc-footer-contact li { margin: 0; min-width: 150px; }
.gc-footer-centered .gc-footer-social { justify-content: center; margin-top: 24px; }
.gc-footer-split .gc-footer-about { max-width: 520px; }
.gc-footer-split-brand .gc-footer-contact { margin-top: 22px; }
.gc-footer-cta { margin-top: 24px; }
.gc-footer-bottom-nav { margin-inline-start: auto; }
.gc-footer-bottom-menu { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px 18px; }
.gc-footer-bottom-menu li { margin: 0; }
.gc-footer-style-light .gc-footer-brand-title { color: var(--gc-dark); }
.gc-footer-style-light .gc-footer-bottom { border-top-color: #e2e8f0; }
.gc-footer-style-light .gc-footer-social a:hover,
.gc-footer-style-light .gc-footer a:hover { color: var(--gc-primary); }
.gc-footer-style-light .gc-footer-social a:hover { color: #fff; }
.gc-footer-style-brand { position: relative; overflow: hidden; }
.gc-footer-style-brand::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 85% 20%, rgba(255,255,255,.12), transparent 30%); }
.gc-footer-style-brand > * { position: relative; z-index: 1; }

@media (max-width: 900px) {
  .gc-footer-cols-3 .gc-footer-grid,
  .gc-footer-cols-4 .gc-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gc-footer-centered .gc-footer-contact { display: grid; grid-template-columns: 1fr; text-align: center; }
  .gc-footer-bottom .gc-container { align-items: flex-start; flex-direction: column; }
  .gc-footer-bottom-nav { margin-inline-start: 0; }
  .gc-footer-bottom-menu { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .gc-footer { padding-top: 52px; }
  .gc-footer-grid,
  .gc-footer-cols-2 .gc-footer-grid,
  .gc-footer-cols-3 .gc-footer-grid,
  .gc-footer-cols-4 .gc-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  /* BUG FIX: .gc-footer-split is now a layout-name modifier on the <footer> element.
     Target the inner container instead so the footer itself is not turned into a grid. */
  .gc-footer > .gc-footer-split-layout { gap: 34px; }
  .gc-footer .gc-footer-columns { grid-template-columns: 1fr; }
  .gc-footer-centered-inner { max-width: 100%; }
  .gc-footer-centered .gc-footer-menu,
  .gc-footer-centered .menu { gap: 10px 16px; }
}

/* Footer layout deep polish: stable classic columns + split CTA */
.gc-footer { padding-top: 72px; }
/* Keep footer layout containers centered. Do not override .gc-container width. */
.gc-footer .gc-footer-columns { width: 100%; }
.gc-footer > .gc-container.gc-footer-grid,
.gc-footer > .gc-container.gc-footer-split-layout,
.gc-footer > .gc-container.gc-footer-centered-inner {
  width: min(var(--gc-site-width), calc(100% - (var(--gc-container-padding) * 2)));
  margin-left: auto;
  margin-right: auto;
}
.gc-footer-grid { align-items: start; gap: clamp(24px, 3vw, 44px); }
.gc-footer-column { min-width: 0; }
.gc-footer-column > :first-child { margin-top: 0; }
.gc-footer-column h2,
.gc-footer-column h3,
.gc-footer .widget-title { font-size: 15px; line-height: 1.25; margin: 0 0 16px; text-transform: uppercase; letter-spacing: .08em; }
.gc-footer-list,
.gc-footer .menu,
.gc-footer-bottom-menu { list-style: none; margin: 0; padding: 0; }
.gc-footer-list li,
.gc-footer .menu li { margin: 0 0 11px; }
.gc-footer-list a,
.gc-footer .menu a { display: inline-flex; line-height: 1.45; text-decoration: none; }
.gc-footer-contact { margin-top: 0; }
.gc-footer-contact li { margin: 0; padding: 0 0 13px; }
.gc-footer-brand { min-width: 0; }
.gc-footer:not(.gc-footer-centered) .gc-footer-brand .custom-logo,
.gc-footer:not(.gc-footer-centered) .gc-footer-brand .custom-logo-link img { max-width: 190px; max-height: 66px; width: auto; height: auto; object-fit: contain; }
.gc-footer:not(.gc-footer-centered) .gc-footer-about { margin: 12px 0 0; max-width: 34rem; }
.gc-footer-cols-2 .gc-footer-grid { grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr); }
.gc-footer-cols-3 .gc-footer-grid { grid-template-columns: minmax(0, 1.15fr) repeat(2, minmax(180px, .7fr)); }
.gc-footer-cols-4 .gc-footer-grid { grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(160px, .65fr)) minmax(220px, .8fr); }
/* BUG FIX: target the inner split-layout container, not the <footer> element which carries .gc-footer-split as a name modifier. */
.gc-footer > .gc-footer-split-layout { display: grid; grid-template-columns: minmax(280px, .95fr) minmax(0, 1.55fr); gap: clamp(28px, 5vw, 72px); align-items: stretch; }
.gc-footer-split-brand { border: 1px solid rgba(148,163,184,.18); border-radius: 28px; padding: clamp(24px, 3vw, 34px); background: rgba(255,255,255,.055); box-shadow: 0 18px 45px rgba(2,6,23,.12); }
.gc-footer-style-light .gc-footer-split-brand { background: #fff; border-color: #e2e8f0; box-shadow: 0 18px 40px rgba(15,23,42,.06); }
.gc-footer-split-brand .gc-footer-about { max-width: none; }
.gc-footer-split-brand .gc-footer-contact { margin-top: 20px; }
.gc-footer-split-brand .gc-footer-social { margin-top: 20px; }
.gc-footer-cta-panel { margin-top: 24px; padding-top: 22px; border-top: 1px solid rgba(148,163,184,.18); display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.gc-footer-cta-panel span { font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; opacity: .76; }
.gc-footer-cta { margin-top: 0; white-space: nowrap; }
/* The footer element carries .gc-footer-split, and contains an inner .gc-footer-columns div. The descendant combinator is correct here. */
.gc-footer-split .gc-footer-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 3vw, 36px); align-content: start; }
.gc-footer-cols-2 .gc-footer-split .gc-footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gc-footer-cols-3 .gc-footer-split .gc-footer-columns,
.gc-footer-cols-4 .gc-footer-split .gc-footer-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gc-footer-bottom { margin-top: 54px; }
.gc-footer-bottom .gc-container { min-height: 54px; }
.gc-footer-bottom-menu { display: flex; gap: 8px 18px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.gc-footer-bottom-menu li { margin: 0; }


/* Footer alignment fix: prevent full-width grid/split containers from touching viewport edges. */
.gc-footer > .gc-container.gc-footer-grid,
.gc-footer > .gc-container.gc-footer-split-layout {
  box-sizing: border-box;
  max-width: var(--gc-site-width);
}
.gc-footer-split-brand,
.gc-footer-column {
  overflow-wrap: anywhere;
}
.gc-footer-contact strong,
.gc-footer-contact a {
  overflow-wrap: anywhere;
}
@media (min-width: 981px) {
  .gc-footer-split .gc-footer-column:last-child { min-width: 220px; }
}

@media (max-width: 980px) {
  .gc-footer-cols-3 .gc-footer-grid,
  .gc-footer-cols-4 .gc-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* BUG FIX: collapse the inner split-layout grid, not the <footer>. */
  .gc-footer > .gc-footer-split-layout { grid-template-columns: 1fr; }
  .gc-footer-split .gc-footer-columns,
  .gc-footer-cols-2 .gc-footer-split .gc-footer-columns,
  .gc-footer-cols-3 .gc-footer-split .gc-footer-columns,
  .gc-footer-cols-4 .gc-footer-split .gc-footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .gc-footer { padding-top: 48px; }
  .gc-footer-cols-2 .gc-footer-grid,
  .gc-footer-cols-3 .gc-footer-grid,
  .gc-footer-cols-4 .gc-footer-grid,
  .gc-footer-split .gc-footer-columns,
  .gc-footer-cols-2 .gc-footer-split .gc-footer-columns,
  .gc-footer-cols-3 .gc-footer-split .gc-footer-columns,
  .gc-footer-cols-4 .gc-footer-split .gc-footer-columns { grid-template-columns: 1fr; }
  .gc-footer-split-brand { border-radius: 22px; padding: 22px; }
  .gc-footer-cta-panel { align-items: flex-start; flex-direction: column; }
  .gc-footer-cta { width: 100%; justify-content: center; }
  .gc-footer-bottom { margin-top: 34px; }
}


/* Footer layout final consolidation: avoid duplicate split/grid conflicts and force settings to apply. */
.gc-footer {
  overflow: hidden;
  padding: 72px max(20px, var(--gc-container-padding, 24px)) 0;
}
.gc-footer > .gc-container.gc-footer-grid,
.gc-footer > .gc-container.gc-footer-split-layout,
.gc-footer > .gc-container.gc-footer-centered-inner,
.gc-footer-bottom > .gc-container {
  width: 100% !important;
  max-width: var(--gc-site-width, 1180px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
}
.gc-footer > .gc-container.gc-footer-centered-inner {
  max-width: min(760px, var(--gc-site-width, 1180px)) !important;
}
.gc-footer.gc-footer-columns > .gc-footer-grid {
  display: grid;
  align-items: start;
  gap: clamp(28px, 3.5vw, 52px);
}
.gc-footer.gc-footer-cols-2 > .gc-footer-grid { grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr); }
.gc-footer.gc-footer-cols-3 > .gc-footer-grid { grid-template-columns: minmax(0, 1.15fr) repeat(2, minmax(190px, .75fr)); }
.gc-footer.gc-footer-cols-4 > .gc-footer-grid { grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(170px, .7fr)) minmax(230px, .85fr); }
.gc-footer > .gc-footer-split-layout {
  display: grid;
  grid-template-columns: minmax(280px, .95fr) minmax(0, 1.55fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: stretch;
}
.gc-footer > .gc-footer-split-layout .gc-footer-columns {
  display: grid;
  align-content: start;
  gap: clamp(24px, 3vw, 40px);
}
.gc-footer.gc-footer-cols-2 > .gc-footer-split-layout .gc-footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gc-footer.gc-footer-cols-3 > .gc-footer-split-layout .gc-footer-columns,
.gc-footer.gc-footer-cols-4 > .gc-footer-split-layout .gc-footer-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gc-footer-column,
.gc-footer-split-brand { min-width: 0; max-width: 100%; overflow-wrap: break-word; }
.gc-footer-contact strong,
.gc-footer-contact a { overflow-wrap: anywhere; }
.gc-footer-contact strong { display: inline-block; max-width: 100%; }
.gc-footer:not(.gc-footer-centered) .gc-footer-brand { text-align: left; }
.gc-footer:not(.gc-footer-centered) .gc-footer-about { margin-left: 0; margin-right: 0; }
.gc-footer-bottom > .gc-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
@media (max-width: 980px) {
  .gc-footer.gc-footer-cols-3 > .gc-footer-grid,
  .gc-footer.gc-footer-cols-4 > .gc-footer-grid,
  .gc-footer > .gc-footer-split-layout,
  .gc-footer.gc-footer-cols-2 > .gc-footer-split-layout .gc-footer-columns,
  .gc-footer.gc-footer-cols-3 > .gc-footer-split-layout .gc-footer-columns,
  .gc-footer.gc-footer-cols-4 > .gc-footer-split-layout .gc-footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gc-footer > .gc-footer-split-layout { align-items: start; }
}
@media (max-width: 700px) {
  .gc-footer { padding-top: 48px; padding-left: 18px; padding-right: 18px; }
  .gc-footer.gc-footer-cols-2 > .gc-footer-grid,
  .gc-footer.gc-footer-cols-3 > .gc-footer-grid,
  .gc-footer.gc-footer-cols-4 > .gc-footer-grid,
  .gc-footer > .gc-footer-split-layout,
  .gc-footer.gc-footer-cols-2 > .gc-footer-split-layout .gc-footer-columns,
  .gc-footer.gc-footer-cols-3 > .gc-footer-split-layout .gc-footer-columns,
  .gc-footer.gc-footer-cols-4 > .gc-footer-split-layout .gc-footer-columns {
    grid-template-columns: 1fr;
  }
  .gc-footer-bottom > .gc-container { align-items: flex-start; flex-direction: column; }
}
