﻿:root {
  --ink: #071018;
  --onyx: #101a24;
  --panel: #142231;
  --line: rgba(149, 184, 210, 0.22);
  --muted: #6d7f90;
  --text: #dce7ef;
  --white: #ffffff;
  --blue: #039ee5;
  --cyan: #26c7ff;
  --steel: #304252;
  --paper: #f5f9fc;
  --shadow: 0 22px 60px rgba(2, 15, 25, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--onyx);
  background: var(--paper);
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.narrow {
  width: min(880px, calc(100% - 32px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 11, 17, 0.94);
  border-bottom: 1px solid rgba(38, 199, 255, 0.24);
  backdrop-filter: blur(18px);
}

.nav-shell {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  width: 390px;
  min-width: 240px;
}

.brand img {
  max-height: 78px;
  width: 100%;
  object-fit: contain;
}

.footer-brand {
  width: 170px;
  min-width: 150px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d9ecf8;
  font-size: 0.95rem;
  font-weight: 700;
}

.primary-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 8px;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border: 0;
  border-radius: 8px;
  padding: 0 14px;
  color: #d9ecf8;
  background: transparent;
  cursor: pointer;
  font-weight: 700;
}

.nav-dropdown-button::after {
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: rotate(45deg) translateY(-2px);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 80;
  display: grid;
  min-width: 260px;
  gap: 6px;
  padding: 10px;
  border: 1px solid rgba(38, 199, 255, 0.24);
  border-radius: 8px;
  background: rgba(5, 11, 17, 0.98);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.32);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  min-height: 42px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  padding: 5px 8px;
}

.nav-dropdown-menu span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: #03101a;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  font-size: 0.75rem;
  font-weight: 900;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--white);
  background: rgba(38, 199, 255, 0.14);
  outline: none;
}

.primary-nav .nav-cta {
  color: #03101a;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 10px 24px rgba(3, 158, 229, 0.26);
}

.primary-nav .nav-cta:hover,
.primary-nav .nav-cta:focus-visible {
  color: #03101a;
  background: linear-gradient(135deg, #76ddff, var(--cyan));
}

.hero-section,
.page-hero {
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(3, 158, 229, 0.16) 0 1px, transparent 1px 120px),
    linear-gradient(20deg, rgba(38, 199, 255, 0.12) 0 1px, transparent 1px 128px),
    radial-gradient(circle at 86% 18%, rgba(38, 199, 255, 0.22), transparent 28%),
    linear-gradient(135deg, #05090d 0%, #101a24 48%, #062436 100%);
}

.hero-section {
  min-height: 610px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 54px 0 46px;
}

.hero-section::before {
  position: absolute;
  inset: 18px 0 auto;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(38, 199, 255, 0.58), transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  gap: 46px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-copy h1 {
  max-width: 780px;
  font-size: clamp(2.5rem, 5vw, 4.7rem);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  border: 1px solid rgba(38, 199, 255, 0.28);
  border-radius: 999px;
  padding: 8px 13px;
  color: #d9ecf8;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-kicker-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(38, 199, 255, 0.84);
}

.hero-text {
  max-width: 640px;
  margin: 24px 0 0;
  color: #c3d4df;
  font-size: 1.12rem;
}

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

.hero-signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-signal-row span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(38, 199, 255, 0.22);
  border-radius: 999px;
  padding: 0 12px;
  color: #d9ecf8;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
  font-weight: 900;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  cursor: pointer;
  font-weight: 900;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.btn-primary {
  color: #03101a;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 16px 34px rgba(3, 158, 229, 0.32);
}

.btn-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(38, 199, 255, 0.28);
}

.section .btn-secondary,
.feed-toolbar .btn-secondary {
  color: var(--onyx);
  background: var(--white);
  border-color: rgba(3, 158, 229, 0.26);
}

.hero-visual {
  display: grid;
  grid-template-columns: minmax(180px, 0.72fr) minmax(290px, 1fr);
  gap: 16px;
  align-items: stretch;
}

.hero-brand-card {
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border: 1px solid rgba(38, 199, 255, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(5, 11, 17, 0.08), rgba(5, 11, 17, 0.84)),
    rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.hero-brand-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.06) contrast(1.04);
}

