/*
 * GRZ Hub v0.2 visual system
 * Presentation only. Functional behavior belongs to WordPress and companion plugins.
 */

:root {
  --grz-bg: #07080b;
  --grz-bg-soft: #0a0c11;
  --grz-surface: #0f1218;
  --grz-surface-2: #141922;
  --grz-surface-3: #1a2130;
  --grz-surface-hover: #171d28;
  --grz-line: rgba(255, 255, 255, 0.085);
  --grz-line-strong: rgba(255, 255, 255, 0.15);
  --grz-text: #f7f9fc;
  --grz-text-soft: #c2cbd8;
  --grz-muted: #939eae;
  --grz-muted-2: #687486;
  --grz-blue: var(--grz-accent-start, #1d64ff);
  --grz-blue-hover: #3978ff;
  --grz-indigo: var(--grz-accent-end, #6b4dff);
  --grz-green: #43d17a;
  --grz-amber: #ffb545;
  --grz-red: #ff6078;
  --grz-container: 1460px;
  --grz-reading: 780px;
  --grz-radius-xs: 7px;
  --grz-radius-sm: 10px;
  --grz-radius: 14px;
  --grz-radius-lg: 18px;
  --grz-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --grz-shadow-soft: 0 14px 42px rgba(0, 0, 0, 0.22);
  --grz-header-height: 78px;
  --grz-mobile-nav-height: 70px;
  --grz-font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --grz-display: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

html[data-grz-active-scheme="light"] {
  --grz-bg: #f4f6fa;
  --grz-bg-soft: #edf1f7;
  --grz-surface: #ffffff;
  --grz-surface-2: #f7f9fc;
  --grz-surface-3: #e9eef6;
  --grz-surface-hover: #f0f4f9;
  --grz-line: rgba(13, 24, 42, 0.09);
  --grz-line-strong: rgba(13, 24, 42, 0.16);
  --grz-text: #101722;
  --grz-text-soft: #384456;
  --grz-muted: #667386;
  --grz-muted-2: #8792a1;
  --grz-shadow: 0 24px 70px rgba(32, 45, 67, 0.13);
  --grz-shadow-soft: 0 12px 34px rgba(32, 45, 67, 0.1);
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--grz-bg);
  color-scheme: dark;
}

html[data-grz-active-scheme="light"] {
  color-scheme: light;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(900px 460px at 68% -150px, rgba(29, 100, 255, 0.17), transparent 72%),
    radial-gradient(700px 420px at 7% 33%, rgba(89, 58, 255, 0.07), transparent 74%),
    var(--grz-bg);
  color: var(--grz-text);
  font-family: var(--grz-font);
  font-size: 16px;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html[data-grz-active-scheme="light"] body {
  background:
    radial-gradient(900px 460px at 68% -150px, rgba(29, 100, 255, 0.09), transparent 72%),
    var(--grz-bg);
}

body.admin-bar .grz-header {
  top: 32px;
}

body.admin-bar .grz-reading-progress {
  top: calc(var(--grz-header-height) + 32px);
}

html.is-grz-locked,
html.is-grz-locked body {
  overflow: hidden;
}

::selection {
  background: rgba(29, 100, 255, 0.42);
  color: #fff;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid rgba(92, 151, 255, 0.45);
  outline-offset: 3px;
}

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

img {
  display: block;
  height: auto;
}

button,
input,
textarea,
select {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  color: var(--grz-text);
  font-family: var(--grz-display);
  font-weight: 780;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
}

.grz-site {
  min-height: 100vh;
}

.grz-main {
  min-height: 40vh;
}

.grz-container {
  width: min(var(--grz-container), calc(100% - 64px));
  margin-inline: auto;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  position: fixed !important;
  z-index: 100000;
  top: 16px;
  left: 16px;
  width: auto;
  height: auto;
  padding: 12px 16px;
  clip: auto;
  border-radius: var(--grz-radius-sm);
  background: #fff;
  color: #111;
  font-weight: 800;
  white-space: normal;
}

/* Core controls */
.grz-button,
.wp-block-button__link,
input[type="submit"],
button[type="submit"] {
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--grz-radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--grz-surface-2);
  color: var(--grz-text);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.005em;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.grz-button svg,
.grz-icon-button svg,
.grz-account-link svg,
.grz-search-trigger svg,
.grz-mobile-bottom-nav svg,
.grz-search-form svg,
.grz-meta svg,
.grz-event-card__date svg,
.grz-footer svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.grz-button:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
  transform: translateY(-1px);
}

.grz-button--primary,
.wp-block-button:not(.is-style-outline) .wp-block-button__link,
input[type="submit"],
button[type="submit"] {
  background: var(--grz-blue);
  border-color: var(--grz-blue);
  color: #fff;
  box-shadow: 0 12px 30px rgba(29, 100, 255, 0.22);
}

.grz-button--primary:hover,
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
  background: var(--grz-blue-hover);
  border-color: var(--grz-blue-hover);
  box-shadow: 0 15px 34px rgba(29, 100, 255, 0.3);
  color: #fff;
}

.grz-button--ghost,
.wp-block-button.is-style-outline .wp-block-button__link {
  background: var(--grz-surface-2);
  border-color: var(--grz-line-strong);
  color: var(--grz-text);
  box-shadow: none;
}

.grz-button--ghost:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: var(--grz-surface-hover);
  border-color: rgba(255, 255, 255, 0.27);
  color: var(--grz-text);
}

html[data-grz-active-scheme="light"] .grz-button--ghost:hover {
  border-color: rgba(13, 24, 42, 0.28);
}

.grz-button--light {
  background: #fff;
  border-color: #fff;
  color: #0c1320;
  box-shadow: none;
}

.grz-button--light:hover {
  background: #eaf1ff;
  border-color: #eaf1ff;
}

.grz-button--full {
  width: 100%;
}

.grz-icon-button {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--grz-line-strong);
  border-radius: var(--grz-radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--grz-surface-2);
  color: var(--grz-text-soft);
  cursor: pointer;
  transition: 180ms ease;
}

.grz-icon-button:hover {
  border-color: rgba(90, 146, 255, 0.58);
  background: var(--grz-surface-hover);
  color: #fff;
}

.grz-icon-button span:not(.screen-reader-text) {
  font-size: 12px;
  font-weight: 750;
}

.grz-chip {
  min-height: 26px;
  padding: 4px 9px;
  border: 1px solid var(--grz-line-strong);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(10, 13, 19, 0.72);
  color: var(--grz-text-soft);
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.grz-chip svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}

.grz-chip--accent {
  border-color: rgba(89, 147, 255, 0.48);
  background: rgba(29, 100, 255, 0.17);
  color: #a9c7ff;
}

.grz-chip--verified {
  border-color: rgba(67, 209, 122, 0.32);
  background: rgba(67, 209, 122, 0.1);
  color: #7ce8a5;
}

.grz-chip--glass {
  background: rgba(6, 8, 12, 0.6);
  color: #e1e7f0;
}

.grz-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #77a6ff;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.17em;
  line-height: 1.2;
  text-transform: uppercase;
}

.grz-eyebrow::before {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--grz-blue);
  content: "";
}

.grz-live-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--grz-green);
  box-shadow: 0 0 0 5px rgba(67, 209, 122, 0.08);
}

/* Announcement and global header */
.grz-announcement {
  min-height: 34px;
  border-bottom: 1px solid var(--grz-line);
  background: #030407;
  color: #b7c0ce;
  font-size: 12px;
}

html[data-grz-active-scheme="light"] .grz-announcement {
  background: #101723;
  color: #dbe3ef;
}

.grz-announcement__inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.grz-announcement__inner > a,
.grz-announcement__inner > span:not(.grz-live-dot) {
  overflow: hidden;
  color: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.grz-announcement__inner > a:hover {
  color: #fff;
}

.grz-announcement__inner > a span {
  margin-left: 6px;
}

.grz-announcement__links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 19px;
  white-space: nowrap;
}

.grz-announcement__links a {
  color: #8d98a8;
  font-size: 11px;
  font-weight: 650;
}

.grz-announcement__links a:hover {
  color: #fff;
}

.grz-header {
  position: sticky;
  z-index: 900;
  top: 0;
  height: var(--grz-header-height);
  border-bottom: 1px solid var(--grz-line);
  background: rgba(7, 8, 11, 0.91);
  backdrop-filter: blur(22px) saturate(140%);
  transition: background 180ms ease, box-shadow 180ms ease;
}

html[data-grz-active-scheme="light"] .grz-header {
  background: rgba(255, 255, 255, 0.91);
}

.grz-header.is-scrolled {
  background: rgba(7, 8, 11, 0.97);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

html[data-grz-active-scheme="light"] .grz-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 34px rgba(44, 59, 80, 0.11);
}

