/*
Theme Name: Redhatters Cyber
Theme URI: https://example.com/redhatters-cyber
Author: Redhatters
Description: A red, white, and black WordPress theme for cybersecurity education, courses, resources, blogs, and community awareness.
Version: 0.1.0
Requires at least: 6.5
Requires PHP: 8.2
Text Domain: redhatters-cyber
*/

@font-face {
  font-family: "Redhatters Code";
  src: url("assets/fonts/FiraCode-VariableFont_wght.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 300 700;
}

:root {
  --rh-red: #d71920;
  --rh-red-dark: #9f1117;
  --rh-black: #050506;
  --rh-ink: #f4f7fb;
  --rh-gray: #a4acba;
  --rh-line: rgba(255, 255, 255, 0.13);
  --rh-soft: #0d0e12;
  --rh-panel: #101116;
  --rh-panel-strong: #151720;
  --rh-white: #ffffff;
  --rh-green: #147d64;
  --rh-terminal-green: #27e0a3;
  --rh-cyan: #49b6ff;
  --rh-gold: #b88922;
  --rh-radius: 8px;
  --rh-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --rh-container: min(1120px, calc(100% - 32px));
  --rh-code-font: "Redhatters Code", "Fira Code", "Cascadia Code", "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--rh-ink);
  background:
    linear-gradient(180deg, rgba(5, 5, 6, 0.96), rgba(8, 8, 10, 0.98)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(0deg, rgba(215, 25, 32, 0.055) 0 1px, transparent 1px 46px),
    var(--rh-black);
  font-family: var(--rh-code-font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

::selection {
  color: var(--rh-black);
  background: var(--rh-terminal-green);
}

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

code,
kbd,
pre,
samp {
  font-family: var(--rh-code-font);
}

a {
  color: #ff4d58;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus {
  color: var(--rh-white);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--rh-white);
  background: var(--rh-black);
  border-radius: var(--rh-radius);
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: var(--rh-container);
  max-width: 100%;
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  color: var(--rh-white);
  background: rgba(9, 9, 11, 0.96);
  border-bottom: none;
  backdrop-filter: blur(16px);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.site-brand,
.site-brand-link,
.site-brand-name {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  color: var(--rh-white);
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
}

.site-brand-link:hover,
.site-brand-link:focus,
.site-brand-name:hover,
.site-brand-name:focus {
  color: var(--rh-white);
}

.brand-accent,
.site-brand-accent {
  color: var(--rh-red);
  text-shadow: 0 0 14px rgba(215, 25, 32, 0.48);
}

.site-brand-logo {
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  filter: drop-shadow(0 10px 24px rgba(210, 31, 38, 0.24));
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--rh-white);
  background: var(--rh-red);
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 900;
}

.custom-logo-link img {
  display: block;
  width: auto;
  max-height: 58px;
  border-radius: 50%;
  filter: drop-shadow(0 10px 24px rgba(210, 31, 38, 0.24));
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.site-nav ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.86);
  border-radius: var(--rh-radius);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav .current-menu-item > a {
  color: var(--rh-white);
  background: rgba(255, 255, 255, 0.1);
}

.account-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.account-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 7px 11px;
  color: var(--rh-white);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--rh-radius);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.account-actions a:hover,
.account-actions a:focus {
  background: rgba(255, 255, 255, 0.12);
}

/* On desktop the panel is transparent so its children (nav + account
   actions) lay out inline within .header-inner exactly as before. */
.site-nav-panel {
  display: contents;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 10px;
  color: var(--rh-white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--rh-radius);
  cursor: pointer;
}

.nav-toggle:hover,
.nav-toggle:focus {
  background: rgba(255, 255, 255, 0.12);
}

.nav-toggle-box {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 16px;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

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

.button,
.wp-block-button__link,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 16px;
  color: var(--rh-white);
  background: var(--rh-red);
  border: 1px solid var(--rh-red);
  border-radius: var(--rh-radius);
  font: inherit;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.button:hover,
.button:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus,
button:hover,
button:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
  color: var(--rh-white);
  background: var(--rh-red-dark);
  border-color: var(--rh-red-dark);
}

.button.button-secondary {
  color: var(--rh-ink);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--rh-line);
}

.button.button-secondary:hover,
.button.button-secondary:focus {
  color: var(--rh-white);
  background: var(--rh-red-dark);
  border-color: var(--rh-red-dark);
}

.site-hero .button.button-secondary,
.callout-band .button.button-secondary {
  color: var(--rh-white);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.34);
}

.site-hero .button.button-secondary:hover,
.site-hero .button.button-secondary:focus,
.callout-band .button.button-secondary:hover,
.callout-band .button.button-secondary:focus {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.44);
}

.button.button-quiet {
  color: var(--rh-ink);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--rh-line);
}

.button.button-quiet:hover,
.button.button-quiet:focus {
  color: var(--rh-white);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
}

.site-main {
  min-height: 72vh;
  color: var(--rh-ink);
}

.site-hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(620px, 82vh, 820px);
  isolation: isolate;
  color: var(--rh-white);
  overflow: hidden;
}

.site-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -4;
  background:
    linear-gradient(90deg, rgba(5, 5, 6, 0.98) 0%, rgba(5, 5, 6, 0.78) 38%, rgba(5, 5, 6, 0.18) 75%, rgba(5, 5, 6, 0.32) 100%),
    url("assets/images/redhatters-hero-banner.png") right center / cover no-repeat;
}

.site-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 9px;
  background: linear-gradient(90deg, var(--rh-red), var(--rh-white), var(--rh-black));
  pointer-events: none;
}

.cyber-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
}

.matrix-canvas {
  z-index: -3;
  opacity: 0.5;
  mix-blend-mode: screen;
}

.network-canvas {
  z-index: -2;
  opacity: 0.82;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.62fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding-block: 34px 112px;
}

.hero-content {
  position: relative;
  width: 100%;
  max-width: 720px;
  min-width: 0;
  padding-block: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--rh-white);
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 3px;
  background: var(--rh-red);
  border-radius: 999px;
}

.hero-content h1,
.page-hero h1,
.entry-title {
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 5.6rem);
  line-height: 0.98;
}

.hero-content h1[data-glitch-text] {
  position: relative;
  text-shadow: 0 0 18px rgba(215, 25, 32, 0.2);
}

