:root {
  --bg: #050706;
  --panel: rgba(12, 15, 13, 0.82);
  --panel-strong: rgba(16, 19, 17, 0.94);
  --text: #f4f2de;
  --muted: #aeb4a2;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.28);
  --accent: #d6ff2f;
  --accent-2: #00e5ff;
  --hot: #ffb000;
  --green: #9dff57;
  --acid: #d6ff2f;
  --cyan: #00e5ff;
  --amber: #ffb000;
  --burn: #ff5b24;
  --ink: #050706;
  --shadow: 0 28px 90px rgba(214, 255, 47, 0.12);
  --hero-image: url("/assets/cyberpunk-hero.png");
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 16% 10%, rgba(214, 255, 47, 0.11), transparent 22rem),
    radial-gradient(circle at 82% 16%, rgba(0, 229, 255, 0.1), transparent 24rem),
    radial-gradient(circle at 70% 82%, rgba(255, 176, 0, 0.08), transparent 22rem),
    linear-gradient(180deg, #070907, #090c0a 48%, #030403);
  background-size: auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 58;
  pointer-events: none;
  opacity: 0.3;
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(214, 255, 47, 0.022) 0 1px, transparent 1px 7px);
  mix-blend-mode: soft-light;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 57;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 34%, rgba(0, 0, 0, 0.62)),
    linear-gradient(90deg, rgba(214, 255, 47, 0.04), transparent 16%, transparent 84%, rgba(0, 229, 255, 0.05));
}

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

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

.noise-layer {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.31;
  mix-blend-mode: overlay;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.5) 0 1px, transparent 1.2px),
    radial-gradient(circle at 72% 64%, rgba(255, 255, 255, 0.32) 0 1px, transparent 1.25px),
    radial-gradient(circle at 41% 82%, rgba(214, 255, 47, 0.2) 0 1px, transparent 1.3px);
  background-size: 3px 3px, 5px 5px, 7px 7px;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: 0.8rem clamp(1rem, 4vw, 3.5rem);
  background: rgba(5, 5, 10, 0.68);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand-mark,
.topnav {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-mark {
  font-weight: 800;
  text-transform: uppercase;
}

.brand-sigil {
  display: grid;
  place-items: center;
  min-width: 3.3rem;
  height: 2rem;
  border: 1px solid var(--acid);
  color: var(--acid);
  font-family: "Russo One", Inter, sans-serif;
  font-size: 0.72rem;
  box-shadow: 0 0 28px rgba(214, 255, 47, 0.26);
}

.topnav {
  justify-content: flex-end;
  overflow-x: auto;
}

.topnav a {
  color: var(--muted);
  font-size: 0.86rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.topnav a:hover,
.brand-mark:hover {
  color: var(--acid);
}

.section-block {
  position: relative;
  padding: clamp(4.5rem, 8vw, 7.5rem) clamp(1rem, 5vw, 4.5rem);
}

.hero {
  min-height: 96vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding-top: 8rem;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 5.5rem clamp(1rem, 5vw, 4.5rem) 1.5rem;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 70px rgba(255, 255, 255, 0.04);
}

.hero-video,
.hero-fallback,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: contrast(1.18) saturate(1.1);
}

.hero-video.has-source {
  opacity: 0.75;
}

.hero-fallback {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 68% 34%, rgba(214, 255, 47, 0.16), transparent 18rem),
    radial-gradient(circle at 78% 60%, rgba(0, 229, 255, 0.14), transparent 22rem),
    linear-gradient(115deg, rgba(255, 176, 0, 0.13), transparent 35%),
    linear-gradient(180deg, rgba(5, 7, 6, 0.06), rgba(5, 7, 6, 0.78)),
    var(--hero-image) center / cover no-repeat,
    #05040b;
}

.scan-avatar {
  width: min(58vw, 36rem);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  transform: rotate(-7deg);
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 0 70px rgba(255, 255, 255, 0.07), var(--shadow);
  animation: drift 7s ease-in-out infinite alternate;
}

.scan-avatar span {
  grid-area: 1 / 1;
  width: 82%;
  height: 22%;
  border: 2px solid var(--acid);
  box-shadow: 0 0 34px rgba(214, 255, 47, 0.36);
}

.scan-avatar span:nth-child(2) {
  width: 48%;
  height: 48%;
  border-color: var(--cyan);
  border-radius: 50%;
}

.scan-avatar span:nth-child(3) {
  width: 24%;
  height: 72%;
  border-color: rgba(255, 255, 255, 0.68);
}

.hero-shade {
  background: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 67rem;
  padding-bottom: clamp(3.2rem, 8vw, 6.5rem);
}

.kicker {
  margin: 0 0 0.85rem;
  color: var(--acid);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Russo One", Inter, sans-serif;
}

h1 {
  font-size: clamp(4.2rem, 12vw, 11.5rem);
  line-height: 0.84;
  text-transform: uppercase;
  text-shadow: 0 0 38px rgba(214, 255, 47, 0.18), 0 0 70px rgba(0, 229, 255, 0.12);
}

h2 {
  font-size: clamp(2.1rem, 5vw, 5.2rem);
  line-height: 0.95;
  text-transform: uppercase;
}

h3 {
  line-height: 1.08;
}

.hero-copy,
.article-lead {
  max-width: 45rem;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.24rem);
  line-height: 1.75;
}

.hero-actions,
.row-heading,
.filter-strip,
.blog-tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.button {
  min-height: 2.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.07);
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.82rem;
}

.button:hover,
.filter-button:hover,
.social-tile:hover,
.banner-tile:hover,
.article-card:hover,
.contact-item:hover {
  transform: translateY(-3px);
  border-color: rgba(214, 255, 47, 0.52);
  box-shadow: 0 24px 70px rgba(214, 255, 47, 0.12), 0 18px 80px rgba(0, 229, 255, 0.1);
}

.button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--acid), var(--amber));
  color: #081006;
}

.button.ghost {
  background: rgba(255, 255, 255, 0.04);
}

.button.compact {
  min-height: 2.35rem;
  padding: 0 0.8rem;
}

.hero-next-hint {
  position: absolute;
  right: clamp(1rem, 5vw, 4.5rem);
  bottom: 1.25rem;
  z-index: 3;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.marquee-band {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
}

.marquee-band div {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
}

.marquee-band span {
  padding: 0.95rem 1.2rem;
  color: transparent;
  -webkit-text-stroke: 1px rgba(214, 255, 47, 0.62);
  font-family: "Russo One", Inter, sans-serif;
  font-size: clamp(1.5rem, 4vw, 3.5rem);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-band.small span {
  font-size: clamp(1rem, 3vw, 2.1rem);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(16rem, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(1.2rem, 4vw, 4rem);
  align-items: start;
}

.sticky-heading {
  position: sticky;
  top: 6rem;
}

.section-heading {
  max-width: 70rem;
  margin-bottom: 2rem;
}

.social-grid,
.banner-grid,
.catalog-grid,
.admin-layout,
.contact-items {
  display: grid;
  gap: 1rem;
}

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

.banner-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

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

.social-tile,
.article-card,
.banner-tile,
.admin-panel,
.contact-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.social-tile::before,
.banner-tile::before,
.article-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.7;
  background:
    linear-gradient(135deg, rgba(214, 255, 47, 0.11), transparent 42%),
    linear-gradient(315deg, rgba(0, 229, 255, 0.09), transparent 44%),
    radial-gradient(circle at 80% 12%, rgba(255, 176, 0, 0.08), transparent 10rem);
}

.social-tile.twitch::before {
  background:
    linear-gradient(90deg, rgba(145, 70, 255, 0.2), transparent 48%),
    radial-gradient(circle at 82% 20%, rgba(89, 215, 222, 0.12), transparent 8rem),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 6px);
}

.social-tile.youtube::before {
  background:
    linear-gradient(90deg, rgba(255, 0, 0, 0.22), transparent 48%),
    radial-gradient(circle at 78% 28%, rgba(255, 238, 225, 0.08), transparent 9rem),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 7px);
}