.hero-panel {
  border: 1px solid rgba(38, 199, 255, 0.22);
  border-radius: 8px;
  padding: 22px;
  background: rgba(11, 25, 37, 0.78);
  box-shadow: var(--shadow);
}

.live-panel,
.twitter-panel {
  min-height: 560px;
}

.hero-section .live-panel {
  min-height: 460px;
}

.hero-section .hero-live-list {
  min-height: 310px;
}

.live-tabs,
.twitter-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.live-tab,
.twitter-tab {
  min-height: 38px;
  border: 1px solid rgba(38, 199, 255, 0.24);
  border-radius: 8px;
  color: #d9ecf8;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  font-weight: 900;
}

.live-tab.active,
.live-tab:hover,
.live-tab:focus-visible,
.twitter-tab.active,
.twitter-tab:hover,
.twitter-tab:focus-visible {
  color: #03101a;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  outline: none;
}

.hero-live-list {
  min-height: 438px;
  align-content: start;
}

.twitter-frame {
  min-height: 440px;
  overflow: hidden;
  border: 1px solid rgba(38, 199, 255, 0.2);
  border-radius: 8px;
  background: rgba(5, 11, 17, 0.45);
}

.twitter-frame > a {
  min-height: 440px;
  display: grid;
  place-items: center;
  padding: 18px;
  color: #d9ecf8;
  text-align: center;
  font-weight: 900;
}

.twitter-frame-pending {
  position: relative;
}

.twitter-frame-pending::after {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  z-index: 1;
  border: 1px solid rgba(38, 199, 255, 0.2);
  border-radius: 8px;
  padding: 12px;
  color: #c3d4df;
  background: rgba(5, 11, 17, 0.78);
  content: "X embeds may be blocked by browser privacy settings. Use the link below to open the live feed.";
  font-size: 0.86rem;
  font-weight: 800;
  text-align: center;
}

.twitter-fallback-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 12px;
  border: 1px solid rgba(38, 199, 255, 0.28);
  border-radius: 8px;
  color: #03101a;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  font-weight: 900;
}

