/* ==========================================================================
   Garteni Theme v4.0.0 � Master Editorial Design System
   ========================================================================== */

/* --- 1. CSS Custom Properties / Design Tokens --- */
:root {
  /* Color Palette (WCAG AA Compliant) */
  --g-primary: #37653c;
  --g-primary-hover: #2a522e;
  --g-primary-dark: #1b3820;
  --g-terracotta: #8e3e15;
  --g-terracotta-hover: #702e0d;
  --g-cream: #F7F5EF;
  --g-cream-dark: #eeeae0;
  --g-card: #FFFFFF;
  --g-text: #222222;
  --g-text-muted: #525252;
  --g-text-light: #595959;
  --g-border: #E6E1D8;
  --g-border-light: #f0ece4;

  /* Typography (Section 2) */
  --g-font-serif: "Lora", "Source Serif 4", Georgia, serif;
  --g-font-sans: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout & Spacing */
  --g-max-width: 1400px;
  --g-content-width: 760px;
  --g-sidebar-width: 320px;
  --g-radius-sm: 8px;
  --g-radius-md: 16px;
  --g-radius-lg: 24px;
  --g-radius-full: 9999px;

  /* Shadows */
  --g-shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --g-shadow-md: 0 8px 24px rgba(27,56,32,0.07);
  --g-shadow-lg: 0 16px 48px rgba(27,56,32,0.12);
  --g-shadow-hover: 0 14px 36px rgba(27,56,32,0.14);
}

/* Dark Mode Tokens */
html[data-theme="dark"] {
  --g-cream: #121a14;
  --g-cream-dark: #19241c;
  --g-card: #18241b;
  --g-text: #e5ede7;
  --g-text-muted: #a3b8a8;
  --g-text-light: #7c9482;
  --g-border: rgba(255,255,255,0.08);
  --g-border-light: rgba(255,255,255,0.04);
  --g-shadow-md: 0 8px 24px rgba(0,0,0,0.3);
  --g-shadow-lg: 0 16px 48px rgba(0,0,0,0.45);
}

/* --- 2. CSS Reset & Base Elements --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--g-font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--g-text);
  background-color: var(--g-cream);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--g-primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--g-primary-hover); }
button, input, textarea, select { font: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--g-font-serif);
  color: var(--g-text);
  line-height: 1.2;
  font-weight: 600;
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
h4 { font-size: 1.2rem; }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: var(--g-cream); }
::-webkit-scrollbar-thumb { background: rgba(79,122,83,0.35); border-radius: 10px; border: 2px solid var(--g-cream); }
::-webkit-scrollbar-thumb:hover { background: var(--g-primary); }

/* Reading Progress Bar */
.g-reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--g-primary);
  z-index: 10000;
  width: 0%;
  pointer-events: none;
  transition: width .08s linear;
}

/* Floating Back to Top Button */
.g-back-to-top {
  position: fixed;
  bottom: -60px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--g-primary);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 990;
  box-shadow: var(--g-shadow-md);
  transition: bottom .35s cubic-bezier(0.2, 0.8, 0.2, 1), transform .2s, background .2s;
}
.g-back-to-top.is-visible { bottom: 28px; }
.g-back-to-top:hover { transform: translateY(-3px); background: var(--g-primary-hover); }
.g-back-to-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; }

/* Container */
.g-container {
  width: min(var(--g-max-width), calc(100% - 48px));
  margin-inline: auto;
}
@media (max-width: 640px) {
  .g-container { width: calc(100% - 32px); }
}

/* Kicker Badge */
.g-kicker {
  display: inline-block;
  font-family: var(--g-font-sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--g-primary);
  margin-bottom: 8px;
}
.g-kicker--terracotta { color: var(--g-terracotta); }
.g-kicker--light { color: rgba(255,255,255,0.85); }

/* Buttons */
.g-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--g-radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.g-btn:hover { transform: translateY(-2px); box-shadow: var(--g-shadow-md); }
.g-btn--primary { background: var(--g-primary); color: #fff; }
.g-btn--primary:hover { background: var(--g-primary-hover); color: #fff; }
.g-btn--terracotta { background: #94400c; color: #fff; }
.g-btn--terracotta:hover { background: var(--g-terracotta-hover); color: #fff; }
.g-btn--outline { background: transparent; border: 1.5px solid var(--g-border); color: var(--g-text); }
.g-btn--outline:hover { border-color: var(--g-primary); color: var(--g-primary); }

/* --- 3. Header & Navigation --- */
.g-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--g-cream);
  border-bottom: 1px solid var(--g-border);
  transition: transform .3s ease, background-color .25s, box-shadow .25s;
}
.g-header.is-scrolled {
  background: rgba(247,245,239,0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
html[data-theme="dark"] .g-header { background: var(--g-cream); }
html[data-theme="dark"] .g-header.is-scrolled { background: rgba(18,26,20,0.96); }

.g-header__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 20px;
}
.g-header__logo a {
  font-family: var(--g-font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--g-primary);
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.g-header__logo span { font-size: 1.5rem; color: var(--g-terracotta); }

.g-header__nav { display: flex; align-items: center; gap: 28px; list-style: none; }
.g-header__nav a {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--g-text);
  padding: 6px 0;
  position: relative;
}
.g-header__nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--g-primary);
  transition: width .25s ease;
}
.g-header__nav a:hover::after, .g-header__nav a.is-active::after { width: 100%; }

.g-header__actions { display: flex; align-items: center; gap: 12px; }
.g-header__icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--g-border);
  background: var(--g-card);
  color: var(--g-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.g-header__icon-btn:hover { background: var(--g-cream-dark); border-color: var(--g-primary); }

.g-header__menu-toggle { display: none; }

@media (max-width: 992px) {
  .g-header__nav { display: none; }
  .g-header__menu-toggle { display: flex; }
}

/* Mobile Drawer */
.g-mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.g-mobile-drawer.is-open { opacity: 1; pointer-events: auto; }
.g-mobile-drawer__content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 85vw);
  background: var(--g-card);
  padding: 30px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.g-mobile-drawer.is-open .g-mobile-drawer__content { transform: translateX(0); }
.g-mobile-drawer__close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--g-text);
}
.g-mobile-drawer ul { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.g-mobile-drawer a { font-size: 1.15rem; font-weight: 700; color: var(--g-text); }

/* --- 4. Homepage Sections (Section 8) --- */

/* Hero (Section 8.2) */
.g-hero {
  padding: 60px 0;
}
.g-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  background: var(--g-card);
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius-lg);
  padding: 48px;
  box-shadow: var(--g-shadow-md);
  position: relative;
  overflow: hidden;
}
.g-hero__copy h1 { margin: 12px 0 18px; }
.g-hero__copy h1 em { font-weight: 400; color: var(--g-primary); font-style: italic; }
.g-hero__copy p { font-size: 1.15rem; color: var(--g-text-muted); margin-bottom: 28px; max-width: 540px; }
.g-hero__actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.g-hero__image-wrap {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--g-radius-md);
  overflow: hidden;
}
.g-hero__image-wrap img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 992px) {
  .g-hero__grid { grid-template-columns: 1fr; padding: 32px; gap: 32px; }
}

/* Category Pills Bar (Section 8.3) */
.g-cat-pills {
  padding: 20px 0 60px;
}
.g-cat-pills__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.g-cat-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 22px 16px;
  background: var(--g-card);
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius-md);
  text-align: center;
  box-shadow: var(--g-shadow-sm);
  transition: transform .25s ease, box-shadow .25s, border-color .25s;
}
.g-cat-pill:hover {
  transform: translateY(-4px);
  box-shadow: var(--g-shadow-hover);
  border-color: var(--g-primary);
}
.g-cat-pill__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(79,122,83,0.1);
  color: var(--g-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.g-cat-pill strong { font-size: 0.95rem; color: var(--g-text); }
.g-cat-pill small { font-size: 0.78rem; color: var(--g-text-muted); }

@media (max-width: 992px) {
  .g-cat-pills__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 580px) {
  .g-cat-pills__grid { grid-template-columns: repeat(2, 1fr); }
}

/* Editor's Picks (Section 8.4) */
.g-section { padding: 60px 0; }
.g-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
  gap: 20px;
}
.g-section-head h2 em { font-weight: 400; color: var(--g-primary); font-style: italic; }
.g-section-head a { font-weight: 700; font-size: 0.95rem; border-bottom: 2px solid var(--g-border); padding-bottom: 2px; }
.g-section-head a:hover { border-color: var(--g-primary); }

.g-editorial-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 28px;
}
.g-picks-subgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 992px) {
  .g-editorial-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .g-picks-subgrid { grid-template-columns: 1fr; }
}

/* Standard Article Card */
.g-card {
  background: var(--g-card);
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius-md);
  overflow: hidden;
  box-shadow: var(--g-shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s;
}
.g-card:hover { transform: translateY(-4px); box-shadow: var(--g-shadow-hover); }
.g-card__media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.g-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.g-card:hover .g-card__media img { transform: scale(1.04); }
.g-card__body { padding: 22px; display: flex; flex-direction: column; flex-grow: 1; gap: 8px; }
.g-card__meta { font-size: 0.8rem; color: var(--g-text-light); display: flex; align-items: center; gap: 12px; }
.g-card__title { font-size: 1.25rem; line-height: 1.3; margin: 4px 0; }
.g-card__title a { color: var(--g-text); }
.g-card__title a:hover { color: var(--g-primary); }
.g-card__excerpt { font-size: 0.95rem; color: var(--g-text-muted); line-height: 1.6; margin-top: 4px; }

/* Large Featured Card */
.g-card--featured .g-card__media { aspect-ratio: 16/10; }
.g-card--featured .g-card__title { font-size: clamp(1.5rem, 2.5vw, 2rem); }
.g-card--featured .g-card__body { padding: 30px; }

/* Pinterest Inspiration Hub (Section 8.5) */
.g-pinterest-section {
  background: var(--g-card);
  border-top: 1px solid var(--g-border);
  border-bottom: 1px solid var(--g-border);
}
.g-pinterest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.g-pin-card {
  position: relative;
  aspect-ratio: 2/3;
  border-radius: var(--g-radius-md);
  overflow: hidden;
  box-shadow: var(--g-shadow-md);
  display: block;
}
.g-pin-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.g-pin-card:hover img { transform: scale(1.05); }
.g-pin-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, transparent 40%, rgba(18,36,22,0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  color: #fff;
  z-index: 2;
}
.g-pin-card__title { font-size: 1.2rem; color: #fff; line-height: 1.25; margin-top: 6px; text-shadow: 0 2px 8px rgba(0,0,0,0.4); }
.g-pin-card__btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  color: var(--g-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  border: none;
  cursor: pointer;
  z-index: 3;
}
@media (max-width: 992px) {
  .g-pinterest-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .g-pinterest-grid { grid-template-columns: 1fr; }
}

/* Most Read Grid (Section 8.6) */
.g-most-read-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.g-numbered-card {
  display: flex;
  gap: 18px;
  background: var(--g-card);
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius-md);
  padding: 20px;
  box-shadow: var(--g-shadow-sm);
  align-items: center;
}
.g-numbered-card__num {
  font-family: var(--g-font-serif);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--g-terracotta);
  line-height: 1;
  opacity: 0.85;
}
@media (max-width: 992px) {
  .g-most-read-grid { grid-template-columns: 1fr; }
}

/* Seasonal Ideas (Section 8.7) */
.g-season-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.g-season-tab {
  padding: 8px 20px;
  border-radius: var(--g-radius-full);
  background: var(--g-card);
  border: 1px solid var(--g-border);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--g-text);
  cursor: pointer;
  transition: all .2s;
}
.g-season-tab.is-active, .g-season-tab:hover {
  background: var(--g-primary);
  border-color: var(--g-primary);
  color: #fff;
}

/* Author Showcase (Section 8.8) */
.g-author-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.g-author-card {
  background: var(--g-card);
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius-md);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--g-shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.g-author-card img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--g-border-light);
}
.g-author-card h3 { font-size: 1.35rem; }
.g-author-card p { font-size: 0.95rem; color: var(--g-text-muted); line-height: 1.6; }
@media (max-width: 840px) {
  .g-author-grid { grid-template-columns: 1fr; }
}

/* Newsletter Section (Section 8.9) */
.g-newsletter-box {
  background: var(--g-primary-dark);
  color: #fff;
  border-radius: var(--g-radius-lg);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--g-shadow-lg);
}
.g-newsletter-box h2 { color: #fff; }
.g-newsletter-box h2 em { color: #c8dfc5; font-style: italic; font-weight: 400; }
.g-newsletter-box p { color: rgba(255,255,255,0.85); font-size: 1.05rem; }
.g-newsletter-form {
  display: flex;
  gap: 8px;
}
.g-newsletter-form input[type="email"] {
  flex: 1;
  padding: 14px 22px;
  border-radius: var(--g-radius-full);
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: #fff;
  outline: none;
}
.g-newsletter-form input::placeholder { color: rgba(255,255,255,0.6); }
.g-newsletter-note { font-size: 0.78rem; color: rgba(255,255,255,0.6); margin-top: 10px; }
@media (max-width: 860px) {
  .g-newsletter-box { grid-template-columns: 1fr; padding: 36px 24px; gap: 24px; }
  .g-newsletter-form { flex-direction: column; }
}

/* --- 5. Article Single Page (Section 4) --- */
.g-article-layout {
  display: grid;
  grid-template-columns: minmax(0, var(--g-content-width)) var(--g-sidebar-width);
  gap: 64px;
  padding: 48px 0 80px;
}
@media (max-width: 1024px) {
  .g-article-layout { grid-template-columns: 1fr; gap: 48px; }
}

.g-article-header { margin-bottom: 32px; }
.g-article-header h1 { font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1.15; margin: 10px 0 16px; }
.g-article-subtitle { font-size: 1.25rem; line-height: 1.6; color: var(--g-text-muted); margin-bottom: 20px; }
.g-article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--g-text-muted);
  border-top: 1px solid var(--g-border);
  border-bottom: 1px solid var(--g-border);
  padding: 14px 0;
}
.g-article-meta__author { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--g-text); }
.g-article-meta__author img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }

