/* Gusti Nature — Botanical Neo-Tactile Greenhouse Design System (Standalone CSS) */

:root {
  --bg: #fbf9f5;
  --surface: #ffffff;
  --linen: #f3efe6;
  --sage: #e8efe9;
  --border: #d7e2da;
  --text: #102a1a;
  --text-body: #2c3e32;
  --muted: #5c7063;
  --emerald: #059669;
  --emerald-bright: #10b981;
  --lime: #84cc16;
  --terracotta: #c2410c;
  --amber: #d97706;
  --shadow-sm: 0 2px 10px rgba(16, 42, 26, 0.05);
  --shadow-md: 0 12px 30px rgba(16, 42, 26, 0.08);
  --shadow-lg: 0 22px 45px rgba(16, 42, 26, 0.12);
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

html.dark {
  --bg: #0b120c;
  --surface: #121b14;
  --linen: #18241b;
  --sage: #1a281e;
  --border: #25382a;
  --text: #fbf9f5;
  --text-body: #d6e2da;
  --muted: #93a89a;
  --emerald: #10b981;
  --emerald-bright: #34d399;
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 50px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  color: var(--text-body);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.25s ease, color 0.25s ease;
  -webkit-font-smoothing: antialiased;
}

main, .gn-main-layer {
  flex: 1;
  position: relative;
  z-index: 2;
}

#gn-bg-3d {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

.gn-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .gn-container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .gn-container { padding: 0 2rem; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--emerald-bright); }

/* Floating Glass Pill Header */
.gn-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0.65rem 0 0.25rem;
  transition: padding 0.22s ease;
}

.gn-header.is-scrolled {
  padding: 0.4rem 0 0.2rem;
}

.gn-header-pill {
  height: 62px;
  padding: 0 0.9rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background-color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(215, 226, 218, 0.85);
  box-shadow: 0 10px 30px rgba(16, 42, 26, 0.06);
  transition: height 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.gn-header.is-scrolled .gn-header-pill {
  height: 56px;
  box-shadow: 0 14px 36px rgba(16, 42, 26, 0.11);
}

html.dark .gn-header-pill {
  background-color: rgba(18, 27, 20, 0.82);
  border-color: rgba(37, 56, 42, 0.88);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32);
}

@media (min-width: 640px) {
  .gn-header-pill { padding: 0 1.25rem; }
}

.gn-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.gn-brand-logo {
  transition: transform 0.25s ease;
}

.gn-brand:hover .gn-brand-logo {
  transform: scale(1.06);
}

.gn-brand-name {
  display: block;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.05;
  color: var(--text);
}

.gn-brand-sub {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--emerald);
}

.gn-nav {
  display: none;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-body);
}

.gn-nav-link {
  padding: 0.42rem 0.78rem;
  border-radius: 9999px;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.gn-nav-link:hover {
  color: var(--emerald);
  background: rgba(16, 185, 129, 0.08);
}

.gn-nav-link.active {
  color: var(--emerald);
  font-weight: 600;
  background: rgba(16, 185, 129, 0.13);
}

@media (min-width: 1024px) {
  .gn-nav { display: flex; }
}

.gn-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Command Search Trigger & Input Shared Styles */
.gn-cmd-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 36px;
  padding: 0 0.65rem;
  border-radius: 0.65rem;
  border: 1px solid var(--border);
  background: var(--linen);
  color: var(--muted);
  font-family: inherit;
  font-size: 0.78rem;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.gn-cmd-trigger:hover {
  border-color: var(--emerald-bright);
  color: var(--text);
}

.gn-cmd-label {
  display: none;
}

.gn-cmd-kbd {
  display: none;
  font-family: ui-monospace, monospace;
  font-size: 0.65rem;
  padding: 0.12rem 0.38rem;
  border-radius: 0.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
}

@media (min-width: 640px) {
  .gn-cmd-trigger { padding: 0 0.85rem; }
  .gn-cmd-label, .gn-cmd-kbd { display: inline-block; }
}

.gn-search-input {
  width: 100%;
  padding: 0.52rem 0.85rem 0.52rem 2.2rem;
  font-size: 0.82rem;
  font-family: inherit;
  border-radius: 0.65rem;
  background-color: var(--linen);
  border: 1px solid var(--border);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease;
}

.gn-search-input:focus {
  border-color: var(--emerald-bright);
}

/* Command Modal */
.gn-cmd-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 10vh 1rem 2rem;
}