.twitter-feed-layout .feed-block {
  background: linear-gradient(180deg, #101a24, #071018);
  border-color: rgba(38, 199, 255, 0.2);
}

.twitter-feed-block .feed-heading h3 {
  color: var(--white);
}

.pulse-header,
.feed-heading,
.section-heading.split,
.feed-toolbar,
.post-meta,
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.pulse-header {
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #c3d4df;
}

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

.ticker-item {
  padding: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.ticker-item strong {
  display: block;
  color: var(--white);
  font-size: 0.98rem;
}

.ticker-item span {
  color: #90a9bb;
  font-size: 0.86rem;
}

.section {
  padding: 74px 0;
}

.section-band {
  background: #eaf3f9;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading h2,
.page-hero h1 {
  color: var(--onyx);
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.hero-section .section-heading h2,
.page-hero h1 {
  color: var(--white);
}

.feed-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.feed-block,
.side-rail,
.source-box {
  border: 1px solid rgba(48, 66, 82, 0.14);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(7, 16, 24, 0.08);
}

.feed-block {
  padding: 20px;
}

.feed-heading {
  margin-bottom: 16px;
}

.feed-heading h3,
.side-rail h2 {
  color: var(--onyx);
  font-size: 1.18rem;
}

.feed-heading a {
  color: var(--blue);
  font-weight: 900;
}

.feed-source-label {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(3, 158, 229, 0.24);
  border-radius: 8px;
  padding: 0 10px;
  color: #04324b;
  background: rgba(38, 199, 255, 0.14);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.article-grid {
  display: grid;
  gap: 18px;
}

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

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

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

.article-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(48, 66, 82, 0.14);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 38px rgba(7, 16, 24, 0.08);
}

.article-image {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #0b1823, #0b93d1);
  overflow: hidden;
}

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

.article-content {
  display: flex;
  min-height: 230px;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.article-card h3 {
  margin-bottom: 10px;
  color: var(--onyx);
  font-size: 1.07rem;
}

.article-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  color: var(--steel);
  font-size: 0.82rem;
  font-weight: 800;
}

.chips{
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 8px;
  padding: 0 9px;
  color: #04324b;
  background: rgba(38, 199, 255, 0.16);
}

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

.category-card,
.side-category-list a {
  border: 1px solid rgba(3, 158, 229, 0.22);
  border-radius: 8px;
  background: var(--white);
  color: var(--onyx);
  font-weight: 900;
}

.category-card {
  min-height: 154px;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  padding: 16px;
  color: var(--white);
  box-shadow: 0 16px 34px rgba(7, 16, 24, 0.12);
}

.category-card::before {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  width: 34px;
  height: 5px;
  border-radius: 999px;
  content: "";
  background: var(--cyan);
  box-shadow: 0 0 22px rgba(38, 199, 255, 0.6);
}

.category-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(5, 11, 17, 0.08), rgba(5, 11, 17, 0.84));
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.22s ease;
}

.category-card span {
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.42);
}

.category-card:hover,
.category-card:focus-visible,
.side-category-list a:hover,
.side-category-list a:focus-visible,
.side-category-list a.active {
  color: #03101a;
  background: linear-gradient(135deg, rgba(38, 199, 255, 0.28), rgba(3, 158, 229, 0.16));
  outline: none;
}

.category-card:hover,
.category-card:focus-visible {
  color: var(--white);
}

.category-card:hover img,
.category-card:focus-visible img {
  transform: scale(1.05);
}

.page-hero {
  padding: 82px 0 62px;
}

.page-hero p:last-child {
  max-width: 720px;
  margin: 18px 0 0;
  color: #c3d4df;
}

.two-column {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.side-rail {
  position: sticky;
  top: 104px;
  padding: 18px;
}

.side-category-list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.side-category-list.single-page{
  max-height: 400px;
  overflow-y: scroll;

}

.side-category-list a {
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 10px 14px;
  font-size: 0.9rem;
  line-height: 1.3;
}

.feed-toolbar {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(48, 66, 82, 0.14);
}

.feed-toolbar p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.single-article {
  padding: 64px 0 76px;
  background: var(--white);
}

.back-link {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--blue);
  font-weight: 900;
}

.single-article h1 {
  color: var(--onyx);
  font-size: clamp(2.1rem, 5vw, 4.4rem);
}

.post-meta {
  justify-content: flex-start;
  margin: 18px 0 28px;
  color: var(--muted);
  font-weight: 800;
}

.post-figure {
  overflow: hidden;
  margin: 0 0 30px;
  border-radius: 8px;
  background: #0b1823;
}

.post-figure img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.post-body {
  color: #384a59;
  font-size: 1.08rem;
}

.source-box {
  margin-top: 28px;
  padding: 22px;
}

.source-box p {
  margin: 0 0 16px;
  color: var(--muted);
}

.site-footer {
  padding: 18px 0;
  color: #c3d4df;
  background: #05090d;
}

.footer-grid p {
  max-width: 520px;
  margin: 0;
  text-align: right;
}

.loading-text,
.error-text {
  min-height: 72px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(3, 158, 229, 0.35);
  border-radius: 8px;
  padding: 16px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.58);
  text-align: center;
}

.feed-placeholder {
  pointer-events: none;
}

.feed-placeholder .article-image,
.placeholder-line {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(144, 169, 187, 0.16), rgba(38, 199, 255, 0.22), rgba(144, 169, 187, 0.16));
  background-size: 220% 100%;
  animation: placeholderPulse 1.25s ease-in-out infinite;
}

.placeholder-line {
  display: block;
  width: 100%;
  height: 12px;
  margin-bottom: 12px;
  border-radius: 999px;
}