.hero-content h1[data-glitch-text]::before,
.hero-content h1[data-glitch-text]::after {
  content: attr(data-glitch-text);
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.hero-content h1[data-glitch-text]::before {
  color: rgba(215, 25, 32, 0.62);
  transform: translate(2px, 0);
}

.hero-content h1[data-glitch-text]::after {
  color: rgba(255, 255, 255, 0.58);
  transform: translate(-2px, 0);
}

@keyframes rh-glitch {
  0%,
  92%,
  100% {
    opacity: 0;
    clip-path: inset(0 0 0 0);
  }

  93% {
    opacity: 0.72;
    clip-path: inset(12% 0 63% 0);
  }

  95% {
    opacity: 0.42;
    clip-path: inset(61% 0 18% 0);
  }
}

.hero-content h1[data-glitch-text]::before {
  animation: rh-glitch 6.5s infinite;
}

.hero-content h1[data-glitch-text]::after {
  animation: rh-glitch 7.4s infinite reverse;
}

.hero-content p {
  max-width: min(640px, 100%);
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.04rem, 2vw, 1.25rem);
  overflow-wrap: break-word;
}

.hero-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(9, 9, 11, 0.5);
  border: 1px solid rgba(39, 224, 163, 0.38);
  border-radius: 999px;
  font-family: var(--rh-code-font);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-badges span::before {
  content: "#";
  margin-right: 6px;
  color: var(--rh-terminal-green);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 760px;
  margin-top: 48px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--rh-radius);
  background: rgba(255, 255, 255, 0.12);
}

.hero-stat {
  min-height: 108px;
  padding: 18px;
  background: rgba(9, 9, 11, 0.42);
}

.hero-stat strong {
  display: block;
  color: var(--rh-white);
  font-size: 1.55rem;
  line-height: 1.1;
}

.hero-stat span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.console-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(215, 25, 32, 0.28);
  font-family: var(--rh-code-font);
  font-size: 0.82rem;
}

.console-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.console-dots i {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--rh-red);
}

.console-dots i:nth-child(2) {
  background: var(--rh-gold);
}

.console-dots i:nth-child(3) {
  background: var(--rh-green);
}

.metric-pulse {
  animation: rh-metric-pulse 0.48s ease-out;
}

@keyframes rh-metric-pulse {
  45% {
    color: var(--rh-red);
    text-shadow: 0 0 16px rgba(215, 25, 32, 0.58);
  }
}

.section-band {
  color: var(--rh-ink);
  background:
    linear-gradient(180deg, rgba(8, 8, 10, 0.98), rgba(10, 10, 13, 0.98)),
    repeating-linear-gradient(90deg, transparent 0 42px, rgba(255, 255, 255, 0.025) 42px 43px);
  padding-block: clamp(56px, 8vw, 92px);
}

.section-band.tint {
  background:
    linear-gradient(180deg, rgba(12, 13, 18, 0.98), rgba(7, 8, 11, 0.98)),
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(39, 224, 163, 0.025) 38px 39px);
}

.team-band {
  position: relative;
  overflow: hidden;
  color: var(--rh-white);
  background:
    linear-gradient(135deg, rgba(9, 9, 11, 0.98), rgba(44, 7, 10, 0.94)),
    repeating-linear-gradient(90deg, transparent 0 48px, rgba(255, 255, 255, 0.045) 48px 49px);
}

.team-band .eyebrow,
.team-band h2 {
  color: var(--rh-white);
}

.team-band p {
  color: rgba(255, 255, 255, 0.76);
}

.team-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 0.86fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.team-copy h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 4rem);
  line-height: 1.02;
}

.team-copy > p {
  max-width: 760px;
  margin-top: 18px;
  font-size: 1.08rem;
}

.team-redacted-copy {
  display: flex;
  align-items: center;
  gap: 10px 14px;
  flex-wrap: wrap;
  max-width: 780px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.74);
  font-family: var(--rh-code-font);
  font-size: 0.86rem;
}

.team-redacted-copy span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.team-redacted-copy span::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 8px;
  background: linear-gradient(90deg, var(--rh-red), rgba(255, 255, 255, 0.18));
  box-shadow: 0 0 16px rgba(215, 25, 32, 0.26);
}

.team-visual {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--rh-radius);
  background:
    radial-gradient(circle at 74% 22%, rgba(215, 25, 32, 0.22), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.team-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(130px, 0.38fr) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 34px);
  align-items: center;
  padding: clamp(22px, 4vw, 38px);
  pointer-events: none;
}

.team-veil-mark {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(215, 25, 32, 0.24), transparent 62%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 16px);
  font-family: var(--rh-code-font);
  font-size: clamp(2rem, 7vw, 4.4rem);
  font-weight: 900;
  text-shadow: 0 0 22px rgba(215, 25, 32, 0.46);
}

.team-veil-copy {
  max-width: 500px;
}

.team-veil-copy span {
  color: var(--rh-red);
  font-family: var(--rh-code-font);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.team-veil-copy strong {
  display: block;
  margin-top: 8px;
  color: var(--rh-white);
  font-size: clamp(1.55rem, 4vw, 3rem);
  line-height: 1;
}

.team-veil-copy p {
  min-height: 3.2em;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.6;
}

.team-veil-lines {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
}

.team-veil-lines span {
  display: block;
  height: 10px;
  width: var(--line-width, 64%);
  background: linear-gradient(90deg, rgba(215, 25, 32, 0.82), rgba(255, 255, 255, 0.2), transparent);
  opacity: 0.42;
  transition: opacity 180ms ease, transform 180ms ease, width 180ms ease;
}

.team-veil-lines span:nth-child(2) {
  --line-width: 82%;
}

.team-veil-lines span:nth-child(3) {
  --line-width: 46%;
}

.team-veil-lines span:nth-child(4) {
  --line-width: 72%;
}

.team-veil-lines span:nth-child(5) {
  --line-width: 54%;
}

.team-veil-lines span.is-lit {
  opacity: 0.92;
  transform: translateX(10px);
  box-shadow: 0 0 18px rgba(215, 25, 32, 0.34);
}

.team-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

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

.section-head h2 {
  margin: 0;
  color: var(--rh-white);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
}

.section-head p {
  max-width: 620px;
  margin: 10px 0 0;
  color: var(--rh-gray);
}

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

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  align-items: start;
}

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