.gn-cmd-modal.is-open {
  display: flex;
}

.gn-cmd-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 18, 12, 0.55);
  backdrop-filter: blur(5px);
}

.gn-cmd-dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 600px;
  border-radius: 1.15rem;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.gn-cmd-form {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.15rem;
  border-bottom: 1px solid var(--border);
}

.gn-cmd-input {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
}

.gn-cmd-esc {
  font-family: ui-monospace, monospace;
  font-size: 0.7rem;
  padding: 0.22rem 0.5rem;
  border-radius: 0.4rem;
  border: 1px solid var(--border);
  background: var(--linen);
  color: var(--muted);
  cursor: pointer;
}

.gn-cmd-body {
  padding: 1rem 1.15rem 1.25rem;
  max-height: 60vh;
  overflow-y: auto;
}

.gn-cmd-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
}

.gn-cmd-chips-label {
  font-size: 0.72rem;
  font-family: ui-monospace, monospace;
  color: var(--muted);
}

.gn-cmd-chip {
  border: 1px solid var(--border);
  background: var(--linen);
  color: var(--text-body);
  padding: 0.28rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.74rem;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.gn-cmd-chip:hover {
  border-color: var(--emerald);
  color: var(--emerald);
}

.gn-cmd-results {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.gn-cmd-hint {
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.gn-search-item {
  display: block;
  padding: 0.7rem 0.85rem;
  border-radius: 0.65rem;
  border: 1px solid var(--border);
  background: var(--bg);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.gn-search-item:hover {
  border-color: var(--emerald);
  background: var(--sage);
}

.gn-search-item-title {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
}

.gn-search-item-sub {
  margin: 0.2rem 0 0;
  font-size: 0.73rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gn-search-all {
  display: block;
  margin-top: 0.35rem;
  padding: 0.6rem;
  border-radius: 0.65rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--emerald);
  background: var(--linen);
  border: 1px solid var(--border);
}

/* Mobile Button & Drawer */
.gn-mobile-btn {
  display: inline-flex;
}

@media (min-width: 1024px) {
  .gn-mobile-btn { display: none; }
}

.gn-mobile-drawer {
  display: none;
  padding-top: 0.5rem;
}

.gn-mobile-drawer.is-open {
  display: block;
}

@media (min-width: 1024px) {
  .gn-mobile-drawer { display: none !important; }
}

.gn-mobile-drawer-card {
  border-radius: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 0.75rem;
}

.gn-mobile-links {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.gn-mobile-links a {
  padding: 0.65rem 0.9rem;
  border-radius: 0.65rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-body);
}

.gn-mobile-links a.active,
.gn-mobile-links a:hover {
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald);
}

/* Theme Button */
.gn-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 0.65rem;
  border: 1px solid var(--border);
  background: var(--linen);
  color: var(--emerald);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.gn-icon-btn:hover {
  border-color: var(--emerald-bright);
}

/* Language Switcher (EN | ID) */
.gn-lang-switch {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 2px;
  border-radius: 0.65rem;
  border: 1px solid var(--border);
  background: var(--linen);
  font-size: 0.7rem;
  font-family: ui-monospace, monospace;
  font-weight: 700;
}

.gn-lang-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 0.5rem;
  border-radius: 0.45rem;
  color: var(--muted);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.gn-lang-item.active {
  background: var(--emerald);
  color: #ffffff;
}

.gn-lang-notice {
  margin-bottom: 1.25rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: var(--linen);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-body);
}

/* Reading Progress Bar */
.gn-progress-track {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 60;
  pointer-events: none;
}

.gn-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #059669, #10b981, #84cc16);
  transition: width 0.08s linear;
}

/* Page Sections */
.gn-stack {
  padding-top: 2rem;
  padding-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 3.75rem;
}

.gn-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.gn-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: ui-monospace, monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--emerald);
  font-weight: 600;
}