.placeholder-line.short {
  width: 34%;
}

.placeholder-line.medium {
  width: 62%;
}

.placeholder-line.title {
  height: 18px;
  width: 82%;
}

@keyframes placeholderPulse {
  from {
    background-position: 120% 0;
  }

  to {
    background-position: -120% 0;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .hero-visual,
  .feed-layout,
  .two-column {
    grid-template-columns: 1fr;
  }

  .hero-brand-card {
    min-height: 300px;
  }

  .article-grid.featured,
  .article-grid.col-3,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .side-rail {
    position: static;
  }
}

@media (max-width: 700px) {
  .nav-shell,
  .primary-nav,
  .section-heading.split,
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-shell {
    padding: 14px 0;
  }

  .primary-nav {
    width: 100%;
    gap: 4px;
  }

  .primary-nav a {
    width: 100%;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-button {
    width: 100%;
    justify-content: space-between;
  }

  .nav-dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    margin-top: 6px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    display: grid;
  }

  .brand {
    width: 300px;
  }

  .footer-brand {
    width: 150px;
  }

  .hero-section {
    min-height: auto;
    padding: 52px 0 42px;
  }

  .hero-brand-card,
  .live-panel,
  .twitter-panel {
    min-height: auto;
  }

  .hero-brand-card {
    aspect-ratio: 16 / 10;
  }

  .hero-section .hero-live-list {
    min-height: 300px;
  }

  .article-grid.featured,
  .article-grid.col-3,
  .article-grid.compact,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid p {
    text-align: left;
  }
}

/* Refined editorial hero */
.hero-section {
  min-height: 635px;
  display: block;
  position: relative;
  overflow: hidden;
  padding: 54px 0 34px;
  color: var(--white);
  background: #05090d;
}

.hero-section::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 9, 13, 0.94) 0%, rgba(5, 9, 13, 0.82) 44%, rgba(5, 9, 13, 0.36) 100%),
    linear-gradient(180deg, rgba(5, 9, 13, 0.18), rgba(5, 9, 13, 0.86));
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.04) contrast(1.08);
  transform: scale(1.02);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(135deg, rgba(38, 199, 255, 0.14) 0 1px, transparent 1px 132px),
    radial-gradient(circle at 14% 24%, rgba(38, 199, 255, 0.26), transparent 24%);
  opacity: 0.78;
}

.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: 547px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}


.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  border: 1px solid rgba(38, 199, 255, 0.34);
  border-radius: 999px;
  padding: 8px 12px;
  color: #d9ecf8;
  background: rgba(5, 11, 17, 0.62);
  font-size: 0.77rem;
  font-weight: 900;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.hero-kicker strong {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 0 9px;
  color: #03101a;
  background: var(--cyan);
}

.hero-copy h1,
.hero-content h1 {
  max-width: 850px;
  color: var(--white);
  font-size: clamp(2.8rem, 6.2vw, 6.25rem);
  line-height: 0.96;
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.36);
}