.social-tile.telegram::before {
  background:
    linear-gradient(90deg, rgba(42, 171, 238, 0.2), transparent 48%),
    radial-gradient(circle at 80% 22%, rgba(197, 29, 36, 0.12), transparent 9rem),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 8px);
}

.social-tile.tiktok::before {
  background:
    linear-gradient(90deg, rgba(255, 0, 80, 0.2), transparent 44%),
    radial-gradient(circle at 76% 24%, rgba(0, 242, 234, 0.16), transparent 8rem),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 7px);
}

.social-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 4, 4, 0.05), rgba(5, 4, 4, 0.72)),
    radial-gradient(circle at 18% 90%, rgba(197, 29, 36, 0.2), transparent 9rem);
}

.social-tile > * {
  position: relative;
  z-index: 1;
}

.social-tile {
  min-height: 10rem;
  padding: 1.2rem;
  display: flex;
  align-items: end;
  gap: 1rem;
}

.social-icon {
  width: 3.1rem;
  height: 3.1rem;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid currentColor;
  color: var(--cyan);
  font-weight: 800;
  background: rgba(4, 3, 3, 0.62);
  backdrop-filter: blur(8px);
}

.social-icon svg {
  width: 1.55rem;
  height: 1.55rem;
  fill: currentColor;
  filter: drop-shadow(0 0 10px rgba(89, 215, 222, 0.32));
}

.social-tile strong,
.social-tile small {
  position: relative;
  display: block;
}

.social-tile strong {
  font-size: 1.08rem;
}

.social-tile small,
.article-card p,
.admin-article-list small,
.contact-item small {
  color: var(--muted);
}

.project-strip {
  border-top: 1px solid var(--line);
}

