/*
 * Ghaderpanah unified design layer.
 * One visual language for every page, taken from the supplied homepage design:
 * flat navy canvas, #20344a panels with soft borders, orange (#ff6548) accents,
 * centred section heads, 9px buttons and 18px cards.
 * Loaded last on every route, so it is the single place to tune the look.
 */

:root {
  --gh-bg: #17212d;
  --gh-bg-deep: #131d28;
  --gh-panel: #20344a;
  --gh-panel-soft: #1b2a39;
  --gh-panel-raised: #263d54;
  --gh-line: #263b50;
  --gh-line-strong: #314a63;
  --gh-line-bright: #49627a;
  --gh-orange: #ff6548;
  --gh-orange-hover: #ff795f;
  --gh-orange-soft: #f4a18b;
  --gh-ink: #edf1f4;
  --gh-muted: #b7c3cd;
  --gh-subtle: #9aa8b6;
  --gh-radius-card: 18px;
  --gh-radius-panel: 20px;
  --gh-radius-control: 9px;
  --gh-panel-gradient: linear-gradient(110deg, #20364f, #1d2d40 72%, #20364f);
}

html[data-theme="dark"],
html[data-theme="light"] {
  --background: var(--gh-bg);
  --surface: var(--gh-panel);
  --surface-raised: var(--gh-panel-raised);
  --foreground: var(--gh-ink);
  --muted-foreground: var(--gh-muted);
  --subtle: var(--gh-subtle);
  --line-color: var(--gh-line-strong);
  --line-bright: var(--gh-line-bright);
  --brand: var(--gh-orange);
  --primary: var(--gh-orange);
  --focus: #ff9b82;
}

body.gh-site,
body.gh-site .gh-site-main { background: var(--gh-bg); color: var(--gh-ink); }
body.gh-site .gh-container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

/* ───────── Header (same on every page) ───────── */
body.gh-site .gh-header,
body.gh-site .gh-header.is-scrolled {
  background: rgba(23, 33, 45, .9);
  border-bottom: 1px solid rgba(220, 232, 242, .08);
  box-shadow: none;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
body.gh-site .gh-header__inner { width: min(1240px, calc(100% - 48px)); min-height: 88px; gap: clamp(18px, 3vw, 42px); }
body.gh-site .gh-brand__surface { display: flex; align-items: center; justify-content: flex-start; gap: 8px; min-width: 0; min-height: 56px; padding: 0; background: transparent; }
body.gh-site .gh-brand__mark { width: 40px; height: 56px; object-fit: contain; filter: none; }
body.gh-site .gh-brand__wordmark,
body.gh-site .gh-footer__brand .gh-brand__wordmark { color: #fff; font: 800 16px/.92 Arial, sans-serif; letter-spacing: -.06em; text-align: left; }
body.gh-site .gh-navigation { margin-inline: auto; }
body.gh-site .gh-menu { gap: clamp(16px, 2.2vw, 30px); color: #b8c1cb; font-size: 12px; }
body.gh-site .gh-menu a:hover,
body.gh-site .gh-menu .current-menu-item > a,
body.gh-site .gh-menu .current_page_item > a { color: var(--gh-orange); }
body.gh-site .gh-header__actions .gh-button,
body.gh-site .gh-header .gh-home-cta {
  min-height: 38px;
  padding: 7px 14px;
  border: 1px solid var(--gh-orange);
  border-radius: var(--gh-radius-control);
  background: var(--gh-orange);
  color: #fff;
  font-size: 11px;
  box-shadow: 0 7px 20px #ff654822;
}
body.gh-site .gh-header__actions .gh-button:hover,
body.gh-site .gh-header .gh-home-cta:hover { background: var(--gh-orange-hover); border-color: var(--gh-orange-hover); }
body.gh-site .gh-header__actions .gh-header__account { display: inline-flex; color: #fff; background: transparent; border: 1px solid var(--gh-orange); box-shadow: none; }
body.gh-site .gh-header__actions .gh-header__account:hover { color: #fff; background: #ff654824; border-color: var(--gh-orange-hover); }
body.gh-site .gh-menu-toggle { color: #fff; border-color: #ffffff2a; }
body.gh-site .gh-menu-toggle__bar { background: #fff; }

/* ───────── Footer (same on every page) ───────── */
body.gh-site .gh-footer { margin: 0; padding: 0; background: linear-gradient(110deg, #1a2837, #243a52); border-top: 0; }
body.gh-site .gh-footer__shell { width: 100%; max-width: none; margin: 0; padding: 0; background: none; border: 0; border-radius: 0; }
body.gh-site .gh-footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 38px 0 30px;
  border: 0;
  border-radius: 0;
  background: none;
}
body.gh-site .gh-footer__brand { display: flex; flex: 1; align-items: center; gap: 24px; min-width: 0; }
body.gh-site .gh-footer__logo-surface { display: flex; align-items: center; gap: 8px; min-height: 56px; padding: 0; background: transparent; }
body.gh-site .gh-footer__logo { width: 40px; height: 56px; object-fit: contain; }
body.gh-site .gh-footer__brand-copy { flex: 1; max-width: 640px; }
body.gh-site .gh-footer__brand p { margin: 0; color: var(--gh-muted); font-size: 12px; line-height: 1.9; }
body.gh-site .gh-footer__cta { width: max-content; max-width: 100%; min-height: 40px; padding: 8px 18px; border-radius: var(--gh-radius-control); font-size: 12px; white-space: nowrap; background: var(--gh-orange); border-color: var(--gh-orange); color: #fff; }
body.gh-site .gh-footer__cta:hover { background: var(--gh-orange-hover); border-color: var(--gh-orange-hover); color: #fff; }
body.gh-site .gh-footer-seo summary { color: var(--gh-orange-soft); background: transparent; border-color: transparent; padding-inline: 0; font-size: 12px; }
body.gh-site .gh-footer__nav-row { width: min(1240px, calc(100% - 48px)); margin: 0 auto; padding: 14px 0 22px; border-top: 1px solid #ffffff12; }
body.gh-site .gh-footer__bottom {
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 22px 24px;
  border: 0;
  background: #243850;
  color: #e4eaf0;
  font-size: 12px;
}
body.gh-site .gh-footer__bottom span:last-child { display: none; }

/* ───────── Shared page hero (about, contact, guide, blog, article) ───────── */
body:not(.home) :is(.gh-guide-hero, .gh-about-hero, .gh-contact-hero, .gh-blog-hero, .gh-article-hero) {
  position: relative;
  min-height: 0;
  padding: clamp(40px, 5vw, 64px) 0 clamp(40px, 5vw, 64px);
  overflow: hidden;
  background: var(--gh-bg);
  isolation: isolate;
}
body:not(.home) :is(.gh-guide-hero, .gh-about-hero, .gh-contact-hero, .gh-blog-hero, .gh-article-hero)::before,
body:not(.home) :is(.gh-guide-hero, .gh-about-hero, .gh-contact-hero, .gh-blog-hero, .gh-article-hero)::after { content: none; }
body:not(.home) .gh-gradient-mesh,
body:not(.home) .gh-contact-hero__mesh,
body:not(.home) .gh-about-portrait__glow { display: none; }

body:not(.home) :is(.gh-guide-hero, .gh-about-hero, .gh-contact-hero) h1,
body:not(.home) .gh-blog-hero h1,
body:not(.home) .gh-article-hero h1 {
  max-width: 580px;
  margin: 0;
  color: #f3f4f6;
  font-size: clamp(34px, 4.1vw, 52px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -.03em;
}
body:not(.home) :is(.gh-guide-hero, .gh-about-hero, .gh-contact-hero) h1 strong {
  display: block;
  color: var(--gh-orange);
  font-weight: 700;
}

/* Hero eyebrow = the homepage pill. */
body:not(.home) :is(.gh-guide-kicker, .gh-about-kicker, .gh-contact-kicker, .gh-account-kicker, .gh-blog-feed__head .gh-section-kicker, .gh-article-hero .gh-section-kicker) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 22px;
  padding: 7px 13px;
  color: #f1a28d;
  background: transparent;
  border: 1px solid #ff65485c;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 400;
  box-shadow: none;
}
body:not(.home) :is(.gh-guide-kicker, .gh-about-kicker, .gh-contact-kicker, .gh-account-kicker) span { width: 6px; height: 6px; background: var(--gh-orange); border-radius: 50%; box-shadow: none; animation: none; }
body:not(.home) .gh-guide-kicker small { color: var(--gh-subtle); border-color: #ffffff1f; font-size: 10px; }

/* Lead paragraphs, breadcrumbs. */
body:not(.home) :is(.gh-guide-hero__lead, .gh-about-hero__lead, .gh-contact-hero__content > p:not(.gh-contact-kicker), .gh-blog-hero h1 + p, .gh-article-hero__lead) {
  max-width: 540px;
  margin: 18px 0 24px;
  color: var(--gh-muted);
  font-size: 13px;
  line-height: 2.05;
}
body:not(.home) :is(.gh-guide-breadcrumb, .gh-about-breadcrumb, .gh-contact-breadcrumb, .gh-blog-breadcrumb) { color: var(--gh-subtle); font-size: 11px; margin-bottom: 26px; }
body:not(.home) :is(.gh-guide-breadcrumb, .gh-about-breadcrumb, .gh-contact-breadcrumb, .gh-blog-breadcrumb) a:hover { color: var(--gh-orange); }

/* ───────── Sections: flat canvas, one rhythm ───────── */
body:not(.home) :is(.gh-guide-section, .gh-about-section, .gh-contact-routes, .gh-contact-form-section, .gh-contact-notes, .gh-about-manifesto, .gh-guide-comments, .gh-blog-feed, .gh-article-body, .gh-article-comments, .gh-article-related) {
  padding-block: clamp(52px, 6vw, 80px);
  background: var(--gh-bg);
  background-image: none;
  border: 0;
}
body:not(.home) .gh-about-final,
body:not(.home) .gh-contact-dreamdog { padding-top: 0; padding-bottom: clamp(52px, 6vw, 80px); background: var(--gh-bg); }
body:not(.home) .gh-guide-strip { padding-block: 0 26px; background: var(--gh-bg); }
body:not(.home) .gh-guide-comments { padding-top: clamp(52px, 6vw, 80px); background-image: none; background-color: var(--gh-bg); }

/* Section heads: kicker line, big title, muted lead — centred like the homepage. */
body:not(.home) :is(.gh-guide-heading, .gh-about-section-head, .gh-contact-section-head, .gh-guide-library__head, .gh-guide-voices__head, .gh-about-deep__heading, .gh-article-related__head) {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}
body:not(.home) :is(.gh-guide-heading, .gh-about-section-head, .gh-contact-section-head, .gh-guide-library__head, .gh-guide-voices__head, .gh-about-deep__heading, .gh-article-related__head) .gh-section-kicker {
  display: block;
  width: auto;
  margin: 0 0 6px;
  padding: 0;
  color: #e1e7ec;
  background: none;
  border: 0;
  border-radius: 0;
  font-size: 15px;
  font-weight: 400;
}
body:not(.home) :is(.gh-guide-heading h2, .gh-about-section-head h2, .gh-contact-section-head h2, .gh-guide-library__head h2, .gh-guide-voices__head h2, .gh-about-deep__heading h2, .gh-article-related__head h2) { max-width: none; margin: 0 0 8px; color: var(--gh-ink); font-size: clamp(25px, 3vw, 35px); font-weight: 650; line-height: 1.55; letter-spacing: -.01em; }
body:not(.home) :is(.gh-guide-heading, .gh-about-section-head, .gh-contact-section-head, .gh-guide-library__head, .gh-guide-voices__head) > p:last-child:not(.gh-section-kicker) { max-width: 620px; margin: 0 auto; color: #91a0ad; font-size: 12px; line-height: 2; }

/* In-column headings (text beside an image) keep the same type scale, start-aligned. */
body:not(.home) :is(.gh-guide-prose h2, .gh-guide-deep__intro h2, .gh-guide-app h2, .gh-guide-author h2, .gh-about-evidence h2, .gh-about-final h2, .gh-about-team h2, .gh-contact-form-intro h2, .gh-contact-dreamdog h2, .gh-guide-dreamdog-app h2) {
  margin: 0 0 12px;
  color: var(--gh-ink);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 650;
  line-height: 1.55;
  letter-spacing: -.01em;
}
body:not(.home) .gh-section-kicker { color: var(--gh-orange); font-size: 13px; font-weight: 600; }
body:not(.home) :is(.gh-guide-prose, .gh-guide-deep__intro, .gh-about-evidence__content, .gh-about-team__card, .gh-contact-form-intro, .gh-contact-dreamdog__card, .gh-about-story__grid) p:not(.gh-section-kicker) { color: #b7c3cd; font-size: 13px; line-height: 2; }

/* ───────── Cards & panels: one surface recipe ───────── */
body:not(.home) :is(
  .gh-guide-path-card, .gh-guide-principle-grid article, .gh-guide-age-grid article, .gh-guide-command-list > div,
  .gh-guide-behavior-grid a, .gh-guide-article-card, .gh-guide-voices blockquote, .gh-guide-faq details,
  .gh-guide-deep__chapters details, .gh-guide-deep__intro, .gh-guide-safety, .gh-guide-library__more, .gh-guide-note,
  .gh-about-method__grid > *, .gh-about-services__grid > *, .gh-about-timeline > *, .gh-about-evidence__points > *,
  .gh-contact-route, .gh-contact-notes__grid > *, .gh-contact-form-card, .gh-contact-details > *,
  .gh-blog-featured, .gh-blog-main .gh-blog-card, .gh-blog-sidebar__card, .gh-blog-sidebar__note, .gh-blog-empty,
  .gh-article-related__card, .gh-article-aside,
  .gh-account-panel, .gh-account-dashboard
) {
  color: var(--gh-ink);
  background: var(--gh-panel);
  background-image: none;
  border: 1px solid var(--gh-line);
  border-radius: var(--gh-radius-card);
  box-shadow: none;
}
body:not(.home) :is(.gh-guide-path-card, .gh-guide-behavior-grid a, .gh-guide-article-card, .gh-about-method__grid > *, .gh-about-services__grid > *, .gh-contact-route, .gh-blog-main .gh-blog-card, .gh-article-related__card):hover {
  background: var(--gh-panel);
  border-color: #46647e;
  transform: translateY(-4px);
}
body:not(.home) :is(.gh-guide-path-card, .gh-guide-behavior-grid a, .gh-guide-article-card, .gh-about-method__grid > *, .gh-about-services__grid > *, .gh-contact-route, .gh-blog-main .gh-blog-card, .gh-article-related__card) { transition: transform .25s ease, border-color .25s ease; }
body:not(.home) :is(.gh-about-method__grid, .gh-about-services__grid, .gh-contact-routes__grid, .gh-contact-notes__grid, .gh-guide-principle-grid, .gh-guide-age-grid, .gh-guide-behavior-grid, .gh-guide-command-list) { gap: 20px; }
body:not(.home) :is(.gh-about-method__grid, .gh-about-services__grid, .gh-contact-routes__grid, .gh-contact-notes__grid) h3,
body:not(.home) :is(.gh-guide-principle-grid, .gh-guide-age-grid, .gh-guide-behavior-grid, .gh-guide-command-list) h3 { color: var(--gh-orange); font-size: 16px; font-weight: 600; }
body:not(.home) :is(.gh-about-method__grid, .gh-about-services__grid, .gh-contact-routes__grid, .gh-contact-notes__grid, .gh-guide-principle-grid, .gh-guide-age-grid, .gh-guide-behavior-grid, .gh-guide-command-list) p { color: #bdc7d0; font-size: 12px; line-height: 1.95; }

/* Promo panels share the homepage's gradient panel. */
body:not(.home) :is(.gh-about-final__card, .gh-about-team__card, .gh-contact-dreamdog__card, .gh-guide-dreamdog-app, .gh-guide-app__card, .gh-guide-author__card) {
  color: var(--gh-ink);
  background: var(--gh-panel-gradient);
  background-image: var(--gh-panel-gradient);
  border: 1px solid #35506c;
  border-radius: var(--gh-radius-panel);
  box-shadow: none;
}

/* Small tags/chips used inside cards. */
body:not(.home) :is(.gh-guide-path-card, .gh-guide-behavior-grid a, .gh-guide-article-card, .gh-about-services__grid > *, .gh-contact-route) :is(small, span[class*="tag"]) { color: #f6a18b; }

/* ───────── About ───────── */
body:not(.home) .gh-about-hero__grid { gap: clamp(32px, 6vw, 80px); }
body:not(.home) .gh-about-hero__content { max-width: 560px; }
body:not(.home) .gh-about-hero__detail { color: var(--gh-ink); font-size: 13px; line-height: 2; }
body:not(.home) .gh-about-portrait { min-height: 520px; }
body:not(.home) .gh-about-portrait figure { inset: 0; border: 1px solid var(--gh-line-strong); border-radius: 28px; box-shadow: none; }
body:not(.home) .gh-about-portrait figure::after { content: none; }
body:not(.home) .gh-about-portrait__note { background: var(--gh-panel); border: 1px solid var(--gh-line-strong); box-shadow: none; backdrop-filter: none; animation: none; }
body:not(.home) .gh-about-portrait__note--bottom small { color: var(--gh-orange); }
body:not(.home) .gh-about-hero__proof { gap: 10px; margin-top: 26px; background: none; border: 0; overflow: visible; }
body:not(.home) .gh-about-hero__proof span { min-height: 0; padding: 12px 14px; color: var(--gh-subtle); background: var(--gh-panel); border: 1px solid var(--gh-line); border-radius: 14px; backdrop-filter: none; font-size: 10px; }
body:not(.home) .gh-about-hero__proof b { color: var(--gh-orange); font-size: 16px; font-weight: 600; }

body:not(.home) .gh-about-manifesto { padding-block: 10px 30px; }
body:not(.home) .gh-about-manifesto p { max-width: 900px; color: var(--gh-muted); font-size: clamp(19px, 2.3vw, 28px); font-weight: 400; line-height: 1.9; }
body:not(.home) .gh-about-manifesto strong { color: var(--gh-ink); font-weight: 650; }

body:not(.home) .gh-about-story__grid { gap: clamp(32px, 6vw, 80px); }
body:not(.home) .gh-about-story__grid .gh-about-section-head { text-align: right; margin: 0; max-width: none; }
body:not(.home) .gh-about-timeline { display: grid; gap: 16px; border: 0; }
body:not(.home) .gh-about-timeline::before { content: none; }
body:not(.home) .gh-about-timeline article { padding: 22px 24px; gap: 18px; }
body:not(.home) .gh-about-timeline article > span { color: var(--gh-orange-soft); background: var(--gh-panel-raised); border: 1px solid var(--gh-line-bright); }
body:not(.home) .gh-about-timeline small { color: var(--gh-orange); font-size: 11px; }
body:not(.home) .gh-about-timeline h3 { color: var(--gh-ink); font-size: 18px; font-weight: 600; }
body:not(.home) .gh-about-timeline p { color: #bdc7d0; font-size: 12px; line-height: 2; }

body:not(.home) .gh-about-method__grid { gap: 20px; }
body:not(.home) .gh-about-method__grid article { min-height: 0; padding: 26px 20px; border-top-color: var(--gh-line); overflow: visible; }
body:not(.home) .gh-about-method__grid article::after { content: none; }
body:not(.home) .gh-about-method__grid article > span { color: var(--gh-subtle); }
body:not(.home) .gh-about-method__grid svg { margin-top: 22px; stroke: var(--gh-orange); }
body:not(.home) .gh-about-method__grid h3 { margin: 18px 0 8px; }
body:not(.home) .gh-about-method__grid p { font-size: 12px; }

body:not(.home) .gh-about-evidence__grid { gap: clamp(32px, 6vw, 80px); }
body:not(.home) .gh-about-evidence__visual { min-height: 460px; }
body:not(.home) .gh-about-evidence__visual figure { border-radius: 24px; }
body:not(.home) .gh-about-evidence__visual figure::after { content: none; }
body:not(.home) .gh-about-evidence__points span { background: var(--gh-panel); border-color: var(--gh-line); border-radius: 10px; font-size: 11px; color: var(--gh-muted); }
body:not(.home) .gh-about-evidence__points span::before { background: var(--gh-orange); box-shadow: none; }

/* Hero story: image beside the three chapters. */
body:not(.home) .gh-about-deep__layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: clamp(28px, 5vw, 64px); }
body:not(.home) .gh-about-deep__image { position: relative; margin: 0; overflow: hidden; border: 1px solid var(--gh-line-strong); border-radius: 24px; background: var(--gh-panel); }
body:not(.home) .gh-about-deep__image img { display: block; width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; }
body:not(.home) .gh-about-deep__image-label { position: absolute; inset: auto 16px auto auto; top: 16px; display: flex; align-items: baseline; gap: 8px; padding: 8px 12px; background: rgba(23, 33, 45, .85); border: 1px solid var(--gh-line-strong); border-radius: 10px; font-size: 12px; }
body:not(.home) .gh-about-deep__image-label small { color: var(--gh-orange); font: 400 9px/1 Arial, sans-serif; letter-spacing: .1em; }
body:not(.home) .gh-about-deep__image figcaption { padding: 16px 20px 18px; color: var(--gh-muted); font-size: 12px; }
body:not(.home) .gh-about-deep__chapters { display: grid; gap: 16px; }
body:not(.home) .gh-about-deep__chapters article {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  margin: 0;
  padding: 22px;
  color: var(--gh-ink);
  background: var(--gh-panel);
  border: 1px solid var(--gh-line);
  border-radius: var(--gh-radius-card);
}
body:not(.home) .gh-about-deep__chapters > p { margin: 0; padding: 4px 8px; color: var(--gh-muted); font-size: 13px; line-height: 2; }
body:not(.home) .gh-about-deep__chapters article > span { display: grid; width: 38px; aspect-ratio: 1; place-items: center; color: var(--gh-orange-soft); background: var(--gh-panel-raised); border: 1px solid var(--gh-line-bright); border-radius: 50%; font-size: 11px; }
body:not(.home) .gh-about-deep__chapters small { color: var(--gh-orange); font-size: 11px; }
body:not(.home) .gh-about-deep__chapters h3 { margin: 4px 0 8px; color: var(--gh-ink); font-size: 17px; font-weight: 600; }
body:not(.home) .gh-about-deep__chapters article p { margin: 0; color: #bdc7d0; font-size: 12px; line-height: 2; }

/* Services */
body:not(.home) .gh-about-services__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 20px; }
body:not(.home) .gh-about-services__grid article { position: relative; padding: 44px 22px 22px; text-align: right; }
body:not(.home) .gh-about-services__grid article > span { position: absolute; top: -20px; right: calc(50% - 26px); display: grid; width: 52px; aspect-ratio: 1; place-items: center; color: var(--gh-orange-soft); background: var(--gh-panel-raised); border: 7px solid var(--gh-bg); border-radius: 50%; font-size: 11px; }
body:not(.home) .gh-about-services__grid h3 { margin: 4px 0 8px; text-align: center; }

/* Team */
body:not(.home) .gh-about-team__card { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: clamp(24px, 5vw, 60px); padding: clamp(26px, 4vw, 44px); }
body:not(.home) .gh-about-team__facts { display: flex; flex-wrap: wrap; gap: 10px; }
body:not(.home) .gh-about-team__facts span { padding: 9px 15px; color: #d6e0e8; background: var(--gh-panel-raised); border: 1px solid var(--gh-line-bright); border-radius: 999px; font-size: 12px; }

/* Final CTA */
body:not(.home) .gh-about-final__card { padding: clamp(40px, 6vw, 72px) 28px; border-radius: var(--gh-radius-panel); text-align: center; }
body:not(.home) .gh-about-final__card > span { color: var(--gh-orange); font-size: 13px; font-weight: 600; letter-spacing: 0; font-family: inherit; }
body:not(.home) .gh-about-final__card p { color: var(--gh-muted); font-size: 13px; }

@media (max-width: 860px) {
  body:not(.home) .gh-about-deep__layout,
  body:not(.home) .gh-about-team__card { grid-template-columns: 1fr; }
  body:not(.home) .gh-about-services__grid { grid-template-columns: 1fr; }
}

/* ───────── Contact ───────── */
body:not(.home) .gh-contact-hero__grid { gap: clamp(32px, 6vw, 80px); }
body:not(.home) .gh-contact-notes__grid { border-top: 0; }
body:not(.home) .gh-contact-signal { opacity: .95; }
body:not(.home) .gh-contact-signal__center { box-shadow: none; }
body:not(.home) .gh-contact-route { padding: 24px 22px; }
body:not(.home) .gh-contact-route > span:first-child,
body:not(.home) .gh-contact-notes__grid > * > span:first-child { color: var(--gh-subtle); }
body:not(.home) .gh-contact-form-section { padding-block: clamp(52px, 6vw, 80px); }
body:not(.home) .gh-contact-form-card :is(input, textarea, select) { color: var(--gh-ink); background: var(--gh-bg); border: 1px solid var(--gh-line-bright); border-radius: 10px; }
body:not(.home) .gh-contact-form-card :is(input, textarea, select):focus { border-color: var(--gh-orange); box-shadow: 0 0 0 3px #ff654820; outline: 0; }
body:not(.home) .gh-contact-dreamdog__card { padding: clamp(26px, 4vw, 44px); }

/* ───────── Account ───────── */
body.gh-account-page .gh-account { min-height: 0; padding: clamp(30px, 4vw, 56px) 0 clamp(52px, 6vw, 80px); background: var(--gh-bg); }
body.gh-account-page .gh-account-mesh,
body.gh-account-page .gh-account-brand,
body.gh-account-page .gh-account-orbit { display: none; }
body.gh-account-page .gh-account-shell { min-height: 0; gap: clamp(32px, 6vw, 80px); }
body.gh-account-page .gh-account-intro { min-height: 0; }
body.gh-account-page .gh-account-intro h1 { max-width: 560px; font-size: clamp(34px, 4.1vw, 52px); font-weight: 700; line-height: 1.5; letter-spacing: -.03em; color: #f3f4f6; }
body.gh-account-page .gh-account-intro h1 strong { color: var(--gh-orange); font-weight: 700; }
body.gh-account-page .gh-account-intro > p:not(.gh-account-kicker, .gh-account-support) { color: var(--gh-muted); font-size: 13px; line-height: 2.05; }
body.gh-account-page .gh-account-points span { padding: 6px 12px; color: var(--gh-muted); font-size: 11px; background: var(--gh-panel); border: 1px solid var(--gh-line); border-radius: 999px; }
body.gh-account-page .gh-account-points svg { stroke: var(--gh-orange); }
body.gh-account-page .gh-account-support { color: var(--gh-subtle); font-size: 11px; }
body.gh-account-page .gh-account-panel,
body.gh-account-page .gh-account-dashboard { background: var(--gh-panel); border: 1px solid var(--gh-line); border-radius: var(--gh-radius-panel); box-shadow: none; }
body.gh-account-page .gh-account-form-head h2 { color: var(--gh-ink); font-size: clamp(22px, 2.4vw, 28px); font-weight: 650; }
body.gh-account-page .gh-account-form .gh-button { border-radius: var(--gh-radius-control); }

/* ───────── Blog & articles ───────── */
body:not(.home) .gh-blog-feed { padding-top: clamp(30px, 4vw, 48px); }
body:not(.home) .gh-blog-feed__head { max-width: none; margin: 0 0 34px; text-align: right; }
body:not(.home) .gh-blog-feed__head .gh-section-kicker { display: inline-flex; margin: 0 0 22px; }
body:not(.home) .gh-blog-feed__head h1 { max-width: 640px; margin: 0; color: #f3f4f6; font-size: clamp(34px, 4.1vw, 52px); font-weight: 700; line-height: 1.5; letter-spacing: -.03em; }
body:not(.home) .gh-blog-feed__intro { max-width: 540px; margin: 16px 0 0; color: var(--gh-muted); font-size: 13px; line-height: 2.05; }
body:not(.home) .gh-blog-layout { gap: 24px; }
body:not(.home) .gh-blog-featured { overflow: hidden; border-radius: var(--gh-radius-panel); }
body:not(.home) .gh-blog-featured__media:not(.has-image),
body:not(.home) .gh-blog-card__media:not(.has-image),
body.gh-blog-page .gh-blog-featured__media:not(.has-image),
body.gh-blog-page .gh-blog-card__media:not(.has-image) { background: var(--gh-panel-raised); background-image: none; }
body:not(.home) .gh-blog-featured__media:not(.has-image)::before,
body:not(.home) .gh-blog-card__media:not(.has-image)::before { color: #ff654833; }
body:not(.home) .gh-blog-featured h2,
body:not(.home) .gh-blog-card h3 { color: var(--gh-ink); font-weight: 650; }
body:not(.home) .gh-blog-card__date { color: var(--gh-orange); }
body:not(.home) .gh-blog-sidebar__start { background: var(--gh-panel-gradient); border: 1px solid #35506c; border-radius: var(--gh-radius-card); box-shadow: none; }
body:not(.home) .gh-blog-sidebar__start::before,
body:not(.home) .gh-blog-sidebar__start::after { content: none; }
body:not(.home) .gh-blog-sidebar__start > span { color: var(--gh-orange); }
body:not(.home) .gh-blog-sidebar__card h2 { color: var(--gh-ink); font-size: 20px; font-weight: 650; }
body:not(.home) .gh-blog-sidebar__note { padding: 14px 16px; }
body:not(.home) .gh-blog-card__read,
body:not(.home) .gh-blog-featured .gh-button { border-radius: var(--gh-radius-control); }

body:not(.home) .gh-article-hero__layout { gap: clamp(32px, 6vw, 80px); }
body:not(.home) .gh-article-hero__copy h1 { max-width: 640px; color: #f3f4f6; font-size: clamp(32px, 3.8vw, 48px); font-weight: 700; line-height: 1.55; letter-spacing: -.03em; }
body:not(.home) .gh-article-hero__cover { min-height: 340px; background: var(--gh-panel-raised); background-image: none; border: 1px solid var(--gh-line-strong); border-radius: var(--gh-radius-panel); box-shadow: none; }
body:not(.home) .gh-article-hero__cover::after { content: none; }
body:not(.home) .gh-article-hero__cover.has-image::after { content: ""; background: linear-gradient(180deg, transparent 55%, #07111bcc); }
body:not(.home) .gh-article-hero__cover:not(.has-image)::before { color: #ff654833; }
body:not(.home) .gh-article-hero__cover > span { color: var(--gh-orange); background: rgba(23, 33, 45, .85); border-color: #ff654850; }
body:not(.home) .gh-article-meta { color: var(--gh-subtle); }
body:not(.home) .gh-article-aside { background: var(--gh-panel); border: 1px solid var(--gh-line); border-radius: var(--gh-radius-card); }
body:not(.home) .gh-article-aside p { color: var(--gh-muted); }
body:not(.home) .gh-article-aside a { color: var(--gh-orange); border-color: #ffffff1a; }
body:not(.home) .gh-article-content { color: #c4ced7; font-size: 15px; line-height: 2.2; }
body:not(.home) .gh-article-content h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 650; }
body:not(.home) .gh-article-content h3 { font-size: clamp(20px, 2.1vw, 25px); font-weight: 650; }
body:not(.home) .gh-article-related__card { overflow: hidden; }

/* Generic pages and 404 */
body:not(.home) .gh-page { padding: clamp(40px, 6vw, 72px) 0; }
body:not(.home) .gh-page .gh-entry { border-radius: var(--gh-radius-panel); padding: clamp(24px, 4vw, 44px); }
body:not(.home) .gh-page h1 { color: #f3f4f6; font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; }

/* ───────── Guide (dog-training) polish ───────── */
body.gh-dog-training-page .gh-guide-hero h1 { font-size: clamp(34px, 4.1vw, 52px); font-weight: 700; line-height: 1.5; }
body.gh-dog-training-page .gh-guide-hero { padding-top: clamp(40px, 5vw, 64px); }
body.gh-dog-training-page .gh-guide-section { padding-block: clamp(52px, 6vw, 80px); }
body.gh-dog-training-page .gh-guide-heading h2,
body.gh-dog-training-page .gh-guide-library__head h2,
body.gh-dog-training-page .gh-guide-voices__head h2 { font-size: clamp(25px, 3vw, 35px); font-weight: 650; }
body.gh-dog-training-page .gh-guide-prose h2,
body.gh-dog-training-page .gh-guide-deep__intro h2,
body.gh-dog-training-page .gh-guide-app h2,
body.gh-dog-training-page .gh-guide-author h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 650; }
body.gh-dog-training-page .gh-guide-path-card h3 { text-align: center; }
body.gh-dog-training-page .gh-guide-marquee { border-radius: 14px; }

/* Footer copy width */
body.gh-site .gh-footer__brand p { max-width: none; }

/* ───────── Responsive ───────── */
@media (max-width: 860px) {
  body.gh-site .gh-header__inner { width: calc(100% - 30px); min-height: 68px; gap: 12px; }
  body.gh-site .gh-brand__surface { min-height: 44px; }
  body.gh-site .gh-brand__mark { width: 32px; height: 44px; }
  body.gh-site .gh-brand__wordmark { font-size: 13px; }
  body.gh-site .gh-header__actions { margin-inline-start: auto; }
  body.gh-site .gh-header__actions .gh-button { min-height: 34px; padding: 6px 10px; font-size: 10px; }
  body.gh-site .gh-menu-toggle { width: 38px; height: 38px; }
  body.gh-site .gh-container,
  body.gh-site .gh-footer__top,
  body.gh-site .gh-footer__nav-row { width: calc(100% - 30px); }
  body.gh-site .gh-footer__top { flex-direction: column; align-items: center; gap: 18px; padding: 28px 0 22px; text-align: center; }
  body.gh-site .gh-footer__brand { flex-direction: column; gap: 12px; }
  body.gh-site .gh-footer__brand p { font-size: 11px; }
  body.gh-site .gh-footer__nav-row { display: grid; gap: 10px; justify-items: center; }
  body.gh-site .gh-footer-seo { margin-inline: auto; }
  body:not(.home) :is(.gh-guide-hero, .gh-about-hero, .gh-contact-hero, .gh-blog-hero, .gh-article-hero) { padding-top: 26px; }
  body:not(.home) :is(.gh-guide-hero, .gh-about-hero, .gh-contact-hero) h1 { font-size: clamp(30px, 8.6vw, 40px); }
  body:not(.home) :is(.gh-guide-heading, .gh-about-section-head, .gh-contact-section-head, .gh-guide-library__head, .gh-guide-voices__head, .gh-about-deep__heading) { margin-bottom: 28px; }
  body:not(.home) .gh-about-portrait { min-height: 420px; }
  body:not(.home) .gh-about-manifesto p { font-size: 18px; }
}
@media (max-width: 480px) {
  body.gh-site .gh-header__actions .gh-button { max-width: 150px; padding-inline: 8px; line-height: 1.35; }
}
@media (prefers-reduced-motion: reduce) {
  body:not(.home) :is(.gh-guide-path-card, .gh-guide-behavior-grid a, .gh-guide-article-card, .gh-about-method__grid > *, .gh-about-services__grid > *, .gh-contact-route, .gh-blog-main .gh-blog-card, .gh-article-related__card) { transition: none; }
}

/* ───────── Legacy overrides (older black/amber blocks in theme.css) ───────── */
html body.gh-site .gh-blog-featured { background: var(--gh-panel); border: 1px solid var(--gh-line); border-radius: var(--gh-radius-panel); box-shadow: none; }
html body.gh-site .gh-blog-featured__media:not(.has-image),
html body.gh-site .gh-blog-card__media:not(.has-image) { background: var(--gh-panel-raised); background-image: none; }
html body.gh-site .gh-blog-featured__media:not(.has-image)::before,
html body.gh-site .gh-blog-card__media:not(.has-image)::before { color: #ff65482e; }
html body.gh-site .gh-blog-sidebar__start { background: var(--gh-panel-gradient); border: 1px solid #35506c; border-radius: var(--gh-radius-card); box-shadow: none; }
html body.gh-site .gh-blog-sidebar__start::after { content: none; }
html body.gh-site .gh-blog-sidebar__start small,
html body.gh-site .gh-blog-sidebar__start:hover > span { color: var(--gh-orange); }
html body.gh-site .gh-blog-sidebar__start > span { color: var(--gh-orange-soft); }
html body.gh-site .gh-blog-hero__stat,
html body.gh-site .gh-blog-categories a { background: var(--gh-panel); border-color: var(--gh-line); }
html body.gh-site .gh-blog-feed__head .gh-section-kicker { box-shadow: none; background: transparent; }

html body.gh-site .gh-article-hero__cover { box-shadow: none; border-color: var(--gh-line-strong); }
html body.gh-site .gh-article-hero__cover:not(.has-image) { background: var(--gh-panel-raised); }
html body.gh-site .gh-article-hero__cover:not(.has-image)::before { color: #ff65482e; }

/* Comments (article + guide) */
html body.gh-site .gh-article-comments { background: var(--gh-bg); padding-block: 0 clamp(52px, 6vw, 80px); }
html body.gh-site .gh-comments,
html body.gh-site .gh-guide-comments .comment-respond { background: var(--gh-panel); border: 1px solid var(--gh-line); border-radius: var(--gh-radius-panel); box-shadow: none; }
html body.gh-site .gh-comments__title,
html body.gh-site .gh-guide-comments .comment-reply-title { color: var(--gh-ink); font-weight: 650; }
html body.gh-site .gh-comments__list .comment-body { background: var(--gh-panel-soft); border: 1px solid var(--gh-line); border-radius: 14px; }
html body.gh-site .gh-comments__list .comment-author { color: var(--gh-ink); }
html body.gh-site .gh-comments__list .comment-content { color: var(--gh-muted); }
html body.gh-site .gh-comments__list .comment-metadata a,
html body.gh-site .gh-comments__list .reply a { color: var(--gh-orange); }
html body.gh-site .gh-comments .comment-form label,
html body.gh-site .gh-guide-comments label { color: var(--gh-muted); }
html body.gh-site .gh-comments .comment-form input:not([type="checkbox"]):not([type="submit"]),
html body.gh-site .gh-comments .comment-form textarea,
html body.gh-site .gh-guide-comments textarea,
html body.gh-site .gh-guide-comments input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]) { color: var(--gh-ink); background: var(--gh-bg); border: 1px solid var(--gh-line-bright); border-radius: 10px; }
html body.gh-site .gh-comments .comment-form input:focus,
html body.gh-site .gh-comments .comment-form textarea:focus,
html body.gh-site .gh-guide-comments textarea:focus,
html body.gh-site .gh-guide-comments input:focus { border-color: var(--gh-orange); box-shadow: 0 0 0 3px #ff654820; outline: 0; }
html body.gh-site .gh-comments .form-submit input,
html body.gh-site .gh-guide-comments input[type="submit"] { color: #fff; background: var(--gh-orange); border: 1px solid var(--gh-orange); border-radius: var(--gh-radius-control); box-shadow: none; }
html body.gh-site .gh-comments .form-submit input:hover,
html body.gh-site .gh-guide-comments input[type="submit"]:hover { background: var(--gh-orange-hover); border-color: var(--gh-orange-hover); }

/* Account support line sat on top of the points row */
body.gh-account-page .gh-account-support { position: static; margin: 18px 0 0; }

html body.gh-site .gh-blog-featured__media:not(.has-image)::after,
html body.gh-site .gh-blog-card__media:not(.has-image)::after { content: none; }

/* Guide: first section head used a legacy two-column grid; hero dog must not be clipped. */
html body.gh-site.gh-dog-training-page .gh-guide-paths .gh-guide-heading { display: block; margin: 0 auto 38px; }
html body.gh-site.gh-dog-training-page .gh-guide-paths .gh-guide-heading > p:last-child { margin: 0 auto; }
html body.gh-site.gh-dog-training-page .gh-guide-paths,
html body.gh-site.gh-dog-training-page .gh-guide-section { background: var(--gh-bg); background-image: none; }
html body.gh-site.gh-dog-training-page .gh-guide-hero { padding-top: clamp(44px, 5vw, 64px); }
html body.gh-site.gh-dog-training-page .gh-guide-hero-scene__photo { height: 100%; }
html body.gh-site.gh-dog-training-page .gh-guide-hero__shell { min-height: 0; }
html body.gh-site.gh-dog-training-page .gh-guide-hero__grid { min-height: 470px; }

/* The account route used to hide the site header; every page now shares it. */
body.gh-site.gh-account-page .gh-header { display: block; }
body.gh-site.gh-account-page .gh-account { padding-top: clamp(30px, 4vw, 56px); }

/* Mobile menu panel */
@media (max-width: 860px) {
  body.gh-site .gh-header .gh-navigation,
  body.gh-site .gh-header .gh-navigation.is-open { background: var(--gh-panel-soft); border-color: var(--gh-line-strong); box-shadow: -20px 0 60px #0a121b80; }
  body.gh-site .gh-header .gh-navigation__eyebrow { color: var(--gh-orange); }
  body.gh-site .gh-header .gh-menu a { color: var(--gh-ink); border-bottom-color: #ffffff14; }
  body.gh-site .gh-header .gh-navigation__account { color: var(--gh-ink); background: transparent; border: 1px solid var(--gh-line-bright); border-radius: var(--gh-radius-control); }
  body.gh-site .gh-header .gh-navigation__actions .gh-button { border-radius: var(--gh-radius-control); }
  body.gh-site .gh-header .gh-navigation .gh-home-cta { background: var(--gh-orange); border-color: var(--gh-orange); color: #fff; }
  body.gh-site .gh-navigation-backdrop.is-open { background: #0a121bb3; }
}

/* ───────── Guide page: built from the homepage components ───────── */
body:not(.home) h2 em { color: var(--gh-orange); font-style: normal; }

/* Course-card pattern (circle badge on top, orange title) for principles and skills */
html body.gh-site.gh-dog-training-page .gh-guide-principle-grid { gap: 34px 20px; padding-top: 20px; }
html body.gh-site.gh-dog-training-page .gh-guide-principle-grid article { position: relative; min-height: 0; padding: 48px 20px 22px; overflow: visible; }
html body.gh-site.gh-dog-training-page .gh-guide-principle-grid article::after,
html body.gh-site.gh-dog-training-page .gh-guide-age-grid article::after { content: none; }
html body.gh-site.gh-dog-training-page .gh-guide-command-list { border-top: 0; }
html body.gh-site.gh-dog-training-page .gh-guide-principle-grid article > span {
  position: absolute; top: -20px; right: calc(50% - 26px); left: auto;
  display: grid; width: 52px; height: auto; aspect-ratio: 1; place-items: center;
  color: var(--gh-orange-soft); background: var(--gh-panel-raised);
  border: 7px solid var(--gh-bg); border-radius: 50%; font-size: 11px;
}
html body.gh-site.gh-dog-training-page .gh-guide-principle-grid h3 { margin: 2px 0 8px; text-align: center; font-size: 17px; }
html body.gh-site.gh-dog-training-page .gh-guide-command-list > div > span { border-radius: 50%; color: var(--gh-orange-soft); background: var(--gh-panel-raised); border-color: var(--gh-line-bright); }
html body.gh-site.gh-dog-training-page .gh-guide-command-list h3 { color: var(--gh-orange); }
/* tag chips become the orange meta bar used on home course cards */
html body.gh-site.gh-dog-training-page .gh-guide-behavior-grid a > span,
html body.gh-site.gh-dog-training-page .gh-guide-age-grid article > span {
  display: block; width: fit-content; padding: 5px 12px; color: #fff; background: var(--gh-orange);
  border: 0; border-radius: 6px; font-size: 10px;
}
html body.gh-site.gh-dog-training-page .gh-guide-behavior-grid h3 { color: var(--gh-orange); }

/* Article library = home article cards: full-bleed image, shade, title on top of it */
@media (min-width: 781px) {
  html body.gh-site.gh-dog-training-page .gh-guide-article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
}
html body.gh-site.gh-dog-training-page .gh-guide-article-card {
  position: relative; display: flex; min-height: 330px; align-items: flex-end; overflow: hidden;
  padding: 0; background: #26384a; border: 0; border-radius: 22px; isolation: isolate;
}
html body.gh-site.gh-dog-training-page .gh-guide-article-card:hover { transform: none; border: 0; }
html body.gh-site.gh-dog-training-page .gh-guide-article-card__media {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; min-height: 0;
  background-size: cover; background-position: center; transition: transform .45s ease;
}
html body.gh-site.gh-dog-training-page .gh-guide-article-card:hover .gh-guide-article-card__media { transform: scale(1.045); }
html body.gh-site.gh-dog-training-page .gh-guide-article-card__media > span,
html body.gh-site.gh-dog-training-page .gh-guide-article-card b { display: none; }
html body.gh-site.gh-dog-training-page .gh-guide-article-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, #07111be8); }
html body.gh-site.gh-dog-training-page .gh-guide-article-card > div:last-child { position: relative; width: 100%; padding: 24px 21px 22px; background: none; }
html body.gh-site.gh-dog-training-page .gh-guide-article-card > div:last-child > span { display: block; margin-bottom: 6px; padding: 0; color: var(--gh-orange); background: none; border: 0; font-size: 11px; }
html body.gh-site.gh-dog-training-page .gh-guide-article-card h3 { margin: 0; color: #fff; font-size: 17px; font-weight: 600; line-height: 1.7; }

/* Photo + text sections = home "about" panel */
html body.gh-site.gh-dog-training-page .gh-guide-prose-grid {
  align-items: center; gap: clamp(26px, 5vw, 65px); padding: 25px;
  background: linear-gradient(115deg, #20364e, #1a2939); border: 1px solid #314a63; border-radius: 20px;
}
html body.gh-site.gh-dog-training-page .gh-guide-prose-grid .gh-guide-aside-label--image { margin: 0; overflow: hidden; border-radius: 14px; border: 0; box-shadow: none; }
html body.gh-site.gh-dog-training-page .gh-guide-prose-grid .gh-guide-aside-label--image img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Dreamdog promo = home app panel with the phone rising above the panel */
@media (min-width: 781px) {
  html body.gh-site.gh-dog-training-page .gh-guide-dreamdog-app {
    position: relative; display: block; min-height: 260px; margin-top: 110px; padding: 34px 34% 34px 34px;
    overflow: visible; background: var(--gh-panel-gradient); border: 1px solid #35506c; border-radius: 20px;
  }
  html body.gh-site.gh-dog-training-page .gh-guide-dreamdog-app__content { text-align: right; }
  html body.gh-site.gh-dog-training-page .gh-guide-dreamdog-app__phone {
    position: absolute; top: -80px; right: 7%; left: auto; width: 190px; height: 360px; margin: 0; padding: 8px;
    overflow: hidden; border: 2px solid #7c8795; border-radius: 36px;
    background: linear-gradient(145deg, #374151, #080a0d 35%, #14171b);
    box-shadow: 0 20px 42px #0c172477, inset 0 0 0 1px #ffffff40;
  }
  html body.gh-site.gh-dog-training-page .gh-guide-dreamdog-app__phone img { display: block; width: 100%; height: 100%; border-radius: 27px; object-fit: cover; object-position: top center; }
}
html body.gh-site.gh-dog-training-page .gh-guide-dreamdog-app__content h3 { margin: 0 0 10px; color: var(--gh-ink); font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; line-height: 1.6; }
html body.gh-site.gh-dog-training-page .gh-guide-dreamdog-app__chips span,
html body.gh-site.gh-dog-training-page .gh-guide-app__features span { color: #d6e0e8; background: var(--gh-panel-raised); border: 1px solid var(--gh-line-bright); border-radius: 999px; }
html body.gh-site.gh-dog-training-page .gh-guide-path-card::before { content: none; }

/* ───────── Shared buttons (usable outside home/courses) ───────── */
body.gh-site .gh-concept-button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 10px; padding: 9px 18px; border: 1px solid var(--gh-orange); border-radius: var(--gh-radius-control); background: var(--gh-orange); color: #fff; font-size: 12px; font-weight: 600; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
body.gh-site .gh-concept-button:hover { transform: translateY(-2px); background: var(--gh-orange-hover); border-color: var(--gh-orange-hover); color: #fff; }
body.gh-site .gh-concept-button--outline { background: transparent; color: #e7ebef; border-color: #ff654885; }
body.gh-site .gh-concept-button--outline:hover { background: #ff65481a; border-color: var(--gh-orange); }

/* ───────── Generic pages: terms, shop, cart, checkout, plugin forms ───────── */
html body.gh-site .gh-page { padding: clamp(28px, 4vw, 48px) 0 clamp(44px, 6vw, 80px); }
body.gh-site .gh-page-head { width: min(860px, calc(100% - 48px)); margin: 0 auto 26px; padding: 0; }
body.gh-site .gh-page-head .gh-course-breadcrumb { margin-bottom: 14px; color: var(--gh-subtle); font-size: 11px; display: flex; flex-wrap: wrap; gap: 8px; }
body.gh-site .gh-page .gh-entry__title,
body.gh-site .gh-page-head h1 { margin: 0; color: #f3f4f6; font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; line-height: 1.5; letter-spacing: -.02em; }
html body.gh-site .gh-page .gh-entry { width: min(860px, calc(100% - 48px)); padding: clamp(22px, 4vw, 44px); background: var(--gh-panel); border: 1px solid var(--gh-line); border-radius: var(--gh-radius-panel); }
html body.gh-site .gh-page .gh-entry--wide { width: min(1180px, calc(100% - 48px)); }
html body.gh-site .gh-page-head:has(+ .gh-entry--wide) { width: min(1180px, calc(100% - 48px)); }
body.gh-site .gh-entry__content { color: #c4ced7; font-size: 14px; line-height: 2.1; }
body.gh-site .gh-entry__content > :first-child { margin-top: 0; }
body.gh-site .gh-entry__content > :last-child { margin-bottom: 0; }
body.gh-site .gh-entry__content :is(h2, h3, h4) { margin: 2em 0 .6em; color: var(--gh-ink); font-weight: 650; line-height: 1.6; }
body.gh-site .gh-entry__content h2 { font-size: clamp(22px, 2.4vw, 28px); }
body.gh-site .gh-entry__content h3 { font-size: clamp(18px, 2vw, 22px); }
body.gh-site .gh-entry__content p { margin: 0 0 1.1em; }
body.gh-site .gh-entry__content a { color: var(--gh-orange-soft); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #ff654866; }
body.gh-site .gh-entry__content a:hover { color: var(--gh-orange); }
body.gh-site .gh-entry__content :is(ul, ol) { margin: 0 0 1.2em; padding-inline-start: 1.5em; }
body.gh-site .gh-entry__content li { margin-bottom: .4em; }
body.gh-site .gh-entry__content li::marker { color: var(--gh-orange); }
body.gh-site .gh-entry__content blockquote { margin: 1.5em 0; padding: 16px 20px; color: var(--gh-ink); background: var(--gh-panel-soft); border-inline-start: 3px solid var(--gh-orange); border-radius: 12px; }
body.gh-site .gh-entry__content img { max-width: 100%; height: auto; border-radius: 14px; }
body.gh-site .gh-entry__content hr { border: 0; border-top: 1px solid var(--gh-line-strong); margin: 2em 0; }
body.gh-site .gh-entry__content table { width: 100%; border-collapse: collapse; font-size: 13px; }
body.gh-site .gh-entry__content :is(th, td) { padding: 12px 14px; text-align: start; border-bottom: 1px solid var(--gh-line-strong); }
body.gh-site .gh-entry__content th { color: var(--gh-ink); font-weight: 600; }

/* Forms rendered by plugins and WordPress itself */
body.gh-site .gh-entry__content :is(input:not([type="checkbox"], [type="radio"], [type="submit"], [type="button"]), textarea, select),
body.gh-site .search-field { width: 100%; min-height: 46px; padding: 10px 14px; color: var(--gh-ink); background: var(--gh-bg); border: 1px solid var(--gh-line-bright); border-radius: 10px; font: inherit; font-size: 13px; }
body.gh-site .gh-entry__content :is(input, textarea, select):focus,
body.gh-site .search-field:focus { border-color: var(--gh-orange); box-shadow: 0 0 0 3px #ff654820; outline: 0; }
body.gh-site .gh-entry__content label { display: block; margin-bottom: 6px; color: var(--gh-muted); font-size: 12px; }
body.gh-site .gh-entry__content :is(button, input[type="submit"], input[type="button"], .button, .wp-element-button) { min-height: 42px; padding: 9px 20px; color: #fff; background: var(--gh-orange); border: 1px solid var(--gh-orange); border-radius: var(--gh-radius-control); cursor: pointer; font: inherit; font-size: 12px; font-weight: 600; }
body.gh-site .gh-entry__content :is(button, input[type="submit"], input[type="button"], .button, .wp-element-button):hover { background: var(--gh-orange-hover); border-color: var(--gh-orange-hover); color: #fff; }

/* WooCommerce (shop, product, cart, checkout) */
body.gh-site .woocommerce :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) { margin: 0 0 20px; padding: 14px 18px; color: var(--gh-ink); background: var(--gh-panel-soft); border: 1px solid var(--gh-line-strong); border-inline-start: 3px solid var(--gh-orange); border-radius: 12px; list-style: none; }
body.gh-site .woocommerce ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
body.gh-site .woocommerce ul.products li.product { position: relative; margin: 0; padding: 16px; background: var(--gh-panel-soft); border: 1px solid var(--gh-line); border-radius: var(--gh-radius-card); }
body.gh-site .woocommerce ul.products li.product img { margin: 0 0 12px; border-radius: 12px; }
body.gh-site .woocommerce :is(.woocommerce-loop-product__title, h1.product_title) { color: var(--gh-ink); font-weight: 650; }
body.gh-site .woocommerce .price { color: var(--gh-orange); font-weight: 600; }
body.gh-site .woocommerce :is(.onsale) { padding: 4px 10px; color: #fff; background: var(--gh-orange); border-radius: 6px; font-size: 11px; }
body.gh-site .woocommerce table.shop_table { border: 1px solid var(--gh-line-strong); border-radius: 14px; border-collapse: separate; overflow: hidden; }
body.gh-site .woocommerce :is(.woocommerce-tabs ul.tabs) { padding: 0; list-style: none; display: flex; gap: 8px; }
body.gh-site .woocommerce :is(.woocommerce-tabs ul.tabs li a) { display: block; padding: 8px 14px; color: var(--gh-muted); border: 1px solid var(--gh-line-strong); border-radius: 999px; text-decoration: none; }
body.gh-site .woocommerce :is(.woocommerce-tabs ul.tabs li.active a) { color: #fff; background: var(--gh-orange); border-color: var(--gh-orange); }
body.gh-site :is(#primary, .woocommerce-products-header) { color: var(--gh-ink); }

/* Search form + 404 */
body.gh-site .search-form { display: flex; gap: 10px; max-width: 460px; margin: 26px auto 0; }
body.gh-site .search-form label { flex: 1; margin: 0; }
body.gh-site .search-form .search-submit { min-height: 46px; padding: 0 18px; color: #fff; background: var(--gh-orange); border: 0; border-radius: var(--gh-radius-control); cursor: pointer; font: inherit; font-size: 12px; font-weight: 600; }
html body.gh-site .gh-not-found { width: min(720px, calc(100% - 48px)); padding: clamp(36px, 6vw, 72px) 24px; text-align: center; background: var(--gh-panel-gradient); border: 1px solid #35506c; border-radius: var(--gh-radius-panel); }
body.gh-site .gh-not-found__code { margin: 0; color: var(--gh-orange); font-size: clamp(72px, 14vw, 130px); font-weight: 800; line-height: 1.1; letter-spacing: -.04em; }
body.gh-site .gh-not-found h1 { margin: 0 0 10px; color: var(--gh-ink); font-size: clamp(24px, 3vw, 34px); font-weight: 650; }
body.gh-site .gh-not-found p { max-width: 520px; margin: 0 auto 14px; color: var(--gh-muted); font-size: 13px; line-height: 2; }
body.gh-site .gh-not-found__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px !important; }

@media (max-width: 860px) {
  body.gh-site .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  body.gh-site .gh-page-head, html body.gh-site .gh-page .gh-entry, html body.gh-site .gh-page .gh-entry--wide, html body.gh-site .gh-page-head:has(+ .gh-entry--wide) { width: calc(100% - 30px); }
}
@media (max-width: 480px) {
  body.gh-site .woocommerce ul.products { grid-template-columns: 1fr; }
  body.gh-site .gh-not-found__actions .gh-concept-button { flex: 1 1 100%; }
}
body.gh-site p.gh-not-found__code { margin: 0; color: var(--gh-orange); font-size: clamp(72px, 14vw, 130px); font-weight: 800; line-height: 1.1; letter-spacing: -.04em; }

/* ───────── Builder forms (shortcode / landing pages) ───────── */
.gh-form__grid { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 14px; }
.gh-form__field { display: grid; flex: 1 1 100%; gap: 6px; align-content: start; }
.gh-form__field--half { flex: 1 1 calc(50% - 7px); min-width: 180px; }
.gh-form__field label { color: var(--gh-muted); font-size: 12px; }
.gh-form__field label b { color: var(--gh-orange); }
.gh-form :is(input[type="text"], input[type="tel"], input[type="email"], textarea, select) { width: 100%; min-height: 46px; padding: 10px 14px; color: var(--gh-ink); background: var(--gh-bg); border: 1px solid var(--gh-line-bright); border-radius: 10px; font: inherit; font-size: 13px; }
.gh-form textarea { min-height: 110px; resize: vertical; }
.gh-form :is(input, textarea, select):focus { border-color: var(--gh-orange); box-shadow: 0 0 0 3px #ff654820; outline: 0; }
.gh-form ::placeholder { color: #6d7f90; }
.gh-form .is-check label { display: flex; align-items: flex-start; gap: 8px; line-height: 1.8; }
.gh-form .is-check input { margin-top: 5px; accent-color: var(--gh-orange); }
.gh-form__submit { width: 100%; margin-top: 4px; cursor: pointer; }
.gh-form__hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.gh-form__notice { margin: 0 0 14px; padding: 12px 16px; font-size: 13px; line-height: 1.9; border-radius: 12px; }
.gh-form__notice.is-success { color: #d8f3e4; background: #14392d; border: 1px solid #2f7a5a; }
.gh-form__notice.is-error { color: #ffd9d1; background: #3b1f25; border: 1px solid #8a3a3a; }


/* ───────── Guide hero: video player ───────── */
html body.gh-site.gh-dog-training-page .gh-guide-hero-showcase { display: flex; align-items: center; justify-content: center; padding: 0 clamp(0px, 1.5vw, 20px); }
.gh-player { position: relative; width: 100%; max-width: 540px; }
.gh-player__stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0b121a; border: 1px solid #35506c; border-radius: 22px; box-shadow: 0 28px 60px #07101b88, 0 0 0 6px #ffffff0a; isolation: isolate; }
.gh-player::before { content: ""; position: absolute; inset: auto 8% -26px; height: 40px; background: radial-gradient(ellipse at center, #ff654833, transparent 70%); filter: blur(10px); z-index: -1; }
.gh-player__stage video, .gh-player__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.gh-player__stage video { z-index: 1; }
.gh-player__poster { z-index: 0; transition: transform .6s ease; }
.gh-player:hover .gh-player__poster { transform: scale(1.04); }
.gh-player__stage::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, #17212d33 0%, transparent 35%, #0b121acc 100%); transition: opacity .3s ease; }
.gh-player.is-started .gh-player__stage::after { opacity: 0; }
.gh-player__badge { position: absolute; z-index: 3; top: 14px; right: 14px; padding: 5px 12px; color: #fff; background: #17212dcc; border: 1px solid #ffffff2e; border-radius: 999px; font-size: 11px; backdrop-filter: blur(8px); }
.gh-player__caption { position: absolute; z-index: 3; right: 16px; bottom: 14px; left: 90px; margin: 0; color: #fff; font-size: 13px; font-weight: 600; line-height: 1.8; text-shadow: 0 2px 10px #000a; }
.gh-player__big { position: absolute; z-index: 4; bottom: 14px; left: 14px; display: grid; width: 62px; height: 62px; padding: 0; place-items: center; color: #fff; background: var(--gh-orange); border: 0; border-radius: 50%; cursor: pointer; box-shadow: 0 0 0 0 #ff654866, 0 10px 26px #ff654855; animation: gh-player-pulse 2.4s ease-out infinite; transition: transform .2s ease, background .2s ease; }
.gh-player__big:hover { transform: scale(1.08); background: var(--gh-orange-hover); }
.gh-player__big svg { width: 26px; height: 26px; margin-inline-start: -2px; fill: currentColor; }
@keyframes gh-player-pulse { 70% { box-shadow: 0 0 0 16px #ff654800, 0 10px 26px #ff654855; } 100% { box-shadow: 0 0 0 0 #ff654800, 0 10px 26px #ff654855; } }
.gh-player.is-started .gh-player__big, .gh-player.is-started .gh-player__badge, .gh-player.is-started .gh-player__caption, .gh-player.is-started .gh-player__poster { display: none; }
.gh-player.is-ended .gh-player__stage video { opacity: .35; }
.gh-player.is-loading .gh-player__stage::before { content: ""; position: absolute; z-index: 5; top: 50%; left: 50%; width: 38px; height: 38px; margin: -19px; border: 3px solid #ffffff44; border-top-color: var(--gh-orange); border-radius: 50%; animation: gh-player-spin .8s linear infinite; }
@keyframes gh-player-spin { to { transform: rotate(360deg); } }

.gh-player__bar { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 8px 12px; background: var(--gh-panel); border: 1px solid var(--gh-line-strong); border-radius: 14px; }
.gh-player__bar[hidden] { display: none; }
.gh-player__bar button { display: grid; flex: none; width: 34px; height: 34px; padding: 0; place-items: center; color: var(--gh-ink); background: transparent; border: 0; border-radius: 10px; cursor: pointer; }
.gh-player__bar button:hover { background: #ffffff14; color: var(--gh-orange); }
.gh-player__bar svg { width: 18px; height: 18px; fill: currentColor; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gh-player__bar [data-full] svg, .gh-player__bar .i-pause, .gh-player__bar .i-muted, .gh-player__bar .i-vol { fill: none; }
.gh-player__bar .i-pause, .gh-player__bar .i-muted { display: none; }
.gh-player.is-playing .i-play { display: none; }
.gh-player.is-playing .i-pause { display: block; }
.gh-player.is-muted .i-vol { display: none; }
.gh-player.is-muted .i-muted { display: block; }
.gh-player__bar time { flex: none; color: var(--gh-muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.gh-player__bar input[type="range"] { --p: 0%; flex: 1; min-width: 0; height: 6px; margin: 0; cursor: pointer; background: linear-gradient(to left, var(--gh-orange) var(--p), #ffffff26 var(--p)); border-radius: 999px; appearance: none; -webkit-appearance: none; direction: ltr; transform: scaleX(-1); }
.gh-player__bar input[type="range"]::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 14px; height: 14px; background: #fff; border: 3px solid var(--gh-orange); border-radius: 50%; }
.gh-player__bar input[type="range"]::-moz-range-thumb { width: 10px; height: 10px; background: #fff; border: 3px solid var(--gh-orange); border-radius: 50%; }
.gh-player__stage:fullscreen { border-radius: 0; border: 0; aspect-ratio: auto; }
.gh-player__stage:fullscreen video { object-fit: contain; }

@media (max-width: 780px) {
  html body.gh-site.gh-dog-training-page .gh-guide-hero-showcase { position: relative; inset: auto; width: 100%; height: auto; margin: 18px auto 0; padding: 0; }
  .gh-player { max-width: 100%; }
  .gh-player__big { width: 54px; height: 54px; }
  .gh-player__caption { left: 78px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .gh-player__big { animation: none; } .gh-player__poster { transition: none; } }
html body.gh-site.gh-dog-training-page .gh-guide-hero h1 strong { display: inline; }

/* ───────── Guide: path cards = image cards; library = thumbnail list ───────── */
html body.gh-site.gh-dog-training-page .gh-guide-article-card__copy { margin: 6px 0 0; color: #d3dde6; font-size: 12px; line-height: 1.9; text-shadow: 0 2px 8px #000a; }
html body.gh-site.gh-dog-training-page .gh-guide-paths .gh-guide-article-card { min-height: 300px; }

.gh-guide-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: hidden; background: var(--gh-panel); border: 1px solid var(--gh-line-strong); border-radius: 20px; }
.gh-guide-list__item { display: flex; align-items: center; gap: 14px; padding: 14px 18px; color: var(--gh-ink); border-bottom: 1px solid #ffffff14; transition: background .2s ease; }
.gh-guide-list__item:nth-child(odd) { border-inline-start: 0; }
.gh-guide-list__item:nth-child(even) { border-inline-start: 1px solid #ffffff14; }
.gh-guide-list__item:nth-last-child(-n+2) { border-bottom: 0; }
.gh-guide-list__item:hover { background: #ffffff0a; }
.gh-guide-list__num { flex: none; width: 24px; color: var(--gh-subtle); font-size: 12px; font-variant-numeric: tabular-nums; }
.gh-guide-list__thumb { flex: none; width: 78px; height: 58px; overflow: hidden; background: var(--gh-panel-raised); border: 1px solid var(--gh-line-strong); border-radius: 12px; }
.gh-guide-list__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .4s ease; }
.gh-guide-list__item:hover .gh-guide-list__thumb img { transform: scale(1.1); }
.gh-guide-list__text { flex: 1; min-width: 0; display: grid; gap: 3px; }
.gh-guide-list__text small { color: var(--gh-orange); font-size: 11px; }
.gh-guide-list__text strong { color: #dbe4ec; font-size: 13.5px; font-weight: 500; line-height: 1.8; }
.gh-guide-list__item:hover strong { color: #fff; }
.gh-guide-list__item .gh-arrow-icon { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--gh-subtle); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .2s ease, transform .2s ease; }
.gh-guide-list__item:hover .gh-arrow-icon { stroke: var(--gh-orange); transform: translateX(-4px); }
@media (max-width: 860px) {
  .gh-guide-list { grid-template-columns: 1fr; border-radius: 16px; }
  .gh-guide-list__item:nth-child(even) { border-inline-start: 0; }
  .gh-guide-list__item:nth-last-child(-n+2) { border-bottom: 1px solid #ffffff14; }
  .gh-guide-list__item:last-child { border-bottom: 0; }
  .gh-guide-list__item { gap: 10px; padding: 12px 12px; }
  .gh-guide-list__num { width: 20px; font-size: 11px; }
  .gh-guide-list__thumb { width: 64px; height: 50px; }
  .gh-guide-list__text strong { font-size: 12.5px; }
}

/* ───────── Guide: long-form body + table of contents ───────── */
.gh-guide-doc__layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 5vw, 64px); align-items: start; width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.gh-guide-doc__main { min-width: 0; max-width: 800px; }
.gh-doc-group { margin: clamp(44px, 6vw, 72px) 0 18px; padding: 18px 22px; background: linear-gradient(115deg, #20364e, #1a2939); border: 1px solid #314a63; border-radius: 18px; }
.gh-doc-group:first-child { margin-top: 0; }
.gh-doc-group__kicker { margin: 0 0 4px; color: var(--gh-orange-soft); font-size: 12px; }
.gh-doc-group__title { margin: 0; color: var(--gh-ink); font-size: clamp(22px, 2.6vw, 30px); font-weight: 650; line-height: 1.6; }
.gh-guide-doc .gh-prose { font-size: 15px; line-height: 2.25; }
.gh-guide-doc .gh-prose > p, .gh-guide-doc .gh-prose li { text-align: justify; }
.gh-guide-doc .gh-prose h2 { font-size: clamp(20px, 2.2vw, 25px); }
.gh-guide-doc .gh-prose h3 { margin: 1.6em 0 .5em; color: var(--gh-orange-soft); font-size: clamp(17px, 1.9vw, 20px); font-weight: 650; }
.gh-guide-doc .gh-doc-lead { padding: 16px 20px; color: var(--gh-ink); background: var(--gh-panel-soft); border: 1px solid var(--gh-line-strong); border-radius: 14px; }
.gh-guide-doc .gh-prose blockquote { margin: 1.4em 0; padding: 16px 20px; color: var(--gh-ink); font-size: 17px; font-weight: 600; background: var(--gh-panel-soft); border-inline-start: 3px solid var(--gh-orange); border-radius: 12px; }
.gh-doc-aside { position: sticky; top: 108px; display: grid; gap: 16px; }
.gh-doc-aside .gh-toc ol { max-height: 56vh; }
.gh-toc .is-group a { margin-top: 8px; color: var(--gh-ink); font-weight: 650; }
.gh-doc-aside .gh-aside-cta .gh-concept-button { width: 100%; }
@media (max-width: 1000px) {
  .gh-guide-doc__layout { grid-template-columns: 1fr; }
  .gh-doc-aside { display: none; }
  .gh-guide-doc__main { max-width: none; }
}
@media (max-width: 780px) { .gh-guide-doc__layout { width: calc(100% - 30px); } .gh-guide-doc .gh-prose > p, .gh-guide-doc .gh-prose li { text-align: start; } .gh-doc-group { padding: 14px 16px; } }
.gh-contact-details .gh-contact-details__item { display: flex; flex-direction: row; align-items: center; gap: 11px; padding: 11px 12px; background: var(--gh-bg); border: 1px solid var(--gh-line-strong); border-radius: 12px; }
.gh-contact-details small { font-size: 11px; }
.gh-contact-details b { font-size: 13px; font-weight: 600; }

/* ───────── WooCommerce my-account (login, register, dashboard, orders, downloads) ───────── */
:is(.gh-account-dashboard__content, .gh-acct) .woocommerce { display: block; color: var(--gh-ink); }
:is(.gh-account-dashboard__content, .gh-acct) .woocommerce::after { content: ""; display: table; clear: both; }
:is(.gh-account-dashboard__content, .gh-acct) h2, :is(.gh-account-dashboard__content, .gh-acct) h3 { margin: 0 0 14px; color: var(--gh-ink); font-size: clamp(18px, 2vw, 22px); font-weight: 650; }
:is(.gh-account-dashboard__content, .gh-acct) .u-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
:is(.gh-account-dashboard__content, .gh-acct) .u-columns > div { padding: clamp(18px, 3vw, 28px); background: var(--gh-panel-soft); border: 1px solid var(--gh-line-strong); border-radius: 18px; float: none; width: auto; }
:is(.gh-account-dashboard__content, .gh-acct) form.login, :is(.gh-account-dashboard__content, .gh-acct) form.register, :is(.gh-account-dashboard__content, .gh-acct) form.woocommerce-EditAccountForm, :is(.gh-account-dashboard__content, .gh-acct) form.lost_reset_password { margin: 0; padding: 0; border: 0; }
:is(.gh-account-dashboard__content, .gh-acct) :is(input.input-text, input[type="text"], input[type="email"], input[type="password"], input[type="tel"], select, textarea) { width: 100%; min-height: 46px; padding: 10px 14px; color: var(--gh-ink); background: var(--gh-bg); border: 1px solid var(--gh-line-bright); border-radius: 10px; font: inherit; font-size: 13px; }
:is(.gh-account-dashboard__content, .gh-acct) :is(input, select, textarea):focus { border-color: var(--gh-orange); box-shadow: 0 0 0 3px #ff654820; outline: 0; }
:is(.gh-account-dashboard__content, .gh-acct) .form-row { margin: 0 0 14px; padding: 0; }
:is(.gh-account-dashboard__content, .gh-acct) label { display: block; margin-bottom: 6px; color: var(--gh-muted); font-size: 12px; }
:is(.gh-account-dashboard__content, .gh-acct) label.hidden { display: block; }
:is(.gh-account-dashboard__content, .gh-acct) .required { color: var(--gh-orange); }
:is(.gh-account-dashboard__content, .gh-acct) .woocommerce-form__label-for-checkbox { display: flex; align-items: center; gap: 8px; }
:is(.gh-account-dashboard__content, .gh-acct) input[type="checkbox"] { width: 16px; height: 16px; min-height: 0; accent-color: var(--gh-orange); }
:is(.gh-account-dashboard__content, .gh-acct) :is(button.button, a.button, .woocommerce-button, input[type="submit"]) { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; padding: 9px 20px; color: #fff; background: var(--gh-orange); border: 1px solid var(--gh-orange); border-radius: var(--gh-radius-control); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; transition: background .2s ease; }
:is(.gh-account-dashboard__content, .gh-acct) :is(button.button, a.button, .woocommerce-button, input[type="submit"]):hover { background: var(--gh-orange-hover); border-color: var(--gh-orange-hover); color: #fff; }
:is(.gh-account-dashboard__content, .gh-acct) .lost_password { margin: 10px 0 0; font-size: 12px; }
:is(.gh-account-dashboard__content, .gh-acct) a:not(.button) { color: var(--gh-orange-soft); }
:is(.gh-account-dashboard__content, .gh-acct) a:not(.button):hover { color: var(--gh-orange); }
:is(.gh-account-dashboard__content, .gh-acct) :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) { margin: 0 0 18px; padding: 14px 18px; color: var(--gh-ink); background: var(--gh-panel-soft); border: 1px solid var(--gh-line-strong); border-inline-start: 3px solid var(--gh-orange); border-radius: 12px; list-style: none; }
:is(.gh-account-dashboard__content, .gh-acct) :is(.woocommerce-message, .woocommerce-info)::before { content: none; }
:is(.gh-account-dashboard__content, .gh-acct) .woocommerce-MyAccount-navigation { float: none; width: auto; margin: 0 0 22px; }
:is(.gh-account-dashboard__content, .gh-acct) .woocommerce-MyAccount-navigation ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
:is(.gh-account-dashboard__content, .gh-acct) .woocommerce-MyAccount-navigation a { display: block; padding: 8px 18px; color: var(--gh-muted); border: 1px solid var(--gh-line-strong); border-radius: 999px; font-size: 12.5px; }
:is(.gh-account-dashboard__content, .gh-acct) .woocommerce-MyAccount-navigation .is-active a, :is(.gh-account-dashboard__content, .gh-acct) .woocommerce-MyAccount-navigation a:hover { color: #fff; background: var(--gh-orange); border-color: var(--gh-orange); }
:is(.gh-account-dashboard__content, .gh-acct) .woocommerce-MyAccount-content { float: none; width: auto; font-size: 13.5px; line-height: 2; color: #c9d3dc; }
:is(.gh-account-dashboard__content, .gh-acct) table { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--gh-line-strong); border-radius: 14px; font-size: 12.5px; }
:is(.gh-account-dashboard__content, .gh-acct) :is(th, td) { padding: 12px 14px; text-align: start; border-bottom: 1px solid #ffffff14; }
:is(.gh-account-dashboard__content, .gh-acct) th { color: var(--gh-ink); background: var(--gh-panel-soft); font-weight: 600; }
:is(.gh-account-dashboard__content, .gh-acct) tr:last-child td { border-bottom: 0; }
:is(.gh-account-dashboard__content, .gh-acct) td .button { min-height: 34px; padding: 5px 14px; }
:is(.gh-account-dashboard__content, .gh-acct) .woocommerce-Addresses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
:is(.gh-account-dashboard__content, .gh-acct) .woocommerce-Address { padding: 18px; background: var(--gh-panel-soft); border: 1px solid var(--gh-line-strong); border-radius: 16px; float: none; width: auto; }
@media (max-width: 780px) {
  :is(.gh-account-dashboard__content, .gh-acct) .u-columns, :is(.gh-account-dashboard__content, .gh-acct) .woocommerce-Addresses { grid-template-columns: 1fr; }
  :is(.gh-account-dashboard__content, .gh-acct) table { display: block; overflow-x: auto; }
}

/* ───────── WooCommerce forms, buttons, notices: beat the plugin's own specificity ───────── */
html body.gh-site .woocommerce form .form-row :is(input.input-text, textarea, select),
html body.gh-site .woocommerce :is(.input-text, .select2-container--default .select2-selection--single, .select2-container--default .select2-selection--multiple, .quantity .qty),
html body.gh-site.woocommerce-page :is(input.input-text, textarea, select) { min-height: 46px; padding: 10px 14px; color: var(--gh-ink); background: var(--gh-bg); border: 1px solid var(--gh-line-bright); border-radius: 10px; box-shadow: none; font: inherit; font-size: 13px; }
html body.gh-site .woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--gh-ink); line-height: 26px; }
html body.gh-site .woocommerce .select2-container--default .select2-selection--single { display: flex; align-items: center; }
html body.gh-site .woocommerce form .form-row :is(input.input-text, textarea, select):focus { border-color: var(--gh-orange); box-shadow: 0 0 0 3px #ff654820; outline: 0; }
html body.gh-site .woocommerce form .form-row label { color: var(--gh-muted); font-size: 12px; line-height: 1.8; }
html body.gh-site .woocommerce :is(a.button, button.button, input.button, #respond input#submit, .wc-block-components-button) { color: #fff; background: var(--gh-orange); border: 1px solid var(--gh-orange); border-radius: var(--gh-radius-control); font: inherit; font-size: 12.5px; font-weight: 600; box-shadow: none; }
html body.gh-site .woocommerce :is(a.button, button.button, input.button, #respond input#submit):hover { color: #fff; background: var(--gh-orange-hover); border-color: var(--gh-orange-hover); }
html body.gh-site .woocommerce :is(a.button.alt, button.button.alt, input.button.alt, #place_order) { color: #fff; background: var(--gh-orange); }
html body.gh-site .woocommerce :is(.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews) { color: var(--gh-ink); background: var(--gh-panel-soft); border: 1px solid var(--gh-line-strong); border-top: 1px solid var(--gh-line-strong); border-inline-start: 3px solid var(--gh-orange); border-radius: 12px; }
html body.gh-site .woocommerce :is(.woocommerce-message, .woocommerce-info, .woocommerce-error)::before { color: var(--gh-orange); }
html body.gh-site .woocommerce :is(.woocommerce-message, .woocommerce-info) a.button { background: transparent; border-color: var(--gh-orange); }
html body.gh-site .woocommerce table.shop_table { color: var(--gh-ink); background: var(--gh-panel-soft); border: 1px solid var(--gh-line-strong); }
html body.gh-site .woocommerce table.shop_table :is(th, td) { border-color: #ffffff14; }
html body.gh-site .woocommerce :is(#order_review, .cart_totals, .woocommerce-checkout-review-order, .woocommerce-checkout-payment) { color: var(--gh-ink); }
html body.gh-site .woocommerce #payment { background: var(--gh-panel-soft); border-radius: 14px; }
html body.gh-site .woocommerce #payment div.payment_box { color: var(--gh-muted); background: var(--gh-panel-raised); }
html body.gh-site .woocommerce #payment div.payment_box::before { border-bottom-color: var(--gh-panel-raised); }
html body.gh-site .woocommerce :is(h1, h2, h3) { color: var(--gh-ink); }
html body.gh-site .woocommerce :is(.price, .amount) { color: var(--gh-orange-soft); }

/* ───────── Account (logged in): sidebar + content ───────── */
body.gh-account-page .gh-account { padding-top: clamp(24px, 3vw, 40px); }
.gh-acct .woocommerce { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 24px; align-items: start; }
.gh-acct .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.gh-acct-side { position: sticky; top: 108px; display: grid; gap: 14px; }
.gh-acct-user { display: flex; align-items: center; gap: 14px; padding: 18px; background: linear-gradient(115deg, #20364e, #1a2939); border: 1px solid #35506c; border-radius: 18px; }
.gh-acct-user__avatar { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--gh-line-bright); }
.gh-acct-user strong { display: block; color: var(--gh-ink); font-size: 15px; font-weight: 650; }
.gh-acct-user small { display: block; margin-top: 2px; color: var(--gh-subtle); font-size: 12px; }
.gh-acct .woocommerce-MyAccount-navigation { float: none; width: auto; margin: 0; padding: 10px; background: var(--gh-panel); border: 1px solid var(--gh-line-strong); border-radius: 18px; }
.gh-acct .woocommerce-MyAccount-navigation ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.gh-acct .woocommerce-MyAccount-navigation a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; color: var(--gh-muted); border: 0; border-radius: 12px; font-size: 13.5px; transition: background .2s ease, color .2s ease; }
.gh-acct .woocommerce-MyAccount-navigation svg { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.gh-acct .woocommerce-MyAccount-navigation a:hover { color: #fff; background: #ffffff0f; }
.gh-acct .woocommerce-MyAccount-navigation .is-active a { color: #fff; background: var(--gh-orange); }
.gh-acct .woocommerce-MyAccount-navigation .is-active svg { stroke: #fff; }
.gh-acct .woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--customer-logout a { color: #ff9b82; }
.gh-acct .woocommerce-MyAccount-content { float: none; width: auto; min-width: 0; padding: clamp(20px, 3vw, 32px); background: var(--gh-panel); border: 1px solid var(--gh-line-strong); border-radius: 20px; }

.gh-acct-welcome { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 0 0 24px; padding: clamp(20px, 3vw, 30px); background: linear-gradient(115deg, #20364e, #1a2939); border: 1px solid #35506c; border-radius: 18px; }
.gh-acct-welcome .gh-concept-pill { margin: 0 0 14px; }
.gh-acct-welcome h2 { margin: 0 0 8px; color: var(--gh-ink); font-size: clamp(22px, 2.6vw, 30px); font-weight: 650; }
.gh-acct-welcome h2 em, .gh-ac-head em { color: var(--gh-orange); font-style: normal; }
.gh-acct-welcome > div > p { margin: 0 0 16px; color: #b7c3cd; font-size: 13px; line-height: 2; }
.gh-acct-welcome__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 !important; }
.gh-acct-stats { display: flex; gap: 12px; margin: 0; padding: 0; list-style: none; }
.gh-acct-stats li { display: grid; min-width: 92px; gap: 2px; padding: 14px 16px; text-align: center; background: #17212d99; border: 1px solid var(--gh-line-strong); border-radius: 14px; }
.gh-acct-stats b { color: var(--gh-orange); font-size: 26px; font-weight: 700; line-height: 1.3; }
.gh-acct-stats span { color: var(--gh-muted); font-size: 12px; }
.gh-acct-block { margin-top: 26px; }
.gh-acct-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gh-acct-links a { display: grid; gap: 4px; padding: 16px 18px; background: var(--gh-panel-soft); border: 1px solid var(--gh-line-strong); border-radius: 14px; transition: border-color .2s ease, transform .2s ease; }
.gh-acct-links a:hover { border-color: var(--gh-orange); transform: translateY(-3px); }
.gh-acct-links b { color: var(--gh-ink); font-size: 14px; }
.gh-acct-links span { color: var(--gh-subtle); font-size: 12px; }

/* Courses + lessons */
.gh-ac-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin: 0 0 18px; }
.gh-ac-head h2, .gh-ac-head h3 { margin: 0; color: var(--gh-ink); font-size: clamp(20px, 2.2vw, 26px); font-weight: 650; }
.gh-ac-head p { flex-basis: 100%; margin: 0; color: var(--gh-subtle); font-size: 13px; }
.gh-ac-head a { color: var(--gh-orange-soft); font-size: 12.5px; }
.gh-ac-courses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.gh-ac-course { display: flex; gap: 14px; align-items: stretch; overflow: hidden; background: var(--gh-panel-soft); border: 1px solid var(--gh-line-strong); border-radius: 16px; transition: transform .25s ease, border-color .25s ease; }
.gh-ac-course:hover { transform: translateY(-4px); border-color: var(--gh-orange); }
.gh-ac-course__media { flex: 0 0 110px; display: grid; place-items: center; background: var(--gh-panel-raised); color: var(--gh-orange); font-size: 26px; }
.gh-ac-course__media img { width: 100%; height: 100%; object-fit: cover; }
.gh-ac-course__body { display: grid; flex: 1; gap: 4px; padding: 14px 4px 14px 14px; align-content: center; }
.gh-ac-course strong { color: var(--gh-ink); font-size: 14px; font-weight: 600; line-height: 1.8; }
.gh-ac-course small { color: var(--gh-subtle); font-size: 12px; }
.gh-ac-course b { width: fit-content; margin-top: 4px; padding: 3px 12px; color: #fff; background: var(--gh-orange); border-radius: 8px; font-size: 11px; font-weight: 600; }
.gh-ac-back { margin: 0 0 12px; }
.gh-ac-back a { color: var(--gh-orange-soft); font-size: 12.5px; }
.gh-ac-section { margin-top: 22px; }
.gh-ac-section > h3 { margin: 0 0 12px; color: var(--gh-orange-soft); font-size: 16px; font-weight: 650; }
.gh-ac-lessons { display: grid; gap: 10px; }
.gh-ac-lesson { background: var(--gh-panel-soft); border: 1px solid var(--gh-line-strong); border-radius: 14px; overflow: hidden; }
.gh-ac-lesson[open] { border-color: #46647e; }
.gh-ac-lesson summary { display: flex; align-items: center; gap: 14px; padding: 14px 16px; cursor: pointer; list-style: none; }
.gh-ac-lesson summary::-webkit-details-marker { display: none; }
.gh-ac-lesson__num { display: grid; flex: none; width: 34px; height: 34px; place-items: center; color: var(--gh-orange-soft); background: var(--gh-panel-raised); border: 1px solid var(--gh-line-bright); border-radius: 50%; font-size: 12px; }
.gh-ac-lesson__title { display: grid; flex: 1; gap: 2px; min-width: 0; }
.gh-ac-lesson__title strong { color: var(--gh-ink); font-size: 14px; font-weight: 600; line-height: 1.8; }
.gh-ac-lesson__title small { color: var(--gh-subtle); font-size: 12px; }
.gh-ac-lesson summary i { flex: none; width: 10px; height: 10px; border: solid var(--gh-subtle); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s ease; }
.gh-ac-lesson[open] summary i { transform: rotate(-135deg); }
.gh-ac-lesson__body { padding: 0 16px 16px; }
.gh-ac-lesson video { display: block; width: 100%; max-height: 520px; background: #000; border-radius: 12px; }
.gh-ac-embed { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; }
.gh-ac-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gh-ac-note { margin: 0; padding: 14px; color: var(--gh-muted); background: #17212d99; border: 1px dashed var(--gh-line-bright); border-radius: 10px; font-size: 13px; }
.gh-ac-lesson__tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.gh-ac-dl { padding: 6px 14px; color: var(--gh-orange-soft); border: 1px solid #ff654866; border-radius: 999px; font-size: 12px; }
.gh-ac-dl:hover { color: #fff; background: var(--gh-orange); border-color: var(--gh-orange); }
.gh-ac-pagelink { margin: 22px 0 0; font-size: 12.5px; }
.gh-ac-empty { padding: clamp(24px, 4vw, 40px); text-align: center; background: var(--gh-panel-soft); border: 1px dashed var(--gh-line-bright); border-radius: 16px; }
.gh-ac-empty h3 { margin: 0 0 8px; color: var(--gh-ink); font-size: 18px; }
.gh-ac-empty p { max-width: 520px; margin: 0 auto 16px; color: var(--gh-muted); font-size: 13px; line-height: 2; }

@media (max-width: 980px) {
  .gh-acct .woocommerce { grid-template-columns: 1fr; }
  .gh-acct-side { position: static; }
  .gh-acct .woocommerce-MyAccount-navigation ul { display: flex; overflow-x: auto; gap: 6px; padding-bottom: 2px; scrollbar-width: none; }
  .gh-acct .woocommerce-MyAccount-navigation a { white-space: nowrap; padding: 9px 14px; }
}
@media (max-width: 700px) {
  .gh-acct-welcome { flex-direction: column; align-items: flex-start; }
  .gh-acct-stats { width: 100%; }
  .gh-acct-stats li { flex: 1; }
  .gh-acct-links, .gh-ac-courses { grid-template-columns: 1fr; }
  .gh-ac-course__media { flex-basis: 90px; }
}
.gh-acct .woocommerce::before, .gh-acct .woocommerce::after { content: none; display: none; }
:is(.gh-account-dashboard__content, .gh-acct) a.gh-concept-button:not(.gh-concept-button--outline) { color: #fff; }
:is(.gh-account-dashboard__content, .gh-acct) a.gh-concept-button--outline { color: #e7ebef; }

/* Footer social icons */
.gh-footer__social { display: flex; align-items: center; gap: 10px; }
.gh-footer__social a { display: grid; width: 36px; height: 36px; place-items: center; color: var(--gh-muted); border: 1px solid var(--gh-line-strong); border-radius: 50%; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.gh-footer__social a:hover { color: #fff; background: var(--gh-orange); border-color: var(--gh-orange); }
.gh-footer__social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Layout fixes (0.21): home course badges, dog-training FAQ and reader comments centred. */
body.home .gh-concept-course-grid { padding-top: 32px; }

html body.gh-site.gh-dog-training-page .gh-guide-faq__grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
html body.gh-site.gh-dog-training-page .gh-guide-faq .gh-guide-heading { max-width: 760px; margin: 0 auto; text-align: center; }
html body.gh-site.gh-dog-training-page .gh-guide-faq .gh-guide-heading > p:last-child { margin-inline: auto; }
html body.gh-site.gh-dog-training-page .gh-guide-faq__list { width: 100%; max-width: 860px; margin-inline: auto; }

html body.gh-site.gh-dog-training-page .gh-guide-voices__head { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-bottom: 34px; text-align: center; }
html body.gh-site.gh-dog-training-page .gh-guide-voices__head > div { max-width: 760px; }
html body.gh-site.gh-dog-training-page .gh-guide-voices__head h2 { margin-inline: auto; }
html body.gh-site.gh-dog-training-page .gh-guide-voices blockquote { min-height: 0; gap: 18px; }
html body.gh-site.gh-dog-training-page .gh-guide-voices blockquote p { margin: 0; }
html body.gh-site.gh-dog-training-page .gh-guide-voices__link { display: flex; width: fit-content; margin: 28px auto 0; }
body.gh-site .gh-entry__content :is(video, iframe, embed) { max-width: 100%; border-radius: 14px; }
body.gh-site .gh-entry__content video { display: block; width: 100%; height: auto; background: #000; }