.hero-text {
  max-width: 690px;
  margin: 22px 0 0;
  color: #d1e1eb;
  font-size: 1.14rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-section .btn-secondary {
  color: var(--white);
  background: rgba(5, 11, 17, 0.5);
  border-color: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(12px);
}

.hero-signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-signal-row span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0 12px;
  color: #d9ecf8;
  background: rgba(5, 11, 17, 0.46);
  font-size: 0.82rem;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.hero-live-desk {
  width: min(100%, 1120px);
  margin-top: 34px;
  border: 1px solid rgba(38, 199, 255, 0.28);
  border-radius: 8px;
  padding: 14px;
  background: rgba(5, 11, 17, 0.78);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.hero-live-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
  color: #c3d4df;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero-live-head .live-tabs {
  width: min(310px, 100%);
  margin: 0;
}

.hero-section .hero-live-list {
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.hero-section .ticker-item {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.07);
}

.hero-section .ticker-item strong {
  font-size: 0.9rem;
  line-height: 1.25;
}

.hero-section .ticker-item span {
  margin-top: 10px;
}

.hero-section .loading-text,
.hero-section .error-text {
  grid-column: 1 / -1;
  color: #c3d4df;
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 980px) {
  .hero-section {
    min-height: auto;
    padding: 44px 0 34px;
  }

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

  .hero-section::before {
    background:
      linear-gradient(180deg, rgba(5, 9, 13, 0.92), rgba(5, 9, 13, 0.72)),
      linear-gradient(90deg, rgba(5, 9, 13, 0.88), rgba(5, 9, 13, 0.56));
  }

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

@media (max-width: 700px) {

  .hero-content h1 {
    font-size: clamp(2.45rem, 13vw, 3.9rem);
  }

  .hero-live-head {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-live-head .live-tabs,
  .hero-section .hero-live-list {
    grid-template-columns: 1fr;
    width: 100%;
  }
}
/* Hero proportion tune */
.hero-section {
  min-height: 620px;
  padding: 42px 0 28px;
}

.hero-content {
  min-height: auto;
  justify-content: flex-start;
}


.hero-kicker {
  margin-bottom: 14px;
}

.hero-content h1 {
  max-width: 760px;
  font-size: clamp(2.55rem, 4.8vw, 4.55rem);
  line-height: 1;
}

.hero-text {
  max-width: 650px;
  margin-top: 16px;
  font-size: 1.06rem;
}

.hero-actions {
  margin-top: 22px;
}

.hero-signal-row {
  margin-top: 16px;
}

.hero-live-desk {
  margin-top: 24px;
  padding: 12px;
}

.hero-section .hero-live-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-section .ticker-item {
  min-height: 86px;
}

.hero-section .ticker-item:nth-child(n+4) {
  display: none;
}

@media (max-width: 980px) {
  .hero-section .hero-live-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .hero-section {
    padding: 34px 0 28px;
  }


  .hero-content h1 {
    font-size: clamp(2.25rem, 11vw, 3.25rem);
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-section .hero-live-list {
    grid-template-columns: 1fr;
  }

  .hero-section .ticker-item {
    min-height: 78px;
  }

  .hero-section .ticker-item:nth-child(n+3) {
    display: none;
  }
}
/* Final hero polish: slimmer ticker, stronger first viewport */
.hero-section {
  min-height: 590px;
  padding: 34px 0 24px;
}

.hero-text {
  max-width: 620px;
}

.hero-actions {
  margin-top: 18px;
}

.hero-signal-row {
  margin-top: 14px;
}

.hero-live-desk {
  margin-top: 18px;
  padding: 10px;
}

.hero-live-head {
  margin-bottom: 8px;
}

.hero-section .ticker-item {
  min-height: 62px;
  padding: 10px;
}

.hero-section .ticker-item strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.hero-section .ticker-item span {
  display: none;
}

@media (max-width: 700px) {
  .hero-live-desk {
    display: none;
  }

  .hero-section {
    min-height: calc(100vh - 74px);
    padding: 34px 0 36px;
  }
}
/* First-viewport fit */
.hero-section {
  min-height: 570px;
  padding: 26px 0 16px;
}

.hero-live-desk {
  margin-top: 14px;
}

/* Restore compact hero wordmark after replacing the logo background */
.hero-logo-mark {
  width: min(280px, 70vw);
  max-height: 64px;
  object-fit: contain;
  object-position: left center;
  margin: 0 0 12px;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.34));
}

@media (max-width: 700px) {
  .hero-logo-mark {
    width: min(230px, 100%);
    max-height: 56px;
  }
}
/* Hero without background image */
.hero-section {
  background:
    linear-gradient(120deg, rgba(38, 199, 255, 0.13) 0 1px, transparent 1px 116px),
    linear-gradient(28deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 148px),
    radial-gradient(circle at 78% 18%, rgba(38, 199, 255, 0.22), transparent 28%),
    radial-gradient(circle at 16% 72%, rgba(3, 158, 229, 0.18), transparent 30%),
    linear-gradient(135deg, #05090d 0%, #101a24 52%, #062436 100%);
}

.hero-section::before {
  background:
    linear-gradient(90deg, rgba(5, 9, 13, 0.52), rgba(5, 9, 13, 0.18)),
    linear-gradient(180deg, rgba(5, 9, 13, 0.08), rgba(5, 9, 13, 0.42));
}

.hero-media {
  display: none;
}

.hero-shade {
  background:
    linear-gradient(135deg, rgba(38, 199, 255, 0.16) 0 1px, transparent 1px 132px),
    radial-gradient(circle at 84% 20%, rgba(38, 199, 255, 0.16), transparent 24%);
  opacity: 0.72;
}
/* Stacked editorial banners */
.banner-stack {
  padding: 34px 0 18px;
  background: linear-gradient(180deg, #f5f9fc, #eaf3f9);
}

.banner-stack-inner {
  display: grid;
  gap: 18px;
}

.promo-banner {
  overflow: hidden;
  border: 1px solid rgba(48, 66, 82, 0.14);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(7, 16, 24, 0.08);
}

.promo-banner h2 {
  max-width: 780px;
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  line-height: 1.08;
}

.promo-banner p {
  max-width: 680px;
  margin: 12px 0 0;
}

.promo-kicker {
  margin: 0 0 10px !important;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.promo-banner-signal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 28px;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(38, 199, 255, 0.15) 0 1px, transparent 1px 96px),
    linear-gradient(135deg, #071018, #142231 58%, #06324a);
}

.promo-banner-signal p:not(.promo-kicker) {
  color: #c3d4df;
}

.promo-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(96px, 1fr));
  gap: 10px;
}

.promo-metrics span {
  min-height: 92px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(38, 199, 255, 0.24);
  border-radius: 8px;
  padding: 12px;
  color: #d9ecf8;
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
  font-weight: 900;
}

.promo-metrics strong {
  display: block;
  color: var(--white);
  font-size: 1.35rem;
}

.promo-banner-ai {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  padding: 18px 28px 18px 18px;
  background: var(--white);
}

.promo-banner-ai h2,
.promo-banner-calendar h2,
.promo-banner-submit h2 {
  color: var(--onyx);
}

.promo-banner-ai p:not(.promo-kicker),
.promo-banner-calendar p:not(.promo-kicker),
.promo-banner-submit p:not(.promo-kicker) {
  color: var(--muted);
}

.promo-image {
  min-height: 210px;
  overflow: hidden;
  border-radius: 8px;
  background: #0b1823;
}

.promo-image img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
}

.promo-banner-calendar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 24px;
  align-items: center;
  padding: 26px 28px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.88)),
    linear-gradient(135deg, rgba(38, 199, 255, 0.2), rgba(3, 158, 229, 0.12));
}