.banner-tile {
  min-height: 13rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.banner-tile span,
.category-pill {
  position: relative;
  color: var(--acid);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.banner-tile strong {
  position: relative;
  margin-top: 0.5rem;
  font-family: "Russo One", Inter, sans-serif;
  font-size: 1.25rem;
  text-transform: uppercase;
}

.slogan {
  min-height: 66vh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  text-align: center;
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.slogan h2 {
  max-width: 68rem;
}

.slogan-banners {
  width: min(100%, 48rem);
  text-align: left;
}

.slogan-orbit {
  position: absolute;
  width: min(84vw, 62rem);
  aspect-ratio: 1;
  border: 1px solid rgba(214, 255, 47, 0.3);
  border-radius: 50%;
  box-shadow: inset 0 0 90px rgba(255, 255, 255, 0.04), 0 0 90px rgba(214, 255, 47, 0.12);
}

.page-hero {
  min-height: 54vh;
  display: grid;
  align-content: end;
  padding-top: 8rem;
  border-bottom: 1px solid var(--line);
}

.blog-tools {
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.filter-strip {
  margin: 0.45rem 0;
}

.filter-button {
  min-height: 2.25rem;
  padding: 0.45rem 0.75rem;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.filter-button.is-active {
  color: var(--text);
  border-color: var(--acid);
  background: rgba(214, 255, 47, 0.16);
}

.sort-control {
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.sort-control select,
.admin-panel input,
.admin-panel textarea,
.admin-panel select {
  width: 100%;
  padding: 0.75rem;
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
}

.article-card {
  min-height: 18rem;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.article-card h3,
.article-card p,
.article-card small,
.article-tags,
.category-pill {
  position: relative;
}

.article-card p {
  line-height: 1.58;
}

.category-pill {
  align-self: start;
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(214, 255, 47, 0.48);
}

.article-page {
  max-width: 58rem;
  margin: 0 auto;
  padding-top: 9rem;
}

.article-page h1 {
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  line-height: 0.96;
}

.back-link {
  display: inline-flex;
  margin-bottom: 1.5rem;
  color: var(--acid);
  text-transform: uppercase;
  font-weight: 800;
}

.article-tags {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-top: 0.85rem;
}

.article-tags span {
  padding: 0.25rem 0.45rem;
  color: var(--acid);
  border: 1px solid rgba(214, 255, 47, 0.36);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.76rem;
}

.article-body {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.article-body p,
.article-body li {
  font-size: 1.08rem;
  line-height: 1.9;
}

.article-body blockquote {
  margin: 2rem 0;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--amber);
  background: rgba(255, 255, 255, 0.05);
}

.article-media-list {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.article-media {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}

.article-media img,
.article-media video {
  display: block;
  width: 100%;
  max-height: 34rem;
  object-fit: cover;
}

.article-media iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.article-media figcaption {
  padding: 0.8rem 1rem;
  color: var(--muted);
}

.article-table {
  width: 100%;
  margin: 1.5rem 0;
  border-collapse: collapse;
}

.article-table td {
  padding: 0.75rem;
  border: 1px solid var(--line);
}

.article-delimiter {
  margin: 2rem 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.article-warning {
  margin: 1.5rem 0;
  padding: 1rem;
  border: 1px solid rgba(255, 184, 107, 0.45);
  background: rgba(255, 184, 107, 0.08);
}

.article-code {
  overflow: auto;
  padding: 1rem;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.36);
}

.article-checklist {
  padding-left: 0;
  list-style: none;
}

.admin-gate {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.login-card {
  width: min(100%, 28rem);
}

.admin-panel {
  padding: 1rem;
  background: var(--panel-strong);
}

.admin-panel label {
  display: grid;
  gap: 0.45rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.admin-panel .button {
  width: 100%;
  margin-top: 1rem;
}

.editor-surface {
  min-height: 18rem;
  margin-top: 0.8rem;
  padding: 1rem;
  color: #111;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
}

.security-note,
.form-message {
  color: var(--muted);
  line-height: 1.6;
}

.admin-article-list {
  display: grid;
  gap: 0.75rem;
}

.admin-article-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
}

.admin-article-row > a:first-child {
  display: grid;
  padding: 0.75rem;
  border: 1px solid var(--line);
}

.editor-warning {
  padding: 0.75rem;
  color: #ffcf91;
  border: 1px solid rgba(255, 184, 107, 0.4);
  background: rgba(255, 184, 107, 0.08);
}

.edit-layout {
  grid-template-columns: minmax(0, 2fr) minmax(18rem, 1fr);
}

.footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 32rem);
  gap: 2rem;
  align-items: stretch;
  border-top: 1px solid var(--line);
}

.contact-stack {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}

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

.contact-item {
  min-height: 11rem;
  padding: 1rem;
}

.contact-art {
  display: block;
  width: 4.2rem;
  height: 3rem;
  margin-bottom: 1rem;
  position: relative;
  border: 2px solid var(--acid);
}

.mailbox .contact-art::before {
  content: "";
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  top: 0.65rem;
  height: 0.35rem;
  background: var(--amber);
  box-shadow: 0 0 18px rgba(255, 176, 0, 0.45);
}

.phone .contact-art {
  width: 2.45rem;
  height: 4.2rem;
  border-radius: 0.45rem;
}

.phone .contact-art::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.35rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--amber);
  transform: translateX(-50%);
}

.gta-map {
  min-height: 24rem;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line);
  background:
    linear-gradient(30deg, rgba(255, 255, 255, 0.06) 0 12%, transparent 12% 24%, rgba(255, 255, 255, 0.04) 24% 36%, transparent 36%),
    #132119;
}

.road {
  position: absolute;
  background: #262935;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.r1 {
  width: 120%;
  height: 3rem;
  left: -10%;
  top: 34%;
  transform: rotate(-13deg);
}

.r2 {
  width: 3rem;
  height: 130%;
  left: 54%;
  top: -15%;
  transform: rotate(22deg);
}

.r3 {
  width: 76%;
  height: 2rem;
  left: 18%;
  bottom: 22%;
  transform: rotate(18deg);
}

.address-pin {
  position: absolute;
  left: 62%;
  top: 42%;
  width: 3.8rem;
  height: 3.8rem;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
}

.address-pin span {
  width: 1.7rem;
  height: 1.7rem;
  background: var(--amber);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 0 28px rgba(255, 176, 0, 0.55);
}

.gta-map p {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  margin: 0;
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.5);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes drift {
  from {
    transform: translate3d(-1rem, 0, 0) rotate(-7deg);
  }

  to {
    transform: translate3d(1rem, -1rem, 0) rotate(-3deg);
  }
}

@media (max-width: 1020px) {
  .split-section,
  .footer {
    grid-template-columns: 1fr;
  }

  .social-grid,
  .banner-grid,
  .catalog-grid,
  .admin-layout,
  .contact-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sticky-heading {
    position: relative;
    top: auto;
  }
}

@media (max-width: 680px) {
  .topbar {
    position: sticky;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .topnav {
    justify-content: flex-start;
    width: 100%;
  }

  .social-grid,
  .banner-grid,
  .catalog-grid,
  .admin-layout,
  .contact-items {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 4.05rem;
  }

  .hero::before {
    inset: 6.8rem 1rem 1rem;
  }

  .hero-actions .button,
  .admin-article-row .button {
    width: 100%;
  }

  .admin-article-row {
    grid-template-columns: 1fr;
  }
}

.preload-hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.8fr);
  align-items: center;
  gap: clamp(1rem, 4vw, 4rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.preload-hero::before {
  inset: 5.2rem clamp(1rem, 4vw, 3rem) 4.6rem;
  border-color: rgba(255, 255, 255, 0.22);
}

.preload-hero .hero-fallback {
  place-items: center end;
  padding-right: clamp(1rem, 7vw, 8rem);
  background-position: center;
}

.preload-hero .hero-shade {
  background: none;
}

.hero-showcase {
  max-width: 62rem;
}

.hero-showcase h1 {
  display: grid;
  gap: 0.04em;
  margin-left: -0.05em;
  font-size: clamp(5.2rem, 15vw, 15.5rem);
  line-height: 0.74;
}

.hero-showcase h1 span {
  display: block;
  background: linear-gradient(180deg, #fffde7, #d6ff2f 42%, #00e5ff 100%);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-showcase .hero-copy {
  max-width: 48rem;
  margin-top: 1.4rem;
  padding-left: 1rem;
  border-left: 3px solid var(--amber);
  color: #e4dcea;
}

.kinetic-stage {
  position: relative;
  width: min(48vw, 42rem);
  aspect-ratio: 1.12;
  transform: perspective(900px) rotateY(-13deg) rotateX(4deg);
  display: none;
}

.stage-card,
.stage-ring,
.stage-core {
  position: absolute;
  inset: 0;
  margin: auto;
}

.stage-card {
  width: 72%;
  height: 28%;
  border: 1px solid var(--acid);
  background: linear-gradient(90deg, rgba(214, 255, 47, 0.11), transparent);
  box-shadow: 0 0 38px rgba(214, 255, 47, 0.2);
  animation: float-panel 7s ease-in-out infinite alternate;
}

.stage-card.card-a {
  transform: rotate(-8deg) translateY(1rem);
}

.stage-card.card-b {
  width: 34%;
  height: 82%;
  border-color: rgba(255, 255, 255, 0.34);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent);
  animation-delay: -2s;
}

.stage-card.card-c {
  width: 58%;
  height: 36%;
  border-color: var(--hot);
  transform: rotate(14deg) translate(5rem, -4rem);
  animation-delay: -4s;
}

.stage-ring {
  width: 58%;
  aspect-ratio: 1;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 55px rgba(0, 229, 255, 0.18), inset 0 0 45px rgba(0, 229, 255, 0.08);
  animation: pulse-ring 3.5s ease-in-out infinite;
}

.stage-core {
  width: 7rem;
  height: 7rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  background: rgba(0, 0, 0, 0.42);
  color: var(--text);
  font-family: "Russo One", Inter, sans-serif;
  font-size: 2rem;
  box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.07), 0 0 38px rgba(214, 255, 47, 0.18);
}

.hero-frame-label {
  position: absolute;
  z-index: 4;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-frame-label.top {
  left: clamp(1rem, 5vw, 4.5rem);
  right: clamp(1rem, 5vw, 4.5rem);
  top: 6.4rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
}

.hero-frame-label.side {
  right: clamp(1rem, 4vw, 3rem);
  top: 50%;
  transform: rotate(90deg) translateX(50%);
  transform-origin: right center;
}

.hero-index {
  position: absolute;
  z-index: 4;
  right: clamp(1rem, 5vw, 4.5rem);
  bottom: 6.2rem;
  display: grid;
  justify-items: end;
  gap: 0.2rem;
  text-transform: uppercase;
}

.hero-index span {
  color: transparent;
  -webkit-text-stroke: 1px var(--acid);
  font-family: "Russo One", Inter, sans-serif;
  font-size: clamp(4rem, 9vw, 8rem);
  line-height: 0.78;
}

.hero-index strong {
  color: var(--text);
}

.hero-index small {
  color: var(--muted);
}

.hero-dock {
  position: absolute;
  z-index: 5;
  left: clamp(1rem, 5vw, 4.5rem);
  right: clamp(1rem, 5vw, 4.5rem);
  bottom: 1.1rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(12px);
}

.hero-dock a {
  min-height: 3.3rem;
  display: grid;
  place-items: center;
  color: var(--muted);
  border-right: 1px solid var(--line);
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.78rem;
}

.hero-dock a:last-child {
  border-right: 0;
}

.hero-dock a:hover {
  color: var(--text);
  background: rgba(214, 255, 47, 0.14);
}

.ticker-wall {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #05050a;
}

.ticker-row {
  display: flex;
  width: max-content;
  animation: ticker-sweep 24s linear infinite;
}

.ticker-row.reverse {
  animation-direction: reverse;
  border-top: 1px solid var(--line);
}

.ticker-row span {
  min-width: 30vw;
  padding: 1.1rem clamp(1rem, 4vw, 3rem);
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.66);
  font-family: "Russo One", Inter, sans-serif;
  font-size: clamp(2rem, 7vw, 7rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.ticker-row.reverse span {
  -webkit-text-stroke-color: rgba(255, 176, 0, 0.72);
}

.section-number {
  display: inline-block;
  margin-bottom: 1rem;
  color: transparent;
  -webkit-text-stroke: 1px var(--acid);
  font-family: "Russo One", Inter, sans-serif;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.8;
}

.showcase-split {
  background:
    linear-gradient(90deg, rgba(214, 255, 47, 0.065), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent);
}

.banner-showcase {
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
}

.banner-tile.large {
  min-height: 20rem;
}

.banner-tile small {
  position: relative;
  margin-top: 0.7rem;
  color: var(--muted);
}

@keyframes float-panel {
  from {
    translate: -0.8rem 0;
  }

  to {
    translate: 0.8rem -1.2rem;
  }
}

@keyframes pulse-ring {
  50% {
    transform: scale(1.08);
    opacity: 0.72;
  }
}

@keyframes ticker-sweep {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 980px) {
  .preload-hero {
    grid-template-columns: 1fr;
  }

  .preload-hero .hero-fallback {
    place-items: center;
    padding-right: 0;
  }

  .kinetic-stage {
    width: min(78vw, 34rem);
    opacity: 0.72;
  }

  .hero-index,
  .hero-frame-label.side {
    display: none;
  }

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

@media (max-width: 680px) {
  .hero-showcase h1 {
    font-size: clamp(4.5rem, 23vw, 8rem);
  }

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

  .hero-dock a:nth-child(2) {
    border-right: 0;
  }

  .hero-dock a:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .ticker-row span {
    min-width: 78vw;
  }

  .banner-showcase {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1180px) {
  .section-block {
    padding-inline: clamp(1rem, 4vw, 2.25rem);
  }

  .hero-showcase h1 {
    font-size: clamp(5rem, 14vw, 11rem);
  }

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

  .admin-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  body {
    background-size: 28px 28px, 28px 28px, auto, auto, auto;
  }

  body::before {
    opacity: 0.28;
  }

  .topbar {
    position: sticky;
    grid-template-columns: 1fr;
    gap: 0.7rem;
    padding: 0.72rem 0.9rem;
  }

  .brand-mark {
    width: 100%;
    justify-content: space-between;
  }

  .brand-sigil {
    min-width: 3rem;
    height: 1.8rem;
  }

  .topnav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.35rem;
    overflow: visible;
  }

  .topnav a {
    min-height: 2.15rem;
    display: grid;
    place-items: center;
    padding: 0 0.35rem;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.045);
    font-size: 0.68rem;
    text-align: center;
  }

  .section-block {
    padding: 3.5rem 0.9rem;
  }

  .preload-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    align-items: end;
    gap: 0;
    padding-top: 4.2rem;
    padding-bottom: 6.4rem;
  }

  .preload-hero::before {
    inset: 0.9rem;
    top: 3.7rem;
    bottom: 5.2rem;
  }

  .preload-hero .hero-fallback {
    place-items: center;
    opacity: 0.78;
    padding: 0;
  }

  .preload-hero .hero-shade {
    background: none;
  }

  .hero-frame-label.top {
    display: none;
  }

  .hero-content {
    width: 100%;
    padding-bottom: 0;
  }

  .hero-showcase h1 {
    font-size: clamp(3.9rem, 24vw, 7.2rem);
    line-height: 0.78;
  }

  .hero-showcase .hero-copy {
    max-width: 100%;
    margin-top: 1rem;
    padding-left: 0.8rem;
    font-size: 0.98rem;
    line-height: 1.62;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    margin-top: 1.1rem;
  }

  .hero-actions .button {
    width: 100%;
    min-height: 2.9rem;
    padding-inline: 0.6rem;
    font-size: 0.74rem;
  }

  .kinetic-stage {
    width: min(92vw, 26rem);
    transform: perspective(700px) rotateY(-10deg) rotateX(3deg) translateY(-1.8rem);
    opacity: 0.58;
  }

  .stage-core {
    width: 5rem;
    height: 5rem;
    font-size: 1.35rem;
  }

  .hero-dock {
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.8rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-dock a {
    min-height: 2.65rem;
    font-size: 0.72rem;
  }

  .hero-dock a:nth-child(2) {
    border-right: 0;
  }

  .hero-dock a:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .ticker-row span {
    min-width: 82vw;
    padding: 0.8rem 1rem;
    font-size: clamp(2.4rem, 16vw, 5rem);
  }

  .split-section,
  .showcase-split,
  .footer {
    grid-template-columns: 1fr;
  }

  .sticky-heading {
    position: relative;
    top: auto;
  }

  .section-number {
    margin-bottom: 0.7rem;
    font-size: clamp(2.8rem, 18vw, 5rem);
  }

  h2 {
    font-size: clamp(2rem, 13vw, 3.6rem);
  }

  .social-grid,
  .banner-grid,
  .banner-showcase,
  .catalog-grid,
  .admin-layout,
  .contact-items {
    grid-template-columns: 1fr;
  }

  .social-tile {
    min-height: 7.5rem;
  }

  .banner-tile,
  .banner-tile.large {
    min-height: 10rem;
  }

  .blog-tools {
    display: grid;
    gap: 1rem;
  }

  .filter-strip {
    display: flex;
    flex-wrap: wrap;
    overflow: visible;
    gap: 0.4rem;
    padding-bottom: 0;
  }

  .filter-button {
    flex: 1 1 calc(50% - 0.4rem);
    white-space: nowrap;
    text-align: center;
  }

  .sort-control select {
    min-height: 2.7rem;
  }

  .article-card {
    min-height: 14rem;
  }

  .page-hero {
    min-height: 38vh;
    padding-top: 4rem;
  }

  .article-page {
    padding-top: 4rem;
  }

  .article-page h1 {
    font-size: clamp(2.2rem, 14vw, 4.2rem);
    overflow-wrap: anywhere;
  }

  .article-body p,
  .article-body li {
    font-size: 1rem;
    line-height: 1.72;
  }

  .article-media img,
  .article-media video {
    max-height: 60vh;
  }

  .editor-surface {
    padding: 0.6rem;
    min-height: 16rem;
  }

  .admin-article-row {
    grid-template-columns: 1fr;
  }

  .footer {
    gap: 1.2rem;
  }

  .gta-map {
    min-height: 18rem;
  }
}

.banner-mosaic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: row;
  gap: 0.55rem;
  align-items: stretch;
}

.channel-banner {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 0;
  isolation: isolate;
  border: 1px solid rgba(255, 238, 225, 0.14);
  background: #080505;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  aspect-ratio: 16 / 9;
}

.channel-banner.wide {
  grid-column: span 1;
  aspect-ratio: 16 / 9;
}

.channel-banner.tall {
  grid-column: span 1;
  grid-row: auto;
  aspect-ratio: 16 / 9;
}

.channel-banner.square {
  grid-column: span 1;
  aspect-ratio: 16 / 9;
}

.channel-banner img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.12);
  transition: transform 420ms ease, filter 420ms ease;
}

.channel-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, transparent 12%, rgba(5, 4, 4, 0.12) 62%, rgba(5, 4, 4, 0.34)),
    radial-gradient(circle at 18% 18%, rgba(89, 215, 222, 0.16), transparent 10rem);
}

.channel-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.55) 0 0.7px, transparent 1px),
    radial-gradient(circle at 78% 68%, rgba(255, 255, 255, 0.25) 0 0.7px, transparent 1px);
  background-size: 3px 3px, 5px 5px;
  mix-blend-mode: overlay;
}