.g-article-hero {
  border-radius: var(--g-radius-md);
  overflow: hidden;
  margin-bottom: 36px;
  box-shadow: var(--g-shadow-md);
}

/* Editorial Components */
.g-takeaways {
  background: var(--g-card);
  border-left: 4px solid var(--g-primary);
  border-radius: var(--g-radius-sm);
  padding: 24px 28px;
  margin: 32px 0;
  box-shadow: var(--g-shadow-sm);
}
.g-takeaways h3 { font-size: 1.15rem; margin-bottom: 12px; color: var(--g-primary); }
.g-takeaways ul { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }

.g-tip-box {
  background: #f1f7f2;
  border: 1px solid #c7e0cb;
  border-radius: var(--g-radius-md);
  padding: 24px 28px;
  margin: 36px 0;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
html[data-theme="dark"] .g-tip-box { background: #1a2a1e; border-color: #2b4532; }
.g-tip-box__icon { font-size: 1.8rem; }
.g-tip-box h4 { font-size: 1.1rem; color: var(--g-primary); margin-bottom: 6px; }

/* Sticky TOC */
.g-toc {
  background: var(--g-card);
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius-md);
  padding: 24px;
  margin: 32px 0;
}
.g-toc__title { font-size: 1.15rem; font-weight: 700; margin-bottom: 14px; display: flex; justify-content: space-between; cursor: pointer; }
.g-toc ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.g-toc a { font-size: 0.95rem; color: var(--g-text); }
.g-toc a:hover { color: var(--g-primary); text-decoration: underline; }

/* Article Content Typography (Section 4) */
.g-article-body {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--g-text);
}
.g-article-body p { margin-bottom: 24px; }
.g-article-body h2 { font-size: 1.95rem; margin: 48px 0 20px; padding-top: 12px; }
.g-article-body h3 { font-size: 1.45rem; margin: 32px 0 16px; }
.g-article-body ul, .g-article-body ol { margin: 20px 0 28px 24px; }
.g-article-body li { margin-bottom: 12px; }
.g-article-body blockquote {
  font-family: var(--g-font-serif);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.6;
  border-left: 3px solid var(--g-terracotta);
  padding: 16px 0 16px 24px;
  margin: 36px 0;
  color: var(--g-text);
}

/* FAQ Accordion */
.g-faq { margin: 48px 0; }
.g-faq__item {
  background: var(--g-card);
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}
.g-faq__question {
  padding: 18px 22px;
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  color: var(--g-text);
}
.g-faq__answer { padding: 0 22px 20px; font-size: 1rem; color: var(--g-text-muted); display: none; }
.g-faq__item.is-open .g-faq__answer { display: block; }
.g-faq__item.is-open .g-faq__question svg { transform: rotate(180deg); }

/* Floating Share Rail */
.g-share-rail {
  display: flex;
  gap: 10px;
  margin: 40px 0;
  padding: 18px 0;
  border-top: 1px solid var(--g-border);
  border-bottom: 1px solid var(--g-border);
  align-items: center;
  flex-wrap: wrap;
}
.g-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--g-radius-full);
  border: 1px solid var(--g-border);
  background: var(--g-card);
  color: var(--g-text);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s ease;
}
.g-share-btn:hover { transform: translateY(-2px); box-shadow: var(--g-shadow-sm); }
.g-share-btn--pin:hover { background: #e60023; color: #fff; border-color: #e60023; }
.g-share-btn--wa:hover { background: #25D366; color: #fff; border-color: #25D366; }
.g-share-btn--x:hover { background: #000; color: #fff; border-color: #000; }

/* Sticky Sidebar */
.g-sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (min-width: 1024px) {
  .g-sidebar { position: sticky; top: 100px; }
}
.g-widget {
  background: var(--g-card);
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius-md);
  padding: 28px;
  box-shadow: var(--g-shadow-sm);
}
.g-widget h3 { font-size: 1.25rem; margin-bottom: 18px; border-bottom: 2px solid var(--g-border-light); padding-bottom: 8px; }

/* --- 6. Footer (Section 8.10) --- */
.g-footer {
  background: #192b1d;
  color: #fff;
  margin-top: auto;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.g-footer a { color: rgba(255,255,255,0.8); }
.g-footer a:hover { color: #fff; }
.g-footer__top {
  padding: 70px 0 50px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}
.g-footer__brand h2 { font-family: var(--g-font-serif); font-size: 2.2rem; color: #fff; margin-bottom: 14px; }
.g-footer__brand p { color: rgba(255,255,255,0.7); font-size: 0.95rem; line-height: 1.7; max-width: 360px; }
.g-footer__col h4 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; font-family: var(--g-font-sans); text-transform: uppercase; letter-spacing: 0.08em; }
.g-footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 0.92rem; }
.g-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  flex-wrap: wrap;
  gap: 16px;
}
.g-footer__legal { display: flex; gap: 20px; list-style: none; }
@media (max-width: 992px) {
  .g-footer__top { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 540px) {
  .g-footer__top { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Garteni Theme v4.0.0 — Extended Features (Lightbox, Live Search, Print)
   ========================================================================== */

/* --- Image Lightbox Modal --- */
.g-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(14, 26, 17, 0.94);
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.g-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.g-lightbox__content {
  position: relative;
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.g-lightbox__img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--g-radius-md);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transform: scale(0.95);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.g-lightbox.is-open .g-lightbox__img {
  transform: scale(1);
}
.g-lightbox__caption {
  margin-top: 14px;
  color: #fff;
  font-size: 0.95rem;
  font-family: var(--g-font-sans);
  text-align: center;
  opacity: 0.85;
}
.g-lightbox__close {
  position: absolute;
  top: -45px;
  right: 0;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.g-lightbox__close:hover { opacity: 1; }

.g-article-body img, .g-article-hero img {
  cursor: zoom-in;
}

/* --- Live Search Modal Overlay --- */
.g-search-modal {
  position: fixed;
  inset: 0;
  background: rgba(14, 26, 17, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 80px 20px 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.g-search-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.g-search-modal__inner {
  width: min(680px, 100%);
  background: var(--g-card);
  border-radius: var(--g-radius-lg);
  box-shadow: 0 24px 70px rgba(0,0,0,0.35);
  border: 1px solid var(--g-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(-20px);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.g-search-modal.is-open .g-search-modal__inner {
  transform: translateY(0);
}
.g-search-modal__header {
  display: flex;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--g-border);
  gap: 14px;
}
.g-search-modal__input {
  flex: 1;
  border: none;
  font-size: 1.25rem;
  font-family: var(--g-font-sans);
  background: transparent;
  color: var(--g-text);
  outline: none;
}
.g-search-modal__input::placeholder {
  color: var(--g-text-light);
}
.g-search-modal__close {
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--g-text-muted);
  cursor: pointer;
  padding: 4px;
}
.g-search-modal__results {
  max-height: 480px;
  overflow-y: auto;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.g-live-result-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 14px;
  border-radius: var(--g-radius-sm);
  text-decoration: none;
  color: var(--g-text);
  transition: background-color 0.15s ease;
}
.g-live-result-item:hover {
  background: var(--g-cream-dark);
}
.g-live-result-item img {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
}
.g-live-result-item strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.3;
}
.g-live-result-item span {
  font-size: 0.82rem;
  color: var(--g-primary);
  font-weight: 700;
}

/* --- Print Friendly Stylesheet (Section 4) --- */
@media print {
  body {
    background: #fff !important;
    color: #000 !important;
    font-size: 12pt;
    line-height: 1.5;
  }
  .g-header,
  .g-footer,
  .g-sidebar,
  .g-share-rail,
  .g-back-to-top,
  .g-reading-progress,
  .g-mobile-drawer,
  .g-search-modal,
  .g-toc,
  .g-newsletter-box,
  .comments-area {
    display: none !important;
  }
  .g-container, .g-article-layout {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
  }
  .g-article-main {
    max-width: 100% !important;
  }
  h1 { font-size: 24pt !important; margin-bottom: 12pt !important; }
  h2 { font-size: 18pt !important; margin-top: 18pt !important; page-break-after: avoid; }
  h3 { font-size: 14pt !important; page-break-after: avoid; }
  img { max-width: 100% !important; page-break-inside: avoid; }
  .g-tip-box, .g-takeaways, .g-faq__item {
    border: 1pt solid #ccc !important;
    page-break-inside: avoid;
    box-shadow: none !important;
  }
  a { text-decoration: none !important; color: #000 !important; }
  a[href^="http"]:after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}

/* ==========================================================================
   Garteni Theme v4.0.0 — Bookmarks (Merkliste) & Garden Calculator
   ========================================================================== */

/* --- Bookmark Button & Badge --- */
.g-bookmark-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--g-radius-full);
  border: 1px solid var(--g-border);
  background: var(--g-card);
  color: var(--g-text);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.g-bookmark-btn:hover {
  background: var(--g-cream-dark);
  border-color: var(--g-terracotta);
  color: var(--g-terracotta);
}
.g-bookmark-btn.is-bookmarked {
  background: #94400c;
  border-color: var(--g-terracotta);
  color: #fff;
}
.g-bookmark-btn.is-bookmarked svg {
  fill: #fff;
}

.g-bookmark-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #94400c;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.g-bookmark-badge.has-items {
  opacity: 1;
  transform: scale(1);
}

/* --- Bookmark Slide-out Drawer --- */
.g-bookmark-drawer {
  position: fixed;
  inset: 0;
  background: rgba(14, 26, 17, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.g-bookmark-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
}
.g-bookmark-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(400px, 90vw);
  background: var(--g-card);
  box-shadow: -10px 0 40px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.g-bookmark-drawer.is-open .g-bookmark-drawer__panel {
  transform: translateX(0);
}
.g-bookmark-drawer__header {
  padding: 22px 24px;
  border-bottom: 1px solid var(--g-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.g-bookmark-drawer__header h3 {
  font-size: 1.3rem;
  margin: 0;
}
.g-bookmark-drawer__close {
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--g-text-muted);
  cursor: pointer;
}
.g-bookmark-drawer__list {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.g-bookmark-item {
  display: flex;
  gap: 14px;
  padding: 12px;
  background: var(--g-cream);
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius-sm);
  align-items: center;
  position: relative;
}
.g-bookmark-item img {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}
.g-bookmark-item__title {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--g-text);
  text-decoration: none;
  flex: 1;
}
.g-bookmark-item__remove {
  background: none;
  border: none;
  color: #a00;
  cursor: pointer;
  padding: 4px;
  font-size: 1.1rem;
  line-height: 1;
}
.g-bookmark-drawer__footer {
  padding: 18px 24px;
  border-top: 1px solid var(--g-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* --- Garden Calculator Widget --- */
.g-calculator {
  background: var(--g-card);
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius-md);
  padding: 24px;
  box-shadow: var(--g-shadow-sm);
}
.g-calc-tabs {
  display: flex;
  gap: 6px;
  background: var(--g-cream);
  padding: 4px;
  border-radius: var(--g-radius-sm);
  margin-bottom: 18px;
}
.g-calc-tab {
  flex: 1;
  padding: 8px 10px;
  border: none;
  background: transparent;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--g-text-muted);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}
.g-calc-tab.is-active {
  background: var(--g-card);
  color: var(--g-primary);
  box-shadow: var(--g-shadow-sm);
}
.g-calc-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.g-calc-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--g-text-muted);
  margin-bottom: 4px;
}
.g-calc-field input {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--g-radius-sm);
  border: 1px solid var(--g-border);
  background: var(--g-cream);
  color: var(--g-text);
  font-size: 0.95rem;
  font-weight: 700;
}
.g-calc-result {
  background: #f1f7f2;
  border: 1px solid #c7e0cb;
  border-radius: var(--g-radius-sm);
  padding: 16px;
  text-align: center;
}
html[data-theme="dark"] .g-calc-result {
  background: #1a2a1e;
  border-color: #2b4532;
}
.g-calc-result__val {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--g-primary);
  display: block;
  line-height: 1.1;
  margin: 4px 0;
}
.g-calc-result__sub {
  font-size: 0.85rem;
  color: var(--g-text-muted);
}

/* --- Header Branding Overrides (Logo, Title & Tagline) --- */
.g-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.g-brand:hover {
  opacity: 0.92;
}
.g-brand__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.g-brand:hover .g-brand__icon {
  transform: rotate(-6deg) scale(1.05);
}
.g-brand__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.g-brand__name {
  font-family: var(--g-font-serif);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--g-primary);
  letter-spacing: -0.025em;
  line-height: 0.95;
}
.g-brand__tagline {
  font-family: var(--g-font-sans);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--g-terracotta);
  margin-top: 4px;
  line-height: 1;
}

html[data-theme="dark"] .g-brand__name {
  color: #79a87e;
}
html[data-theme="dark"] .g-brand__icon circle:first-child {
  fill: #192b1d;
  stroke: #79a87e;
}
html[data-theme="dark"] .g-brand__icon path {
  stroke: #79a87e;
}

/* ==========================================================================
   Centered Editorial Header System (Luxury Print Magazine Style)
   ========================================================================== */

.g-header--editorial {
  position: static;
  background: var(--g-cream);
  border-bottom: none;
}

/* Topbar */
.g-header__topbar {
  border-bottom: 1px solid var(--g-border);
  padding: 8px 0;
  font-size: 0.8rem;
  color: var(--g-text-muted);
}
.g-header__topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.g-header__date {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.g-header__edition {
  color: var(--g-text-light);
}
.g-header__tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--g-card);
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius-full);
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--g-text);
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}
.g-header__tool-btn:hover {
  background: var(--g-cream-dark);
  border-color: var(--g-primary);
  color: var(--g-primary);
}

/* Middle Brand Row (Centered) */
.g-header__middle {
  padding: 34px 0 26px;
  text-align: center;
  background: var(--g-cream);
}
.g-editorial-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: transform 0.25s ease;
}
.g-editorial-brand:hover {
  transform: translateY(-2px);
}
.g-editorial-brand__mark {
  margin-bottom: 6px;
  filter: drop-shadow(0 4px 8px rgba(79,122,83,0.15));
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.g-editorial-brand:hover .g-editorial-brand__mark {
  transform: scale(1.08) rotate(4deg);
}
.g-editorial-brand__title {
  font-family: var(--g-font-serif);
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 700;
  color: var(--g-primary);
  letter-spacing: -0.03em;
  line-height: 1;
}
.g-editorial-brand__tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 10px;
  width: 100%;
}
.g-tagline-line {
  width: 48px;
  height: 1px;
  background: var(--g-border);
}
.g-tagline-text {
  font-family: var(--g-font-sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--g-terracotta);
}