.gn-h1, .gn-h2 {
  font-family: var(--font-serif);
  color: var(--text);
  margin: 0.2rem 0 0;
  line-height: 1.15;
}

.gn-h1 { font-size: clamp(1.9rem, 4vw, 3.1rem); font-weight: 700; }
.gn-h2 { font-size: clamp(1.45rem, 2.8vw, 2rem); font-weight: 700; }

.gn-link-more {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--emerald);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.gn-link-more:hover {
  text-decoration: underline;
}

/* Hero 3D Container */
.gn-hero {
  position: relative;
  width: 100%;
  min-height: 410px;
  border-radius: 1.25rem;
  overflow: hidden;
  background: linear-gradient(135deg, var(--linen) 0%, var(--bg) 52%, var(--sage) 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
}

html.dark .gn-hero {
  background: linear-gradient(135deg, #121b14 0%, #0b120c 55%, #070d08 100%);
}

@media (min-width: 768px) {
  .gn-hero { min-height: 455px; }
}

.gn-hero-canvas-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.82;
}

@media (min-width: 768px) {
  .gn-hero-canvas-wrap { opacity: 1; }
}

.gn-hero-glow-1, .gn-hero-glow-2 {
  position: absolute;
  border-radius: 9999px;
  filter: blur(60px);
  pointer-events: none;
}

.gn-hero-glow-1 {
  top: -3rem;
  left: -3rem;
  width: 18rem;
  height: 18rem;
  background: rgba(16, 185, 129, 0.16);
}

.gn-hero-glow-2 {
  bottom: -4rem;
  right: 20%;
  width: 20rem;
  height: 20rem;
  background: rgba(132, 204, 22, 0.12);
}

.gn-hero-content {
  position: relative;
  z-index: 10;
  max-width: 640px;
  min-height: 410px;
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 640px) {
  .gn-hero-content { padding: 3rem 2.75rem; }
}

@media (min-width: 768px) {
  .gn-hero-content { min-height: 455px; padding: 3rem 3.5rem; }
}

.gn-pill-live {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.5rem;
  padding: 0.38rem 0.9rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(5, 150, 105, 0.28);
  color: var(--emerald);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  backdrop-filter: blur(8px);
}

html.dark .gn-pill-live {
  background: rgba(16, 185, 129, 0.12);
}

.gn-dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-bright);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: gnPulse 2.2s infinite;
}

@keyframes gnPulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 9px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes gnBreeze {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  50% { transform: rotate(2.4deg) translateY(-2px); }
}

.gn-breeze {
  animation: gnBreeze 5s ease-in-out infinite;
  transform-origin: bottom center;
}

.gn-gradient-text {
  background: linear-gradient(90deg, #047857, #10b981, #65a30d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html.dark .gn-gradient-text {
  background: linear-gradient(90deg, #34d399, #bef264, #a7f3d0);
  -webkit-background-clip: text;
  background-clip: text;
}

.gn-hero-desc {
  margin: 1rem 0 0;
  font-size: 0.96rem;
  color: var(--text-body);
  max-width: 32rem;
}

.gn-hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.gn-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.68rem 1.25rem;
  border-radius: 0.75rem;
  background: #059669;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(5, 150, 105, 0.25);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.gn-btn-primary:hover {
  background: #10b981;
  transform: translateY(-2px);
}

.gn-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.15rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 500;
  transition: border-color 0.2s ease;
}

