/*
Theme Name: Grand Strategy Atlas
Theme URI: https://grandstrategy-hub.com/
Description: Standalone Campaign Atlas WordPress theme for the Grand Strategy Hub guide network.
Author: Grand Strategy Atlas
Version: 1.1.12
Text Domain: grand-strategy-atlas
*/

:root {
  --gsh-bg: #080d14;
  --gsh-bg-cool: #0e1a27;
  --gsh-surface: #111a25;
  --gsh-surface-soft: #162231;
  --gsh-surface-blue: #102a44;
  --gsh-surface-mint: #102a24;
  --gsh-text: #d8e2ee;
  --gsh-heading: #f7fbff;
  --gsh-muted: #9fb0c4;
  --gsh-border: #263648;
  --gsh-border-strong: #3a4f66;
  --gsh-primary: #5eb6ff;
  --gsh-primary-dark: #8bc9ff;
  --gsh-primary-soft: #102b45;
  --gsh-accent: #ff966f;
  --gsh-accent-soft: #3b211b;
  --gsh-success: #67d7ad;
  --gsh-success-soft: #123427;
  --gsh-warning: #f3c66f;
  --gsh-warning-soft: #342915;
  --gsh-danger: #ff86a0;
  --gsh-danger-soft: #351823;
  --gsh-code-bg: #07121f;
  --gsh-code-text: #9bd6ff;
  --gsh-body-grid-primary: rgba(94, 182, 255, 0.07);
  --gsh-body-grid-secondary: rgba(103, 215, 173, 0.045);
  --gsh-selection-bg: rgba(94, 182, 255, 0.26);
  --gsh-focus-ring: rgba(94, 182, 255, 0.34);
  --gsh-header-bg: rgba(9, 14, 22, 0.9);
  --gsh-header-border: rgba(93, 116, 142, 0.42);
  --gsh-header-shadow: 0 10px 34px rgba(0, 0, 0, 0.32);
  --gsh-nav-border: rgba(93, 116, 142, 0.32);
  --gsh-panel-bg: rgba(17, 26, 37, 0.94);
  --gsh-popover-bg: rgba(15, 24, 35, 0.98);
  --gsh-hero-bg: linear-gradient(135deg, rgba(11, 18, 29, 0.98), rgba(9, 34, 51, 0.92)), linear-gradient(90deg, rgba(94, 182, 255, 0.09) 1px, transparent 1px) 0 0 / 26px 26px, linear-gradient(0deg, rgba(103, 215, 173, 0.055) 1px, transparent 1px) 0 0 / 26px 26px;
  --gsh-hero-line-primary: rgba(94, 182, 255, 0.26);
  --gsh-hero-line-accent: rgba(255, 150, 111, 0.2);
  --gsh-hero-search-bg: rgba(7, 14, 23, 0.88);
  --gsh-hero-search-border: rgba(215, 237, 248, 0.24);
  --gsh-hero-search-text: #f7fbff;
  --gsh-button-bg: #5eb6ff;
  --gsh-button-border: #5eb6ff;
  --gsh-button-text: #06111d;
  --gsh-button-hover-bg: #8bc9ff;
  --gsh-button-hover-border: #8bc9ff;
  --gsh-button-hover-text: #06111d;
  --gsh-active-bg: #5eb6ff;
  --gsh-active-muted: rgba(6, 17, 29, 0.68);
  --gsh-active-text: #06111d;
  --gsh-theme-toggle-bg: rgba(255, 255, 255, 0.06);
  --gsh-theme-toggle-border: rgba(159, 176, 196, 0.38);
  --gsh-container: 1140px;
  --gsh-content: 760px;
  --gsh-radius: 8px;
  --gsh-shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.34);
  --gsh-shadow-card: 0 16px 42px rgba(0, 0, 0, 0.3);
  --gsh-ui-font: "Work Sans", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --gsh-editorial-font: "Newsreader", Georgia, "Times New Roman", serif;
  color-scheme: dark;
}

:root[data-gsh-theme="light"] {
  --gsh-bg: #f6f8fb;
  --gsh-bg-cool: #edf5ff;
  --gsh-surface: #ffffff;
  --gsh-surface-soft: #f1f6fb;
  --gsh-surface-blue: #e7f3ff;
  --gsh-surface-mint: #e9f8f2;
  --gsh-text: #1d2939;
  --gsh-heading: #101828;
  --gsh-muted: #5f6f82;
  --gsh-border: #d8e2ee;
  --gsh-border-strong: #b9c9db;
  --gsh-primary: #0b79c8;
  --gsh-primary-dark: #075a9a;
  --gsh-primary-soft: #dff1ff;
  --gsh-accent: #f0784f;
  --gsh-accent-soft: #fff0e8;
  --gsh-success: #138a63;
  --gsh-success-soft: #e6f7ef;
  --gsh-warning: #b7791f;
  --gsh-warning-soft: #fff6df;
  --gsh-danger: #c23b59;
  --gsh-danger-soft: #ffe8ef;
  --gsh-code-bg: #eef4fb;
  --gsh-code-text: #123b63;
  --gsh-body-grid-primary: rgba(11, 121, 200, 0.06);
  --gsh-body-grid-secondary: rgba(19, 138, 99, 0.045);
  --gsh-selection-bg: rgba(11, 121, 200, 0.18);
  --gsh-focus-ring: rgba(11, 121, 200, 0.28);
  --gsh-header-bg: rgba(255, 255, 255, 0.92);
  --gsh-header-border: rgba(185, 201, 219, 0.78);
  --gsh-header-shadow: 0 10px 30px rgba(31, 46, 66, 0.06);
  --gsh-nav-border: rgba(216, 226, 238, 0.8);
  --gsh-panel-bg: rgba(255, 255, 255, 0.96);
  --gsh-popover-bg: rgba(255, 255, 255, 0.98);
  --gsh-hero-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(238, 247, 255, 0.92)), linear-gradient(90deg, rgba(11, 121, 200, 0.08) 1px, transparent 1px) 0 0 / 26px 26px, linear-gradient(0deg, rgba(19, 138, 99, 0.06) 1px, transparent 1px) 0 0 / 26px 26px;
  --gsh-hero-line-primary: rgba(11, 121, 200, 0.18);
  --gsh-hero-line-accent: rgba(240, 120, 79, 0.16);
  --gsh-hero-search-bg: rgba(255, 255, 255, 0.94);
  --gsh-hero-search-border: rgba(255, 255, 255, 0.72);
  --gsh-hero-search-text: #101828;
  --gsh-button-bg: #101828;
  --gsh-button-border: #101828;
  --gsh-button-text: #ffffff;
  --gsh-button-hover-bg: #075a9a;
  --gsh-button-hover-border: #075a9a;
  --gsh-button-hover-text: #ffffff;
  --gsh-active-bg: #101828;
  --gsh-active-muted: rgba(255, 255, 255, 0.7);
  --gsh-active-text: #ffffff;
  --gsh-theme-toggle-bg: #ffffff;
  --gsh-theme-toggle-border: #b9c9db;
  --gsh-shadow-soft: 0 18px 50px rgba(31, 46, 66, 0.1);
  --gsh-shadow-card: 0 14px 34px rgba(31, 46, 66, 0.09);
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background:
    linear-gradient(90deg, var(--gsh-body-grid-primary) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(0deg, var(--gsh-body-grid-secondary) 1px, transparent 1px) 0 0 / 34px 34px,
    var(--gsh-bg);
  color: var(--gsh-text);
  font-family: var(--gsh-ui-font);
  letter-spacing: 0;
  margin: 0;
  overflow-x: hidden;
}

body.gsh-theme {
  background-color: var(--gsh-bg);
}

::selection {
  background: var(--gsh-selection-bg);
  color: var(--gsh-heading);
}

