:root {
  --wg-primary: #174f37;
  --wg-primary-light: #2d7254;
  --wg-primary-dark: #0d3022;
  --wg-accent: #d4aa62;
  --wg-accent-light: #edd3a4;
  --wg-neutral-900: #17201c;
  --wg-neutral-700: #34433c;
  --wg-neutral-500: #65736c;
  --wg-neutral-300: #aab4af;
  --wg-neutral-100: #e7ece9;
  --wg-neutral-50: #f5f7f5;
  --wg-white: #ffffff;
  --wg-danger: #c0392b;
  --wg-radius-sm: 8px;
  --wg-radius-md: 16px;
  --wg-radius-lg: 28px;
  --wg-shadow-sm: 0 8px 24px rgba(13,48,34,0.06);
  --wg-shadow-md: 0 18px 50px rgba(13,48,34,0.10);
  --wg-shadow-lg: 0 28px 72px rgba(13,48,34,0.16);
  --wg-font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --wg-max-width: 1240px;
  --wg-content-width: 780px;
  --wg-space-xs: 4px;
  --wg-space-sm: 8px;
  --wg-space-md: 16px;
  --wg-space-lg: 24px;
  --wg-space-xl: 32px;
  --wg-space-2xl: 48px;
  --wg-space-3xl: 64px;
  --wg-space-4xl: 96px;
  --wg-space-5xl: 128px;
  --wg-transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: var(--wg-font-sans);
  color: var(--wg-neutral-700);
  background: var(--wg-white);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Reset WP defaults */
.wp-site-blocks { padding: 0 !important; }
body .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) { max-width: none; margin-left: 0; margin-right: 0; }

/* Typography */
h1, h2, h3, h4, h5, h6 { font-family: var(--wg-font-sans); font-weight: 700; color: var(--wg-neutral-900); line-height: 1.3; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: var(--wg-space-lg); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); margin-bottom: var(--wg-space-md); }
p { margin-bottom: var(--wg-space-md); }

a { color: var(--wg-primary); text-decoration: none; transition: color var(--wg-transition); }
a:hover { color: var(--wg-primary-light); }

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

/* Container */
.wg-container { max-width: var(--wg-max-width); margin: 0 auto; padding: 0 var(--wg-space-lg); }

/* Header */
.wg-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--wg-neutral-100);
  padding: var(--wg-space-md) 0;
  transition: box-shadow var(--wg-transition);
}
.wg-header.scrolled { box-shadow: var(--wg-shadow-sm); }
.wg-header-inner { display: flex; align-items: center; justify-content: space-between; max-width: var(--wg-max-width); margin: 0 auto; padding: 0 var(--wg-space-lg); }
.wg-logo { display: flex; align-items: center; gap: var(--wg-space-sm); text-decoration: none; }
.wg-logo-icon { width: 36px; height: 36px; }
.wg-logo-text { font-size: 1.1rem; font-weight: 800; color: var(--wg-primary-dark); letter-spacing: -0.03em; }

.wg-nav { display: flex; gap: var(--wg-space-lg); align-items: center; }
.wg-nav a { font-size: 0.95rem; font-weight: 500; color: var(--wg-neutral-700); padding: var(--wg-space-xs) 0; position: relative; }
.wg-nav a::after { content: ""; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--wg-primary); transition: width var(--wg-transition); }
.wg-nav a:hover::after, .wg-nav a.active::after { width: 100%; }
.wg-nav a:hover { color: var(--wg-primary); }

.wg-nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: var(--wg-space-sm); }
.wg-nav-toggle span { display: block; width: 22px; height: 2px; background: var(--wg-neutral-700); margin: 5px 0; transition: var(--wg-transition); }