html.dark .gn-btn-secondary {
  background: rgba(24, 36, 27, 0.85);
}

.gn-btn-secondary:hover {
  border-color: var(--emerald-bright);
}

/* Bento Featured Grid */
.gn-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 1024px) {
  .gn-bento {
    grid-template-columns: 7fr 5fr;
  }
}

.gn-bento-hero {
  border-radius: 1rem;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.gn-bento-hero:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--emerald-bright);
}

.gn-bento-hero-media {
  position: relative;
  height: 17.5rem;
  background: var(--sage);
  overflow: hidden;
}

.gn-bento-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gn-bento-hero:hover .gn-bento-hero-media img {
  transform: scale(1.04);
}

.gn-bento-badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  padding: 0.28rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.92);
  color: var(--emerald);
}

html.dark .gn-bento-badge {
  background: rgba(11, 18, 12, 0.85);
}

.gn-bento-hero-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.gn-bento-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.22;
}

.gn-bento-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gn-side-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.9rem;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  flex: 1;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gn-side-card:hover {
  border-color: var(--emerald-bright);
  box-shadow: var(--shadow-md);
}

.gn-side-thumb {
  width: 6rem;
  height: 5rem;
  border-radius: 0.6rem;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--sage);
}

.gn-side-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 5 Categories Grid */
.gn-cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

@media (min-width: 640px) {
  .gn-cat-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .gn-cat-grid { grid-template-columns: repeat(5, 1fr); }
}

.gn-cat-card {
  padding: 1.1rem;
  border-radius: 0.9rem;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.gn-cat-card:hover {
  border-color: var(--emerald-bright);
  transform: translateY(-2px);
}

.gn-cat-icon {
  width: 40px;
  height: 40px;
  border-radius: 0.65rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.22);
  color: var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

/* Article Grid & 3D Tilt Cards */
.gn-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .gn-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .gn-grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.gn-grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .gn-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .gn-grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.gn-card {
  position: relative;
  border-radius: 0.95rem;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.gn-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(16, 185, 129, 0.55);
}

.gn-card-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.gn-card-media {
  position: relative;
  height: 11.25rem;
  width: 100%;
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.15), rgba(132, 204, 22, 0.14));
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gn-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gn-card:hover .gn-card-media img {
  transform: scale(1.05);
}

.gn-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gn-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.72rem;
  margin-bottom: 0.65rem;
}

.gn-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.22rem 0.6rem;
  border-radius: 0.4rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.22);
  color: var(--emerald);
  font-weight: 600;
}

.gn-card-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gn-card:hover .gn-card-title {
  color: var(--emerald);
}

.gn-card-excerpt {
  margin: 0.55rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.gn-card-footer {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--muted);
}

/* Panels (BMKG Banner & About) */
.gn-panel {
  border-radius: 1.15rem;
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.gn-panel-soft {
  background: linear-gradient(135deg, var(--linen), var(--surface) 55%, var(--sage));
}

html.dark .gn-panel-soft {
  background: linear-gradient(135deg, #121b14, #18241b 55%, #121b14);
}

.gn-bmkg-hero {
  border-radius: 1.15rem;
  padding: 2rem;
  background: linear-gradient(135deg, #047857, #059669, #0f766e);
  color: #ffffff;
  box-shadow: var(--shadow-lg);
}

.gn-bmkg-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .gn-bmkg-metrics { grid-template-columns: repeat(4, 1fr); }
}

.gn-bmkg-stat {
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 1rem;
}

/* Filter Pills & Pagination */
.gn-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.gn-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.gn-pill {
  padding: 0.42rem 0.8rem;
  border-radius: 0.55rem;
  font-size: 0.76rem;
  font-weight: 500;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-body);
}

.gn-pill.active {
  background: #059669;
  border-color: #059669;
  color: #ffffff;
}

.gn-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding-top: 1.5rem;
}