.channel-banner:hover {
  transform: translateY(-2px);
  border-color: rgba(89, 215, 222, 0.5);
  box-shadow: 0 26px 80px rgba(197, 29, 36, 0.2), 0 20px 70px rgba(89, 215, 222, 0.09);
}

.channel-banner:hover img {
  transform: scale(1.05);
  filter: saturate(1.08) contrast(1.18);
}

.latest-section {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 82% 24%, rgba(89, 215, 222, 0.08), transparent 18rem),
    radial-gradient(circle at 16% 78%, rgba(197, 29, 36, 0.13), transparent 22rem);
}

.latest-grid {
  margin-bottom: 1.2rem;
}

.latest-more {
  width: fit-content;
}

@media (max-width: 980px) {
  .banner-mosaic {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .channel-banner.wide {
    grid-column: span 1;
  }

  .channel-banner.tall {
    grid-column: span 1;
  }
}

@media (max-width: 760px) {
  .banner-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .channel-banner.wide,
  .channel-banner.tall,
  .channel-banner.square {
    grid-column: span 1;
    grid-row: auto;
    min-height: auto;
  }

  .channel-banner.wide {
    aspect-ratio: 16 / 9;
  }

  .channel-banner.tall {
    aspect-ratio: 16 / 9;
  }

  .latest-more {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .banner-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .channel-banner.wide,
  .channel-banner.tall {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 390px) {
  .topnav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-showcase h1 {
    font-size: clamp(3.35rem, 23vw, 5.2rem);
  }

  .hero-copy,
  .article-lead {
    font-size: 0.93rem;
  }

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

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

  .hero-dock a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-dock a:last-child {
    border-bottom: 0;
  }

  .preload-hero {
    padding-bottom: 11.5rem;
  }

  .preload-hero::before {
    bottom: 10.4rem;
  }

  .kinetic-stage {
    width: 105vw;
  }

  .ticker-row span {
    min-width: 92vw;
    font-size: clamp(2rem, 15vw, 3.6rem);
  }

  .contact-item strong,
  .article-card h3 {
    overflow-wrap: anywhere;
  }
}

/* Cinematic horror/cyberpunk skin for the Frost Max portrait hero. */
:root {
  --bg: #050404;
  --panel: rgba(13, 10, 10, 0.84);
  --panel-strong: rgba(18, 13, 13, 0.94);
  --text: #f4eee8;
  --muted: #b6aaa4;
  --line: rgba(255, 238, 225, 0.14);
  --line-strong: rgba(255, 238, 225, 0.28);
  --accent: #c51d24;
  --accent-2: #59d7de;
  --acid: #c51d24;
  --cyan: #59d7de;
  --amber: #c9853a;
  --burn: #ff3527;
  --ink: #050404;
  --shadow: 0 28px 90px rgba(197, 29, 36, 0.18);
}

body {
  background:
    radial-gradient(circle at 18% 12%, rgba(197, 29, 36, 0.18), transparent 28rem),
    radial-gradient(circle at 84% 18%, rgba(89, 215, 222, 0.1), transparent 24rem),
    radial-gradient(circle at 58% 72%, rgba(255, 53, 39, 0.12), transparent 26rem),
    linear-gradient(180deg, #070505, #0b0707 48%, #040303);
}

body::before {
  opacity: 0.24;
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(89, 215, 222, 0.018) 0 1px, transparent 1px 8px);
  mix-blend-mode: soft-light;
}

body::after {
  background:
    radial-gradient(ellipse at center, transparent 28%, rgba(0, 0, 0, 0.68)),
    linear-gradient(90deg, rgba(197, 29, 36, 0.08), transparent 20%, transparent 78%, rgba(89, 215, 222, 0.055));
}

.noise-layer {
  opacity: 0.42;
  mix-blend-mode: overlay;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.55) 0 0.8px, transparent 1px),
    radial-gradient(circle at 70% 62%, rgba(255, 255, 255, 0.34) 0 0.8px, transparent 1.1px),
    radial-gradient(circle at 42% 84%, rgba(197, 29, 36, 0.32) 0 0.9px, transparent 1.15px),
    radial-gradient(circle at 86% 16%, rgba(89, 215, 222, 0.16) 0 0.8px, transparent 1.1px);
  background-size: 2px 2px, 4px 4px, 6px 6px, 9px 9px;
}

.topbar {
  background: rgba(6, 4, 4, 0.76);
  border-bottom-color: rgba(255, 238, 225, 0.12);
}

.brand-sigil {
  border-color: var(--accent);
  color: var(--cyan);
  box-shadow: 0 0 24px rgba(197, 29, 36, 0.3), inset 0 0 18px rgba(89, 215, 222, 0.06);
}

.topnav a:hover,
.brand-mark:hover,
.kicker {
  color: var(--cyan);
}

.hero-fallback {
  background:
    linear-gradient(90deg, rgba(5, 4, 4, 0.72) 0 26%, rgba(5, 4, 4, 0.18) 48%, rgba(5, 4, 4, 0.52)),
    radial-gradient(circle at 52% 52%, rgba(197, 29, 36, 0.1), transparent 34rem),
    var(--hero-image) center / cover no-repeat,
    #050404;
}

.preload-hero .hero-shade {
  background: none;
}

.hero-showcase h1 span {
  background: linear-gradient(180deg, #fff8ef, #f1d1c7 40%, #c23b35 100%);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-showcase .hero-copy {
  color: #e2d4cd;
  border-left-color: var(--burn);
}

.button.primary {
  color: #fff7ef;
  background: linear-gradient(135deg, #b81822, #5b0b10 58%, #1c0c0d);
  box-shadow: inset 0 0 22px rgba(255, 255, 255, 0.05), 0 16px 44px rgba(197, 29, 36, 0.22);
}

.button.ghost,
.filter-button,
.hero-dock,
.topnav a {
  background: rgba(255, 238, 225, 0.035);
}

.button:hover,
.filter-button:hover,
.social-tile:hover,
.banner-tile:hover,
.article-card:hover,
.contact-item:hover {
  border-color: rgba(89, 215, 222, 0.48);
  box-shadow: 0 24px 70px rgba(197, 29, 36, 0.17), 0 18px 80px rgba(89, 215, 222, 0.08);
}

.social-tile,
.article-card,
.banner-tile,
.admin-panel,
.contact-item,
.article-media,
.gta-map {
  background:
    linear-gradient(180deg, rgba(255, 238, 225, 0.035), transparent),
    radial-gradient(circle at 18% 24%, rgba(197, 29, 36, 0.14), transparent 13rem),
    rgba(13, 10, 10, 0.86);
  border-color: rgba(255, 238, 225, 0.13);
}

.social-tile::before,
.banner-tile::before,
.article-card::before {
  opacity: 0.9;
  background:
    radial-gradient(circle at 18% 22%, rgba(197, 29, 36, 0.2), transparent 9rem),
    linear-gradient(130deg, rgba(89, 215, 222, 0.06), transparent 42%),
    linear-gradient(315deg, rgba(255, 53, 39, 0.11), transparent 52%);
}

.social-tile::after,
.banner-tile::after,
.article-card::after,
.admin-panel::after,
.contact-item::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.5) 0 0.7px, transparent 1px),
    radial-gradient(circle at 78% 68%, rgba(255, 255, 255, 0.25) 0 0.7px, transparent 1px);
  background-size: 3px 3px, 5px 5px;
  mix-blend-mode: overlay;
}