.grz-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.grz-brand {
  min-width: 212px;
  display: flex;
  align-items: center;
}

.grz-brand__link,
.custom-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.grz-brand__image,
.custom-logo {
  width: 144px;
  max-height: 54px;
  object-fit: contain;
}

.grz-brand__product {
  min-height: 28px;
  padding-left: 13px;
  border-left: 1px solid var(--grz-line-strong);
  display: inline-flex;
  align-items: center;
  color: #91b7ff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.grz-primary-nav {
  height: 100%;
  margin-right: auto;
}

.grz-primary-nav__menu,
.grz-primary-nav__menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.grz-primary-nav__menu {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 27px;
}

.grz-primary-nav__menu > li {
  position: relative;
  height: 100%;
}

.grz-primary-nav__menu > li > a {
  position: relative;
  height: 100%;
  display: inline-flex;
  align-items: center;
  color: #aeb8c7;
  font-size: 14px;
  font-weight: 680;
  white-space: nowrap;
}

html[data-grz-active-scheme="light"] .grz-primary-nav__menu > li > a {
  color: #596679;
}

.grz-primary-nav__menu > li > a:hover,
.grz-primary-nav__menu > .current-menu-item > a,
.grz-primary-nav__menu > .current-menu-ancestor > a,
.grz-primary-nav__menu > .current_page_item > a,
.grz-primary-nav__menu > .current_page_ancestor > a {
  color: var(--grz-text);
}

.grz-primary-nav__menu > .current-menu-item > a::after,
.grz-primary-nav__menu > .current-menu-ancestor > a::after,
.grz-primary-nav__menu > .current_page_item > a::after,
.grz-primary-nav__menu > .current_page_ancestor > a::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--grz-blue);
  content: "";
}

.grz-primary-nav__menu .sub-menu {
  position: absolute;
  top: calc(100% - 8px);
  left: -18px;
  width: 230px;
  padding: 10px;
  border: 1px solid var(--grz-line-strong);
  border-radius: 12px;
  display: grid;
  gap: 2px;
  background: rgba(14, 17, 24, 0.98);
  box-shadow: var(--grz-shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 160ms ease;
}

html[data-grz-active-scheme="light"] .grz-primary-nav__menu .sub-menu {
  background: rgba(255, 255, 255, 0.99);
}

.grz-primary-nav__menu li:hover > .sub-menu,
.grz-primary-nav__menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.grz-primary-nav__menu .sub-menu .sub-menu {
  top: -10px;
  left: calc(100% + 7px);
}

.grz-primary-nav__menu .sub-menu a {
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  color: var(--grz-muted);
  font-size: 13px;
  font-weight: 670;
}

.grz-primary-nav__menu .sub-menu a:hover {
  background: var(--grz-surface-3);
  color: var(--grz-text);
}

.grz-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.grz-search-trigger {
  width: 230px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--grz-line-strong);
  border-radius: var(--grz-radius-sm);
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(15, 18, 25, 0.92);
  color: var(--grz-muted);
  cursor: pointer;
  text-align: left;
  transition: 180ms ease;
}

html[data-grz-active-scheme="light"] .grz-search-trigger {
  background: #f6f8fb;
}

.grz-search-trigger:hover {
  border-color: rgba(91, 149, 255, 0.52);
  background: var(--grz-surface-hover);
  color: var(--grz-text-soft);
}

.grz-search-trigger > span {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.grz-search-trigger kbd {
  padding: 3px 6px;
  border: 1px solid var(--grz-line-strong);
  border-radius: 5px;
  background: var(--grz-surface-2);
  color: var(--grz-muted);
  font-family: inherit;
  font-size: 10px;
  font-weight: 750;
  line-height: 1;
}

.grz-account-link {
  height: 44px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--grz-text-soft);
  font-size: 13px;
  font-weight: 760;
}

.grz-account-link:hover {
  color: #fff;
}

html[data-grz-active-scheme="light"] .grz-account-link:hover {
  color: var(--grz-blue);
}

.grz-header__store {
  min-height: 44px;
  padding-inline: 17px;
}

.grz-mobile-toggle {
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--grz-line-strong);
  border-radius: var(--grz-radius-sm);
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--grz-surface-2);
  color: var(--grz-text);
  cursor: pointer;
}

.grz-mobile-toggle > span:not(.screen-reader-text) {
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.grz-mobile-toggle > span:nth-child(1) { transform: translateY(-6px); }
.grz-mobile-toggle > span:nth-child(2) { transform: translateY(0); }
.grz-mobile-toggle > span:nth-child(3) { transform: translateY(6px); }

/* Search and mobile dialogs */
.grz-dialog[hidden] {
  display: none !important;
}

.grz-dialog {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: grid;
}

.grz-dialog__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
  cursor: default;
}

.grz-dialog__panel,
.grz-mobile-drawer__panel {
  position: relative;
  z-index: 1;
  border: 1px solid var(--grz-line-strong);
  background: #0d1016;
  box-shadow: var(--grz-shadow);
}

html[data-grz-active-scheme="light"] .grz-dialog__panel,
html[data-grz-active-scheme="light"] .grz-mobile-drawer__panel {
  background: #fff;
}

.grz-search-dialog {
  place-items: start center;
  padding: clamp(68px, 10vh, 130px) 24px 24px;
}

.grz-search-dialog .grz-dialog__panel {
  width: min(760px, 100%);
  padding: 28px;
  border-radius: 18px;
  opacity: 0;
  transform: translateY(-12px) scale(0.985);
  transition: 180ms ease;
}

.grz-search-dialog.is-open .grz-dialog__panel {
  opacity: 1;
  transform: none;
}

.grz-dialog__header {
  margin-bottom: 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.grz-dialog__header h2 {
  margin-top: 10px;
  font-size: 31px;
}

.grz-search-form {
  width: 100%;
  min-height: 58px;
  padding: 6px 6px 6px 16px;
  border: 1px solid var(--grz-line-strong);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--grz-surface-2);
}

.grz-search-form > svg {
  color: var(--grz-muted);
}

.grz-search-form input[type="search"] {
  min-width: 0;
  min-height: 44px;
  flex: 1;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--grz-text);
  font-size: 15px;
}

.grz-search-form input::placeholder {
  color: var(--grz-muted-2);
}

.grz-search-form .grz-button {
  min-height: 46px;
}

.grz-search-dialog__quick {
  margin-top: 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.grz-search-dialog__quick > span {
  margin-right: 2px;
  color: var(--grz-muted-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.grz-search-dialog__quick a {
  padding: 7px 10px;
  border: 1px solid var(--grz-line);
  border-radius: 8px;
  color: var(--grz-text-soft);
  font-size: 12px;
  font-weight: 680;
}

.grz-search-dialog__quick a:hover {
  border-color: rgba(91, 149, 255, 0.45);
  background: rgba(29, 100, 255, 0.1);
  color: #b8d0ff;
}

.grz-mobile-drawer {
  justify-items: end;
}

.grz-mobile-drawer__panel {
  width: min(410px, calc(100% - 24px));
  min-height: 100%;
  padding: 22px;
  transform: translateX(100%);
  transition: transform 220ms ease;
}

.grz-mobile-drawer.is-open .grz-mobile-drawer__panel {
  transform: none;
}

.grz-mobile-drawer__header {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--grz-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.grz-mobile-drawer .grz-brand {
  min-width: 0;
}

.grz-mobile-menu,
.grz-mobile-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.grz-mobile-menu {
  padding: 18px 0;
}

.grz-mobile-menu li {
  position: relative;
}

.grz-mobile-menu > li > a {
  min-height: 50px;
  padding: 0 8px;
  border-bottom: 1px solid var(--grz-line);
  display: flex;
  align-items: center;
  color: var(--grz-text-soft);
  font-size: 16px;
  font-weight: 760;
}

.grz-mobile-menu .current-menu-item > a,
.grz-mobile-menu a:hover {
  color: #8cb4ff;
}

.grz-mobile-menu .sub-menu {
  display: none;
  padding: 4px 0 8px 18px;
}

.grz-mobile-menu .is-submenu-open > .sub-menu {
  display: block;
}

.grz-mobile-menu .sub-menu a {
  min-height: 40px;
  display: flex;
  align-items: center;
  color: var(--grz-muted);
  font-size: 13px;
  font-weight: 680;
}

.grz-mobile-submenu-toggle {
  position: absolute;
  top: 8px;
  right: 2px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--grz-surface-2);
  color: var(--grz-muted);
}

.grz-mobile-submenu-toggle svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.grz-mobile-submenu-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.grz-mobile-drawer__actions {
  display: grid;
  gap: 10px;
}

/* Breaking rail */
.grz-trending-rail {
  border-bottom: 1px solid var(--grz-line);
  background: rgba(12, 15, 21, 0.9);
}

html[data-grz-active-scheme="light"] .grz-trending-rail {
  background: rgba(242, 245, 249, 0.94);
}

.grz-trending-rail__inner {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 18px;
  overflow: hidden;
}

.grz-trending-rail__label {
  min-height: 24px;
  padding: 0 10px;
  border: 1px solid rgba(69, 132, 255, 0.38);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  background: rgba(29, 100, 255, 0.13);
  color: #7eabff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.grz-trending-rail__items {
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 32px;
  overflow: hidden;
}

.grz-trending-rail__items a {
  position: relative;
  color: var(--grz-text-soft);
  font-size: 13px;
  white-space: nowrap;
}

.grz-trending-rail__items a:not(:first-child)::before {
  position: absolute;
  top: 50%;
  left: -17px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--grz-muted-2);
  content: "";
}

.grz-trending-rail__items a:hover {
  color: #fff;
}

html[data-grz-active-scheme="light"] .grz-trending-rail__items a:hover {
  color: var(--grz-blue);
}

.grz-trending-rail__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--grz-muted-2);
  font-size: 12px;
  white-space: nowrap;
}