.promo-calendar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.promo-calendar-grid span {
  min-height: 70px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(3, 158, 229, 0.22);
  border-radius: 8px;
  color: #04324b;
  background: rgba(38, 199, 255, 0.13);
  font-weight: 900;
}

.promo-banner-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(234, 243, 249, 0.96)),
    linear-gradient(90deg, rgba(3, 158, 229, 0.16), transparent);
}

.promo-banner-submit .btn {
  flex: 0 0 auto;
}

@media (max-width: 980px) {
  .promo-banner-signal,
  .promo-banner-ai,
  .promo-banner-calendar {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 700px) {
  .banner-stack {
    padding-top: 24px;
  }

  .promo-banner-signal,
  .promo-banner-ai,
  .promo-banner-calendar,
  .promo-banner-submit {
    padding: 20px;
  }

  .promo-banner-submit {
    align-items: stretch;
    flex-direction: column;
  }

  .promo-banner-submit .btn {
    width: 100%;
  }

  .promo-metrics,
  .promo-calendar-grid {
    grid-template-columns: 1fr;
  }
}
/* Stacked feature hero sections */
.hero-showcase {
  display: grid;
  gap: 0;
  background: var(--paper);
}

.feature-hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
}

.feature-hero h2 {
  max-width: 820px;
  font-size: clamp(2.2rem, 5vw, 4.9rem);
  line-height: 0.98;
}