a {
  color: var(--gsh-primary-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover,
a:focus {
  color: var(--gsh-primary);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gsh-focus-ring);
  outline-offset: 3px;
}

img,
svg,
video {
  max-width: 100%;
}

.grid-container,
.site-content,
.inside-header,
.inside-navigation,
.inside-footer-widgets,
.inside-site-info {
  max-width: var(--gsh-container);
}

.site-header {
  background: var(--gsh-header-bg);
  border-bottom: 1px solid var(--gsh-header-border);
  box-shadow: var(--gsh-header-shadow);
  position: sticky;
  top: 0;
  z-index: 20;
}

@supports (backdrop-filter: blur(10px)) {
  .site-header {
    backdrop-filter: saturate(160%) blur(10px);
  }
}

.site-branding .main-title {
  font-family: var(--gsh-ui-font);
  font-size: 1.32rem;
  font-weight: 850;
  letter-spacing: 0;
  margin: 0;
}

.site-branding .main-title a,
.site-branding .main-title a:hover {
  color: var(--gsh-heading);
  text-decoration: none;
}

.site-description {
  color: var(--gsh-muted);
  font-size: 0.9rem;
  margin: 6px 0 0;
}

.main-navigation {
  background: transparent;
  border-bottom: 1px solid var(--gsh-nav-border);
}

.main-navigation .main-nav ul {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-navigation .main-nav,
.inside-navigation {
  min-width: 0;
  width: 100%;
}

.main-navigation .main-nav ul li {
  list-style: none;
  margin: 0;
}

.main-navigation .main-nav ul li a,
.main-navigation .menu-toggle,
.main-navigation .menu-bar-items {
  align-items: center;
  color: var(--gsh-text);
  display: inline-flex;
  font-family: var(--gsh-ui-font);
  font-size: 0.86rem;
  font-weight: 760;
  letter-spacing: 0;
  min-height: 42px;
  padding: 0 11px;
  text-transform: none;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.main-navigation .main-nav ul li[class*="current-menu-"] > a,
.main-navigation .main-nav ul li:not([class*="current-menu-"]):hover > a,
.main-navigation .main-nav ul li:not([class*="current-menu-"]):focus > a {
  color: var(--gsh-primary-dark);
}

.main-navigation .main-nav ul li a[href*="/articles/"] {
  align-items: center;
  background: var(--gsh-button-bg);
  border-radius: var(--gsh-radius);
  color: var(--gsh-button-text);
  display: inline-flex;
  margin-left: 10px;
  min-height: 40px;
}

.main-navigation .main-nav ul li a[href*="/articles/"]:hover,
.main-navigation .main-nav ul li a[href*="/articles/"]:focus {
  background: var(--gsh-button-hover-bg);
  color: var(--gsh-button-hover-text);
  transform: translateY(-1px);
}

.main-navigation .main-nav ul li.gsh-menu-search {
  align-items: center;
  display: flex;
  padding: 0 10px;
  position: relative;
  z-index: 25;
}

.gsh-menu-search-form {
  align-items: center;
  display: flex;
  gap: 6px;
  position: relative;
}

.gsh-menu-search-form input[type="search"] {
  background: var(--gsh-surface);
  border: 1px solid var(--gsh-border-strong);
  border-radius: var(--gsh-radius);
  color: var(--gsh-text);
  max-width: 190px;
  min-height: 38px;
  padding: 0 11px;
}

.gsh-menu-search-form button {
  min-height: 38px;
  padding: 0 12px;
}

.main-navigation .main-nav ul li.gsh-menu-theme {
  align-items: center;
  display: flex;
  padding: 0 6px;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button,
.wp-block-button__link,
.gsh-search-form button,
.wp-block-search__button,
.search-submit,
.gsh-menu-search-form button {
  background: var(--gsh-button-bg);
  border: 1px solid var(--gsh-button-border);
  border-radius: var(--gsh-radius);
  color: var(--gsh-button-text);
  cursor: pointer;
  font-family: var(--gsh-ui-font);
  font-size: 0.92rem;
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.2;
  min-height: 46px;
  padding: 12px 17px;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.gsh-search-form button,
.wp-block-search__button,
.search-submit,
.gsh-menu-search-form button {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  justify-content: center;
  white-space: nowrap;
}

button:hover,
button:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="reset"]:hover,
input[type="reset"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus,
.button:hover,
.button:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus,
.gsh-search-form button:hover,
.gsh-search-form button:focus,
.wp-block-search__button:hover,
.wp-block-search__button:focus,
.search-submit:hover,
.search-submit:focus,
.gsh-menu-search-form button:hover,
.gsh-menu-search-form button:focus {
  background: var(--gsh-button-hover-bg);
  border-color: var(--gsh-button-hover-border);
  box-shadow: 0 10px 22px rgba(11, 121, 200, 0.18);
  color: var(--gsh-button-hover-text);
  transform: translateY(-1px);
}

.gsh-theme-toggle,
.main-navigation .main-nav ul li.gsh-menu-theme .gsh-theme-toggle {
  align-items: center;
  background: var(--gsh-theme-toggle-bg);
  border: 1px solid var(--gsh-theme-toggle-border);
  border-radius: var(--gsh-radius);
  color: var(--gsh-text);
  display: inline-flex;
  flex: 0 0 auto;
  gap: 8px;
  min-height: 38px;
  min-width: 88px;
  padding: 0 11px;
}

.gsh-theme-toggle:hover,
.gsh-theme-toggle:focus,
.main-navigation .main-nav ul li.gsh-menu-theme .gsh-theme-toggle:hover,
.main-navigation .main-nav ul li.gsh-menu-theme .gsh-theme-toggle:focus {
  background: var(--gsh-primary-soft);
  border-color: var(--gsh-primary);
  box-shadow: none;
  color: var(--gsh-heading);
  transform: translateY(-1px);
}

.gsh-theme-toggle-icon {
  border: 2px solid currentColor;
  border-radius: 999px;
  display: inline-block;
  flex: 0 0 16px;
  height: 16px;
  position: relative;
  width: 16px;
}

.gsh-theme-toggle-icon::after {
  background: currentColor;
  border-radius: 999px;
  content: "";
  inset: 3px;
  position: absolute;
}

:root:not([data-gsh-theme="light"]) .gsh-theme-toggle-icon {
  background: currentColor;
  border-color: currentColor;
  overflow: hidden;
}

:root:not([data-gsh-theme="light"]) .gsh-theme-toggle-icon::after {
  background: var(--gsh-theme-toggle-bg);
  inset: -2px -2px 4px 6px;
}

.gsh-theme-toggle-text {
  min-width: 2.4rem;
  text-align: left;
}

.site-main,
.sidebar {
  margin-top: 32px;
}

.inside-article,
.sidebar .widget,
.page-header,
.paging-navigation {
  background: var(--gsh-panel-bg);
  border: 1px solid var(--gsh-border);
  border-radius: var(--gsh-radius);
  box-shadow: var(--gsh-shadow-card);
}

.separate-containers .inside-article,
.separate-containers .page-header,
.separate-containers .comments-area,
.one-container .site-content,
.main-navigation ul ul,
.main-navigation.toggled .main-nav > ul {
  background: var(--gsh-surface);
}

.entry-title,
.page-title,
.gsh-title,
.gsh-template h1,
.gsh-template h2,
.gsh-template h3,
.entry-content h1,
.entry-content h2,
.entry-content h3 {
  color: var(--gsh-heading);
  font-family: var(--gsh-ui-font);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.entry-title,
.page-title,
.gsh-title {
  font-size: 3.6rem;
  margin-bottom: 18px;
}

.entry-content {
  color: var(--gsh-text);
  font-family: var(--gsh-editorial-font);
  font-size: 1.12rem;
  line-height: 1.72;
}

.entry-content p,
.entry-content li {
  max-width: var(--gsh-content);
}

.entry-content .gsh-card p,
.entry-content .gsh-game-card p,
.entry-content .gsh-track-panel p,
.entry-content .gsh-hub-panel p,
.entry-content .gsh-hero p {
  max-width: none;
}

.entry-content .gsh-intro,
.gsh-dek,
.gsh-lead {
  color: var(--gsh-muted);
  font-family: var(--gsh-editorial-font);
  font-size: 1.28rem;
  line-height: 1.62;
  max-width: 840px;
}

.gsh-template {
  max-width: var(--gsh-container);
  padding: 0 24px;
  width: 100%;
}

.gsh-main-shell {
  margin: 0 auto;
}

.gsh-hero,
.entry-content .gsh-hero {
  background: var(--gsh-hero-bg);
  border: 1px solid var(--gsh-border);
  border-radius: var(--gsh-radius);
  box-shadow: var(--gsh-shadow-soft);
  margin: 0 0 46px;
  overflow: visible;
  padding: 64px;
  position: relative;
  z-index: 1;
}

.gsh-hero::before {
  background:
    linear-gradient(90deg, transparent, var(--gsh-hero-line-primary), transparent),
    linear-gradient(90deg, transparent, var(--gsh-hero-line-accent), transparent);
  content: "";
  height: 3px;
  left: 28px;
  position: absolute;
  right: 28px;
  top: 26px;
}

.gsh-home-hero {
  align-items: center;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 760px);
  min-width: 0;
  overflow-wrap: anywhere;
}

.gsh-hero-copy {
  max-width: 100%;
  min-width: 0;
}

.gsh-hero-centered {
  text-align: center;
}

.gsh-hero-centered .gsh-dek,
.gsh-hero-centered .gsh-search-form {
  margin-left: auto;
  margin-right: auto;
}

.gsh-eyebrow,
.entry-content .gsh-eyebrow {
  color: var(--gsh-primary-dark);
  display: block;
  font-family: var(--gsh-ui-font);
  font-size: 0.86rem;
  font-weight: 780;
  letter-spacing: 0;
  margin-bottom: 14px;
  text-transform: none;
}

.gsh-search-form,
.wp-block-search,
.search-form {
  display: flex;
  gap: 8px;
  max-width: 720px;
  min-width: 0;
  position: relative;
}

.gsh-search-form > *,
.wp-block-search > *,
.search-form > * {
  min-width: 0;
}

.gsh-search-form input[type="search"],
.wp-block-search__input,
.search-form .search-field {
  background: var(--gsh-surface);
  border: 1px solid var(--gsh-border-strong);
  border-radius: var(--gsh-radius);
  color: var(--gsh-text);
  min-height: 52px;
  padding: 0 16px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
  width: 100%;
}

.gsh-search-form input[type="search"]:focus,
.wp-block-search__input:focus,
.search-form .search-field:focus {
  border-color: var(--gsh-primary);
  box-shadow: 0 0 0 4px rgba(11, 121, 200, 0.12);
  transform: translateY(-1px);
}

.gsh-search-form button,
.gsh-menu-search-form button,
.search-submit {
  min-width: 76px;
  white-space: nowrap;
}

.gsh-search-suggest-panel {
  background: var(--gsh-popover-bg);
  border: 1px solid var(--gsh-border);
  border-radius: var(--gsh-radius);
  box-shadow: 0 22px 46px rgba(31, 46, 66, 0.16);
  display: grid;
  gap: 4px;
  left: 0;
  max-height: min(520px, 72vh);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 8px;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 200;
}

.gsh-search-suggest-panel[hidden] {
  display: none;
}

.gsh-menu-search-form .gsh-search-suggest-panel {
  left: auto;
  max-height: min(470px, calc(100vh - 150px));
  min-width: min(460px, calc(100vw - 32px));
  right: 0;
  width: min(460px, calc(100vw - 32px));
}

.gsh-search-suggest-item,
.gsh-search-suggest-all {
  border-radius: 7px;
  color: var(--gsh-text);
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 12px 13px;
  text-decoration: none;
  transition: background-color 140ms ease, color 140ms ease, transform 140ms ease;
}

.main-navigation .main-nav ul li.gsh-menu-search .gsh-search-suggest-item,
.main-navigation .main-nav ul li.gsh-menu-search .gsh-search-suggest-all {
  align-items: start;
  background: transparent;
  color: var(--gsh-text);
  display: grid;
  font-family: var(--gsh-ui-font);
  min-height: 0;
  padding: 12px 13px;
  text-transform: none;
}

.gsh-search-suggest-item:hover,
.gsh-search-suggest-item:focus,
.gsh-search-suggest-item.is-active,
.gsh-search-suggest-all:hover,
.gsh-search-suggest-all:focus,
.main-navigation .main-nav ul li.gsh-menu-search .gsh-search-suggest-item:hover,
.main-navigation .main-nav ul li.gsh-menu-search .gsh-search-suggest-item:focus,
.main-navigation .main-nav ul li.gsh-menu-search .gsh-search-suggest-item.is-active,
.main-navigation .main-nav ul li.gsh-menu-search .gsh-search-suggest-all:hover,
.main-navigation .main-nav ul li.gsh-menu-search .gsh-search-suggest-all:focus {
  background: var(--gsh-primary-soft);
  color: var(--gsh-heading);
  transform: translateY(-1px);
}

.gsh-search-suggest-title {
  color: var(--gsh-heading);
  display: block;
  font-family: var(--gsh-ui-font);
  font-size: 0.96rem;
  font-weight: 780;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.gsh-search-suggest-meta,
.gsh-search-suggest-excerpt,
.gsh-search-suggest-all {
  color: var(--gsh-muted);
  font-family: var(--gsh-ui-font);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.gsh-search-suggest-meta {
  display: inline-flex;
  width: fit-content;
}

.gsh-search-suggest-excerpt {
  color: var(--gsh-text);
  display: -webkit-box;
  font-family: var(--gsh-editorial-font);
  font-size: 0.84rem;
  font-weight: 500;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.gsh-search-suggest-all {
  border-top: 1px solid var(--gsh-border);
  display: block;
  margin-top: 3px;
}

.wp-block-search .wp-block-search__inside-wrapper {
  background: var(--gsh-surface);
  border-color: var(--gsh-border-strong);
  border-radius: var(--gsh-radius);
}

.wp-block-search .wp-block-search__input,
.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__input {
  background: var(--gsh-surface);
  border-color: var(--gsh-border);
  color: var(--gsh-text);
}

.gsh-menu-search-form input[type="search"]::placeholder,
.gsh-search-form input[type="search"]::placeholder,
.wp-block-search__input::placeholder,
.search-form .search-field::placeholder {
  color: var(--gsh-muted);
  opacity: 1;
}

.gsh-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.gsh-hero-actions a,
.gsh-inline-links a {
  align-items: center;
  background: var(--gsh-surface);
  border: 1px solid var(--gsh-border);
  border-radius: var(--gsh-radius);
  color: var(--gsh-text);
  display: inline-flex;
  font-family: var(--gsh-ui-font);
  font-size: 0.9rem;
  font-weight: 760;
  letter-spacing: 0;
  min-height: 44px;
  padding: 10px 13px;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.gsh-hero-actions a:hover,
.gsh-hero-actions a:focus,
.gsh-inline-links a:hover,
.gsh-inline-links a:focus {
  background: var(--gsh-primary-soft);
  border-color: var(--gsh-primary);
  color: var(--gsh-primary-dark);
  transform: translateY(-1px);
}

.gsh-section,
.entry-content .gsh-hub-section {
  background: transparent;
  border: 0;
  margin: 58px 0;
  padding: 0;
}

.gsh-section-header {
  align-items: end;
  border-bottom: 1px solid var(--gsh-border);
  display: flex;
  justify-content: space-between;
  margin-bottom: 22px;
  padding-bottom: 14px;
}

.gsh-section-header h2,
.entry-content .gsh-section-header h2 {
  margin: 0;
}

.gsh-section-link {
  color: var(--gsh-primary-dark);
  font-family: var(--gsh-ui-font);
  font-size: 0.9rem;
  font-weight: 760;
  letter-spacing: 0;
  text-decoration: none;
}

.gsh-section-link:hover,
.gsh-section-link:focus {
  text-decoration: underline;
}

.gsh-card-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gsh-card-grid > .wp-block-group__inner-container {
  display: contents;
}

.gsh-card,
.gsh-game-card,
.gsh-article-card,
.entry-content .gsh-card,
.entry-content .gsh-game-card {
  background: var(--gsh-surface);
  border: 1px solid var(--gsh-border);
  border-radius: var(--gsh-radius);
  box-shadow: 0 8px 20px rgba(31, 46, 66, 0.06);
  color: var(--gsh-text);
  display: block;
  min-height: 100%;
  padding: 24px;
  position: relative;
  text-decoration: none;
  transition: border-color 170ms ease, box-shadow 170ms ease, transform 170ms ease;
}

.gsh-card::before,
.gsh-game-card::before,
.gsh-article-card::before {
  background: linear-gradient(90deg, var(--gsh-primary), var(--gsh-accent));
  border-radius: var(--gsh-radius) var(--gsh-radius) 0 0;
  content: "";
  height: 3px;
  left: -1px;
  opacity: 0;
  position: absolute;
  right: -1px;
  top: -1px;
  transition: opacity 170ms ease;
}

.gsh-card:hover,
.gsh-game-card:hover,
.gsh-article-card:hover,
.gsh-card:focus-within,
.gsh-game-card:focus-within,
.gsh-game-card:focus-visible,
.gsh-article-card:focus-visible {
  border-color: var(--gsh-primary);
  box-shadow: var(--gsh-shadow-card);
  color: var(--gsh-text);
  transform: translateY(-4px);
}

.gsh-card:hover::before,
.gsh-game-card:hover::before,
.gsh-article-card:hover::before,
.gsh-card:focus-within::before,
.gsh-game-card:focus-within::before,
.gsh-game-card:focus-visible::before,
.gsh-article-card:focus-visible::before {
  opacity: 1;
}

.gsh-card:focus-visible,
.gsh-game-card:focus-visible,
.gsh-article-card:focus-visible {
  outline: 3px solid rgba(11, 121, 200, 0.28);
  outline-offset: 3px;
}

.gsh-card h3,
.gsh-game-card h3,
.gsh-article-card h2,
.gsh-article-card h3 {
  font-family: var(--gsh-ui-font);
  margin: 0 0 10px;
}

.gsh-card p,
.gsh-game-card p,
.gsh-article-card p {
  color: var(--gsh-muted);
  font-family: var(--gsh-editorial-font);
  margin-bottom: 16px;
}

.gsh-card-code {
  background: var(--gsh-primary-soft);
  border: 1px solid rgba(11, 121, 200, 0.16);
  border-radius: 0 var(--gsh-radius) 0 var(--gsh-radius);
  color: var(--gsh-primary-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  line-height: 1;
  padding: 10px 11px;
  position: absolute;
  right: -1px;
  top: -1px;
}

.gsh-cta {
  color: var(--gsh-primary-dark);
  font-family: var(--gsh-ui-font);
  font-size: 0.88rem;
  font-weight: 780;
  letter-spacing: 0;
}

.gsh-card .gsh-cta[href]::after,
.gsh-game-card .gsh-cta[href]::after {
  border-radius: var(--gsh-radius);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.gsh-card .gsh-cta[href]:focus-visible::after,
.gsh-game-card .gsh-cta[href]:focus-visible::after {
  outline: 3px solid rgba(11, 121, 200, 0.28);
  outline-offset: 3px;
}

.gsh-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.gsh-badge,
.cat-links a,
.tags-links a {
  background: var(--gsh-surface-soft);
  border: 1px solid var(--gsh-border);
  border-radius: var(--gsh-radius);
  color: var(--gsh-muted);
  display: inline-flex;
  font-family: var(--gsh-ui-font);
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1;
  padding: 7px 9px;
  text-decoration: none;
}

.gsh-badge-primary {
  background: var(--gsh-primary-soft);
  border-color: rgba(11, 121, 200, 0.22);
  color: var(--gsh-primary-dark);
}

.gsh-meta-row {
  align-items: center;
  border-bottom: 1px solid var(--gsh-border);
  border-top: 1px solid var(--gsh-border);
  color: var(--gsh-muted);
  display: flex;
  flex-wrap: wrap;
  font-family: var(--gsh-ui-font);
  font-size: 0.86rem;
  gap: 10px 18px;
  margin: 24px 0 30px;
  padding: 14px 0;
}

.gsh-track-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.gsh-track-panel {
  background: var(--gsh-surface);
  border: 1px solid var(--gsh-border);
  border-radius: var(--gsh-radius);
  box-shadow: 0 8px 20px rgba(31, 46, 66, 0.05);
  color: var(--gsh-text);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  padding: 0;
  position: relative;
  text-decoration: none;
  transition: border-color 170ms ease, box-shadow 170ms ease, transform 170ms ease;
}

.gsh-track-panel:hover,
.gsh-track-panel:focus-within,
.gsh-track-panel:focus-visible {
  border-color: var(--gsh-primary);
  box-shadow: var(--gsh-shadow-card);
  transform: translateY(-3px);
}

.gsh-track-panel:focus-visible {
  outline: 3px solid rgba(11, 121, 200, 0.28);
  outline-offset: 3px;
}

.gsh-track-panel h3 {
  font-family: var(--gsh-ui-font);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.14;
  margin: 0;
}

.gsh-track-panel p {
  color: var(--gsh-muted);
  font-family: var(--gsh-editorial-font);
  line-height: 1.48;
  margin: 0;
}

.gsh-track-media-wrap {
  aspect-ratio: 16 / 9;
  background: var(--gsh-primary-soft);
  display: block;
  flex: 0 0 auto;
  overflow: hidden;
}

.gsh-track-media {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: filter 260ms ease, transform 360ms ease;
  width: 100%;
}

.gsh-track-panel-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 11px;
  padding: 18px 18px 20px;
}

.gsh-track-kicker,
.gsh-track-count {
  color: var(--gsh-primary-dark);
  font-family: var(--gsh-ui-font);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gsh-track-foot {
  align-items: center;
  border-top: 1px solid var(--gsh-border);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
}

.gsh-track-foot .gsh-cta {
  text-align: right;
  white-space: nowrap;
}

.gsh-track-panel:hover .gsh-track-media,
.gsh-track-panel:focus-visible .gsh-track-media,
.gsh-track-panel:focus-within .gsh-track-media {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.035);
}

.gsh-post-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gsh-post-link-list li {
  border-top: 1px solid var(--gsh-border);
  margin: 0;
}

.gsh-post-link-list a {
  color: var(--gsh-text);
  display: block;
  font-family: var(--gsh-ui-font);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.35;
  padding: 11px 0;
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}

.gsh-post-link-list a:hover,
.gsh-post-link-list a:focus {
  color: var(--gsh-primary-dark);
  transform: translateX(2px);
}

.gsh-track-route-list {
  border-top: 1px solid var(--gsh-border);
  display: grid;
  gap: 0;
  margin-top: 28px;
}

.gsh-track-route {
  border-bottom: 1px solid var(--gsh-border);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.45fr);
  padding: 28px 0;
  scroll-margin-top: 88px;
}

.gsh-track-route-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gsh-track-route-header h3 {
  font-family: var(--gsh-ui-font);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0;
}

.gsh-track-route-header p {
  color: var(--gsh-muted);
  font-family: var(--gsh-editorial-font);
  font-size: 1.04rem;
  line-height: 1.48;
  margin: 0;
}

.gsh-track-route-main {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.gsh-track-start-card,
.gsh-track-route-more {
  background: var(--gsh-surface);
  border: 1px solid var(--gsh-border);
  border-radius: var(--gsh-radius);
  box-shadow: 0 8px 20px rgba(31, 46, 66, 0.05);
  min-width: 0;
  padding: 20px;
}

.gsh-track-start-card {
  color: var(--gsh-text);
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  transition: border-color 170ms ease, box-shadow 170ms ease, transform 170ms ease;
}

.gsh-track-start-card:hover,
.gsh-track-start-card:focus-visible {
  border-color: var(--gsh-primary);
  box-shadow: var(--gsh-shadow-card);
  transform: translateY(-2px);
}

.gsh-track-start-card:focus-visible {
  outline: 3px solid rgba(11, 121, 200, 0.28);
  outline-offset: 3px;
}

.gsh-track-start-label {
  color: var(--gsh-primary-dark);
  font-family: var(--gsh-ui-font);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gsh-track-start-card h4,
.gsh-track-route-more h4 {
  font-family: var(--gsh-ui-font);
  font-size: 1rem;
  line-height: 1.2;
  margin: 0;
}

.gsh-track-start-card p {
  color: var(--gsh-muted);
  line-height: 1.5;
  margin: 0;
}

.gsh-track-nav {
  background: var(--gsh-surface);
  border: 1px solid var(--gsh-border);
  border-radius: var(--gsh-radius);
  box-shadow: 0 8px 20px rgba(31, 46, 66, 0.05);
  margin: 0 0 28px;
  padding: 20px;
}

.gsh-track-nav-header {
  align-items: flex-start;
  border-bottom: 1px solid var(--gsh-border);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 14px;
}

.gsh-track-nav-header h2 {
  font-family: var(--gsh-ui-font);
  font-size: 1.15rem;
  letter-spacing: 0;
  line-height: 1.15;
  margin: 0;
}

.gsh-track-nav-list {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gsh-track-nav-list a,
.gsh-track-nav-list .is-current {
  border: 1px solid var(--gsh-border);
  border-radius: 10px;
  color: var(--gsh-text);
  display: block;
  font-family: var(--gsh-ui-font);
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.3;
  padding: 10px 12px;
  text-decoration: none;
}

.gsh-track-nav-list a:hover,
.gsh-track-nav-list a:focus {
  border-color: var(--gsh-primary);
  color: var(--gsh-primary-dark);
}

.gsh-track-nav-list .is-current {
  background: var(--gsh-primary-soft);
  border-color: rgba(94, 182, 255, 0.44);
  color: var(--gsh-heading);
}

.gsh-muted-copy {
  color: var(--gsh-muted);
}

.gsh-split-section {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gsh-breadcrumbs {
  color: var(--gsh-muted);
  font-family: var(--gsh-ui-font);
  font-size: 0.86rem;
  margin-bottom: 22px;
}

.gsh-breadcrumbs a {
  color: var(--gsh-muted);
  text-decoration: none;
}

.gsh-breadcrumbs a:hover,
.gsh-breadcrumbs a:focus {
  color: var(--gsh-primary-dark);
  text-decoration: underline;
}

.gsh-breadcrumbs span {
  margin: 0 6px;
}

.gsh-single-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 760px) 300px;
  margin: 0 auto;
  max-width: var(--gsh-container);
  padding: 0 24px;
}

.gsh-single-main {
  min-width: 0;
}

.gsh-single-main-wrap,
.inside-article,
.entry-content {
  max-width: 100%;
  min-width: 0;
}

.gsh-article-header {
  border-bottom: 1px solid var(--gsh-border);
  margin-bottom: 28px;
  padding-bottom: 8px;
}

.gsh-single-aside {
  align-self: start;
  position: sticky;
  top: 96px;
}

.gsh-aside-box {
  background: var(--gsh-panel-bg);
  border: 1px solid var(--gsh-border);
  border-radius: var(--gsh-radius);
  box-shadow: 0 8px 20px rgba(31, 46, 66, 0.05);
  margin-bottom: 22px;
  padding: 18px;
}

.gsh-aside-box h2,
.gsh-aside-box h3 {
  font-size: 0.9rem;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: none;
}

.gsh-aside-box p,
.gsh-aside-box li {
  color: var(--gsh-muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.gsh-aside-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gsh-aside-box li + li {
  border-top: 1px solid var(--gsh-border);
  margin-top: 10px;
  padding-top: 10px;
}

.gsh-callout,
.entry-content .gsh-callout,
.gsh-update-notice,
.entry-content .gsh-update-notice {
  background: var(--gsh-surface);
  border: 1px solid var(--gsh-border);
  border-left: 5px solid var(--gsh-primary);
  border-radius: var(--gsh-radius);
  box-shadow: 0 10px 24px rgba(31, 46, 66, 0.06);
  margin: 28px 0;
  padding: 20px 22px;
}

.gsh-callout strong,
.gsh-update-notice strong {
  color: var(--gsh-heading);
  font-weight: 800;
}

.gsh-callout > p:first-child > strong:first-child,
.entry-content .gsh-callout > p:first-child > strong:first-child,
.gsh-update-notice > p:first-child > strong:first-child,
.entry-content .gsh-update-notice > p:first-child > strong:first-child {
  color: var(--gsh-heading);
  display: block;
  font-family: var(--gsh-ui-font);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 8px;
  text-transform: none;
}

.gsh-callout p,
.entry-content .gsh-callout p,
.gsh-update-notice p,
.entry-content .gsh-update-notice p {
  max-width: none;
}

.gsh-quick-answer,
.entry-content .gsh-quick-answer {
  background:
    linear-gradient(135deg, rgba(94, 182, 255, 0.16), rgba(17, 26, 37, 0.96) 42%, rgba(22, 34, 49, 0.92)),
    var(--gsh-surface);
  border: 1px solid rgba(94, 182, 255, 0.42);
  border-radius: var(--gsh-radius);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  font-family: var(--gsh-ui-font);
  margin: 30px 0 38px;
  overflow: hidden;
  padding: clamp(22px, 3vw, 30px) clamp(22px, 3.4vw, 34px);
  position: relative;
}

.gsh-quick-answer::before {
  background: linear-gradient(180deg, var(--gsh-primary), var(--gsh-accent));
  bottom: 0;
  content: "";
  left: 0;
  position: absolute;
  top: 0;
  width: 5px;
}

.gsh-quick-answer > * {
  position: relative;
  z-index: 1;
}

.gsh-quick-answer h2,
.entry-content .gsh-quick-answer h2,
.gsh-quick-answer .wp-block-heading,
.entry-content .gsh-quick-answer .wp-block-heading {
  align-items: center;
  color: var(--gsh-heading);
  display: flex;
  font-family: var(--gsh-ui-font);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  gap: 12px;
  letter-spacing: 0;
  line-height: 1.15;
  margin: 0 0 14px;
}

.gsh-quick-answer h2::before,
.entry-content .gsh-quick-answer h2::before,
.gsh-quick-answer .wp-block-heading::before,
.entry-content .gsh-quick-answer .wp-block-heading::before {
  background: var(--gsh-primary);
  content: "";
  flex: 0 0 22px;
  height: 3px;
}

.gsh-quick-answer p,
.entry-content .gsh-quick-answer p,
.gsh-quick-answer li,
.entry-content .gsh-quick-answer li {
  color: var(--gsh-text);
  font-family: var(--gsh-ui-font);
  font-size: clamp(1rem, 1.6vw, 1.08rem);
  line-height: 1.65;
  max-width: none;
}

.gsh-quick-answer p {
  margin: 0;
}

.gsh-quick-answer p + p {
  margin-top: 12px;
}

.gsh-quick-answer ol,
.gsh-quick-answer ul {
  margin-bottom: 0;
  margin-top: 12px;
}

.gsh-quick-answer strong {
  color: var(--gsh-heading);
  font-weight: 800;
}

.gsh-quick-answer > p:first-child > strong:first-child,
.entry-content .gsh-quick-answer > p:first-child > strong:first-child {
  background: rgba(94, 182, 255, 0.13);
  border: 1px solid rgba(94, 182, 255, 0.38);
  color: var(--gsh-primary-dark);
  display: table;
  font-family: var(--gsh-ui-font);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  line-height: 1;
  margin-bottom: 12px;
  padding: 7px 9px;
  text-transform: uppercase;
}

.gsh-quick-answer code,
.gsh-quick-answer kbd {
  background: rgba(8, 13, 20, 0.78);
  border: 1px solid rgba(94, 182, 255, 0.28);
  color: var(--gsh-code-text);
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  line-height: 1.2;
  padding: 3px 6px;
}

.gsh-callout-warning {
  background: var(--gsh-warning-soft);
  border-left-color: var(--gsh-warning);
}

.gsh-callout-danger {
  background: var(--gsh-danger-soft);
  border-left-color: var(--gsh-danger);
}

.gsh-related-guides {
  background: var(--gsh-surface);
  border: 1px solid var(--gsh-border);
  border-radius: var(--gsh-radius);
  box-shadow: 0 10px 24px rgba(31, 46, 66, 0.06);
  margin-top: 42px;
  padding: 24px;
}

.gsh-related-guides h2 {
  margin-top: 0;
}

.gsh-prev-next {
  border-top: 1px solid var(--gsh-border);
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 40px;
  padding-top: 22px;
}

.gsh-prev-next a {
  background: var(--gsh-surface);
  border: 1px solid var(--gsh-border);
  border-radius: var(--gsh-radius);
  color: var(--gsh-text);
  display: block;
  padding: 18px;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.gsh-prev-next a:hover,
.gsh-prev-next a:focus {
  border-color: var(--gsh-primary);
  box-shadow: 0 8px 20px rgba(31, 46, 66, 0.08);
  transform: translateY(-2px);
}

.gsh-prev-next span {
  color: var(--gsh-muted);
  display: block;
  font-family: var(--gsh-ui-font);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0;
  margin-bottom: 5px;
}

.wp-block-table,
figure.wp-block-table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.wp-block-table table,
.entry-content table {
  background: var(--gsh-surface);
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--gsh-border);
  border-radius: var(--gsh-radius);
  font-family: var(--gsh-ui-font);
  min-width: 620px;
  overflow: hidden;
  width: 100%;
}

.wp-block-table th,
.wp-block-table td,
.entry-content th,
.entry-content td {
  border-bottom: 1px solid var(--gsh-border);
  padding: 13px 14px;
  text-align: left;
  vertical-align: top;
}

.wp-block-table th + th,
.wp-block-table td + td,
.entry-content th + th,
.entry-content td + td {
  border-left: 1px solid var(--gsh-border);
}

.wp-block-table tr:last-child td,
.entry-content tr:last-child td {
  border-bottom: 0;
}

.wp-block-table th,
.entry-content th {
  background: var(--gsh-surface-soft);
  color: var(--gsh-heading);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0;
}

.wp-block-table tbody tr,
.entry-content tbody tr {
  transition: background-color 150ms ease;
}

.wp-block-table tbody tr:hover,
.entry-content tbody tr:hover {
  background: var(--gsh-primary-soft);
}

.wp-block-table code,
.entry-content td code,
.entry-content p code,
.entry-content li code {
  background: var(--gsh-code-bg);
  border: 1px solid var(--gsh-border);
  border-radius: 6px;
  color: var(--gsh-code-text);
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92rem;
  padding: 3px 6px;
}

#ez-toc-container,
.ez-toc-container {
  background: var(--gsh-surface);
  border: 1px solid var(--gsh-border);
  border-radius: var(--gsh-radius);
  box-shadow: 0 8px 20px rgba(31, 46, 66, 0.05);
  font-family: var(--gsh-ui-font);
  padding: 18px;
}

.ez-toc-title,
#ez-toc-container .ez-toc-title {
  color: var(--gsh-heading);
  font-family: var(--gsh-ui-font);
  font-size: 0.9rem;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: none;
}

.entry-content .gsh-faq-accordion {
  margin: 46px 0;
  max-width: 900px;
}

.entry-content .gsh-faq-kicker {
  color: var(--gsh-heading);
  font-family: var(--gsh-ui-font);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0 0 10px;
  max-width: none;
  text-transform: uppercase;
}

.entry-content .gsh-faq-title {
  font-size: 2.35rem;
  margin: 0 0 28px;
}

.entry-content .gsh-faq-list {
  display: grid;
  gap: 14px;
}

.entry-content .gsh-faq-item,
.entry-content details {
  background: var(--gsh-surface-soft);
  border: 1px solid transparent;
  border-radius: var(--gsh-radius);
  overflow: hidden;
  padding: 0;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.entry-content .gsh-faq-item {
  margin: 0;
}

.entry-content details {
  margin: 16px 0;
}

.entry-content .gsh-faq-item.is-open,
.entry-content details[open] {
  background: var(--gsh-surface);
  border-color: var(--gsh-border);
  box-shadow: 0 8px 20px rgba(31, 46, 66, 0.06);
}

.entry-content .gsh-faq-question {
  font-size: 1rem;
  line-height: 1.35;
  margin: 0;
}

.entry-content .gsh-faq-trigger,
.entry-content summary {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--gsh-heading);
  cursor: pointer;
  display: flex;
  font-family: var(--gsh-ui-font);
  font-size: 1rem;
  font-weight: 780;
  gap: 18px;
  justify-content: space-between;
  line-height: 1.35;
  padding: 17px 18px;
  text-align: left;
  width: 100%;
}

.entry-content .gsh-faq-trigger:hover,
.entry-content .gsh-faq-trigger:focus-visible,
.entry-content summary:hover,
.entry-content summary:focus-visible,
.entry-content .gsh-faq-item.is-open .gsh-faq-trigger,
.entry-content details[open] summary {
  color: var(--gsh-primary);
}

.entry-content summary {
  list-style: none;
}

.entry-content summary::-webkit-details-marker {
  display: none;
}

.entry-content .gsh-faq-icon {
  color: currentColor;
  flex: 0 0 18px;
  height: 18px;
  position: relative;
  width: 18px;
}

.entry-content .gsh-faq-icon::before,
.entry-content .gsh-faq-icon::after {
  background: currentColor;
  border-radius: 999px;
  content: "";
  height: 2px;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: opacity 180ms ease, transform 180ms ease;
  width: 14px;
}

.entry-content .gsh-faq-icon::after {
  transform: translateY(-50%) rotate(90deg);
}

.entry-content .gsh-faq-item.is-open .gsh-faq-icon::after {
  opacity: 0;
  transform: translateY(-50%) rotate(0deg);
}

.entry-content summary::after {
  background:
    linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat;
  content: "";
  flex: 0 0 18px;
  height: 18px;
  transition: background-size 180ms ease, transform 180ms ease;
  width: 18px;
}

.entry-content details[open] summary::after {
  background-size: 14px 2px, 0 0;
  transform: rotate(180deg);
}

.entry-content .gsh-faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 260ms ease;
}

.entry-content .gsh-faq-panel[hidden] {
  display: none;
}

.entry-content .gsh-faq-panel-inner {
  color: var(--gsh-text);
  padding: 0 18px 18px;
}

.entry-content .gsh-faq-panel-inner > :first-child,
.entry-content details > :not(summary):first-child {
  margin-top: 0;
}

.entry-content .gsh-faq-panel-inner > :last-child,
.entry-content details > :not(summary):last-child {
  margin-bottom: 0;
}

.entry-content .gsh-faq-panel-inner p,
.entry-content .gsh-faq-panel-inner ul,
.entry-content .gsh-faq-panel-inner ol,
.entry-content .gsh-faq-panel-inner table,
.entry-content details > :not(summary) {
  max-width: none;
}

.entry-content details > :not(summary) {
  margin-left: 18px;
  margin-right: 18px;
}

.entry-content details > :last-child {
  margin-bottom: 18px;
}

.gsh-archive-grid,
.gsh-search-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 260px minmax(0, 1fr);
}

.gsh-hub-foundation {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gsh-hub-panel {
  background: var(--gsh-surface);
  border: 1px solid var(--gsh-border);
  border-radius: var(--gsh-radius);
  box-shadow: 0 8px 20px rgba(31, 46, 66, 0.05);
  padding: 22px;
}

.gsh-hub-panel-wide {
  grid-column: 1 / -1;
}

.gsh-hub-panel h2 {
  font-size: 1.15rem;
  margin: 0 0 14px;
}

.gsh-hub-panel ul {
  margin: 0;
  padding-left: 18px;
}

.gsh-hub-panel li {
  margin: 9px 0;
}

.gsh-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gsh-filter-panel,
.gsh-no-results {
  background: var(--gsh-surface);
  border: 1px solid var(--gsh-border);
  border-radius: var(--gsh-radius);
  box-shadow: 0 8px 20px rgba(31, 46, 66, 0.05);
  padding: 22px;
}

.gsh-filter-panel h2 {
  font-size: 1rem;
  margin-top: 0;
}

.gsh-filter-panel a {
  border-bottom: 1px solid var(--gsh-border);
  color: var(--gsh-text);
  display: block;
  padding: 9px 0;
  text-decoration: none;
}

.gsh-filter-panel a:hover,
.gsh-filter-panel a:focus {
  color: var(--gsh-primary-dark);
}

.gsh-template .post-navigation,
.gsh-template .paging-navigation {
  margin-top: 28px;
}

.gsh-footer {
  background: #111827;
  border-top: 1px solid #1f2937;
  color: #ffffff;
  margin-top: 72px;
}

.gsh-footer-inner {
  display: grid;
  gap: 32px;
  grid-template-columns: 1.2fr 1fr 1fr;
  margin: 0 auto;
  max-width: var(--gsh-container);
  padding: 56px 24px;
}

.gsh-footer-brand {
  color: #ffffff;
  font-family: var(--gsh-ui-font);
  font-size: 1.2rem;
  font-weight: 850;
  margin-bottom: 10px;
}

.gsh-footer p {
  color: rgba(255, 255, 255, 0.74);
  margin: 0;
  max-width: 440px;
}

.gsh-footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gsh-footer-nav h2 {
  color: #ffffff;
  font-family: var(--gsh-ui-font);
  font-size: 0.9rem;
  font-weight: 780;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: none;
}

.gsh-footer-nav li {
  margin: 0 0 10px;
}

.gsh-footer-nav a,
.gsh-footer-sitemap {
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--gsh-ui-font);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.gsh-footer-nav a:hover,
.gsh-footer-nav a:focus {
  color: #ffffff;
}

.gsh-404 {
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
}

.gsh-404-map {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(11, 121, 200, 0.1) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(0deg, rgba(19, 138, 99, 0.08) 1px, transparent 1px) 0 0 / 28px 28px,
    var(--gsh-surface);
  border: 1px solid var(--gsh-border);
  border-radius: var(--gsh-radius);
  box-shadow: var(--gsh-shadow-card);
  color: var(--gsh-muted);
  display: flex;
  justify-content: center;
  min-height: 360px;
  overflow: hidden;
  position: relative;
  text-align: center;
}

.gsh-404-map::before {
  background: linear-gradient(90deg, transparent, var(--gsh-accent), var(--gsh-primary), transparent);
  content: "";
  height: 3px;
  left: 12%;
  position: absolute;
  right: 12%;
  top: 52%;
  transform: rotate(-12deg);
}

.gsh-404-map strong {
  color: var(--gsh-heading);
  display: block;
  font-family: var(--gsh-ui-font);
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.gsh-js.gsh-motion-ready .gsh-section,
.gsh-js.gsh-motion-ready .gsh-card,
.gsh-js.gsh-motion-ready .gsh-game-card,
.gsh-js.gsh-motion-ready .gsh-article-card,
.gsh-js.gsh-motion-ready .gsh-track-panel,
.gsh-js.gsh-motion-ready .gsh-track-route,
.gsh-js.gsh-motion-ready .gsh-track-nav,
.gsh-js.gsh-motion-ready .gsh-hub-panel,
.gsh-js.gsh-motion-ready .gsh-filter-panel,
.gsh-js.gsh-motion-ready .gsh-no-results,
.gsh-js.gsh-motion-ready .gsh-quick-answer,
.gsh-js.gsh-motion-ready .gsh-callout,
.gsh-js.gsh-motion-ready .gsh-update-notice,
.gsh-js.gsh-motion-ready .gsh-related-guides,
.gsh-js.gsh-motion-ready .gsh-faq-accordion,
.gsh-js.gsh-motion-ready .gsh-prev-next,
.gsh-js.gsh-motion-ready .gsh-404-map {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 520ms ease, transform 520ms ease;
  transition-delay: var(--gsh-reveal-delay, 0ms);
}

.gsh-js.gsh-motion-ready .gsh-is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .gsh-home-hero,
  .gsh-card-grid,
  .gsh-hub-foundation,
  .gsh-split-section,
  .gsh-footer-inner,
  .gsh-single-grid,
  .gsh-archive-grid,
  .gsh-search-grid,
  .gsh-404 {
    grid-template-columns: 1fr;
  }

  .gsh-track-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gsh-track-route,
  .gsh-track-route-main {
    grid-template-columns: 1fr;
  }

  .gsh-single-aside {
    position: static;
  }

  .gsh-menu-search-form input[type="search"] {
    max-width: 160px;
  }
}

@media (max-width: 768px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    background: var(--gsh-bg);
  }

  .entry-title,
  .page-title,
  .gsh-title {
    font-size: clamp(2rem, 8.8vw, 2.35rem);
  }

  .entry-content .gsh-intro,
  .gsh-dek,
  .gsh-lead {
    font-size: 1.04rem;
    line-height: 1.5;
  }

  .main-navigation .main-nav ul li.gsh-menu-search {
    padding: 12px 20px;
  }

  .gsh-menu-search-form,
  .gsh-search-form,
  .wp-block-search,
  .search-form {
    align-items: stretch;
    flex-direction: column;
  }

  .gsh-menu-search-form input[type="search"],
  .gsh-menu-search-form button,
  .gsh-search-form button,
  .wp-block-search__button,
  .search-submit {
    max-width: none;
    width: 100%;
  }

  .gsh-search-suggest-panel,
  .gsh-menu-search-form .gsh-search-suggest-panel {
    left: 0;
    max-height: min(360px, 64vh);
    min-width: 0;
    right: 0;
    width: 100%;
  }

  .main-navigation .main-nav ul li a[href*="/articles/"] {
    margin-left: 0;
  }

  .main-navigation .main-nav ul {
    align-items: stretch;
    flex-direction: column;
  }

  .main-navigation .main-nav ul li,
  .main-navigation .main-nav ul li a,
  .main-navigation .main-nav ul li.gsh-menu-search {
    width: 100%;
  }

  .gsh-hero,
  .entry-content .gsh-hero {
    padding: calc(76px + env(safe-area-inset-top, 0px)) 22px 30px;
    width: 100%;
  }

  .gsh-home-hero {
    display: block;
  }

  .gsh-home-hero > *,
  .gsh-hero-copy,
  .gsh-search-form {
    max-width: 100%;
    width: 100%;
  }

  .gsh-hero::before {
    left: 18px;
    right: 18px;
    top: 18px;
  }

  .gsh-quick-answer,
  .entry-content .gsh-quick-answer {
    padding: 20px 18px 20px 22px;
  }

  .gsh-quick-answer h2,
  .entry-content .gsh-quick-answer h2,
  .gsh-quick-answer .wp-block-heading,
  .entry-content .gsh-quick-answer .wp-block-heading {
    font-size: 1.22rem;
  }

  .wp-block-table,
  figure.wp-block-table,
  .entry-content .wp-block-table,
  .gsh-quick-answer .wp-block-table {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
    overflow-x: hidden;
    width: 100%;
  }

  .wp-block-table table,
  .entry-content table,
  .gsh-quick-answer table {
    min-width: 0;
    table-layout: fixed;
    width: 100%;
  }

  .wp-block-table th,
  .wp-block-table td,
  .entry-content th,
  .entry-content td {
    font-size: 0.88rem;
    hyphens: auto;
    line-height: 1.45;
    overflow-wrap: anywhere;
    padding: 10px 8px;
    word-break: normal;
  }

  .wp-block-table th,
  .entry-content th {
    font-size: 0.72rem;
  }

  .wp-block-table table.gsh-responsive-table,
  .entry-content table.gsh-responsive-table,
  .gsh-quick-answer table.gsh-responsive-table {
    background: transparent;
    border: 0;
    border-radius: 0;
    display: block;
  }

  .gsh-responsive-table thead {
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
  }

  .gsh-responsive-table tbody {
    display: grid;
    gap: 12px;
  }

  .gsh-responsive-table tr {
    background: var(--gsh-surface);
    border: 1px solid var(--gsh-border);
    border-radius: var(--gsh-radius);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
    display: block;
    overflow: hidden;
  }

  .wp-block-table .gsh-responsive-table tbody tr:hover,
  .entry-content .gsh-responsive-table tbody tr:hover {
    background: var(--gsh-surface);
  }

  .gsh-responsive-table td,
  .entry-content .gsh-responsive-table td {
    border: 0;
    display: grid;
    gap: 5px;
    grid-template-columns: minmax(0, 1fr);
    padding: 12px 13px;
  }

  .gsh-responsive-table td + td,
  .entry-content .gsh-responsive-table td + td {
    border-left: 0;
    border-top: 1px solid var(--gsh-border);
  }

  .gsh-responsive-table td::before,
  .entry-content .gsh-responsive-table td::before {
    color: var(--gsh-primary-dark);
    content: attr(data-label);
    font-family: var(--gsh-ui-font);
    font-size: 0.72rem;
    font-weight: 820;
    line-height: 1.2;
  }

  .gsh-responsive-table td:first-child,
  .entry-content .gsh-responsive-table td:first-child {
    background: var(--gsh-surface-soft);
    color: var(--gsh-heading);
    font-family: var(--gsh-ui-font);
    font-size: 1rem;
    font-weight: 820;
  }

  .gsh-responsive-table td:first-child::before,
  .entry-content .gsh-responsive-table td:first-child::before {
    color: var(--gsh-muted);
  }

  .gsh-section-header {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }

  .gsh-card-grid {
    gap: 16px;
  }

  .gsh-prev-next {
    grid-template-columns: 1fr;
  }

  .entry-content {
    font-size: 1rem;
  }

  .entry-content .gsh-faq-accordion {
    margin: 38px 0;
  }

  .entry-content .gsh-faq-title {
    font-size: 2rem;
  }

  .entry-content .gsh-faq-trigger,
  .entry-content summary {
    padding: 15px 16px;
  }

  .entry-content .gsh-faq-panel-inner {
    padding: 0 16px 16px;
  }

  .gsh-template,
  .gsh-single-grid {
    padding-left: 18px;
    padding-right: 18px;
  }

  .gsh-footer {
    margin-top: 42px;
  }
}

@media (max-width: 520px) {
  .entry-title,
  .page-title,
  .gsh-title {
    font-size: clamp(1.82rem, 9vw, 2rem);
  }

  .gsh-template,
  .gsh-single-grid {
    padding-left: 14px;
    padding-right: 14px;
  }

  .gsh-hero,
  .entry-content .gsh-hero,
  .gsh-article-hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .gsh-card,
  .gsh-game-card,
  .gsh-article-card,
  .entry-content .gsh-card,
  .entry-content .gsh-game-card,
  .gsh-hub-panel {
    padding: 20px;
  }

  .gsh-track-grid {
    grid-template-columns: 1fr;
  }

  .gsh-track-panel-body {
    padding: 18px 18px 20px;
  }

  .gsh-track-route {
    gap: 18px;
    padding: 24px 0;
  }

  .gsh-track-route-header h3 {
    font-size: 1.45rem;
  }

  .gsh-track-start-card,
  .gsh-track-route-more,
  .gsh-track-nav {
    padding: 18px;
  }

  .gsh-track-nav-header {
    flex-direction: column;
  }

  .entry-content .gsh-faq-title {
    font-size: 1.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .gsh-js.gsh-motion-ready .gsh-section,
  .gsh-js.gsh-motion-ready .gsh-card,
  .gsh-js.gsh-motion-ready .gsh-game-card,
  .gsh-js.gsh-motion-ready .gsh-article-card,
  .gsh-js.gsh-motion-ready .gsh-track-panel,
  .gsh-js.gsh-motion-ready .gsh-track-route,
  .gsh-js.gsh-motion-ready .gsh-track-nav,
  .gsh-js.gsh-motion-ready .gsh-hub-panel,
  .gsh-js.gsh-motion-ready .gsh-filter-panel,
  .gsh-js.gsh-motion-ready .gsh-no-results,
  .gsh-js.gsh-motion-ready .gsh-quick-answer,
  .gsh-js.gsh-motion-ready .gsh-callout,
  .gsh-js.gsh-motion-ready .gsh-update-notice,
  .gsh-js.gsh-motion-ready .gsh-related-guides,
  .gsh-js.gsh-motion-ready .gsh-faq-accordion,
  .gsh-js.gsh-motion-ready .gsh-prev-next,
  .gsh-js.gsh-motion-ready .gsh-404-map {
    opacity: 1;
    transform: none;
  }
}

/* Campaign Atlas standalone theme layer. */
.gsh-site-shell {
  min-height: 100vh;
}

.gsh-atlas-header {
  background: transparent;
  border: 0;
  box-shadow: none;
  height: 0;
  isolation: isolate;
  left: 0;
  pointer-events: none;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 90;
}

.gsh-home-toggle,
.gsh-menu-toggle,
.gsh-nav-backdrop,
.gsh-nav-drawer {
  pointer-events: auto;
}

.gsh-brand .main-title {
  line-height: 1.05;
}

.main-navigation {
  border-bottom: 0;
}

.gsh-home-toggle,
.gsh-menu-toggle {
  align-items: center;
  background: rgba(8, 17, 31, 0.78);
  border: 1px solid rgba(215, 237, 248, 0.2);
  border-radius: 999px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
  color: #f8fafc;
  display: inline-flex;
  height: 52px;
  justify-content: center;
  min-height: 0;
  padding: 0;
  position: fixed;
  right: max(18px, calc((100vw - var(--gsh-container)) / 2 + 18px));
  top: 18px;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, opacity 180ms ease, transform 180ms ease;
  width: 52px;
  z-index: 90;
}

.gsh-home-toggle {
  background:
    radial-gradient(circle at 48% 42%, rgba(139, 201, 255, 0.3), transparent 58%),
    linear-gradient(145deg, rgba(94, 182, 255, 0.16), rgba(8, 17, 31, 0.9)),
    rgba(8, 17, 31, 0.78);
  border-color: rgba(139, 201, 255, 0.34);
  left: max(18px, calc((100vw - var(--gsh-container)) / 2 + 18px));
  padding: 6px;
  right: auto;
  text-decoration: none;
}

.gsh-home-toggle img {
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.34));
  height: 36px;
  width: 36px;
}

.gsh-menu-toggle:hover,
.gsh-menu-toggle:focus,
.gsh-home-toggle:hover,
.gsh-home-toggle:focus {
  background: var(--gsh-primary);
  border-color: var(--gsh-primary);
  box-shadow: 0 22px 54px rgba(11, 121, 200, 0.3);
  color: #ffffff;
  transform: translateY(-1px);
}

.gsh-menu-toggle:focus-visible,
.gsh-home-toggle:focus-visible {
  outline: 3px solid rgba(94, 182, 255, 0.34);
  outline-offset: 4px;
}

.gsh-menu-toggle > span[aria-hidden="true"],
.gsh-menu-toggle > span[aria-hidden="true"]::before,
.gsh-menu-toggle > span[aria-hidden="true"]::after {
  background: currentColor;
  border-radius: 999px;
  content: "";
  display: block;
  height: 2px;
  position: absolute;
  width: 21px;
}

.gsh-menu-toggle > span[aria-hidden="true"] {
  position: relative;
}

.gsh-menu-toggle > span[aria-hidden="true"]::before {
  transform: translateY(-7px);
}

.gsh-menu-toggle > span[aria-hidden="true"]::after {
  transform: translateY(7px);
}

.gsh-nav-backdrop {
  background: rgba(4, 8, 14, 0.58);
  height: 100dvh;
  inset: 0;
  opacity: 0;
  position: fixed;
  transition: opacity 220ms ease;
  width: 100vw;
  z-index: 80;
  pointer-events: none;
}

.gsh-nav-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.gsh-nav-drawer {
  height: 100dvh;
  left: 0;
  opacity: 0;
  max-width: 100vw;
  overflow: hidden;
  position: fixed;
  right: 0;
  top: 0;
  transition: opacity 220ms ease, visibility 220ms ease;
  visibility: hidden;
  width: 100vw;
  z-index: 85;
  pointer-events: none;
}

.gsh-nav-drawer.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.gsh-drawer-panel {
  background: var(--gsh-popover-bg);
  border-left: 1px solid var(--gsh-border);
  bottom: 0;
  box-shadow: -32px 0 88px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100dvh;
  margin-left: auto;
  max-width: calc(100vw - 24px);
  overflow-y: auto;
  padding: 28px;
  position: fixed;
  right: 0;
  top: 0;
  transform: translateX(104%);
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
  width: min(420px, calc(100vw - 24px));
  z-index: 1;
}

.gsh-nav-drawer.is-open .gsh-drawer-panel {
  transform: translateX(0);
}

.gsh-drawer-header {
  align-items: flex-start;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.gsh-drawer-close {
  align-items: center;
  background: var(--gsh-surface);
  border: 1px solid var(--gsh-border);
  border-radius: 999px;
  color: var(--gsh-heading);
  display: inline-flex;
  flex: 0 0 auto;
  height: 44px;
  justify-content: center;
  min-height: 0;
  padding: 0;
  position: relative;
  width: 44px;
}

.gsh-drawer-close:hover,
.gsh-drawer-close:focus {
  background: var(--gsh-primary-soft);
  border-color: var(--gsh-primary);
  color: var(--gsh-primary-dark);
}

.gsh-drawer-close span::before,
.gsh-drawer-close span::after {
  background: currentColor;
  border-radius: 999px;
  content: "";
  height: 2px;
  left: 50%;
  position: absolute;
  top: 50%;
  width: 18px;
}

.gsh-drawer-close span::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.gsh-drawer-close span::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.gsh-drawer-panel .site-description {
  max-width: 280px;
}

.gsh-nav-drawer .main-navigation {
  background: transparent;
  border: 0;
}

.gsh-nav-drawer .main-navigation .main-nav {
  display: block;
}

.gsh-nav-drawer .main-navigation .main-nav > ul,
.gsh-nav-drawer .main-navigation .gsh-fallback-menu {
  align-items: stretch;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 10px;
  justify-content: flex-start;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gsh-nav-drawer .main-navigation .main-nav ul li {
  width: 100%;
}

.gsh-nav-drawer .main-navigation .main-nav ul li a {
  background: var(--gsh-surface);
  border: 1px solid var(--gsh-border);
  border-radius: var(--gsh-radius);
  min-height: 48px;
  padding: 0 14px;
  width: 100%;
}

.gsh-nav-drawer .main-navigation .main-nav ul li a[href*="/articles/"] {
  margin-left: 0;
}

.gsh-nav-drawer .main-navigation .main-nav ul li.gsh-menu-search,
.gsh-nav-drawer .main-navigation .main-nav ul li.gsh-menu-theme {
  display: block;
  padding: 0;
}

.gsh-nav-drawer .gsh-menu-search-form {
  align-items: stretch;
  flex-direction: column;
  gap: 8px;
}

.gsh-nav-drawer .gsh-menu-search-form input[type="search"] {
  max-width: none;
  min-height: 48px;
  width: 100%;
}

.gsh-nav-drawer .gsh-menu-search-form button,
.gsh-nav-drawer .gsh-theme-toggle {
  min-height: 46px;
  width: 100%;
}

.gsh-drawer-open {
  overflow: hidden;
}

body.gsh-drawer-open .gsh-menu-toggle {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
}

body.gsh-drawer-open .gsh-home-toggle {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
}

.gsh-hero,
.entry-content .gsh-hero {
  background:
    linear-gradient(135deg, rgba(8, 17, 31, 0.9), rgba(12, 36, 56, 0.78)),
    url("assets/images/atlas-home.svg") center / cover no-repeat;
  border: 0;
  border-radius: 22px;
  box-shadow: 0 36px 90px rgba(13, 26, 43, 0.22);
  color: #f8fafc;
  isolation: isolate;
  overflow: hidden;
  position: relative;
}

.gsh-hero::before,
.gsh-article-hero::before {
  background:
    linear-gradient(90deg, transparent, rgba(120, 199, 255, 0.26), transparent),
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(255, 255, 255, 0.08) 39px, transparent 40px);
  content: "";
  inset: 0;
  opacity: 0.55;
  pointer-events: none;
  position: absolute;
  transform: translateX(-16%);
  z-index: -1;
}

.gsh-home-hero {
  background:
    linear-gradient(90deg, rgba(5, 10, 18, 0.96) 0%, rgba(5, 10, 18, 0.82) 44%, rgba(5, 10, 18, 0.52) 72%, rgba(5, 10, 18, 0.68) 100%),
    linear-gradient(180deg, rgba(5, 10, 18, 0.52), rgba(5, 10, 18, 0.22)),
    url("assets/images/atlas-home-hero-strategy-room.jpg") center / cover no-repeat;
  min-height: clamp(560px, 72vh, 760px);
}

.gsh-hero .gsh-title,
.gsh-hero .gsh-dek,
.gsh-hero .gsh-eyebrow,
.gsh-hero .gsh-breadcrumbs,
.gsh-hero .gsh-breadcrumbs a {
  color: #f8fafc;
}

.gsh-hero .gsh-dek {
  color: rgba(248, 250, 252, 0.84);
}

.gsh-hero .gsh-search-form input[type="search"] {
  background: var(--gsh-hero-search-bg);
  border-color: var(--gsh-hero-search-border);
  color: var(--gsh-hero-search-text);
}

.gsh-game-hub-hero {
  background-position: center, center, var(--gsh-hub-hero-position, center);
  background-repeat: no-repeat;
  background-size: cover, cover, cover;
  min-height: clamp(430px, 44vw, 560px);
}

.gsh-game-hub-hero .gsh-title {
  max-width: 860px;
}

.gsh-game-hub-hero .gsh-dek,
.gsh-game-hub-hero .gsh-search-form {
  max-width: 720px;
}

.gsh-game-hub-hero.gsh-card-game-eu5 {
  --gsh-hub-hero-position: 56% center;
}

.gsh-game-hub-hero.gsh-card-game-hoi4 {
  --gsh-hub-hero-position: 60% center;
}

.gsh-game-hub-hero.gsh-card-game-stellaris {
  --gsh-hub-hero-position: 62% center;
}

.gsh-game-card,
.gsh-card,
.gsh-article-card,
.gsh-hub-panel,
.gsh-filter-panel,
.gsh-related-guides,
.gsh-aside-box {
  border-radius: 16px;
}

.gsh-game-card {
  background: var(--gsh-surface);
  display: flex;
  flex-direction: column;
  min-height: 235px;
  overflow: hidden;
  padding: 0;
}

.gsh-game-card::before {
  background: linear-gradient(90deg, var(--gsh-primary), var(--gsh-accent));
  content: "";
  height: 3px;
  left: -1px;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  right: -1px;
  top: -1px;
  transition: opacity 170ms ease;
  z-index: 2;
}

.gsh-game-card > * {
  position: relative;
  z-index: 1;
}

.gsh-game-card-image {
  aspect-ratio: 16 / 5.2;
  display: block;
  flex: 0 0 auto;
  object-fit: cover;
  object-position: center;
  transition: filter 260ms ease, transform 360ms ease;
  width: 100%;
}

.gsh-game-card-body {
  display: block;
  flex: 1 1 auto;
  padding: 22px 24px 24px;
}

.gsh-game-card:hover .gsh-game-card-image,
.gsh-game-card:focus-visible .gsh-game-card-image {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.025);
}

.gsh-article-card {
  display: grid;
  grid-template-rows: 180px 1fr;
  overflow: hidden;
  padding: 0;
}

.gsh-article-card-media {
  background-position: center;
  background-size: cover;
  display: block;
  min-height: 180px;
  transition: transform 360ms ease, filter 360ms ease;
}

.gsh-article-card-body {
  padding: 22px;
}

.gsh-article-card:hover .gsh-article-card-media {
  filter: saturate(1.12) contrast(1.04);
  transform: scale(1.035);
}

.gsh-card-meta {
  border-top: 1px solid var(--gsh-border);
  color: var(--gsh-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.82rem;
  gap: 12px;
  margin: 16px 0 0;
  padding-top: 12px;
}

.gsh-card-game-eu5 {
  --gsh-game-accent: #b7791f;
}

.gsh-card-game-hoi4 {
  --gsh-game-accent: #6f7f52;
}

.gsh-card-game-stellaris {
  --gsh-game-accent: #5b7cff;
}

.gsh-card-game-atlas {
  --gsh-game-accent: var(--gsh-primary);
}

.gsh-card-game-eu5 .gsh-badge-primary,
.gsh-card-game-hoi4 .gsh-badge-primary,
.gsh-card-game-stellaris .gsh-badge-primary,
.gsh-card-game-atlas .gsh-badge-primary {
  background: color-mix(in srgb, var(--gsh-game-accent), #ffffff 78%);
  border-color: color-mix(in srgb, var(--gsh-game-accent), #ffffff 48%);
  color: color-mix(in srgb, var(--gsh-game-accent), #111827 32%);
}

:root:not([data-gsh-theme="light"]) .gsh-card-game-eu5 .gsh-badge-primary,
:root:not([data-gsh-theme="light"]) .gsh-card-game-hoi4 .gsh-badge-primary,
:root:not([data-gsh-theme="light"]) .gsh-card-game-stellaris .gsh-badge-primary,
:root:not([data-gsh-theme="light"]) .gsh-card-game-atlas .gsh-badge-primary {
  background: color-mix(in srgb, var(--gsh-game-accent), #07101a 72%);
  border-color: color-mix(in srgb, var(--gsh-game-accent), #07101a 42%);
  color: color-mix(in srgb, var(--gsh-game-accent), #ffffff 18%);
}

.gsh-article-hero {
  background-position: center;
  background-size: cover;
  border-radius: 22px;
  color: #f8fafc;
  margin-bottom: 34px;
  min-height: clamp(420px, 54vw, 660px);
  overflow: hidden;
  padding: clamp(30px, 6vw, 70px);
  position: relative;
}

.gsh-article-hero::after {
  background:
    linear-gradient(90deg, rgba(8, 17, 31, 0.94) 0%, rgba(8, 17, 31, 0.78) 52%, rgba(8, 17, 31, 0.2) 100%),
    radial-gradient(circle at 78% 12%, rgba(120, 199, 255, 0.36), transparent 34%);
  content: "";
  inset: 0;
  position: absolute;
}

.gsh-article-hero-copy {
  max-width: 820px;
  position: relative;
  z-index: 1;
}

.gsh-article-hero .entry-title,
.gsh-article-hero .gsh-dek,
.gsh-article-hero .gsh-meta-row,
.gsh-article-hero .gsh-breadcrumbs,
.gsh-article-hero .gsh-breadcrumbs a {
  color: #f8fafc;
}

.gsh-article-hero .gsh-dek,
.gsh-article-hero .gsh-meta-row {
  color: rgba(248, 250, 252, 0.82);
}

.gsh-article-hero .gsh-meta-row {
  border-color: rgba(248, 250, 252, 0.28);
}

.gsh-single-grid {
  align-items: start;
  margin: 32px auto 72px;
}

.gsh-command-enhanced {
  background: var(--gsh-surface);
  border: 1px solid var(--gsh-border);
  border-radius: 16px;
  padding: 14px;
}

.gsh-command-filter {
  background: var(--gsh-surface-soft);
  border: 1px solid var(--gsh-border-strong);
  border-radius: 10px;
  color: var(--gsh-text);
  margin-bottom: 12px;
  min-height: 44px;
  padding: 0 13px;
  width: min(360px, 100%);
}

.gsh-copy-command {
  background: var(--gsh-surface);
  border: 1px solid var(--gsh-border-strong);
  border-radius: 999px;
  color: var(--gsh-primary-dark);
  font-size: 0.72rem;
  margin-left: 8px;
  min-height: 28px;
  padding: 0 10px;
}

.gsh-command-enhanced thead th {
  position: sticky;
  top: 82px;
  z-index: 1;
}

.gsh-motion-ready .gsh-hero::before,
.gsh-motion-ready .gsh-article-hero::before {
  animation: gsh-route-sweep 14s ease-in-out infinite alternate;
}

@keyframes gsh-route-sweep {
  from {
    transform: translateX(-18%);
  }
  to {
    transform: translateX(18%);
  }
}

@media (max-width: 900px) {
  .gsh-home-toggle {
    left: 16px;
    top: 16px;
  }

  .gsh-menu-toggle {
    right: 16px;
    top: 16px;
  }

  .gsh-drawer-panel {
    padding: 24px 20px;
    width: min(390px, calc(100vw - 16px));
  }
}

@media (max-width: 768px) {
  .gsh-hero,
  .entry-content .gsh-hero,
  .gsh-article-hero {
    border-radius: 16px;
  }

  .gsh-article-hero {
    min-height: auto;
    padding-top: calc(76px + env(safe-area-inset-top, 0px));
  }

  .gsh-game-hub-hero {
    min-height: auto;
  }

  .gsh-home-hero {
    min-height: auto;
  }

  .gsh-article-card {
    grid-template-rows: 155px 1fr;
  }

  .gsh-command-enhanced thead th {
    position: static;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gsh-motion-ready .gsh-hero::before,
  .gsh-motion-ready .gsh-article-hero::before,
  .gsh-track-media,
  .gsh-article-card-media {
    animation: none;
    transition: none;
  }

  .gsh-track-panel:hover,
  .gsh-track-panel:focus-within,
  .gsh-track-panel:focus-visible,
  .gsh-track-panel:hover .gsh-track-media,
  .gsh-track-panel:focus-within .gsh-track-media,
  .gsh-track-panel:focus-visible .gsh-track-media {
    transform: none;
  }
}