/* Article Detail 2-Column Workspace */
.gn-article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .gn-article-layout.has-sidebar {
    grid-template-columns: 8fr 4fr;
  }
}

.gn-article-box {
  border-radius: 1.15rem;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.gn-article-hero-img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
}

.gn-article-pad {
  padding: 1.75rem 1.4rem;
}

@media (min-width: 640px) {
  .gn-article-pad { padding: 2.5rem; }
}

.gn-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 1024px) {
  .gn-sidebar {
    position: sticky;
    top: 5.5rem;
  }
}

.gn-sidebar-card {
  padding: 1.25rem;
}

.gn-sidebar-meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0.5rem 0 0.85rem;
}

.gn-share-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

.gn-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.48rem 0.4rem;
  border-radius: 0.55rem;
  border: 1px solid var(--border);
  background: var(--linen);
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.gn-share-btn:hover {
  border-color: var(--emerald);
  color: var(--emerald);
}

.gn-share-wa {
  border-color: rgba(5, 150, 105, 0.35);
  color: var(--emerald);
}

.gn-weather-mini {
  border-radius: 1.1rem;
  padding: 1.25rem;
  background: linear-gradient(135deg, #047857, #059669);
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

.gn-weather-mini-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.gn-weather-mini-badge {
  font-family: ui-monospace, monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.16);
}

.gn-weather-mini-temp {
  font-family: var(--font-serif);
  font-size: 1.15rem;
}

.gn-weather-mini-loc {
  margin-top: 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #ecfdf5;
}

.gn-weather-mini-tip {
  margin: 0.45rem 0 0.85rem;
  font-size: 0.76rem;
  line-height: 1.5;
  color: #d1fae5;
}

.gn-weather-mini-link {
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gn-popular-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 0.85rem;
}

.gn-popular-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.gn-popular-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.gn-popular-num {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--emerald);
  min-width: 1.5rem;
}

.gn-popular-thumb {
  width: 52px;
  height: 44px;
  border-radius: 0.5rem;
  overflow: hidden;
  background: var(--sage);
  flex-shrink: 0;
}