.feature-hero p:not(.promo-kicker) {
  max-width: 650px;
  margin: 18px 0 0;
  font-size: 1.08rem;
}

.feature-hero-market {
  display: flex;
  align-items: center;
  padding: 72px 0;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(38, 199, 255, 0.12) 0 1px, transparent 1px 118px),
    radial-gradient(circle at 82% 30%, rgba(38, 199, 255, 0.22), transparent 30%),
    linear-gradient(135deg, #05090d 0%, #101a24 52%, #062436 100%);
}

.feature-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.44fr);
  gap: 34px;
  align-items: center;
}

.feature-hero-copy .btn {
  margin-top: 28px;
}

.feature-hero-panel {
  border: 1px solid rgba(38, 199, 255, 0.28);
  border-radius: 8px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.feature-hero-panel span {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.feature-hero-panel strong {
  display: block;
  margin: 18px 0 8px;
  color: var(--white);
  font-size: clamp(3.6rem, 8vw, 6rem);
  line-height: 0.9;
}

.feature-hero-panel p {
  color: #c3d4df;
}

.feature-hero-ai {
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: #05090d;
}

.feature-hero-image {
  position: absolute;
  inset: 0;
}

.feature-hero-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 9, 13, 0.9), rgba(5, 9, 13, 0.38)),
    linear-gradient(180deg, transparent, rgba(5, 9, 13, 0.82));
}

.feature-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.08);
}

.feature-hero-overlay {
  position: relative;
  z-index: 1;
  padding: 90px 0;
}

.feature-hero-ai p:not(.promo-kicker),
.feature-hero-market p:not(.promo-kicker) {
  color: #d1e1eb;
}

.feature-hero-editorial {
  display: flex;
  align-items: center;
  padding: 74px 0;
  color: var(--onyx);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(234, 243, 249, 0.98)),
    linear-gradient(135deg, rgba(38, 199, 255, 0.18), rgba(3, 158, 229, 0.08));
}

.feature-hero-split {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) minmax(280px, 0.45fr);
  gap: 32px;
  align-items: center;
}

.feature-hero-number {
  color: rgba(3, 158, 229, 0.28);
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 900;
  line-height: 0.8;
}

.feature-hero-editorial p:not(.promo-kicker) {
  color: var(--muted);
}

.feature-hero-publish p:not(.promo-kicker) {
  color: #d1e1eb;
}

.feature-hero-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-hero-list li {
  min-height: 58px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(3, 158, 229, 0.22);
  border-radius: 8px;
  padding: 0 16px;
  color: #04324b;
  background: var(--white);
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(7, 16, 24, 0.06);
}

.feature-hero-publish {
  display: flex;
  align-items: center;
  min-height: 470px;
  padding: 70px 0;
  background:
    linear-gradient(135deg, rgba(5, 11, 17, 0.94), rgba(16, 26, 36, 0.88)),
    url("https://images.unsplash.com/photo-1455390582262-044cdead277a?auto=format&fit=crop&w=1600&q=80") center / cover;
  color: var(--white);
}

.feature-hero-publish-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.feature-hero-publish .btn {
  flex: 0 0 auto;
}

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

  .feature-hero-number {
    font-size: 4.5rem;
  }
}

@media (max-width: 700px) {
  .feature-hero {
    min-height: auto;
  }

  .feature-hero-market,
  .feature-hero-editorial,
  .feature-hero-publish {
    padding: 46px 0;
  }

  .feature-hero-overlay {
    padding: 72px 0;
  }

  .feature-hero h2 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .feature-hero-publish-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .feature-hero-publish .btn {
    width: 100%;
  }
}

/* Featured authors */