/* Front-page blog section: same uniform tiles as the Blog page — auto-fill with a
   260px cap so a few posts stay tile-sized instead of stretching massive. */
.content-grid--blog {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 16px;
}

.content-grid--blog .card-media {
  aspect-ratio: 16 / 9;
}

.content-grid--blog .card-body {
  padding: 16px;
}

.content-grid--blog .content-card h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 10px;
  font-size: 1rem;
}

.content-grid--blog .content-card p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.92rem;
  line-height: 1.5;
}

.content-grid--blog .card-link {
  margin-top: auto;
}

.track-card,
.content-card,
.callout-panel {
  border: 1px solid var(--rh-line);
  border-radius: var(--rh-radius);
  background:
    linear-gradient(180deg, rgba(21, 23, 32, 0.94), rgba(13, 14, 18, 0.96)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 34px);
  box-shadow: var(--rh-shadow);
}

.track-card {
  position: relative;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  color: var(--rh-white);
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-color: rgba(215, 25, 32, 0.26);
  box-shadow: 0 18px 45px rgba(9, 9, 11, 0.08);
}

.track-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(215, 25, 32, 0.22), transparent 42%),
    repeating-linear-gradient(0deg, transparent 0 20px, rgba(39, 224, 163, 0.055) 20px 21px);
  opacity: 0.68;
  pointer-events: none;
}

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

.track-card-media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--rh-panel-strong);
}

.track-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.track-card-media.track-card-media--empty {
  display: grid;
  place-items: center;
  padding: 18px;
  color: var(--rh-white);
  background: rgba(9, 9, 11, 0.78);
  text-align: center;
}

.track-card-media.track-card-media--empty span {
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.88;
}

.track-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(9, 9, 11, 0.82), rgba(9, 9, 11, 0.66));
}

.track-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--rh-white);
  background: var(--rh-red);
  border-radius: var(--rh-radius);
  font-weight: 900;
  font-family: var(--rh-code-font);
}

.track-card:nth-child(2) .track-icon {
  color: var(--rh-black);
  background: var(--rh-terminal-green);
}

.track-card:nth-child(3) .track-icon {
  background: var(--rh-cyan);
}

.track-card h3,
.content-card h3 {
  margin: 18px 0 8px;
  color: var(--rh-white);
  font-size: 1.16rem;
  line-height: 1.2;
}

.track-card h3 {
  color: var(--rh-white);
}

.track-card p,
.content-card p {
  margin: 0;
  color: var(--rh-gray);
  overflow-wrap: break-word;
}

.track-card p {
  color: rgba(255, 255, 255, 0.72);
}

.content-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.14);
}

.content-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--rh-red), var(--rh-terminal-green), var(--rh-cyan));
  opacity: 0.78;
  pointer-events: none;
}

.reactive-card {
  --mx: 50%;
  --my: 50%;
}

.reactive-card::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(215, 25, 32, 0.18), transparent 34%),
    repeating-linear-gradient(90deg, transparent 0 20px, rgba(39, 224, 163, 0.045) 20px 21px);
  transition: opacity 180ms ease;
  pointer-events: none;
}

.reactive-card:hover::after,
.reactive-card:focus-within::after {
  opacity: 1;
}

.card-media {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(215, 25, 32, 0.9), rgba(9, 9, 11, 0.92)),
    linear-gradient(45deg, transparent 45%, rgba(255, 255, 255, 0.18) 45%, rgba(255, 255, 255, 0.18) 48%, transparent 48%);
}

.card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.card-kicker,
.entry-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  padding: 4px 8px;
  color: #ff6d76;
  background: rgba(215, 25, 32, 0.14);
  border: 1px solid rgba(215, 25, 32, 0.28);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.card-body h3 {
  margin-top: 0;
}

.card-body h3 a {
  color: var(--rh-white);
  text-decoration: none;
}

.card-body h3 a:hover,
.card-body h3 a:focus {
  color: var(--rh-terminal-green);
}

.card-meta,
.entry-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
  color: var(--rh-gray);
  font-size: 0.9rem;
}

.learning-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 10px 0 12px;
}

.learning-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 8px;
  color: #bdfdec;
  background: rgba(39, 224, 163, 0.1);
  border: 1px solid rgba(39, 224, 163, 0.3);
  border-radius: 999px;
  font-family: var(--rh-code-font);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.card-link {
  margin-top: auto;
  padding-top: 18px;
  font-weight: 900;
  text-decoration: none;
}

/* "Free" badge on course cards */
.course-free-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: 14px;
  padding: 4px 12px;
  color: var(--rh-terminal-green);
  background: rgba(39, 224, 163, 0.12);
  border: 1px solid rgba(39, 224, 163, 0.42);
  border-radius: 999px;
  font-family: var(--rh-code-font);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.track-card-body .course-free-tag {
  margin-top: auto;
}

.about-contact {
  margin: 26px 0 0;
  color: var(--rh-gray);
  font-size: 1.05rem;
}

.about-contact a {
  color: var(--rh-terminal-green);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about-contact a:hover,
.about-contact a:focus {
  color: var(--rh-white);
}

/* "The Crew" profiles */
.crew-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 8px;
}

.crew-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 34px 26px;
  border: 1px solid var(--rh-line);
  border-radius: var(--rh-radius);
  background:
    linear-gradient(180deg, rgba(21, 23, 32, 0.94), rgba(13, 14, 18, 0.96)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 34px);
  box-shadow: var(--rh-shadow);
}

.crew-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--rh-panel-strong);
  border: 2px solid rgba(215, 25, 32, 0.55);
  box-shadow:
    0 0 0 6px rgba(215, 25, 32, 0.08),
    0 18px 40px rgba(0, 0, 0, 0.45);
}

.crew-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.crew-avatar--anon {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 38%, rgba(215, 25, 32, 0.22), transparent 60%),
    linear-gradient(180deg, rgba(21, 23, 32, 0.96), rgba(9, 9, 11, 0.98));
}

.crew-avatar--anon span {
  color: var(--rh-white);
  font-family: var(--rh-code-font);
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  opacity: 0.85;
  text-shadow: 0 0 18px rgba(215, 25, 32, 0.55);
}