/* Hero Section */
.wg-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--wg-primary-dark) 0%, var(--wg-primary) 100%);
}
.wg-hero-bg {
  position: absolute; inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.25;
}
.wg-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,61,34,0.85) 0%, rgba(26,86,50,0.7) 50%, rgba(45,122,74,0.5) 100%);
}
.wg-hero-content {
  position: relative; z-index: 2;
  max-width: var(--wg-max-width);
  margin: 0 auto;
  padding: var(--wg-space-5xl) var(--wg-space-lg);
  color: var(--wg-white);
}
.wg-hero-badge {
  display: inline-block;
  font-size: 0.8rem; font-weight: 600;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  padding: var(--wg-space-xs) var(--wg-space-md);
  border-radius: 100px;
  margin-bottom: var(--wg-space-lg);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.wg-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--wg-white);
  margin-bottom: var(--wg-space-lg);
  max-width: 700px;
  line-height: 1.25;
  letter-spacing: -0.03em;
}
.wg-hero-desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  opacity: 0.9;
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: var(--wg-space-2xl);
}
.wg-hero-stats {
  display: flex; gap: var(--wg-space-2xl); flex-wrap: wrap;
  margin-top: var(--wg-space-xl);
}
.wg-hero-stat { text-align: left; }
.wg-hero-stat-num { font-size: 2rem; font-weight: 800; display: block; color: var(--wg-accent-light); }
.wg-hero-stat-label { font-size: 0.85rem; opacity: 0.7; }

/* Buttons */
.wg-btn {
  display: inline-flex; align-items: center; gap: var(--wg-space-sm);
  font-family: var(--wg-font-sans); font-size: 0.95rem; font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--wg-radius-sm);
  border: none; cursor: pointer;
  transition: all var(--wg-transition);
  text-decoration: none;
  line-height: 1;
}
.wg-btn-primary {
  background: var(--wg-accent);
  color: var(--wg-neutral-900);
}
.wg-btn-primary:hover {
  background: var(--wg-accent-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232,168,56,0.3);
  color: var(--wg-neutral-900);
}
.wg-btn-outline {
  background: transparent;
  border: 1.5px solid var(--wg-primary);
  color: var(--wg-primary);
}
.wg-btn-outline:hover {
  background: var(--wg-primary);
  color: var(--wg-white);
}
.wg-btn-white {
  background: var(--wg-white);
  color: var(--wg-primary-dark);
}
.wg-btn-white:hover {
  background: var(--wg-neutral-100);
  color: var(--wg-primary-dark);
  transform: translateY(-1px);
}

/* Section base */
.wg-section { padding: var(--wg-space-4xl) 0; }
.wg-section-header { text-align: center; margin-bottom: var(--wg-space-3xl); }
.wg-section-header h2 { color: var(--wg-neutral-900); }
.wg-section-header p { color: var(--wg-neutral-500); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }
.wg-section-tag {
  display: inline-block; font-size: 0.8rem; font-weight: 700; color: var(--wg-primary);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: var(--wg-space-md);
}
.wg-section-divider { width: 48px; height: 3px; background: var(--wg-accent); margin: var(--wg-space-md) auto 0; border-radius: 2px; }

/* Cards */
.wg-card {
  background: var(--wg-white);
  border-radius: var(--wg-radius-md);
  box-shadow: var(--wg-shadow-sm);
  overflow: hidden;
  transition: all var(--wg-transition);
  border: 1px solid var(--wg-neutral-100);
}
.wg-card:hover {
  box-shadow: var(--wg-shadow-md);
  transform: translateY(-4px);
  border-color: transparent;
}
.wg-card-img {
  width: 100%; aspect-ratio: 16/10;
  object-fit: cover;
}
.wg-card-body { padding: var(--wg-space-lg); }
.wg-card-cat {
  font-size: 0.75rem; font-weight: 700;
  color: var(--wg-primary); text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--wg-space-sm);
}
.wg-card-title {
  font-size: 1.1rem; font-weight: 700; color: var(--wg-neutral-900);
  margin-bottom: var(--wg-space-sm);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  line-height: 1.4;
}
.wg-card-excerpt {
  font-size: 0.9rem; color: var(--wg-neutral-500);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  line-height: 1.6;
}
.wg-card-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.85rem; font-weight: 600;
  color: var(--wg-primary);
  margin-top: var(--wg-space-md);
}
.wg-card-link svg { width: 16px; height: 16px; transition: transform var(--wg-transition); }
.wg-card-link:hover svg { transform: translateX(3px); }