/* Category Navigation Ribbon (Centered) */
.g-header__nav-bar {
  border-top: 1px solid var(--g-border);
  border-bottom: 1.5px solid var(--g-border);
  background: var(--g-card);
}
.g-editorial-nav {
  display: flex;
  justify-content: center;
}
.g-editorial-nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  list-style: none;
  padding: 13px 0;
  margin: 0;
  flex-wrap: wrap;
}
.g-editorial-nav__list a {
  font-family: var(--g-font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--g-text);
  text-decoration: none;
  padding: 4px 0;
  position: relative;
  transition: color 0.2s ease;
}
.g-editorial-nav__list a:hover {
  color: var(--g-primary);
}
.g-editorial-nav__list a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--g-primary);
  transition: width 0.25s ease;
}
.g-editorial-nav__list a:hover::after {
  width: 100%;
}

/* Dark Mode Overrides */
html[data-theme="dark"] .g-header__nav-bar {
  background: var(--g-cream-dark);
}
html[data-theme="dark"] .g-editorial-brand__title {
  color: #79a87e;
}
html[data-theme="dark"] .g-tagline-line {
  background: rgba(255,255,255,0.12);
}

/* Responsive */
@media (max-width: 992px) {
  .g-header__nav-bar { display: none; }
  .g-header__edition { display: none; }
}

/* --- Header Classic Layout with Logo Image --- */
.g-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--g-cream);
  border-bottom: 1px solid var(--g-border);
  transition: transform 0.3s ease, background-color 0.25s, box-shadow 0.25s;
}
.g-header.is-scrolled {
  background: rgba(247, 245, 239, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
html[data-theme="dark"] .g-header {
  background: var(--g-cream);
}
html[data-theme="dark"] .g-header.is-scrolled {
  background: rgba(18, 26, 20, 0.97);
}

.g-header__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}

.g-header__logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.g-header__logo-img {
  height: 54px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease;
}
.g-header__logo-link:hover .g-header__logo-img {
  transform: scale(1.02);
}

html[data-theme="dark"] .g-header__logo-img {
  filter: brightness(1.1);
}

@media (max-width: 992px) {
  .g-header__logo-img {
    height: 44px;
  }
}

/* --- Refined Logo Dimensions (Tight Crop & Balanced Proportion) --- */
.g-header__main {
  padding: 10px 0;
  gap: 28px;
}

.g-header__logo-img {
  height: 56px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.g-header__logo-link:hover .g-header__logo-img {
  transform: translateY(-1px);
  opacity: 0.95;
}

@media (max-width: 992px) {
  .g-header__logo-img {
    height: 46px;
    max-width: 200px;
  }
}

/* ==========================================================================
   Master Luxury Editorial Header (v4 Overhaul)
   ========================================================================== */

.g-header--v4 {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--g-cream);
  border-bottom: 1.5px solid var(--g-border);
  box-shadow: 0 4px 24px rgba(27, 56, 32, 0.04);
  transition: transform 0.3s ease, background-color 0.25s, box-shadow 0.25s;
}
.g-header--v4.is-scrolled {
  background: rgba(247, 245, 239, 0.98);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 28px rgba(27, 56, 32, 0.08);
}

.g-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 20px;
}

/* 1. Brand Logo (Prominent & High-DPI) */
.g-header__brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.g-brand-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.g-brand-logo-link:hover {
  transform: scale(1.02);
}
.g-brand-logo-img {
  height: 72px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  display: block;
}

/* 2. Center Navigation Menu */
.g-header__nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}
.g-nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.g-nav-link {
  display: inline-block;
  padding: 8px 15px;
  border-radius: var(--g-radius-full);
  font-family: var(--g-font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--g-text);
  text-decoration: none;
  transition: all 0.2s ease;
}
.g-nav-link:hover {
  background: rgba(79, 122, 83, 0.1);
  color: var(--g-primary);
}
.g-nav-link.is-active {
  background: var(--g-primary);
  color: #fff;
}

/* 3. Luxury Action Suite (Right) */
.g-header__suite {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.g-suite-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--g-radius-full);
  border: 1px solid var(--g-border);
  background: var(--g-card);
  color: var(--g-text);
  font-family: var(--g-font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
  transition: all 0.2s ease;
}
.g-suite-pill:hover {
  border-color: var(--g-primary);
  background: var(--g-cream-dark);
  color: var(--g-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(79, 122, 83, 0.12);
}
.g-kbd-hint {
  font-size: 0.65rem;
  font-family: monospace;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--g-cream);
  border: 1px solid var(--g-border);
  color: var(--g-text-muted);
}
.g-suite-badge {
  background: #94400c;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: var(--g-radius-full);
  line-height: 1.3;
}

.g-suite-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--g-border);
  background: var(--g-card);
  color: var(--g-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.g-suite-icon-btn:hover {
  background: var(--g-cream-dark);
  border-color: var(--g-primary);
  color: var(--g-primary);
  transform: translateY(-1px);
}

.g-menu-toggle-btn {
  display: none;
}

/* Dark Mode Overrides */
html[data-theme="dark"] .g-header--v4 {
  background: var(--g-cream);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
html[data-theme="dark"] .g-header--v4.is-scrolled {
  background: rgba(18, 26, 20, 0.98);
}
html[data-theme="dark"] .g-brand-logo-img {
  filter: brightness(1.05);
}

/* Responsive */
@media (max-width: 1100px) {
  .g-brand-logo-img {
    height: 60px;
    max-width: 260px;
  }
  .g-kbd-hint {
    display: none;
  }
}
@media (max-width: 992px) {
  .g-header__nav-wrapper {
    display: none;
  }
  .g-menu-toggle-btn {
    display: flex;
  }
  .g-suite-pill__text {
    display: none;
  }
  .g-suite-pill {
    padding: 8px 10px;
  }
  .g-brand-logo-img {
    height: 52px;
    max-width: 220px;
  }
}

/* --- Ultimate Prominent Logo & Spacing Fix --- */
.g-header--v4 .g-header__inner {
  padding: 18px 0;
  gap: 32px;
}

.g-header--v4 .g-header__brand {
  flex: 0 0 auto;
}

.g-header--v4 .g-brand-logo-img {
  height: 88px !important;
  width: auto !important;
  max-width: 380px !important;
  min-width: 260px;
  object-fit: contain;
  display: block;
}

@media (max-width: 1200px) {
  .g-header--v4 .g-brand-logo-img {
    height: 74px !important;
    max-width: 300px !important;
    min-width: 220px;
  }
}

@media (max-width: 992px) {
  .g-header--v4 .g-brand-logo-img {
    height: 60px !important;
    max-width: 240px !important;
    min-width: auto;
  }
}

/* ==========================================================================
   Slim Header + Full-Width Panoramic Hero Attached to Header
   ========================================================================== */

/* 1. Slim Header Bar (Big Logo, Minimal Header Padding) */
.g-header--v4 .g-header__inner {
  padding: 4px 0 !important;
  gap: 24px;
}

.g-header--v4 .g-brand-logo-img {
  height: 68px !important;
  width: auto !important;
  max-width: 300px !important;
  min-width: 200px;
  object-fit: contain;
  display: block;
}

/* 2. Full-Width Panoramic Hero (Seamlessly Attached to Header) */
.g-hero-panoramic {
  position: relative;
  width: 100%;
  min-height: 580px;
  margin-top: 0;
  padding: 60px 0 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  box-shadow: inset 0 6px 18px rgba(0,0,0,0.06);
}

.g-hero-panoramic__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 35%;
  z-index: 1;
  transform: scale(1.02);
  transition: transform 6s ease-out;
}
.g-hero-panoramic:hover .g-hero-panoramic__bg {
  transform: scale(1.05);
}

.g-hero-panoramic__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14,26,17,0.85) 0%, rgba(14,26,17,0.65) 45%, rgba(14,26,17,0.18) 100%);
}

.g-hero-panoramic__container {
  position: relative;
  z-index: 2;
  margin-bottom: 40px;
}

/* Glass Editorial Hero Card */
.g-hero-card-glass {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--g-radius-lg);
  padding: 38px 44px;
  max-width: 640px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.8);
  animation: heroCardFadeIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes heroCardFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.g-hero-card-glass__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.g-hero-badge-tag {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--g-primary);
  background: rgba(79, 122, 83, 0.1);
  padding: 4px 10px;
  border-radius: var(--g-radius-full);
}

.g-hero-card-glass__title {
  font-family: var(--g-font-serif);
  font-size: clamp(2.2rem, 3.8vw, 3.1rem);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 14px;
  color: var(--g-text);
  letter-spacing: -0.02em;
}
.g-hero-card-glass__title a {
  color: inherit;
  text-decoration: none;
}
.g-hero-card-glass__title em {
  font-style: italic;
  color: var(--g-primary);
}

.g-hero-card-glass__excerpt {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--g-text-muted);
  margin-bottom: 22px;
}

.g-hero-card-glass__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--g-border);
  border-bottom: 1px solid var(--g-border);
  padding: 14px 0;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}
.g-hero-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.g-hero-author__img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--g-primary);
}
.g-hero-author__by {
  display: block;
  font-size: 0.72rem;
  color: var(--g-text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.g-hero-author__name {
  font-size: 0.92rem;
  color: var(--g-text);
}
.g-hero-reading-time {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--g-text-muted);
}

.g-hero-card-glass__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero Trend Ticker */
.g-hero-ticker {
  position: relative;
  z-index: 2;
  background: rgba(14, 26, 17, 0.94);
  backdrop-filter: blur(12px);
  color: #fff;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.g-hero-ticker__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.88rem;
}
.g-hero-ticker__label {
  font-weight: 800;
  color: #79a87e;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}
.g-hero-ticker__items {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.g-hero-ticker__items a {
  color: #f0f5f1;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.g-hero-ticker__items a:hover {
  color: var(--g-terracotta);
  text-decoration: underline;
}
.g-hero-ticker__items span {
  color: rgba(255,255,255,0.3);
}

/* Dark Mode Card Overrides */
html[data-theme="dark"] .g-hero-card-glass {
  background: rgba(24, 38, 27, 0.94);
  border-color: rgba(255, 255, 255, 0.1);
  color: #f7f5ef;
}
html[data-theme="dark"] .g-hero-card-glass__title {
  color: #f7f5ef;
}
html[data-theme="dark"] .g-hero-card-glass__excerpt {
  color: #b8c4b9;
}
html[data-theme="dark"] .g-hero-card-glass__meta {
  border-color: rgba(255, 255, 255, 0.1);
}
html[data-theme="dark"] .g-hero-author__name {
  color: #f7f5ef;
}

@media (max-width: 768px) {
  .g-hero-panoramic { min-height: auto; padding: 30px 0 0; }
  .g-hero-card-glass { padding: 24px; }
  .g-hero-ticker { display: none; }
}

/* ==========================================================================
   Visual 5-Category Showcase with Real Photography
   ========================================================================== */

.g-cat-visual-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.g-cat-card-visual {
  position: relative;
  border-radius: var(--g-radius-md);
  overflow: hidden;
  height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px 18px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
}

.g-cat-card-visual:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(27, 56, 32, 0.25);
}

.g-cat-card-visual__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.g-cat-card-visual:hover .g-cat-card-visual__bg {
  transform: scale(1.08);
}

.g-cat-card-visual__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 26, 17, 0.05) 0%, rgba(14, 26, 17, 0.45) 40%, rgba(14, 26, 17, 0.95) 100%);
  z-index: 2;
  transition: opacity 0.3s ease;
}

.g-cat-card-visual:hover .g-cat-card-visual__overlay {
  opacity: 0.9;
}

.g-cat-card-visual__content {
  position: relative;
  z-index: 3;
  color: #fff;
  display: flex;
  flex-direction: column;
}

.g-cat-card-visual__badge {
  display: inline-block;
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 3px 9px;
  border-radius: var(--g-radius-full);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  color: #f7f5ef;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.g-cat-card-visual__title {
  font-family: var(--g-font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
  line-height: 1.2;
}

.g-cat-card-visual__desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.35;
  margin: 0 0 10px;
}

.g-cat-card-visual__action {
  font-size: 0.82rem;
  font-weight: 800;
  color: #C97B3D;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.g-cat-card-visual:hover .g-cat-card-visual__action {
  transform: translateX(4px);
  color: #f39c55;
}

/* Responsive Grid for Categories */
@media (max-width: 1200px) {
  .g-cat-visual-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .g-cat-visual-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .g-cat-card-visual {
    height: 260px;
    padding: 16px 14px;
  }
  .g-cat-card-visual__title {
    font-size: 1.15rem;
  }
  .g-cat-card-visual__desc {
    display: none;
  }
}

/* ==========================================================================
   Luxury Editor's Picks Cards (Ideen, die gerade inspirieren)
   ========================================================================== */

/* Large Featured Card */
.g-editorial-featured {
  background: var(--g-card);
  border-radius: var(--g-radius-lg);
  overflow: hidden;
  border: 1px solid var(--g-border);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.g-editorial-featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(27, 56, 32, 0.14);
}
.g-editorial-featured__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  display: block;
}
.g-editorial-featured__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.g-editorial-featured:hover .g-editorial-featured__media img {
  transform: scale(1.05);
}
.g-editorial-featured__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(14, 26, 17, 0.85);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 5px 14px;
  border-radius: var(--g-radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.g-editorial-featured__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}