/* Homepage */
.grz-home-hero {
  padding: 54px 0 34px;
}

.grz-home-hero__intro {
  margin-bottom: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  align-items: end;
  gap: 60px;
}

.grz-home-hero__intro h1 {
  max-width: 920px;
  margin-top: 14px;
  font-size: clamp(52px, 5.1vw, 78px);
  font-weight: 820;
  letter-spacing: -0.058em;
  line-height: 0.99;
}

.grz-home-hero__intro > p {
  margin-bottom: 6px;
  color: #aab4c4;
  font-size: 18px;
  line-height: 1.65;
}

html[data-grz-active-scheme="light"] .grz-home-hero__intro > p {
  color: var(--grz-muted);
}

.grz-home-hero__grid {
  min-height: 624px;
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(360px, 0.78fr);
  gap: 18px;
}

.grz-hero-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--grz-line-strong);
  border-radius: var(--grz-radius-lg);
  background: #0c0f15;
  box-shadow: var(--grz-shadow);
}

.grz-hero-card__media,
.grz-hero-card__image,
.grz-hero-card__overlay {
  position: absolute;
  inset: 0;
}

.grz-hero-card__media {
  display: block;
}

.grz-hero-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 800ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.grz-hero-card:hover .grz-hero-card__image {
  transform: scale(1.025);
}

.grz-hero-card__overlay {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 7, 11, 0.06) 16%, rgba(5, 7, 11, 0.34) 52%, rgba(5, 7, 11, 0.97) 100%),
    linear-gradient(90deg, rgba(4, 6, 10, 0.7), transparent 66%);
  pointer-events: none;
}

.grz-hero-card__content {
  position: absolute;
  z-index: 2;
  right: 42px;
  bottom: 38px;
  left: 42px;
  max-width: 770px;
}

.grz-hero-card__labels,
.grz-story-card__labels,
.grz-article-header__labels,
.grz-event-card__top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.grz-hero-card__labels {
  margin-bottom: 16px;
}

.grz-hero-card h2 {
  max-width: 770px;
  margin-bottom: 14px;
  font-size: clamp(38px, 3.7vw, 59px);
  letter-spacing: -0.047em;
  line-height: 1.035;
}

.grz-hero-card h2 a:hover {
  color: #c9dbff;
}

.grz-hero-card__content > p {
  max-width: 670px;
  margin-bottom: 24px;
  color: #c2cad7;
  font-size: 16px;
  line-height: 1.62;
}

.grz-hero-card__footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.grz-hero-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  color: #a1abba;
  font-size: 12px;
}

.grz-hero-card__meta span {
  display: inline-flex;
  align-items: center;
}

.grz-hero-card__meta span:not(:last-child)::after {
  width: 3px;
  height: 3px;
  margin: 0 9px;
  border-radius: 50%;
  background: #657184;
  content: "";
}

.grz-top-stories {
  min-width: 0;
  padding: 26px 26px 20px;
  border: 1px solid var(--grz-line);
  border-radius: var(--grz-radius-lg);
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #11151d, #0c0f15);
}