/* Grid */
.wg-grid { display: grid; gap: var(--wg-space-lg); }
.wg-grid-2 { grid-template-columns: repeat(2, 1fr); }
.wg-grid-3 { grid-template-columns: repeat(3, 1fr); }
.wg-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Search Region Section */
.wg-search-section {
  background: var(--wg-neutral-50);
  padding: var(--wg-space-4xl) 0;
}
.wg-search-box {
  background: var(--wg-white);
  border-radius: var(--wg-radius-lg);
  padding: var(--wg-space-2xl);
  box-shadow: var(--wg-shadow-md);
  max-width: 800px;
  margin: 0 auto;
}
.wg-search-selects { display: flex; gap: var(--wg-space-md); margin-bottom: var(--wg-space-lg); flex-wrap: wrap; }
.wg-select {
  flex: 1; min-width: 200px;
  padding: 14px 16px;
  border: 1.5px solid var(--wg-neutral-300);
  border-radius: var(--wg-radius-sm);
  font-family: var(--wg-font-sans);
  font-size: 0.95rem;
  color: var(--wg-neutral-700);
  background: var(--wg-white);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=http://www.w3.org/2000/svg width=12 height=12 viewBox=0 0 12 12%3E%3Cpath fill=%236b6b80 d=M6 8L1 3h10z/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
  transition: border-color var(--wg-transition);
}
.wg-select:focus { outline: none; border-color: var(--wg-primary); }

/* Carousel */
.wg-carousel {
  position: relative;
  overflow: hidden;
}
.wg-carousel-track {
  display: flex;
  transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
}
.wg-carousel-slide {
  min-width: 100%;
  position: relative;
}
.wg-carousel-slide img {
  width: 100%;
  aspect-ratio: 21/9;
  object-fit: cover;
  border-radius: var(--wg-radius-md);
}
.wg-carousel-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: var(--wg-space-2xl) var(--wg-space-lg);
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  border-radius: 0 0 var(--wg-radius-md) var(--wg-radius-md);
  color: var(--wg-white);
}
.wg-carousel-dots {
  display: flex; justify-content: center; gap: var(--wg-space-sm);
  margin-top: var(--wg-space-lg);
}
.wg-carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--wg-neutral-300);
  border: none; cursor: pointer;
  transition: all var(--wg-transition);
}
.wg-carousel-dot.active { background: var(--wg-primary); width: 24px; border-radius: 4px; }

/* Feature Grid */
.wg-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--wg-space-lg); }
.wg-feature {
  text-align: center;
  padding: var(--wg-space-2xl) var(--wg-space-lg);
  border-radius: var(--wg-radius-md);
  background: var(--wg-white);
  border: 1px solid var(--wg-neutral-100);
  transition: all var(--wg-transition);
}
.wg-feature:hover { border-color: var(--wg-primary); box-shadow: var(--wg-shadow-sm); }
.wg-feature-icon {
  width: 56px; height: 56px; margin: 0 auto var(--wg-space-lg);
  background: rgba(26,86,50,0.08);
  border-radius: var(--wg-radius-md);
  display: flex; align-items: center; justify-content: center;
}
.wg-feature-icon svg { width: 28px; height: 28px; color: var(--wg-primary); }
.wg-feature h3 { font-size: 1.05rem; margin-bottom: var(--wg-space-sm); }
.wg-feature p { font-size: 0.9rem; color: var(--wg-neutral-500); line-height: 1.6; }