.gn-popular-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gn-popular-info h4 {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gn-popular-item:hover .gn-popular-info h4 {
  color: var(--emerald);
}

.gn-popular-info span {
  font-size: 0.68rem;
  color: var(--muted);
}

.gn-breadcrumb-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.gn-breadcrumb {
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.gn-breadcrumb a:hover {
  color: var(--emerald);
}

.gn-breadcrumb-current {
  color: var(--emerald);
  font-weight: 600;
}

.gn-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.76rem;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.gn-toc-summary {
  cursor: pointer;
  font-family: ui-monospace, monospace;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--emerald);
  font-weight: 700;
}

.gn-article-tags {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.gn-article-tags-label {
  font-family: ui-monospace, monospace;
  font-size: 0.74rem;
  color: var(--muted);
  margin-right: 0.25rem;
}

.gn-pill-sm {
  font-size: 0.72rem;
  padding: 0.28rem 0.65rem;
}

.gn-toc-mobile {
  margin: 1.25rem 0;
  padding: 0.9rem 1rem;
  border-radius: 0.85rem;
  background: var(--linen);
  border: 1px solid var(--border);
}

@media (min-width: 1024px) {
  .gn-toc-mobile { display: none; }
}

.gn-toc-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.8rem;
}

.gn-toc-list a {
  display: block;
  padding: 0.2rem 0.5rem;
  border-left: 2px solid transparent;
  color: var(--text-body);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.gn-toc-list a:hover,
.gn-toc-list a.is-active {
  color: var(--emerald);
  border-left-color: var(--emerald);
  font-weight: 600;
}

.gn-toc-sub {
  padding-left: 0.85rem;
}

/* Archive, Weather & Static Page Modern Layouts */
.gn-page-hero {
  border-radius: 1.2rem;
  padding: 1.75rem;
  background: linear-gradient(135deg, var(--linen) 0%, var(--surface) 55%, var(--sage) 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

html.dark .gn-page-hero {
  background: linear-gradient(135deg, #121b14 0%, #18241b 55%, #101912 100%);
}

.gn-page-hero-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
}

.gn-page-hero-sub {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 44rem;
}

.gn-archive-search {
  position: relative;
  width: 100%;
  max-width: 280px;
}

.gn-archive-search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.gn-chips-scroll {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding-top: 1.15rem;
  margin-top: 1.15rem;
  border-top: 1px solid var(--border);
  scrollbar-width: thin;
}

.gn-chips-scroll .gn-pill {
  white-space: nowrap;
}

.gn-spotlight {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: 1.15rem;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
  .gn-spotlight { grid-template-columns: 1.15fr 1fr; }
}

.gn-spotlight-media {
  position: relative;
  min-height: 230px;
  background: var(--sage);
}

.gn-spotlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gn-spotlight-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
}

.gn-spotlight-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.74rem;
  color: var(--muted);
}

.gn-spotlight-body h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  line-height: 1.22;
  color: var(--text);
}

.gn-spotlight-body p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.gn-grid-span-all {
  grid-column: 1 / -1;
}

.gn-cat-hero-row {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.gn-cat-hero-icon {
  width: 56px;
  height: 56px;
  border-radius: 1rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Weather Dynamic Hero & Cards */
.gn-bmkg-hero.is-sunny {
  background: linear-gradient(135deg, #059669, #0d9488, #d97706);
}

.gn-bmkg-hero.is-cloudy {
  background: linear-gradient(135deg, #047857, #059669, #0f766e);
}

.gn-bmkg-hero.is-rainy {
  background: linear-gradient(135deg, #065f46, #0f766e, #1e3a8a);
}

.gn-bmkg-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
}

.gn-bmkg-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: ui-monospace, monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #d1fae5;
}

.gn-bmkg-logo {
  height: 24px;
  background: #ffffff;
  border-radius: 4px;
  padding: 2px 6px;
}

.gn-bmkg-source {
  background: rgba(0, 0, 0, 0.25);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.65rem;
}

.gn-bmkg-location {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.45rem 0 0;
  font-size: 0.9rem;
  color: #ecfdf5;
}

.gn-bmkg-picker {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.85rem;
  padding: 0.85rem;
  min-width: 240px;
}

.gn-bmkg-picker-label {
  display: block;
  font-family: ui-monospace, monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
  color: #d1fae5;
  margin-bottom: 0.4rem;
}

.gn-bmkg-select {
  width: 100%;
  border-radius: 0.5rem;
  padding: 0.48rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #102a1a;
  background: #ffffff;
  border: none;
}

.gn-bmkg-stat-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: #d1fae5;
}

.gn-bmkg-stat-val {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 700;
  margin-top: 0.25rem;
}

.gn-bmkg-stat-desc {
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 0.35rem;
}

.gn-bmkg-alerts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.gn-alert-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.94rem;
  color: var(--emerald);
}

.gn-alert-icon {
  width: 34px;
  height: 34px;
  border-radius: 0.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gn-alert-icon-emerald {
  background: rgba(16, 185, 129, 0.14);
  color: var(--emerald);
}

.gn-alert-icon-amber {
  background: rgba(217, 119, 6, 0.14);
  color: var(--amber);
}

.gn-risk-badge {
  margin-left: auto;
  font-size: 0.68rem;
  font-family: ui-monospace, monospace;
  padding: 0.18rem 0.55rem;
  border-radius: 9999px;
  background: rgba(217, 119, 6, 0.16);
  color: var(--amber);
}

.gn-alert-pest {
  border-color: rgba(217, 119, 6, 0.35);
  background: rgba(217, 119, 6, 0.05);
}

.gn-alert-body {
  margin: 0.65rem 0 0;
  font-size: 0.86rem;
  color: var(--text-body);
}

.gn-crop-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.gn-crop-title {
  margin: 0.45rem 0 0;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}

.gn-crop-tip {
  margin: 0.4rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.gn-crop-cta {
  margin-top: 0.9rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--emerald);
}

.gn-forecast-day {
  padding: 1.25rem;
}

.gn-forecast-head {
  font-family: ui-monospace, monospace;
  font-size: 0.74rem;
  text-transform: uppercase;
  color: var(--emerald);
  font-weight: 700;
  padding-bottom: 0.6rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.gn-forecast-slots {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.78rem;
}

.gn-forecast-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.gn-forecast-time {
  font-family: ui-monospace, monospace;
  color: var(--muted);
}

.gn-forecast-desc {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gn-forecast-pill {
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  background: var(--linen);
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.72rem;
  color: var(--emerald);
}

/* About Stats, Contact 2-Col & FAQ/Legal Styling */
.gn-stats-trio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.85rem;
  margin-top: 1.35rem;
}

.gn-stat-pill {
  padding: 0.9rem 1.1rem;
  border-radius: 0.85rem;
  background: var(--surface);
  border: 1px solid var(--border);
}

.gn-stat-pill strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--emerald);
}

.gn-stat-pill span {
  font-size: 0.76rem;
  color: var(--muted);
}

.gn-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .gn-contact-grid { grid-template-columns: 1fr 1.15fr; }
}

.gn-contact-channel {
  padding: 1rem;
  border-radius: 0.85rem;
  background: var(--linen);
  border: 1px solid var(--border);
}

.gn-contact-channel-label {
  font-family: ui-monospace, monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
  color: var(--muted);
}

.gn-contact-email {
  display: block;
  margin-top: 0.25rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--emerald);
}