.crew-name {
  margin: 20px 0 4px;
  color: var(--rh-white);
  font-size: 1.2rem;
  line-height: 1.2;
}

.crew-role {
  margin: 0 0 14px;
  color: var(--rh-terminal-green);
  font-family: var(--rh-code-font);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.crew-bio {
  margin: 0;
  max-width: 44ch;
  color: var(--rh-gray);
  line-height: 1.6;
}

.section-more {
  margin: 24px 0 0;
}

.callout-band {
  color: var(--rh-white);
  background:
    linear-gradient(135deg, rgba(5, 5, 6, 0.99), rgba(31, 6, 9, 0.98)),
    repeating-linear-gradient(90deg, transparent 0 44px, rgba(255, 255, 255, 0.04) 44px 45px);
}

.callout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 32px;
  align-items: center;
}

.callout-grid h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3.5rem);
  line-height: 1.05;
}

.callout-grid p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.callout-panel {
  padding: 24px;
  color: var(--rh-ink);
  border-color: rgba(215, 25, 32, 0.24);
}

.callout-panel ul {
  margin: 0;
  padding-left: 20px;
}

.callout-panel li + li {
  margin-top: 10px;
}

.page-hero {
  padding-block: 72px;
  color: var(--rh-white);
  background:
    linear-gradient(135deg, rgba(5, 5, 6, 0.99), rgba(43, 11, 13, 0.94) 62%, rgba(159, 17, 23, 0.9)),
    repeating-linear-gradient(90deg, transparent 0 44px, rgba(255, 255, 255, 0.045) 44px 45px),
    repeating-linear-gradient(0deg, transparent 0 12px, rgba(39, 224, 163, 0.035) 12px 13px);
  border-bottom: 1px solid rgba(215, 25, 32, 0.38);
}

.page-hero--banner {
  display: grid;
  align-items: end;
  min-height: clamp(320px, 46vh, 540px);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(5, 5, 6, 0.42) 0%, rgba(5, 5, 6, 0.7) 52%, rgba(5, 5, 6, 0.94) 100%),
    var(--rh-hero-image) center center / cover no-repeat;
}

.page-hero--banner h1,
.page-hero--banner p {
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.course-archive-hero {
  display: grid;
  align-items: center;
  min-height: clamp(360px, 48vh, 540px);
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 5, 6, 0.98) 0%, rgba(5, 5, 6, 0.82) 35%, rgba(5, 5, 6, 0.34) 72%, rgba(5, 5, 6, 0.18) 100%),
    linear-gradient(180deg, rgba(5, 5, 6, 0.18), rgba(5, 5, 6, 0.82)),
    url("assets/images/courses1.png") right center / cover no-repeat;
}

.course-archive-hero .container-wide {
  position: relative;
  z-index: 1;
}

.course-archive-hero h1,
.course-archive-hero p {
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.58);
}

.resource-archive-hero {
  display: grid;
  align-items: center;
  min-height: clamp(360px, 48vh, 540px);
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 5, 6, 0.98) 0%, rgba(5, 5, 6, 0.8) 38%, rgba(5, 5, 6, 0.28) 74%, rgba(5, 5, 6, 0.18) 100%),
    linear-gradient(180deg, rgba(5, 5, 6, 0.12), rgba(5, 5, 6, 0.82)),
    url("assets/images/resource.png") right center / cover no-repeat;
}

.resource-archive-hero .container-wide {
  position: relative;
  z-index: 1;
}

.resource-archive-hero h1,
.resource-archive-hero p {
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.58);
}

.about-hero {
  display: grid;
  align-items: center;
  min-height: clamp(360px, 48vh, 540px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 5, 6, 0.98) 0%, rgba(5, 5, 6, 0.78) 42%, rgba(5, 5, 6, 0.24) 78%, rgba(5, 5, 6, 0.16) 100%),
    linear-gradient(180deg, rgba(5, 5, 6, 0.12), rgba(5, 5, 6, 0.82)),
    url("assets/images/about.png") right center / cover no-repeat;
}

.about-hero h1,
.about-hero p {
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.58);
}

.page-hero-education {
  display: grid;
  align-items: center;
  min-height: clamp(360px, 48vh, 540px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 5, 6, 0.98) 0%, rgba(5, 5, 6, 0.78) 42%, rgba(5, 5, 6, 0.24) 78%, rgba(5, 5, 6, 0.16) 100%),
    linear-gradient(180deg, rgba(5, 5, 6, 0.12), rgba(5, 5, 6, 0.82)),
    url("assets/images/education.png") right center / cover no-repeat;
}

.page-hero-education h1,
.page-hero-education p {
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.58);
}

.page-hero-blog {
  display: grid;
  align-items: center;
  min-height: clamp(360px, 48vh, 540px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 5, 6, 0.98) 0%, rgba(5, 5, 6, 0.78) 42%, rgba(5, 5, 6, 0.24) 78%, rgba(5, 5, 6, 0.16) 100%),
    linear-gradient(180deg, rgba(5, 5, 6, 0.12), rgba(5, 5, 6, 0.82)),
    url("assets/images/blog.png") right center / cover no-repeat;
}

.page-hero-blog h1,
.page-hero-blog p {
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.58);
}

.page-hero-my-courses {
  display: grid;
  align-items: center;
  min-height: clamp(360px, 48vh, 540px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 5, 6, 0.98) 0%, rgba(5, 5, 6, 0.78) 42%, rgba(5, 5, 6, 0.24) 78%, rgba(5, 5, 6, 0.16) 100%),
    linear-gradient(180deg, rgba(5, 5, 6, 0.12), rgba(5, 5, 6, 0.82)),
    url("assets/images/my-courses-banner.png") center center / cover no-repeat;
}

.page-hero-my-courses h1,
.page-hero-my-courses p {
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.58);
}

.page-hero p {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
}

.page-hero .entry-kicker {
  margin: 0 0 14px;
  font-size: 0.78rem;
}

.container-wide {
  width: min(1340px, calc(100% - 48px));
  max-width: 100%;
  margin-inline: auto;
}

/* Blog posts / resources: single-column readable width */
.entry-single {
  padding-block: 56px;
  color: var(--rh-ink);
}

.entry-single .entry-content {
  max-width: 880px;
  margin-inline: auto;
}