/* Footer */
.wg-footer {
  background: var(--wg-neutral-900);
  color: rgba(255,255,255,0.7);
  padding: var(--wg-space-3xl) 0 var(--wg-space-lg);
}
.wg-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--wg-space-2xl); margin-bottom: var(--wg-space-2xl); }
.wg-footer-brand { }
.wg-footer-brand-name { font-size: 1.2rem; font-weight: 800; color: var(--wg-white); margin-bottom: var(--wg-space-md); }
.wg-footer-brand p { font-size: 0.85rem; line-height: 1.7; max-width: 320px; }
.wg-footer h4 { font-size: 0.85rem; font-weight: 700; color: var(--wg-white); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--wg-space-lg); }
.wg-footer-links { list-style: none; }
.wg-footer-links li { margin-bottom: var(--wg-space-sm); }
.wg-footer-links a { font-size: 0.85rem; color: rgba(255,255,255,0.6); transition: color var(--wg-transition); }
.wg-footer-links a:hover { color: var(--wg-accent-light); }
.wg-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--wg-space-lg);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--wg-space-md);
}
.wg-footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.wg-footer-legal { font-size: 0.75rem; color: rgba(255,255,255,0.35); max-width: 800px; line-height: 1.6; margin-top: var(--wg-space-md); }
.wg-footer-notice { font-size: 0.75rem; color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.05); padding: var(--wg-space-md); border-radius: var(--wg-radius-sm); margin-top: var(--wg-space-lg); line-height: 1.6; }

/* ===== SINGLE POST STYLES ===== */
.entry-content, .wp-block-post-content, article.post {
  font-family: var(--wg-font-sans) !important;
  color: var(--wg-neutral-700) !important;
  line-height: 1.75 !important;
}
article .entry-content { max-width: var(--wg-content-width); margin: 0 auto; padding: 0 var(--wg-space-lg); }
article .entry-content h2 {
  font-size: 1.5rem; font-weight: 700;
  color: var(--wg-primary-dark);
  margin: var(--wg-space-2xl) 0 var(--wg-space-lg);
  padding-bottom: var(--wg-space-sm);
  border-bottom: 2px solid var(--wg-neutral-100);
  position: relative;
}
article .entry-content h2::after {
  content:""; position:absolute; bottom:-2px; left:0;
  width:48px; height:2px; background:var(--wg-primary);
}
article .entry-content h3 {
  font-size: 1.2rem; font-weight: 700;
  color: var(--wg-neutral-900);
  margin: var(--wg-space-xl) 0 var(--wg-space-md);
}
article .entry-content p {
  font-size: 1rem; line-height: 1.8;
  margin-bottom: var(--wg-space-md);
}
article .entry-content img {
  border-radius: var(--wg-radius-md);
  margin: var(--wg-space-xl) 0;
  box-shadow: var(--wg-shadow-sm);
}
article .entry-content table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  border-radius: var(--wg-radius-sm); overflow: hidden;
  margin: var(--wg-space-xl) 0;
  font-size: 0.9rem;
  border: 1px solid var(--wg-neutral-100);
}
article .entry-content th {
  background: var(--wg-primary-dark);
  color: var(--wg-white);
  font-weight: 600;
  padding: 12px 16px;
  text-align: left;
}
article .entry-content td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--wg-neutral-100);
}
article .entry-content tr:last-child td { border-bottom: none; }
article .entry-content tr:nth-child(even) { background: var(--wg-neutral-50); }

article .entry-content ul, article .entry-content ol {
  margin: var(--wg-space-lg) 0;
  padding-left: var(--wg-space-xl);
}
article .entry-content li {
  margin-bottom: var(--wg-space-sm);
  line-height: 1.7;
}
article .entry-content blockquote {
  border-left: 4px solid var(--wg-primary);
  background: var(--wg-neutral-50);
  padding: var(--wg-space-lg) var(--wg-space-xl);
  margin: var(--wg-space-xl) 0;
  border-radius: 0 var(--wg-radius-sm) var(--wg-radius-sm) 0;
  font-size: 0.95rem;
}
article .entry-content blockquote p:last-child { margin-bottom: 0; }

/* Callout box */
.wg-callout {
  background: linear-gradient(135deg, rgba(26,86,50,0.04) 0%, rgba(26,86,50,0.08) 100%);
  border: 1px solid rgba(26,86,50,0.15);
  border-radius: var(--wg-radius-md);
  padding: var(--wg-space-lg) var(--wg-space-xl);
  margin: var(--wg-space-xl) 0;
}
.wg-callout-title { font-weight: 700; color: var(--wg-primary-dark); margin-bottom: var(--wg-space-sm); font-size: 0.95rem; }