.social-icon,
.banner-tile span,
.category-pill,
.back-link,
.article-tags span {
  color: var(--cyan);
  border-color: rgba(89, 215, 222, 0.38);
}

.filter-button.is-active {
  border-color: var(--burn);
  background: rgba(197, 29, 36, 0.18);
}

.ticker-wall {
  background:
    radial-gradient(circle at 24% 50%, rgba(197, 29, 36, 0.16), transparent 24rem),
    #050404;
}

.ticker-row span {
  -webkit-text-stroke-color: rgba(255, 238, 225, 0.55);
}

.ticker-row.reverse span,
.section-number {
  -webkit-text-stroke-color: rgba(197, 29, 36, 0.72);
}

.slogan {
  background:
    radial-gradient(circle at center, rgba(197, 29, 36, 0.18), transparent 25rem),
    linear-gradient(180deg, rgba(255, 238, 225, 0.02), transparent);
}

.slogan-orbit {
  border-color: rgba(197, 29, 36, 0.36);
  box-shadow: inset 0 0 90px rgba(255, 255, 255, 0.035), 0 0 90px rgba(197, 29, 36, 0.18);
}

.article-body blockquote,
.hero-showcase .hero-copy {
  border-left-color: var(--burn);
}

.contact-art {
  border-color: var(--cyan);
}