.g-editorial-featured__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.g-editorial-featured__title {
  font-family: var(--g-font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--g-text);
  line-height: 1.25;
  margin: 10px 0 12px;
}
.g-editorial-featured__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.g-editorial-featured:hover .g-editorial-featured__title a {
  color: var(--g-primary);
}
.g-editorial-featured__excerpt {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--g-text-muted);
  margin-bottom: 20px;
}
.g-editorial-featured__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--g-border);
  padding-top: 16px;
  flex-wrap: wrap;
  gap: 12px;
}
.g-editorial-featured__author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.g-editorial-featured__author img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}
.g-author-role {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--g-text-light);
  letter-spacing: 0.06em;
}
.g-editorial-featured__author strong {
  font-size: 0.88rem;
  color: var(--g-text);
}
.g-editorial-featured__meta-right {
  font-size: 0.82rem;
  color: var(--g-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Secondary Magazine Cards (Subgrid 2x2) */
.g-picks-subgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.g-magazine-card {
  background: var(--g-card);
  border-radius: var(--g-radius-md);
  overflow: hidden;
  border: 1px solid var(--g-border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.g-magazine-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(27, 56, 32, 0.1);
}
.g-magazine-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  display: block;
}
.g-magazine-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.g-magazine-card:hover .g-magazine-card__media img {
  transform: scale(1.06);
}
.g-magazine-card__time {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(14, 26, 17, 0.82);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--g-radius-full);
}
.g-magazine-card__body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.g-magazine-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.g-magazine-card__title {
  font-family: var(--g-font-serif);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 6px 0 8px;
  color: var(--g-text);
}
.g-magazine-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.g-magazine-card:hover .g-magazine-card__title a {
  color: var(--g-primary);
}
.g-magazine-card__excerpt {
  font-size: 0.85rem;
  color: var(--g-text-muted);
  line-height: 1.45;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.g-magazine-card__footer {
  font-size: 0.76rem;
  color: var(--g-text-light);
  margin-top: auto;
  border-top: 1px solid var(--g-border);
  padding-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 768px) {
  .g-picks-subgrid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Enhanced Seasonal Inspirations (Saisonale Inspirationen v4.4)
   ========================================================================== */

.g-seasonal-box {
  background: var(--g-cream-dark);
  border-radius: var(--g-radius-lg);
  padding: 48px 42px;
  border: 1px solid var(--g-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.g-seasonal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.g-seasonal-head__title h2 {
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  margin: 4px 0 8px;
}
.g-seasonal-head__title p {
  color: var(--g-text-muted);
  font-size: 0.98rem;
  margin: 0;
  max-width: 520px;
}

/* Season Tab Pills */
.g-season-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  background: var(--g-card);
  padding: 6px;
  border-radius: var(--g-radius-full);
  border: 1px solid var(--g-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.g-season-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--g-radius-full);
  border: none;
  background: transparent;
  font-family: var(--g-font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--g-text-muted);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.g-season-pill:hover {
  color: var(--g-primary);
  background: var(--g-cream);
}

.g-season-pill.is-active {
  background: var(--g-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(79, 122, 83, 0.32);
}
.g-season-pill.is-active .g-season-pill__icon {
  transform: scale(1.15);
}

/* Seasonal Cards Grid (4 Columns) */
.g-seasonal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

/* Seasonal Card */
.g-season-card {
  background: var(--g-card);
  border-radius: var(--g-radius-md);
  overflow: hidden;
  border: 1px solid var(--g-border);
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  animation: seasonalCardFade 0.4s ease;
}

@keyframes seasonalCardFade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.g-season-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(27, 56, 32, 0.12);
  border-color: rgba(79, 122, 83, 0.4);
}

.g-season-card__media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  display: block;
}

.g-season-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.g-season-card:hover .g-season-card__media img {
  transform: scale(1.07);
}

.g-season-card__season-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(14, 26, 17, 0.85);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 4px 10px;
  border-radius: var(--g-radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.g-season-card__bookmark {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(8px) !important;
  border-radius: 50% !important;
  width: 32px !important;
  height: 32px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.05rem !important;
  border: 1px solid rgba(0,0,0,0.06) !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12) !important;
}

.g-season-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.g-season-card__meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.g-season-card__read-time {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--g-text-light);
}

.g-season-card__title {
  font-family: var(--g-font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 10px;
  color: var(--g-text);
}
.g-season-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.g-season-card:hover .g-season-card__title a {
  color: var(--g-primary);
}

.g-season-card__excerpt {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--g-text-muted);
  margin-bottom: 18px;
}

.g-season-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--g-border);
  padding-top: 12px;
  margin-top: auto;
}

.g-season-card__author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--g-text-muted);
  font-weight: 600;
}
.g-season-card__author img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
}

.g-season-card__link {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--g-terracotta);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.2s;
}
.g-season-card:hover .g-season-card__link {
  transform: translateX(3px);
}

/* Responsive Grid for Seasonal Section */
@media (max-width: 1200px) {
  .g-seasonal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .g-seasonal-box {
    padding: 24px 18px;
  }
  .g-seasonal-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ==========================================================================
   Master Luxury Magazine Footer (v4.5)
   ========================================================================== */

.g-footer--v4 {
  background: #122416;
  color: #e6ede7;
  padding: 0;
  position: relative;
  margin-top: 60px;
  font-family: var(--g-font-sans);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* 1. Trust & Value Proposition Ribbon */
.g-footer__trust-bar {
  background: rgba(0, 0, 0, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
}
.g-footer__trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.g-trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.g-trust-item__icon {
  font-size: 1.8rem;
  line-height: 1;
}
.g-trust-item strong {
  display: block;
  font-size: 0.95rem;
  color: #ffffff;
  font-weight: 700;
}
.g-trust-item small {
  font-size: 0.8rem;
  color: #a3b8a3;
}

/* 2. Main Footer Grid (4 Columns) */
.g-footer__main-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 56px 0 44px;
}

.g-footer__logo-img {
  height: 62px;
  width: auto;
  max-width: 270px;
  object-fit: contain;
  display: block;
  margin-bottom: 18px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.g-footer__tagline-copy {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #b8c7b8;
  margin-bottom: 22px;
  max-width: 360px;
}

.g-footer__social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.g-footer-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--g-radius-full);
  padding: 7px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.2s ease;
}
.g-footer-social-btn:hover {
  background: var(--g-primary);
  border-color: var(--g-primary);
  transform: translateY(-2px);
}

.g-footer__col-title {
  font-family: var(--g-font-serif);
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 700;
  position: relative;
  padding-bottom: 8px;
}
.g-footer__col-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: #94400c;
}

.g-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 0.92rem;
}
.g-footer__links a {
  color: #c2d1c2;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
}
.g-footer__links a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

/* 3. Bottom Legal Bar */
.g-footer__bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 0.82rem;
  color: #8fa390;
  flex-wrap: wrap;
}

.g-footer__legal-links {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.g-footer__legal-links a {
  color: #8fa390;
  text-decoration: none;
  transition: color 0.2s;
}
.g-footer__legal-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Responsive Footer */
@media (max-width: 1100px) {
  .g-footer__main-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .g-footer__trust-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .g-footer__main-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .g-footer__bottom-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   Luxury Author Showcase & Redesigned Newsletter (v4.6)
   ========================================================================== */

/* 1. Authors Section */
.g-author-luxury-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.g-author-luxury-card {
  background: var(--g-card);
  border-radius: var(--g-radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--g-border);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.g-author-luxury-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(27, 56, 32, 0.12);
  border-color: rgba(79, 122, 83, 0.4);
}

.g-author-luxury-card__header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.g-author-luxury-card__photo-wrap {
  position: relative;
  flex-shrink: 0;
  width: 90px;
  height: 90px;
}

.g-author-luxury-card__photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3.5px solid var(--g-cream);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
  display: block;
}

.g-author-luxury-card__count {
  position: absolute;
  bottom: -2px;
  right: -2px;
  background: var(--g-primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--g-radius-full);
  border: 2px solid #fff;
  line-height: 1.2;
}

.g-author-luxury-card__identity {
  display: flex;
  flex-direction: column;
}

.g-author-luxury-card__role {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--g-terracotta);
  margin-bottom: 3px;
}

.g-author-luxury-card__name {
  font-family: var(--g-font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--g-text);
  margin: 0 0 3px;
  line-height: 1.2;
}
.g-author-luxury-card__name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.g-author-luxury-card:hover .g-author-luxury-card__name a {
  color: var(--g-primary);
}

.g-author-luxury-card__tag {
  font-size: 0.8rem;
  color: var(--g-text-light);
  font-weight: 600;
}

.g-author-luxury-card__bio {
  font-size: 0.92rem;
  line-height: 1.62;
  color: var(--g-text-muted);
  margin-bottom: 22px;
}

.g-author-luxury-card__footer {
  margin-top: auto;
  border-top: 1px solid var(--g-border);
  padding-top: 14px;
}

.g-author-luxury-card__cta {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--g-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.2s;
}
.g-author-luxury-card:hover .g-author-luxury-card__cta {
  transform: translateX(4px);
}