html[data-grz-active-scheme="light"] .grz-top-stories {
  background: linear-gradient(180deg, #fff, #f7f9fc);
}

.grz-top-stories__header {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--grz-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.grz-top-stories__header h2 {
  font-size: 24px;
}

.grz-top-stories__header > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #77a6ff;
  font-size: 12px;
  font-weight: 780;
}

.grz-top-stories__list {
  min-height: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.grz-top-story {
  min-height: 0;
  flex: 1;
  padding: 20px 0;
  border-bottom: 1px solid var(--grz-line);
  display: grid;
  grid-template-columns: 34px 104px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.grz-top-story:last-child {
  border-bottom: 0;
}

.grz-top-story__number {
  color: #465265;
  font-size: 20px;
  font-weight: 820;
  letter-spacing: -0.03em;
}

.grz-top-story__image {
  width: 104px;
  height: 76px;
  overflow: hidden;
  border: 1px solid var(--grz-line);
  border-radius: 10px;
}

.grz-top-story__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.grz-top-story:hover .grz-top-story__image img {
  transform: scale(1.05);
}

.grz-top-story__copy {
  min-width: 0;
}

.grz-top-story__copy > span {
  display: block;
  margin-bottom: 7px;
  overflow: hidden;
  color: #6fa0ff;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.grz-top-story__copy h3 {
  margin-bottom: 7px;
  font-size: 15px;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.grz-top-story__copy h3 a:hover {
  color: #9ebeff;
}

.grz-top-story__copy small {
  color: #788495;
  font-size: 11px;
}

/* Game hubs */
.grz-game-rail {
  padding: 22px 0 55px;
}

.grz-section-heading {
  margin-bottom: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.grz-section-heading h2 {
  margin-top: 9px;
  font-size: clamp(31px, 3vw, 41px);
  letter-spacing: -0.048em;
}

.grz-section-heading p {
  max-width: 670px;
  margin-top: 10px;
  color: var(--grz-muted);
  font-size: 15px;
}

.grz-section-heading > a:not(.grz-button),
.grz-section-heading--compact > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--grz-text-soft);
  font-size: 13px;
  font-weight: 780;
  white-space: nowrap;
}

.grz-section-heading > a:not(.grz-button):hover,
.grz-section-heading--compact > a:hover {
  color: #83adff;
}

.grz-game-rail__scroll {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.grz-game-pill {
  position: relative;
  min-width: 0;
  min-height: 118px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid var(--grz-line);
  border-radius: var(--grz-radius);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--grz-surface);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.grz-game-pill::after {
  position: absolute;
  right: -30px;
  bottom: -50px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 100, 255, 0.24), transparent 70%);
  content: "";
  pointer-events: none;
}

.grz-game-pill:hover {
  border-color: rgba(82, 143, 255, 0.46);
  background: #111722;
  transform: translateY(-3px);
}

html[data-grz-active-scheme="light"] .grz-game-pill:hover {
  background: #fff;
}

.grz-game-pill__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.grz-game-pill__top > span:last-child {
  color: #596678;
  font-size: 18px;
}

.grz-game-pill__mark {
  width: 35px;
  height: 35px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #174db9, #0c2561);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.grz-game-pill__mark[data-index="1"],
.grz-game-pill__mark[data-index="7"] { background: linear-gradient(145deg, #98334b, #4d1726); }
.grz-game-pill__mark[data-index="2"],
.grz-game-pill__mark[data-index="8"] { background: linear-gradient(145deg, #6d42cb, #28155b); }
.grz-game-pill__mark[data-index="3"],
.grz-game-pill__mark[data-index="9"] { background: linear-gradient(145deg, #159b87, #075247); }
.grz-game-pill__mark[data-index="4"] { background: linear-gradient(145deg, #355267, #172833); }
.grz-game-pill__mark[data-index="5"] { background: linear-gradient(145deg, #3757b1, #1b2760); }

.grz-game-pill strong {
  display: block;
  overflow: hidden;
  color: var(--grz-text);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.grz-game-pill small {
  display: block;
  margin-top: 2px;
  color: var(--grz-muted-2);
  font-size: 11px;
}

/* Home sections and editorial cards */
.grz-home-section,
.grz-related-stories {
  padding: 72px 0;
  border-top: 1px solid var(--grz-line);
}

.grz-home-section:nth-of-type(even) {
  background: linear-gradient(180deg, rgba(12, 15, 21, 0.5), rgba(7, 8, 11, 0));
}

.grz-home-latest__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: start;
  gap: 20px;
}

.grz-story-grid,
.grz-archive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.grz-story-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grz-story-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--grz-line);
  border-radius: var(--grz-radius);
  background: var(--grz-surface);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.grz-story-card:hover {
  border-color: rgba(92, 150, 255, 0.33);
  box-shadow: var(--grz-shadow-soft);
  transform: translateY(-3px);
}

.grz-story-card__media {
  position: relative;
  height: 230px;
  overflow: hidden;
  display: block;
  background: var(--grz-surface-2);
}

.grz-story-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.grz-story-card:hover .grz-story-card__media img {
  transform: scale(1.035);
}

.grz-story-card__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(4, 6, 10, 0.4));
}

.grz-story-card__body {
  padding: 22px;
}

.grz-story-card__labels {
  margin-bottom: 14px;
}

.grz-story-card__title {
  font-size: 22px;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.grz-story-card__title a:hover {
  color: #8fb5ff;
}

.grz-story-card__excerpt {
  margin-top: 12px;
  color: var(--grz-muted);
  font-size: 14px;
  line-height: 1.65;
}

.grz-story-card__meta {
  margin-top: 18px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--grz-muted-2);
  font-size: 11px;
}

.grz-story-card--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
}

.grz-story-card--wide .grz-story-card__media {
  height: 100%;
  min-height: 360px;
}

.grz-story-card--wide .grz-story-card__body {
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.grz-story-card--wide .grz-story-card__title {
  font-size: 34px;
  line-height: 1.12;
}

.grz-story-card--guide .grz-story-card__media {
  height: 190px;
}

.grz-story-card--guide .grz-story-card__title {
  font-size: 18px;
}

.grz-story-card--guide .grz-story-card__excerpt {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.grz-community-pulse {
  position: sticky;
  top: calc(var(--grz-header-height) + 22px);
  min-height: 560px;
  padding: 24px;
  border: 1px solid var(--grz-line);
  border-radius: var(--grz-radius);
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #11151d, #0d1016);
}

html[data-grz-active-scheme="light"] .grz-community-pulse {
  background: linear-gradient(180deg, #fff, #f7f9fc);
}

.grz-community-pulse__header {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--grz-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.grz-community-pulse__header h2 {
  font-size: 24px;
}

.grz-community-pulse__empty {
  margin: auto 0;
  padding: 36px 12px;
  text-align: center;
}

.grz-community-pulse__empty h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.grz-community-pulse__empty p {
  color: var(--grz-muted);
  font-size: 13px;
}

.grz-forum-pulse {
  min-height: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.grz-forum-pulse__header {
  display: none;
}

.grz-forum-pulse__list {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.grz-forum-pulse__item {
  padding: 17px 0;
  border-bottom: 1px solid var(--grz-line);
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.grz-forum-pulse__avatar img,
.grz-forum-pulse__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.grz-forum-pulse__title {
  color: var(--grz-text);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
}

.grz-forum-pulse__title:hover {
  color: #8fb5ff;
}

.grz-forum-pulse__meta {
  margin-top: 4px;
  color: var(--grz-muted-2);
  font-size: 10px;
}

.grz-forum-pulse__count {
  color: var(--grz-muted);
  font-size: 11px;
  font-weight: 750;
}

.grz-forum-pulse__empty {
  padding: 26px 0;
  color: var(--grz-muted);
  font-size: 13px;
}

.grz-guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.grz-events-scroll {
  padding-bottom: 8px;
  display: grid;
  grid-template-columns: repeat(4, minmax(280px, 1fr));
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
}

.grz-event-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--grz-line);
  border-radius: var(--grz-radius);
  background: var(--grz-surface);
  transition: transform 180ms ease, border-color 180ms ease;
}

.grz-event-card:hover {
  border-color: rgba(92, 150, 255, 0.35);
  transform: translateY(-3px);
}

.grz-event-card__media {
  height: 190px;
  overflow: hidden;
  display: block;
}

.grz-event-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.grz-event-card:hover .grz-event-card__media img {
  transform: scale(1.04);
}

.grz-event-card__body {
  padding: 20px;
}

.grz-event-card h3 {
  margin-top: 14px;
  font-size: 20px;
  line-height: 1.22;
}

.grz-event-card h3 a:hover {
  color: #8fb5ff;
}

.grz-event-card__date {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--grz-muted);
  font-size: 11px;
}

.grz-events-empty {
  min-height: 210px;
  padding: 30px;
  border: 1px dashed var(--grz-line-strong);
  border-radius: var(--grz-radius);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  color: var(--grz-muted);
}

.grz-events-empty strong {
  color: var(--grz-text);
  font-size: 22px;
}

.grz-store-bridge {
  padding: 34px 0 78px;
}

.grz-store-bridge__inner {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border: 1px solid var(--grz-line-strong);
  border-radius: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(390px, 0.72fr);
  background: #090b10;
  box-shadow: var(--grz-shadow);
}

.grz-store-bridge__visual {
  position: relative;
  min-height: 480px;
}

.grz-store-bridge__visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 45%, #090b10 100%), linear-gradient(180deg, transparent 50%, rgba(9, 11, 16, 0.55));
  content: "";
}

.grz-store-bridge__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.grz-store-bridge__content {
  position: relative;
  z-index: 2;
  padding: 54px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.grz-store-bridge__content h2 {
  margin-top: 14px;
  font-size: clamp(36px, 3.5vw, 54px);
  letter-spacing: -0.05em;
}

.grz-store-bridge__content p {
  margin: 18px 0 27px;
  color: #aeb8c6;
  font-size: 16px;
  line-height: 1.7;
}

.grz-store-bridge__content .grz-button {
  align-self: flex-start;
}

/* Newsletter and footer */
.grz-newsletter-band {
  padding: 58px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #124fc8;
  color: #fff;
}

.grz-newsletter-band .grz-eyebrow {
  color: #dce8ff;
}

.grz-newsletter-band .grz-eyebrow::before {
  background: #fff;
}

.grz-newsletter-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.8fr);
  align-items: center;
  gap: 70px;
}

.grz-newsletter-band h2 {
  max-width: 760px;
  margin-top: 12px;
  color: #fff;
  font-size: clamp(31px, 3.4vw, 48px);
  letter-spacing: -0.047em;
}

.grz-newsletter-band p {
  max-width: 690px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.77);
}

.grz-newsletter-band__form small {
  display: block;
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 10px;
}

.grz-newsletter-placeholder,
.grz-newsletter-band__form form {
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  display: flex;
  gap: 7px;
  background: rgba(4, 23, 66, 0.24);
}

.grz-newsletter-placeholder input,
.grz-newsletter-band__form input[type="email"] {
  min-width: 0;
  min-height: 46px;
  flex: 1;
  padding: 0 14px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
}

.grz-newsletter-placeholder input::placeholder,
.grz-newsletter-band__form input::placeholder {
  color: rgba(255, 255, 255, 0.63);
}

.grz-footer {
  padding: 66px 0 26px;
  border-top: 1px solid var(--grz-line);
  background: #050609;
}

html[data-grz-active-scheme="light"] .grz-footer {
  background: #0a101a;
  --grz-text: #f7f9fc;
  --grz-text-soft: #c2cbd8;
  --grz-muted: #939eae;
  --grz-muted-2: #687486;
  --grz-line: rgba(255, 255, 255, 0.085);
  --grz-line-strong: rgba(255, 255, 255, 0.15);
}

.grz-footer__top {
  display: grid;
  grid-template-columns: minmax(270px, 1.1fr) minmax(0, 2fr);
  gap: 80px;
}

.grz-footer__brand .grz-brand {
  min-width: 0;
}

.grz-brand--footer .grz-brand__image,
.grz-brand--footer .custom-logo {
  width: 158px;
}

.grz-footer__brand > p {
  max-width: 430px;
  margin-top: 22px;
  color: var(--grz-muted);
  font-size: 14px;
  line-height: 1.7;
}

.grz-footer__socials {
  margin-top: 23px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.grz-footer__socials a {
  min-height: 38px;
  padding: 0 11px;
  border: 1px solid var(--grz-line);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--grz-muted);
  font-size: 11px;
  font-weight: 720;
}

.grz-footer__socials a:hover {
  border-color: rgba(92, 150, 255, 0.4);
  color: #fff;
}

.grz-footer__socials svg {
  width: 13px;
  height: 13px;
}

.grz-footer__columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.grz-widget {
  margin: 0;
}

.grz-widget__title {
  margin-bottom: 18px;
  color: #e6ebf3;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.05em;
}

.grz-footer-links,
.grz-footer .menu,
.grz-footer .wp-block-navigation__container {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
  list-style: none;
}

.grz-footer-links a,
.grz-footer .menu a,
.grz-footer .wp-block-navigation-item__content {
  color: var(--grz-muted);
  font-size: 12px;
}

.grz-footer-links a:hover,
.grz-footer .menu a:hover,
.grz-footer .wp-block-navigation-item__content:hover {
  color: #fff;
}

.grz-footer__status {
  margin-top: 54px;
  padding: 18px 0;
  border-top: 1px solid var(--grz-line);
  border-bottom: 1px solid var(--grz-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.grz-footer__status > div,
.grz-footer__status > a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.grz-footer__status strong {
  color: #e8edf5;
  font-size: 12px;
}

.grz-footer__status span:not(.grz-live-dot),
.grz-footer__status a {
  color: var(--grz-muted);
  font-size: 11px;
}

.grz-footer__status a:hover {
  color: #8fb5ff;
}

.grz-footer__bottom {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: #667183;
  font-size: 10px;
}

.grz-footer__bottom p {
  margin: 0;
}

.grz-footer__legal {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  list-style: none;
}

.grz-footer__legal a:hover {
  color: #fff;
}

.grz-mobile-bottom-nav {
  display: none;
}

.grz-back-to-top {
  position: fixed;
  z-index: 850;
  right: 22px;
  bottom: 22px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--grz-line-strong);
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(15, 19, 26, 0.94);
  color: var(--grz-text-soft);
  box-shadow: var(--grz-shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  cursor: pointer;
  transition: 180ms ease;
}

.grz-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.grz-back-to-top:hover {
  border-color: rgba(92, 150, 255, 0.48);
  color: #fff;
}

.grz-back-to-top svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* Archives, search, pages, pagination */
.grz-archive-shell,
.grz-page-main,
.grz-error-page {
  padding: 56px 0 92px;
}

.grz-archive-header,
.grz-page-header {
  margin-bottom: 34px;
}

.grz-archive-header--featured {
  min-height: 280px;
  padding: 42px;
  border: 1px solid var(--grz-line);
  border-radius: var(--grz-radius-lg);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  background:
    radial-gradient(560px 260px at 88% 22%, rgba(29, 100, 255, 0.18), transparent 72%),
    linear-gradient(145deg, #10151e, #0b0e14);
}

html[data-grz-active-scheme="light"] .grz-archive-header--featured {
  background:
    radial-gradient(560px 260px at 88% 22%, rgba(29, 100, 255, 0.1), transparent 72%),
    #fff;
}

.grz-archive-header h1,
.grz-page-header h1,
.grz-search-header h1 {
  max-width: 950px;
  margin-top: 13px;
  font-size: clamp(42px, 5vw, 68px);
  letter-spacing: -0.058em;
  line-height: 1;
}

.grz-archive-header p,
.grz-archive-description,
.grz-page-header p {
  max-width: 700px;
  margin-top: 16px;
  color: var(--grz-muted);
  font-size: 16px;
}

.grz-archive-description p {
  margin: 0;
}

.grz-breadcrumbs {
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--grz-muted-2);
  font-size: 11px;
}

.grz-breadcrumbs a:hover {
  color: #7ca9ff;
}

.grz-breadcrumbs [aria-current="page"] {
  color: var(--grz-muted);
}

.grz-filter-rail {
  margin-bottom: 24px;
  padding: 11px 12px;
  border: 1px solid var(--grz-line);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  background: var(--grz-surface);
}

.grz-filter-rail > span {
  padding: 0 9px;
  color: var(--grz-muted-2);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.grz-filter-rail a {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--grz-line);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  color: var(--grz-muted);
  font-size: 12px;
  font-weight: 680;
  white-space: nowrap;
}

.grz-filter-rail a:hover {
  border-color: rgba(92, 150, 255, 0.42);
  background: rgba(29, 100, 255, 0.1);
  color: #9dbdff;
}

.grz-archive-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grz-archive-grid .grz-story-card--wide {
  grid-column: span 2;
}

.navigation.pagination,
.comments-pagination,
.post-navigation {
  margin-top: 42px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
}

.page-numbers {
  min-width: 40px;
  height: 40px;
  padding: 0 11px;
  border: 1px solid var(--grz-line);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--grz-surface);
  color: var(--grz-muted);
  font-size: 12px;
  font-weight: 760;
}

.page-numbers:hover,
.page-numbers.current {
  border-color: var(--grz-blue);
  background: var(--grz-blue);
  color: #fff;
}

.grz-search-header .grz-search-form {
  max-width: 760px;
  margin-top: 26px;
}

.grz-results-count {
  margin-bottom: 22px;
  color: var(--grz-muted);
  font-size: 13px;
}

.grz-search-results {
  display: grid;
  gap: 12px;
}

.grz-search-result {
  padding: 14px;
  border: 1px solid var(--grz-line);
  border-radius: var(--grz-radius);
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  background: var(--grz-surface);
  transition: 180ms ease;
}

.grz-search-result:hover {
  border-color: rgba(92, 150, 255, 0.35);
  transform: translateY(-2px);
}

.grz-search-result__image {
  height: 142px;
  overflow: hidden;
  border-radius: 10px;
}

.grz-search-result__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.grz-search-result h2 {
  margin-top: 10px;
  font-size: 24px;
}

.grz-search-result h2 a:hover {
  color: #8fb5ff;
}

.grz-search-result p {
  max-width: 760px;
  margin-top: 9px;
  color: var(--grz-muted);
  font-size: 13px;
}

.grz-page-header {
  padding: 55px 0 32px;
  border-bottom: 1px solid var(--grz-line);
}

.grz-page-layout {
  padding-top: 48px;
  padding-bottom: 80px;
}

.grz-page-content {
  width: min(var(--grz-reading), 100%);
  margin-inline: auto;
}

.grz-empty-state {
  min-height: 420px;
  padding: 58px 28px;
  border: 1px dashed var(--grz-line-strong);
  border-radius: var(--grz-radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--grz-surface);
}

.grz-empty-state__icon {
  width: 58px;
  height: 58px;
  margin-bottom: 20px;
  border: 1px solid rgba(92, 150, 255, 0.3);
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: rgba(29, 100, 255, 0.1);
  color: #7ba8ff;
}

.grz-empty-state__icon svg {
  width: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.grz-empty-state h2 {
  font-size: 30px;
}

.grz-empty-state p {
  max-width: 590px;
  margin-top: 12px;
  color: var(--grz-muted);
}

.grz-empty-state__actions,
.grz-error-page__actions {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.grz-error-page {
  min-height: 72vh;
  display: grid;
  place-items: center;
}

.grz-error-page__inner {
  text-align: center;
}

.grz-error-page__code {
  margin-bottom: -22px;
  color: rgba(29, 100, 255, 0.16);
  font-size: clamp(120px, 20vw, 260px);
  font-weight: 900;
  letter-spacing: -0.09em;
  line-height: 0.8;
}

.grz-error-page h1 {
  max-width: 850px;
  margin: 14px auto 0;
  font-size: clamp(42px, 6vw, 72px);
}

.grz-error-page > .grz-container > p {
  max-width: 640px;
  margin: 18px auto 24px;
  color: var(--grz-muted);
}

.grz-error-page .grz-search-form {
  max-width: 700px;
  margin: 0 auto;
}

/* Article */
.grz-article-header {
  padding: 54px 0 0;
  background: radial-gradient(800px 360px at 76% 20%, rgba(29, 100, 255, 0.12), transparent 72%);
}

.grz-article-header__inner {
  max-width: 1180px;
}

.grz-article-header__labels {
  margin-top: 12px;
}

.grz-article-kicker {
  max-width: 880px;
  margin: 18px 0 -2px;
  color: #7da9ff;
  font-size: 14px;
  font-weight: 750;
}

.grz-article-header h1 {
  max-width: 1120px;
  margin-top: 18px;
  font-size: clamp(50px, 6vw, 82px);
  letter-spacing: -0.061em;
  line-height: 0.99;
}

.grz-article-deck {
  max-width: 920px;
  margin-top: 21px;
  color: #a9b3c2;
  font-size: 20px;
  line-height: 1.6;
}

html[data-grz-active-scheme="light"] .grz-article-deck {
  color: var(--grz-muted);
}

.grz-article-header__bottom {
  margin-top: 29px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.grz-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px;
  color: var(--grz-muted);
  font-size: 11px;
}

.grz-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.grz-meta__item + .grz-meta__item::before {
  width: 3px;
  height: 3px;
  margin-right: 2px;
  border-radius: 50%;
  background: var(--grz-muted-2);
  content: "";
}

.grz-meta__author {
  color: var(--grz-text-soft);
  font-weight: 720;
}

.grz-meta__avatar,
.grz-meta__author img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.grz-meta svg {
  width: 14px;
  height: 14px;
}

.grz-article-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.grz-article-actions .grz-icon-button,
.grz-article-actions .grz-hub-bookmark-button,
.grz-article-actions button {
  min-width: 44px;
  min-height: 42px;
}

.grz-share-button {
  width: auto;
  padding: 0 13px;
}

.grz-article-cover {
  position: relative;
  height: min(640px, 57vw);
  margin-top: 32px;
  overflow: hidden;
  border: 1px solid var(--grz-line-strong);
  border-radius: var(--grz-radius-lg);
  box-shadow: var(--grz-shadow);
}

.grz-article-cover::after {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 -100px 130px rgba(0, 0, 0, 0.28);
  content: "";
}

.grz-article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.grz-reading-progress {
  position: sticky;
  z-index: 880;
  top: var(--grz-header-height);
  height: 3px;
  overflow: hidden;
  background: #10141b;
}

.grz-reading-progress span {
  width: 100%;
  height: 100%;
  display: block;
  background: var(--grz-blue);
  transform: scaleX(0);
  transform-origin: left center;
}

.grz-article-layout {
  padding-top: 64px;
  padding-bottom: 86px;
  display: grid;
  grid-template-columns: 220px minmax(0, var(--grz-reading));
  justify-content: center;
  gap: 54px;
}

.grz-article-rail {
  align-self: start;
}

.grz-toc,
.grz-widget {
  position: sticky;
  top: calc(var(--grz-header-height) + 30px);
}

.grz-toc__label {
  display: block;
  margin-bottom: 13px;
  color: var(--grz-muted-2);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.grz-toc nav {
  display: grid;
}

.grz-toc a {
  padding: 8px 8px 8px 14px;
  border-left: 1px solid #27303d;
  color: var(--grz-muted);
  font-size: 12px;
  line-height: 1.35;
}

.grz-toc a.is-subheading {
  padding-left: 26px;
  font-size: 11px;
}

.grz-toc a:hover,
.grz-toc a.is-active {
  border-left-color: var(--grz-blue);
  background: linear-gradient(90deg, rgba(29, 100, 255, 0.12), transparent);
  color: var(--grz-text);
}

.grz-article {
  min-width: 0;
}

.entry-content,
.grz-article__content {
  color: var(--grz-text-soft);
  font-size: 18px;
  line-height: 1.82;
}

.entry-content > *:first-child,
.grz-article__content > *:first-child {
  margin-top: 0;
}

.entry-content p,
.grz-article__content p {
  margin: 0 0 24px;
}

.entry-content h2,
.grz-article__content h2 {
  margin: 50px 0 18px;
  color: var(--grz-text);
  font-size: 34px;
  letter-spacing: -0.039em;
  line-height: 1.16;
  scroll-margin-top: calc(var(--grz-header-height) + 28px);
}

.entry-content h3,
.grz-article__content h3 {
  margin: 38px 0 14px;
  color: var(--grz-text);
  font-size: 24px;
  letter-spacing: -0.028em;
  scroll-margin-top: calc(var(--grz-header-height) + 28px);
}

.entry-content h4,
.grz-article__content h4 {
  margin: 30px 0 12px;
  color: var(--grz-text);
  font-size: 19px;
}

.entry-content strong,
.grz-article__content strong {
  color: var(--grz-text);
}

.entry-content a:not(.grz-button):not(.wp-block-button__link),
.grz-article__content a:not(.grz-button):not(.wp-block-button__link) {
  color: #79a8ff;
  text-decoration: underline;
  text-decoration-color: rgba(121, 168, 255, 0.35);
  text-underline-offset: 3px;
}

.entry-content a:hover,
.grz-article__content a:hover {
  text-decoration-color: currentColor;
}

.entry-content ul,
.entry-content ol,
.grz-article__content ul,
.grz-article__content ol {
  margin: 0 0 26px;
  padding-left: 24px;
}

.entry-content li,
.grz-article__content li {
  margin: 9px 0;
}

.entry-content blockquote,
.grz-article__content blockquote,
.wp-block-quote {
  margin: 32px 0;
  padding: 19px 22px;
  border: 0;
  border-left: 3px solid var(--grz-blue);
  border-radius: 0 12px 12px 0;
  background: #111722;
  color: #b8c4d4;
  font-size: 16px;
}

html[data-grz-active-scheme="light"] .entry-content blockquote,
html[data-grz-active-scheme="light"] .wp-block-quote {
  background: #eef4ff;
  color: #45536a;
}

.entry-content figure,
.grz-article__content figure {
  margin: 36px 0;
}

.entry-content figcaption,
.grz-article__content figcaption {
  margin-top: 10px;
  color: var(--grz-muted-2);
  font-size: 11px;
  text-align: center;
}

.entry-content img,
.grz-article__content img,
.wp-block-image img,
.wp-block-cover,
.wp-block-video video,
.wp-block-embed iframe {
  border-radius: 12px;
}

.entry-content hr,
.grz-article__content hr {
  margin: 42px 0;
  border: 0;
  border-top: 1px solid var(--grz-line);
}

.entry-content table,
.grz-article__content table {
  width: 100%;
  margin: 30px 0;
  border-spacing: 0;
  border-collapse: separate;
  overflow: hidden;
  border: 1px solid var(--grz-line);
  border-radius: 12px;
  font-size: 14px;
}

.entry-content th,
.entry-content td,
.grz-article__content th,
.grz-article__content td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--grz-line);
  text-align: left;
}

.entry-content th,
.grz-article__content th {
  background: var(--grz-surface-2);
  color: var(--grz-text);
  font-size: 12px;
}

.entry-content tr:last-child td,
.grz-article__content tr:last-child td {
  border-bottom: 0;
}

.wp-block-code,
pre {
  padding: 20px;
  overflow: auto;
  border: 1px solid var(--grz-line);
  border-radius: 12px;
  background: #05070a;
  color: #d6deeb;
  font-size: 14px;
}

code {
  padding: 2px 5px;
  border-radius: 5px;
  background: var(--grz-surface-2);
  color: #9cc0ff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
}

pre code {
  padding: 0;
  background: transparent;
  color: inherit;
}

.wp-block-separator {
  border-color: var(--grz-line);
}

.wp-block-pullquote {
  padding: 30px 0;
  border-top: 1px solid var(--grz-line);
  border-bottom: 1px solid var(--grz-line);
}

.wp-block-pullquote blockquote {
  border: 0;
  background: transparent;
  font-size: 23px;
  text-align: center;
}

.grz-editorial-callout,
.grz-safety-notice {
  margin: 28px 0;
  padding: 20px 22px;
  border: 1px solid rgba(92, 150, 255, 0.24);
  border-left: 3px solid var(--grz-blue);
  border-radius: 0 12px 12px 0;
  background: #111722;
  color: #b8c4d4;
  font-size: 15px;
}

.grz-guide-steps {
  margin: 28px 0;
  padding: 22px 22px 22px 42px;
  border: 1px solid var(--grz-line);
  border-radius: 12px;
  background: var(--grz-surface);
}

.grz-article__footer {
  margin-top: 54px;
  padding-top: 30px;
  border-top: 1px solid var(--grz-line);
}

.grz-article-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.grz-article-tags > span {
  margin-right: 4px;
  color: var(--grz-muted-2);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.grz-article-tags a {
  padding: 7px 10px;
  border: 1px solid var(--grz-line);
  border-radius: 7px;
  color: var(--grz-muted);
  font-size: 11px;
}

.grz-article-tags a:hover {
  border-color: rgba(92, 150, 255, 0.4);
  color: #8fb5ff;
}

.grz-article-next-actions {
  margin-top: 40px;
}

.grz-article-next-actions__heading h2 {
  margin-top: 8px;
  font-size: 30px;
}

.grz-article-next-actions__grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.grz-article-action-card {
  position: relative;
  min-height: 132px;
  padding: 19px;
  border: 1px solid var(--grz-line);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--grz-surface);
  transition: 180ms ease;
}

.grz-article-action-card:hover {
  border-color: rgba(92, 150, 255, 0.38);
  background: var(--grz-surface-hover);
  transform: translateY(-2px);
}

.grz-article-action-card span {
  margin-bottom: 7px;
  color: #76a5ff;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.grz-article-action-card strong {
  max-width: 210px;
  color: var(--grz-text);
  font-size: 15px;
  line-height: 1.35;
}

.grz-article-action-card em {
  position: absolute;
  top: 16px;
  right: 17px;
  color: var(--grz-muted-2);
  font-size: 18px;
  font-style: normal;
}

.grz-author-card {
  margin-top: 42px;
  padding: 24px;
  border: 1px solid var(--grz-line);
  border-radius: 14px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  background: var(--grz-surface);
}

.grz-author-card > img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
}

.grz-author-card h2 {
  margin-top: 6px;
  font-size: 21px;
}

.grz-author-card p {
  margin-top: 7px;
  color: var(--grz-muted);
  font-size: 13px;
}

.grz-related-stories {
  background: rgba(12, 15, 21, 0.38);
}

/* Comments */
.grz-comments-wrap {
  max-width: 980px;
  padding-bottom: 90px;
}

.grz-comments {
  padding-top: 58px;
  border-top: 1px solid var(--grz-line);
}

.grz-comments__header {
  margin-bottom: 30px;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 0.7fr);
  align-items: end;
  gap: 40px;
}

.grz-comments__header h2 {
  margin-top: 8px;
  font-size: 34px;
}

.grz-comments__header > p {
  color: var(--grz-muted);
  font-size: 12px;
}

.grz-comment-list,
.grz-comment-list .children {
  margin: 0;
  padding: 0;
  list-style: none;
}

.grz-comment-list .children {
  margin-left: 54px;
}

.grz-comment {
  margin-bottom: 12px;
}

.grz-comment__body {
  padding: 22px;
  border: 1px solid var(--grz-line);
  border-radius: 13px;
  background: var(--grz-surface);
}

.grz-comment__header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.grz-comment__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.grz-comment__header > div {
  min-width: 0;
  flex: 1;
}

.grz-comment__header strong {
  display: block;
  color: var(--grz-text);
  font-size: 13px;
}

.grz-comment__header time {
  color: var(--grz-muted-2);
  font-size: 10px;
}

.grz-comment__moderation {
  margin-top: 14px;
  color: var(--grz-amber);
  font-size: 12px;
}

.grz-comment__content {
  margin-top: 17px;
  color: var(--grz-text-soft);
  font-size: 14px;
  line-height: 1.7;
}

.grz-comment__content p:last-child {
  margin-bottom: 0;
}

.grz-comment__actions {
  margin-top: 16px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.grz-comment__actions a,
.grz-comment__actions button {
  color: var(--grz-muted);
  font-size: 11px;
  font-weight: 740;
}

.grz-comment__actions a:hover {
  color: #85aeff;
}

.comment-respond {
  margin-top: 34px;
  padding: 28px;
  border: 1px solid var(--grz-line);
  border-radius: 14px;
  background: var(--grz-surface);
}

.comment-reply-title {
  font-size: 27px;
}

.grz-comment-notes,
.logged-in-as,
.comment-notes {
  margin: 10px 0 18px;
  color: var(--grz-muted);
  font-size: 11px;
}

.grz-comment-form p {
  margin: 0 0 14px;
}

.grz-comment-form label {
  display: block;
  margin-bottom: 7px;
  color: var(--grz-text-soft);
  font-size: 11px;
  font-weight: 750;
}

.grz-comment-form input[type="text"],
.grz-comment-form input[type="email"],
.grz-comment-form input[type="url"],
.grz-comment-form textarea,
.entry-content input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.entry-content textarea,
.entry-content select {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid var(--grz-line-strong);
  border-radius: 9px;
  outline: 0;
  background: var(--grz-surface-2);
  color: var(--grz-text);
}

.grz-comment-form textarea,
.entry-content textarea {
  min-height: 150px;
  resize: vertical;
}

.grz-comment-form input:focus,
.grz-comment-form textarea:focus,
.entry-content input:focus,
.entry-content textarea:focus,
.entry-content select:focus {
  border-color: rgba(92, 150, 255, 0.65);
  box-shadow: 0 0 0 3px rgba(29, 100, 255, 0.12);
}

.grz-comments-closed {
  padding: 18px;
  border: 1px solid var(--grz-line);
  border-radius: 10px;
  color: var(--grz-muted);
  background: var(--grz-surface);
}

/* Community shell */
.grz-community-masthead {
  padding: 62px 0 44px;
  border-bottom: 1px solid var(--grz-line);
  background: radial-gradient(760px 340px at 82% 35%, rgba(65, 74, 255, 0.18), transparent 70%);
}

.grz-community-masthead__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  align-items: end;
  gap: 60px;
}

.grz-community-masthead h1 {
  margin-top: 12px;
  font-size: clamp(48px, 5.4vw, 68px);
  letter-spacing: -0.058em;
  line-height: 1;
}

.grz-community-masthead p {
  max-width: 720px;
  margin-top: 16px;
  color: var(--grz-muted);
  font-size: 17px;
}

.grz-community-masthead__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.grz-community-canvas {
  padding-top: 32px;
  padding-bottom: 90px;
  color: var(--grz-text-soft);
  font-size: 15px;
}

/* Plugin interaction placeholders */
.grz-hub-bookmark-button,
.grz-hub-reaction-button,
.grz-hub-discuss-button,
.grz-hub-event-countdown,
.grz-hub-report-button {
  border-radius: 9px !important;
  font-family: var(--grz-font) !important;
}

.grz-hub-reactions {
  margin-top: 30px;
  padding: 20px;
  border: 1px solid var(--grz-line);
  border-radius: 13px;
  background: var(--grz-surface);
}

/* Responsive */
@media (max-width: 1320px) {
  .grz-primary-nav__menu { gap: 20px; }
  .grz-search-trigger { width: 198px; }
  .grz-header__inner { gap: 24px; }
  .grz-game-rail__scroll { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grz-guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grz-archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grz-home-latest__layout { grid-template-columns: minmax(0, 1fr) 350px; }
}

@media (max-width: 1120px) {
  .grz-primary-nav,
  .grz-search-trigger,
  .grz-account-link {
    display: none;
  }

  .grz-mobile-toggle {
    display: flex;
  }

  .grz-header__actions {
    margin-left: auto;
  }

  .grz-home-hero__intro {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .grz-home-hero__intro > p {
    max-width: 720px;
  }

  .grz-home-hero__grid {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .grz-hero-card--primary {
    min-height: 580px;
  }

  .grz-top-stories {
    min-height: auto;
  }

  .grz-top-story {
    min-height: 115px;
  }

  .grz-home-latest__layout {
    grid-template-columns: 1fr;
  }

  .grz-community-pulse {
    position: static;
    min-height: 0;
  }

  .grz-store-bridge__inner {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
  }

  .grz-newsletter-band__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .grz-footer__top {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .grz-article-layout {
    grid-template-columns: minmax(0, var(--grz-reading));
  }

  .grz-article-rail {
    display: none;
  }

  .grz-community-masthead__inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .grz-community-masthead__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 820px) {
  :root {
    --grz-header-height: 68px;
  }

  .grz-container {
    width: min(var(--grz-container), calc(100% - 36px));
  }

  .grz-announcement__links {
    display: none;
  }

  .grz-brand {
    min-width: 0;
  }

  .grz-brand__image,
  .custom-logo {
    width: 124px;
  }

  .grz-home-hero {
    padding-top: 40px;
  }

  .grz-home-hero__intro h1 {
    font-size: clamp(45px, 10vw, 63px);
  }

  .grz-story-grid,
  .grz-story-grid--three,
  .grz-archive-grid {
    grid-template-columns: 1fr;
  }

  .grz-story-card--wide,
  .grz-archive-grid .grz-story-card--wide {
    grid-column: auto;
    display: block;
  }

  .grz-story-card--wide .grz-story-card__media {
    min-height: 0;
    height: 280px;
  }

  .grz-story-card--wide .grz-story-card__body {
    padding: 24px;
  }

  .grz-story-card--wide .grz-story-card__title {
    font-size: 27px;
  }

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

  .grz-store-bridge__inner {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .grz-store-bridge__visual {
    min-height: 330px;
  }

  .grz-store-bridge__visual::after {
    background: linear-gradient(180deg, transparent 40%, #090b10 100%);
  }

  .grz-store-bridge__content {
    padding: 34px;
  }

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

  .grz-archive-header--featured {
    min-height: 0;
    padding: 32px;
    align-items: flex-start;
    flex-direction: column;
  }

  .grz-search-result {
    grid-template-columns: 160px minmax(0, 1fr);
  }

  .grz-article-header h1 {
    font-size: clamp(45px, 10vw, 66px);
  }

  .grz-article-deck {
    font-size: 17px;
  }

  .grz-article-cover {
    height: 480px;
  }

  .grz-comments__header {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: var(--grz-mobile-nav-height);
  }

  body.admin-bar .grz-header {
    top: 46px;
  }

  body.admin-bar .grz-reading-progress {
    top: calc(var(--grz-header-height) + 46px);
  }

  .grz-container {
    width: calc(100% - 28px);
  }

  .grz-announcement,
  .grz-announcement__inner {
    min-height: 28px;
  }

  .grz-announcement {
    font-size: 9px;
  }

  .grz-announcement__inner {
    gap: 10px;
  }

  .grz-announcement .grz-live-dot {
    width: 6px;
    height: 6px;
  }

  .grz-header {
    height: var(--grz-header-height);
  }

  .grz-header__inner {
    gap: 10px;
  }

  .grz-brand__link,
  .custom-logo-link {
    gap: 9px;
  }

  .grz-brand__image,
  .custom-logo {
    width: 108px;
    max-height: 44px;
  }

  .grz-brand__product {
    min-height: 22px;
    padding-left: 8px;
    font-size: 9px;
  }

  .grz-header__store {
    display: none;
  }

  .grz-trending-rail__inner {
    height: 40px;
    gap: 10px;
  }

  .grz-trending-rail__items a {
    font-size: 10px;
  }

  .grz-trending-rail__items a:not(:first-child),
  .grz-trending-rail__meta {
    display: none;
  }

  .grz-trending-rail__label {
    min-height: 22px;
    padding: 0 8px;
    font-size: 8px;
  }

  .grz-home-hero {
    padding: 32px 0 22px;
  }

  .grz-home-hero__intro {
    margin-bottom: 20px;
  }

  .grz-home-hero__intro h1 {
    font-size: 42px;
    line-height: 1.02;
  }

  .grz-home-hero__intro > p {
    font-size: 14px;
  }

  .grz-hero-card--primary {
    min-height: 500px;
    border-radius: 14px;
  }

  .grz-hero-card__content {
    right: 20px;
    bottom: 22px;
    left: 20px;
  }

  .grz-hero-card h2 {
    font-size: 34px;
  }

  .grz-hero-card__content > p,
  .grz-hero-card__meta {
    display: none;
  }

  .grz-hero-card__footer {
    margin-top: 20px;
  }

  .grz-top-stories {
    padding: 18px;
    border-radius: 14px;
  }

  .grz-top-story {
    min-height: 0;
    padding: 16px 0;
    grid-template-columns: 25px 84px minmax(0, 1fr);
    gap: 10px;
  }

  .grz-top-story__image {
    width: 84px;
    height: 64px;
  }

  .grz-top-story__copy h3 {
    font-size: 13px;
  }

  .grz-game-rail {
    padding-bottom: 40px;
  }

  .grz-section-heading {
    align-items: flex-start;
  }

  .grz-section-heading h2 {
    font-size: 30px;
  }

  .grz-section-heading p {
    font-size: 13px;
  }

  .grz-section-heading .grz-button,
  .grz-section-heading > a:not(.grz-button) {
    display: none;
  }

  .grz-game-rail__scroll {
    margin-right: -14px;
    padding-right: 14px;
    padding-bottom: 6px;
    display: flex;
    gap: 10px;
    overflow-x: auto;
  }

  .grz-game-pill {
    min-width: 154px;
  }

  .grz-home-section,
  .grz-related-stories {
    padding: 49px 0;
  }

  .grz-story-card__media {
    height: 220px;
  }

  .grz-story-card__body {
    padding: 20px;
  }

  .grz-story-card__title {
    font-size: 22px;
  }

  .grz-guide-grid {
    grid-template-columns: 1fr;
  }

  .grz-events-scroll {
    margin-right: -14px;
    padding-right: 14px;
    grid-template-columns: repeat(4, 290px);
  }

  .grz-store-bridge {
    padding: 28px 0 54px;
  }

  .grz-store-bridge__inner {
    border-radius: 15px;
  }

  .grz-store-bridge__visual {
    min-height: 290px;
  }

  .grz-store-bridge__content {
    padding: 28px;
  }

  .grz-store-bridge__content h2 {
    font-size: 34px;
  }

  .grz-store-bridge__content p {
    font-size: 14px;
  }

  .grz-newsletter-band {
    padding: 43px 0;
  }

  .grz-newsletter-band h2 {
    font-size: 31px;
  }

  .grz-newsletter-placeholder,
  .grz-newsletter-band__form form {
    display: grid;
  }

  .grz-footer {
    padding-top: 46px;
  }

  .grz-footer__columns {
    gap: 28px;
  }

  .grz-footer__status {
    align-items: flex-start;
    flex-direction: column;
  }

  .grz-footer__bottom {
    padding-top: 18px;
    align-items: flex-start;
    flex-direction: column;
  }

  .grz-mobile-bottom-nav {
    position: fixed;
    z-index: 1000;
    right: 0;
    bottom: 0;
    left: 0;
    height: var(--grz-mobile-nav-height);
    border-top: 1px solid var(--grz-line-strong);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: rgba(7, 8, 11, 0.97);
    backdrop-filter: blur(18px);
  }

  .grz-mobile-bottom-nav > a,
  .grz-mobile-bottom-nav > button {
    position: relative;
    min-width: 0;
    padding: 7px 2px 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: transparent;
    color: #707c8e;
    font-size: 9px;
    cursor: pointer;
  }

  .grz-mobile-bottom-nav > a:hover,
  .grz-mobile-bottom-nav > button:hover,
  .grz-mobile-bottom-nav > .is-active {
    color: #78a6ff;
  }

  .grz-mobile-bottom-nav svg {
    width: 20px;
    height: 20px;
  }

  .grz-mobile-bottom-nav__primary-icon {
    width: 42px;
    height: 42px;
    margin-top: -22px;
    border: 4px solid #07080b;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--grz-blue);
    color: #fff;
    box-shadow: 0 9px 25px rgba(29, 100, 255, 0.3);
  }

  .grz-mobile-bottom-nav__primary-icon svg {
    width: 20px;
    height: 20px;
  }

  .grz-back-to-top {
    right: 14px;
    bottom: calc(var(--grz-mobile-nav-height) + 14px);
  }

  .grz-archive-shell,
  .grz-page-main,
  .grz-error-page {
    padding: 34px 0 65px;
  }

  .grz-archive-header--featured {
    padding: 25px;
    border-radius: 14px;
  }

  .grz-archive-header h1,
  .grz-page-header h1,
  .grz-search-header h1 {
    font-size: 43px;
  }

  .grz-search-result {
    padding: 12px;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
  }

  .grz-search-result__image {
    height: 88px;
  }

  .grz-search-result h2 {
    font-size: 17px;
  }

  .grz-search-result p {
    display: none;
  }

  .grz-search-form {
    min-height: 54px;
  }

  .grz-search-form .grz-button {
    min-width: 44px;
    padding: 0 12px;
    font-size: 0;
  }

  .grz-search-form .grz-button::after {
    font-size: 16px;
    content: "→";
  }

  .grz-search-dialog {
    padding: 14px;
    align-items: start;
  }

  .grz-search-dialog .grz-dialog__panel {
    margin-top: 24px;
    padding: 22px;
    border-radius: 15px;
  }

  .grz-dialog__header h2 {
    font-size: 27px;
  }

  .grz-article-header {
    padding-top: 36px;
  }

  .grz-article-header h1 {
    font-size: 44px;
  }

  .grz-article-deck {
    font-size: 16px;
  }

  .grz-article-header__bottom {
    align-items: flex-start;
  }

  .grz-article-actions {
    display: none;
  }

  .grz-meta {
    gap: 9px;
  }

  .grz-meta__item + .grz-meta__item::before {
    display: none;
  }

  .grz-article-cover {
    height: 330px;
    margin-top: 26px;
    border-radius: 14px;
  }

  .grz-article-layout {
    padding-top: 42px;
    padding-bottom: 64px;
  }

  .entry-content,
  .grz-article__content {
    font-size: 17px;
    line-height: 1.75;
  }

  .entry-content h2,
  .grz-article__content h2 {
    margin-top: 43px;
    font-size: 29px;
  }

  .entry-content h3,
  .grz-article__content h3 {
    font-size: 22px;
  }

  .grz-article-next-actions__grid {
    grid-template-columns: 1fr;
  }

  .grz-author-card {
    grid-template-columns: 56px minmax(0, 1fr);
    padding: 18px;
  }

  .grz-author-card > img {
    width: 56px;
    height: 56px;
  }

  .grz-comments-wrap {
    padding-bottom: 65px;
  }

  .grz-comment-list .children {
    margin-left: 18px;
  }

  .grz-comment__body,
  .comment-respond {
    padding: 18px;
  }

  .grz-community-masthead {
    padding: 40px 0 34px;
  }

  .grz-community-masthead h1 {
    font-size: 44px;
  }

  .grz-community-masthead p {
    font-size: 14px;
  }

  .grz-community-masthead__actions {
    display: grid;
  }

  .grz-community-canvas {
    width: 100%;
    padding-top: 20px;
  }
}

@media (max-width: 380px) {
  .grz-brand__image,
  .custom-logo { width: 96px; }
  .grz-brand__product { display: none; }
  .grz-home-hero__intro h1 { font-size: 38px; }
  .grz-hero-card h2 { font-size: 30px; }
  .grz-footer__columns { grid-template-columns: 1fr; }
}

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