/* Course pages: wide, full-width modules with a horizontal details bar */
.course-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.course-chip {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--rh-radius);
}

.course-chip-label {
  font-family: var(--rh-code-font);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.course-chip-value {
  color: var(--rh-white);
  font-weight: 700;
  font-size: 0.95rem;
}

.course-single {
  padding-block: 38px 60px;
  color: var(--rh-ink);
}

.course-cta {
  margin-bottom: 30px;
}

.course-cta .course-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  background:
    linear-gradient(180deg, rgba(21, 23, 32, 0.95), rgba(12, 13, 17, 0.98)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 34px);
  border: 1px solid var(--rh-line);
  border-left: 3px solid var(--rh-red);
  border-radius: var(--rh-radius);
  box-shadow: var(--rh-shadow);
}

.course-cta .course-actions h2 {
  width: 100%;
  margin: 0;
  color: var(--rh-white);
  font-size: 1.1rem;
}

.course-cta .course-actions p,
.course-cta .course-actions form {
  margin: 0;
}

.entry-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 42px;
  padding-block: 56px;
  color: var(--rh-ink);
}

.page-content-wrap {
  padding-block: 56px;
  color: var(--rh-ink);
}

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

.course-module-gate {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 4vw, 34px);
  color: var(--rh-ink);
  background:
    linear-gradient(180deg, rgba(21, 23, 32, 0.96), rgba(8, 9, 12, 0.98)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 34px);
  border: 1px solid rgba(215, 25, 32, 0.28);
  border-left: 3px solid var(--rh-red);
  border-radius: var(--rh-radius);
  box-shadow: var(--rh-shadow);
}

.course-module-gate h2,
.course-module-gate p {
  margin: 0;
}

.course-module-gate h2 {
  color: var(--rh-white);
}

.course-module-gate .button,
.course-module-gate .course-action-form {
  width: fit-content;
  max-width: 100%;
}

.entry-content p,
.entry-content li {
  color: #d8dde6;
}

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

.entry-content h2,
.entry-content h3 {
  color: var(--rh-white);
  line-height: 1.15;
}

.entry-content a {
  font-weight: 700;
}

.entry-content code,
.entry-content kbd {
  padding: 0.1em 0.32em;
  color: #dffdf5;
  background: rgba(39, 224, 163, 0.1);
  border: 1px solid rgba(39, 224, 163, 0.22);
  border-radius: 4px;
}

.entry-content pre,
.entry-content .wp-block-code {
  overflow-x: auto;
  padding: 18px;
  color: #dffdf5;
  background:
    linear-gradient(180deg, rgba(5, 5, 6, 0.94), rgba(10, 11, 15, 0.96)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 8px);
  border: 1px solid rgba(39, 224, 163, 0.24);
  border-radius: var(--rh-radius);
}

.entry-content blockquote {
  margin-inline: 0;
  padding: 14px 18px;
  color: #e5e9f0;
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid var(--rh-red);
  border-radius: var(--rh-radius);
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
}

.entry-content th,
.entry-content td {
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.entry-sidebar {
  align-self: start;
  padding: 22px;
  border: 1px solid var(--rh-line);
  border-radius: var(--rh-radius);
  background:
    linear-gradient(180deg, rgba(21, 23, 32, 0.95), rgba(12, 13, 17, 0.98)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 34px);
  box-shadow: var(--rh-shadow);
}

.entry-sidebar h2 {
  margin: 0 0 14px;
  color: var(--rh-white);
  font-size: 1rem;
}

.detail-list {
  display: grid;
  gap: 14px;
  margin: 0;
}

.detail-list div {
  display: grid;
  gap: 4px;
}

.detail-list dt {
  color: var(--rh-gray);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-list dd {
  margin: 0;
  color: var(--rh-white);
  font-weight: 800;
}

.course-actions {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.course-actions h2 {
  margin-bottom: 0;
}

.course-actions p {
  margin: 0;
}

.course-action-form {
  margin: 0;
}

.course-action-form button,
.course-actions .button,
.dashboard-course-actions .button {
  width: 100%;
}

.course-status {
  display: inline-flex;
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.course-status.active {
  color: #bdfdec;
  background: rgba(20, 125, 100, 0.18);
  border: 1px solid rgba(39, 224, 163, 0.28);
}

.course-status.complete {
  color: #ffe1a1;
  background: rgba(184, 137, 34, 0.18);
  border: 1px solid rgba(184, 137, 34, 0.28);
}

.dashboard-link {
  font-weight: 900;
  text-decoration: none;
}

.learning-notice {
  display: block;
  width: 100%;
  margin: 0 0 18px;
  padding: 14px 16px;
  color: #dffdf5;
  background: rgba(20, 125, 100, 0.16);
  border: 1px solid rgba(39, 224, 163, 0.28);
  border-radius: var(--rh-radius);
  font-weight: 800;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.course-actions .learning-notice {
  margin-bottom: 4px;
}

/* Course modules + stepper */
.course-modules-intro {
  margin: 0 0 8px;
}

.course-module {
  padding: clamp(20px, 3.6vw, 34px);
  color: var(--rh-ink);
  background:
    linear-gradient(180deg, rgba(21, 23, 32, 0.92), rgba(10, 11, 15, 0.96)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 34px);
  border: 1px solid var(--rh-line);
  border-left: 3px solid var(--rh-red);
  border-radius: var(--rh-radius);
  box-shadow: var(--rh-shadow);
}

.course-module + .course-module {
  margin-top: 22px;
}

.module-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 4px 10px;
  color: #ff6d76;
  background: rgba(215, 25, 32, 0.14);
  border: 1px solid rgba(215, 25, 32, 0.3);
  border-radius: 999px;
  font-family: var(--rh-code-font);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.course-module h2 {
  margin: 4px 0 14px;
}

.course-module h3 {
  margin: 24px 0 8px;
  color: var(--rh-white);
}

.course-module p,
.course-module li {
  color: var(--rh-gray);
  line-height: 1.7;
}

.course-module ul,
.course-module ol {
  margin: 0 0 14px;
  padding-left: 22px;
}

.course-module li {
  margin-bottom: 6px;
}

.course-module strong {
  color: var(--rh-white);
}

.module-key {
  margin-top: 20px;
  padding: 16px 18px;
  background: rgba(39, 224, 163, 0.07);
  border: 1px solid rgba(39, 224, 163, 0.26);
  border-radius: var(--rh-radius);
}

.module-key p:last-child {
  margin-bottom: 0;
}

.module-key strong {
  color: var(--rh-terminal-green);
}

.module-callout {
  margin: 18px 0;
  padding: 14px 16px;
  background: rgba(215, 25, 32, 0.08);
  border-left: 3px solid var(--rh-red);
  border-radius: 0 var(--rh-radius) var(--rh-radius) 0;
}

.module-callout p:last-child {
  margin-bottom: 0;
}

.modules-stepper {
  margin-top: 28px;
}

.module-browser {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(21, 23, 32, 0.9), rgba(10, 11, 15, 0.94)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 34px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--rh-radius);
}

.module-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.module-search-input {
  width: 100%;
  min-width: 0;
  padding: 11px 12px;
  color: var(--rh-white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--rh-radius);
  font: inherit;
}

.module-search-input::placeholder {
  color: rgba(244, 247, 251, 0.58);
}

.module-search-input:focus {
  outline: 2px solid rgba(39, 224, 163, 0.42);
  outline-offset: 2px;
  border-color: rgba(39, 224, 163, 0.58);
}

.module-search-status {
  color: var(--rh-gray);
  font-family: var(--rh-code-font);
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.module-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 232px;
  overflow: auto;
  padding-right: 2px;
}

.module-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  color: var(--rh-gray);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--rh-radius);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
}

.module-tab:hover,
.module-tab:focus {
  color: var(--rh-white);
  border-color: rgba(39, 224, 163, 0.36);
}

.module-tab:focus {
  outline: 2px solid rgba(39, 224, 163, 0.35);
  outline-offset: 2px;
}

.module-tab.is-active {
  color: var(--rh-white);
  background: rgba(215, 25, 32, 0.18);
  border-color: rgba(215, 25, 32, 0.44);
}

.module-tab.is-done:not(.is-active) {
  color: #bdfdec;
  border-color: rgba(39, 224, 163, 0.24);
}

.module-tab.is-filtered {
  display: none;
}

.module-tab-count {
  flex: 0 0 auto;
  color: var(--rh-terminal-green);
  font-family: var(--rh-code-font);
  font-size: 0.75rem;
}

.module-tab-title {
  min-width: 0;
  overflow-wrap: anywhere;
}

.module-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  font-family: var(--rh-code-font);
  font-size: 0.85rem;
  color: var(--rh-gray);
}

.module-progress-label {
  min-width: 116px;
  color: var(--rh-white);
  font-weight: 800;
}

.module-progress-track {
  flex: 1;
  min-width: 140px;
  height: 6px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}

.module-progress-fill {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--rh-red), var(--rh-terminal-green));
  transition: width 280ms ease;
}