/* 2. Redesigned Luxury Newsletter (Garteni Brief) */
.g-newsletter-card-v4 {
  background: linear-gradient(135deg, #122416 0%, #1c3822 100%);
  border-radius: var(--g-radius-lg);
  padding: 56px 60px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 52px;
  align-items: center;
  box-shadow: 0 24px 70px rgba(18, 36, 22, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.g-newsletter-card-v4__badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  padding: 5px 14px;
  border-radius: var(--g-radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #79a87e;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.g-newsletter-card-v4__title {
  font-family: var(--g-font-serif);
  font-size: clamp(2.2rem, 3.6vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 16px;
  color: #ffffff;
}
.g-newsletter-card-v4__title em {
  font-style: italic;
  color: #C97B3D;
}

.g-newsletter-card-v4__desc {
  font-size: 1.02rem;
  line-height: 1.65;
  color: #c4d4c4;
  margin-bottom: 22px;
}

.g-newsletter-card-v4__trust-points {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: #a7bca7;
  font-weight: 600;
}

.g-newsletter-form-box {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
  padding: 30px;
  border-radius: var(--g-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.g-newsletter-input-group {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: var(--g-radius-sm);
  padding: 4px 16px;
  gap: 12px;
  margin-bottom: 16px;
  color: #4F7A53;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.g-newsletter-input {
  border: none;
  outline: none;
  width: 100%;
  padding: 13px 0;
  font-size: 0.98rem;
  font-family: var(--g-font-sans);
  color: var(--g-text);
  background: transparent;
}
.g-newsletter-input::placeholder {
  color: #8fa390;
}

.g-newsletter-submit {
  width: 100%;
  justify-content: center;
  padding: 14px 20px;
  font-size: 1.05rem;
  font-weight: 800;
  border-radius: var(--g-radius-sm);
  box-shadow: 0 4px 16px rgba(201, 123, 61, 0.35);
}

.g-newsletter-legal-note {
  display: block;
  font-size: 0.75rem;
  color: #8fa390;
  text-align: center;
  margin-top: 14px;
}

/* Responsive */
@media (max-width: 1100px) {
  .g-author-luxury-grid {
    grid-template-columns: 1fr;
  }
  .g-newsletter-card-v4 {
    grid-template-columns: 1fr;
    padding: 36px 28px;
    gap: 32px;
  }
}

/* ==========================================================================
   Master Category Archive & Hub Styles (v4.7)
   ========================================================================== */

/* 1. Category Hero Banner */
.g-cat-hero-banner {
  position: relative;
  width: 100%;
  min-height: 280px;
  background-size: cover;
  background-position: center 40%;
  display: flex;
  align-items: center;
  padding: 40px 0 46px;
  overflow: hidden;
  box-shadow: inset 0 -10px 30px rgba(0, 0, 0, 0.15);
}

.g-cat-hero-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 26, 17, 0.75) 0%, rgba(14, 26, 17, 0.92) 100%);
  z-index: 1;
}

.g-cat-hero-banner__container {
  position: relative;
  z-index: 2;
  color: #fff;
}

.g-cat-breadcrumbs {
  margin-bottom: 14px;
}
.g-cat-breadcrumbs .g-breadcrumbs,
.g-cat-breadcrumbs .g-breadcrumbs a {
  color: #c2d1c2 !important;
}

.g-cat-hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: var(--g-radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #79a87e;
  margin-bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.g-cat-hero-title {
  font-family: var(--g-font-serif);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 10px;
  line-height: 1.15;
}

.g-cat-hero-desc {
  font-size: 1.08rem;
  line-height: 1.6;
  color: #d1ded1;
  max-width: 720px;
  margin: 0;
}

/* 2. Sibling Categories Ribbon Bar */
.g-cat-ribbon-bar {
  background: var(--g-card);
  border-bottom: 1px solid var(--g-border);
  padding: 12px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.g-cat-ribbon-scroll {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.g-cat-ribbon-scroll::-webkit-scrollbar { display: none; }

.g-cat-ribbon-label {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--g-text-light);
  white-space: nowrap;
  margin-right: 6px;
}

.g-cat-ribbon-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--g-radius-full);
  background: var(--g-cream);
  border: 1px solid var(--g-border);
  color: var(--g-text);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.g-cat-ribbon-pill small {
  background: var(--g-card);
  color: var(--g-primary);
  font-size: 0.7rem;
  padding: 1px 6px;
  border-radius: var(--g-radius-full);
  font-weight: 800;
}
.g-cat-ribbon-pill:hover {
  background: var(--g-cream-dark);
  border-color: var(--g-primary);
  color: var(--g-primary);
}
.g-cat-ribbon-pill.is-active {
  background: var(--g-primary);
  border-color: var(--g-primary);
  color: #fff;
}
.g-cat-ribbon-pill.is-active small {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

/* 3. Category Lead Story Card */
.g-cat-lead-card {
  background: var(--g-card);
  border-radius: var(--g-radius-lg);
  overflow: hidden;
  border: 1px solid var(--g-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  margin-bottom: 40px;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
}

.g-cat-lead-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(27, 56, 32, 0.12);
}

.g-cat-lead-card__media {
  position: relative;
  overflow: hidden;
  display: block;
}
.g-cat-lead-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.g-cat-lead-card:hover .g-cat-lead-card__media img {
  transform: scale(1.05);
}

.g-cat-lead-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #94400c;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: var(--g-radius-full);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.g-cat-lead-card__body {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.g-cat-lead-card__title {
  font-family: var(--g-font-serif);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 12px;
  color: var(--g-text);
}
.g-cat-lead-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.g-cat-lead-card:hover .g-cat-lead-card__title a {
  color: var(--g-primary);
}

.g-cat-lead-card__excerpt {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--g-text-muted);
  margin-bottom: 24px;
}

.g-cat-lead-card__footer {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* 4. Category Advisory Box */
.g-cat-advisory-box {
  background: var(--g-cream-dark);
  border-radius: var(--g-radius-md);
  padding: 34px;
  margin-top: 50px;
  border: 1px solid var(--g-border);
}
.g-cat-advisory-box h3 {
  font-size: 1.5rem;
  margin: 6px 0 12px;
}
.g-cat-advisory-box p {
  color: var(--g-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.g-cat-advisory-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.g-advisory-item {
  background: var(--g-card);
  padding: 16px;
  border-radius: var(--g-radius-sm);
  border: 1px solid var(--g-border);
}
.g-advisory-item strong {
  display: block;
  font-size: 0.92rem;
  color: var(--g-primary);
  margin-bottom: 4px;
}
.g-advisory-item small {
  font-size: 0.8rem;
  color: var(--g-text-muted);
}

/* Responsive */
@media (max-width: 992px) {
  .g-cat-lead-card {
    grid-template-columns: 1fr;
  }
  .g-cat-lead-card__media {
    height: 260px;
  }
  .g-cat-lead-card__body {
    padding: 24px;
  }
  .g-cat-advisory-points {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Full-Width Symmetrical Category Hub Layout (Zero Gaps)
   ========================================================================== */

.g-cat-fullwidth-wrap {
  padding-top: 48px;
  padding-bottom: 70px;
}

/* Full Width Category Lead Card */
.g-cat-lead-card--full {
  width: 100%;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  border-radius: var(--g-radius-lg);
  overflow: hidden;
  background: var(--g-card);
  border: 1px solid var(--g-border);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.05);
  margin-bottom: 50px;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
}

.g-cat-lead-card--full:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(27, 56, 32, 0.12);
}

.g-cat-lead-card--full .g-cat-lead-card__media {
  min-height: 380px;
}

.g-cat-lead-card--full .g-cat-lead-card__body {
  padding: 42px 38px;
}

/* 3-Column Symmetrical Grid for Remaining Articles */
.g-cat-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  width: 100%;
}

/* Full Width Advisory Box */
.g-cat-advisory-box--full {
  width: 100%;
  padding: 44px 40px;
  margin-top: 60px;
}

/* Responsive */
@media (max-width: 1100px) {
  .g-cat-grid-3col {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 900px) {
  .g-cat-lead-card--full {
    grid-template-columns: 1fr;
  }
  .g-cat-lead-card--full .g-cat-lead-card__media {
    min-height: 260px;
  }
  .g-cat-lead-card--full .g-cat-lead-card__body {
    padding: 26px 20px;
  }
}

@media (max-width: 640px) {
  .g-cat-grid-3col {
    grid-template-columns: 1fr;
  }
  .g-cat-advisory-box--full {
    padding: 24px 18px;
  }
}

/* ==========================================================================
   Master Article Reading Experience (single.php v5.0)
   ========================================================================== */

.g-article-single {
  padding-top: 36px;
  padding-bottom: 70px;
}

.g-article-breadcrumbs {
  margin-bottom: 22px;
}

/* Article Header */
.g-article-header {
  margin-bottom: 30px;
}
.g-article-header__topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.g-article-title {
  font-family: var(--g-font-serif);
  font-size: clamp(2.4rem, 4.4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.18;
  margin: 0 0 14px;
  color: var(--g-text);
  letter-spacing: -0.025em;
}

.g-article-subtitle {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--g-text-muted);
  margin-bottom: 22px;
  font-weight: 500;
}

.g-article-meta-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 0;
  border-top: 1px solid var(--g-border);
  border-bottom: 1px solid var(--g-border);
  font-size: 0.88rem;
  color: var(--g-text-muted);
}
.g-article-meta__author {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--g-text);
  font-weight: 700;
  text-decoration: none;
}
.g-article-meta__author img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--g-primary);
}

.g-meta-sep {
  color: var(--g-text-light);
}

/* Hero Media */
.g-article-hero {
  margin-bottom: 36px;
  border-radius: var(--g-radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.g-article-hero img {
  width: 100%;
  height: auto;
  display: block;
}

/* Key Takeaways Box */
.g-takeaways {
  background: #f0f7f1;
  border-left: 4px solid var(--g-primary);
  padding: 28px 32px;
  border-radius: 0 var(--g-radius-md) var(--g-radius-md) 0;
  margin: 36px 0;
  box-shadow: 0 4px 14px rgba(79, 122, 83, 0.06);
}
html[data-theme="dark"] .g-takeaways {
  background: #192a1c;
  border-color: #79a87e;
}
.g-takeaways__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.g-takeaways__header h3 {
  font-family: var(--g-font-serif);
  font-size: 1.3rem;
  margin: 0;
  color: var(--g-primary);
}
html[data-theme="dark"] .g-takeaways__header h3 {
  color: #79a87e;
}
.g-takeaways__list {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1rem;
  line-height: 1.5;
}

/* Tip Box */
.g-tip-box {
  background: #fdfaf4;
  border-left: 4px solid var(--g-terracotta);
  padding: 24px 28px;
  border-radius: 0 var(--g-radius-md) var(--g-radius-md) 0;
  margin: 32px 0;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: 0 4px 14px rgba(201, 123, 61, 0.06);
}
html[data-theme="dark"] .g-tip-box {
  background: #2b231a;
  border-color: #C97B3D;
}
.g-tip-box__icon {
  font-size: 1.6rem;
  line-height: 1;
}
.g-tip-box h4 {
  font-family: var(--g-font-serif);
  font-size: 1.15rem;
  margin: 0 0 6px;
  color: var(--g-terracotta);
}
.g-tip-box p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Product Intent Box */
.g-product-box {
  background: var(--g-cream-dark);
  border-radius: var(--g-radius-md);
  padding: 34px 30px;
  margin: 44px 0;
  border: 1px solid var(--g-border);
}
.g-product-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 22px;
}
.g-pros-col, .g-cons-col {
  background: var(--g-card);
  padding: 18px 20px;
  border-radius: var(--g-radius-sm);
  border: 1px solid var(--g-border);
}
.g-pros-title {
  color: var(--g-primary);
  display: block;
  margin-bottom: 10px;
  font-size: 0.95rem;
}
.g-cons-title {
  color: #a00;
  display: block;
  margin-bottom: 10px;
  font-size: 0.95rem;
}
.g-product-pros-cons ul {
  padding-left: 18px;
  margin: 0;
  font-size: 0.92rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.g-product-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.g-product-price {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--g-text);
}
.g-affiliate-note {
  display: block;
  font-size: 0.75rem;
  color: var(--g-text-light);
  margin-top: 12px;
}

/* Pinterest Banner */
.g-pin-banner {
  background: var(--g-card);
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius-md);
  padding: 24px;
  margin: 44px 0;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}
.g-pin-banner__media {
  aspect-ratio: 2/3;
  border-radius: 8px;
  overflow: hidden;
}
.g-pin-banner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.g-pin-banner__info h3 {
  font-family: var(--g-font-serif);
  font-size: 1.35rem;
  margin: 4px 0 8px;
}
.g-pin-banner__info p {
  font-size: 0.95rem;
  color: var(--g-text-muted);
  margin-bottom: 16px;
}
.g-pin-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e60023;
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--g-radius-full);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s;
}
.g-pin-share-btn:hover {
  transform: translateY(-2px);
  color: #fff;
}

/* Author Box */
.g-article-author-box {
  background: var(--g-card);
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius-lg);
  padding: 32px 28px;
  margin: 48px 0;
  display: flex;
  gap: 24px;
  align-items: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}
.g-article-author-box__avatar {
  flex-shrink: 0;
}
.g-article-author-box__avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--g-primary);
}
.g-article-author-box__name {
  font-family: var(--g-font-serif);
  font-size: 1.35rem;
  margin: 2px 0 6px;
}
.g-article-author-box__name a {
  color: inherit;
  text-decoration: none;
}
.g-article-author-box__bio {
  font-size: 0.95rem;
  color: var(--g-text-muted);
  line-height: 1.55;
  margin-bottom: 10px;
}
.g-article-author-box__link {
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--g-primary);
  text-decoration: none;
}

@media (max-width: 768px) {
  .g-product-pros-cons { grid-template-columns: 1fr; }
  .g-pin-banner { grid-template-columns: 1fr; }
  .g-article-author-box { flex-direction: column; text-align: center; }
}

/* ==========================================================================
   Master Centered Reading Layout (single.php v5.1 - Zero Voids)
   ========================================================================== */

.g-article-centered-wrap {
  max-width: 840px;
  margin: 0 auto;
  width: 100%;
}

.g-article-content-wrapper {
  width: 100%;
}

.g-meta-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--g-primary);
  display: block;
}

/* In-Article Calculator */
.g-calculator--in-article {
  background: var(--g-cream-dark);
  border-radius: var(--g-radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--g-border);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.03);
}

/* Comments Area Centered */
.comments-area {
  margin-top: 50px;
  padding-top: 36px;
  border-top: 1px solid var(--g-border);
}
.comment-respond {
  background: var(--g-card);
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius-md);
  padding: 32px;
}
.comment-form-comment textarea {
  width: 100%;
  border-radius: var(--g-radius-sm);
  border: 1px solid var(--g-border);
  background: var(--g-cream);
  padding: 14px;
  font-family: var(--g-font-sans);
  font-size: 0.95rem;
  color: var(--g-text);
  outline: none;
}
.form-submit input[type="submit"] {
  background: var(--g-primary);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: var(--g-radius-full);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.form-submit input[type="submit"]:hover {
  background: var(--g-primary-dark);
  transform: translateY(-2px);
}

/* ==========================================================================
   Über uns & Author Profile Hub Styles (v5.2)
   ========================================================================== */

/* 1. Über uns Pillars & Process */
.g-about-pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 30px 0 44px;
}
.g-pillar-card {
  background: var(--g-card);
  padding: 28px;
  border-radius: var(--g-radius-md);
  border: 1px solid var(--g-border);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}
.g-pillar-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 12px;
}
.g-pillar-card h4 {
  font-family: var(--g-font-serif);
  font-size: 1.25rem;
  margin: 0 0 8px;
  color: var(--g-primary);
}
.g-pillar-card p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--g-text-muted);
  margin: 0;
}

.g-process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}
.g-process-step {
  background: var(--g-card);
  padding: 18px 16px;
  border-radius: var(--g-radius-sm);
  border: 1px solid var(--g-border);
}
.g-step-num {
  display: block;
  font-family: var(--g-font-serif);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--g-terracotta);
  margin-bottom: 6px;
}
.g-process-step strong {
  display: block;
  font-size: 0.92rem;
  color: var(--g-text);
  margin-bottom: 4px;
}
.g-process-step small {
  font-size: 0.8rem;
  color: var(--g-text-muted);
  line-height: 1.4;
  display: block;
}

/* 2. Author Profile Hero Banner */
.g-author-hero-banner {
  background: var(--g-cream-dark);
  border-bottom: 1px solid var(--g-border);
  padding: 36px 0 44px;
}
.g-author-hero-card {
  display: flex;
  gap: 32px;
  align-items: center;
}
.g-author-hero-card__avatar {
  position: relative;
  flex-shrink: 0;
  width: 124px;
  height: 124px;
}
.g-author-hero-card__avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3.5px solid var(--g-primary);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  display: block;
}
.g-author-hero-card__badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  background: #94400c;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--g-radius-full);
  border: 2px solid #fff;
  line-height: 1.2;
}
.g-author-hero-card__name {
  font-family: var(--g-font-serif);
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 700;
  margin: 4px 0 10px;
  color: var(--g-text);
}
.g-author-hero-card__bio {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--g-text-muted);
  margin-bottom: 14px;
  max-width: 780px;
}
.g-author-hero-card__stats {
  display: flex;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--g-primary);
  font-weight: 700;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .g-about-pillars-grid { grid-template-columns: 1fr; }
  .g-process-steps { grid-template-columns: 1fr 1fr; }
  .g-author-hero-card { flex-direction: column; text-align: center; }
  .g-author-hero-card__stats { justify-content: center; }
}

/* ==========================================================================
   Legal, Contact & Universal Pages (v5.3)
   ========================================================================== */

.g-legal-card, .g-page-card {
  background: var(--g-card);
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius-lg);
  padding: 48px 44px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.03);
}

.g-contact-card {
  background: var(--g-card);
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius-lg);
  padding: 48px 44px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.03);
}

.g-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 44px;
}

.g-contact-info h3 {
  font-family: var(--g-font-serif);
  font-size: 1.6rem;
  margin: 6px 0 14px;
}

.g-contact-details {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 0.95rem;
}

.g-contact-item {
  background: var(--g-cream);
  padding: 14px 18px;
  border-radius: var(--g-radius-sm);
  border: 1px solid var(--g-border);
}
.g-contact-item strong {
  display: block;
  color: var(--g-primary);
  margin-bottom: 2px;
}

.g-form-group {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 700;
}
.g-form-group input,
.g-form-group select,
.g-form-group textarea {
  padding: 12px 14px;
  border-radius: var(--g-radius-sm);
  border: 1px solid var(--g-border);
  background: var(--g-cream);
  font-family: var(--g-font-sans);
  font-size: 0.95rem;
  color: var(--g-text);
  outline: none;
  transition: border-color 0.2s;
}
.g-form-group input:focus,
.g-form-group select:focus,
.g-form-group textarea:focus {
  border-color: var(--g-primary);
}

@media (max-width: 900px) {
  .g-contact-grid { grid-template-columns: 1fr; }
  .g-legal-card, .g-page-card, .g-contact-card { padding: 28px 20px; }
}

/* ==========================================================================
   Curated Collection Hub Styles (v5.6)
   ========================================================================== */

.g-collection-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.g-collection-step-card {
  background: var(--g-card);
  padding: 22px 20px;
  border-radius: var(--g-radius-sm);
  border: 1px solid var(--g-border);
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.g-collection-step-card:hover {
  transform: translateY(-3px);
  border-color: var(--g-primary);
}

.g-coll-step-num {
  font-family: var(--g-font-serif);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--g-terracotta);
  line-height: 1;
}

.g-collection-step-card strong {
  display: block;
  font-size: 0.95rem;
  color: var(--g-text);
  margin-bottom: 4px;
}