/* Process timeline */
.wg-timeline {
  display: flex; align-items: flex-start;
  gap: 0; margin: var(--wg-space-xl) 0;
  overflow-x: auto;
}
.wg-timeline-step {
  flex: 1; text-align: center; position: relative;
  min-width: 120px;
  padding: var(--wg-space-md) var(--wg-space-sm);
}
.wg-timeline-step::after {
  content: ""; position: absolute;
  top: 24px; right: -50%; width: 100%; height: 2px;
  background: var(--wg-neutral-300);
  z-index: 0;
}
.wg-timeline-step:last-child::after { display: none; }
.wg-timeline-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--wg-primary);
  color: var(--wg-white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem;
  margin: 0 auto var(--wg-space-sm);
  position: relative; z-index: 1;
}
.wg-timeline-label { font-size: 0.85rem; font-weight: 600; color: var(--wg-neutral-700); }

/* Inline bar chart */
.wg-bar-chart { margin: var(--wg-space-xl) 0; }
.wg-bar-row {
  display: flex; align-items: center; gap: var(--wg-space-md);
  margin-bottom: var(--wg-space-sm);
}
.wg-bar-label { width: 120px; font-size: 0.85rem; font-weight: 500; text-align: right; flex-shrink: 0; }
.wg-bar-track { flex: 1; height: 24px; background: var(--wg-neutral-100); border-radius: 4px; overflow: hidden; }
.wg-bar-fill { height: 100%; background: linear-gradient(90deg, var(--wg-primary) 0%, var(--wg-primary-light) 100%); border-radius: 4px; transition: width 1s ease; }
.wg-bar-value { width: 50px; font-size: 0.8rem; font-weight: 600; color: var(--wg-neutral-500); }

/* Summary box at top of article */
.wg-summary {
  background: var(--wg-neutral-50);
  border: 1px solid var(--wg-neutral-100);
  border-radius: var(--wg-radius-md);
  padding: var(--wg-space-lg);
  margin-bottom: var(--wg-space-2xl);
}
.wg-summary-title { font-weight: 700; font-size: 0.9rem; color: var(--wg-primary-dark); margin-bottom: var(--wg-space-sm); }
.wg-summary ul { padding-left: var(--wg-space-lg); margin: 0; }
.wg-summary li { font-size: 0.9rem; line-height: 1.6; margin-bottom: 4px; }