.mailbox .contact-art::before,
.phone .contact-art::before,
.address-pin span {
  background: var(--burn);
  box-shadow: 0 0 20px rgba(255, 53, 39, 0.48);
}

.gta-map {
  background:
    radial-gradient(circle at 62% 42%, rgba(255, 53, 39, 0.18), transparent 8rem),
    linear-gradient(30deg, rgba(255, 238, 225, 0.05) 0 12%, transparent 12% 24%, rgba(89, 215, 222, 0.035) 24% 36%, transparent 36%),
    #111514;
}

@media (max-width: 760px) {
  .preload-hero .hero-shade {
    background: none;
  }

  .hero-fallback {
    background-position: center top;
  }

  .noise-layer {
    opacity: 0.34;
  }
}

/* Style 2: brighter cinematic tech pass, enabled from admin settings. */
body.theme-style2 {
  --panel: rgba(22, 20, 19, 0.72);
  --panel-strong: rgba(28, 25, 24, 0.86);
  --text: #fff4e8;
  --muted: #c9bdb4;
  --line: rgba(255, 244, 232, 0.18);
  --line-strong: rgba(255, 244, 232, 0.34);
  --shadow: 0 30px 110px rgba(201, 67, 38, 0.16), 0 18px 70px rgba(89, 215, 222, 0.07);
  background:
    radial-gradient(ellipse at 22% 12%, rgba(255, 196, 122, 0.18), transparent 26rem),
    radial-gradient(ellipse at 76% 18%, rgba(89, 215, 222, 0.15), transparent 28rem),
    radial-gradient(ellipse at 52% 84%, rgba(197, 29, 36, 0.17), transparent 30rem),
    linear-gradient(180deg, #161414, #100d0c 48%, #090808);
}

body.theme-style2::before {
  opacity: 0.18;
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(89, 215, 222, 0.02) 0 1px, transparent 1px 10px);
}

body.theme-style2::after {
  background:
    radial-gradient(ellipse at center, transparent 36%, rgba(0, 0, 0, 0.48)),
    linear-gradient(112deg, transparent 0 18%, rgba(255, 214, 157, 0.09) 28%, transparent 40% 58%, rgba(89, 215, 222, 0.08) 70%, transparent 82%),
    linear-gradient(90deg, rgba(197, 29, 36, 0.05), transparent 28%, transparent 72%, rgba(89, 215, 222, 0.05));
}

body.theme-style2 .noise-layer {
  opacity: 0.28;
}

body.theme-style2 .topbar {
  background: rgba(12, 10, 10, 0.62);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
}

body.theme-style2 .hero-fallback {
  background:
    linear-gradient(90deg, rgba(13, 10, 10, 0.64) 0 25%, rgba(13, 10, 10, 0.12) 50%, rgba(13, 10, 10, 0.38)),
    radial-gradient(circle at 36% 22%, rgba(255, 216, 158, 0.12), transparent 22rem),
    radial-gradient(circle at 70% 34%, rgba(89, 215, 222, 0.12), transparent 18rem),
    var(--hero-image) center / cover no-repeat,
    #100d0c;
}

body.theme-style2 .preload-hero .hero-shade {
  background: none;
}

body.theme-style2 .hero-showcase h1 span {
  background: linear-gradient(180deg, #fff8ef, #ffd9b0 48%, #d04a38 100%);
  -webkit-background-clip: text;
  color: transparent;
}

body.theme-style2 .button,
body.theme-style2 .filter-button,
body.theme-style2 .hero-dock a {
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

body.theme-style2 .button::before,
body.theme-style2 .filter-button::before,
body.theme-style2 .hero-dock a::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 244, 232, 0.16), transparent);
  transform: translateX(-120%);
  transition: transform 360ms ease;
}

body.theme-style2 .button:hover::before,
body.theme-style2 .filter-button:hover::before,
body.theme-style2 .hero-dock a:hover::before {
  transform: translateX(120%);
}

body.theme-style2 .button.primary {
  background: linear-gradient(135deg, #d34a35, #7d191c 52%, #231314);
  box-shadow: inset 0 0 24px rgba(255, 244, 232, 0.08), 0 18px 50px rgba(211, 74, 53, 0.2);
}

body.theme-style2 .social-tile,
body.theme-style2 .article-card,
body.theme-style2 .banner-tile,
body.theme-style2 .channel-banner,
body.theme-style2 .admin-panel,
body.theme-style2 .contact-item,
body.theme-style2 .article-media,
body.theme-style2 .gta-map,
body.theme-style2 .sort-control {
  background:
    linear-gradient(180deg, rgba(255, 244, 232, 0.07), rgba(255, 244, 232, 0.015)),
    radial-gradient(circle at 18% 18%, rgba(255, 214, 157, 0.08), transparent 12rem),
    radial-gradient(circle at 82% 24%, rgba(89, 215, 222, 0.07), transparent 11rem),
    rgba(20, 17, 16, 0.74);
  border-color: rgba(255, 244, 232, 0.18);
  backdrop-filter: blur(16px);
}

body.theme-style2 .social-tile:hover,
body.theme-style2 .article-card:hover,
body.theme-style2 .channel-banner:hover,
body.theme-style2 .contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 100px rgba(211, 74, 53, 0.2), 0 20px 80px rgba(89, 215, 222, 0.11);
}

body.theme-style2 .ticker-wall,
body.theme-style2 .latest-section,
body.theme-style2 .showcase-split,
body.theme-style2 .project-strip,
body.theme-style2 .slogan {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 214, 157, 0.08), transparent 22rem),
    radial-gradient(circle at 84% 40%, rgba(89, 215, 222, 0.07), transparent 20rem),
    linear-gradient(180deg, rgba(255, 244, 232, 0.02), transparent);
}

body.theme-style2 .article-card p,
body.theme-style2 .hero-copy,
body.theme-style2 .article-lead {
  color: #d8cbc2;
}

body.theme-style2 .section-number {
  -webkit-text-stroke-color: rgba(255, 214, 157, 0.72);
}

@media (max-width: 760px) {
  body.theme-style2 .preload-hero .hero-shade {
    background: none;
  }
}