.gn-contact-topics {
  margin: 1.25rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.84rem;
  color: var(--text-body);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.gn-contact-form .gn-field {
  margin-top: 1rem;
}

.gn-contact-form label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.gn-contact-form input,
.gn-contact-form textarea {
  width: 100%;
  border-radius: 0.65rem;
  border: 1px solid var(--border);
  background: var(--linen);
  color: var(--text);
  padding: 0.65rem 0.85rem;
  font-family: inherit;
  font-size: 0.86rem;
  outline: none;
}

.gn-contact-form input:focus,
.gn-contact-form textarea:focus {
  border-color: var(--emerald);
}

.gn-contact-form button {
  margin-top: 1.1rem;
}

/* WordPress Legal / FAQ Markup Upgrade */
.fdme-gn__eyebrow {
  font-family: ui-monospace, monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--emerald);
  font-weight: 700;
  margin: 0 0 0.25rem;
}

.fdme-gn__hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  line-height: 1.2;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.fdme-gn__meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0 0 1rem;
}

.fdme-gn__notice {
  padding: 1rem 1.25rem;
  border-radius: 0.85rem;
  background: var(--linen);
  border-left: 3px solid var(--emerald);
  margin: 1rem 0 1.5rem;
}

.fdme-gn__faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.25rem 0 1.75rem;
}

.fdme-gn__faq-item {
  border-radius: 0.85rem;
  border: 1px solid var(--border);
  background: var(--linen);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.fdme-gn__faq-item[open] {
  border-color: var(--emerald);
  background: var(--surface);
}

.fdme-gn__faq-item summary {
  cursor: pointer;
  padding: 0.95rem 1.15rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.fdme-gn__faq-item summary::after {
  content: "+";
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--emerald);
  transition: transform 0.2s ease;
}

.fdme-gn__faq-item[open] summary::after {
  content: "−";
}

.fdme-gn__faq-item .fdme-gn__prose {
  padding: 0 1.15rem 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.92rem;
}

.gn-404-card {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  padding: 2.5rem 1.75rem;
}

.gn-404-icon {
  width: 66px;
  height: 66px;
  margin: 0 auto 1.15rem;
  border-radius: 1rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald);
}