.module-steps-dots {
  display: flex;
  gap: 6px;
}

.module-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.module-dot.is-active {
  background: var(--rh-red);
}

.module-dot.is-done {
  background: var(--rh-terminal-green);
}

.modules-stepper.is-enhanced .course-module {
  display: none;
  margin-top: 0;
}

.modules-stepper.is-enhanced .course-module.is-current {
  display: block;
  animation: module-fade 320ms ease;
}

@keyframes module-fade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.module-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
}

.module-nav .button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.course-quiz.exam-locked {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .modules-stepper.is-enhanced .course-module.is-current {
    animation: none;
  }
}

@media (max-width: 640px) {
  .module-search-row {
    grid-template-columns: 1fr;
  }

  .module-search-status {
    white-space: normal;
  }

  .module-tab {
    width: 100%;
  }
}

.course-quiz {
  display: grid;
  gap: 18px;
  margin-top: 38px;
  padding: clamp(22px, 4vw, 34px);
  color: var(--rh-ink);
  background:
    linear-gradient(180deg, rgba(21, 23, 32, 0.96), rgba(8, 9, 12, 0.98)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 34px);
  border: 1px solid rgba(215, 25, 32, 0.28);
  border-radius: var(--rh-radius);
  box-shadow: var(--rh-shadow);
}

.course-quiz h2,
.course-quiz p {
  margin: 0;
}

.quiz-head {
  display: grid;
  gap: 8px;
}

.quiz-head p:last-child,
.quiz-gate p,
.quiz-result {
  color: var(--rh-gray);
}

.course-quiz-form {
  display: grid;
  gap: 16px;
}

.quiz-question {
  display: grid;
  gap: 12px;
  min-width: 0;
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--rh-radius);
  background: rgba(5, 5, 6, 0.44);
}

.quiz-question legend {
  padding: 0 6px;
  color: var(--rh-white);
  font-weight: 900;
}

.quiz-options {
  display: grid;
  gap: 8px;
}

.quiz-option {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--rh-radius);
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
}

.quiz-option:hover,
.quiz-option:focus-within {
  border-color: rgba(39, 224, 163, 0.42);
}

.quiz-option input {
  margin-top: 3px;
  accent-color: var(--rh-red);
}

.quiz-gate,
.quiz-result {
  padding: 16px;
  border: 1px solid rgba(39, 224, 163, 0.22);
  border-radius: var(--rh-radius);
  background: rgba(39, 224, 163, 0.08);
}

.certificate-unlocked {
  border-color: rgba(255, 225, 161, 0.36);
  background: rgba(184, 137, 34, 0.14);
}

.learning-dashboard {
  width: var(--rh-container);
  margin: 0 auto;
  padding-block: 56px;
}

.entry-content .learning-dashboard {
  width: 100%;
  padding-block: 0;
}

.dashboard-page-wrap {
  padding-bottom: clamp(54px, 8vw, 96px);
}

.dashboard-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.dashboard-header-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.dashboard-header p:last-child {
  max-width: 680px;
  margin: 10px 0 0;
  color: var(--rh-gray);
}

.dashboard-header h2,
.dashboard-section h3 {
  margin: 0;
  color: var(--rh-white);
  line-height: 1.1;
}

.dashboard-header h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 30px;
}

.dashboard-stats div {
  padding: 18px;
  border: 1px solid rgba(215, 25, 32, 0.24);
  border-radius: var(--rh-radius);
  background:
    linear-gradient(180deg, rgba(9, 9, 11, 0.96), rgba(9, 9, 11, 0.9)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 32px);
}