/* Legal notices */
.ai-notice { font-size: 0.85em !important; color: #888 !important; margin-top: 2em !important; }
.legal-notice { font-size: 0.85em !important; color: #777 !important; background: #f8f9fa !important; border-left: 3px solid #cbd5e1 !important; padding: 10px 14px !important; margin-top: 2em !important; border-radius: 0 6px 6px 0 !important; }

/* Related posts */
.wg-related { background: var(--wg-neutral-50); padding: var(--wg-space-2xl); border-radius: var(--wg-radius-md); margin-top: var(--wg-space-3xl); }
.wg-related h3 { font-size: 1.1rem; margin-bottom: var(--wg-space-lg); }

/* Page template */
.wg-page-hero { background: var(--wg-primary-dark); padding: var(--wg-space-3xl) 0; text-align: center; color: var(--wg-white); }
.wg-page-hero h1 { color: var(--wg-white); font-size: 2rem; }
.wg-page-content { max-width: var(--wg-content-width); margin: var(--wg-space-3xl) auto; padding: 0 var(--wg-space-lg); }

/* Animation */
@media (prefers-reduced-motion: no-preference) {
  .wg-fade-up { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .wg-fade-up.visible { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 1024px) {
  .wg-grid-3, .wg-features { grid-template-columns: repeat(2, 1fr); }
  .wg-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .wg-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .wg-nav { display: none; position: fixed; top: 0; right: 0; width: 280px; height: 100vh; background: var(--wg-white); flex-direction: column; padding: 80px var(--wg-space-lg) var(--wg-space-lg); box-shadow: var(--wg-shadow-lg); z-index: 200; }
  .wg-nav.open { display: flex; }
  .wg-nav-toggle { display: block; z-index: 201; }
  .wg-nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 199; }
  .wg-nav-overlay.open { display: block; }
  .wg-grid-2, .wg-grid-3, .wg-grid-4, .wg-features { grid-template-columns: 1fr; }
  .wg-hero { min-height: 420px; }
  .wg-hero-content { padding: var(--wg-space-3xl) var(--wg-space-lg); }
  .wg-hero-stats { gap: var(--wg-space-lg); }
  .wg-footer-grid { grid-template-columns: 1fr; }
  .wg-carousel-slide img { aspect-ratio: 16/9; }
  .wg-search-selects { flex-direction: column; }
  .wg-timeline { flex-direction: column; align-items: stretch; }
  .wg-timeline-step::after { display: none; }
  .wg-section { padding: var(--wg-space-3xl) 0; }
  article .entry-content table { display: block; overflow-x: auto; }
  .wg-bar-label { width: 80px; font-size: 0.75rem; }
}
@media (max-width: 480px) {
  .wg-hero h1 { font-size: 1.8rem; }
  .wg-card-body { padding: var(--wg-space-md); }
}

/* Focus accessibility */
:focus-visible { outline: 2px solid var(--wg-primary); outline-offset: 2px; }

/* Print */
@media print { .wg-header, .wg-footer, .wg-nav-toggle { display: none !important; } }

/* Premium finish and shared templates */
.wg-skip-link {
  position: fixed;
  left: 16px;
  top: -64px;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: var(--wg-radius-sm);
  background: var(--wg-primary-dark);
  color: #fff;
  transition: top var(--wg-transition);
}
.wg-skip-link:focus { top: 16px; color: #fff; }
.wg-logo-icon { color: var(--wg-primary-dark); flex: 0 0 auto; }
.wg-header { padding: 12px 0; }
.wg-header-inner { min-height: 48px; }
.wg-nav a { min-height: 44px; display: inline-flex; align-items: center; }
.wg-nav-toggle { min-width: 44px; min-height: 44px; border-radius: 50%; }
.wg-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--wg-accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.wg-card { color: inherit; }
.wg-card-body { display: block; }
.wg-card-excerpt, .wg-card-link, .wg-card-title { display: block; }
.wg-card-title { font-size: 1.12rem; }
.wg-card-link { width: fit-content; }
.wg-card:hover .wg-card-img { transform: scale(1.025); }
.wg-card-img { transition: transform 420ms cubic-bezier(.2,.7,.2,1); }
.wg-card { overflow: hidden; }

.wg-post-header { position: relative; background: var(--wg-primary-dark); }
.wg-post-media { position: relative; height: clamp(360px, 46vw, 620px); overflow: hidden; }
.wg-post-image { width: 100%; height: 100%; object-fit: cover; }
.wg-post-media-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,24,17,.1) 20%, rgba(8,24,17,.82) 100%); }
.wg-post-heading {
  position: relative;
  z-index: 2;
  margin-top: -188px;
  padding-bottom: 64px;
  color: #fff;
}
.wg-post-heading h1 { max-width: 860px; margin: 12px 0 14px; color: #fff; font-size: clamp(2.15rem, 5vw, 4.25rem); letter-spacing: -.045em; }
.wg-post-category { color: var(--wg-accent-light); font-size: .82rem; font-weight: 750; letter-spacing: .05em; }
.wg-post-category:hover { color: #fff; }
.wg-post-meta { margin: 0; color: rgba(255,255,255,.72); font-size: .85rem; }
.wg-article > .entry-content { padding-top: 72px; padding-bottom: 48px; }
.entry-content { font-size: 1.04rem; }
.entry-content > p { max-width: 72ch; }
.entry-content > h2 { scroll-margin-top: 100px; }
.wg-content-figure { margin: 40px 0; }
.wg-content-figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin: 0 !important; }
.wg-content-figure figcaption { margin-top: 10px; color: var(--wg-neutral-500); font-size: .82rem; line-height: 1.55; }
.wg-editorial-note {
  margin: 24px 0;
  padding: 24px 26px;
  border: 1px solid #dce5df;
  border-radius: var(--wg-radius-md);
  background: linear-gradient(145deg, #fbfcfb, #f3f7f4);
  color: #34443c;
}
.wg-visual-title { margin: 32px 0 16px; color: var(--wg-neutral-900); font-size: 1.12rem; font-weight: 750; line-height: 1.45; letter-spacing: -.02em; }
.wg-visual-title { margin: 36px 0 16px; color: var(--wg-primary-dark); font-size: 1.08rem; font-weight: 750; line-height: 1.45; }
.wg-bar-fill-full { width: 92%; }
.wg-bar-fill-high { width: 74%; }
.wg-bar-fill-medium { width: 58%; }
.wg-related { margin-top: 40px; margin-bottom: 112px; padding: 48px; }
.wg-related-heading { margin-bottom: 28px; }
.wg-related-heading h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.wg-page-hero { padding: 96px 0 88px; background: radial-gradient(circle at 20% 0%, #24684a 0, var(--wg-primary-dark) 44%, #08251a 100%); }
.wg-page-hero h1 { margin: 0; font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -.04em; }
.wg-page-content { margin-top: 72px; margin-bottom: 112px; }
.wg-page-content h2 { margin-top: 48px; color: var(--wg-primary-dark); }
.wg-page-content h3 { margin-top: 36px; color: var(--wg-neutral-900); }
.wg-page-content ul, .wg-page-content ol { padding-left: 24px; margin: 20px 0 28px; }
.wg-page-content li { margin-bottom: 9px; }
.wg-archive-description { max-width: 680px; margin: 16px auto 0; color: rgba(255,255,255,.76); }
.wg-pagination { margin-top: 56px; }
.wg-pagination .nav-links { display: flex; justify-content: center; gap: 8px; }
.wg-pagination a, .wg-pagination span { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--wg-neutral-100); border-radius: var(--wg-radius-sm); }
.wg-pagination .current { background: var(--wg-primary); color: #fff; }
.wg-empty-main { min-height: 60vh; display: grid; place-items: center; }
.wg-empty-state { padding-top: 96px; padding-bottom: 96px; text-align: center; }
.wg-empty-state p { max-width: 560px; margin: 0 auto 28px; }

.wg-footer { background: #0a241a; padding-top: 80px; }
.wg-footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.wg-footer-logo .wg-logo-icon { width: 40px; height: 40px; color: #1e6245; }
.wg-footer-brand-name { margin: 0; }
.wg-footer h2 { margin: 0 0 18px; color: #fff; font-size: .82rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.wg-footer-disclosure, .wg-footer-legal-notice { margin-top: 18px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.09); border-radius: var(--wg-radius-sm); background: rgba(255,255,255,.035); color: rgba(255,255,255,.56); font-size: .78rem; line-height: 1.7; }
.wg-footer-disclosure p:last-child, .wg-footer-legal-notice p:last-child { margin-bottom: 0; }
.wg-footer-legal-notice { border-left: 3px solid rgba(212,170,98,.65) !important; background: rgba(255,255,255,.035) !important; color: rgba(255,255,255,.48) !important; }
.wg-footer-bottom { margin-top: 22px; }

@media (max-width: 768px) {
  .wg-logo-text { font-size: 1rem; }
  .wg-nav { align-items: stretch; }
  .wg-nav a { padding: 8px 0; font-size: 1rem; }
  .wg-post-media { height: 400px; }
  .wg-post-heading { margin-top: -164px; padding-bottom: 40px; }
  .wg-article > .entry-content { padding-top: 48px; }
  .wg-related { margin-left: 16px; margin-right: 16px; padding: 28px 18px; }
  .wg-page-hero { padding: 72px 0 64px; }
  .wg-page-content { margin-top: 48px; margin-bottom: 80px; }
  .wg-content-figure { margin: 32px 0; }
  .wg-editorial-note { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.wg-soft-section { background: var(--wg-neutral-50); }
.wg-search-intro { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; }
.wg-search-intro img { width: 148px; aspect-ratio: 3 / 2; object-fit: cover; flex: 0 0 auto; border-radius: var(--wg-radius-sm); }
.wg-search-intro p { margin: 0; color: var(--wg-neutral-500); font-size: .91rem; }
.wg-more-guides { margin-top: 56px; }
.wg-more-guides .wg-section-header h2 { font-size: 1.4rem; }
.wg-card-horizontal { display: flex; flex-direction: row; min-height: 184px; }
.wg-card-side-img { width: 220px; flex: 0 0 auto; object-fit: cover; }
.wg-finance-search { max-width: 760px; }
.wg-finance-controls { display: flex; gap: 12px; }
.wg-finance-controls .wg-select { flex: 1; }
.wg-data-caveat { margin: 14px 0 0; color: var(--wg-neutral-500); font-size: .82rem; }
.wg-result-card { margin-top: 20px; padding: 26px; border: 1px solid var(--wg-neutral-100); border-radius: var(--wg-radius-md); background: var(--wg-neutral-50); }
.wg-result-title { margin-bottom: 4px; color: var(--wg-primary-dark); font-size: 1.12rem; font-weight: 750; }
.wg-result-code { color: var(--wg-neutral-500); font-size: .78rem; }
.wg-result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.wg-result-message { padding: 24px 0; color: var(--wg-neutral-500); text-align: center; }
.wg-result-message-error { color: var(--wg-danger); }
.wg-fin-list { padding-top: 16px; }
.wg-fin-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--wg-neutral-100); }
.wg-fin-row strong { color: var(--wg-neutral-900); }
.wg-fin-row span { margin-left: 8px; color: var(--wg-neutral-500); font-size: .78rem; }
.wg-fin-row .wg-btn { min-height: 40px; padding: 8px 14px; font-size: .8rem; }
.wg-fin-unavailable { margin-left: 0 !important; color: var(--wg-neutral-500); font-size: .75rem; }
.wg-fin-summary { padding-top: 18px; }
.wg-fin-summary h4 { margin-bottom: 16px; color: var(--wg-primary-dark); }
.wg-table-wrap { overflow-x: auto; border-radius: var(--wg-radius-sm); }
.wg-data-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .83rem; }
.wg-data-table th { padding: 11px 12px; background: var(--wg-primary-dark); color: #fff; text-align: right; }
.wg-data-table th:first-child { text-align: left; }
.wg-data-table td { padding: 11px 12px; border-bottom: 1px solid var(--wg-neutral-100); text-align: right; }
.wg-data-table td:first-child { text-align: left; font-weight: 650; }
.wg-ratios { margin-top: 20px; }
.wg-ratios > div { display: grid; grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); gap: 10px; margin-top: 10px; }
.wg-ratio { padding: 12px; border-radius: var(--wg-radius-sm); background: var(--wg-neutral-50); }
.wg-ratio span, .wg-ratio strong { display: block; }
.wg-ratio span { color: var(--wg-neutral-500); font-size: .75rem; }
.wg-ratio strong { margin-top: 4px; color: var(--wg-neutral-900); }
.wg-cta-section { background: linear-gradient(135deg, #0b3322, var(--wg-primary)); color: #fff; text-align: center; }
.wg-cta-section h2 { margin-bottom: 16px; color: #fff; }
.wg-cta-section p { max-width: 600px; margin: 0 auto 32px; color: rgba(255,255,255,.78); font-size: 1.05rem; }

@media (max-width: 768px) {
  .wg-search-intro { align-items: flex-start; }
  .wg-search-intro img { width: 112px; }
  .wg-finance-controls { flex-direction: column; }
  .wg-card-horizontal { display: block; }
  .wg-card-side-img { width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .wg-result-actions .wg-btn { width: 100%; justify-content: center; }
  .wg-fin-row { align-items: flex-start; }
}