.gn-404-desc {
  margin: 0.75rem auto 1.5rem;
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 32rem;
}

.gn-404-search {
  display: flex;
  gap: 0.5rem;
  max-width: 440px;
  margin: 0 auto 1.25rem;
}

.gn-404-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Editorial Prose */
.article-prose {
  font-size: 1.04rem;
  line-height: 1.85;
  color: var(--text-body);
  margin-top: 1.5rem;
}

.article-prose h2 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.28;
  margin: 2.1rem 0 0.85rem;
  color: var(--text);
  scroll-margin-top: 5.5rem;
}

.article-prose h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 1.65rem 0 0.6rem;
  color: var(--emerald);
  scroll-margin-top: 5.5rem;
}

.article-prose p {
  margin: 0 0 1.2rem;
}

.article-prose ul, .article-prose ol {
  margin: 0 0 1.35rem;
  padding-left: 1.5rem;
}

.article-prose li {
  margin-bottom: 0.45rem;
}

.article-prose li::marker {
  color: var(--emerald);
}

.article-prose a {
  color: var(--emerald);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-prose blockquote {
  border-left: 3px solid var(--terracotta);
  padding: 0.75rem 1.2rem;
  margin: 1.5rem 0;
  border-radius: 0 0.75rem 0.75rem 0;
  background: rgba(194, 65, 12, 0.06);
  font-style: italic;
}

.article-prose img {
  border-radius: 0.85rem;
  margin: 1.5rem auto;
  border: 1px solid var(--border);
}

.article-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  display: block;
  overflow-x: auto;
  font-size: 0.9rem;
}

.article-prose th, .article-prose td {
  border: 1px solid var(--border);
  padding: 0.65rem 0.9rem;
  text-align: left;
}

.article-prose th {
  background: rgba(16, 185, 129, 0.12);
}

.gn-photo-credit {
  margin-top: 1.75rem;
  padding: 0.9rem 1rem;
  border-radius: 0.75rem;
  background: var(--linen);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.gn-ads-slot {
  margin: 1.5rem 0;
  padding: 0.85rem;
  border-radius: 0.85rem;
  border: 1px solid var(--border);
  background: var(--linen);
  text-align: center;
}

.gn-ads-label {
  display: block;
  font-size: 0.65rem;
  font-family: ui-monospace, monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.gn-ads-sidebar {
  margin: 0;
  min-height: 280px;
}

.gn-ads-in-article {
  margin: 1.75rem 0;
}

/* 4-Column Botanical Editorial Footer */
.gn-footer {
  position: relative;
  z-index: 2;
  margin-top: 4.5rem;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, var(--linen), var(--sage));
  padding: 3.5rem 0 2rem;
  font-size: 0.8rem;
  color: var(--muted);
}

html.dark .gn-footer {
  background: linear-gradient(180deg, #121b14, #0b120c);
}

.gn-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
}

@media (min-width: 640px) {
  .gn-footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .gn-footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}

.gn-footer-desc {
  margin: 0.85rem 0 1.1rem;
  font-size: 0.82rem;
  line-height: 1.65;
  max-width: 20rem;
}

.gn-footer-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.95rem;
  border-radius: 0.65rem;
  background: var(--emerald);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 600;
}

.gn-footer-title {
  margin: 0 0 0.85rem;
  font-family: ui-monospace, monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
}

.gn-footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.52rem;
}

.gn-footer-list a:hover {
  color: var(--emerald);
}

.gn-back-top {
  margin-top: 1.15rem;
  padding: 0.45rem 0.85rem;
  border-radius: 0.6rem;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.gn-back-top:hover {
  border-color: var(--emerald);
  color: var(--emerald);
}

.gn-footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.74rem;
}

.gn-footer-eco-badge {
  font-family: ui-monospace, monospace;
  font-size: 0.7rem;
  color: var(--emerald);
}