.dashboard-stats strong {
  display: block;
  color: var(--rh-white);
  font-size: 2rem;
  line-height: 1;
}

.dashboard-stats span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 800;
}

.dashboard-section + .dashboard-section {
  margin-top: 36px;
}

.dashboard-section h3 {
  margin-bottom: 14px;
  font-size: 1.35rem;
}

.blog-search-form {
  display: grid;
  gap: 8px;
  margin: 0 0 24px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 3px solid var(--rh-red);
  border-radius: var(--rh-radius);
  background:
    linear-gradient(180deg, rgba(21, 23, 32, 0.92), rgba(10, 11, 15, 0.96)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 34px);
}

.blog-search-form label {
  color: var(--rh-white);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.blog-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: stretch;
}

.blog-search-row input[type="search"] {
  min-height: 44px;
  padding: 10px 12px;
}

/* Uniform blog tiles: consistent width via auto-fill (tiles never stretch when
   there are only a few) and equal height via grid-auto-rows + stretch. */
.blog-feed .content-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 16px;
}

.blog-feed .content-card {
  height: 100%;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.blog-feed .card-media {
  aspect-ratio: 16 / 9;
}

.blog-feed .card-body {
  padding: 16px;
}

/* Clamp title/excerpt so one long post can't make every tile tall. */
.blog-feed .content-card h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 10px;
  font-size: 1rem;
}

.blog-feed .content-card p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.92rem;
  line-height: 1.5;
}

/* Pin the read-more link to the bottom so it aligns across every tile. */
.blog-feed .card-link {
  margin-top: auto;
}

.dashboard-course-list {
  display: grid;
  gap: 12px;
}

.dashboard-course {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 220px);
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--rh-line);
  border-radius: var(--rh-radius);
  background:
    linear-gradient(180deg, rgba(21, 23, 32, 0.95), rgba(13, 14, 18, 0.97)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 34px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.26);
}

.dashboard-course h4 {
  margin: 8px 0 6px;
  color: var(--rh-white);
  font-size: 1.08rem;
  line-height: 1.25;
}

.dashboard-course h4 a {
  color: var(--rh-white);
  text-decoration: none;
}

.dashboard-course h4 a:hover,
.dashboard-course h4 a:focus {
  color: var(--rh-terminal-green);
}

.dashboard-course p {
  margin: 0;
  color: var(--rh-gray);
}

.dashboard-course-actions {
  display: grid;
  gap: 8px;
}

.dashboard-empty,
.auth-panel {
  padding: 24px;
  border: 1px solid var(--rh-line);
  border-radius: var(--rh-radius);
  background:
    linear-gradient(180deg, rgba(21, 23, 32, 0.95), rgba(12, 13, 17, 0.98)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 34px);
  box-shadow: var(--rh-shadow);
}

.auth-panel-login {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(20px, 4vw, 38px);
  align-items: stretch;
  padding: clamp(22px, 4vw, 34px);
}

.auth-panel-copy,
.auth-form-card {
  position: relative;
  z-index: 1;
}

.auth-panel-copy {
  display: grid;
  align-content: center;
  gap: 12px;
  min-width: 0;
}

.auth-panel-logo {
  display: block;
  width: 92px;
  height: 92px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  box-shadow: 0 18px 36px rgba(210, 31, 38, 0.24);
}

.auth-panel h2 {
  margin-top: 0;
  color: var(--rh-white);
}

.auth-panel-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 3.5rem);
  line-height: 1;
}

.auth-panel-copy p {
  max-width: 620px;
  margin: 0;
  color: var(--rh-gray);
}

.auth-benefits {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.auth-benefits li {
  position: relative;
  padding-left: 22px;
  color: rgba(244, 247, 251, 0.78);
  font-weight: 800;
}

.auth-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 10px;
  height: 3px;
  background: var(--rh-red);
  border-radius: 999px;
}

.auth-form-card {
  display: grid;
  align-content: center;
  padding: clamp(18px, 3vw, 24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--rh-radius);
  background: rgba(5, 5, 6, 0.44);
}

.auth-panel form {
  display: grid;
  gap: 12px;
  width: 100%;
}

.auth-panel label {
  color: var(--rh-white);
  font-weight: 800;
}

.auth-panel input[type="text"],
.auth-panel input[type="password"],
.auth-panel input[type="email"] {
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  color: var(--rh-ink);
  background: rgba(5, 5, 6, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--rh-radius);
  font: inherit;
}

.auth-panel input[type="checkbox"] {
  accent-color: var(--rh-red);
}

.auth-panel .login-remember label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(244, 247, 251, 0.72);
  font-size: 0.92rem;
}

.auth-panel .login-submit {
  margin: 4px 0 0;
}

.auth-panel .login-submit .button {
  width: 100%;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="password"],
input[type="number"],
textarea,
select {
  color: var(--rh-ink);
  background: rgba(5, 5, 6, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--rh-radius);
  font: inherit;
}

textarea {
  min-height: 140px;
  padding: 10px;
}

select {
  min-height: 44px;
  padding: 8px 10px;
}

input::placeholder,
textarea::placeholder {
  color: rgba(244, 247, 251, 0.48);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(39, 224, 163, 0.46);
  outline-offset: 2px;
  border-color: rgba(39, 224, 163, 0.58);
}

.auth-panel input[type="text"]:focus,
.auth-panel input[type="password"]:focus,
.auth-panel input[type="email"]:focus {
  outline: 2px solid rgba(39, 224, 163, 0.46);
  outline-offset: 2px;
  border-color: rgba(39, 224, 163, 0.58);
}

.auth-links {
  margin: 14px 0 0;
  text-align: center;
}

.auth-links a {
  color: var(--rh-white);
  font-weight: 900;
  text-decoration-color: var(--rh-red);
  text-underline-offset: 4px;
}

.comments-area {
  margin-bottom: 32px;
  padding: 24px;
  color: var(--rh-ink);
  background:
    linear-gradient(180deg, rgba(21, 23, 32, 0.95), rgba(12, 13, 17, 0.98)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 34px);
  border: 1px solid var(--rh-line);
  border-radius: var(--rh-radius);
  box-shadow: var(--rh-shadow);
}