/* Style 3: gaming cyberpulse-inspired neon theme. */
body.theme-style3 {
  --bg: #050404;
  --panel: rgba(13, 10, 10, 0.84);
  --panel-strong: rgba(18, 13, 13, 0.94);
  --text: #f4eee8;
  --muted: #b6aaa4;
  --line: rgba(255, 238, 225, 0.14);
  --line-strong: rgba(255, 238, 225, 0.28);
  --accent: #c51d24;
  --accent-2: #59d7de;
  --acid: #c51d24;
  --cyan: #59d7de;
  --amber: #c9853a;
  --burn: #ff3527;
  --shadow: 0 28px 90px rgba(197, 29, 36, 0.18), 0 18px 70px rgba(89, 215, 222, 0.07);
  background:
    linear-gradient(rgba(89, 215, 222, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197, 29, 36, 0.026) 1px, transparent 1px),
    radial-gradient(circle at 18% 16%, rgba(197, 29, 36, 0.22), transparent 28rem),
    radial-gradient(circle at 82% 12%, rgba(89, 215, 222, 0.12), transparent 30rem),
    radial-gradient(circle at 70% 82%, rgba(255, 53, 39, 0.1), transparent 24rem),
    linear-gradient(180deg, #070505, #0b0707 52%, #040303);
  background-size: 34px 34px, 34px 34px, auto, auto, auto, auto;
}

body.theme-style3::before {
  opacity: 0.32;
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 4px),
    linear-gradient(90deg, rgba(197, 29, 36, 0.08), transparent 24%, transparent 76%, rgba(89, 215, 222, 0.06));
  mix-blend-mode: overlay;
}

body.theme-style3::after {
  background:
    radial-gradient(ellipse at center, transparent 38%, rgba(0, 0, 0, 0.58)),
    linear-gradient(112deg, transparent 0 30%, rgba(89, 215, 222, 0.07) 38%, transparent 48% 58%, rgba(197, 29, 36, 0.08) 68%, transparent 78%);
}

body.theme-style3 .noise-layer {
  opacity: 0.24;
  mix-blend-mode: screen;
}

body.theme-style3 .topbar {
  background: rgba(6, 4, 4, 0.76);
  border-bottom-color: rgba(255, 238, 225, 0.12);
  box-shadow: 0 0 34px rgba(197, 29, 36, 0.08);
}

body.theme-style3 .brand-sigil {
  border-color: var(--accent);
  color: var(--cyan);
  box-shadow: 0 0 24px rgba(197, 29, 36, 0.3), inset 0 0 18px rgba(89, 215, 222, 0.06);
}

body.theme-style3 .topnav a:hover,
body.theme-style3 .brand-mark:hover,
body.theme-style3 .kicker {
  color: var(--cyan);
}

body.theme-style3 .hero-fallback {
  background:
    linear-gradient(90deg, rgba(5, 4, 4, 0.88) 0 28%, rgba(5, 4, 4, 0.18) 56%, rgba(5, 4, 4, 0.58)),
    radial-gradient(circle at 36% 34%, rgba(197, 29, 36, 0.18), transparent 20rem),
    radial-gradient(circle at 72% 30%, rgba(89, 215, 222, 0.12), transparent 22rem),
    var(--hero-image) center / cover no-repeat,
    #050404;
}

body.theme-style3 .preload-hero .hero-shade {
  background: none;
}

body.theme-style3 .hero-showcase h1 span {
  background: linear-gradient(180deg, #fff8ef, #f1d1c7 40%, #c23b35 100%);
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: none;
}

body.theme-style3 .button,
body.theme-style3 .filter-button,
body.theme-style3 .hero-dock a {
  position: relative;
  overflow: hidden;
  border-color: rgba(89, 215, 222, 0.28);
  clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 13px 100%, 0 calc(100% - 13px));
}

body.theme-style3 .topbar::before,
body.theme-style3 .topbar::after {
  content: "";
  position: absolute;
  bottom: -1px;
  height: 2px;
  pointer-events: none;
}

body.theme-style3 .topbar::before {
  left: clamp(1rem, 4vw, 3.5rem);
  width: 9rem;
  background: var(--burn);
  box-shadow: 0 0 18px rgba(197, 29, 36, 0.5);
}

body.theme-style3 .topbar::after {
  right: clamp(1rem, 4vw, 3.5rem);
  width: 16rem;
  background: linear-gradient(90deg, transparent, var(--cyan));
  box-shadow: 0 0 18px rgba(89, 215, 222, 0.36);
}

body.theme-style3 .brand-mark {
  gap: 1rem;
}

body.theme-style3 .brand-sigil {
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

body.theme-style3 .topnav a {
  min-height: 2.2rem;
  padding-inline: 0.7rem;
  border: 1px solid rgba(89, 215, 222, 0.16);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

body.theme-style3 .button::after,
body.theme-style3 .filter-button::after,
body.theme-style3 .hero-dock a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--burn), var(--cyan), var(--amber));
}

body.theme-style3 .button::before,
body.theme-style3 .filter-button::before,
body.theme-style3 .hero-dock a::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent),
    repeating-linear-gradient(90deg, transparent 0 12px, rgba(255, 255, 255, 0.045) 12px 13px);
  transform: translateX(-130%);
  transition: transform 420ms ease;
}

body.theme-style3 .button:hover::before,
body.theme-style3 .filter-button:hover::before,
body.theme-style3 .hero-dock a:hover::before {
  transform: translateX(130%);
}

body.theme-style3 .button.primary {
  color: #fff7ef;
  background: linear-gradient(135deg, #b81822, #5b0b10 58%, #1c0c0d);
  box-shadow: 0 0 30px rgba(197, 29, 36, 0.22), 0 18px 70px rgba(89, 215, 222, 0.08);
}

body.theme-style3 .button.ghost,
body.theme-style3 .filter-button,
body.theme-style3 .topnav a,
body.theme-style3 .hero-dock {
  background: rgba(13, 10, 10, 0.68);
}

body.theme-style3 .social-tile,
body.theme-style3 .article-card,
body.theme-style3 .banner-tile,
body.theme-style3 .channel-banner,
body.theme-style3 .admin-panel,
body.theme-style3 .contact-item,
body.theme-style3 .article-media,
body.theme-style3 .gta-map,
body.theme-style3 .sort-control {
  background:
    linear-gradient(180deg, rgba(255, 238, 225, 0.045), rgba(197, 29, 36, 0.03)),
    radial-gradient(circle at 16% 18%, rgba(197, 29, 36, 0.16), transparent 12rem),
    radial-gradient(circle at 84% 20%, rgba(89, 215, 222, 0.1), transparent 12rem),
    rgba(13, 10, 10, 0.84);
  border-color: rgba(255, 238, 225, 0.13);
  box-shadow: var(--shadow);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

body.theme-style3 .social-tile::before,
body.theme-style3 .banner-tile::before,
body.theme-style3 .article-card::before {
  opacity: 1;
  background:
    linear-gradient(90deg, rgba(89, 215, 222, 0.18) 0 2px, transparent 2px calc(100% - 2px), rgba(197, 29, 36, 0.18) calc(100% - 2px)),
    linear-gradient(180deg, rgba(89, 215, 222, 0.16) 0 2px, transparent 2px calc(100% - 2px), rgba(197, 29, 36, 0.16) calc(100% - 2px)),
    linear-gradient(135deg, rgba(197, 29, 36, 0.16), transparent 38%),
    linear-gradient(315deg, rgba(89, 215, 222, 0.1), transparent 44%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.026) 0 1px, transparent 1px 9px);
}

body.theme-style3 .social-tile::after,
body.theme-style3 .banner-tile::after,
body.theme-style3 .article-card::after,
body.theme-style3 .channel-banner::after,
body.theme-style3 .admin-panel::after,
body.theme-style3 .contact-item::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
  background:
    linear-gradient(135deg, var(--cyan) 0 10px, transparent 10px) top left / 48px 48px no-repeat,
    linear-gradient(225deg, var(--burn) 0 10px, transparent 10px) top right / 48px 48px no-repeat,
    linear-gradient(45deg, var(--amber) 0 10px, transparent 10px) bottom left / 48px 48px no-repeat,
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 5px);
  mix-blend-mode: screen;
}