.g-collection-step-card small {
  font-size: 0.82rem;
  color: var(--g-text-muted);
  line-height: 1.45;
  display: block;
}

@media (max-width: 1100px) {
  .g-collection-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .g-collection-steps-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Master 2-Column Article Layout with Sticky Sidebar (v5.7)
   ========================================================================== */

.g-article-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 48px;
  align-items: start;
  width: 100%;
}

.g-article-main-col {
  min-width: 0;
  width: 100%;
}

/* Sticky Desktop Sidebar */
.g-sidebar {
  position: -webkit-sticky;
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  z-index: 10;
}

.g-sidebar-widget,
.g-sidebar .g-calculator,
.g-sidebar .g-widget {
  background: var(--g-card);
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius-md);
  padding: 26px 22px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}

.g-sidebar-widget__title {
  font-family: var(--g-font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--g-text);
  margin: 0 0 16px;
  position: relative;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--g-border);
}

.g-sidebar-author-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.g-sidebar-author-img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid var(--g-primary);
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.g-sidebar-cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 700;
}

.g-sidebar-cat-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--g-text);
  text-decoration: none;
  transition: color 0.2s;
  padding: 4px 0;
}
.g-sidebar-cat-list a:hover {
  color: var(--g-primary);
}

.g-sidebar-cat-count {
  background: var(--g-cream);
  color: var(--g-primary);
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: var(--g-radius-full);
  font-weight: 800;
  border: 1px solid var(--g-border);
}

.g-sidebar-newsletter-widget {
  background: linear-gradient(135deg, #142817 0%, #1e3d23 100%) !important;
  color: #fff !important;
  border-radius: var(--g-radius-md);
  padding: 26px 22px;
  box-shadow: 0 8px 24px rgba(20, 40, 23, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Responsive Behavior */
@media (max-width: 1080px) {
  .g-article-layout-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .g-sidebar {
    position: static;
  }
}

/* ==========================================================================
   Master Editorial Boxes Upgrade (v5.8 - Luxury Boxes Suite)
   ========================================================================== */

/* 1. Key Takeaways Box (Das Wichtigste auf einen Blick) */
.g-takeaways {
  background: linear-gradient(135deg, #f2f7f3 0%, #e8f2ea 100%);
  border: 1px solid rgba(79, 122, 83, 0.22);
  border-left: 5px solid var(--g-primary);
  padding: 30px 34px;
  border-radius: var(--g-radius-md);
  margin: 36px 0;
  box-shadow: 0 6px 20px rgba(79, 122, 83, 0.07);
  position: relative;
  overflow: hidden;
}

html[data-theme="dark"] .g-takeaways {
  background: linear-gradient(135deg, #152718 0%, #192e1d 100%);
  border-color: rgba(121, 168, 126, 0.3);
  border-left-color: #79a87e;
}

.g-takeaways__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(79, 122, 83, 0.15);
  padding-bottom: 10px;
}

.g-takeaways__icon {
  font-size: 1.5rem;
  line-height: 1;
}

.g-takeaways__header h3 {
  font-family: var(--g-font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
  color: var(--g-primary);
}

html[data-theme="dark"] .g-takeaways__header h3 {
  color: #8dbd92;
}

.g-takeaways__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--g-text);
}

.g-takeaways__list li {
  position: relative;
  padding-left: 28px;
}

.g-takeaways__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  font-weight: 800;
  color: var(--g-primary);
  font-size: 1.1rem;
}

html[data-theme="dark"] .g-takeaways__list li::before {
  color: #79a87e;
}

/* 2. Praxistipp Box (Tipp der Redaktion) */
.g-tip-box {
  background: linear-gradient(135deg, #fdf8f2 0%, #faeee0 100%);
  border: 1px solid rgba(201, 123, 61, 0.25);
  border-left: 5px solid var(--g-terracotta);
  padding: 26px 30px;
  border-radius: var(--g-radius-md);
  margin: 34px 0;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  box-shadow: 0 6px 20px rgba(201, 123, 61, 0.08);
}

html[data-theme="dark"] .g-tip-box {
  background: linear-gradient(135deg, #2a2016 0%, #332417 100%);
  border-color: rgba(201, 123, 61, 0.35);
  border-left-color: #C97B3D;
}

.g-tip-box__icon {
  font-size: 1.8rem;
  line-height: 1;
  background: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(201, 123, 61, 0.15);
  border: 1px solid rgba(201, 123, 61, 0.2);
}

html[data-theme="dark"] .g-tip-box__icon {
  background: #1c150e;
}

.g-tip-box h4 {
  font-family: var(--g-font-serif);
  font-size: 1.25rem;
  margin: 0 0 6px;
  color: var(--g-terracotta);
  font-weight: 700;
}

.g-tip-box p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--g-text);
}

/* 3. Product Recommendation Box */
.g-product-box {
  background: var(--g-card);
  border: 1.5px solid var(--g-border);
  border-radius: var(--g-radius-lg);
  padding: 36px 32px;
  margin: 46px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  position: relative;
}

.g-product-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 20px 0 24px;
}

.g-pros-col {
  background: #f4f8f4;
  border: 1px solid rgba(79, 122, 83, 0.2);
  padding: 20px 22px;
  border-radius: var(--g-radius-sm);
}

html[data-theme="dark"] .g-pros-col {
  background: #162618;
  border-color: rgba(121, 168, 126, 0.25);
}

.g-cons-col {
  background: #faf4f4;
  border: 1px solid rgba(180, 60, 60, 0.2);
  padding: 20px 22px;
  border-radius: var(--g-radius-sm);
}

html[data-theme="dark"] .g-cons-col {
  background: #281818;
  border-color: rgba(220, 80, 80, 0.25);
}

.g-pros-title {
  color: var(--g-primary);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 1rem;
  font-weight: 800;
}

.g-cons-title {
  color: #b02a2a;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 1rem;
  font-weight: 800;
}

.g-product-pros-cons ul {
  padding-left: 20px;
  margin: 0;
  font-size: 0.94rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
  line-height: 1.45;
}

.g-product-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--g-cream);
  padding: 16px 20px;
  border-radius: var(--g-radius-sm);
  border: 1px solid var(--g-border);
  gap: 16px;
  flex-wrap: wrap;
}

/* 4. Table of Contents Box */
.g-toc {
  background: var(--g-cream-dark);
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius-md);
  padding: 24px 28px;
  margin: 32px 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02);
}

.g-toc__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--g-font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--g-primary);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--g-border);
}

.g-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.g-toc__list a {
  color: var(--g-text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.g-toc__list a::before {
  content: "→";
  color: var(--g-terracotta);
  font-weight: 800;
}

.g-toc__list a:hover {
  color: var(--g-primary);
  transform: translateX(4px);
}

/* ==========================================================================
   Responsive 2-Column Sidebar Fix for all Laptops & Browsers (v5.9)
   ========================================================================== */

.g-article-layout-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 330px !important;
  gap: 36px !important;
  align-items: start !important;
  width: 100% !important;
}

.g-article-main-col {
  min-width: 0 !important;
  width: 100% !important;
}

.g-sidebar {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 96px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 24px !important;
  width: 100% !important;
  max-width: 330px !important;
}

/* Only collapse on small tablets and mobile phones (< 860px) */
@media (max-width: 860px) {
  .g-article-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }
  .g-sidebar {
    position: static !important;
    max-width: 100% !important;
  }
}

/* ==========================================================================
   Master Luxury Article Meta Box (v6.0)
   ========================================================================== */

.g-article-meta-box {
  background: var(--g-card);
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius-lg);
  padding: 20px 26px;
  margin: 26px 0 34px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.03);
  position: relative;
}

html[data-theme="dark"] .g-article-meta-box {
  background: #172a1a;
  border-color: rgba(121, 168, 126, 0.25);
}

.g-meta-box__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}

.g-meta-capsule {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
}

.g-meta-capsule--author {
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s;
}
.g-meta-capsule--author:hover {
  transform: translateY(-2px);
}
.g-meta-capsule--author:hover .g-meta-value {
  color: var(--g-primary);
}

.g-meta-author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid var(--g-primary);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  display: block;
}

.g-meta-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--g-text-light);
  line-height: 1.2;
  margin-bottom: 2px;
}

.g-meta-value {
  display: block;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--g-text);
  line-height: 1.2;
}

.g-meta-icon {
  font-size: 1.3rem;
  line-height: 1;
}

.g-meta-box__trust-bar {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--g-border);
  font-size: 0.8rem;
  color: var(--g-primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
html[data-theme="dark"] .g-meta-box__trust-bar {
  color: #8dbd92;
}

@media (max-width: 900px) {
  .g-meta-box__main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .g-meta-capsule--author {
    grid-column: span 2;
  }
}

@media (max-width: 500px) {
  .g-meta-box__main {
    grid-template-columns: 1fr;
  }
  .g-meta-capsule--author {
    grid-column: span 1;
  }
}

/* ==========================================================================
   Master 2-Column Permanent Sidebar & Meta Box (v6.2)
   ========================================================================== */

.g-article-layout-grid {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 42px !important;
  width: 100% !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
}

.g-article-main-col {
  flex: 1 1 0% !important;
  min-width: 0 !important;
  max-width: calc(100% - 372px) !important;
  width: 100% !important;
}

.g-sidebar {
  flex: 0 0 330px !important;
  width: 330px !important;
  max-width: 330px !important;
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 92px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 24px !important;
  z-index: 10 !important;
}

@media (max-width: 860px) {
  .g-article-layout-grid {
    flex-direction: column !important;
    gap: 36px !important;
  }
  .g-article-main-col {
    max-width: 100% !important;
  }
  .g-sidebar {
    flex: 1 1 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    position: static !important;
  }
}

/* ==========================================================================
   Full-Width Panoramic Top Article Hero Image (v6.3)
   ========================================================================== */

.g-article-hero-panoramic {
  position: relative;
  width: 100%;
  min-height: 420px;
  max-height: 520px;
  height: 52vw;
  overflow: hidden;
  background: #122416;
  box-shadow: inset 0 -10px 30px rgba(0, 0, 0, 0.2);
}

.g-article-hero-panoramic__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
  transition: transform 0.6s ease;
}
.g-article-hero-panoramic:hover .g-article-hero-panoramic__media {
  transform: scale(1.02);
}

.g-article-hero-panoramic__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 26, 17, 0.35) 0%, rgba(14, 26, 17, 0.75) 100%);
}

.g-article-hero-panoramic__container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: flex-start;
  padding-top: 24px;
}

.g-article-hero-breadcrumbs .g-breadcrumbs,
.g-article-hero-breadcrumbs .g-breadcrumbs a {
  color: #e2ede3 !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

/* ==========================================================================
   Master Luxury Comments & "Leave a Reply" Redesign (v6.4)
   ========================================================================== */

.g-comments-area {
  margin-top: 54px;
  padding-top: 40px;
  border-top: 1.5px solid var(--g-border);
}

.g-comments-head {
  margin-bottom: 24px;
}

.g-comments-title {
  font-family: var(--g-font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--g-text);
  margin: 4px 0 0;
}

/* Leave a Reply Box Card */
.g-comment-respond-card,
.comment-respond {
  background: var(--g-card) !important;
  border: 1.5px solid var(--g-border) !important;
  border-radius: var(--g-radius-lg) !important;
  padding: 36px 32px !important;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.03) !important;
  margin-top: 40px !important;
}

html[data-theme="dark"] .g-comment-respond-card,
html[data-theme="dark"] .comment-respond {
  background: #172a1a !important;
  border-color: rgba(121, 168, 126, 0.25) !important;
}

.g-reply-head {
  margin-bottom: 24px;
}

.g-reply-title {
  font-family: var(--g-font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--g-text);
  margin: 4px 0 6px;
}

.g-reply-sub {
  font-size: 0.94rem;
  color: var(--g-text-muted);
  margin: 0;
  line-height: 1.5;
}

.logged-in-as {
  font-size: 0.88rem;
  color: var(--g-text-muted);
  margin-bottom: 18px;
}
.logged-in-as a {
  color: var(--g-primary);
  font-weight: 600;
}

.g-comment-fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.g-form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--g-text);
}

.g-comment-input,
.g-comment-textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100% !important;
  border: 1.5px solid var(--g-border) !important;
  border-radius: var(--g-radius-sm) !important;
  padding: 14px 18px !important;
  font-size: 0.96rem !important;
  font-family: inherit !important;
  color: var(--g-text) !important;
  background: var(--g-cream) !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
}

.g-comment-input:focus,
.g-comment-textarea:focus,
.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--g-primary) !important;
  background: #ffffff !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(79, 122, 83, 0.14) !important;
}

html[data-theme="dark"] .g-comment-input:focus,
html[data-theme="dark"] .g-comment-textarea:focus,
html[data-theme="dark"] .comment-form input:focus,
html[data-theme="dark"] .comment-form textarea:focus {
  background: #1e3621 !important;
}

.g-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--g-text-muted);
  cursor: pointer;
  margin-top: 8px;
}

.g-btn-submit-comment,
.comment-form input[type="submit"] {
  background: var(--g-primary) !important;
  color: #ffffff !important;
  border: none !important;
  padding: 14px 32px !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  border-radius: var(--g-radius-full) !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  box-shadow: 0 4px 14px rgba(79, 122, 83, 0.25) !important;
  transition: all 0.2s ease !important;
}

.g-btn-submit-comment:hover,
.comment-form input[type="submit"]:hover {
  background: #142817 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(79, 122, 83, 0.35) !important;
}

/* Comment List Threads */
.g-comment-list {
  list-style: none;
  margin: 28px 0 36px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.g-comment-card {
  display: flex;
  gap: 18px;
  background: var(--g-cream);
  padding: 22px 24px;
  border-radius: var(--g-radius-md);
  border: 1px solid var(--g-border);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.02);
}

.g-comment-card__avatar img {
  border-radius: 50%;
  width: 48px;
  height: 48px;
  object-fit: cover;
  border: 2px solid var(--g-primary);
}

.g-comment-card__content {
  flex: 1;
}

.g-comment-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.g-comment-card__author-name {
  font-family: var(--g-font-serif);
  font-size: 1.1rem;
  color: var(--g-text);
}

.g-comment-card__date {
  font-size: 0.8rem;
  color: var(--g-text-light);
}