.comments-area h2,
.comment-reply-title {
  margin: 0;
  color: var(--rh-white);
  line-height: 1.15;
}

.comments-area p {
  color: var(--rh-gray);
}

.comments-head {
  margin-bottom: 18px;
}

.comment-list {
  display: grid;
  gap: 14px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.comment-list .comment-body {
  padding: 18px;
  background: rgba(5, 5, 6, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--rh-radius);
}

.comment-author {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--rh-white);
  font-weight: 800;
}

.comment-author img {
  border-radius: 50%;
}

.comment-meta,
.comment-meta a,
.reply a {
  color: var(--rh-gray);
  font-size: 0.85rem;
}

.comment-content {
  color: #d8dde6;
}

.pagination,
.post-navigation,
.posts-navigation {
  padding-block: 32px 56px;
}

.nav-links {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer {
  padding-block: 38px;
  color: rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(180deg, rgba(5, 5, 6, 0.98), rgba(5, 5, 6, 1)),
    repeating-linear-gradient(90deg, transparent 0 42px, rgba(255, 255, 255, 0.035) 42px 43px);
  border-top: 7px solid var(--rh-red);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-inner strong {
  display: block;
  color: var(--rh-white);
}

.footer-brand > span {
  display: block;
}

.footer-brand .footer-note {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.55);
  font-style: italic;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  order: 3;
  margin-left: auto;
}

.footer-social-link {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.footer-social-link:hover,
.footer-social-link:focus {
  color: #ffffff;
  background: var(--rh-red);
  border-color: var(--rh-red);
}

/* What is a Red Hatter? */
.redhatter-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 24px;
  align-items: start;
}

.redhatter-define {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.redhatter-define > p {
  margin: 0;
  color: var(--rh-gray);
  line-height: 1.65;
}

.redhatter-terminal {
  overflow: hidden;
  border: 1px solid rgba(215, 25, 32, 0.26);
  border-radius: var(--rh-radius);
  background: linear-gradient(180deg, rgba(13, 14, 18, 0.96), rgba(9, 9, 11, 0.96));
  box-shadow: var(--rh-shadow);
}

.redhatter-prompt {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 58px;
  margin: 0;
  padding: 16px 18px;
  color: var(--rh-white);
  font-family: var(--rh-code-font);
  font-size: 1rem;
}

.redhatter-sigil {
  color: var(--rh-terminal-green);
  font-weight: 700;
}

.redhatter-cursor {
  display: inline-block;
  width: 9px;
  height: 1.15em;
  background: var(--rh-terminal-green);
  animation: redhatter-blink 1s steps(2, start) infinite;
}

@keyframes redhatter-blink {
  to {
    opacity: 0;
  }
}

.redhatter-traits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.redhatter-trait {
  padding: 18px;
  border: 1px solid var(--rh-line);
  border-radius: var(--rh-radius);
  background: linear-gradient(180deg, rgba(21, 23, 32, 0.9), rgba(13, 14, 18, 0.94));
}

.redhatter-trait-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  color: var(--rh-white);
  background: rgba(215, 25, 32, 0.16);
  border: 1px solid rgba(215, 25, 32, 0.4);
  border-radius: 10px;
  font-family: var(--rh-code-font);
  font-size: 0.9rem;
  font-weight: 800;
}

.redhatter-trait h3 {
  margin: 0 0 6px;
  color: var(--rh-white);
  font-size: 1.04rem;
}

.redhatter-trait p {
  margin: 0;
  color: var(--rh-gray);
  font-size: 0.95rem;
  line-height: 1.55;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 520ms ease, transform 520ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 860px) {
  .section-head,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-social {
    margin-left: 0;
    order: 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav-panel {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    z-index: 60;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 16px;
    background: rgba(9, 9, 11, 0.98);
    border-top: 1px solid var(--rh-line);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(16px);
  }

  .site-nav-panel.is-open {
    display: flex;
  }

  .site-nav,
  .site-nav ul,
  .account-actions {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    gap: 4px;
  }

  .site-nav a,
  .account-actions a {
    width: 100%;
    justify-content: flex-start;
  }

  .account-actions {
    margin-top: 6px;
    padding-top: 12px;
    border-top: 1px solid var(--rh-line);
  }

  .track-grid,
  .content-grid,
  .callout-grid,
  .hero-layout,
  .team-grid,
  .entry-wrap,
  .dashboard-stats,
  .dashboard-course,
  .auth-panel-login,
  .redhatter-grid,
  .redhatter-traits {
    grid-template-columns: 1fr;
  }

  .auth-panel-copy {
    align-content: start;
  }

  .dashboard-header {
    flex-direction: column;
  }

  .blog-search-row {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    padding-block: 28px 92px;
  }

  .site-hero::before {
    background:
      linear-gradient(90deg, rgba(5, 5, 6, 0.96) 0%, rgba(5, 5, 6, 0.82) 60%, rgba(5, 5, 6, 0.55) 100%),
      url("assets/images/redhatters-hero-banner.png") 64% center / 108% auto no-repeat;
  }
}

@media (max-width: 520px) {
  :root {
    --rh-container: min(1120px, calc(100% - 22px));
  }

  .header-inner {
    min-height: auto;
    padding-block: 14px;
  }

  .site-nav a {
    min-height: 36px;
    padding-inline: 9px;
    font-size: 0.88rem;
  }

  .site-hero {
    min-height: 720px;
  }

  .hero-content {
    width: 100%;
    max-width: 368px;
    margin-left: 0;
    margin-right: auto;
    padding-block: 0;
  }

  .hero-content h1 {
    font-size: clamp(2.25rem, 12vw, 3.2rem);
    line-height: 1.02;
  }

  .eyebrow {
    max-width: 100%;
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-stat {
    min-height: auto;
  }

  .auth-panel {
    padding: 18px;
  }

  .auth-panel-logo {
    width: 78px;
    height: 78px;
  }

  .auth-form-card {
    padding: 16px;
  }

  .team-veil {
    grid-template-columns: 1fr;
    align-items: center;
  }

  .team-veil-mark {
    width: min(190px, 48vw);
  }

  .team-visual {
    min-height: 520px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-content h1[data-glitch-text]::before,
  .hero-content h1[data-glitch-text]::after {
    animation: none;
  }
}
