:root {
  --gs-bg: #f5f3ee;
  --gs-ink: #101828;
  --gs-muted: #667085;
  --gs-card: #ffffff;
  --gs-line: rgba(16, 24, 40, 0.08);
  --gs-gold: #c8a45d;
  --gs-gold-dark: #a98540;
  --gs-navy: #141b2d;
  --gs-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.gs-blog-body {
  margin: 0;
  color: var(--gs-ink);
  background: var(--gs-bg);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.gs-blog-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(20, 27, 45, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gs-blog-nav {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.gs-brand { display: flex; align-items: center; gap: 0.9rem; color: white; }
.gs-brand img { width: 54px; height: 54px; object-fit: contain; }
.gs-brand-copy small { display: block; color: rgba(255,255,255,0.6); letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.68rem; }
.gs-brand-copy strong { font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; }

.gs-blog-nav-links { display: flex; align-items: center; gap: 1.25rem; color: rgba(255,255,255,0.85); font-size: 0.95rem; }
.gs-blog-nav-links a:hover { color: var(--gs-gold); }
.gs-primary-button,
.gs-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.95rem 1.35rem;
  font-weight: 600;
  transition: 180ms ease;
}
.gs-primary-button {
  background: var(--gs-gold);
  color: var(--gs-navy);
  box-shadow: 0 10px 28px rgba(200, 164, 93, 0.28);
}
.gs-primary-button:hover { background: var(--gs-gold-dark); transform: translateY(-1px); }
.gs-secondary-button {
  border: 1px solid rgba(255,255,255,0.18);
  color: white;
}
.gs-secondary-button:hover { border-color: var(--gs-gold); color: var(--gs-gold); }

.gs-shell { max-width: 1240px; margin: 0 auto; padding: 0 1.5rem; }

.gs-hero {
  padding: 5.5rem 0 3rem;
  background:
    radial-gradient(circle at top right, rgba(200, 164, 93, 0.18), transparent 28%),
    linear-gradient(180deg, #10182a 0%, #182238 100%);
  color: white;
}

.gs-hero-grid,
.gs-featured-grid,
.gs-post-hero,
.gs-post-layout,
.gs-cta {
  display: grid;
  gap: 2rem;
}

.gs-hero-grid,
.gs-featured-grid,
.gs-post-hero,
.gs-cta { grid-template-columns: 1.2fr 1fr; align-items: center; }

.gs-kicker,
.gs-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
}
.gs-kicker { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.8); }
.gs-pill { background: rgba(200,164,93,0.14); color: var(--gs-gold); }

.gs-hero-copy h1,
.gs-featured-copy h2,
.gs-post-copy h1,
.gs-cta-copy h2 {
  margin: 1rem 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.02;
}
.gs-hero-copy h1,
.gs-post-copy h1,
.gs-cta-copy h2 {
  color: #ffffff;
}
.gs-featured-copy h2 {
  color: var(--gs-navy);
}
.gs-hero-copy h1 { font-size: clamp(2.8rem, 6vw, 5.25rem); }
.gs-featured-copy h2,
.gs-post-copy h1 { font-size: clamp(2rem, 4vw, 3.5rem); }
.gs-cta-copy h2 { font-size: clamp(2rem, 3.2vw, 3rem); }
.gs-hero-copy p,
.gs-featured-copy p,
.gs-post-copy p,
.gs-cta-copy p {
  margin: 0;
  color: rgba(255,255,255,0.74);
  font-size: 1.05rem;
  max-width: 56ch;
}
.gs-post-copy p { color: rgba(255,255,255,0.78); }

.gs-hero-card,
.gs-featured-image,
.gs-post-hero-image,
.gs-related-card,
.gs-blog-card,
.gs-sidebar-card,
.gs-cta {
  border-radius: 28px;
  overflow: hidden;
}

.gs-hero-card,
.gs-featured-image,
.gs-post-hero-image {
  box-shadow: var(--gs-shadow);
}

.gs-hero-card img,
.gs-featured-image img,
.gs-post-hero-image img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.gs-overview {
  margin-top: -2.4rem;
  margin-bottom: 3rem;
}
.gs-overview-panel {
  background: var(--gs-card);
  border: 1px solid var(--gs-line);
  box-shadow: var(--gs-shadow);
  border-radius: 28px;
  padding: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.gs-overview-panel strong { display: block; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gs-muted); }
.gs-overview-panel span { font-size: 1rem; color: var(--gs-ink); }
.gs-search input {
  min-width: min(320px, 100%);
  border: 1px solid var(--gs-line);
  border-radius: 999px;
  padding: 0.95rem 1.15rem;
  font: inherit;
  background: #fcfbf8;
}

.gs-section { padding: 0 0 4rem; }
.gs-section-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.gs-section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}
.gs-section-heading p { margin: 0; color: var(--gs-muted); max-width: 54ch; }

#gs-blog-featured { margin-bottom: 2rem; }
.gs-featured-grid {
  background: linear-gradient(135deg, #ffffff 0%, #f8f4ea 100%);
  border: 1px solid var(--gs-line);
  border-radius: 32px;
  padding: clamp(1.5rem, 2.4vw, 2.3rem);
  box-shadow: var(--gs-shadow);
}
.gs-featured-copy p { color: #475467; }
.gs-featured-meta,
.gs-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.1rem 0 1.4rem;
  color: var(--gs-muted);
  font-size: 0.92rem;
}

#gs-blog-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}
.gs-blog-card {
  background: var(--gs-card);
  border: 1px solid var(--gs-line);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}
.gs-blog-card-image img { width: 100%; height: 250px; object-fit: cover; }
.gs-blog-card-body { padding: 1.25rem; }
.gs-blog-card-meta,
.gs-related-card span,
.gs-post-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  color: var(--gs-muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.gs-blog-card h3 {
  margin: 0.75rem 0 0.65rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  line-height: 1.12;
}
.gs-blog-card p { margin: 0; color: var(--gs-muted); }
.gs-blog-card-footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gs-line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--gs-muted);
  font-size: 0.92rem;
}
.gs-blog-card.is-featured { grid-column: span 2; display: grid; grid-template-columns: 1.05fr 1fr; }
.gs-blog-card.is-featured .gs-blog-card-image img { height: 100%; min-height: 100%; }
.gs-blog-card.is-featured .gs-blog-card-body { display: flex; flex-direction: column; justify-content: center; }
.gs-blog-card.is-featured h3 { font-size: 2rem; }

.gs-empty-state {
  margin-top: 1rem;
  padding: 1.25rem 1.4rem;
  background: white;
  border: 1px dashed rgba(16, 24, 40, 0.16);
  border-radius: 20px;
  color: var(--gs-muted);
}

.gs-post-section { padding: 4rem 0; }
.gs-post-hero {
  padding: clamp(1.5rem, 2.5vw, 2.5rem);
  background: linear-gradient(180deg, #11192a 0%, #1b2438 100%);
  border-radius: 32px;
  box-shadow: var(--gs-shadow);
}
.gs-post-breadcrumb { margin-bottom: 1rem; color: rgba(255,255,255,0.6); }
.gs-post-layout {
  margin-top: 2rem;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
}
.gs-post-article {
  background: white;
  border: 1px solid var(--gs-line);
  box-shadow: var(--gs-shadow);
  border-radius: 28px;
  padding: clamp(1.5rem, 2.6vw, 2.5rem);
}
.gs-post-content {
  color: #243043;
  font-size: 1.06rem;
}
.gs-post-content > *:first-child { margin-top: 0; }
.gs-post-content h2,
.gs-post-content h3 {
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.12;
}
.gs-post-content p,
.gs-post-content li { color: #475467; }
.gs-post-content ul,
.gs-post-content ol { padding-left: 1.2rem; }
.gs-post-tags {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.gs-post-tags span {
  display: inline-flex;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: #f4efe4;
  color: #7a5b25;
  font-size: 0.88rem;
}
.gs-post-sidebar {
  display: grid;
  gap: 1rem;
  position: sticky;
  top: 6rem;
}
.gs-sidebar-card {
  background: #11192a;
  color: white;
  padding: 1.4rem;
  box-shadow: var(--gs-shadow);
}
.gs-sidebar-card h3 { margin-top: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; }
.gs-sidebar-card p { color: rgba(255,255,255,0.7); }
#gs-blog-related {
  display: grid;
  gap: 0.9rem;
}
.gs-related-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 0.85rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 0.6rem;
}
.gs-related-card img { width: 96px; height: 96px; object-fit: cover; border-radius: 18px; }
.gs-related-card strong { display: block; margin-top: 0.35rem; line-height: 1.25; }

.gs-cta {
  margin: 4rem 0;
  background: linear-gradient(135deg, #11192a 0%, #1d2942 100%);
  color: white;
  padding: clamp(1.5rem, 2.5vw, 2.4rem);
  box-shadow: var(--gs-shadow);
}
.gs-cta-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 1.5rem;
}
.gs-cta-card ul { margin: 0; padding-left: 1.15rem; color: rgba(255,255,255,0.76); }

.gs-blog-footer {
  background: #0b1220;
  color: white;
  padding: 3.5rem 0 2rem;
}
.gs-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 2rem;
}
.gs-blog-footer p,
.gs-blog-footer a { color: rgba(255,255,255,0.7); }
.gs-footer-column h3,
.gs-footer-brand h3 { margin-top: 0; font-family: Georgia, "Times New Roman", serif; }
.gs-footer-links { display: grid; gap: 0.6rem; }
.gs-footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.56);
}

@media (max-width: 1100px) {
  .gs-featured-grid,
  .gs-hero-grid,
  .gs-post-hero,
  .gs-post-layout,
  .gs-cta,
  .gs-footer-grid,
  .gs-blog-card.is-featured {
    grid-template-columns: 1fr;
  }

  #gs-blog-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gs-post-sidebar { position: static; }
}

@media (max-width: 760px) {
  .gs-blog-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .gs-blog-nav-links {
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .gs-overview-panel {
    align-items: stretch;
  }

  .gs-search input { min-width: 100%; }

  #gs-blog-list { grid-template-columns: 1fr; }

  .gs-blog-card.is-featured { grid-column: auto; }

  .gs-hero,
  .gs-post-section { padding-top: 3.5rem; }

  .gs-shell { padding: 0 1rem; }
}
