/*
Theme Name: GlowOrGrow Editorial
Theme URI: https://gloworgrow.com/
Author: GlowOrGrow
Author URI: https://gloworgrow.com/
Description: A lightweight, editorial WordPress theme created for GlowOrGrow's natural beauty and self-care guides.
Version: 1.1.0
Requires at least: 6.4
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: gloworgrow-editorial
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --gog-ink: #17352e;
  --gog-ink-strong: #0e2923;
  --gog-forest: #1f5544;
  --gog-leaf: #4f8068;
  --gog-sage: #dce9df;
  --gog-sage-soft: #edf4ef;
  --gog-ivory: #fffaf5;
  --gog-paper: #ffffff;
  --gog-peach: #e89c7b;
  --gog-peach-soft: #f8ded2;
  --gog-gold: #d4a449;
  --gog-muted: #61716c;
  --gog-line: #dbe5df;
  --gog-shadow: 0 18px 48px rgba(19, 53, 45, .10);
  --gog-radius-sm: 12px;
  --gog-radius: 22px;
  --gog-radius-lg: 34px;
  --gog-content: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--gog-ink);
  background: var(--gog-ivory);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}
body.gog-menu-open { overflow: hidden; }
a { color: var(--gog-forest); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gog-ink-strong); }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--gog-peach-soft); color: var(--gog-ink-strong); }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  z-index: 100000; top: 8px; left: 8px; width: auto; height: auto; padding: 12px 18px;
  clip: auto; background: var(--gog-paper); color: var(--gog-ink); border-radius: 8px;
}
.gog-shell { width: min(calc(100% - 40px), var(--gog-content)); margin-inline: auto; }
.gog-section { padding: 88px 0; }
.gog-section--compact { padding: 56px 0; }
.gog-kicker {
  margin: 0 0 10px; color: var(--gog-leaf); font-size: .77rem; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase;
}
.gog-section-heading { max-width: 730px; margin-bottom: 38px; }
.gog-section-heading h2, .gog-page-title, .gog-archive-title {
  margin: 0; color: var(--gog-ink-strong); font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.08; letter-spacing: -.035em;
}
.gog-section-heading p { max-width: 620px; margin: 15px 0 0; color: var(--gog-muted); }

/* Header */
.gog-site-header {
  position: sticky; z-index: 1000; top: 0; background: rgba(255, 250, 245, .95);
  border-bottom: 1px solid rgba(31, 85, 68, .10); backdrop-filter: blur(15px);
}
.admin-bar .gog-site-header { top: 32px; }
.gog-header-inner { min-height: 82px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; }
.gog-brand { display: inline-flex; align-items: center; gap: 11px; color: var(--gog-ink-strong); text-decoration: none; }
.gog-brand img, .gog-brand-mark { width: 42px; height: 42px; flex: 0 0 auto; }
.gog-brand-name { font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; font-weight: 700; letter-spacing: -.03em; }
.gog-main-nav { justify-self: center; }
.gog-main-nav ul, .gog-footer-links, .gog-social-links { display: flex; align-items: center; gap: 25px; margin: 0; padding: 0; list-style: none; }
.gog-main-nav a { color: var(--gog-ink); font-size: .89rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.gog-main-nav a:hover, .gog-main-nav .current-menu-item > a, .gog-main-nav .current_page_item > a { color: var(--gog-peach); }
.gog-header-actions { display: flex; align-items: center; gap: 10px; }
.gog-icon-button {
  width: 44px; height: 44px; display: inline-grid; place-items: center; color: var(--gog-ink);
  background: transparent; border: 1px solid var(--gog-line); border-radius: 50%; cursor: pointer;
}
.gog-icon-button:hover { background: var(--gog-sage-soft); }
.gog-header-cta, .gog-button {
  display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 9px;
  padding: 0 20px; color: #fff; background: var(--gog-forest); border: 1px solid var(--gog-forest);
  border-radius: 999px; font-size: .88rem; font-weight: 800; text-decoration: none; transition: .2s ease;
}
.gog-header-cta:hover, .gog-button:hover { color: #fff; background: var(--gog-ink-strong); transform: translateY(-1px); }
.gog-button--light { color: var(--gog-ink); background: var(--gog-paper); border-color: var(--gog-line); }
.gog-button--light:hover { color: var(--gog-ink); background: var(--gog-sage-soft); }
.gog-menu-toggle { display: none; }

.gog-search-panel { display: none; position: fixed; z-index: 1200; inset: 0; padding: 120px 20px 40px; background: rgba(14, 41, 35, .82); backdrop-filter: blur(10px); }
.gog-search-panel.is-open { display: block; }
.gog-search-card { position: relative; max-width: 760px; margin: auto; padding: 38px; background: var(--gog-paper); border-radius: var(--gog-radius); box-shadow: var(--gog-shadow); }
.gog-search-card h2 { margin: 0 0 20px; font-family: Georgia, "Times New Roman", serif; font-size: 2rem; }
.gog-search-close { position: absolute; top: 18px; right: 18px; }
.search-form { display: flex; gap: 10px; }
.search-form label { flex: 1; }
.search-field { width: 100%; min-height: 52px; padding: 0 17px; color: var(--gog-ink); background: var(--gog-ivory); border: 1px solid var(--gog-line); border-radius: 999px; }
.search-submit { min-height: 52px; padding: 0 22px; color: #fff; background: var(--gog-forest); border: 0; border-radius: 999px; font-weight: 800; cursor: pointer; }

/* Hero */
.gog-hero { position: relative; overflow: hidden; padding: 88px 0 76px; background: linear-gradient(135deg, #f8eee5 0%, #fffaf5 50%, #e5efe7 100%); }
.gog-hero::before, .gog-hero::after { content: ""; position: absolute; border: 1px solid rgba(31, 85, 68, .12); border-radius: 50%; }
.gog-hero::before { width: 440px; height: 440px; top: -250px; right: -110px; }
.gog-hero::after { width: 620px; height: 620px; right: -360px; bottom: -390px; }
.gog-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr); align-items: center; gap: 76px; }
.gog-hero h1 { max-width: 720px; margin: 0; color: var(--gog-ink-strong); font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.15rem, 6.6vw, 6.3rem); font-weight: 700; line-height: .96; letter-spacing: -.055em; }
.gog-hero h1 span { color: var(--gog-peach); font-style: italic; font-weight: 500; }
.gog-hero-copy { max-width: 630px; margin: 25px 0 0; color: #466159; font-size: clamp(1.02rem, 1.5vw, 1.2rem); }
.gog-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.gog-hero-proof { display: flex; flex-wrap: wrap; gap: 24px; margin: 32px 0 0; padding: 0; list-style: none; color: var(--gog-muted); font-size: .84rem; font-weight: 700; }
.gog-hero-proof li { display: flex; align-items: center; gap: 8px; }
.gog-hero-proof li::before { content: ""; width: 8px; height: 8px; background: var(--gog-peach); border-radius: 50%; box-shadow: 0 0 0 5px var(--gog-peach-soft); }
.gog-hero-visual { position: relative; min-height: 520px; }
.gog-hero-photo { position: absolute; inset: 0 42px 38px 0; overflow: hidden; background: var(--gog-sage); border-radius: 180px 180px var(--gog-radius-lg) var(--gog-radius-lg); box-shadow: var(--gog-shadow); }
.gog-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.gog-hero-photo-placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, #fff 0 6%, transparent 7%), linear-gradient(145deg, #bdd2c3, #eff4ed 48%, #edc2ae); }
.gog-hero-photo-placeholder svg { width: 62%; height: auto; opacity: .84; }
.gog-tip-card { position: absolute; right: 0; bottom: 0; width: min(310px, 80%); padding: 22px; background: rgba(255,255,255,.95); border: 1px solid rgba(31,85,68,.11); border-radius: var(--gog-radius); box-shadow: var(--gog-shadow); }
.gog-tip-card strong { display: block; margin-bottom: 4px; font-family: Georgia, "Times New Roman", serif; font-size: 1.15rem; }
.gog-tip-card span { color: var(--gog-muted); font-size: .86rem; }

/* Cards and category areas */
.gog-category-strip { background: var(--gog-paper); border-block: 1px solid var(--gog-line); }
.gog-category-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.gog-category-pill { min-height: 108px; display: flex; align-items: center; gap: 13px; padding: 18px; color: var(--gog-ink); background: var(--gog-sage-soft); border-radius: var(--gog-radius-sm); text-decoration: none; transition: .2s ease; }
.gog-category-pill:nth-child(even) { background: #fbebe3; }
.gog-category-pill:hover { color: var(--gog-ink-strong); transform: translateY(-3px); box-shadow: 0 10px 24px rgba(19,53,45,.08); }
.gog-category-icon { width: 40px; height: 40px; display: grid; flex: 0 0 auto; place-items: center; background: #fff; border-radius: 50%; }
.gog-category-name { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 1rem; font-weight: 700; line-height: 1.25; }
.gog-category-count { display: block; margin-top: 3px; color: var(--gog-muted); font-size: .72rem; font-weight: 700; }

.gog-feature-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 24px; }
.gog-feature-secondary { display: grid; gap: 24px; }
.gog-feature-card, .gog-post-card { overflow: hidden; background: var(--gog-paper); border: 1px solid rgba(31,85,68,.10); border-radius: var(--gog-radius); box-shadow: 0 12px 32px rgba(19,53,45,.06); }
.gog-feature-card { position: relative; min-height: 560px; }
.gog-feature-card .gog-card-media { position: absolute; inset: 0; }
.gog-feature-card .gog-card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 25%, rgba(10,34,27,.90) 100%); }
.gog-feature-card img { width: 100%; height: 100%; object-fit: cover; }
.gog-feature-card .gog-card-content { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; padding: 36px; color: #fff; }
.gog-feature-card h3 { max-width: 700px; margin: 9px 0 14px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem,4vw,3.6rem); line-height: 1.05; letter-spacing: -.035em; }
.gog-feature-card h3 a, .gog-feature-card .gog-card-meta { color: #fff; }
.gog-feature-card--small { min-height: 268px; }
.gog-feature-card--small h3 { font-size: clamp(1.4rem,2.4vw,2rem); }
.gog-card-media { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--gog-sage-soft); }
.gog-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gog-post-card:hover .gog-card-media img { transform: scale(1.035); }
.gog-card-content { padding: 24px; }
.gog-card-category { color: var(--gog-leaf); font-size: .71rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.gog-card-content h3 { margin: 8px 0 12px; font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; line-height: 1.2; letter-spacing: -.02em; }
.gog-card-content h3 a { color: inherit; text-decoration: none; }
.gog-card-content h3 a:hover { color: var(--gog-peach); }
.gog-card-excerpt { margin: 0 0 15px; color: var(--gog-muted); font-size: .9rem; line-height: 1.65; }
.gog-card-meta { display: flex; flex-wrap: wrap; gap: 10px; color: var(--gog-muted); font-size: .74rem; font-weight: 700; }
.gog-card-meta span + span::before { content: "•"; margin-right: 10px; color: var(--gog-peach); }
.gog-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }

/* Keep featured titles inside their images, including very long restored titles. */
.gog-feature-card .gog-card-media {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}
.gog-feature-card .gog-card-content {
  max-height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(10,34,27,.16) 100%);
}
.gog-feature-card .gog-card-content h3,
.gog-feature-card .gog-card-content h3 a,
.gog-feature-card .gog-card-content .gog-card-meta {
  color: #fff;
}
.gog-feature-card .gog-card-content h3 a:hover { color: var(--gog-peach-soft); }

.gog-paths { background: var(--gog-ink-strong); color: #fff; }
.gog-paths .gog-kicker { color: #93c8b1; }
.gog-paths .gog-section-heading h2, .gog-paths .gog-section-heading p { color: #fff; }
.gog-path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gog-path-card { position: relative; min-height: 285px; padding: 30px; overflow: hidden; color: #fff; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: var(--gog-radius); text-decoration: none; }
.gog-path-card::after { content: "→"; position: absolute; right: 26px; bottom: 22px; font-size: 1.5rem; }
.gog-path-card:hover { color: #fff; background: rgba(255,255,255,.12); transform: translateY(-3px); }
.gog-path-number { display: inline-grid; width: 48px; height: 48px; place-items: center; color: var(--gog-ink); background: var(--gog-peach); border-radius: 50%; font-weight: 900; }
.gog-path-card h3 { margin: 48px 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: 1.75rem; }
.gog-path-card p { margin: 0; color: #c8d7d1; font-size: .91rem; }

.gog-promise { display: grid; grid-template-columns: .78fr 1.22fr; gap: 70px; align-items: center; }
.gog-promise-visual { position: relative; min-height: 430px; background: linear-gradient(135deg,var(--gog-sage),var(--gog-peach-soft)); border-radius: 50% 50% 22px 22px; }
.gog-promise-visual svg { position: absolute; width: 68%; top: 17%; left: 16%; }
.gog-promise-list { display: grid; gap: 18px; margin: 28px 0 0; padding: 0; list-style: none; }
.gog-promise-list li { position: relative; padding-left: 38px; }
.gog-promise-list li::before { content: "✓"; position: absolute; top: 2px; left: 0; width: 25px; height: 25px; display: grid; place-items: center; color: #fff; background: var(--gog-leaf); border-radius: 50%; font-size: .74rem; font-weight: 900; }
.gog-promise-list strong { display: block; color: var(--gog-ink-strong); }
.gog-promise-list span { color: var(--gog-muted); font-size: .9rem; }

/* Archive and standard pages */
.gog-page-hero { padding: 72px 0 54px; text-align: center; background: linear-gradient(135deg,var(--gog-sage-soft),var(--gog-ivory)); border-bottom: 1px solid var(--gog-line); }
.gog-page-hero p { max-width: 680px; margin: 15px auto 0; color: var(--gog-muted); }
.gog-archive-main { padding: 64px 0 90px; }
.gog-pagination { margin-top: 44px; }
.gog-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.gog-pagination a, .gog-pagination span { min-width: 42px; height: 42px; display: inline-grid; place-items: center; padding: 0 13px; color: var(--gog-ink); background: #fff; border: 1px solid var(--gog-line); border-radius: 999px; text-decoration: none; }
.gog-pagination .current { color: #fff; background: var(--gog-forest); border-color: var(--gog-forest); }
.gog-empty { padding: 48px; text-align: center; background: #fff; border-radius: var(--gog-radius); }

/* Single article */
.gog-reading-progress { position: fixed; z-index: 1100; top: 0; left: 0; width: 0; height: 3px; background: var(--gog-peach); }
.admin-bar .gog-reading-progress { top: 32px; }
.gog-article-hero { padding: 64px 0 46px; text-align: center; }
.gog-breadcrumbs { margin: 0 0 25px; color: var(--gog-muted); font-size: .76rem; font-weight: 700; }
.gog-breadcrumbs a { color: inherit; text-decoration: none; }
.gog-article-category { display: inline-block; margin-bottom: 12px; color: var(--gog-leaf); font-size: .74rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.gog-article-title { max-width: 980px; margin: 0 auto; color: var(--gog-ink-strong); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.55rem,5.7vw,5.35rem); line-height: 1.02; letter-spacing: -.048em; }
.gog-article-deck { max-width: 760px; margin: 20px auto 0; color: var(--gog-muted); font-size: 1.05rem; }
.gog-article-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 13px; margin-top: 23px; color: var(--gog-muted); font-size: .8rem; font-weight: 700; }
.gog-article-meta span + span::before { content: "•"; margin-right: 13px; color: var(--gog-peach); }
.gog-article-featured { width: min(calc(100% - 40px), 1280px); max-height: 720px; margin: 0 auto 64px; overflow: hidden; background: var(--gog-sage); border-radius: var(--gog-radius-lg); box-shadow: var(--gog-shadow); }
.gog-article-featured img { width: 100%; max-height: 720px; object-fit: cover; }
.gog-article-layout { display: grid; grid-template-columns: minmax(0,760px) 280px; justify-content: center; gap: 70px; align-items: start; }
.gog-article-content { min-width: 0; color: #203d35; font-family: Georgia, "Times New Roman", serif; font-size: 1.08rem; }
.gog-article-content > *:first-child { margin-top: 0; }
.gog-article-content h2, .gog-article-content h3 { scroll-margin-top: 112px; color: var(--gog-ink-strong); line-height: 1.2; letter-spacing: -.025em; }
.gog-article-content h2 { margin: 2.1em 0 .7em; font-size: 2.1rem; }
.gog-article-content h3 { margin: 1.7em 0 .55em; font-size: 1.48rem; }
.gog-article-content p, .gog-article-content ul, .gog-article-content ol { margin-block: 1.1em; }
.gog-article-content li { margin-bottom: .42em; }
.gog-article-content a { font-weight: 700; }
.gog-article-content blockquote { margin: 2em 0; padding: 22px 28px; color: var(--gog-ink); background: var(--gog-sage-soft); border-left: 4px solid var(--gog-leaf); border-radius: 0 var(--gog-radius-sm) var(--gog-radius-sm) 0; font-size: 1.16rem; }
.gog-article-content figure { margin: 2em 0; }
.gog-article-content img { border-radius: var(--gog-radius-sm); }
.gog-article-content table { width: 100%; border-collapse: collapse; font-family: Inter, sans-serif; font-size: .9rem; }
.gog-article-content th, .gog-article-content td { padding: 12px; border: 1px solid var(--gog-line); text-align: left; }
.gog-article-content th { background: var(--gog-sage-soft); }
.gog-editor-note { margin-bottom: 28px; padding: 20px 22px; color: #405850; background: #fbf1eb; border: 1px solid #f1d3c4; border-radius: var(--gog-radius-sm); font-family: Inter, sans-serif; font-size: .86rem; }
.gog-editor-note strong { color: var(--gog-ink-strong); }
.gog-article-sidebar { position: sticky; top: 118px; }
.admin-bar .gog-article-sidebar { top: 150px; }
.gog-toc, .gog-author-card { padding: 22px; background: #fff; border: 1px solid var(--gog-line); border-radius: var(--gog-radius); }
.gog-toc-title { margin: 0 0 12px; font-size: .77rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.gog-toc-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.gog-toc-list a { display: block; color: var(--gog-muted); font-size: .77rem; font-weight: 700; line-height: 1.35; text-decoration: none; }
.gog-toc-list a:hover { color: var(--gog-peach); }
.gog-author-card { margin-top: 18px; }
.gog-author-card strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 1.08rem; }
.gog-author-card p { margin: 8px 0 0; color: var(--gog-muted); font-size: .76rem; line-height: 1.55; }
.gog-article-footer { margin-top: 46px; padding-top: 26px; border-top: 1px solid var(--gog-line); }
.gog-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.gog-tags a { padding: 7px 11px; color: var(--gog-muted); background: var(--gog-sage-soft); border-radius: 999px; font: 700 .7rem Inter, sans-serif; text-decoration: none; }
.gog-related { margin-top: 76px; padding: 76px 0; background: var(--gog-sage-soft); }

/* Pages */
.gog-page-layout { width: min(calc(100% - 40px), 860px); margin: 64px auto 90px; }
.gog-page-content { padding: clamp(28px,5vw,62px); background: #fff; border: 1px solid var(--gog-line); border-radius: var(--gog-radius); box-shadow: 0 14px 38px rgba(19,53,45,.06); }
.gog-page-content h2, .gog-page-content h3 { color: var(--gog-ink-strong); font-family: Georgia, "Times New Roman", serif; line-height: 1.25; }
.gog-page-content h2 { margin-top: 1.7em; font-size: 1.85rem; }
.gog-page-content h3 { margin-top: 1.4em; font-size: 1.35rem; }
.gog-page-content a { font-weight: 700; }
.gog-page-content > *:first-child { margin-top: 0; }
.gog-page-content > *:last-child { margin-bottom: 0; }

/* Footer */
.gog-site-footer { color: #d5e1dc; background: var(--gog-ink-strong); }
.gog-footer-top { display: grid; grid-template-columns: 1.1fr .9fr .9fr; gap: 70px; padding: 70px 0 50px; }
.gog-footer-brand .gog-brand { color: #fff; }
.gog-footer-brand p { max-width: 420px; margin: 18px 0 0; color: #aec1b9; font-size: .88rem; }
.gog-footer-column h2 { margin: 0 0 15px; color: #fff; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; }
.gog-footer-column ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.gog-footer-column a { color: #c1d0ca; font-size: .84rem; font-weight: 650; text-decoration: none; }
.gog-footer-column a:hover { color: var(--gog-peach); }
.gog-footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0 30px; border-top: 1px solid rgba(255,255,255,.11); color: #91a8a0; font-size: .73rem; }

/* Cookie notice is informational until a certified CMP is connected. */
.gog-adsense-note { padding: 14px 18px; color: var(--gog-muted); background: var(--gog-sage-soft); border-radius: 10px; font-size: .78rem; }

@media (max-width: 1080px) {
  .gog-header-cta { display: none; }
  .gog-main-nav ul { gap: 17px; }
  .gog-hero-grid { grid-template-columns: 1fr .78fr; gap: 42px; }
  .gog-category-list { grid-template-columns: repeat(3, 1fr); }
  .gog-post-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .gog-article-layout { grid-template-columns: minmax(0,720px); }
  .gog-article-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .gog-author-card { margin-top: 0; }
}

@media (max-width: 860px) {
  .admin-bar .gog-site-header { top: 46px; }
  .gog-shell { width: min(calc(100% - 28px), var(--gog-content)); }
  .gog-header-inner { min-height: 72px; grid-template-columns: 1fr auto; }
  .gog-main-nav {
    position: fixed; z-index: 1001; top: 72px; right: 0; bottom: 0; width: min(86vw,360px); padding: 28px;
    background: var(--gog-paper); box-shadow: -20px 20px 50px rgba(10,34,27,.18); transform: translateX(105%); transition: transform .25s ease;
  }
  .admin-bar .gog-main-nav { top: 118px; }
  .gog-main-nav.is-open { transform: translateX(0); }
  .gog-main-nav ul { align-items: stretch; flex-direction: column; gap: 0; }
  .gog-main-nav a { display: block; padding: 13px 3px; border-bottom: 1px solid var(--gog-line); font-size: 1rem; }
  .gog-header-actions { grid-column: 2; grid-row: 1; }
  .gog-menu-toggle { display: inline-grid; }
  .gog-hero { padding: 58px 0; }
  .gog-hero-grid { grid-template-columns: 1fr; }
  .gog-hero-visual { min-height: 470px; max-width: 570px; width: 100%; margin-inline: auto; }
  .gog-feature-grid { grid-template-columns: 1fr; }
  .gog-feature-secondary { grid-template-columns: 1fr 1fr; }
  .gog-feature-card--small { min-height: 310px; }
  .gog-path-grid, .gog-promise { grid-template-columns: 1fr; }
  .gog-promise-visual { max-width: 520px; width: 100%; margin-inline: auto; }
  .gog-footer-top { grid-template-columns: 1fr 1fr; gap: 42px; }
  .gog-footer-brand { grid-column: 1/-1; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .gog-section { padding: 62px 0; }
  .gog-brand-name { font-size: 1.24rem; }
  .gog-brand img, .gog-brand-mark { width: 36px; height: 36px; }
  .gog-search-trigger { display: none; }
  .gog-hero h1 { font-size: clamp(3rem,15vw,4.5rem); }
  .gog-hero-actions { align-items: stretch; flex-direction: column; }
  .gog-button { width: 100%; }
  .gog-hero-visual { min-height: 400px; }
  .gog-hero-photo { inset: 0 22px 28px 0; }
  .gog-tip-card { padding: 17px; }
  .gog-category-list, .gog-post-grid, .gog-feature-secondary, .gog-path-grid { grid-template-columns: 1fr; }
  .gog-feature-card { min-height: 470px; }
  .gog-feature-card--small { min-height: 340px; }
  .gog-feature-card .gog-card-content { padding: 24px; }
  .gog-article-featured { width: min(calc(100% - 28px), 1280px); margin-bottom: 42px; border-radius: var(--gog-radius); }
  .gog-article-title { font-size: clamp(2.45rem,13vw,3.6rem); }
  .gog-article-layout { gap: 44px; }
  .gog-article-sidebar { grid-template-columns: 1fr; }
  .gog-article-content h2 { font-size: 1.7rem; }
  .gog-page-layout { width: min(calc(100% - 28px),860px); margin-block: 42px 64px; }
  .gog-footer-top, .gog-footer-bottom { grid-template-columns: 1fr; }
  .gog-footer-top { display: grid; }
  .gog-footer-bottom { flex-direction: column; }
}

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

@media print {
  .gog-site-header, .gog-site-footer, .gog-reading-progress, .gog-article-sidebar, .gog-related { display: none !important; }
  body { color: #000; background: #fff; }
  .gog-article-layout { display: block; }
}