.g-comment-card__text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--g-text);
  margin-bottom: 10px;
}

.g-comment-card__reply a {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--g-primary);
  text-decoration: none;
  transition: color 0.2s;
}
.g-comment-card__reply a:hover {
  color: var(--g-terracotta);
}

@media (max-width: 680px) {
  .g-comment-fields-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .g-comment-respond-card,
  .comment-respond {
    padding: 24px 18px !important;
  }
}

/* ==========================================================================
   Master Gallery & Ideas Listicle Showcase (v6.5)
   ========================================================================== */

.g-gallery-ideas-showcase {
  margin: 48px 0;
}

.g-gallery-ideas-heading {
  font-family: var(--g-font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--g-text);
  margin: 6px 0 0;
}

.g-gallery-ideas-list {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin-top: 24px;
}

.g-idea-card {
  background: var(--g-card);
  border: 1.5px solid var(--g-border);
  border-radius: var(--g-radius-lg);
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

html[data-theme="dark"] .g-idea-card {
  background: #172a1a;
  border-color: rgba(121, 168, 126, 0.25);
}

.g-idea-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.g-idea-card__header {
  margin-bottom: 18px;
}

.g-idea-card__num {
  display: inline-block;
  background: #eef6ef;
  color: var(--g-primary);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: var(--g-radius-full);
  margin-bottom: 8px;
  border: 1px solid rgba(79, 122, 83, 0.15);
}

html[data-theme="dark"] .g-idea-card__num {
  background: #203d24;
  color: #8dbd92;
}

.g-idea-card__title {
  font-family: var(--g-font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--g-text);
  margin: 0;
}

.g-idea-card__media {
  border-radius: var(--g-radius-md);
  overflow: hidden;
  margin-bottom: 18px;
  aspect-ratio: 16/10;
  background: #1e3621;
}

.g-idea-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.g-idea-card:hover .g-idea-card__media img {
  transform: scale(1.025);
}

.g-idea-card__body p {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--g-text);
  margin: 0;
}

@media (max-width: 600px) {
  .g-idea-card {
    padding: 20px 16px;
  }
  .g-idea-card__title {
    font-size: 1.25rem;
  }
}

/* ==========================================================================
   Master Reading Progress, Toasts, Search Hero & Print Mode (v6.6)
   ========================================================================== */

/* 1. Reading Progress Bar */
.g-reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  width: 0%;
  background: linear-gradient(90deg, var(--g-primary) 0%, var(--g-terracotta) 100%);
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 1px 4px rgba(79, 122, 83, 0.4);
}

/* 2. Toast Notifications */
.g-toast-container {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.g-toast-item {
  background: #142817;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--g-radius-full);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  font-size: 0.92rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.g-toast-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.g-toast-icon {
  font-size: 1.1rem;
  line-height: 1;
}

/* 3. Search Hero Banner */
.g-search-hero {
  background: linear-gradient(135deg, #142817 0%, #1c3820 100%);
  color: #fff;
  padding: 54px 0 46px;
  text-align: center;
  position: relative;
}

.g-search-hero__title {
  font-family: var(--g-font-serif);
  font-size: 2.4rem;
  color: #fff;
  margin: 8px 0 10px;
}

.g-search-hero__sub {
  color: #c2d6c4;
  font-size: 1.05rem;
  margin: 0 auto 28px;
  max-width: 600px;
}

.g-search-hero__form {
  max-width: 580px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
  background: #fff;
  padding: 6px;
  border-radius: var(--g-radius-full);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.g-search-hero__input {
  flex: 1;
  border: none !important;
  background: transparent !important;
  padding: 10px 18px !important;
  font-size: 1rem !important;
  outline: none !important;
}

.g-search-hero__btn {
  border-radius: var(--g-radius-full) !important;
  padding: 10px 24px !important;
}

.g-search-cat-chips {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.g-search-cat-chips__label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--g-text-muted);
}

.g-search-chip {
  background: var(--g-cream);
  color: var(--g-text);
  padding: 6px 16px;
  border-radius: var(--g-radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--g-border);
  transition: all 0.2s;
}

.g-search-chip:hover {
  background: var(--g-primary);
  color: #fff;
  border-color: var(--g-primary);
}

/* 4. High-End Print Stylesheet */
@media print {
  body {
    background: #fff !important;
    color: #000 !important;
    font-size: 12pt !important;
    line-height: 1.5 !important;
  }

  .g-header,
  .g-footer,
  .g-sidebar,
  .g-share-rail,
  .g-reading-progress,
  .g-toast-container,
  .g-bookmark-btn,
  .g-comments-area,
  .g-related-section,
  #g-search-modal,
  #g-drawer {
    display: none !important;
  }

  .g-container,
  .g-article-layout-grid,
  .g-article-main-col {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
  }

  .g-article-hero-panoramic {
    height: 250px !important;
    max-height: 250px !important;
  }

  .g-takeaways,
  .g-tip-box,
  .g-idea-card {
    border: 1pt solid #ccc !important;
    page-break-inside: avoid;
    box-shadow: none !important;
  }

  a[href]::after {
    content: "" !important;
  }
}

/* ==========================================================================
   Master Luxury Author Bio Box Upgrade (v6.8)
   ========================================================================== */

.g-article-author-box {
  background: linear-gradient(135deg, var(--g-cream-dark) 0%, var(--g-cream) 100%) !important;
  border: 1.5px solid var(--g-border) !important;
  border-radius: var(--g-radius-lg) !important;
  padding: 34px 36px !important;
  margin: 48px 0 36px !important;
  display: flex !important;
  gap: 26px !important;
  align-items: flex-start !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.03) !important;
  position: relative !important;
}

html[data-theme="dark"] .g-article-author-box {
  background: linear-gradient(135deg, #162919 0%, #1a301e 100%) !important;
  border-color: rgba(121, 168, 126, 0.25) !important;
}

.g-article-author-box__avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.g-article-author-box__avatar {
  width: 88px !important;
  height: 88px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 3px solid var(--g-primary) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12) !important;
  display: block;
}

.g-article-author-box__badge-check {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--g-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2.5px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.g-article-author-box__body {
  flex: 1;
  min-width: 0;
}

.g-article-author-box__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 6px;
}

.g-author-specialty-badge {
  background: rgba(79, 122, 83, 0.12);
  color: var(--g-primary);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: var(--g-radius-full);
  border: 1px solid rgba(79, 122, 83, 0.2);
}

html[data-theme="dark"] .g-author-specialty-badge {
  background: rgba(121, 168, 126, 0.2);
  color: #8dbd92;
  border-color: rgba(121, 168, 126, 0.3);
}

.g-article-author-box__name {
  font-family: var(--g-font-serif) !important;
  font-size: 1.65rem !important;
  font-weight: 700 !important;
  color: var(--g-text) !important;
  margin: 0 0 8px !important;
}

.g-article-author-box__name a {
  color: inherit !important;
  text-decoration: none !important;
  transition: color 0.2s;
}
.g-article-author-box__name a:hover {
  color: var(--g-primary) !important;
}

.g-article-author-box__bio {
  font-size: 1rem !important;
  line-height: 1.65 !important;
  color: var(--g-text-muted) !important;
  margin: 0 0 20px !important;
}

.g-article-author-box__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--g-border);
  padding-top: 16px;
  flex-wrap: wrap;
  gap: 16px;
}

.g-article-author-box__stats {
  display: flex;
  gap: 18px;
  font-size: 0.86rem;
  color: var(--g-text);
  font-weight: 600;
}

.g-article-author-box__btn {
  padding: 10px 22px !important;
  font-size: 0.88rem !important;
  border-radius: var(--g-radius-full) !important;
  box-shadow: 0 4px 12px rgba(79, 122, 83, 0.2) !important;
}

@media (max-width: 700px) {
  .g-article-author-box {
    flex-direction: column !important;
    padding: 24px 20px !important;
    gap: 18px !important;
  }
  .g-article-author-box__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .g-article-author-box__btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Master Step-by-Step DIY Guide Styling for Ordered Lists (v6.9)
   ========================================================================== */

.g-article-body ol {
  list-style: none !important;
  counter-reset: g-step-counter;
  padding: 0 !important;
  margin: 28px 0 36px !important;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.g-article-body ol > li {
  counter-increment: g-step-counter;
  position: relative;
  background: var(--g-card);
  border: 1.5px solid var(--g-border);
  border-left: 5px solid var(--g-primary);
  border-radius: var(--g-radius-md);
  padding: 20px 24px 20px 72px;
  font-size: 1.02rem;
  line-height: 1.6;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

html[data-theme="dark"] .g-article-body ol > li {
  background: #172a1a;
  border-color: rgba(121, 168, 126, 0.25);
  border-left-color: #79a87e;
}

.g-article-body ol > li:hover {
  transform: translateX(4px);
  border-color: var(--g-primary);
}

.g-article-body ol > li::before {
  content: counter(g-step-counter, decimal-leading-zero);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--g-primary);
  color: #ffffff;
  font-family: var(--g-font-sans);
  font-size: 0.92rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(79, 122, 83, 0.3);
}

html[data-theme="dark"] .g-article-body ol > li::before {
  background: #27562c;
  color: #d4ebd6;
}

.g-article-body ol > li strong {
  color: var(--g-primary);
  font-size: 1.08rem;
  font-family: var(--g-font-serif);
  display: block;
  margin-bottom: 4px;
}

html[data-theme="dark"] .g-article-body ol > li strong {
  color: #8dbd92;
}

/* ==========================================================================
   Master Step-by-Step DIY Guide Cards (v7.0)
   ========================================================================== */

.g-diy-steps-showcase {
  margin: 48px 0;
}

.g-diy-steps-heading {
  font-family: var(--g-font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--g-text);
  margin: 6px 0 0;
}

.g-diy-steps-list {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin-top: 24px;
}

.g-step-card {
  background: var(--g-card);
  border: 1.5px solid var(--g-border);
  border-left: 6px solid var(--g-primary);
  border-radius: var(--g-radius-lg);
  padding: 32px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

html[data-theme="dark"] .g-step-card {
  background: #172a1a;
  border-color: rgba(121, 168, 126, 0.25);
  border-left-color: #79a87e;
}

.g-step-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.g-step-card__header {
  margin-bottom: 18px;
}

.g-step-card__badge {
  display: inline-block;
  background: var(--g-primary);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: var(--g-radius-full);
  margin-bottom: 8px;
  box-shadow: 0 2px 6px rgba(79, 122, 83, 0.25);
}

html[data-theme="dark"] .g-step-card__badge {
  background: #2b5c30;
  color: #d6edd8;
}

.g-step-card__title {
  font-family: var(--g-font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--g-text);
  margin: 0;
}

.g-step-card__media {
  border-radius: var(--g-radius-md);
  overflow: hidden;
  margin-bottom: 18px;
  aspect-ratio: 16/10;
  background: #122416;
}

.g-step-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.g-step-card:hover .g-step-card__media img {
  transform: scale(1.025);
}

.g-step-card__body p {
  font-size: 1.04rem;
  line-height: 1.65;
  color: var(--g-text);
  margin: 0;
}

.g-step-card__tools {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--g-border);
  font-size: 0.88rem;
  color: var(--g-text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.g-step-card__tools strong {
  color: var(--g-terracotta);
  font-weight: 700;
}

@media (max-width: 600px) {
  .g-step-card {
    padding: 22px 18px;
  }
  .g-step-card__title {
    font-size: 1.3rem;
  }
}

/* ==========================================================================
   Master Panoramic Hero Aesthetic Enhancements (v7.1)
   ========================================================================== */

.g-article-hero-panoramic {
  position: relative !important;
  width: 100% !important;
  height: 480px !important;
  min-height: 420px !important;
  max-height: 540px !important;
  overflow: hidden !important;
  background: #112013 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}

.g-article-hero-panoramic__media {
  position: absolute !important;
  inset: 0 !important;
  background-size: cover !important;
  background-position: center 40% !important;
  background-repeat: no-repeat !important;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.g-article-hero-panoramic:hover .g-article-hero-panoramic__media {
  transform: scale(1.035) !important;
}

.g-article-hero-panoramic__overlay {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(
    180deg,
    rgba(14, 26, 17, 0.45) 0%,
    rgba(14, 26, 17, 0.05) 40%,
    rgba(14, 26, 17, 0.15) 75%,
    rgba(14, 26, 17, 0.6) 100%
  ) !important;
}

.g-article-hero-panoramic__container {
  position: relative !important;
  z-index: 3 !important;
  height: 100% !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  padding-top: 24px !important;
}

/* Frosted Glass Breadcrumbs Pill */
.g-article-hero-glass-pill {
  background: rgba(14, 28, 16, 0.68) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: var(--g-radius-full) !important;
  padding: 6px 18px !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
  transition: background 0.2s ease !important;
}

.g-article-hero-glass-pill:hover {
  background: rgba(14, 28, 16, 0.85) !important;
}

.g-article-hero-breadcrumbs .g-breadcrumbs,
.g-article-hero-breadcrumbs .g-breadcrumbs a {
  color: #f0f7f1 !important;
  font-size: 0.84rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6) !important;
}

.g-article-hero-breadcrumbs .g-breadcrumbs a:hover {
  color: #C97B3D !important;
}

/* Subtle Photo Credit Badge */
.g-article-hero-credit {
  align-self: flex-end !important;
  margin-bottom: 24px !important;
  background: rgba(0, 0, 0, 0.45) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  padding: 4px 14px !important;
  border-radius: var(--g-radius-full) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

/* Bottom Gradient Blend into Page Background */
.g-article-hero-bottom-blend {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 48px !important;
  background: linear-gradient(180deg, transparent 0%, var(--g-bg) 100%) !important;
  z-index: 2 !important;
  pointer-events: none !important;
}

/* ==========================================================================
   Floating Back to Top Button (v7.3)
   ========================================================================== */

.g-back-to-top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--g-primary);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.2);
  font-size: 1.3rem;
  font-weight: 800;
  cursor: pointer;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.g-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.g-back-to-top:hover {
  background: #94400c;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(201, 123, 61, 0.35);
}

/* ==========================================================================
   Master Google AdSense & Display Advertising Design System (v7.5)
   ========================================================================== */

.g-ad-container {
  margin: 32px auto;
  text-align: center;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  clear: both;
}

.g-ad-disclosure {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--g-text-light);
  margin-bottom: 6px;
  display: block;
  font-weight: 600;
}

html[data-theme="dark"] .g-ad-disclosure {
  color: #79a87e;
}

.g-ad-slot-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  overflow: hidden;
}

/* Luxury AdSense Visual Placeholder (Test Mode) */
.g-ad-placeholder {
  background: linear-gradient(135deg, rgba(79, 122, 83, 0.05) 0%, rgba(201, 123, 61, 0.05) 100%);
  border: 2px dashed rgba(79, 122, 83, 0.3);
  border-radius: var(--g-radius-md);
  padding: 24px 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

html[data-theme="dark"] .g-ad-placeholder {
  background: rgba(20, 42, 24, 0.6);
  border-color: rgba(121, 168, 126, 0.3);
}

.g-ad-placeholder:hover {
  border-color: var(--g-terracotta);
  background: linear-gradient(135deg, rgba(79, 122, 83, 0.08) 0%, rgba(201, 123, 61, 0.08) 100%);
}

.g-ad-placeholder__badge {
  background: #142817;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: var(--g-radius-full);
}

html[data-theme="dark"] .g-ad-placeholder__badge {
  background: #27562c;
  color: #d6edd8;
}

.g-ad-placeholder__title {
  font-family: var(--g-font-serif);
  font-size: 1.05rem;
  color: var(--g-text);
  margin-top: 2px;
}

.g-ad-placeholder__dim {
  font-size: 0.82rem;
  color: var(--g-primary);
  font-weight: 700;
}

html[data-theme="dark"] .g-ad-placeholder__dim {
  color: #8dbd92;
}

.g-ad-placeholder__tip {
  font-size: 0.76rem;
  color: var(--g-text-muted);
}

/* Slot Specific Positioning */
.g-ad--header {
  max-width: 1000px;
  padding: 18px 24px 0;
  margin: 0 auto;
}

.g-ad--sidebar {
  margin: 0 0 28px;
  width: 100%;
}

.g-ad--in-content {
  margin: 36px 0;
  width: 100%;
}

.g-ad--bottom-content {
  margin: 40px 0 20px;
  width: 100%;
}

/* ==========================================================================
   Master GDPR / DSGVO Cookie Consent Banner (v7.7)
   ========================================================================== */

.g-cookie-banner {
  position: fixed !important;
  bottom: 24px !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(30px) !important;
  width: calc(100% - 40px) !important;
  max-width: 960px !important;
  z-index: 999999 !important;
  background: rgba(14, 28, 17, 0.95) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1.5px solid rgba(121, 168, 126, 0.35) !important;
  border-radius: var(--g-radius-lg) !important;
  padding: 22px 28px !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45) !important;
  color: #ffffff !important;
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, visibility 0.4s !important;
}

.g-cookie-banner.is-visible {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateX(-50%) translateY(0) !important;
}

.g-cookie-banner__inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 28px !important;
  flex-wrap: wrap !important;
}

.g-cookie-banner__content {
  display: flex !important;
  align-items: flex-start !important;
  gap: 16px !important;
  flex: 1 !important;
  min-width: 280px !important;
}

.g-cookie-banner__icon {
  font-size: 2rem !important;
  line-height: 1 !important;
}

.g-cookie-banner__title {
  font-family: var(--g-font-serif) !important;
  font-size: 1.15rem !important;
  margin: 0 0 6px !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}

.g-cookie-banner__desc {
  font-size: 0.86rem !important;
  line-height: 1.55 !important;
  color: #cce3ce !important;
  margin: 0 !important;
}

.g-cookie-banner__desc a {
  color: #C97B3D !important;
  text-decoration: underline !important;
  font-weight: 600 !important;
}

.g-cookie-banner__actions {
  display: flex !important;
  gap: 12px !important;
  align-items: center !important;
  flex-wrap: wrap !important;
}

.g-cookie-btn {
  padding: 10px 20px !important;
  font-size: 0.88rem !important;
  border-radius: var(--g-radius-full) !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  transition: all 0.2s ease !important;
}

.g-cookie-btn--accept {
  background: #C97B3D !important;
  color: #ffffff !important;
  border: 1px solid #C97B3D !important;
  box-shadow: 0 4px 14px rgba(201, 123, 61, 0.35) !important;
}
.g-cookie-btn--accept:hover {
  background: #b56c32 !important;
  transform: translateY(-2px);
}

.g-cookie-btn--essential {
  background: transparent !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}
.g-cookie-btn--essential:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: #ffffff !important;
}