.eg-featured-authors {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.eg-authors-title {
  margin: 0 0 20px;
  color: var(--white);
  font-size: 1.15rem;
}

.eg-author-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.eg-author-item:first-of-type {
  border-top: none;
  padding-top: 0;
}

.eg-author-avatar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.eg-author-info h4 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.eg-author-info h4 a {
  color: var(--text);
}

.eg-author-info h4 a:hover,
.eg-author-info h4 a:focus-visible {
  color: var(--cyan);
}

.eg-author-info span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

@media (max-width: 700px) {
  .eg-featured-authors {
    padding: 20px;
  }

  .eg-author-item {
    gap: 12px;
  }

  .eg-author-avatar {
    width: 40px;
    height: 40px;
    font-size: 0.85rem;
  }
}

/* Pagination */

.pagination {
  margin: 40px 0 0;
}

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

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

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.pagination a.page-numbers:hover,
.pagination a.page-numbers:focus-visible {
  border-color: var(--blue);
  color: var(--white);
  background: var(--blue);
}

.pagination .page-numbers.current {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-color: transparent;
  color: var(--white);
}

.pagination .page-numbers.dots {
  border: none;
  background: none;
  color: var(--muted);
}

.pagination .page-numbers.prev,
.pagination .page-numbers.next {
  padding: 0 16px;
}

@media (max-width: 700px) {
  .pagination .page-numbers {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    font-size: 0.85rem;
  }
}

/* Recent posts (single sidebar) */

.side-rail h2 + .recent-posts-list,
.recent-posts-list {
  display: grid;
  gap: 14px;
  margin-top: 50px;
}

.recent-post-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.recent-post-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.recent-post-thumb {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--panel);
}

.recent-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-post-thumb-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
}

.recent-post-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.recent-post-title {
  color: var(--onyx);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.recent-post-item:hover .recent-post-title,
.recent-post-item:focus-visible .recent-post-title {
  color: var(--blue);
}

.recent-post-date {
  color: var(--muted);
  font-size: 0.78rem;
}

/* 404 page */

.error-hero h1 {
  font-size: clamp(4rem, 14vw, 9rem);
  line-height: 0.95;
}

.error-hero p {
  max-width: 560px;
}

.error-content {
  padding: 56px 0 72px;
  text-align: center;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

.site-search-form {
  display: flex;
  align-items: stretch;
  max-width: 480px;
  margin: 0 auto 48px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
}

.site-search-form input {
  flex: 1;
  min-width: 0;
  border: none;
  padding: 0 16px;
  height: 52px;
  font-size: 0.95rem;
  color: var(--onyx);
  background: transparent;
}

.site-search-form input:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: -2px;
}

.site-search-form button {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  border: none;
  padding: 0 22px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.site-search-form button:hover,
.site-search-form button:focus-visible {
  opacity: 0.88;
}

.error-categories h2 {
  margin-bottom: 4px;
  font-size: 1.2rem;
}

.error-categories .side-category-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
  text-align: left;
}

@media (max-width: 700px) {
  .error-categories .side-category-list {
    grid-template-columns: 1fr;
  }

  .site-search-form {
    flex-direction: column;
  }

  .site-search-form input,
  .site-search-form button {
    height: 48px;
  }
}

/* Search results page */

.page-hero-search {
  margin: 28px 0 0;
  max-width: 480px;
}

/* Contact form */

.contact-form {
  display: grid;
  gap: 20px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  color: var(--onyx);
  font-weight: 700;
  font-size: 0.9rem;
}

.form-row input,
.form-row textarea {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--onyx);
  background: var(--paper);
  font-size: 0.95rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-row textarea {
  resize: vertical;
  min-height: 140px;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(3, 158, 229, 0.16);
}

.contact-form .btn {
  justify-self: start;
}

.form-notice {
  margin-bottom: 24px;
  padding: 16px 18px;
  border-radius: 10px;
  font-weight: 600;
}

.form-notice-success {
  color: #0a6b3d;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.32);
}

.form-notice-error {
  color: #b3261e;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.form-notice-error ul {
  margin: 0;
  padding-left: 18px;
}

@media (max-width: 700px) {
  .contact-form {
    padding: 22px;
  }
}