body.theme-style3 main > .section-block:not(.hero) {
  isolation: isolate;
}

body.theme-style3 main > .section-block:not(.hero)::before {
  content: "";
  position: absolute;
  inset: 1rem clamp(0.75rem, 3vw, 2.2rem);
  z-index: -1;
  pointer-events: none;
  border: 1px solid rgba(89, 215, 222, 0.12);
  background:
    linear-gradient(90deg, rgba(89, 215, 222, 0.1), transparent 18%, transparent 82%, rgba(197, 29, 36, 0.12)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent);
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 26px 100%, 0 calc(100% - 26px));
}

body.theme-style3 .section-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: end;
  gap: 1rem;
}

body.theme-style3 .section-heading .kicker,
body.theme-style3 .section-heading h2 {
  grid-column: 2;
}

body.theme-style3 .section-number {
  grid-row: 1 / span 2;
  min-width: 7rem;
  display: grid;
  place-items: center;
  margin: 0;
  border: 1px solid rgba(197, 29, 36, 0.28);
  background: rgba(13, 10, 10, 0.62);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

body.theme-style3 .social-grid {
  gap: 1.15rem;
}

body.theme-style3 .social-tile {
  min-height: 11.5rem;
  align-items: center;
  padding: 1.25rem 1.35rem;
}

body.theme-style3 .social-icon {
  width: 4.2rem;
  height: 4.2rem;
  border-width: 2px;
  box-shadow: inset 0 0 18px rgba(89, 215, 222, 0.12), 0 0 24px rgba(89, 215, 222, 0.12);
}

body.theme-style3 .social-icon svg {
  width: 2rem;
  height: 2rem;
}

body.theme-style3 .article-card {
  padding-top: 1.6rem;
}

body.theme-style3 .article-card h3::before,
body.theme-style3 .channel-banner strong::before {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  margin-bottom: 0.7rem;
  background: linear-gradient(90deg, var(--cyan), var(--accent));
  box-shadow: 0 0 14px rgba(89, 215, 222, 0.28);
}

body.theme-style3 .channel-banner {
  padding: 0;
}

body.theme-style3 .blog-tools {
  padding: 1rem;
  border: 1px solid rgba(89, 215, 222, 0.16);
  background: rgba(13, 10, 10, 0.54);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

body.theme-style3 .sort-control {
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

body.theme-style3 .article-page {
  position: relative;
}

body.theme-style3 .article-page::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8rem;
  bottom: 4rem;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--cyan), transparent);
  box-shadow: 0 0 18px rgba(89, 215, 222, 0.28);
}

@keyframes style3-panel-pulse {
  50% {
    border-color: rgba(201, 133, 58, 0.34);
    box-shadow: 0 26px 96px rgba(89, 215, 222, 0.1), 0 18px 76px rgba(197, 29, 36, 0.18);
  }
}

body.theme-style3 .hero-dock,
body.theme-style3 .social-tile,
body.theme-style3 .article-card {
  animation: style3-panel-pulse 7s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  body.theme-style3 .hero-dock,
  body.theme-style3 .social-tile,
  body.theme-style3 .article-card {
    animation: none;
  }
}

body.theme-style3 .social-tile:hover,
body.theme-style3 .article-card:hover,
body.theme-style3 .channel-banner:hover,
body.theme-style3 .contact-item:hover {
  border-color: rgba(89, 215, 222, 0.48);
  box-shadow: 0 32px 110px rgba(197, 29, 36, 0.2), 0 20px 90px rgba(89, 215, 222, 0.1);
}

body.theme-style3 .social-icon,
body.theme-style3 .category-pill,
body.theme-style3 .back-link,
body.theme-style3 .article-tags span {
  color: var(--cyan);
  border-color: rgba(89, 215, 222, 0.42);
}

body.theme-style3 .filter-button.is-active {
  color: #fff7ef;
  border-color: var(--burn);
  background: linear-gradient(135deg, rgba(184, 24, 34, 0.95), rgba(91, 11, 16, 0.9));
}

body.theme-style3 .ticker-wall,
body.theme-style3 .latest-section,
body.theme-style3 .showcase-split,
body.theme-style3 .project-strip,
body.theme-style3 .slogan {
  background:
    radial-gradient(circle at 20% 20%, rgba(197, 29, 36, 0.14), transparent 22rem),
    radial-gradient(circle at 84% 42%, rgba(89, 215, 222, 0.07), transparent 22rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent);
}

body.theme-style3 .ticker-row span {
  -webkit-text-stroke-color: rgba(255, 238, 225, 0.55);
}

body.theme-style3 .ticker-row.reverse span,
body.theme-style3 .section-number {
  -webkit-text-stroke-color: rgba(197, 29, 36, 0.72);
}

body.theme-style3 .article-card p,
body.theme-style3 .hero-copy,
body.theme-style3 .article-lead {
  color: #d8cbc2;
}

@media (max-width: 760px) {
  body.theme-style3 .preload-hero .hero-shade {
    background: none;
  }
}

@media (max-width: 760px) {
  .page-hero {
    min-height: auto;
    padding: 4rem 0.9rem 2.4rem;
  }

  .page-hero h1 {
    font-size: clamp(3rem, 22vw, 5.5rem);
    line-height: 0.82;
  }

  .page-hero .hero-copy {
    max-width: 100%;
    margin-top: 1rem;
    font-size: 0.98rem;
    line-height: 1.58;
  }

  .marquee-band.small span {
    font-size: clamp(1.4rem, 12vw, 3.4rem);
    padding-block: 0.75rem;
  }

  .blog-tools {
    align-items: stretch;
    margin-bottom: 1.2rem;
  }

  .blog-tools > div {
    min-width: 0;
  }

  .filter-strip {
    gap: 0.45rem;
    margin: 0.35rem 0 0.55rem;
    padding: 0;
    overflow: visible;
    flex-wrap: wrap;
  }

  .filter-button {
    flex: 1 1 calc(50% - 0.45rem);
    min-height: 2.35rem;
    padding: 0.48rem 0.7rem;
    font-size: 0.78rem;
    border-radius: 0;
    text-align: center;
  }

  .sort-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--line);
    background: rgba(255, 238, 225, 0.035);
  }

  .sort-control select {
    width: 100%;
    margin-top: 0.35rem;
  }

  .blog-grid {
    gap: 0.85rem;
  }

  .blog-card {
    min-height: 13rem;
    padding: 0.95rem;
  }

  .blog-card h3 {
    font-size: 1.18rem;
    line-height: 1.08;
  }

  .blog-card p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    font-size: 0.94rem;
    line-height: 1.48;
  }

  .article-tags {
    gap: 0.35rem;
  }

  .article-tags span {
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: 0.72rem;
  }
}

@media (max-width: 390px) {
  .page-hero h1 {
    font-size: clamp(2.7rem, 21vw, 4.5rem);
  }

  .filter-button {
    font-size: 0.72rem;
    flex-basis: 100%;
  }

  .blog-card {
    min-height: 12.25rem;
  }
}