@media (max-width: 768px) {
  .g-cookie-banner {
    bottom: 12px !important;
    width: calc(100% - 24px) !important;
    padding: 18px 16px !important;
  }
  .g-cookie-banner__inner {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px !important;
  }
  .g-cookie-banner__actions {
    flex-direction: column !important;
  }
  .g-cookie-btn {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* ==========================================================================
   Master 5-in-1 Luxury Design Enhancements (v7.8)
   ========================================================================== */

/* 1. Seasonal Top Announcement Bar */
.g-top-announcement-bar {
  background: linear-gradient(90deg, #112414 0%, #19361e 50%, #112414 100%);
  color: #ffffff;
  padding: 8px 0;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(121, 168, 126, 0.25);
  position: relative;
  z-index: 1001;
}

.g-top-bar__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.g-top-bar__content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  justify-content: center;
  flex-wrap: wrap;
}

.g-top-bar__badge {
  background: #94400c;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: var(--g-radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.g-top-bar__text {
  color: #d6edd8;
  font-weight: 500;
}

.g-top-bar__link {
  color: #ffffff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.g-top-bar__link:hover {
  color: var(--g-terracotta);
}

.g-top-bar__close {
  background: none;
  border: none;
  color: #a4cca8;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  transition: color 0.2s;
}
.g-top-bar__close:hover {
  color: #ffffff;
}

/* 2. Project Overview Infobox */
.g-project-infobox {
  background: linear-gradient(135deg, var(--g-cream-dark) 0%, var(--g-cream) 100%);
  border: 1.5px solid var(--g-border);
  border-left: 5px solid var(--g-terracotta);
  border-radius: var(--g-radius-lg);
  padding: 20px 24px;
  margin: 32px 0;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}

html[data-theme="dark"] .g-project-infobox {
  background: #172b1a;
  border-color: rgba(121, 168, 126, 0.25);
  border-left-color: #C97B3D;
}

.g-project-infobox__head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--g-font-serif);
  font-size: 1.1rem;
  color: var(--g-text);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--g-border);
}

.g-project-infobox__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.g-project-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.g-info-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.g-project-info-item small {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--g-text-light);
  font-weight: 700;
}

.g-project-info-item strong {
  display: block;
  font-size: 0.88rem;
  color: var(--g-text);
}

/* 3. Editorial Drop Cap */
.g-drop-cap-enabled > p:first-of-type::first-letter {
  float: left;
  font-family: var(--g-font-serif);
  font-size: 3.8rem;
  line-height: 0.78;
  font-weight: 700;
  color: var(--g-primary);
  padding: 6px 12px 0 0;
  text-shadow: 1px 1px 0 rgba(201, 123, 61, 0.25);
}

html[data-theme="dark"] .g-drop-cap-enabled > p:first-of-type::first-letter {
  color: #79a87e;
}

/* Botanical Section Divider */
.g-botanical-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 48px auto;
  color: var(--g-primary);
  font-size: 1.1rem;
  opacity: 0.6;
  letter-spacing: 0.2em;
}

/* 4. Next & Previous Post Navigation Cards */
.g-post-nav-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 48px 0 36px;
}

.g-nav-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--g-card);
  border: 1.5px solid var(--g-border);
  border-radius: var(--g-radius-md);
  padding: 16px 18px;
  text-decoration: none;
  color: var(--g-text);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02);
  transition: all 0.2s ease;
}

html[data-theme="dark"] .g-nav-card {
  background: #172b1a;
  border-color: rgba(121, 168, 126, 0.25);
}

.g-nav-card:hover {
  transform: translateY(-2px);
  border-color: var(--g-primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.g-nav-card__media {
  width: 72px;
  height: 72px;
  border-radius: var(--g-radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.g-nav-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.g-nav-card:hover .g-nav-card__media img {
  transform: scale(1.08);
}

.g-nav-card__body {
  flex: 1;
  min-width: 0;
}

.g-nav-card__kicker {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--g-primary);
  display: block;
  margin-bottom: 4px;
}

html[data-theme="dark"] .g-nav-card__kicker {
  color: #8dbd92;
}

.g-nav-card__title {
  font-family: var(--g-font-serif);
  font-size: 0.96rem;
  line-height: 1.35;
  color: var(--g-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 680px) {
  .g-post-nav-cards {
    grid-template-columns: 1fr;
  }
}

/* 5. Fullscreen Image Lightbox */
.g-lightbox-trigger {
  position: relative;
  cursor: zoom-in;
}

.g-zoom-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(14, 28, 17, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--g-radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.2s ease;
  pointer-events: none;
}

.g-lightbox-trigger:hover .g-zoom-badge {
  opacity: 1;
  transform: translateY(0);
}

.g-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.g-lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 12, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: gFadeIn 0.3s ease;
}

.g-lightbox__content {
  position: relative;
  z-index: 2;
  max-width: 92vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: gZoomIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.g-lightbox__content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--g-radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
}

.g-lightbox__caption {
  color: #e2f2e4;
  font-family: var(--g-font-serif);
  font-size: 1.05rem;
  margin-top: 14px;
  text-align: center;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.g-lightbox__close {
  position: absolute;
  top: -44px;
  right: 0;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 1.8rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.g-lightbox__close:hover {
  background: #94400c;
  border-color: var(--g-terracotta);
}

@keyframes gFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes gZoomIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}


/* ==========================================================================
   Lighthouse Performance & Accessibility Fixes (v8.4)
   ========================================================================== */

/* Fix 1: WCAG AA Contrast on Top Bar Badge (ratio must be > 4.5:1) */
.g-top-bar__badge {
  background: #6B2800 !important;
  color: #ffffff !important;
}

/* Fix 2: Preconnect & Font-display for faster rendering */
@font-face {
  font-display: swap;
}

/* Fix 3: Improve LCP - Hero image eager loading hint via CSS */
.g-article-hero-panoramic__media,
.g-hero-banner-panoramic__media {
  will-change: transform;
  content-visibility: auto;
}

/* Fix 4: CLS prevention - reserve space for hero before image loads */
.g-article-hero-panoramic {
  min-height: 480px;
  background-color: #1a3320;
}

/* Fix 5: Reduce render-blocking - Remove unused transition animations on non-visible elements */
[inert] {
  pointer-events: none;
  user-select: none;
}

/* Fix 6: Improve Total Blocking Time - Defer non-critical animations */
@media (prefers-reduced-motion: no-preference) {
  .g-article-hero-panoramic__media {
    transition: transform 8s ease;
  }
}
@media (prefers-reduced-motion: reduce) {
  .g-article-hero-panoramic__media,
  .g-nav-card:hover,
  .g-step-card,
  .g-article-card {
    transition: none !important;
    animation: none !important;
  }
}

/* ==========================================================================
   Garteni Enhancement Suite v9.0
   ========================================================================== */

/* ─────────────────────────────────────────
   1. SKIP TO CONTENT (Accessibility WCAG 2.1)
   ───────────────────────────────────────── */
.g-skip-to-content {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 10000;
  padding: 10px 22px;
  background: var(--g-dark-green, #1a3320);
  color: #fff !important;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top 0.2s ease;
  box-shadow: 0 4px 18px rgba(0,0,0,0.25);
}
.g-skip-to-content:focus {
  top: 0;
  outline: 3px solid var(--g-accent-gold, #c8a96e);
  outline-offset: 2px;
}

/* ─────────────────────────────────────────
   2. LIVE READING PROGRESS BAR (enhanced)
   ───────────────────────────────────────── */
#g-reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  z-index: 9999;
  background: linear-gradient(90deg,
    #1a3320 0%,
    #2d5a40 30%,
    #4a8c5c 60%,
    #c8a96e 100%
  );
  transition: width 0.1s linear;
  border-radius: 0 4px 4px 0;
  box-shadow: 0 1px 6px rgba(26,51,32,0.35);
}
#g-reading-progress::after {
  content: '';
  position: absolute;
  right: -6px;
  top: -4px;
  width: 12px;
  height: 12px;
  background: #c8a96e;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(200,169,110,0.6);
  opacity: 1;
  transition: opacity 0.3s;
}
body:not(.single) #g-reading-progress { display: none; }

/* ─────────────────────────────────────────
   3. AUTHOR ARCHIVE PAGE
   ───────────────────────────────────────── */
.g-author-archive {}

.g-author-hero {
  position: relative;
  background: linear-gradient(135deg, #0f2417 0%, #1a3320 50%, #2d5a40 100%);
  padding: 72px 0 56px;
  overflow: hidden;
}
.g-author-hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(200,169,110,0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(74,140,92,0.15) 0%, transparent 50%);
  pointer-events: none;
}
.g-author-hero__inner {
  position: relative;
  z-index: 1;
}
.g-author-hero__card {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}
.g-author-hero__avatar-wrap {
  position: relative;
  flex-shrink: 0;
}
.g-author-hero__avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(200,169,110,0.6);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.g-author-hero__badge {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 28px;
  height: 28px;
  background: #c8a96e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.g-author-hero__meta {
  flex: 1;
  min-width: 260px;
}
.g-author-hero__name {
  font-family: var(--g-font-serif, Georgia, serif);
  font-size: 2.2rem;
  color: #fff;
  margin: 8px 0 12px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.g-author-hero__bio {
  color: rgba(255,255,255,0.82);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 600px;
  margin: 0 0 24px;
}
.g-author-hero__stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.g-author-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.g-author-stat strong {
  font-size: 1.4rem;
  font-weight: 700;
  color: #c8a96e;
  font-family: var(--g-font-serif, Georgia, serif);
}
.g-author-stat span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (max-width: 640px) {
  .g-author-hero__card { flex-direction: column; align-items: center; text-align: center; }
  .g-author-hero__bio { font-size: 0.95rem; }
  .g-author-hero__stats { justify-content: center; }
}
