:root {
  --blue: #0057b8;
  --blue-2: #009dff;
  --gold: #ffc400;
  --navy: #0b1f3a;
  --ink: #1a1a1a;
  --muted: #5b6675;
  --soft: #f7fafc;
  --sky: #eaf5ff;
  --line: rgba(11, 31, 58, 0.1);
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  --premium: 0 20px 60px rgba(0, 87, 184, 0.15);
  --radius: 18px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow-x: hidden;
}

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

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


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

@media (min-width: 901px) {

  .menu-toggle {
    order: 3;
  }
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(0, 87, 184, 0.34);
  outline-offset: 3px;
}

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

.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--navy);
  color: #fff;
  padding: 12px 16px;
  border-radius: 10px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  width: 100%;
  height: 4px;
  background: rgba(216, 236, 255, 0.9);
}

.reading-progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--blue-2));
}

.nav-shell {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  font-family: Manrope, "Segoe UI", Arial, sans-serif;
  font-weight: 850;
  letter-spacing: 0;
  color: var(--navy);
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 12px 30px rgba(0, 87, 184, 0.2);
}

.brand-logo {
  width: 70px;
  height: 50px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 87, 184, 0.12));
}

.site-header .brand-logo {
  padding: 5px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 10px 22px rgba(0, 102, 204, 0.18);
  filter: none;
}

.brand-name {
  display: grid;
  line-height: 1.05;
}

.brand-name small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.menu-toggle {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 87, 184, 0.14);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(234, 245, 255, 0.92));
  color: var(--navy);
  box-shadow: 0 12px 28px rgba(0, 87, 184, 0.12);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(0, 87, 184, 0.32);
  box-shadow: 0 16px 34px rgba(0, 87, 184, 0.18);
  background:
    linear-gradient(180deg, #ffffff, rgba(234, 245, 255, 0.98));
}

.menu-toggle-icon {
  position: relative;
  width: 23px;
  height: 18px;
  display: block;
}

.menu-toggle-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2.5px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.44);
  transition: transform 180ms ease, opacity 140ms ease, top 180ms ease, width 180ms ease;
}

.menu-toggle-icon span:nth-child(1) {
  top: 0;
}

.menu-toggle-icon span:nth-child(2) {
  top: 7.5px;
  width: 72%;
}

.menu-toggle-icon span:nth-child(3) {
  top: 15px;
}

.menu-toggle[aria-expanded="true"] {
  color: var(--blue);
  border-color: rgba(0, 87, 184, 0.34);
  background: linear-gradient(135deg, #ffffff, rgba(234, 245, 255, 0.98));
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(1) {
  top: 7.5px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(2) {
  opacity: 0;
  transform: translateX(7px);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(3) {
  top: 7.5px;
  transform: rotate(-45deg);
}

.menu-toggle svg,
.icon-btn svg,
.btn svg {
  width: 21px;
  height: 21px;
}

.nav-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 64px;
  display: grid;
  gap: 9px;
  padding: 10px 16px 16px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 22px 36px rgba(11, 31, 58, 0.08);
  transform-origin: top;
  transform: translate3d(0, -10px, 0) scale(0.985);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  will-change: opacity, transform;
  transition:
    opacity 260ms ease,
    transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1),
    visibility 260ms ease;
}

.nav-menu.is-open {
  transform: translate3d(0, 0, 0) scale(1);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-menu a {
  min-height: 48px;
  display: flex;
  align-items: center;
  border-radius: 14px;
  padding: 0 14px;
  color: var(--navy);
  font-weight: 750;
}

.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
  background: var(--sky);
  color: var(--blue);
}

.nav-menu a.eco-nav-link {
  gap: 8px;
  color: #0c6b3f;
  background: rgba(224, 247, 235, 0.78);
  position: relative;
}

.nav-menu a.eco-nav-link::before {
  content: "";
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  border-radius: 80% 0 80% 0;
  background: linear-gradient(135deg, #22c55e, #0f8f52);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
  transform: rotate(-18deg);
}

.nav-menu a.eco-nav-link:hover,
.nav-menu a.eco-nav-link[aria-current="page"] {
  color: #075f37;
  background: linear-gradient(135deg, rgba(220, 252, 231, 0.98), rgba(187, 247, 208, 0.92));
  box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.24), 0 10px 22px rgba(22, 163, 74, 0.12);
}

.ecolife-page {
  background:
    radial-gradient(circle at 12% 8%, rgba(34, 197, 94, 0.13), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(0, 87, 184, 0.12), transparent 30%),
    linear-gradient(180deg, #f8fdf9 0%, #ffffff 42%, #f4fbff 100%);
}

.ecolife-hero {
  padding: 46px 0 24px;
}

.ecolife-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 22px;
  align-items: stretch;
}

.ecolife-hero-copy,
.ecolife-hero-card {
  border: 1px solid rgba(34, 197, 94, 0.24);
  border-radius: 28px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.96), rgba(244, 253, 248, 0.92)),
    repeating-linear-gradient(90deg, rgba(34, 197, 94, 0.08) 0 1px, transparent 1px 58px);
  box-shadow: 0 22px 60px rgba(14, 102, 65, 0.12);
}

.ecolife-hero-copy {
  min-height: 322px;
  padding: clamp(26px, 5vw, 50px);
}

.eco-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  margin-bottom: 16px;
  padding: 0 14px;
  border-radius: 999px;
  color: #08723f;
  background: rgba(220, 252, 231, 0.94);
  font-weight: 900;
}

.eco-chip::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 80% 0 80% 0;
  background: linear-gradient(135deg, #22c55e, #0f8f52);
  transform: rotate(-18deg);
}

.ecolife-hero h1 {
  max-width: 780px;
  font-size: clamp(2rem, 5vw, 4.1rem);
}

.ecolife-hero p {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
}

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

.eco-filter {
  min-height: 42px;
  border: 1px solid rgba(34, 197, 94, 0.26);
  border-radius: 999px;
  padding: 0 18px;
  color: #0b5f3a;
  background: #fff;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.eco-filter:hover,
.eco-filter.is-active {
  color: #fff;
  background: linear-gradient(135deg, #16a34a, #0f8f52);
  box-shadow: 0 12px 24px rgba(22, 163, 74, 0.2);
  transform: translateY(-1px);
}

.ecolife-hero-card {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 322px;
  padding: 26px;
  overflow: hidden;
}

.ecolife-hero-card::before {
  content: "";
  position: absolute;
  inset: 24px 18px auto auto;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 34%, #fff 0 9px, transparent 10px),
    radial-gradient(circle at 66% 62%, rgba(255, 255, 255, 0.8) 0 7px, transparent 8px),
    linear-gradient(135deg, #22c55e, #0057b8);
  opacity: 0.9;
  filter: drop-shadow(0 18px 30px rgba(14, 165, 233, 0.22));
}

.ecolife-hero-card strong {
  position: relative;
  color: #0b5f3a;
  font-family: Manrope, "Segoe UI", Arial, sans-serif;
  font-size: clamp(4.5rem, 11vw, 7rem);
  line-height: 0.85;
}

.ecolife-hero-card p {
  position: relative;
  max-width: 250px;
  margin: 12px 0 0;
  color: var(--navy);
  font-weight: 850;
}

.eco-orbit {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 260px;
  margin-bottom: auto;
}

.eco-orbit span {
  padding: 6px 10px;
  border-radius: 999px;
  color: #075f37;
  background: rgba(220, 252, 231, 0.95);
  font-size: 0.78rem;
  font-weight: 900;
}

.ecolife-strip {
  padding-top: 18px;
  padding-bottom: 18px;
}

.eco-topic-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.eco-topic-row article {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 14px;
  border: 1px solid rgba(0, 87, 184, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 30px rgba(0, 87, 184, 0.08);
}

.eco-topic-row b {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #0057b8, #22c55e);
  line-height: 1;
}

.eco-topic-row span {
  color: var(--navy);
  font-weight: 850;
  line-height: 1.25;
}

.ecolife-section-head {
  align-items: center;
}

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

.eco-article-card {
  display: grid;
  overflow: hidden;
  border: 1.5px solid rgba(0, 87, 184, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 34px rgba(0, 87, 184, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.eco-article-card:hover,
.eco-article-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(34, 197, 94, 0.58);
  box-shadow: 0 24px 48px rgba(0, 87, 184, 0.16), 0 0 0 4px rgba(34, 197, 94, 0.12);
}

.eco-article-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #eaf5ff;
}

.eco-article-body {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.eco-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.eco-meta span {
  padding: 5px 9px;
  border-radius: 999px;
  color: #08723f;
  background: rgba(220, 252, 231, 0.9);
}

.eco-article-card h3 {
  font-size: clamp(1.05rem, 2vw, 1.34rem);
  line-height: 1.18;
}

.eco-article-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.eco-empty-message {
  grid-column: 1 / -1;
  margin: 0;
  padding: 22px;
  border: 1.5px dashed rgba(34, 197, 94, 0.28);
  border-radius: 18px;
  color: #075f37;
  background: rgba(236, 253, 245, 0.86);
  font-weight: 850;
  text-align: center;
}

.eco-article-card details {
  border-top: 1px solid rgba(11, 31, 58, 0.08);
  padding-top: 8px;
}

.eco-article-card summary {
  color: var(--blue);
  font-weight: 900;
  cursor: pointer;
}

.eco-read-link {
  width: fit-content;
  margin-top: 2px;
  color: var(--blue);
  font-weight: 900;
}

main {
  overflow: hidden;
}

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

.section {
  padding: 56px 0;
}

.section-compact {
  padding: 26px 0;
}

.section.soft {
  background:
    linear-gradient(180deg, rgba(234, 245, 255, 0.72), rgba(255, 255, 255, 0.92));
}

.section.sky {
  background: linear-gradient(180deg, #eef6ff, #fff);
}

.home-page {
  position: relative;
  background:
    repeating-linear-gradient(90deg, rgba(0, 87, 184, 0.035) 0 1px, transparent 1px 92px),
    linear-gradient(180deg, #ffffff 0%, #f5fbff 42%, #ffffff 74%, #f7fbff 100%);
}

.home-page .section,
.home-page .section.soft,
.home-page .section.sky {
  background: transparent;
}

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

.section-head p {
  max-width: 620px;
  margin: 8px 0 0;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Manrope, "Segoe UI", Arial, sans-serif;
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.mobile-break {
  display: block;
}

h1 {
  font-size: clamp(2.25rem, 11vw, 4.5rem);
  max-width: 760px;
}

.hero-title {
  width: 100%;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.18;
}

.hero-title span {
  display: block;
  white-space: normal;
}

h2 {
  font-size: clamp(1.75rem, 7vw, 3rem);
}

h3 {
  font-size: 1.15rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0;
  width: fit-content;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--sky);
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 850;
}

.eyebrow::before {
  content: none;
}

.btn-row {
  display: grid;
  gap: 10px;
  width: 100%;
  margin-top: 24px;
}

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 0 18px;
  font-weight: 850;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn:disabled,
.btn[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
  box-shadow: none;
}

.btn.primary {
  background: var(--blue);
  color: #fff;
}

.btn.primary:hover {
  background: #0057b8;
}

.btn.secondary {
  background: #fff;
  border-color: rgba(0, 87, 184, 0.28);
  color: var(--blue);
}

.btn.secondary:hover {
  background: var(--sky);
}

.btn.accent {
  background: linear-gradient(90deg, var(--gold), #ffd95a);
  color: var(--navy);
}

.hero {
  min-height: auto;
  display: grid;
  align-items: start;
  padding: 42px 0 56px;
  background:
    linear-gradient(180deg, #fff 0%, #f4f9ff 74%, #fff 100%);
}

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

.hero-shell {
  display: grid;
  gap: 28px;
}

.hero-heading {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero-heading .eyebrow {
  margin-bottom: 12px;
}

.hero-heading .hero-title {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.hero-lead {
  max-width: 620px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.hero-copy p {
  max-width: 640px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-copy {
  min-width: 0;
  text-align: center;
}

.hero-copy h1,
.hero-copy p {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.hero-copy .eyebrow,
.hero-copy p {
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  justify-content: center;
}

.hero-visual {
  display: block;
  width: min(100%, 980px);
  height: clamp(260px, 46vw, 520px);
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--premium);
  background: var(--navy);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: auto;
  object-fit: cover;
}

.hero-issue-preview {
  width: min(100%, 920px);
  margin: 0 auto;
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--premium);
}

.hero-issue-cover {
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(180deg, var(--navy), #0b1f3a);
}

.hero-issue-cover img {
  width: min(100%, 290px);
  border-radius: 18px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}

.hero-issue-copy {
  display: grid;
  align-content: center;
  padding: 24px;
}

.hero-issue-copy p {
  margin: 12px 0 0;
  color: var(--muted);
}

.issue-card {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 40px rgba(11, 31, 58, 0.2);
  backdrop-filter: blur(14px);
}

.issue-card > span {
  min-width: 0;
}

.issue-card img {
  width: 72px;
  height: 96px;
  min-height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.issue-card strong {
  display: block;
  color: var(--navy);
  font-family: Manrope, "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.2;
}

.issue-card span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 18px;
}

.stat {
  min-height: 76px;
  display: grid;
  align-content: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.stat strong {
  color: var(--blue);
  font-family: Manrope, "Segoe UI", Arial, sans-serif;
  font-size: 1.35rem;
  line-height: 1;
}

.stat span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.25;
}

.chip-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0 16px 10px;
  margin: 0 -16px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.chip-row::-webkit-scrollbar {
  display: none;
}

.chip {
  flex: 0 0 auto;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 15px;
  background: #fff;
  color: var(--navy);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  scroll-snap-align: start;
}

.chip.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.rubric-sections {
  display: grid;
  gap: 54px;
}

.rubric-section {
  display: grid;
  gap: 18px;
}

.rubric-section[hidden],
.article-card[hidden] {
  display: none;
}

.rubric-section-head {
  align-items: end;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.rubric-count {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 87, 184, 0.18);
  border-radius: 999px;
  padding: 0 14px;
  background: var(--sky);
  color: var(--blue);
  font-weight: 850;
  white-space: nowrap;
}

.home-buttons {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 16px 12px;
  margin: 0 -16px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

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

.home-buttons::-webkit-scrollbar {
  display: none;
}

.home-button {
  flex: 0 0 auto;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 87, 184, 0.16);
  border-radius: 16px;
  padding: 0 18px;
  background: #fff;
  color: var(--navy);
  font-weight: 850;
  box-shadow: 0 8px 24px rgba(11, 31, 58, 0.06);
  scroll-snap-align: start;
}

.home-button:hover,
.home-button:focus-visible {
  background: var(--sky);
  color: var(--blue);
}

.article-list,
.issue-list,
.related-list {
  display: grid;
  gap: 16px;
}

.article-card,
.mag-card,
.info-card,
.team-card {
  border: 1.5px solid rgba(0, 87, 184, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 34px rgba(0, 87, 184, 0.08);
  overflow: hidden;
}

.article-card,
.mag-card,
.mini-issue,
.rubric-icon-card {
  animation: card-rise 420ms ease both;
}

.article-card,
.mag-card,
.info-card,
.team-card,
.icon-btn {
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.article-card:hover,
.mag-card:hover,
.info-card:hover,
.team-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 87, 184, 0.32);
  box-shadow: 0 20px 46px rgba(0, 87, 184, 0.13);
}

.article-card:hover,
.article-card:focus-within {
  border-color: rgba(0, 87, 184, 0.78);
  box-shadow:
    0 0 0 4px rgba(0, 87, 184, 0.16),
    0 22px 54px rgba(0, 87, 184, 0.24);
}

.article-card {
  display: grid;
  grid-template-rows: auto 1fr;
}

.issue-list .mag-card {
  grid-template-columns: 1fr;
}

.article-media {
  min-height: 150px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(0, 87, 184, 0.95), rgba(0, 87, 184, 0.82)),
    var(--blue);
  color: #fff;
}

.article-media.gold {
  background:
    linear-gradient(135deg, rgba(255, 196, 0, 0.95), rgba(0, 87, 184, 0.75)),
    var(--gold);
}

.article-media.light {
  background:
    linear-gradient(135deg, #eaf5ff, #fff7d3),
    var(--sky);
  color: var(--blue);
}

.article-media.money {
  background:
    radial-gradient(circle at 22% 24%, rgba(255, 196, 0, 0.7), transparent 30%),
    linear-gradient(135deg, #0b1f3a, #0057b8 58%, #eaf5ff);
}

.article-media.ai {
  background:
    radial-gradient(circle at 26% 24%, rgba(255, 196, 0, 0.72), transparent 28%),
    linear-gradient(135deg, #0b1f3a, #0057b8 58%, #dff7ff);
}

.article-media.eco {
  background:
    radial-gradient(circle at 76% 24%, rgba(255, 196, 0, 0.78), transparent 28%),
    linear-gradient(135deg, #0a4d3c, #1aa37a 58%, #eaf5ff);
}

.article-media.diy {
  background:
    radial-gradient(circle at 28% 30%, rgba(255, 255, 255, 0.7), transparent 24%),
    linear-gradient(135deg, #4b5563, #0057b8 58%, #ffc400);
}

.article-media.thumb {
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: #eef6ff;
}

.article-media.thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-media svg {
  width: 58px;
  height: 58px;
}

.article-body,
.mag-body,
.info-card,
.team-card {
  padding: 18px;
}

.article-body,
.mag-body {
  display: flex;
  flex-direction: column;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.88rem;
}

.article-body p,
.mag-body p,
.info-card p,
.team-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.article-body .btn,
.mag-body .btn {
  width: 100%;
  margin-top: 16px;
  align-self: stretch;
}

.article-body .btn {
  margin-top: auto;
}

.education-feature {
  padding: 34px 0 36px;
}

.education-feature-grid {
  display: grid;
  gap: 18px;
}

.education-quote-panel,
.education-idea-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 87, 184, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 48px rgba(0, 87, 184, 0.1);
}

.education-quote-panel {
  display: grid;
  gap: 0;
}

.education-portrait {
  min-height: 190px;
  background:
    linear-gradient(135deg, rgba(0, 87, 184, 0.08), rgba(255, 216, 77, 0.14));
}

.education-portrait img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  display: block;
  object-fit: cover;
  object-position: center 32%;
}

.education-quote-copy,
.education-idea-panel {
  padding: clamp(20px, 3vw, 30px);
}

.feature-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--blue);
  font: 900 0.78rem/1 Manrope, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
  text-transform: uppercase;
}

.feature-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(255, 196, 0, 0.2);
}

.education-quote-copy blockquote {
  margin: 0;
}

.education-quote-copy blockquote p {
  margin: 0;
  color: var(--navy);
  font: 900 clamp(1.05rem, 2vw, 1.5rem)/1.34 Manrope, "Segoe UI", Arial, sans-serif;
}

.education-quote-copy cite {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.education-idea-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(234, 245, 255, 0.98), rgba(255, 255, 255, 0.92) 58%, rgba(255, 248, 220, 0.58));
}

.education-idea-panel::after {
  content: "";
  position: absolute;
  right: -44px;
  top: -44px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 216, 77, 0.72), transparent 62%),
    radial-gradient(circle, rgba(0, 87, 184, 0.16), transparent 64%);
  opacity: 0.72;
}

.education-idea-panel h2 {
  position: relative;
  z-index: 1;
  max-width: 420px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  line-height: 1.08;
}

.education-idea-panel p {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.learning-path {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.learning-path span {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  border-bottom: 1px solid rgba(0, 87, 184, 0.14);
  color: var(--navy);
  font-weight: 900;
}

.learning-path span:last-child {
  border-bottom: 0;
}

.learning-path b {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  font-size: 0.78rem;
}

@media (min-width: 860px) {
  .education-feature-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    align-items: stretch;
  }

  .education-quote-panel {
    grid-template-columns: minmax(220px, 0.78fr) minmax(0, 1fr);
    min-height: 286px;
  }

  .education-portrait,
  .education-portrait img {
    min-height: 286px;
  }

  .education-quote-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .education-feature {
    padding-top: 26px;
    padding-bottom: 28px;
  }

  .education-quote-panel,
  .education-idea-panel {
    border-radius: 14px;
  }

  .education-quote-copy,
  .education-idea-panel {
    padding: 18px;
  }

  .education-quote-copy blockquote p {
    font-size: 1.02rem;
  }
}

.rubrics-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(234, 245, 255, 0.58) 46%, rgba(255, 255, 255, 0));
}

.rubrics-section::before {
  content: none;
}

.rubrics-section .container {
  position: relative;
}

.rubrics-head {
  align-items: end;
}

.rubrics-head p {
  max-width: 680px;
  margin: 10px 0 0;
  color: var(--muted);
}

.rubric-grid {
  display: grid;
  gap: 14px;
}

.rubric-icon-panel {
  width: 100%;
  max-width: 1119px;
  margin: 0 auto;
  box-sizing: border-box;
  border: 1px solid rgba(11, 31, 58, 0.08);
  border-radius: 16px;
  padding: clamp(22px, 4vw, 42px);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 58px rgba(0, 87, 184, 0.12);
  backdrop-filter: blur(10px);
}

.rubric-icon-head {
  display: grid;
  grid-template-columns: 4px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  max-width: 720px;
  margin-bottom: 24px;
}

.rubric-icon-head > span {
  width: 4px;
  height: 28px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--blue);
}

.rubric-icon-head h2 {
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.rubric-icon-head p {
  max-width: 620px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.rubric-icon-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  min-width: 0;
}

.rubric-icon-card {
  min-width: 0;
  min-height: 176px;
  display: grid;
  grid-template-rows: minmax(112px, 1fr) auto;
  align-items: end;
  justify-items: center;
  gap: 8px;
  border: 2px solid rgba(0, 87, 184, 0.24);
  border-radius: 14px;
  padding: 14px 12px 16px;
  background: transparent;
  color: var(--navy);
  text-align: center;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.9),
    0 16px 32px rgba(0, 87, 184, 0.12),
    0 4px 12px rgba(11, 31, 58, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.rubric-icon-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 87, 184, 0.62);
  background: transparent;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.9),
    0 24px 46px rgba(0, 87, 184, 0.2),
    0 8px 18px rgba(11, 31, 58, 0.08);
}

.rubric-icon-card img {
  width: min(100%, 150px);
  max-width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  mix-blend-mode: normal;
  filter:
    drop-shadow(0 18px 16px rgba(11, 31, 58, 0.16))
    drop-shadow(0 4px 5px rgba(0, 87, 184, 0.12));
  transition: transform 180ms ease, filter 180ms ease;
}

.rubric-icon-card:hover img {
  transform: translateY(-3px) scale(1.03);
  filter:
    drop-shadow(0 22px 18px rgba(11, 31, 58, 0.2))
    drop-shadow(0 6px 8px rgba(0, 87, 184, 0.16));
}

.rubric-icon-card strong {
  max-width: 15ch;
  min-width: 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-family: Manrope, "Segoe UI", Arial, sans-serif;
  font-size: clamp(0.9rem, 1.5vw, 1.04rem);
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.rubric-icon-card-all {
  border-color: rgba(0, 87, 184, 0.34);
  background: transparent;
}

.rubric-all-mark {
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
  align-self: center;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--blue), var(--blue-2), #21c980, var(--blue));
  background-size: 260% 260%;
  color: #fff;
  font: 900 3.4rem/1 Manrope, "Segoe UI", Arial, sans-serif;
  box-shadow: 0 18px 34px rgba(0, 87, 184, 0.18);
  animation: rubric-all-gradient 5.5s ease-in-out infinite;
}

@keyframes rubric-all-gradient {
  0%, 100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rubric-all-mark {
    animation: none;
  }
}

@media (min-width: 540px) {
  .rubric-icon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 760px) {
  .rubric-icon-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
  }

  .rubric-icon-card {
    min-height: 210px;
    padding: 18px 14px 20px;
  }

  .rubric-icon-card img {
    width: min(100%, 168px);
  }
}

@media (max-width: 480px) {
  .rubric-icon-panel {
    padding: 20px 14px 18px;
  }

  .rubric-icon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .rubric-icon-card {
    min-height: 126px;
    grid-template-rows: minmax(78px, 1fr) auto;
    gap: 5px;
    padding: 8px 7px 9px;
  }

  .rubric-icon-card img {
    width: min(100%, 88px);
  }

  .rubric-icon-card strong {
    min-height: 30px;
    font-size: 12px;
    line-height: 1.12;
  }

  .rubric-all-mark {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    font-size: 2.05rem;
  }
}

.rubric-hero {
  background:
    linear-gradient(180deg, #fff, #eef6ff);
}

.mag-card {
  display: grid;
  gap: 0;
}

.latest-card {
  max-width: 920px;
  margin-inline: auto;
  box-shadow: var(--premium);
}

.mag-cover {
  display: grid;
  place-items: center;
  padding: 18px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 24px),
    linear-gradient(180deg, var(--navy), #0b1f3a);
}

.mag-cover img {
  width: min(100%, 260px);
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}

.issue-placeholder {
  min-height: 260px;
  display: grid;
  place-items: center;
  padding: 22px;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at 26% 24%, rgba(255, 196, 0, 0.72), transparent 26%),
    linear-gradient(160deg, var(--navy), var(--blue));
}

.issue-placeholder strong {
  display: block;
  font-size: clamp(2rem, 8vw, 3.4rem);
  line-height: 1;
}

.issue-placeholder span {
  display: block;
  margin-top: 8px;
  font-weight: 850;
}

.unavailable {
  background: #fbfbf8;
}

.unavailable-cover {
  filter: saturate(0.8);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
  background: #fff;
}

.mag-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.issue-list .mag-card {
  border-radius: 22px;
}

.issue-list .mag-cover {
  min-height: 282px;
}

.issue-list .mag-cover img {
  width: min(100%, 190px);
  height: 258px;
  object-fit: contain;
  background: transparent;
}

.mag-actions .btn {
  width: 100%;
}

.section-action {
  display: none;
}

.previous-issues-section {
  position: relative;
  padding-top: clamp(16px, 2.2vw, 28px);
  padding-bottom: clamp(16px, 2.2vw, 28px);
}

.previous-issues-section .section-head {
  margin-bottom: 18px;
}

.previous-issues-section .section-head p {
  max-width: 560px;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.previous-issues {
  grid-template-columns: 1fr;
  gap: 16px;
}

.mini-issue {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 14px;
  border: 1px solid rgba(0, 87, 184, 0.16);
  border-radius: 16px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(234, 245, 255, 0.64));
  box-shadow: 0 16px 36px rgba(0, 87, 184, 0.09);
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.mini-issue:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 87, 184, 0.34);
  box-shadow: 0 22px 46px rgba(0, 87, 184, 0.15);
}

.mini-issue-cover {
  display: grid;
  place-items: center;
  min-height: 236px;
  border-radius: 14px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 22px),
    linear-gradient(160deg, var(--navy), #0d5aa5 58%, #eaf5ff);
  text-decoration: none;
}

.mini-issue-cover img {
  width: min(100%, 148px);
  height: 214px;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 18px 34px rgba(11, 31, 58, 0.28);
}

.mini-issue-body {
  display: grid;
  gap: 8px;
  align-content: start;
}

.mini-issue-body strong {
  display: block;
  color: var(--navy);
  font-family: Manrope, "Segoe UI", Arial, sans-serif;
  font-size: 1.08rem;
  line-height: 1.22;
}

.mini-issue-body span {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
  background: rgba(234, 245, 255, 0.9);
}

.mini-issue-body a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  min-height: 38px;
  margin: 6px auto 0;
  padding: 9px 16px;
  border: 1px solid rgba(0, 87, 184, 0.16);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #0057b8, #0057b8);
  box-shadow: 0 10px 22px rgba(0, 87, 184, 0.18);
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.mini-issue-body a:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #0057b8, #0057b8);
  box-shadow: 0 14px 26px rgba(0, 87, 184, 0.24);
}

.mini-issue-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  gap: 8px;
  align-items: center;
  margin-top: 6px;
}

.mini-issue-body .mini-issue-actions a {
  width: 100%;
  min-height: 38px;
  margin: 0;
  padding: 9px 12px;
}

.mini-issue-body .mini-issue-actions .mini-download-btn {
  padding: 0;
  color: var(--navy);
  background: linear-gradient(135deg, #ffc400, #ffdd57);
  border-color: rgba(255, 196, 0, 0.52);
  box-shadow: 0 10px 22px rgba(255, 196, 0, 0.22);
}

.mini-issue-body .mini-issue-actions .mini-download-btn:hover,
.mini-issue-body .mini-issue-actions .mini-download-btn:focus-visible {
  color: var(--navy);
  background: linear-gradient(135deg, #ffc400, #ffe072);
  border-color: rgba(255, 196, 0, 0.72);
  box-shadow: 0 14px 26px rgba(255, 196, 0, 0.26);
}

.mini-download-btn .download-icon {
  width: 19px;
  height: 19px;
  transition: transform 0.2s ease;
}

.mini-download-btn:hover .download-icon,
.mini-download-btn:focus-visible .download-icon {
  transform: translateY(2px);
}

.filters {
  display: grid;
  gap: 10px;
  margin: 18px 0 22px;
}

.field {
  position: relative;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(0, 87, 184, 0.18);
  border-radius: 16px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  outline: none;
  box-shadow: 0 8px 22px rgba(0, 87, 184, 0.05);
}

.field textarea {
  min-height: 132px;
  padding-top: 14px;
  resize: vertical;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.4;
}

.form-status[data-state="success"] {
  color: #087443;
}

.form-status[data-state="error"] {
  color: #b42318;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(0, 87, 184, 0.55);
  box-shadow: 0 0 0 4px rgba(0, 87, 184, 0.1);
}

.page-hero {
  padding: 42px 0 26px;
  background: linear-gradient(180deg, #eef6ff, #fff);
}

main:not(.home-page) {
  background:
    repeating-linear-gradient(90deg, rgba(0, 87, 184, 0.026) 0 1px, transparent 1px 96px),
    linear-gradient(180deg, #ffffff 0%, #f5fbff 46%, #ffffff 100%);
}

main:not(.home-page) .page-hero,
main:not(.home-page) .article-hero {
  padding: 46px 0 26px;
  background: transparent;
}

main:not(.home-page) .page-hero .container,
main:not(.home-page) .article-hero .container {
  position: relative;
  overflow: hidden;
  border: 1.5px solid rgba(0, 87, 184, 0.14);
  border-radius: 28px;
  padding: clamp(24px, 4vw, 42px);
  background:
    linear-gradient(90deg, rgba(0, 87, 184, 0.12) 0 8px, transparent 8px 100%),
    linear-gradient(112deg, rgba(255, 255, 255, 0.94) 0 56%, rgba(234, 245, 255, 0.86) 56% 100%);
  box-shadow: 0 22px 58px rgba(0, 87, 184, 0.11);
}

main:not(.home-page) .page-hero .container > *,
main:not(.home-page) .article-hero .container > * {
  position: relative;
  z-index: 1;
}

main:not(.home-page) .page-hero .container::after,
main:not(.home-page) .article-hero .container::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: min(36%, 360px);
  background:
    repeating-linear-gradient(90deg, rgba(0, 87, 184, 0.08) 0 1px, transparent 1px 22px),
    linear-gradient(180deg, rgba(255, 196, 0, 0.12), rgba(0, 87, 184, 0.08));
  clip-path: polygon(26% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.page-hero p {
  max-width: 690px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.articles-page .page-hero {
  padding: 34px 0 22px;
}

.articles-page .page-hero .container {
  min-height: 200px;
  padding: 20px clamp(22px, 4vw, 46px);
}

.articles-page .page-hero h1 {
  max-width: 1000px;
  font-size: clamp(2.25rem, 4.3vw, 3.125rem);
  line-height: 1.08;
}

.articles-page .page-hero p {
  max-width: 1000px;
  margin-top: 8px;
}

.articles-page .filters {
  margin: 12px 0 0;
}

.articles-page .field input,
.articles-page .field select {
  min-height: 46px;
}

.archive-page .page-hero {
  padding: 24px 0 12px;
}

.archive-page .page-hero .container {
  min-height: 156px;
  padding: 16px clamp(22px, 4vw, 40px);
}

.archive-page .page-hero h1 {
  max-width: 1000px;
  font-size: clamp(2.2rem, 4.2vw, 3rem);
  line-height: 1.1;
}

.archive-page .page-hero p {
  max-width: 760px;
  margin-top: 8px;
}

.archive-page .filters {
  width: min(100%, 360px);
  margin: 12px 0 0;
  grid-template-columns: 1fr;
}

.archive-page .field select {
  min-height: 44px;
}

.archive-page .issue-list .mag-card {
  border-color: rgba(0, 87, 184, 0.22);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 38px rgba(0, 87, 184, 0.11);
}

.archive-page .issue-list .mag-card:hover,
.archive-page .issue-list .mag-card:focus-within {
  border-color: rgba(0, 87, 184, 0.42);
  box-shadow:
    0 0 0 4px rgba(0, 87, 184, 0.12),
    0 22px 52px rgba(0, 87, 184, 0.16);
}

.archive-page .issue-list .mag-cover {
  background:
    radial-gradient(circle at 20% 18%, rgba(0, 157, 255, 0.25), transparent 32%),
    radial-gradient(circle at 80% 10%, rgba(255, 196, 0, 0.2), transparent 30%),
    linear-gradient(160deg, #dff1ff 0%, #c9e6ff 58%, #eef8ff 100%);
  border-bottom: 1px solid rgba(0, 87, 184, 0.18);
}

.archive-page .issue-list .mag-cover img {
  box-shadow: 0 16px 30px rgba(11, 31, 58, 0.16);
}

.archive-page .issue-list .issue-placeholder {
  color: #fff;
}

.archive-page .mag-body h2 {
  display: none;
}

.archive-page .mag-body {
  gap: 0;
}

.archive-page .mag-body .meta {
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid #0b1f3a;
  color: #0057b8;
  font-size: clamp(1.1rem, 1.65vw, 1.32rem);
  font-weight: 850;
  line-height: 1.15;
}

.archive-page .mag-body .meta span {
  display: inline-flex;
  align-items: center;
}

.archive-page .mag-body .meta span + span::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 999px;
  background: #0057b8;
}

.archive-page .mag-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.archive-page .mag-actions .btn {
  min-height: 44px;
  margin-top: 0;
  padding: 0 12px;
  border-radius: 14px;
  font-size: 0.92rem;
  white-space: nowrap;
}

.about-page {
  background:
    radial-gradient(circle at 12% 10%, rgba(0, 87, 184, 0.1), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f5fbff 48%, #ffffff 100%);
}

.about-hero {
  padding: clamp(34px, 6vw, 76px) 0 28px;
}

.about-hero-shell {
  position: relative;
  display: grid;
  gap: 24px;
  overflow: hidden;
  border: 1.5px solid rgba(0, 87, 184, 0.16);
  border-radius: 30px;
  padding: clamp(24px, 4vw, 48px);
  background:
    linear-gradient(90deg, rgba(0, 87, 184, 0.14) 0 8px, transparent 8px 100%),
    linear-gradient(118deg, rgba(255, 255, 255, 0.96) 0 56%, rgba(234, 245, 255, 0.9) 56% 100%);
  box-shadow: 0 24px 64px rgba(0, 87, 184, 0.12);
}

.about-hero-shell::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: min(34%, 360px);
  background:
    repeating-linear-gradient(90deg, rgba(0, 87, 184, 0.08) 0 1px, transparent 1px 22px),
    linear-gradient(180deg, rgba(255, 196, 0, 0.14), rgba(0, 87, 184, 0.08));
  clip-path: polygon(26% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.about-hero-copy,
.about-issue-card {
  position: relative;
  z-index: 1;
}

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

.about-thanks {
  margin: 16px 0 0;
  color: var(--blue);
  font: 900 clamp(1.3rem, 2.4vw, 2rem)/1.2 Manrope, "Segoe UI", Arial, sans-serif;
}

.about-hero-copy p:not(.about-thanks) {
  max-width: 820px;
  margin: 18px 0 0;
  color: #3d4d63;
  font-size: clamp(1rem, 1.4vw, 1.16rem);
}

.about-issue-card {
  min-height: 260px;
  display: grid;
  align-content: center;
  justify-items: start;
  overflow: hidden;
  border: 1.5px solid rgba(0, 87, 184, 0.18);
  border-radius: 26px;
  padding: 26px;
  background:
    radial-gradient(circle at 78% 20%, rgba(255, 196, 0, 0.38), transparent 26%),
    linear-gradient(145deg, #0b1f3a, #0b1f3a 58%, #0057b8);
  color: #fff;
  box-shadow: 0 20px 52px rgba(11, 31, 58, 0.18);
}

.about-issue-card strong {
  font: 950 clamp(4.5rem, 10vw, 7.5rem)/0.9 Manrope, "Segoe UI", Arial, sans-serif;
  color: #ffc400;
}

.about-issue-card p {
  max-width: 320px;
  margin: 14px 0 0;
  font-weight: 800;
  line-height: 1.35;
}

.about-orbit {
  position: absolute;
  inset: 18px 18px auto auto;
  width: 118px;
  height: 118px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
}

.about-orbit span {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #ffc400;
  box-shadow: 0 0 0 8px rgba(255, 196, 0, 0.14);
}

.about-orbit span:nth-child(1) {
  left: 14px;
  top: 28px;
}

.about-orbit span:nth-child(2) {
  right: 18px;
  top: 18px;
  background: #35d37b;
}

.about-orbit span:nth-child(3) {
  right: 36px;
  bottom: 14px;
  background: #0057b8;
}

.about-content {
  padding-top: 24px;
}

.about-section-head {
  max-width: 820px;
  margin-bottom: 22px;
}

.about-section-head h2,
.about-list-panel h2 {
  font-size: clamp(1.9rem, 4vw, 45px);
}

.about-feature-grid {
  display: grid;
  gap: 16px;
}

.about-feature-card,
.about-list-panel {
  border: 1.5px solid rgba(0, 87, 184, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 40px rgba(0, 87, 184, 0.09);
}

.about-feature-card {
  position: relative;
  min-height: 230px;
  padding: 24px;
}

.about-feature-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: var(--blue);
}

.about-feature-card.accent-gold::before {
  background: var(--gold);
}

.about-feature-card.accent-green::before {
  background: #35d37b;
}

.about-feature-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(0, 87, 184, 0.82), rgba(0, 157, 255, 0.42));
  border: 1px solid rgba(199, 233, 255, 0.42);
  color: #f7fbff;
  font-weight: 950;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    0 12px 26px rgba(0, 87, 184, 0.22);
  text-shadow: 0 1px 8px rgba(0, 24, 48, 0.36);
  backdrop-filter: blur(12px);
}

.about-feature-card h3 {
  margin-top: 18px;
  font-size: 1.35rem;
}

.about-feature-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.about-list-panel {
  margin-top: 18px;
  padding: clamp(22px, 4vw, 34px);
}

.about-check-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.about-check-list li {
  position: relative;
  min-height: 54px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(0, 87, 184, 0.12);
  border-radius: 16px;
  padding: 14px 16px 14px 52px;
  background: linear-gradient(135deg, rgba(234, 245, 255, 0.74), rgba(255, 255, 255, 0.96));
  color: #334155;
  font-weight: 700;
}

.about-check-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, #fff 0 22%, transparent 24%),
    linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 0 0 5px rgba(0, 87, 184, 0.12);
  transform-origin: center;
  animation: about-check-lamp-blink 2.2s ease-in-out infinite;
}

@keyframes about-check-lamp-blink {
  0%, 100% {
    opacity: 0.68;
    transform: scale(0.92);
    filter: brightness(0.9) drop-shadow(0 0 0 rgba(0, 102, 204, 0));
  }

  42%, 62% {
    opacity: 1;
    transform: scale(1.14);
    filter: brightness(1.4) drop-shadow(0 0 9px rgba(0, 157, 255, 0.72));
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-check-list li::before {
    animation: none;
  }
}

@media (min-width: 860px) {
  .about-hero-shell {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    align-items: center;
  }

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

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

@media (max-width: 699px) {
  .about-hero {
    padding: 22px 0 16px;
  }

  .about-hero-shell {
    width: calc(100vw - 32px);
    border-radius: 22px;
    padding: 22px 18px;
  }

  .about-hero-shell::after {
    opacity: 0.35;
  }

  .about-hero-copy h1 {
    font-size: clamp(1.75rem, 8vw, 2.35rem);
    line-height: 1.14;
  }

  .about-thanks {
    font-size: clamp(1.08rem, 5vw, 1.35rem);
  }

  .about-hero-copy p:not(.about-thanks) {
    font-size: 0.96rem;
    line-height: 1.6;
  }

  .about-issue-card {
    min-height: 190px;
    border-radius: 20px;
    padding: 20px;
  }

  .about-issue-card strong {
    font-size: clamp(3.6rem, 18vw, 5rem);
  }

  .about-orbit {
    width: 88px;
    height: 88px;
    opacity: 0.82;
  }

  .about-section-head h2,
  .about-list-panel h2 {
    font-size: clamp(1.55rem, 7vw, 2.05rem);
  }

  .about-feature-card {
    min-height: auto;
    border-radius: 18px;
    padding: 18px;
  }

  .about-list-panel {
    border-radius: 20px;
  }

  .about-check-list li {
    min-height: 0;
    padding: 12px 14px 12px 46px;
    font-size: 0.92rem;
  }
}

.article-hero {
  padding: 30px 0 20px;
  background: linear-gradient(180deg, #eef6ff, #fff);
}

.article-title {
  max-width: 820px;
  font-size: clamp(2rem, 8vw, 3.35rem);
}

.article-hero-image {
  width: min(100%, 660px);
  margin-top: 20px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(13, 44, 76, 0.16);
}

.article-hero-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-layout {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.article-hero + .section {
  padding-top: 22px;
}

.share-panel {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.icon-btn {
  flex: 0 0 auto;
  min-width: 48px;
  min-height: 48px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
}

.reader {
  width: 100%;
  max-width: 720px;
  min-width: 0;
}

.article-opener {
  display: grid;
  gap: 18px;
  align-items: start;
  margin-bottom: 30px;
  padding: 16px;
  border: 1.5px solid rgba(198, 225, 255, 0.24);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(8, 43, 75, 0.86), rgba(3, 28, 52, 0.78));
  box-shadow: 0 16px 38px rgba(0, 17, 34, 0.2);
  backdrop-filter: blur(14px);
}

.article-inline-media {
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #eef6ff;
}

.article-inline-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.article-opener-copy {
  min-width: 0;
}

.article-lead {
  color: rgba(238, 247, 255, 0.92) !important;
  font-size: 1.2rem !important;
  font-weight: 750;
  line-height: 1.7 !important;
}

.article-opener .quote {
  color: #f6fbff;
}

.reader p,
.reader li {
  color: #27364a;
  font-size: 1.08rem;
  line-height: 1.82;
}

.reader p {
  margin: 0 0 22px;
}

.reader h2 {
  margin: 36px 0 14px;
  font-size: clamp(1.55rem, 7vw, 2.15rem);
}

.reader h2,
.reader p,
.reader li,
.quote {
  overflow-wrap: anywhere;
}

.quote {
  margin: 18px 0 0;
  border-left: 4px solid var(--gold);
  padding: 16px 0 16px 18px;
  color: var(--navy);
  font-family: Manrope, "Segoe UI", Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.45;
}

.article-note,
.article-next,
.article-insight,
.article-practice {
  margin: 28px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f8fbff;
}

.article-note strong,
.article-next strong,
.article-deep-grid strong,
.article-practice strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
}

.article-insight h2 {
  margin-top: 0;
}

.article-deep-grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.article-deep-grid > div {
  padding: 16px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(11, 31, 58, 0.06);
}

.article-deep-grid p,
.article-practice p,
.article-note p,
.article-next p {
  margin-bottom: 0;
}

.article-practice {
  border-color: rgba(0, 87, 184, 0.18);
  background: linear-gradient(135deg, #fff, #eef6ff);
}

.article-next {
  background: #fff8dc;
}

html[data-theme="dark"] .article-note,
html[data-theme="dark"] .article-next,
html[data-theme="dark"] .article-insight,
html[data-theme="dark"] .article-practice {
  border-color: var(--it-dark-line) !important;
  background: linear-gradient(145deg, rgba(13, 47, 80, 0.92), rgba(6, 29, 51, 0.9)) !important;
  color: var(--it-dark-text) !important;
}

html[data-theme="dark"] .article-deep-grid > div {
  background: rgba(8, 35, 61, 0.86) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22) !important;
}

html[data-theme="dark"] .article-note strong,
html[data-theme="dark"] .article-next strong,
html[data-theme="dark"] .article-deep-grid strong,
html[data-theme="dark"] .article-practice strong {
  color: var(--it-dark-text) !important;
}

.issue-download-card {
  display: grid;
  gap: 16px;
  align-items: center;
  background: linear-gradient(135deg, #fff8dc, #fff);
}

.issue-download-card img {
  width: 128px;
  max-width: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 14px 30px rgba(11, 31, 58, 0.16);
}

.issue-download-actions {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.newsletter {
  display: grid;
  gap: 18px;
  border-radius: 24px;
  padding: 22px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(11, 31, 58, 0.96), rgba(0, 87, 184, 0.9)),
    var(--navy);
}

.newsletter h2 {
  color: #fff;
}

.newsletter p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.newsletter form {
  display: grid;
  gap: 10px;
}

.newsletter input {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  outline: none;
}

.newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.68);
}

.footer {
  padding: 34px 0 28px;
  background: var(--navy);
  color: #fff;
}

.footer-grid {
  display: grid;
  gap: 24px;
}

.footer p,
.footer a,
.footer small {
  color: rgba(255, 255, 255, 0.76);
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  min-height: 42px;
  display: flex;
  align-items: center;
}

.footer .brand {
  color: #fff;
}

.footer .brand-name small {
  color: rgba(255, 255, 255, 0.68);
}

.grid-2,
.grid-3 {
  display: grid;
  gap: 16px;
}

.hidden {
  display: none !important;
}

@keyframes card-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@media (min-width: 700px) {
  .hero-title span {
    white-space: normal;
  }

  .mobile-break {
    display: block;
  }

  .btn-row,
  .mag-actions,
  .newsletter form,
  .filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-list,
  .issue-list,
  .related-list,
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .article-opener {
    grid-template-columns: minmax(220px, 0.42fr) minmax(0, 0.58fr);
    gap: 20px;
    padding: 18px;
  }

  .issue-download-card {
    grid-template-columns: 132px minmax(0, 1fr);
  }

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

  .article-inline-media img {
    height: 100%;
    min-height: 220px;
    aspect-ratio: auto;
  }

  .mag-card {
    grid-template-columns: 250px 1fr;
  }

  .issue-list .mag-card {
    grid-template-columns: 1fr;
  }

  .home-buttons {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: visible;
    padding: 0;
    margin: 0;
  }

  .home-button {
    flex: initial;
    min-height: 58px;
    text-align: center;
  }

  .hero-buttons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 24px;
  }

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

@media (max-width: 699px) {
  .container {
    width: min(1120px, calc(100% - 48px));
  }

  .brand {
    min-width: 0;
  }

  .brand-name {
    max-width: calc(100vw - 118px);
    overflow: hidden;
    white-space: nowrap;
  }

  .menu-toggle {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    position: fixed;
    top: 11px;
    right: 16px;
    z-index: 70;
  }

  .menu-toggle-icon {
    width: 21px;
    height: 16px;
  }

  .menu-toggle-icon span {
    height: 2.3px;
  }

  .menu-toggle-icon span:nth-child(2) {
    top: 6.8px;
  }

  .menu-toggle-icon span:nth-child(3) {
    top: 13.6px;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(1),
  .menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(3) {
    top: 6.8px;
  }

  .hero {
    min-height: auto;
    padding: 12px 0 14px;
  }

  .hero-shell,
  .hero-issue-preview,
  .hero-issue-copy {
    min-width: 0;
  }

  .hero-issue-preview {
    width: 100%;
    max-width: 100%;
  }

  .hero-issue-copy,
  .rubric-feature {
    overflow: hidden;
  }

  .hero-issue-copy h2,
  .hero-issue-copy p,
  .rubric-feature h3,
  .rubric-feature p {
    overflow-wrap: anywhere;
  }

  .hero-issue-copy .mag-actions {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .hero-issue-copy .btn {
    width: 100%;
    min-width: 0;
    padding-inline: 12px;
  }

  .hero-title span {
    white-space: normal;
  }

  .hero-lead {
    max-width: 320px;
    margin-top: 14px;
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .section-head {
    display: block;
  }

  .section-head h2 {
    max-width: 340px;
    font-size: clamp(1.95rem, 8vw, 2.35rem);
  }

  .article-list,
  .issue-list,
  .related-list,
  .previous-issues {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .article-card,
  .mag-card,
  .mini-issue {
    min-width: 0;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(0, 87, 184, 0.1);
  }

  .article-card:hover,
  .article-card:focus-within,
  .mag-card:hover,
  .mini-issue:hover {
    transform: translateY(-2px);
  }

  .article-media.thumb img {
    aspect-ratio: 4 / 3;
  }

  .article-body,
  .mag-body {
    padding: 10px;
  }

  .article-body h2,
  .mag-body h2 {
    font-size: 0.98rem;
    line-height: 1.18;
  }

  .articles-page .article-body .meta {
    display: none;
  }

  .articles-page .article-body h3 {
    font-size: 14px;
    line-height: 1.18;
  }

  .article-body p,
  .mag-body p {
    display: -webkit-box;
    margin-top: 7px;
    font-size: 0.8rem;
    line-height: 1.38;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .articles-page .article-body p {
    font-size: 8px;
    line-height: 1.35;
    margin-bottom: 14px;
  }

  .meta {
    gap: 5px;
    margin-bottom: 7px;
    font-size: 0.7rem;
  }

  .archive-page .mag-body .meta {
    gap: 4px 6px;
    margin-bottom: 8px;
    padding-bottom: 8px;
    font-size: clamp(0.82rem, 3.7vw, 0.98rem);
    line-height: 1.18;
  }

  .article-body .btn,
  .mag-body .btn {
    min-height: 38px;
    padding-inline: 8px;
    font-size: 0.82rem;
  }

  .article-body .btn {
    margin-top: auto;
    transform: none;
  }

  .articles-page .article-body .btn.secondary:hover,
  .articles-page .article-body .btn.secondary:focus-visible {
    transform: none;
    box-shadow: inset 0 0 0 1px rgba(0, 87, 184, 0.24);
  }

  .mag-body .btn {
    margin-top: 10px;
  }

  .mag-actions {
    gap: 7px;
    margin-top: 10px;
    grid-template-columns: 1fr;
  }

  .archive-page .mag-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-top: 2px;
  }

  .archive-page .mag-actions .btn {
    min-height: 34px;
    margin-top: 0;
    padding-inline: 6px;
    border-radius: 11px;
    font-size: 0.74rem;
  }

  .issue-list .mag-cover {
    min-height: 172px;
    padding: 10px;
  }

  .issue-list .mag-cover img {
    width: min(100%, 112px);
    height: 156px;
    border-radius: 10px;
  }

  .mini-issue {
    gap: 10px;
    padding: 10px;
  }

  .mini-issue-cover {
    min-height: 166px;
    border-radius: 12px;
  }

  .mini-issue-cover img {
    width: min(100%, 108px);
    height: 150px;
    border-radius: 10px;
  }

  .mini-issue-body strong {
    font-size: 0.95rem;
  }

  .mini-issue-body span,
  .mini-issue-body a {
    font-size: 0.76rem;
  }

  .hero-grid {
    gap: 10px;
  }

  .hero .eyebrow {
    margin-bottom: 8px;
  }

  .hero h1 {
    font-size: clamp(1.25rem, 5.2vw, 2.42rem);
  }

  .article-title,
  .page-hero h1 {
    font-size: clamp(2rem, 8.5vw, 2.85rem);
    overflow-wrap: anywhere;
  }

  main:not(.home-page) .page-hero .container,
  main:not(.home-page) .article-hero .container {
    padding: 24px;
  }

  .article-layout {
    display: block;
  }

  .reader {
    max-width: 100%;
  }

  .reader p,
  .reader li {
    font-size: 1rem;
    line-height: 1.76;
  }

  .article-lead {
    font-size: 1.06rem !important;
  }

  .reader h2 {
    font-size: clamp(1.55rem, 8vw, 1.95rem);
  }

  .quote {
    font-size: 1.06rem;
    line-height: 1.55;
  }

  .article-opener {
    gap: 14px;
    padding: 12px;
    margin-bottom: 24px;
    border-radius: 16px;
  }

  .article-inline-media {
    border-radius: 12px;
  }

  .article-inline-media img {
    aspect-ratio: 16 / 9;
  }

  .article-insight,
  .article-note,
  .article-practice,
  .article-next,
  .article-deep-grid > div {
    max-width: 100%;
    overflow: hidden;
  }

  .share-panel {
    margin-bottom: 26px;
  }

  .hero-copy p {
    display: -webkit-box;
    margin-top: 10px;
    font-size: 0.98rem;
    line-height: 1.48;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hero-buttons {
    margin-top: 14px;
    padding-bottom: 6px;
  }

  .hero-buttons .home-button {
    min-height: 46px;
    padding: 0 15px;
    border-radius: 14px;
  }

  .hero .btn-row {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 14px;
  }

  .hero .btn {
    min-height: 48px;
  }

  .stats {
    display: none;
  }

  .hero-visual,
  .hero-visual img {
    min-height: clamp(196px, 32svh, 254px);
  }

  .issue-card {
    grid-template-columns: 58px 1fr;
    gap: 10px;
    padding: 9px;
    border-radius: 16px;
  }

  .issue-card img {
    width: 58px;
    height: 78px;
    min-height: auto;
  }

  .issue-card strong {
    font-size: 0.94rem;
  }

  .issue-card span {
    font-size: 0.82rem;
    line-height: 1.35;
  }
}

@media (min-width: 940px) {
  .nav-shell {
    min-height: 74px;
  }

  .menu-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-menu a {
    min-height: 42px;
    padding: 0 12px;
  }

  .hero {
    min-height: auto;
    align-items: start;
    padding: 46px 0 68px;
  }

  .hero-shell {
    gap: 36px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(440px, 1.18fr);
    align-items: center;
    gap: 56px;
  }

  .hero-copy {
    text-align: left;
  }

  .hero-heading .hero-title {
    max-width: 860px;
    text-align: center;
    font-size: clamp(2.35rem, 3.4vw, 3.25rem);
    line-height: 1.16;
  }

  .hero-title span {
    white-space: nowrap;
  }

  .mobile-break {
    display: none;
  }

  .hero-issue-preview {
    grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
  }

  .hero-issue-cover {
    min-height: 430px;
  }

  .hero-issue-copy {
    padding: 42px;
  }

  .btn-row {
    display: flex;
    width: auto;
  }

  .btn-row .btn {
    min-width: 190px;
  }

  .section {
    padding: 82px 0;
  }

  .latest-card {
    grid-template-columns: 300px minmax(0, 1fr);
  }

  .latest-card .mag-body {
    display: grid;
    align-content: center;
    padding: 34px;
  }

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

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

  .section-action {
    display: inline-flex;
  }

  .rubric-feature {
    grid-template-columns: 170px minmax(0, 1fr) auto;
    padding: 34px;
  }

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

  .article-layout {
    grid-template-columns: 168px minmax(0, 720px);
    align-items: start;
    justify-content: center;
  }

  .share-panel {
    position: sticky;
    top: 96px;
    display: grid;
    overflow: visible;
  }

  .newsletter {
    grid-template-columns: 1fr 0.85fr;
    align-items: center;
    padding: 34px;
  }

  .footer-grid {
    grid-template-columns: 1.3fr repeat(3, 1fr);
  }
}

@media (max-width: 420px) {
  .container {
    width: min(1120px, calc(100% - 48px));
  }

  .nav-shell {
    width: min(1120px, calc(100% - 24px));
  }

  h1 {
    font-size: clamp(2.1rem, 12vw, 3.1rem);
  }

  main:not(.home-page) .page-hero .container,
  main:not(.home-page) .article-hero .container {
    width: calc(100vw - 32px);
    padding: 22px 18px;
    border-radius: 22px;
  }

  main:not(.home-page) .page-hero .container::after,
  main:not(.home-page) .article-hero .container::after {
    width: 44%;
    opacity: 0.72;
  }

  main:not(.home-page) .page-hero h1,
  main:not(.home-page) .article-title {
    max-width: 100%;
    font-size: clamp(1.82rem, 9vw, 2.25rem);
    line-height: 1.12;
    overflow-wrap: anywhere;
  }

  main:not(.home-page) .filters {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: clamp(1.45rem, 6.5vw, 1.9rem);
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-copy p {
    font-size: 1rem;
  }

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

  .hero-visual,
  .hero-visual img {
    min-height: 230px;
  }

  .issue-card {
    grid-template-columns: 58px 1fr;
  }

  .issue-card img {
    width: 58px;
    height: 78px;
    min-height: auto;
  }
}

.magazine-hero {
  position: relative;
  min-height: auto;
  padding: 32px 0 24px;
  background: transparent;
  overflow: hidden;
  isolation: isolate;
}

.magazine-hero::before {
  content: "";
  position: absolute;
  inset: 18px max(18px, calc((100vw - 1210px) / 2)) 16px;
  z-index: -2;
  border-radius: 28px;
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.88) 0 42%, rgba(234, 245, 255, 0.72) 42% 72%, rgba(255, 248, 220, 0.44) 72% 100%);
  box-shadow: 0 24px 70px rgba(0, 87, 184, 0.08);
}

.magazine-hero::after {
  content: "";
  position: absolute;
  right: max(-150px, calc((100vw - 1120px) / 2 - 180px));
  top: 20px;
  z-index: -1;
  width: min(48vw, 620px);
  height: 82%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(0, 87, 184, 0.12), transparent 68%);
}

.magazine-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 26px;
  align-items: center;
}

.magazine-hero-copy {
  position: relative;
  min-width: 0;
  max-width: 680px;
  padding: 12px 0 14px 34px;
  text-align: left;
  transform: translateY(-14px);
}

.magazine-hero-copy::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 7px;
  border-radius: 999px;
  background: linear-gradient(180deg, #0057b8, #ffd84d, #2fbf71);
}

.magazine-hero-copy::after {
  content: "";
  position: absolute;
  left: 22px;
  bottom: -18px;
  width: min(260px, 58%);
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 104, 201, 0.2), rgba(255, 216, 77, 0.3), transparent);
}

.magazine-hero-copy .eyebrow {
  margin-bottom: 14px;
}

.magazine-hero-copy .hero-title {
  max-width: 780px;
  margin: 0 auto;
  color: var(--navy);
  font-size: clamp(3.15rem, 13vw, 5.85rem);
  line-height: 0.96;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.magazine-hero-subtitle {
  max-width: 500px;
  margin: 0;
  color: var(--navy);
  font: 900 clamp(1.56rem, 2.2vw, 2.05rem)/1.14 Manrope, "Segoe UI", Arial, sans-serif;
  text-align: center;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.magazine-hero-subtitle span {
  display: block;
  white-space: nowrap;
}

.magazine-hero-lead {
  max-width: 540px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: clamp(0.94rem, 1.05vw, 1.02rem);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.magazine-hero-actions {
  justify-content: flex-start;
  margin-top: 22px;
}

.magazine-hero-actions .btn {
  min-height: 48px;
  padding-inline: 24px;
  border: 0;
  background: linear-gradient(135deg, #0057b8 0%, #0077dd 48%, #15b86a 100%);
  box-shadow:
    0 16px 30px rgba(0, 98, 204, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.18) inset;
}

.magazine-hero-actions .btn:hover,
.magazine-hero-actions .btn:focus-visible {
  background: linear-gradient(135deg, #004da6 0%, #0066cc 46%, #10a862 100%);
  box-shadow:
    0 20px 36px rgba(0, 98, 204, 0.3),
    0 0 0 4px rgba(0, 102, 204, 0.12);
}

.magazine-showcase {
  position: relative;
  width: min(100%, 560px);
  min-height: 330px;
  margin: 0 auto;
  border: 1px solid rgba(0, 87, 184, 0.12);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 46%, rgba(0, 87, 184, 0.18), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(234, 245, 255, 0.82));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 24px 60px rgba(0, 87, 184, 0.12);
  isolation: isolate;
}

.magazine-showcase::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 44px;
  z-index: -1;
  height: 74px;
  border-radius: 50%;
  background: rgba(11, 31, 58, 0.13);
  filter: blur(24px);
}

.cover-stack {
  position: absolute;
  display: block;
  width: clamp(118px, 15vw, 160px);
  border-radius: 18px;
  color: inherit;
  filter: drop-shadow(0 22px 28px rgba(11, 31, 58, 0.22));
  transition: transform 0.18s ease, filter 0.18s ease;
}

.cover-stack picture,
.cover-stack img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.cover-stack:hover {
  filter: drop-shadow(0 28px 34px rgba(11, 31, 58, 0.24));
}

.cover-back {
  left: 18%;
  top: 72px;
  z-index: 1;
  transform: rotate(-10deg);
}

.cover-mid {
  right: 16%;
  top: 84px;
  z-index: 2;
  transform: rotate(8deg);
}

.cover-front {
  left: 50%;
  top: 48px;
  z-index: 3;
  width: clamp(136px, 18vw, 184px);
  transform: translateX(-50%) rotate(0deg);
}

.cover-back:hover {
  transform: translateY(-6px) rotate(-5deg);
}

.cover-mid:hover {
  transform: translateY(-6px) rotate(4deg);
}

.cover-front:hover {
  transform: translateX(-50%) translateY(-6px) rotate(0deg);
}

.showcase-badge {
  position: absolute;
  z-index: 5;
  max-width: 270px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(0, 87, 184, 0.2);
  border-radius: 999px;
  padding: 7px 13px;
  background: rgba(255, 255, 255, 0.93);
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 850;
  line-height: 1.25;
  overflow-wrap: anywhere;
  box-shadow: 0 12px 26px rgba(0, 87, 184, 0.12);
  backdrop-filter: blur(10px);
}

.badge-top {
  left: 50%;
  top: 18px;
  transform: translateX(-50%);
}

.badge-side {
  right: 18px;
  top: 142px;
}

.badge-bottom {
  left: 32px;
  bottom: 34px;
  background: #fff8dc;
}

.showcase-shadow {
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 26px;
  z-index: 0;
  height: 22px;
  border-radius: 50%;
  background: rgba(11, 31, 58, 0.14);
  filter: blur(14px);
}

@media (min-width: 940px) {
  .magazine-hero {
    padding: 34px 0 28px;
  }

  .magazine-hero-grid {
    grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.92fr);
    gap: 34px;
    min-height: 340px;
  }

  .magazine-hero-copy {
    text-align: left;
  }

  .magazine-hero-copy .hero-title,
  .magazine-hero-subtitle,
  .magazine-hero-lead {
    margin-left: 0;
    margin-right: 0;
  }

  .magazine-hero-copy .hero-actions {
    justify-content: flex-start;
  }

  .magazine-showcase {
    min-height: 330px;
  }
}

.magazine-hero + .section {
  padding-top: 52px;
}

.education-feature + .rubrics-section {
  padding-top: 30px;
}

@media (max-width: 699px) {
  .magazine-hero {
    padding: 22px 0 30px;
    background: transparent;
  }

  .magazine-hero::before {
    inset: 12px 10px 18px;
    border-radius: 22px;
  }

  .magazine-hero::after {
    right: -140px;
    top: 43%;
    width: 420px;
    height: 57%;
  }

  .magazine-hero-grid {
    gap: 22px;
  }

  .magazine-hero-copy {
    max-width: 100%;
    padding: 18px 0 10px 20px;
    text-align: left;
    transform: translateY(-8px);
  }

  .magazine-hero-copy::before {
    top: 20px;
    bottom: 12px;
    width: 5px;
  }

  .magazine-hero-copy::after {
    left: 20px;
    bottom: -8px;
    width: 180px;
    height: 5px;
  }

  .magazine-hero-copy .hero-title {
    font-size: clamp(2.55rem, 16vw, 4.2rem);
    line-height: 1;
  }

  .magazine-hero-subtitle {
    max-width: 340px;
    font-size: clamp(0.94rem, 3.85vw, 1.05rem);
    line-height: 1.14;
  }

  .magazine-hero-lead {
    max-width: 340px;
    margin-top: 14px;
    font-size: 0.98rem;
    line-height: 1.58;
  }

  .magazine-hero-copy .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, 320px);
    margin-left: auto;
    margin-right: auto;
  }

  .magazine-hero-copy .btn {
    width: 100%;
  }

  .magazine-showcase {
    width: min(100%, 320px);
    min-height: 302px;
    margin-top: 4px;
    border-radius: 24px;
    overflow: hidden;
  }

  .cover-stack {
    width: clamp(98px, 28vw, 118px);
  }

  .cover-front {
    width: clamp(116px, 32vw, 138px);
  }

  .cover-back {
    left: 8%;
    top: 84px;
  }

  .cover-mid {
    right: 7%;
    top: 96px;
  }

  .cover-front {
    top: 62px;
  }

  .showcase-badge {
    max-width: 160px;
    min-height: 36px;
    padding: 7px 10px;
    font-size: 0.74rem;
  }

  .badge-top {
    top: 16px;
  }

  .badge-side {
    right: 10px;
    top: 154px;
  }

  .badge-bottom {
    left: 14px;
    bottom: 22px;
  }
}

@media (max-width: 420px) {
  main:not(.home-page) .page-hero .container,
  main:not(.home-page) .article-hero .container {
    width: calc(100vw - 32px) !important;
    padding: 22px 18px !important;
  }

  main:not(.home-page) .page-hero .container::after,
  main:not(.home-page) .article-hero .container::after {
    opacity: 0.28;
  }

  main:not(.home-page) .page-hero h1,
  main:not(.home-page) .article-title {
    max-width: 100% !important;
    font-size: clamp(1.55rem, 7.2vw, 1.82rem) !important;
    line-height: 1.14 !important;
  }

  main:not(.home-page) .page-hero p,
  main:not(.home-page) .article-hero p {
    max-width: 100%;
    font-size: 0.94rem;
    line-height: 1.55;
  }

  main:not(.home-page) .filters {
    grid-template-columns: 1fr !important;
  }
}

@media (min-width: 940px) {
  .archive-page .issue-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

  .archive-page .issue-list .mag-cover {
    min-height: 230px;
    padding: 14px;
  }

  .archive-page .issue-list .mag-cover img {
    width: min(100%, 150px);
    height: 210px;
    border-radius: 13px;
  }

  .archive-page .mag-body {
    padding: 16px;
  }

  .archive-page .mag-body .meta {
    flex-wrap: nowrap;
    gap: 0;
    white-space: nowrap;
  }

  .archive-page .mag-actions {
    gap: 8px;
  }

  .archive-page .mag-actions .btn {
    min-height: 40px;
    border-radius: 12px;
    font-size: 0.86rem;
  }
}

/* Final archive card pass: compact, even cards with paired actions. */
.archive-page .issue-list {
  align-items: stretch;
}

.archive-page .issue-list .mag-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1.5px solid rgba(0, 87, 184, 0.18);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(0, 87, 184, 0.1);
}

.archive-page .issue-list .mag-cover {
  min-height: 210px;
  padding: 14px;
  background:
    radial-gradient(circle at 24% 16%, rgba(0, 157, 255, 0.27), transparent 30%),
    radial-gradient(circle at 82% 8%, rgba(255, 196, 0, 0.22), transparent 28%),
    linear-gradient(155deg, #dff1ff 0%, #cbe8ff 58%, #edf8ff 100%);
}

.archive-page .issue-list .mag-cover img {
  width: min(100%, 150px);
  height: 206px;
  border-radius: 13px;
  object-fit: contain;
  box-shadow: 0 14px 28px rgba(11, 31, 58, 0.16);
}

.archive-page .mag-body {
  display: grid;
  grid-template-rows: auto auto;
  gap: 12px;
  padding: 14px;
}

.archive-page .mag-body .meta {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  min-width: 0;
  margin: 0;
  padding-bottom: 9px;
  border-bottom: 2px solid #0b1f3a;
  color: #0057b8;
  font-size: clamp(0.98rem, 1.35vw, 1.16rem);
  font-weight: 900;
  line-height: 1.15;
  white-space: nowrap;
}

.archive-page .mag-body .meta span {
  min-width: 0;
}

.archive-page .mag-body .meta span + span::before {
  width: 5px;
  height: 5px;
  margin: 0 7px;
}

.archive-page .mag-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.archive-page .mag-actions .btn {
  min-height: 36px;
  margin: 0;
  padding: 0 8px;
  border-radius: 11px;
  font-size: 0.8rem;
  line-height: 1;
  white-space: nowrap;
}

.archive-page .mag-actions .download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.archive-page .mag-actions .download-btn .download-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}

.archive-page .mag-actions .download-btn:hover .download-icon,
.archive-page .mag-actions .download-btn:focus-visible .download-icon {
  transform: translateY(2px);
}

.issue-download-actions .download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.issue-download-actions .download-btn .download-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}

.issue-download-actions .download-btn:hover .download-icon,
.issue-download-actions .download-btn:focus-visible .download-icon {
  transform: translateY(2px);
}

@media (min-width: 940px) {
  .archive-page .issue-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 699px) {
  .archive-page .page-hero .container {
    min-height: 230px;
  }

  .archive-page .page-hero p {
    font-size: 0.8775rem;
  }

  .archive-page .issue-list .mag-card {
    border-radius: 15px;
  }

  .archive-page .issue-list .mag-cover {
    min-height: 150px;
    padding: 8px;
  }

  .archive-page .issue-list .mag-cover img {
    width: min(100%, 100px);
    height: 138px;
    border-radius: 9px;
  }

  .archive-page .mag-body {
    gap: 8px;
    padding: 9px;
  }

  .archive-page .mag-body .meta {
    padding-bottom: 7px;
    font-size: clamp(0.68rem, 3.15vw, 0.82rem);
  }

  .archive-page .mag-body .meta span + span::before {
    width: 4px;
    height: 4px;
    margin: 0 5px;
  }

  .archive-page .mag-actions {
    gap: 5px;
  }

  .archive-page .mag-actions .btn {
    min-height: 30px;
    padding: 0 4px;
    border-radius: 9px;
    font-size: 0.66rem;
  }
}

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

  .eco-topic-row,
  .ecolife-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .ecolife-hero {
    padding-top: 22px;
  }

  .ecolife-hero-copy,
  .ecolife-hero-card {
    border-radius: 22px;
  }

  .ecolife-hero-copy {
    min-height: 0;
    padding: 24px 18px;
  }

  .ecolife-hero h1 {
    font-size: clamp(1.85rem, 8vw, 2.4rem);
  }

  .ecolife-hero p {
    font-size: 0.94rem;
    line-height: 1.55;
  }

  .ecolife-hero-card {
    min-height: 190px;
    padding: 18px;
  }

  .ecolife-hero-card::before {
    width: 104px;
    height: 104px;
  }

  .eco-topic-row {
    gap: 8px;
  }

  .eco-topic-row article {
    min-height: 84px;
    display: grid;
    gap: 8px;
    padding: 10px;
    border-radius: 14px;
  }

  .eco-topic-row b {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    font-size: 0.72rem;
  }

  .eco-topic-row span {
    font-size: 0.76rem;
  }

  .ecolife-section-head {
    display: grid;
    align-items: start;
  }

  .ecolife-grid {
    gap: 10px;
  }

  .eco-article-card {
    border-radius: 16px;
  }

  .eco-article-card img {
    aspect-ratio: 1.12 / 1;
  }

  .eco-article-body {
    gap: 7px;
    padding: 10px;
  }

  .eco-meta {
    font-size: 0.62rem;
  }

  .eco-meta span {
    padding: 3px 6px;
  }

  .eco-article-card h3 {
    font-size: 0.82rem;
    line-height: 1.17;
  }

  .eco-article-card p,
  .eco-article-card summary,
  .eco-read-link {
    font-size: 0.7rem;
    line-height: 1.38;
  }
}

/* EcoLife full articles */
.eco-card-image {
  display: block;
  overflow: hidden;
}

.eco-card-actions {
  margin-top: 4px;
}

.eco-card-actions .btn {
  width: 100%;
  min-height: 42px;
  border-radius: 14px;
}

.ecolife-reader-page {
  background:
    radial-gradient(circle at 10% 8%, rgba(34, 197, 94, 0.12), transparent 28%),
    radial-gradient(circle at 92% 16%, rgba(0, 87, 184, 0.12), transparent 30%),
    linear-gradient(180deg, #f8fdf9 0%, #fff 48%, #f5fbff 100%);
}

.eco-reader {
  padding: 34px 0 64px;
}

.eco-back {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-bottom: 18px;
  padding: 0 14px;
  border-radius: 999px;
  color: #08723f;
  background: rgba(220, 252, 231, 0.92);
  font-weight: 900;
}

.eco-reader-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 22px;
  align-items: stretch;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(34, 197, 94, 0.22);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 60px rgba(0, 87, 184, 0.12);
}

.eco-reader-copy {
  display: grid;
  align-content: center;
  gap: 14px;
  min-height: 320px;
  padding: clamp(8px, 2vw, 22px);
}

.eco-reader-copy h1 {
  max-width: 760px;
  font-size: clamp(2rem, 4.4vw, 4rem);
}

.eco-reader-copy p {
  margin: 0;
  color: var(--muted);
  font-weight: 850;
}

.eco-reader-cover {
  width: 100%;
  height: 100%;
  min-height: 320px;
  max-height: 520px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 18px 38px rgba(11, 31, 58, 0.16);
}

.eco-reader-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 0;
}

.eco-reader-gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(0, 87, 184, 0.12);
  box-shadow: 0 14px 30px rgba(0, 87, 184, 0.08);
}

.eco-reader-body {
  max-width: 900px;
  margin: 28px auto 0;
  padding: clamp(20px, 4vw, 44px);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 48px rgba(0, 87, 184, 0.1);
}

.eco-reader-body p {
  margin: 0 0 18px;
  color: #0b1f3a;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.82;
}

.eco-reader-body p:first-child {
  color: var(--navy);
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
  font-weight: 850;
}

.eco-reader-next {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

@media (max-width: 760px) {
  .eco-reader {
    padding-top: 18px;
  }

  .eco-reader-hero {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .eco-reader-copy {
    min-height: 0;
  }

  .eco-reader-cover {
    min-height: 220px;
    max-height: 320px;
    border-radius: 18px;
  }

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

  .eco-reader-body {
    margin-top: 16px;
    border-radius: 18px;
  }

  .eco-reader-body p {
    font-size: 0.94rem;
    line-height: 1.72;
  }
}


/* EcoLife hero polish */
.ecolife-hero {
  padding: 30px 0 12px;
}

.ecolife-hero-grid {
  grid-template-columns: minmax(0, 1.28fr) minmax(300px, 0.72fr);
}

.ecolife-hero-copy,
.ecolife-hero-card {
  min-height: 300px;
}

.ecolife-hero h1 {
  max-width: 680px;
  font-size: clamp(2rem, 3.3vw, 2.5rem);
  line-height: 1.12;
}

.ecolife-hero p {
  max-width: 680px;
  font-size: clamp(0.98rem, 1.3vw, 1rem);
  line-height: 1.65;
}

.eco-visual-card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 18px;
  background:
    radial-gradient(circle at 74% 12%, rgba(34, 197, 94, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(235, 250, 242, 0.95));
}

.eco-visual-card::before {
  display: none;
}

.eco-photo-stack {
  position: relative;
  min-height: 188px;
}

.eco-photo-stack img {
  position: absolute;
  display: block;
  object-fit: cover;
  border: 7px solid rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 42px rgba(6, 95, 70, 0.18);
}

.eco-photo-main {
  inset: 0 8px 8px 22px;
  width: calc(100% - 30px);
  height: calc(100% - 8px);
  border-radius: 24px;
  transform: rotate(-2deg);
}

.eco-photo-float {
  width: 118px;
  height: 96px;
  border-radius: 18px;
}

.eco-photo-float-one {
  right: 0;
  bottom: 0;
  transform: rotate(5deg);
}

.eco-photo-float-two {
  left: 0;
  top: 18px;
  transform: rotate(-7deg);
}

.eco-nature-card {
  overflow: hidden;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(235, 250, 242, 0.94));
}

.eco-nature-image {
  display: block;
  width: 100%;
  height: min(34vw, 330px);
  min-height: 230px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow:
    0 22px 46px rgba(6, 95, 70, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.eco-visual-caption {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 4px;
  width: min(100%, 280px);
  margin: -8px 0 0 auto;
  padding: 16px 18px;
  border: 1px solid rgba(34, 197, 94, 0.22);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 38px rgba(11, 31, 58, 0.1);
  backdrop-filter: blur(10px);
}

.eco-visual-caption span {
  color: #08723f;
  font-weight: 900;
}

.eco-visual-caption span b {
  font-size: 1.28em;
}

.eco-visual-caption strong {
  color: var(--navy);
  font-size: 1.42rem;
  line-height: 1;
}

.eco-visual-caption p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.ecolife-articles-section {
  margin-top: -64px;
  padding-top: 42px;
}

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

  .ecolife-articles-section {
    margin-top: -24px;
    padding-top: 28px;
  }
}

@media (max-width: 520px) {
  .ecolife-hero {
    padding-top: 18px;
  }

  .ecolife-hero h1 {
    font-size: clamp(1.8rem, 7vw, 2.18rem);
  }

  .ecolife-hero-copy,
  .ecolife-hero-card {
    min-height: 0;
  }

  .eco-photo-stack {
    min-height: 178px;
  }

  .eco-photo-float {
    width: 96px;
    height: 78px;
  }

  .eco-visual-caption {
    width: 100%;
    margin-top: 0;
  }
}


/* EcoLife card and reader refresh */
.ecolife-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.eco-article-card {
  position: relative;
  grid-template-rows: auto 1fr;
  border: 1px solid rgba(0, 87, 184, 0.14);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 253, 250, 0.98));
  box-shadow: 0 18px 36px rgba(0, 87, 184, 0.1);
}

.eco-article-card:hover,
.eco-article-card:focus-within {
  transform: translateY(-5px);
  border-color: rgba(0, 163, 82, 0.6);
  box-shadow: 0 28px 54px rgba(0, 87, 184, 0.16), 0 0 0 4px rgba(34, 197, 94, 0.12);
}

.eco-card-image {
  position: relative;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(135deg, #0b1f3a, #0aa661);
}

.eco-card-image::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  background: linear-gradient(180deg, transparent, rgba(3, 26, 51, 0.5));
  pointer-events: none;
}

.eco-article-card img {
  aspect-ratio: 4 / 3;
  transition: transform 240ms ease;
}

.eco-article-card:hover img,
.eco-article-card:focus-within img {
  transform: scale(1.04);
}

.eco-card-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  color: #073b27;
  background: rgba(231, 255, 239, 0.92);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
  font-size: 0.76rem;
  font-weight: 950;
}

.eco-article-body {
  align-content: start;
  gap: 9px;
  padding: 14px;
}

.eco-meta {
  color: #526174;
  font-size: 0.72rem;
}

.eco-meta span {
  padding: 4px 8px;
  color: #075f37;
  background: rgba(220, 252, 231, 0.82);
}

.eco-article-card h3 {
  display: -webkit-box;
  min-height: 3.6em;
  overflow: hidden;
  color: var(--navy);
  font-size: clamp(0.98rem, 1.15vw, 1.12rem);
  line-height: 1.2;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

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

.eco-read-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin-top: 2px;
  padding: 8px 12px;
  border: 1px solid rgba(0, 87, 184, 0.24);
  border-radius: 999px;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.82);
  font-weight: 950;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.eco-read-pill:hover,
.eco-read-pill:focus-visible {
  color: #fff;
  background: linear-gradient(135deg, #0057b8, #0aa661);
  box-shadow: 0 14px 28px rgba(0, 87, 184, 0.18);
}

.eco-reader-hero-magazine {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 24px;
  background:
    radial-gradient(circle at 8% 14%, rgba(34, 197, 94, 0.14), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 250, 245, 0.96));
}

.eco-reader-hero-magazine .eco-reader-copy h1 {
  font-size: clamp(2rem, 3.8vw, 3.45rem);
  line-height: 1.08;
}

.eco-reader-hero-magazine .eco-reader-copy p {
  max-width: 740px;
  color: #526174;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.7;
  font-weight: 650;
}

.eco-reader-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.eco-reader-meta-line span {
  padding: 8px 12px;
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 999px;
  color: #075f37;
  background: rgba(236, 253, 245, 0.86);
  font-weight: 900;
}

.eco-reader-media {
  position: relative;
  min-height: 320px;
}

.eco-reader-media .eco-reader-cover {
  height: 100%;
  min-height: 320px;
  border: 8px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 56px rgba(0, 87, 184, 0.16);
}

.eco-reader-mini {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: grid;
  min-width: 118px;
  padding: 12px 14px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, rgba(0, 87, 184, 0.94), rgba(10, 166, 97, 0.94));
  box-shadow: 0 18px 32px rgba(0, 87, 184, 0.22);
}

.eco-reader-mini span {
  font-size: 0.78rem;
  font-weight: 850;
}

.eco-reader-mini b {
  font-size: 2.2rem;
  line-height: 1;
}

.eco-reader-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.eco-reader-highlights article {
  padding: 14px 16px;
  border: 1px solid rgba(0, 87, 184, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 30px rgba(0, 87, 184, 0.08);
}

.eco-reader-highlights span {
  display: block;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 850;
}

.eco-reader-highlights strong {
  display: block;
  margin-top: 4px;
  color: var(--navy);
  font-size: 1.12rem;
}

.eco-reader-gallery-polished {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.eco-reader-gallery-polished figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(0, 87, 184, 0.1);
}

.eco-reader-gallery-polished img {
  height: 100%;
  border-radius: 0;
  border: 0;
  box-shadow: none;
}

.eco-reader-gallery-polished figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  background: rgba(3, 26, 51, 0.78);
  font-size: 0.78rem;
  font-weight: 950;
}

.eco-reader-body-magazine {
  max-width: 960px;
  overflow: auto;
  border: 1px solid rgba(0, 87, 184, 0.08);
}

.eco-inline-photo {
  width: min(42%, 340px);
  margin: 8px 0 18px 24px;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(0, 87, 184, 0.12);
}

.eco-inline-photo.is-left {
  float: left;
  margin: 8px 24px 18px 0;
}

.eco-inline-photo.is-right {
  float: right;
}

.eco-inline-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.eco-inline-photo figcaption {
  padding: 8px 10px 10px;
  color: #075f37;
  background: rgba(236, 253, 245, 0.92);
  font-size: 0.76rem;
  font-weight: 900;
}

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

@media (max-width: 900px) {
  .ecolife-grid,
  .eco-reader-gallery-polished {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .eco-reader-hero-magazine {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .ecolife-grid {
    gap: 10px;
  }

  .eco-article-body {
    padding: 10px;
  }

  .eco-card-badge,
  .eco-meta,
  .eco-read-pill {
    font-size: 0.68rem;
  }

  .eco-reader-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .eco-reader-highlights article {
    padding: 10px;
    border-radius: 14px;
  }

  .eco-reader-highlights strong {
    font-size: 0.86rem;
  }

  .eco-reader-highlights article:nth-child(3) {
    grid-column: 1 / -1;
  }

  .eco-inline-photo,
  .eco-inline-photo.is-left,
  .eco-inline-photo.is-right {
    float: none;
    width: 100%;
    margin: 14px 0;
  }
}

/* Simple EcoLife leaf */
.nav-menu a.eco-nav-link::before {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  border-radius: 100% 0 100% 45%;
  background:
    linear-gradient(132deg, transparent 0 43%, rgba(255, 255, 255, 0.72) 44% 49%, transparent 50% 100%),
    linear-gradient(135deg, #5fe686 0%, #18b75f 54%, #08713f 100%);
  box-shadow:
    inset -1px -1px 2px rgba(4, 96, 57, 0.22),
    0 0 0 3px rgba(34, 197, 94, 0.1);
  filter: none;
  transform: rotate(-34deg);
  animation: none;
}

.nav-menu a.eco-nav-link:hover::before,
.nav-menu a.eco-nav-link[aria-current="page"]::before {
  filter: none;
}

.eco-chip::before {
  width: 18px;
  height: 13px;
  flex: 0 0 18px;
  border-radius: 100% 0 100% 45%;
  background:
    linear-gradient(132deg, transparent 0 43%, rgba(255, 255, 255, 0.72) 44% 49%, transparent 50% 100%),
    radial-gradient(circle at 28% 30%, #73e58f 0 18%, transparent 19%),
    linear-gradient(135deg, #2ed66f 0%, #13a85b 52%, #087c42 100%);
  box-shadow:
    inset -2px -2px 4px rgba(4, 120, 69, 0.32),
    inset 2px 2px 3px rgba(255, 255, 255, 0.42),
    0 0 0 4px rgba(34, 197, 94, 0.1);
  transform: rotate(-36deg) skewX(-4deg);
  transform-origin: 55% 55%;
}

.eco-chip::before {
  width: 17px;
  height: 12px;
  flex-basis: 17px;
}

/* About cards softer accents */
.about-feature-card {
  overflow: hidden;
}

.about-feature-card::before {
  inset: 22px auto auto 24px;
  width: 42px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), rgba(0, 87, 184, 0.28));
  box-shadow: 0 8px 18px rgba(0, 87, 184, 0.16);
}

.about-feature-card.accent-gold::before {
  background: linear-gradient(90deg, var(--gold), rgba(255, 196, 0, 0.26));
  box-shadow: 0 8px 18px rgba(255, 196, 0, 0.16);
}

.about-feature-card.accent-green::before {
  background: linear-gradient(90deg, #35d37b, rgba(53, 211, 123, 0.25));
  box-shadow: 0 8px 18px rgba(53, 211, 123, 0.15);
}

.about-feature-icon {
  margin-top: 12px;
}

@media (max-width: 520px) {
  .about-feature-card::before {
    inset: 16px auto auto 18px;
    width: 34px;
    height: 4px;
  }

  .about-feature-icon {
    margin-top: 10px;
  }
}


/* EcoLife magazine articles */
.eco-visual-action {
  width: min(100%, 300px);
  gap: 8px;
}

.eco-visual-action span {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  color: #075f37;
  background: rgba(220, 252, 231, 0.86);
  font-size: 0.78rem;
}

.eco-visual-action p {
  max-width: 240px;
}

.eco-visual-action a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 34px;
  margin-top: 4px;
  padding: 8px 13px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #0057b8, #0aa661);
  box-shadow: 0 12px 24px rgba(0, 87, 184, 0.2);
  font-size: 0.82rem;
  font-weight: 950;
  text-decoration: none;
}

.eco-magazine-section {
  padding-top: 18px;
}

.eco-magazine-grid {
  display: grid;
  gap: 24px;
}

.eco-mag-full-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
  gap: 24px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(0, 87, 184, 0.16);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(239, 248, 255, 0.94) 52%, rgba(240, 255, 247, 0.9) 100%);
  box-shadow: 0 22px 48px rgba(0, 87, 184, 0.12);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.eco-mag-full-card:hover,
.eco-mag-full-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(0, 87, 184, 0.35);
  box-shadow: 0 30px 62px rgba(0, 87, 184, 0.16), 0 0 0 4px rgba(34, 197, 94, 0.09);
}

.eco-mag-full-card:nth-child(even) .eco-mag-full-media {
  order: 2;
}

.eco-mag-full-media {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 100%;
  border-radius: 20px;
  background: linear-gradient(135deg, #0b1f3a, #0057b8 58%, #0aa661);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.eco-mag-full-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 240ms ease;
}

.eco-mag-full-card:hover .eco-mag-full-media img,
.eco-mag-full-card:focus-within .eco-mag-full-media img {
  transform: scale(1.04);
}

.eco-mag-full-media span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #073b27;
  background: rgba(231, 255, 239, 0.92);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
  font-size: 0.82rem;
  font-weight: 950;
}

.eco-mag-full-body {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 8px 6px;
}

.eco-mag-full-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.eco-mag-full-meta > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #0057b8, #0aa661);
  box-shadow: 0 14px 26px rgba(0, 87, 184, 0.22);
  font-size: 0.92rem;
  font-weight: 950;
}

.eco-mag-full-meta small {
  color: #08723f;
  font-size: 0.9rem;
  font-weight: 900;
}

.eco-mag-full-body h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.45rem, 2.5vw, 2.5rem);
  line-height: 1.12;
}

.eco-mag-full-lead {
  margin: 0;
  color: #31435b;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  font-weight: 850;
  line-height: 1.55;
}

.eco-mag-full-text {
  display: grid;
  gap: 10px;
  max-width: 74ch;
}

.eco-mag-full-text p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.05vw, 1.04rem);
  line-height: 1.72;
}

.eco-mag-full-actions {
  display: flex;
  margin-top: 4px;
}

@media (max-width: 900px) {
  .eco-mag-full-card,
  .eco-mag-full-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .eco-mag-full-card:nth-child(even) .eco-mag-full-media {
    order: initial;
  }

  .eco-mag-full-media img {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 520px) {
  .eco-magazine-grid {
    gap: 16px;
  }

  .eco-mag-full-card {
    gap: 14px;
    padding: 12px;
    border-radius: 22px;
  }

  .eco-mag-full-media {
    border-radius: 16px;
  }

  .eco-mag-full-body {
    gap: 10px;
    padding: 0 2px 4px;
  }

  .eco-mag-full-body h3 {
    font-size: 1.2rem;
    line-height: 1.18;
  }

  .eco-mag-full-lead,
  .eco-mag-full-text p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .eco-mag-full-meta > span {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .eco-mag-full-media span,
  .eco-mag-full-meta small {
    font-size: 0.74rem;
  }
}

/* Contests page */
.contests-page {
  background:
    radial-gradient(circle at 10% 12%, rgba(0, 87, 184, 0.1), transparent 30%),
    radial-gradient(circle at 88% 10%, rgba(255, 196, 0, 0.12), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #fff 46%, #f6fbff 100%);
}

.contests-hero {
  padding: clamp(34px, 6vw, 72px) 0 22px;
}

.contests-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: clamp(20px, 4vw, 42px);
  align-items: center;
  overflow: hidden;
  border: 1.5px solid rgba(0, 87, 184, 0.14);
  border-radius: 28px;
  padding: clamp(24px, 5vw, 52px);
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.94) 0 48%, rgba(234, 245, 255, 0.74) 48% 76%, rgba(255, 248, 220, 0.42) 76% 100%);
  box-shadow: 0 24px 70px rgba(0, 87, 184, 0.09);
}

.contests-copy {
  position: relative;
  z-index: 1;
}

.contests-copy h1 {
  max-width: 720px;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.08;
}

.contests-copy p {
  max-width: 700px;
  margin: 18px 0 0;
  color: #3d4d63;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.65;
  font-weight: 750;
}

.contests-board {
  position: relative;
  display: grid;
  gap: 14px;
  z-index: 1;
}

.notice-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 92px;
  padding: 18px;
  border: 1px solid rgba(0, 87, 184, 0.13);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 34px rgba(0, 87, 184, 0.1);
  transform: rotate(-1deg);
}

.notice-card:nth-child(2) {
  margin-left: 28px;
  transform: rotate(1.2deg);
}

.notice-card:nth-child(3) {
  margin-left: 10px;
  transform: rotate(-0.6deg);
}

.notice-card span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 15px;
  color: #fff;
  background: var(--blue);
  font-weight: 950;
}

.notice-card.is-gold span {
  color: var(--navy);
  background: var(--gold);
}

.notice-card.is-green span {
  background: #22c55e;
}

.notice-card strong {
  color: var(--navy);
  font-size: 1.15rem;
}

.contests-empty-section {
  padding-top: 24px;
}

.contests-empty-card {
  display: grid;
  justify-items: center;
  gap: 10px;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(26px, 5vw, 46px);
  border: 1.5px dashed rgba(0, 87, 184, 0.24);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 46px rgba(0, 87, 184, 0.08);
  text-align: center;
}

.contests-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #0057b8);
  font-weight: 950;
}

.contests-empty-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.contests-empty-card p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 760px) {
  .contests-shell {
    grid-template-columns: 1fr;
    width: calc(100vw - 32px);
    border-radius: 22px;
    padding: 22px 18px;
  }

  .contests-copy h1 {
    font-size: clamp(2rem, 9vw, 2.7rem);
  }

  .contests-copy p {
    font-size: 0.98rem;
  }

  .notice-card,
  .notice-card:nth-child(2),
  .notice-card:nth-child(3) {
    min-height: 74px;
    margin-left: 0;
    transform: none;
  }
}

/* 404 page */
.not-found-page {
  min-height: calc(100vh - 88px);
  background:
    radial-gradient(circle at 12% 16%, rgba(0, 102, 204, 0.12), transparent 30%),
    radial-gradient(circle at 86% 10%, rgba(255, 196, 0, 0.12), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 56%, #f4f9ff 100%);
}

.not-found-hero {
  padding: clamp(28px, 6vw, 72px) 0;
}

.not-found-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(22px, 4vw, 44px);
  overflow: hidden;
  min-height: 430px;
  padding: clamp(26px, 5vw, 56px);
  border: 1px solid rgba(0, 87, 184, 0.16);
  border-radius: 28px;
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.98) 0 47%, rgba(231, 243, 255, 0.9) 47% 73%, rgba(255, 251, 229, 0.72) 73% 100%);
  box-shadow: 0 26px 70px rgba(0, 87, 184, 0.14);
}

.not-found-card::before {
  content: "";
  position: absolute;
  inset: 18px auto 18px 18px;
  width: 7px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--blue), #ffc400, #22c55e);
}

.not-found-copy {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  gap: 18px;
  padding-left: 18px;
}

.not-found-copy h1 {
  max-width: 620px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.not-found-copy p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  font-weight: 650;
  line-height: 1.72;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.not-found-visual {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  min-height: 330px;
}

.not-found-logo-wrap {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 116px;
  height: 92px;
  border: 1px solid rgba(0, 87, 184, 0.13);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 38px rgba(0, 87, 184, 0.12);
  backdrop-filter: blur(10px);
}

.not-found-logo-wrap img {
  width: 86px;
  height: auto;
}

.not-found-code {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.4vw, 16px);
  color: var(--blue);
  font-family: Manrope, "Segoe UI", Arial, sans-serif;
  font-size: clamp(5.4rem, 12vw, 10rem);
  font-weight: 950;
  line-height: 0.9;
  text-shadow: 0 20px 44px rgba(0, 87, 184, 0.18);
}

.not-found-code span {
  display: grid;
  place-items: center;
  min-width: 0.72em;
}

.not-found-code span:nth-child(2) {
  color: #ffc400;
  transform: translateY(-0.08em);
}

.not-found-note {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 18px;
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid rgba(0, 87, 184, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 38px rgba(11, 31, 58, 0.1);
  backdrop-filter: blur(12px);
}

.not-found-note b {
  color: var(--navy);
  font-size: 1.02rem;
}

.not-found-note span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.45;
}

@media (max-width: 820px) {
  .not-found-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .not-found-visual {
    min-height: 280px;
    order: -1;
  }
}

@media (max-width: 520px) {
  .not-found-hero {
    padding: 18px 0 34px;
  }

  .not-found-card {
    gap: 16px;
    padding: 22px 18px 20px;
    border-radius: 24px;
  }

  .not-found-card::before {
    inset: 18px auto 18px 14px;
    width: 5px;
  }

  .not-found-copy {
    gap: 14px;
    padding-left: 12px;
  }

  .not-found-copy h1 {
    font-size: clamp(2.25rem, 11vw, 3.15rem);
  }

  .not-found-copy p {
    font-size: 0.95rem;
  }

  .not-found-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .not-found-actions .btn {
    width: 100%;
  }

  .not-found-visual {
    min-height: 235px;
  }

  .not-found-logo-wrap {
    top: 8px;
    right: 8px;
    width: 88px;
    height: 70px;
    border-radius: 18px;
  }

  .not-found-logo-wrap img {
    width: 66px;
  }

  .not-found-code {
    font-size: clamp(4.3rem, 24vw, 6.6rem);
  }

  .not-found-note {
    left: 8px;
    right: 8px;
    bottom: 6px;
    padding: 12px 14px;
    border-radius: 18px;
  }

  .not-found-note b {
    font-size: 0.9rem;
  }

  .not-found-note span {
    font-size: 0.78rem;
  }
}

/* Home subscription section */
.home-subscribe-section {
  position: relative;
  overflow: hidden;
  padding-top: 34px;
  padding-bottom: 62px;
}

.subscribe-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: clamp(22px, 4vw, 46px);
  align-items: center;
  overflow: hidden;
  border: 1.5px solid rgba(0, 87, 184, 0.14);
  border-radius: 28px;
  padding: clamp(24px, 5vw, 52px);
  background:
    radial-gradient(circle at 84% 16%, rgba(255, 196, 0, 0.18), transparent 24%),
    linear-gradient(112deg, rgba(255, 255, 255, 0.95) 0 48%, rgba(234, 245, 255, 0.78) 48% 76%, rgba(236, 253, 245, 0.62) 76% 100%);
  box-shadow: 0 24px 70px rgba(0, 87, 184, 0.09);
}

.subscribe-panel::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 34%, rgba(255, 255, 255, 0.88) 0 12px, transparent 13px),
    linear-gradient(135deg, rgba(0, 87, 184, 0.22), rgba(53, 211, 123, 0.18));
}

.subscribe-copy,
.subscribe-form {
  position: relative;
  z-index: 1;
}

.subscribe-copy h2 {
  max-width: 720px;
  font-size: clamp(2.1rem, 4.6vw, 3.9rem);
  line-height: 1.08;
}

.subscribe-copy p {
  max-width: 640px;
  margin: 16px 0 0;
  color: #3d4d63;
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  line-height: 1.7;
}

.subscribe-index-line strong {
  display: inline-flex;
  align-items: center;
  margin-inline: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  color: #0057b8;
  background: rgba(0, 87, 184, 0.08);
  box-shadow: inset 0 0 0 1px rgba(0, 87, 184, 0.12);
  font-weight: 950;
}

.subscribe-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.subscribe-benefits span {
  padding: 9px 12px;
  border: 1px solid rgba(0, 87, 184, 0.12);
  border-radius: 999px;
  color: #075f37;
  background: rgba(236, 253, 245, 0.88);
  font-weight: 900;
}

.subscribe-delivery-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  max-width: 620px;
  margin-top: 24px;
  padding: 16px;
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 20px;
  background: rgba(236, 253, 245, 0.82);
  box-shadow: 0 16px 34px rgba(34, 197, 94, 0.1);
}

.subscribe-delivery-note span {
  display: grid;
  place-items: center;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, #0aa661, #0057b8, #1ca7ff, #0aa661);
  background-size: 260% 260%;
  box-shadow: 0 12px 24px rgba(0, 87, 184, 0.18);
  font-weight: 950;
  animation: subscribe-index-gradient 5.5s ease-in-out infinite;
}

@keyframes subscribe-index-gradient {
  0%, 100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .subscribe-delivery-note span {
    animation: none;
  }
}

.subscribe-delivery-note p {
  margin: 0;
  color: #0b1f3a;
  font-size: clamp(0.98rem, 1.3vw, 1.08rem);
  font-weight: 850;
  line-height: 1.5;
}

.subscribe-form {
  display: grid;
  gap: 12px;
  padding: clamp(16px, 3vw, 24px);
  border: 1px solid rgba(0, 87, 184, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 42px rgba(0, 87, 184, 0.1);
  backdrop-filter: blur(12px);
}

.subscribe-form .field input,
.subscribe-form .field select {
  min-height: 50px;
  background: rgba(255, 255, 255, 0.92);
}

.subscribe-price-note {
  padding: 13px 15px;
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(236, 253, 245, 0.96), rgba(232, 246, 255, 0.9));
  box-shadow: 0 12px 24px rgba(16, 185, 129, 0.12);
}

.subscribe-price-note p {
  margin: 0;
  background: linear-gradient(135deg, #009e62 0%, #0057b8 72%, #0057b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 0.97rem;
  font-weight: 950;
  line-height: 1.45;
}

.subscribe-form .btn {
  min-height: 52px;
  width: 100%;
}

@media (max-width: 820px) {
  .subscribe-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .home-subscribe-section {
    padding-top: 20px;
    padding-bottom: 42px;
  }

  .subscribe-panel {
    width: calc(100vw - 32px);
    border-radius: 22px;
    padding: 22px 18px;
  }

  .subscribe-copy h2 {
    font-size: clamp(1.8rem, 8vw, 2.3rem);
  }

  .subscribe-benefits {
    gap: 8px;
  }

  .subscribe-benefits span {
    padding: 8px 10px;
    font-size: 0.78rem;
  }

  .subscribe-delivery-note {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px;
  }

  .subscribe-delivery-note span {
    width: fit-content;
    min-height: 40px;
  }
}

/* EcoLife hero visual cleanup */
.eco-visual-card {
  grid-template-rows: 1fr;
}

.eco-visual-tags {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 22px;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  pointer-events: none;
}

.eco-visual-tags span {
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  color: #073b27;
  background: rgba(231, 255, 239, 0.9);
  box-shadow: 0 10px 24px rgba(6, 95, 70, 0.16);
  font-size: 0.78rem;
  font-weight: 950;
  backdrop-filter: blur(10px);
}

.ecolife-articles-section {
  margin-top: -22px;
  padding-top: 36px;
}

.eco-magazine-section {
  padding-top: 34px;
}

@media (max-width: 520px) {
  .eco-visual-card {
    padding-bottom: 18px;
  }

  .eco-visual-tags {
    left: 16px;
    right: 16px;
    bottom: 18px;
    gap: 6px;
  }

  .eco-nature-card {
    padding: 12px;
  }

  .eco-nature-image {
    height: 270px;
    min-height: 270px;
    border-radius: 20px;
  }

  .eco-visual-tags span {
    padding: 6px 9px;
    font-size: 0.68rem;
  }

  .ecolife-articles-section {
    margin-top: -14px;
    padding-top: 24px;
  }
}

/* EcoLife final page structure */
.ecolife-page {
  background:
    radial-gradient(circle at 8% 8%, rgba(10, 166, 97, 0.08), transparent 28%),
    linear-gradient(180deg, #fbfdff 0%, #f7fbff 48%, #ffffff 100%);
}

.ecolife-page .ecolife-hero {
  padding: 28px 0 8px;
}

.ecolife-page .ecolife-hero-grid {
  align-items: stretch;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 18px;
}

.ecolife-page .ecolife-hero-copy,
.ecolife-page .ecolife-hero-card {
  min-height: 270px;
  border-color: rgba(34, 197, 94, 0.18);
  border-radius: 24px;
  box-shadow: 0 18px 42px rgba(0, 87, 184, 0.08);
}

.ecolife-page .ecolife-hero h1 {
  max-width: 620px;
  font-size: clamp(1.9rem, 3vw, 2.35rem);
}

.ecolife-page .ecolife-hero p {
  max-width: 680px;
  font-size: 1rem;
}

.ecolife-page .eco-filter-row {
  margin-top: 8px;
}

.ecolife-page .eco-filter {
  min-height: 42px;
  padding: 10px 18px;
}

.ecolife-page .eco-photo-stack {
  min-height: 210px;
}

.ecolife-page .eco-nature-card {
  min-height: 270px;
}

.ecolife-page .eco-visual-tags {
  bottom: 18px;
}

.ecolife-page .ecolife-strip {
  padding: 18px 0 8px;
}

.ecolife-page .eco-topic-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.ecolife-page .eco-topic-row article {
  min-height: 82px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 32px rgba(0, 87, 184, 0.08);
}

.ecolife-page .ecolife-articles-section {
  margin-top: 0;
  padding-top: 28px;
  padding-bottom: 24px;
}

.ecolife-page .eco-magazine-section {
  padding-top: 18px;
  padding-bottom: 52px;
}

.ecolife-page .ecolife-section-head {
  margin-bottom: 18px;
}

.ecolife-page .ecolife-section-head h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
}

.ecolife-page .ecolife-section-head p {
  max-width: 720px;
  color: #526174;
}

.ecolife-page .ecolife-grid,
.ecolife-page .eco-magazine-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ecolife-page .eco-article-card,
.ecolife-page .eco-mag-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid rgba(0, 87, 184, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 36px rgba(0, 87, 184, 0.1);
}

.ecolife-page .eco-article-card:hover,
.ecolife-page .eco-article-card:focus-within,
.ecolife-page .eco-mag-card:hover,
.ecolife-page .eco-mag-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(34, 197, 94, 0.52);
  box-shadow: 0 24px 48px rgba(0, 87, 184, 0.14), 0 0 0 4px rgba(34, 197, 94, 0.1);
}

.ecolife-page .eco-card-image,
.ecolife-page .eco-mag-image {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(135deg, #e8f5ff, #f0fff6);
}

.ecolife-page .eco-card-image img,
.ecolife-page .eco-mag-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ecolife-page .eco-mag-image span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 7px 10px;
  border-radius: 999px;
  color: #073b27;
  background: rgba(231, 255, 239, 0.92);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
  font-size: 0.74rem;
  font-weight: 950;
}

.ecolife-page .eco-article-body,
.ecolife-page .eco-mag-body {
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 14px;
}

.ecolife-page .eco-mag-body small {
  color: #08723f;
  font-size: 0.78rem;
  font-weight: 900;
}

.ecolife-page .eco-article-card h3,
.ecolife-page .eco-mag-body h3 {
  display: -webkit-box;
  min-height: 3.6em;
  overflow: hidden;
  margin: 0;
  color: var(--navy);
  font-size: clamp(0.98rem, 1.15vw, 1.12rem);
  line-height: 1.2;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.ecolife-page .eco-article-card p,
.ecolife-page .eco-mag-body p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.48;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.ecolife-page .eco-mag-body a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin-top: auto;
  padding: 8px 12px;
  border: 1px solid rgba(0, 87, 184, 0.22);
  border-radius: 999px;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.86);
  font-weight: 950;
  text-decoration: none;
}

@media (max-width: 1020px) {
  .ecolife-page .ecolife-grid,
  .ecolife-page .eco-magazine-grid,
  .ecolife-page .eco-topic-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .ecolife-page .ecolife-hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .ecolife-page .ecolife-hero {
    padding-top: 16px;
  }

  .ecolife-page .ecolife-hero-copy,
  .ecolife-page .ecolife-hero-card {
    border-radius: 22px;
  }

  .ecolife-page .ecolife-hero h1 {
    font-size: clamp(1.75rem, 7vw, 2.05rem);
  }

  .ecolife-page .eco-filter-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .ecolife-page .eco-filter {
    min-height: 42px;
    padding: 8px 6px;
    font-size: 0.88rem;
  }

  .ecolife-page .eco-topic-row,
  .ecolife-page .ecolife-grid,
  .ecolife-page .eco-magazine-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .ecolife-page .eco-topic-row article {
    min-height: 76px;
    padding: 12px;
  }

  .ecolife-page .eco-topic-row b {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .ecolife-page .eco-topic-row span {
    font-size: 0.82rem;
    line-height: 1.2;
  }

  .ecolife-page .eco-article-body,
  .ecolife-page .eco-mag-body {
    gap: 7px;
    padding: 10px;
  }

  .ecolife-page .eco-article-card h3,
  .ecolife-page .eco-mag-body h3 {
    min-height: 3.5em;
    font-size: 0.88rem;
    line-height: 1.18;
  }

  .ecolife-page .eco-article-card p,
  .ecolife-page .eco-mag-body p,
  .ecolife-page .eco-mag-body small,
  .ecolife-page .eco-read-pill,
  .ecolife-page .eco-mag-body a {
    font-size: 0.72rem;
  }

  .ecolife-page .eco-read-pill,
  .ecolife-page .eco-mag-body a {
    min-height: 32px;
    padding: 7px 8px;
  }
}

/* Modern unified footer */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: 0;
  color: #fff;
  background:
    radial-gradient(circle at 12% 0%, rgba(0, 102, 204, 0.28), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(255, 196, 0, 0.16), transparent 26%),
    radial-gradient(circle at 74% 86%, rgba(34, 197, 94, 0.12), transparent 28%),
    linear-gradient(135deg, #071a32 0%, #0b2a4b 52%, #071a32 100%);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 42px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 34%);
  pointer-events: none;
}

.footer-shell {
  position: relative;
  z-index: 1;
  padding: clamp(16px, 2.6vw, 24px) 0 10px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(280px, 1.32fr) minmax(150px, 0.7fr) minmax(170px, 0.8fr) minmax(250px, 0.98fr);
  gap: clamp(14px, 2.4vw, 26px);
  align-items: start;
}

.footer-brand-block {
  display: grid;
  gap: 8px;
  max-width: 460px;
}

.footer-brand {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: fit-content;
  min-height: 56px;
  gap: 12px;
  padding: 7px 13px 7px 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  color: #fff;
  background:
    radial-gradient(circle at 16% 20%, rgba(255, 255, 255, 0.14), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 12px 26px rgba(0, 0, 0, 0.12);
}

.footer-brand::before {
  display: none;
}

.footer-brand .brand-mark {
  box-shadow: 0 14px 30px rgba(0, 87, 184, 0.24);
}

.footer-brand .brand-logo {
  flex: 0 0 auto;
  width: 56px;
  height: 42px;
  padding: 5px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 10px 22px rgba(0, 102, 204, 0.18);
  filter: none;
}

.footer-brand-block p {
  max-width: 420px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
  line-height: 1.46;
}

.footer-column,
.footer-contact {
  display: grid;
  gap: 7px;
}

.footer-contact {
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 36px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(10px);
}

.footer-column strong,
.footer-contact strong {
  margin-bottom: 2px;
  color: #fff;
  font-size: 0.95rem;
}

.footer-column a,
.footer-contact a,
.footer-contact span {
  width: fit-content;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.3;
  text-decoration: none;
}

.footer-contact .footer-address {
  max-width: 360px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.42;
}

.footer-contact .footer-address span {
  display: block;
}

.footer-column a {
  position: relative;
  padding-left: 14px;
}

.footer-column a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #35d37b;
  box-shadow: 0 0 0 4px rgba(53, 211, 123, 0.12);
  transform-origin: center;
  animation: footer-lamp-blink 2.4s ease-in-out infinite;
}

@keyframes footer-lamp-blink {
  0%, 100% {
    opacity: 0.55;
    transform: scale(0.88);
    filter: brightness(0.9) drop-shadow(0 0 0 rgba(53, 211, 123, 0));
  }

  45%, 60% {
    opacity: 1;
    transform: scale(1.18);
    filter: brightness(1.45) drop-shadow(0 0 8px rgba(53, 211, 123, 0.72));
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-column a::before,
  .site-footer nav a::before {
    animation: none;
  }
}

.footer-column a:hover,
.footer-column a:focus-visible,
.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: #fff;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.footer-social svg {
  display: block;
  width: 18px;
  height: 18px;
}

.footer-social .social-telegram {
  background: linear-gradient(135deg, rgba(42, 171, 238, 0.28), rgba(0, 102, 204, 0.18));
}

.footer-social .social-mail {
  background: linear-gradient(135deg, rgba(255, 196, 0, 0.28), rgba(0, 102, 204, 0.16));
}

.footer-social .social-instagram {
  background: linear-gradient(135deg, rgba(253, 29, 29, 0.24), rgba(193, 53, 132, 0.22) 48%, rgba(252, 175, 69, 0.22));
}

.footer-social .social-facebook {
  background: linear-gradient(135deg, rgba(24, 119, 242, 0.28), rgba(0, 87, 184, 0.18));
}

.footer-social a:hover,
.footer-social a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.36);
  box-shadow: 0 16px 30px rgba(0, 87, 184, 0.24), 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.footer-social .social-telegram:hover,
.footer-social .social-telegram:focus-visible {
  background: linear-gradient(135deg, #2aabee, #0066cc);
}

.footer-social .social-mail:hover,
.footer-social .social-mail:focus-visible {
  background: linear-gradient(135deg, #ffd84d, #0066cc);
}

.footer-social .social-instagram:hover,
.footer-social .social-instagram:focus-visible {
  background: linear-gradient(135deg, #f58529, #dd2a7b 50%, #8134af);
}

.footer-social .social-facebook:hover,
.footer-social .social-facebook:focus-visible {
  background: linear-gradient(135deg, #1877f2, #0057b8);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(12px, 2vw, 20px);
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
}

.site-footer .brand-name small {
  color: rgba(255, 255, 255, 0.68);
}

@media (max-width: 900px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand-block,
  .footer-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .footer-shell {
    width: calc(100vw - 32px);
    padding: 16px 0 12px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .footer-brand-block,
  .footer-contact {
    grid-column: auto;
  }

  .footer-bottom {
    display: grid;
    gap: 8px;
  }

  .footer-contact .footer-address {
    max-width: 100%;
    font-size: clamp(0.78rem, 3vw, 0.88rem);
    line-height: 1.42;
  }
}

/* Unified button language for page content only. Header and footer keep their own styling. */
main :is(
  .btn,
  .home-button,
  .eco-filter,
  .eco-read-pill,
  .eco-mag-body a,
  .eco-card-actions a,
  .eco-reader-next a,
  .mini-issue-body a,
  .subscribe-form button,
  button[type="submit"],
  input[type="submit"]
) {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.38);
  background: linear-gradient(135deg, #0057b8 0%, #0499f2 54%, #24c86b 100%);
  box-shadow:
    0 14px 30px rgba(0, 87, 184, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    filter 0.18s ease;
}

main :is(
  .btn,
  .home-button,
  .eco-filter,
  .eco-read-pill,
  .eco-mag-body a,
  .eco-card-actions a,
  .eco-reader-next a,
  .mini-issue-body a,
  .subscribe-form button,
  button[type="submit"],
  input[type="submit"]
):hover,
main :is(
  .btn,
  .home-button,
  .eco-filter,
  .eco-read-pill,
  .eco-mag-body a,
  .eco-card-actions a,
  .eco-reader-next a,
  .mini-issue-body a,
  .subscribe-form button,
  button[type="submit"],
  input[type="submit"]
):focus-visible {
  color: #fff;
  outline: none;
  transform: translateY(-2px);
  filter: saturate(1.08);
  border-color: rgba(255, 255, 255, 0.58);
  background: linear-gradient(135deg, #004aa3 0%, #008eee 50%, #18b95e 100%);
  box-shadow:
    0 18px 36px rgba(0, 87, 184, 0.28),
    0 0 0 4px rgba(36, 200, 107, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

main :is(
  .btn,
  .home-button,
  .eco-filter,
  .eco-read-pill,
  .eco-mag-body a,
  .eco-card-actions a,
  .eco-reader-next a,
  .mini-issue-body a,
  .subscribe-form button,
  button[type="submit"],
  input[type="submit"]
):active {
  transform: translateY(0);
  box-shadow:
    0 8px 18px rgba(0, 87, 184, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

main :is(.btn, .home-button, .eco-filter, .eco-read-pill)[aria-disabled="true"],
main :is(.btn, .home-button, .eco-filter, .eco-read-pill):disabled {
  filter: grayscale(0.25);
  opacity: 0.68;
}

/* Mobile audit polish: consistent spacing, safer grids, calmer cards. */
html,
body {
  max-width: 100%;
}

body {
  overflow-x: clip;
}

:target {
  scroll-margin-top: 88px;
}

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

.magazine-showcase .showcase-badge {
  display: none;
}

@media (max-width: 1024px) {
  .container,
  .nav-shell,
  .footer-shell {
    width: calc(100% - 40px);
    max-width: 1120px;
  }

  .section,
  .previous-issues-section,
  .home-subscribe-section {
    padding-top: clamp(34px, 7vw, 58px);
    padding-bottom: clamp(34px, 7vw, 58px);
  }

  .page-hero,
  main:not(.home-page) .page-hero,
  main:not(.home-page) .article-hero {
    padding-top: clamp(22px, 5vw, 36px);
    padding-bottom: clamp(16px, 4vw, 24px);
  }

  .article-card,
  .mag-card,
  .mini-issue,
  .rubric-icon-card,
  .eco-article-card,
  .eco-mag-card {
    will-change: auto;
  }
}

@media (max-width: 699px) {
  .container,
  .nav-shell,
  .footer-shell {
    width: calc(100% - 32px) !important;
  }

  .site-header {
    background: rgba(255, 255, 255, 0.97);
  }

  .nav-shell {
    min-height: 64px;
    gap: 10px;
  }

  .brand {
    gap: 9px;
  }

  .brand-logo {
    width: 62px;
    height: 44px;
  }

  .brand-name {
    max-width: calc(100vw - 142px);
    white-space: normal;
  }

  .brand-name span {
    font-size: clamp(1.02rem, 5vw, 1.35rem);
    line-height: 1.02;
  }

  .brand-name small {
    font-size: clamp(0.72rem, 3vw, 0.86rem);
  }

  .menu-toggle {
    position: static;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }

  .menu-toggle-icon {
    width: 20px;
    height: 15px;
  }

  .nav-menu {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 72px;
    max-height: calc(100svh - 88px);
    overflow-y: auto;
    gap: 9px;
    padding: 12px;
    border: 1px solid rgba(0, 87, 184, 0.12);
    border-radius: 20px;
    box-shadow: 0 26px 56px rgba(11, 31, 58, 0.16);
  }

  .nav-menu a {
    min-height: 46px;
    justify-content: center;
    border: 1px solid rgba(0, 87, 184, 0.08);
    background: rgba(255, 255, 255, 0.78);
  }

  main:not(.home-page) .page-hero .container,
  main:not(.home-page) .article-hero .container {
    width: calc(100vw - 32px) !important;
    min-height: auto !important;
    padding: 22px 18px !important;
    border-radius: 22px !important;
  }

  main:not(.home-page) .page-hero h1,
  main:not(.home-page) .article-title {
    font-size: clamp(1.75rem, 8vw, 2.25rem) !important;
    line-height: 1.12 !important;
    overflow-wrap: anywhere;
  }

  main:not(.home-page) .page-hero p,
  main:not(.home-page) .article-hero p {
    font-size: clamp(0.9rem, 3.8vw, 1rem);
    line-height: 1.52;
  }

  .filters,
  main:not(.home-page) .filters {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }

  .field input,
  .field select,
  .field textarea,
  .subscribe-form .field input,
  .subscribe-form .field select {
    min-height: 48px;
    border-radius: 14px;
    font-size: 16px;
  }

  .magazine-hero {
    padding: 18px 0 24px;
  }

  .magazine-hero::before {
    inset: 8px 10px 14px;
    border-radius: 22px;
  }

  .magazine-hero-grid {
    gap: 16px;
  }

  .magazine-hero-copy {
    padding: 14px 0 8px 18px;
    transform: none;
  }

  .magazine-hero-copy .hero-title {
    font-size: clamp(1.9rem, 9.2vw, 2.9rem);
    line-height: 1.1;
  }

  .magazine-hero-subtitle,
  .magazine-hero-lead {
    max-width: 100%;
  }

  .magazine-hero-lead {
    font-size: 0.94rem;
  }

  .magazine-hero-copy .hero-actions {
    width: 100%;
    margin-top: 18px;
  }

  .magazine-hero-actions .btn {
    min-height: 46px;
    border-radius: 16px;
  }

  .magazine-showcase {
    width: min(100%, 324px);
    min-height: 278px;
    border-radius: 22px;
  }

  .cover-back {
    left: 9%;
    top: 70px;
  }

  .cover-mid {
    right: 8%;
    top: 82px;
  }

  .cover-front {
    top: 50px;
  }

  .rubric-icon-panel {
    padding: 18px 14px;
    border-radius: 20px;
  }

  .rubric-icon-head {
    gap: 10px;
    margin-bottom: 16px;
  }

  .rubric-icon-head h2 {
    font-size: clamp(1.45rem, 6.2vw, 1.9rem);
  }

  .rubric-icon-head p {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .rubric-icon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .rubric-icon-card {
    min-height: 122px;
    grid-template-rows: minmax(74px, 1fr) auto;
    padding: 8px 7px 10px;
    border-radius: 16px;
  }

  .rubric-icon-card img {
    width: min(100%, 84px);
  }

  .rubric-icon-card strong {
    min-height: 30px;
    font-size: 12px;
    line-height: 1.14;
  }

  .article-list,
  .issue-list,
  .related-list,
  .previous-issues,
  .ecolife-page .ecolife-grid,
  .ecolife-page .eco-magazine-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .article-card,
  .mag-card,
  .mini-issue,
  .eco-article-card,
  .eco-mag-card {
    border-radius: 16px;
  }

  .article-card:hover,
  .article-card:focus-within,
  .mag-card:hover,
  .mag-card:focus-within,
  .mini-issue:hover,
  .mini-issue:focus-within,
  .eco-article-card:hover,
  .eco-article-card:focus-within,
  .eco-mag-card:hover,
  .eco-mag-card:focus-within {
    transform: none;
  }

  .article-media.thumb img,
  .ecolife-page .eco-card-image img,
  .ecolife-page .eco-mag-image img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  .articles-page .article-body,
  .article-body,
  .mag-body {
    min-width: 0;
    padding: 10px;
  }

  .articles-page .article-body h3 {
    min-height: 3.3em;
    margin: 0;
    font-size: clamp(0.86rem, 3.6vw, 0.98rem);
    line-height: 1.18;
  }

  .articles-page .article-body p {
    min-height: 3.95em;
    margin: 8px 0 12px;
    font-size: clamp(0.74rem, 3vw, 0.82rem);
    line-height: 1.34;
    -webkit-line-clamp: 3;
  }

  .article-body .btn,
  .mag-body .btn,
  .eco-read-pill,
  .ecolife-page .eco-mag-body a {
    min-height: 42px;
    margin-top: auto;
    border-radius: 999px;
  }

  .archive-page .page-hero .container {
    min-height: 230px !important;
  }

  .archive-page .issue-list .mag-card {
    border-radius: 16px;
    box-shadow: 0 14px 28px rgba(0, 87, 184, 0.12);
  }

  .archive-page .issue-list .mag-cover {
    min-height: 150px;
    padding: 8px;
    background:
      radial-gradient(circle at 24% 18%, rgba(0, 157, 255, 0.3), transparent 32%),
      radial-gradient(circle at 82% 10%, rgba(255, 196, 0, 0.18), transparent 30%),
      linear-gradient(145deg, #09294e 0%, #004f9e 56%, #0a72c9 100%);
  }

  .archive-page .issue-list .mag-cover img {
    width: min(100%, 100px);
    height: 138px;
    object-fit: contain;
  }

  .archive-page .mag-body {
    gap: 8px;
    padding: 9px;
  }

  .archive-page .mag-body .meta {
    min-height: 32px;
    padding-bottom: 6px;
    font-size: clamp(0.62rem, 2.75vw, 0.78rem);
    line-height: 1.12;
    white-space: nowrap;
  }

  .archive-page .mag-body .meta span + span::before {
    width: 4px;
    height: 4px;
    margin: 0 4px;
  }

  .archive-page .mag-actions {
    grid-template-columns: minmax(0, 1fr) 42px;
    gap: 6px;
  }

  .archive-page .mag-actions .btn {
    min-height: 34px;
    padding: 0 6px;
    border-radius: 11px;
    font-size: 0.68rem;
  }

  .archive-page .mag-actions .download-btn .download-icon {
    width: 18px;
    height: 18px;
  }

  .mini-issue {
    padding: 10px;
  }

  .mini-issue-cover {
    min-height: 150px;
  }

  .mini-issue-cover img {
    width: min(100%, 102px);
    height: 142px;
  }

  .mini-issue-body {
    display: grid;
    gap: 8px;
  }

  .mini-issue-body strong {
    min-height: 2.5em;
    font-size: clamp(0.88rem, 3.6vw, 1rem);
    line-height: 1.25;
  }

  .mini-issue-actions {
    grid-template-columns: minmax(0, 1fr) 42px;
    gap: 6px;
  }

  .mini-issue-body .mini-issue-actions a {
    min-height: 36px;
    margin: 0;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 0.72rem;
  }

  .mini-issue-body .mini-issue-actions .mini-download-btn {
    padding: 0;
  }

  .ecolife-page .ecolife-hero {
    padding-top: 18px;
  }

  .ecolife-page .ecolife-hero-copy,
  .ecolife-page .ecolife-hero-card {
    min-height: auto;
    padding: 20px 16px;
    border-radius: 22px;
  }

  .ecolife-page .ecolife-hero h1 {
    font-size: 1.75rem;
    line-height: 1.12;
  }

  .ecolife-page .ecolife-hero p {
    font-size: 0.875rem;
    line-height: 1.5;
  }

  .ecolife-page .eco-filter-row {
    gap: 8px;
  }

  .ecolife-page .eco-filter {
    min-height: 42px;
    padding: 8px 10px;
    font-size: 0.9rem;
  }

  .ecolife-page .ecolife-articles-section,
  .ecolife-page .eco-magazine-section {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .ecolife-page .ecolife-section-head h2 {
    font-size: clamp(1.85rem, 8vw, 2.25rem);
  }

  .ecolife-page .eco-article-body,
  .ecolife-page .eco-mag-body {
    padding: 10px;
  }

  .ecolife-page .eco-article-card h3,
  .ecolife-page .eco-mag-body h3 {
    min-height: 3.6em;
    font-size: clamp(0.82rem, 3.4vw, 0.92rem);
  }

  .ecolife-page .eco-article-card p,
  .ecolife-page .eco-mag-body p {
    font-size: clamp(0.72rem, 2.9vw, 0.8rem);
    line-height: 1.36;
  }

  .subscribe-panel {
    grid-template-columns: 1fr;
    padding: 22px 16px;
    border-radius: 22px;
  }

  .subscribe-copy h2 {
    font-size: clamp(2rem, 9vw, 2.65rem);
    line-height: 1.08;
  }

  .subscribe-delivery-note {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .site-footer {
    background:
      radial-gradient(circle at 8% 0%, rgba(0, 102, 204, 0.22), transparent 30%),
      radial-gradient(circle at 86% 92%, rgba(34, 197, 94, 0.12), transparent 34%),
      linear-gradient(135deg, #071a32 0%, #092845 100%);
  }

  .footer-shell {
    padding: 16px 0 10px;
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .footer-brand-block,
  .footer-contact {
    grid-column: 1 / -1;
  }

  .footer-brand-block {
    gap: 6px;
  }

  .footer-brand {
    min-height: 50px;
    gap: 9px;
    padding: 6px 10px 6px 7px;
    border-radius: 16px;
  }

  .footer-brand .brand-logo {
    width: 48px;
    height: 36px;
    padding: 4px;
  }

  .footer-brand .brand-name {
    font-size: 0.96rem;
  }

  .footer-brand .brand-name small {
    font-size: 0.72rem;
  }

  .footer-brand-block p {
    display: none;
  }

  .footer-column,
  .footer-contact {
    gap: 6px;
  }

  .footer-column strong,
  .footer-contact strong {
    font-size: 0.88rem;
  }

  .footer-column a,
  .footer-contact a,
  .footer-contact span {
    font-size: 0.82rem;
    line-height: 1.28;
  }

  .footer-contact {
    padding: 12px;
    border-radius: 16px;
  }

  .footer-social {
    gap: 7px;
    margin-top: 4px;
  }

  .footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 13px;
  }

  .footer-bottom {
    gap: 4px;
    margin-top: 10px;
    padding-top: 9px;
    font-size: 0.76rem;
  }
}

@media (max-width: 360px) {
  .container,
  .nav-shell,
  .footer-shell {
    width: calc(100% - 24px) !important;
  }

  .brand-logo {
    width: 56px;
    height: 40px;
  }

  .brand-name {
    max-width: calc(100vw - 126px);
  }

  .article-list,
  .issue-list,
  .related-list,
  .previous-issues,
  .rubric-icon-grid,
  .ecolife-page .ecolife-grid,
  .ecolife-page .eco-magazine-grid {
    gap: 8px;
  }

  .article-body,
  .mag-body,
  .ecolife-page .eco-article-body,
  .ecolife-page .eco-mag-body {
    padding: 8px;
  }

  .archive-page .mag-actions,
  .mini-issue-actions {
    grid-template-columns: 1fr;
  }

  .archive-page .mag-actions .download-btn,
  .mini-issue-body .mini-issue-actions .mini-download-btn {
    min-height: 34px;
  }
}

/* Final cohesion pass: shared actions and surfaces across content pages. */
:root {
  --site-action-gradient: linear-gradient(135deg, #0057b8 0%, #0a8df2 52%, #22c55e 100%);
  --site-action-gradient-hover: linear-gradient(135deg, #004b9f 0%, #0079d7 48%, #16a85a 100%);
  --site-action-ring: rgba(0, 153, 255, 0.22);
  --site-action-shadow: 0 14px 28px rgba(0, 87, 184, 0.2);
  --site-action-shadow-hover: 0 18px 36px rgba(0, 87, 184, 0.28);
  --site-surface-border: rgba(0, 87, 184, 0.18);
  --site-surface-border-hover: rgba(0, 87, 184, 0.34);
  --site-surface-shadow: 0 18px 44px rgba(11, 31, 58, 0.1);
  --site-surface-shadow-hover: 0 24px 52px rgba(11, 31, 58, 0.14);
  --site-card-radius: 18px;
  --site-panel-radius: 24px;
}

main :is(
  .btn,
  .home-button,
  .eco-filter,
  .eco-read-pill,
  .eco-mag-body a,
  .eco-card-actions a,
  .eco-reader-next a,
  .mini-issue-body a,
  .subscribe-form button,
  button[type="submit"],
  input[type="submit"]
) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #ffffff !important;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.34) !important;
  background: var(--site-action-gradient) !important;
  box-shadow: var(--site-action-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.26) !important;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease !important;
}

main :is(
  .btn,
  .home-button,
  .eco-filter,
  .eco-read-pill,
  .eco-mag-body a,
  .eco-card-actions a,
  .eco-reader-next a,
  .mini-issue-body a,
  .subscribe-form button,
  button[type="submit"],
  input[type="submit"]
):hover,
main :is(
  .btn,
  .home-button,
  .eco-filter,
  .eco-read-pill,
  .eco-mag-body a,
  .eco-card-actions a,
  .eco-reader-next a,
  .mini-issue-body a,
  .subscribe-form button,
  button[type="submit"],
  input[type="submit"]
):focus-visible {
  color: #ffffff !important;
  outline: none !important;
  transform: translateY(-2px);
  filter: saturate(1.08);
  border-color: rgba(255, 255, 255, 0.58) !important;
  background: var(--site-action-gradient-hover) !important;
  box-shadow:
    var(--site-action-shadow-hover),
    0 0 0 4px var(--site-action-ring),
    inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
}

main :is(
  .btn,
  .home-button,
  .eco-filter,
  .eco-read-pill,
  .eco-mag-body a,
  .eco-card-actions a,
  .eco-reader-next a,
  .mini-issue-body a,
  .subscribe-form button,
  button[type="submit"],
  input[type="submit"]
):active {
  transform: translateY(0);
  filter: saturate(1);
  box-shadow: 0 8px 20px rgba(0, 87, 184, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
}

main :is(.btn.secondary, .btn.outline, .home-button.secondary, .eco-filter:not(.active)) {
  color: #ffffff !important;
  background: var(--site-action-gradient) !important;
}

main :is(.article-card, .mag-card, .mini-issue, .rubric-icon-card, .eco-article-card, .eco-mag-card) {
  border-color: var(--site-surface-border);
  border-radius: var(--site-card-radius);
  box-shadow: var(--site-surface-shadow);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

main :is(.article-card, .mag-card, .mini-issue, .rubric-icon-card, .eco-article-card, .eco-mag-card):hover,
main :is(.article-card, .mag-card, .mini-issue, .rubric-icon-card, .eco-article-card, .eco-mag-card):focus-within {
  transform: translateY(-3px);
  border-color: var(--site-surface-border-hover);
  box-shadow: var(--site-surface-shadow-hover);
}

main :is(.article-card, .eco-article-card, .eco-mag-card) {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

main :is(.article-body, .eco-article-body, .eco-mag-body) {
  display: flex;
  flex: 1;
  flex-direction: column;
}

main :is(.article-body .btn, .eco-read-pill, .eco-mag-body a) {
  margin-top: auto !important;
}

main :is(.page-hero > .container, .rubric-icon-panel, .subscribe-panel, .about-hero-shell, .contests-shell, .contact-panel, .not-found-shell) {
  border-color: var(--site-surface-border);
  border-radius: var(--site-panel-radius);
  box-shadow: var(--site-surface-shadow);
}

main :is(input, select, textarea) {
  border-color: var(--site-surface-border) !important;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

main :is(input, select, textarea):focus {
  outline: none;
  border-color: rgba(0, 87, 184, 0.48) !important;
  box-shadow: 0 0 0 4px rgba(0, 153, 255, 0.12) !important;
}

@media (max-width: 699px) {
  main :is(.article-card, .mag-card, .mini-issue, .rubric-icon-card, .eco-article-card, .eco-mag-card):hover,
  main :is(.article-card, .mag-card, .mini-issue, .rubric-icon-card, .eco-article-card, .eco-mag-card):focus-within {
    transform: none;
  }

  main :is(
    .btn,
    .home-button,
    .eco-filter,
    .eco-read-pill,
    .eco-mag-body a,
    .eco-card-actions a,
    .eco-reader-next a,
    .mini-issue-body a,
    .subscribe-form button,
    button[type="submit"],
    input[type="submit"]
  ):hover,
  main :is(
    .btn,
    .home-button,
    .eco-filter,
    .eco-read-pill,
    .eco-mag-body a,
    .eco-card-actions a,
    .eco-reader-next a,
    .mini-issue-body a,
    .subscribe-form button,
    button[type="submit"],
    input[type="submit"]
  ):focus-visible {
    transform: none;
  }
}

@media (max-width: 360px) {
  main.archive-page .mag-actions,
  main .mini-issue-actions {
    grid-template-columns: minmax(0, 1fr) 42px !important;
  }
}

/* Previous issues keep a quieter action style than the rest of the site. */
main .previous-issues-section .section-action,
main .previous-issues-section .mini-issue-body .mini-issue-actions a:not(.mini-download-btn) {
  color: #ffffff !important;
  background: #0057b8 !important;
  border-color: rgba(0, 87, 184, 0.2) !important;
  box-shadow: 0 10px 22px rgba(0, 87, 184, 0.18) !important;
}

main .previous-issues-section .section-action:hover,
main .previous-issues-section .section-action:focus-visible,
main .previous-issues-section .mini-issue-body .mini-issue-actions a:not(.mini-download-btn):hover,
main .previous-issues-section .mini-issue-body .mini-issue-actions a:not(.mini-download-btn):focus-visible {
  color: #ffffff !important;
  background: #004b9f !important;
  border-color: rgba(0, 87, 184, 0.34) !important;
  box-shadow:
    0 14px 28px rgba(0, 87, 184, 0.24),
    0 0 0 4px rgba(0, 87, 184, 0.1) !important;
}

main .previous-issues-section .mini-issue-body .mini-issue-actions .mini-download-btn {
  color: #0057b8 !important;
  background: #ffcc29 !important;
  border-color: rgba(255, 196, 0, 0.72) !important;
  box-shadow: 0 10px 22px rgba(255, 196, 0, 0.24) !important;
}

main .previous-issues-section .mini-issue-body .mini-issue-actions .mini-download-btn:hover,
main .previous-issues-section .mini-issue-body .mini-issue-actions .mini-download-btn:focus-visible {
  color: #004b9f !important;
  background: #ffd84a !important;
  border-color: rgba(255, 196, 0, 0.9) !important;
  box-shadow:
    0 14px 28px rgba(255, 196, 0, 0.28),
    0 0 0 4px rgba(255, 204, 41, 0.22) !important;
}

/* Article cards use a calm solid action style, without the sitewide gradient. */
main.articles-page .article-card .article-body .btn,
main .article-card .article-body .btn.secondary {
  color: #ffffff !important;
  background: #0057b8 !important;
  border-color: rgba(0, 87, 184, 0.22) !important;
  box-shadow: 0 10px 22px rgba(0, 87, 184, 0.18) !important;
}

main.articles-page .article-card .article-body .btn:hover,
main.articles-page .article-card .article-body .btn:focus-visible,
main .article-card .article-body .btn.secondary:hover,
main .article-card .article-body .btn.secondary:focus-visible {
  color: #ffffff !important;
  background: #004b9f !important;
  border-color: rgba(0, 87, 184, 0.36) !important;
  box-shadow:
    0 14px 28px rgba(0, 87, 184, 0.24),
    0 0 0 4px rgba(0, 87, 184, 0.1) !important;
}

/* Final visual repair: keep the site in one clean light system. */
:root {
  color-scheme: light;
  --it-blue: #0066cc;
  --it-blue-dark: #0b3159;
  --it-blue-soft: #eaf6ff;
  --it-line: #c8def4;
  --it-yellow: #ffd43b;
}

html,
body,
html[data-theme="dark"],
body[data-theme="dark"],
body.dark,
body.theme-dark {
  color-scheme: light !important;
  background-color: #f7fbff !important;
  color: #102746 !important;
}

.theme-toggle,
[data-theme-toggle],
#theme-toggle,
.dark-toggle {
  display: none !important;
}

.site-header,
html[data-theme="dark"] .site-header,
body[data-theme="dark"] .site-header {
  background: rgba(255, 255, 255, 0.94) !important;
  border-color: rgba(185, 212, 238, 0.72) !important;
  color: #102746 !important;
}

.site-header .brand,
.site-header .brand-name,
.site-header .brand small,
.site-header nav a {
  color: #102746 !important;
}

.nav-toggle {
  width: clamp(58px, 13vw, 72px) !important;
  height: clamp(58px, 13vw, 72px) !important;
  background: #edf7ff !important;
  border: 1px solid #c7dff6 !important;
  color: #102746 !important;
  box-shadow: 0 10px 24px rgba(0, 87, 184, 0.12) !important;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  background: #102746 !important;
}

@media (max-width: 760px) {
  .site-header nav#nav-menu {
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1px solid rgba(184, 215, 245, 0.9) !important;
    box-shadow: 0 24px 60px rgba(11, 49, 89, 0.18) !important;
  }

  .site-header nav#nav-menu a {
    background: #ffffff !important;
    color: #123b62 !important;
    border: 1px solid rgba(184, 215, 245, 0.92) !important;
  }

  .site-header nav#nav-menu a:hover,
  .site-header nav#nav-menu a:focus-visible,
  .site-header nav#nav-menu a.active {
    background: #123b62 !important;
    color: #c7e9ff !important;
  }

  .site-header nav#nav-menu .eco-nav-link {
    background: #eafff2 !important;
    color: #08713d !important;
    box-shadow: 0 0 0 1px rgba(20, 185, 94, 0.18), 0 0 28px rgba(20, 185, 94, 0.22) !important;
  }

  .site-header nav#nav-menu .eco-nav-link:hover,
  .site-header nav#nav-menu .eco-nav-link:focus-visible,
  .site-header nav#nav-menu .eco-nav-link.active {
    background: #0aa357 !important;
    color: #f0fff7 !important;
    box-shadow: 0 0 0 1px rgba(20, 185, 94, 0.28), 0 0 36px rgba(20, 185, 94, 0.34) !important;
  }
}

.btn:not(.primary),
.article-card .btn.secondary,
.eco-article-card .btn,
.eco-mag-card .btn,
.eco-reader-next,
.mini-issue-actions a:not(.mini-download-btn),
.mag-actions .btn:not(.accent) {
  background: #ffffff !important;
  background-image: none !important;
  color: var(--it-blue) !important;
  border: 2px solid #b8d7f5 !important;
  box-shadow: 0 8px 18px rgba(0, 102, 204, 0.12) !important;
}

.btn:not(.primary):hover,
.article-card .btn.secondary:hover,
.eco-article-card .btn:hover,
.eco-mag-card .btn:hover,
.eco-reader-next:hover,
.mini-issue-actions a:not(.mini-download-btn):hover,
.mag-actions .btn:not(.accent):hover {
  background: #eef7ff !important;
  color: #004b9f !important;
  border-color: var(--it-blue) !important;
  transform: translateY(-2px);
}

.eco-reader-next,
.eco-reader-next:hover {
  background: transparent !important;
  background-image: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

:where(html[data-theme="dark"], body[data-theme="dark"], html.dark, body.dark, html.dark-mode, body.dark-mode, html.theme-dark, body.theme-dark, html.dark-theme, body.dark-theme, html.is-dark, body.is-dark) .eco-reader-next {
  background: transparent !important;
  background-image: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
  color: inherit !important;
  backdrop-filter: none !important;
}

.magazine-hero-actions .btn.primary,
#subscribe .btn.primary,
.subscribe-form .btn.primary {
  background: linear-gradient(135deg, #0066cc 0%, #19a9f5 100%) !important;
  color: #ffffff !important;
  border: 2px solid transparent !important;
  box-shadow: 0 14px 34px rgba(0, 102, 204, 0.28) !important;
}

.magazine-hero-actions .btn.primary {
  position: relative;
  isolation: isolate;
}

.magazine-hero-actions .btn.primary::before {
  content: "";
  position: absolute;
  inset: -3px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, #0b7cff, #2be28f, #ffd43b);
}

.mag-actions .btn.accent,
.mini-download-btn,
a[download].btn,
a[download].mini-download-btn {
  background: var(--it-yellow) !important;
  background-image: none !important;
  color: #063a66 !important;
  border: 2px solid rgba(6, 58, 102, 0.12) !important;
  box-shadow: 0 10px 20px rgba(255, 195, 0, 0.22) !important;
}

.mag-actions .btn.accent:hover,
.mini-download-btn:hover,
a[download].btn:hover {
  background: #ffca18 !important;
  color: #062846 !important;
  border-color: rgba(6, 58, 102, 0.22) !important;
}

.mag-actions,
.mini-issue-actions {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.mag-actions .btn,
.mini-issue-actions a {
  min-height: 44px !important;
  justify-content: center !important;
}

.mag-actions .btn.accent,
.mini-download-btn {
  width: 54px !important;
  min-width: 54px !important;
  padding-inline: 0 !important;
}

.mini-download-btn svg,
.mag-actions .btn.accent svg {
  width: 22px !important;
  height: 22px !important;
  stroke: currentColor !important;
}

.magazine-hero-subtitle span {
  display: block;
}

@media (max-width: 640px) {
  .magazine-hero-grid {
    overflow: hidden !important;
  }

  .magazine-hero-subtitle {
    max-width: 100% !important;
    font-size: clamp(22px, 7vw, 28px) !important;
    line-height: 1.18 !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    white-space: normal !important;
  }

  .magazine-hero-subtitle span {
    white-space: normal !important;
    overflow-wrap: normal !important;
    text-wrap: balance;
  }
}

.rubric-icon-card strong {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding: 0 !important;
}

.rubric-icon-card img {
  object-fit: contain !important;
}

@media (max-width: 640px) {
  .rubric-icon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .rubric-icon-card {
    min-height: 150px !important;
    padding: 12px 8px !important;
  }

  .rubric-icon-card img {
    height: 76px !important;
    max-width: 92% !important;
  }

  .rubric-icon-card strong {
    font-size: 12px !important;
    line-height: 1.18 !important;
  }
}

.article-card,
.eco-article-card,
.eco-mag-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

.article-body,
.eco-article-body,
.eco-mag-body {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
}

.article-body .btn,
.eco-article-body .btn,
.eco-mag-body .btn {
  margin-top: auto !important;
}

.article-card .meta,
.article-card .meta *,
.eco-mag-card small,
.eco-meta span,
.eco-reader-meta-line span:nth-child(n+2),
.eco-reader-gallery,
.eco-reader-mini,
.eco-visual-caption,
.eco-gallery-tags,
.eco-tag-cloud {
  display: none !important;
}

.archive-hero h1:empty {
  display: none !important;
}

@media (max-width: 640px) {
  .archive-hero h1 {
    display: none !important;
  }

  .archive-hero .container {
    min-height: 230px !important;
    padding-block: 28px !important;
  }

  .archive-hero p {
    font-size: 14px !important;
  }
}

body.ecolife-page {
  background:
    radial-gradient(circle at 12% 18%, rgba(117, 191, 77, 0.16), transparent 24rem),
    radial-gradient(circle at 88% 10%, rgba(0, 102, 204, 0.08), transparent 22rem),
    linear-gradient(135deg, #f7fff8 0%, #edf8ef 42%, #f7fbff 100%) !important;
}

body.ecolife-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.26;
  background-image:
    radial-gradient(circle, rgba(52, 118, 33, 0.28) 1px, transparent 1.5px),
    linear-gradient(135deg, rgba(32, 77, 21, 0.08), rgba(255, 255, 255, 0));
  background-size: 24px 24px, cover;
}

.ecolife-hero-copy,
.eco-visual-card,
.eco-topic-row article,
.eco-article-card,
.eco-mag-card,
.ecolife-articles-section,
#magazine-eco .container {
  background: rgba(255, 255, 255, 0.94) !important;
  color: #102746 !important;
  border-color: rgba(55, 190, 112, 0.24) !important;
}

.eco-gallery {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
}

.eco-gallery-stage {
  position: relative;
  aspect-ratio: 1.18 / 1;
  overflow: hidden;
  border-radius: 24px;
  background: #dff4e8;
}

.eco-gallery-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.eco-gallery-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(8, 70, 47, 0.72);
  color: #ffffff;
  transform: translateY(-50%);
  cursor: pointer;
}

.eco-gallery-btn.prev {
  left: 14px;
}

.eco-gallery-btn.next {
  right: 14px;
}

.eco-gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.eco-gallery-dots button {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(12, 104, 61, 0.22);
  cursor: pointer;
}

.eco-gallery-dots button.active {
  width: 28px;
  background: #0aa357;
}

.footer.site-footer {
  padding-block: 34px 20px !important;
}

.footer-brand-block {
  border: 1px solid rgba(199, 233, 255, 0.24) !important;
  border-radius: 22px !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(0, 102, 204, 0.14)) !important;
  box-shadow: none !important;
}

.footer-brand {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.footer-contact > a[href^="mailto"] {
  display: none !important;
}

.footer-address {
  max-width: 440px;
  line-height: 1.45 !important;
}

.footer-column a::before,
.site-footer nav a::before {
  background: #27d58a !important;
  box-shadow: 0 0 0 6px rgba(39, 213, 138, 0.11) !important;
}

@media (max-width: 640px) {
  .footer.site-footer {
    padding-block: 28px 18px !important;
  }

  .footer-brand-block {
    padding: 10px 12px !important;
  }
}

/* Dark theme repair: final layer over the light-only visual system. */
:root {
  --it-dark-bg: #061d33;
  --it-dark-bg-2: #082846;
  --it-dark-surface: #0d2f50;
  --it-dark-surface-2: #123b62;
  --it-dark-panel: #0a2846;
  --it-dark-panel-soft: rgba(18, 59, 98, 0.74);
  --it-dark-line: rgba(174, 218, 248, 0.22);
  --it-dark-line-strong: rgba(48, 166, 255, 0.42);
  --it-dark-text: #e8f5ff;
  --it-dark-muted: #b7cce0;
  --it-dark-soft: #c7e9ff;
  --it-dark-blue: #1ca7ff;
  --it-dark-blue-2: #0066cc;
  --it-dark-yellow: #ffd43b;
}

.theme-toggle,
[data-theme-toggle] {
  display: grid !important;
  width: 48px !important;
  height: 48px !important;
  flex: 0 0 48px !important;
  place-items: center !important;
  border: 1px solid rgba(0, 102, 204, 0.16) !important;
  border-radius: 16px !important;
  background: #eef7ff !important;
  color: #0b3159 !important;
  box-shadow: 0 12px 30px rgba(0, 102, 204, 0.12) !important;
  cursor: pointer !important;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease !important;
}

.theme-toggle:hover,
[data-theme-toggle]:hover,
.theme-toggle:focus-visible,
[data-theme-toggle]:focus-visible {
  transform: translateY(-2px) !important;
  border-color: rgba(0, 102, 204, 0.36) !important;
  box-shadow: 0 16px 36px rgba(0, 102, 204, 0.18) !important;
}

.theme-toggle .theme-icon,
[data-theme-toggle] .theme-icon {
  display: grid !important;
  place-items: center !important;
}

html[data-theme="dark"] .theme-icon-moon,
html:not([data-theme="dark"]) .theme-icon-sun {
  display: none !important;
}

html[data-theme="dark"],
html[data-theme="dark"] body,
body[data-theme="dark"] {
  color-scheme: dark !important;
  background:
    radial-gradient(circle at 12% 8%, rgba(28, 167, 255, 0.18), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(255, 212, 59, 0.08), transparent 24%),
    linear-gradient(180deg, #061d33 0%, #082846 52%, #061a2e 100%) !important;
  color: var(--it-dark-text) !important;
}

html[data-theme="dark"] body::before {
  background-image:
    linear-gradient(rgba(174, 218, 248, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(174, 218, 248, 0.055) 1px, transparent 1px) !important;
  background-size: 64px 64px !important;
  opacity: 0.5 !important;
}

html[data-theme="dark"] .site-header,
html[data-theme="dark"] .nav-shell {
  background: rgba(6, 24, 42, 0.92) !important;
  border-color: rgba(174, 218, 248, 0.16) !important;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.24) !important;
  backdrop-filter: blur(18px) !important;
}

html[data-theme="dark"] .brand,
html[data-theme="dark"] .brand-name,
html[data-theme="dark"] .site-header a,
html[data-theme="dark"] .site-header span {
  color: var(--it-dark-text) !important;
}

html[data-theme="dark"] .brand small,
html[data-theme="dark"] .brand-name small {
  color: var(--it-dark-muted) !important;
}

html[data-theme="dark"] .theme-toggle,
html[data-theme="dark"] [data-theme-toggle],
html[data-theme="dark"] .menu-toggle {
  background: rgba(18, 59, 98, 0.9) !important;
  border-color: rgba(174, 218, 248, 0.22) !important;
  color: var(--it-dark-soft) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 34px rgba(0, 0, 0, 0.24) !important;
}

html[data-theme="dark"] .menu-toggle span {
  background: var(--it-dark-soft) !important;
}

html[data-theme="dark"] .nav-menu a:not(.eco-nav-link) {
  color: var(--it-dark-text) !important;
}

html[data-theme="dark"] .nav-menu a:not(.eco-nav-link):hover,
html[data-theme="dark"] .nav-menu a:not(.eco-nav-link):focus-visible,
html[data-theme="dark"] .nav-menu a:not(.eco-nav-link)[aria-current="page"] {
  background: rgba(28, 167, 255, 0.14) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

html[data-theme="dark"] .nav-menu a.eco-nav-link {
  background: linear-gradient(135deg, rgba(10, 163, 87, 0.28), rgba(18, 183, 106, 0.16)) !important;
  color: #d9ffeb !important;
  border-color: rgba(39, 213, 138, 0.38) !important;
  box-shadow: 0 0 24px rgba(18, 183, 106, 0.18) !important;
}

html[data-theme="dark"] main,
html[data-theme="dark"] .section,
html[data-theme="dark"] .page-hero,
html[data-theme="dark"] .magazine-hero,
html[data-theme="dark"] .ecolife-page {
  background: transparent !important;
}

html[data-theme="dark"] .magazine-hero-grid,
html[data-theme="dark"] .rubric-icon-panel,
html[data-theme="dark"] .president-quote,
html[data-theme="dark"] .subscribe-panel,
html[data-theme="dark"] .page-hero .container,
html[data-theme="dark"] .about-hero-shell,
html[data-theme="dark"] .contests-shell,
html[data-theme="dark"] .ecolife-hero-copy,
html[data-theme="dark"] .eco-visual-card,
html[data-theme="dark"] .article-hero .container,
html[data-theme="dark"] .article-detail-hero,
html[data-theme="dark"] .reader-card,
html[data-theme="dark"] .eco-reader-hero,
html[data-theme="dark"] .eco-reader-section {
  background: linear-gradient(135deg, rgba(13, 47, 80, 0.96), rgba(6, 29, 51, 0.94)) !important;
  border-color: var(--it-dark-line) !important;
  color: var(--it-dark-text) !important;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.28) !important;
}

html[data-theme="dark"] .article-card,
html[data-theme="dark"] .mag-card,
html[data-theme="dark"] .mini-issue,
html[data-theme="dark"] .rubric-icon-card,
html[data-theme="dark"] .about-feature-card,
html[data-theme="dark"] .about-list-panel,
html[data-theme="dark"] .info-card,
html[data-theme="dark"] .eco-article-card,
html[data-theme="dark"] .eco-mag-card,
html[data-theme="dark"] .eco-topic-row article,
html[data-theme="dark"] .contest-card,
html[data-theme="dark"] .contests-empty-card,
html[data-theme="dark"] .subscribe-form,
html[data-theme="dark"] .footer-contact,
html[data-theme="dark"] .footer-brand-block {
  background: linear-gradient(180deg, rgba(15, 52, 86, 0.94), rgba(8, 35, 61, 0.96)) !important;
  border-color: var(--it-dark-line) !important;
  color: var(--it-dark-text) !important;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.24) !important;
}

html[data-theme="dark"] .contests-empty-card {
  background:
    linear-gradient(145deg, rgba(18, 59, 98, 0.72), rgba(6, 28, 50, 0.86)) !important;
  border: 1px solid rgba(199, 233, 255, 0.28) !important;
  box-shadow:
    0 22px 56px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}

html[data-theme="dark"] .contests-empty-card h2 {
  color: #f4fbff;
}

html[data-theme="dark"] .contests-empty-card p {
  color: #c7e9ff;
}

html[data-theme="dark"] .contests-empty-card .contests-icon {
  background: linear-gradient(135deg, #0c7ce8, #0057b8);
  box-shadow: 0 14px 34px rgba(0, 102, 204, 0.32);
}

html[data-theme="dark"] .article-card:hover,
html[data-theme="dark"] .article-card:focus-within,
html[data-theme="dark"] .mag-card:hover,
html[data-theme="dark"] .mag-card:focus-within,
html[data-theme="dark"] .mini-issue:hover,
html[data-theme="dark"] .rubric-icon-card:hover,
html[data-theme="dark"] .eco-article-card:hover,
html[data-theme="dark"] .eco-mag-card:hover {
  border-color: var(--it-dark-line-strong) !important;
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(28, 167, 255, 0.14) !important;
}

html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4,
html[data-theme="dark"] .magazine-hero-subtitle,
html[data-theme="dark"] .article-card h3,
html[data-theme="dark"] .mag-card h2,
html[data-theme="dark"] .mini-issue h3,
html[data-theme="dark"] .rubric-icon-card strong,
html[data-theme="dark"] .eco-article-card h3,
html[data-theme="dark"] .eco-mag-card h3 {
  color: var(--it-dark-text) !important;
  text-shadow: none !important;
}

html[data-theme="dark"] p,
html[data-theme="dark"] li,
html[data-theme="dark"] small,
html[data-theme="dark"] .lead,
html[data-theme="dark"] .meta,
html[data-theme="dark"] .article-card p,
html[data-theme="dark"] .mag-card p,
html[data-theme="dark"] .mini-issue p,
html[data-theme="dark"] .eco-article-card p,
html[data-theme="dark"] .eco-mag-card p,
html[data-theme="dark"] .about-check-list li,
html[data-theme="dark"] .article-content p,
html[data-theme="dark"] .article-detail-body p,
html[data-theme="dark"] .eco-reader p {
  color: var(--it-dark-muted) !important;
}

html[data-theme="dark"] .eyebrow,
html[data-theme="dark"] .badge,
html[data-theme="dark"] .pill,
html[data-theme="dark"] .eco-chip,
html[data-theme="dark"] .eco-meta span,
html[data-theme="dark"] .mag-body .meta,
html[data-theme="dark"] .mini-issue .mini-date,
html[data-theme="dark"] .issue-date,
html[data-theme="dark"] .rubric-tag {
  background: rgba(28, 167, 255, 0.14) !important;
  border-color: rgba(28, 167, 255, 0.24) !important;
  color: var(--it-dark-soft) !important;
}

html[data-theme="dark"] .btn.primary,
html[data-theme="dark"] .article-body .btn.secondary,
html[data-theme="dark"] .mag-body .btn.primary,
html[data-theme="dark"] .mini-issue-body a:not(.mini-download-btn),
html[data-theme="dark"] .subscribe-form button[type="submit"],
html[data-theme="dark"] .eco-read-link,
html[data-theme="dark"] .eco-card-actions .btn {
  background: linear-gradient(135deg, var(--it-dark-blue-2), var(--it-dark-blue)) !important;
  border-color: rgba(28, 167, 255, 0.44) !important;
  color: #ffffff !important;
  box-shadow: 0 12px 28px rgba(0, 102, 204, 0.26) !important;
}

html[data-theme="dark"] .btn.secondary,
html[data-theme="dark"] .btn.ghost,
html[data-theme="dark"] .eco-filter,
html[data-theme="dark"] .gallery-nav,
html[data-theme="dark"] .back-link {
  background: rgba(16, 52, 86, 0.82) !important;
  border-color: var(--it-dark-line) !important;
  color: var(--it-dark-text) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] .btn.accent,
html[data-theme="dark"] .mag-actions .btn.accent,
html[data-theme="dark"] .mini-download-btn,
html[data-theme="dark"] a[download].btn {
  background: linear-gradient(135deg, #ffc400, var(--it-dark-yellow)) !important;
  border-color: rgba(255, 212, 59, 0.55) !important;
  color: #0b3159 !important;
  box-shadow: 0 12px 26px rgba(255, 196, 0, 0.2) !important;
}

html[data-theme="dark"] .btn:hover,
html[data-theme="dark"] .btn:focus-visible,
html[data-theme="dark"] .eco-read-link:hover,
html[data-theme="dark"] .mini-issue-body a:hover,
html[data-theme="dark"] .mag-actions a:hover {
  transform: translateY(-2px) !important;
  filter: brightness(1.06) !important;
}

html[data-theme="dark"] .btn:active,
html[data-theme="dark"] button:active,
html[data-theme="dark"] a:active {
  transform: translateY(0) scale(0.99) !important;
}

html[data-theme="dark"] .btn:disabled,
html[data-theme="dark"] .btn[aria-disabled="true"],
html[data-theme="dark"] button:disabled {
  opacity: 0.55 !important;
  filter: grayscale(0.15) !important;
  cursor: not-allowed !important;
}

html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea {
  background: rgba(7, 29, 50, 0.92) !important;
  border-color: var(--it-dark-line) !important;
  color: var(--it-dark-text) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
  color: rgba(199, 233, 255, 0.58) !important;
}

html[data-theme="dark"] option {
  background: #082846 !important;
  color: var(--it-dark-text) !important;
}

html[data-theme="dark"] img {
  border-color: rgba(174, 218, 248, 0.16) !important;
}

html[data-theme="dark"] .mag-cover,
html[data-theme="dark"] .mini-issue-cover,
html[data-theme="dark"] .archive-page .mag-cover {
  background:
    radial-gradient(circle at 50% 12%, rgba(28, 167, 255, 0.38), transparent 34%),
    linear-gradient(135deg, #0a3154, #0066cc 62%, #0d2c4b) !important;
  border-color: rgba(174, 218, 248, 0.18) !important;
}

html[data-theme="dark"] .article-hero .container::after,
html[data-theme="dark"] .page-hero .container::after,
html[data-theme="dark"] .magazine-hero-copy::after {
  opacity: 0.12 !important;
}

html[data-theme="dark"] .footer.site-footer,
html[data-theme="dark"] .site-footer {
  background:
    radial-gradient(circle at 88% 12%, rgba(0, 102, 204, 0.22), transparent 28%),
    linear-gradient(180deg, #082846, #061d33 58%, #041423) !important;
  border-top: 1px solid rgba(174, 218, 248, 0.18) !important;
  color: var(--it-dark-muted) !important;
}

html[data-theme="dark"] .site-footer a,
html[data-theme="dark"] .footer-column a,
html[data-theme="dark"] .footer-contact a {
  color: var(--it-dark-muted) !important;
}

html[data-theme="dark"] .site-footer a:hover,
html[data-theme="dark"] .footer-column a:hover,
html[data-theme="dark"] .footer-contact a:hover {
  color: #ffffff !important;
}

html[data-theme="dark"] .footer-column a::before,
html[data-theme="dark"] .site-footer nav a::before {
  background: #27d58a !important;
  box-shadow: 0 0 0 6px rgba(39, 213, 138, 0.12) !important;
}

html[data-theme="dark"] .hidden {
  display: none !important;
}

@media (max-width: 760px) {
  .theme-toggle,
  [data-theme-toggle] {
    width: 44px !important;
    height: 44px !important;
    flex-basis: 44px !important;
    border-radius: 14px !important;
  }

  html[data-theme="dark"] .site-header nav#nav-menu {
    background: rgba(4, 17, 31, 0.96) !important;
    border-color: rgba(174, 218, 248, 0.18) !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38) !important;
  }

  html[data-theme="dark"] .site-header nav#nav-menu a:not(.eco-nav-link) {
    background: #123b62 !important;
    border-color: rgba(199, 233, 255, 0.16) !important;
    color: #c7e9ff !important;
    box-shadow: none !important;
  }

  html[data-theme="dark"] .site-header nav#nav-menu a:not(.eco-nav-link):hover,
  html[data-theme="dark"] .site-header nav#nav-menu a:not(.eco-nav-link):focus-visible,
  html[data-theme="dark"] .site-header nav#nav-menu a:not(.eco-nav-link)[aria-current="page"] {
    background: #c7e9ff !important;
    color: #123b62 !important;
  }

  html[data-theme="dark"] .site-header nav#nav-menu .eco-nav-link {
    background: linear-gradient(135deg, #0c573b, #12b76a) !important;
    border-color: rgba(122, 255, 190, 0.42) !important;
    color: #eafff4 !important;
    box-shadow: 0 0 26px rgba(18, 183, 106, 0.28) !important;
  }

  html[data-theme="dark"] .magazine-hero-subtitle {
    color: var(--it-dark-text) !important;
  }
}

/* Final dark-mode polish for the home page annotated panels. */
html[data-theme="dark"] .subscribe-price-note,
html[data-theme="dark"] .subscribe-delivery-note,
html[data-theme="dark"] .education-idea-panel {
  background: linear-gradient(135deg, rgba(19, 67, 106, 0.94), rgba(7, 34, 58, 0.96)) !important;
  border-color: rgba(154, 208, 245, 0.24) !important;
  box-shadow:
    0 18px 45px rgba(0, 8, 20, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  color: var(--it-dark-text, #eef8ff) !important;
}

html[data-theme="dark"] .subscribe-price-note *,
html[data-theme="dark"] .subscribe-delivery-note *,
html[data-theme="dark"] .education-idea-panel * {
  color: inherit;
}

html[data-theme="dark"] .subscribe-price-note p,
html[data-theme="dark"] .subscribe-delivery-note p,
html[data-theme="dark"] .education-idea-panel p {
  color: var(--it-dark-soft, #c7e9ff) !important;
}

html[data-theme="dark"] .subscribe-delivery-note .delivery-index,
html[data-theme="dark"] .subscribe-delivery-note b,
html[data-theme="dark"] .subscribe-delivery-note strong,
html[data-theme="dark"] .education-idea-panel strong {
  color: #fff !important;
}

html[data-theme="dark"] .magazine-hero-copy {
  border-radius: clamp(22px, 5vw, 36px) !important;
  overflow: hidden;
}

html[data-theme="dark"] .menu-toggle,
html[data-theme="dark"] .menu-toggle:hover,
html[data-theme="dark"] .menu-toggle:focus-visible {
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme="dark"] .menu-toggle {
  border-color: rgba(199, 233, 255, 0.38) !important;
}

html[data-theme="dark"] .theme-toggle,
html[data-theme="dark"] [data-theme-toggle] {
  width: 50px !important;
  height: 50px !important;
  min-width: 50px !important;
  border-radius: 16px !important;
}

@media (max-width: 700px) {
  html[data-theme="dark"] .theme-toggle,
  html[data-theme="dark"] [data-theme-toggle] {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    border-radius: 15px !important;
  }

  html[data-theme="dark"] .magazine-hero-copy {
    border-radius: 22px !important;
  }
}

/* Homepage dark-mode contrast pass for annotated panels. */
html[data-theme="dark"] .site-header .brand-logo {
  background: rgba(255, 255, 255, 0.94) !important;
  border-radius: 14px !important;
  padding: 5px !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 10px 22px rgba(0, 102, 204, 0.18) !important;
  object-fit: contain;
}

html[data-theme="dark"] .magazine-hero {
  background: linear-gradient(180deg, #071f35 0%, #08233b 52%, #061b2f 100%) !important;
}

html[data-theme="dark"] .magazine-hero::before,
html[data-theme="dark"] .magazine-hero::after {
  background: transparent !important;
  opacity: 0 !important;
}

html[data-theme="dark"] .magazine-hero-grid {
  background: linear-gradient(145deg, rgba(7, 31, 53, 0.96), rgba(9, 57, 94, 0.9)) !important;
  border-color: rgba(164, 214, 247, 0.24) !important;
  box-shadow:
    0 26px 70px rgba(0, 8, 20, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

html[data-theme="dark"] .magazine-hero-grid::before,
html[data-theme="dark"] .magazine-hero-grid::after {
  opacity: 0.1 !important;
}

html[data-theme="dark"] .magazine-hero-copy,
html[data-theme="dark"] .magazine-showcase {
  background: linear-gradient(145deg, rgba(8, 35, 60, 0.86), rgba(7, 28, 48, 0.92)) !important;
  border-color: rgba(164, 214, 247, 0.2) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07) !important;
}

html[data-theme="dark"] .education-quote-copy {
  background: linear-gradient(135deg, rgba(19, 67, 106, 0.94), rgba(7, 34, 58, 0.96)) !important;
  border-color: rgba(154, 208, 245, 0.24) !important;
  box-shadow:
    0 18px 45px rgba(0, 8, 20, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  color: var(--it-dark-text, #eef8ff) !important;
}

html[data-theme="dark"] .education-quote-copy *,
html[data-theme="dark"] .education-quote-copy p,
html[data-theme="dark"] .education-quote-copy blockquote,
html[data-theme="dark"] .education-quote-copy cite {
  color: inherit !important;
}

html[data-theme="dark"] .education-quote-copy .eyebrow,
html[data-theme="dark"] .education-quote-copy h2,
html[data-theme="dark"] .education-quote-copy b,
html[data-theme="dark"] .education-quote-copy strong {
  color: #fff !important;
}

/* Mobile dark-mode refinements from the latest visual pass. */
html[data-theme="dark"] .magazine-hero-grid {
  background:
    linear-gradient(145deg, rgba(9, 41, 68, 0.62), rgba(5, 22, 39, 0.52)),
    radial-gradient(circle at 18% 12%, rgba(67, 176, 255, 0.18), transparent 34%),
    radial-gradient(circle at 86% 18%, rgba(104, 224, 184, 0.12), transparent 32%) !important;
  border: 1px solid rgba(199, 233, 255, 0.26) !important;
  box-shadow:
    0 28px 80px rgba(0, 8, 20, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04) !important;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}

html[data-theme="dark"] .magazine-hero-grid::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.16), transparent 34%, rgba(117, 210, 255, 0.08) 68%, transparent),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 45%);
  opacity: 0.45 !important;
}

html[data-theme="dark"] .magazine-hero-grid::after {
  opacity: 0.08 !important;
}

html[data-theme="dark"] .magazine-hero-copy,
html[data-theme="dark"] .magazine-showcase {
  background: rgba(6, 28, 49, 0.54) !important;
  border-color: rgba(199, 233, 255, 0.18) !important;
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
}

html[data-theme="dark"] .menu-toggle {
  background: rgba(8, 38, 65, 0.86) !important;
  border-color: rgba(199, 233, 255, 0.44) !important;
  box-shadow:
    0 10px 26px rgba(0, 8, 20, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
}

html[data-theme="dark"] .menu-toggle span,
html[data-theme="dark"] .menu-toggle::before,
html[data-theme="dark"] .menu-toggle::after {
  background: #eaf5ff !important;
  color: #eaf5ff !important;
  opacity: 1 !important;
  box-shadow: 0 0 10px rgba(122, 201, 255, 0.34);
}

html[data-theme="dark"] .menu-toggle svg,
html[data-theme="dark"] .menu-toggle svg *,
html[data-theme="dark"] .menu-toggle i {
  color: #eaf5ff !important;
  stroke: #eaf5ff !important;
  opacity: 1 !important;
}

html[data-theme="dark"] .theme-toggle,
html[data-theme="dark"] [data-theme-toggle] {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  border-radius: 14px !important;
}

html[data-theme="dark"] .previous-issues .mini-issue-body > span,
html[data-theme="dark"] .mini-issue-body > span {
  color: #eaf5ff !important;
  background: transparent !important;
  background-color: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

@media (max-width: 700px) {
  html[data-theme="dark"] .theme-toggle,
  html[data-theme="dark"] [data-theme-toggle] {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    border-radius: 13px !important;
  }

  html[data-theme="dark"] .menu-toggle {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    border-radius: 15px !important;
  }
}

/* About page: keep the magazine-pages list glassy and readable in dark mode. */
html[data-theme="dark"] .about-list-panel {
  background:
    linear-gradient(145deg, rgba(9, 42, 70, 0.74), rgba(5, 24, 42, 0.62)),
    radial-gradient(circle at 88% 8%, rgba(34, 183, 255, 0.16), transparent 34%) !important;
  border-color: rgba(199, 233, 255, 0.24) !important;
  box-shadow:
    0 24px 64px rgba(0, 8, 20, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(18px) saturate(138%);
  -webkit-backdrop-filter: blur(18px) saturate(138%);
}

html[data-theme="dark"] .about-list-panel h2 {
  color: #f5fbff !important;
}

html[data-theme="dark"] .about-check-list li {
  background:
    linear-gradient(145deg, rgba(16, 62, 98, 0.58), rgba(8, 31, 54, 0.44)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 52%) !important;
  border-color: rgba(199, 233, 255, 0.2) !important;
  color: #eaf5ff !important;
  box-shadow:
    0 12px 30px rgba(0, 8, 20, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(14px) saturate(132%);
  -webkit-backdrop-filter: blur(14px) saturate(132%);
}

html[data-theme="dark"] .about-check-list li::before {
  background:
    radial-gradient(circle at 50% 50%, #eaf5ff 0 22%, transparent 24%),
    linear-gradient(135deg, #22b7ff, #0066cc) !important;
  box-shadow:
    0 0 0 6px rgba(34, 183, 255, 0.13),
    0 0 18px rgba(34, 183, 255, 0.32) !important;
}

/* EcoLife: keep the topic cards readable in dark mode while matching the light cards. */
html[data-theme="dark"] .ecolife-page .eco-topic-row article {
  background: #eaf5ff !important;
  border-color: rgba(173, 216, 255, 0.86) !important;
  color: #08233d !important;
  box-shadow:
    0 14px 34px rgba(0, 18, 42, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.88) !important;
}

html[data-theme="dark"] .ecolife-page .eco-topic-row span {
  color: #08233d !important;
}

html[data-theme="dark"] .ecolife-page .eco-topic-row b {
  color: #fff !important;
}

/* Home hero: rounded glass shell for the dark theme. */
html[data-theme="dark"] .magazine-hero-grid {
  overflow: hidden;
  border-radius: clamp(26px, 3vw, 42px) !important;
  border: 1px solid rgba(199, 233, 255, 0.3) !important;
  background:
    linear-gradient(135deg, rgba(18, 72, 116, 0.5), rgba(5, 22, 39, 0.42)),
    radial-gradient(circle at 18% 0%, rgba(72, 183, 255, 0.18), transparent 38%),
    radial-gradient(circle at 88% 18%, rgba(104, 224, 184, 0.13), transparent 34%) !important;
  box-shadow:
    0 28px 80px rgba(0, 8, 20, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(18px) saturate(138%);
  -webkit-backdrop-filter: blur(18px) saturate(138%);
}

html[data-theme="dark"] .magazine-hero-grid::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(116deg, rgba(255, 255, 255, 0.15), transparent 24%, transparent 72%, rgba(255, 255, 255, 0.07)),
    radial-gradient(circle at 82% 10%, rgba(167, 224, 240, 0.12), transparent 28%);
  opacity: 0.78 !important;
}

html[data-theme="dark"] .magazine-hero-copy,
html[data-theme="dark"] .magazine-showcase {
  position: relative;
  z-index: 1;
}
/* Final dark/mobile polish: keep the header controls consistent and remove pale cards in dark mode. */
.site-header .menu-toggle {
  --it-burger-line: #0057b8;
  position: relative !important;
  overflow: hidden !important;
  text-indent: -9999px !important;
  color: transparent !important;
  background-image: none !important;
}

.site-header .menu-toggle > * {
  opacity: 0 !important;
  visibility: hidden !important;
}

.site-header .menu-toggle::before,
.site-header .menu-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 26px;
  height: 3px;
  border-radius: 999px;
  background: var(--it-burger-line);
  transform: translateX(-50%);
  transition: top 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.site-header .menu-toggle::before {
  top: calc(50% - 9px);
  box-shadow: 0 9px 0 var(--it-burger-line);
}

.site-header .menu-toggle::after {
  top: calc(50% + 9px);
}

.site-header .menu-toggle[aria-expanded="true"]::before {
  top: 50%;
  box-shadow: none;
  transform: translate(-50%, -50%) rotate(45deg);
}

.site-header .menu-toggle[aria-expanded="true"]::after {
  top: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
}

@media (max-width: 900px) {
  .site-header .menu-toggle {
    display: inline-grid !important;
    place-items: center !important;
  }
}

@media (max-width: 760px) {
  .site-header .brand {
    overflow: hidden;
  }

  .site-header .brand-logo {
    padding: 5px !important;
    object-fit: contain !important;
    transform: none;
    transform-origin: center;
  }

  .site-header .theme-toggle {
    width: 48px !important;
    min-width: 48px !important;
    height: 48px !important;
  }

  .site-header .menu-toggle {
    top: auto !important;
    right: auto !important;
    width: 48px !important;
    min-width: 48px !important;
    height: 48px !important;
    flex: 0 0 48px !important;
    border-radius: 14px !important;
  }
}

:where(html[data-theme="dark"], body[data-theme="dark"], html.dark, body.dark, html.dark-mode, body.dark-mode, html.theme-dark, body.theme-dark, html.dark-theme, body.dark-theme, html.is-dark, body.is-dark) .site-header .menu-toggle {
  --it-burger-line: #eaf5ff;
  background: rgba(9, 38, 65, 0.72) !important;
  border-color: rgba(173, 224, 240, 0.38) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

:where(html[data-theme="dark"], body[data-theme="dark"], html.dark, body.dark, html.dark-mode, body.dark-mode, html.theme-dark, body.theme-dark, html.dark-theme, body.dark-theme, html.is-dark, body.is-dark) .site-header .brand-logo {
  filter: none !important;
}

:where(html[data-theme="dark"], body[data-theme="dark"], html.dark, body.dark, html.dark-mode, body.dark-mode, html.theme-dark, body.theme-dark, html.dark-theme, body.dark-theme, html.is-dark, body.is-dark)
  :is(.magazine-hero-grid, .magazine-hero-copy, .magazine-showcase, .education-quote-copy, .education-idea-panel, .subscribe-price-note, .subscribe-delivery-note, .subscribe-form, .about-list-panel, .about-check-list li, .about-feature-card, .contests-shell, .contests-empty-card, .page-hero > .container, .article-hero .container, .rubric-hero .container, .eco-topic-row article, .eco-article-card, .eco-mag-card, .eco-visual-card, .eco-reader-hero, .eco-reader-next, .mag-card, .mini-issue, .article-card) {
  background: linear-gradient(145deg, rgba(16, 64, 103, 0.78), rgba(4, 28, 48, 0.92)) !important;
  border-color: rgba(173, 224, 240, 0.28) !important;
  color: #eaf5ff !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(16px);
}

:where(html[data-theme="dark"], body[data-theme="dark"], html.dark, body.dark, html.dark-mode, body.dark-mode, html.theme-dark, body.theme-dark, html.dark-theme, body.dark-theme, html.is-dark, body.is-dark)
  :is(.subscribe-price-note p, .subscribe-delivery-note p, .education-quote-copy p, .education-quote-copy blockquote, .about-check-list li, .contests-empty-card p, .page-hero p, .article-card p, .eco-article-card p, .eco-mag-card p, .article-content p) {
  color: rgba(234, 245, 255, 0.88) !important;
}

:where(html[data-theme="dark"], body[data-theme="dark"], html.dark, body.dark, html.dark-mode, body.dark-mode, html.theme-dark, body.theme-dark, html.dark-theme, body.dark-theme, html.is-dark, body.is-dark)
  :is(.subscribe-price-note strong, .subscribe-price-note span, .subscribe-delivery-note strong, .education-quote-copy h2, .education-idea-panel h2, .contests-empty-card h2, .about-list-panel h2, .article-card h3, .eco-article-card h3, .eco-mag-card h3) {
  color: #f7fbff !important;
}

:where(html[data-theme="dark"], body[data-theme="dark"], html.dark, body.dark, html.dark-mode, body.dark-mode, html.theme-dark, body.theme-dark, html.dark-theme, body.dark-theme, html.is-dark, body.is-dark) :is(input, select, textarea) {
  background: rgba(2, 21, 37, 0.72) !important;
  border-color: rgba(173, 224, 240, 0.28) !important;
  color: #eaf5ff !important;
}

:where(html[data-theme="dark"], body[data-theme="dark"], html.dark, body.dark, html.dark-mode, body.dark-mode, html.theme-dark, body.theme-dark, html.dark-theme, body.dark-theme, html.is-dark, body.is-dark) :is(input, textarea)::placeholder {
  color: rgba(234, 245, 255, 0.55) !important;
}
/* Final requested dark header fix: real burger lines, larger logo artwork, and dark glass fallbacks. */
.site-header .menu-toggle {
  --burger-line: #0057b8;
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
  text-indent: -9999px !important;
  background-image: none !important;
}

.site-header .menu-toggle :is(svg, img, span, i) {
  opacity: 0 !important;
  visibility: hidden !important;
}

.site-header .menu-toggle::before,
.site-header .menu-toggle::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  width: 24px !important;
  height: 3px !important;
  border-radius: 999px !important;
  background: var(--burger-line) !important;
  transform: translateX(-50%) !important;
  transition: top 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
}

.site-header .menu-toggle::before {
  top: calc(50% - 8px) !important;
  box-shadow: 0 8px 0 var(--burger-line) !important;
}

.site-header .menu-toggle::after {
  top: calc(50% + 8px) !important;
}

.site-header .menu-toggle[aria-expanded="true"]::before {
  top: 50% !important;
  box-shadow: none !important;
  transform: translate(-50%, -50%) rotate(45deg) !important;
}

.site-header .menu-toggle[aria-expanded="true"]::after {
  top: 50% !important;
  transform: translate(-50%, -50%) rotate(-45deg) !important;
}

:where(html[data-theme="dark"], body[data-theme="dark"], html.dark, body.dark, html.dark-mode, body.dark-mode, html.theme-dark, body.theme-dark, html.dark-theme, body.dark-theme, html.is-dark, body.is-dark) .site-header .menu-toggle {
  --burger-line: #eaf5ff;
  background: rgba(9, 38, 65, 0.62) !important;
  border-color: rgba(173, 224, 240, 0.42) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

:where(html[data-theme="dark"], body[data-theme="dark"], html.dark, body.dark, html.dark-mode, body.dark-mode, html.theme-dark, body.theme-dark, html.dark-theme, body.dark-theme, html.is-dark, body.is-dark) .site-header .menu-toggle:hover,
:where(html[data-theme="dark"], body[data-theme="dark"], html.dark, body.dark, html.dark-mode, body.dark-mode, html.theme-dark, body.theme-dark, html.dark-theme, body.dark-theme, html.is-dark, body.is-dark) .site-header .menu-toggle:focus-visible {
  background: rgba(18, 59, 98, 0.86) !important;
  border-color: rgba(199, 233, 255, 0.72) !important;
}

@media (min-width: 940px) {
  .site-header .menu-toggle {
    display: none !important;
  }
}

@media (max-width: 760px) {
  .site-header .brand-logo {
    padding: 5px !important;
    object-fit: contain !important;
    transform: none !important;
    transform-origin: center !important;
  }

  .site-header .theme-toggle {
    width: 48px !important;
    min-width: 48px !important;
    height: 48px !important;
  }

  .site-header .menu-toggle {
    top: auto !important;
    right: auto !important;
    width: 48px !important;
    min-width: 48px !important;
    height: 48px !important;
    flex: 0 0 48px !important;
    border-radius: 14px !important;
  }
}

:where(html[data-theme="dark"], body[data-theme="dark"], html.dark, body.dark, html.dark-mode, body.dark-mode, html.theme-dark, body.theme-dark, html.dark-theme, body.dark-theme, html.is-dark, body.is-dark) :is(
  .subscribe-price-note,
  .subscribe-delivery-note,
  .education-quote-copy,
  .education-idea-panel,
  .about-list-panel,
  .about-check-list li,
  .about-feature-card,
  .contests-shell,
  .contests-empty-card,
  .page-hero > .container,
  .article-hero .container,
  .rubric-hero .container,
  .eco-topic-row article,
  .eco-article-card,
  .eco-mag-card,
  .eco-visual-card,
  .eco-reader-hero,
  .eco-reader-next,
  .mag-card,
  .mini-issue,
  .article-card
) {
  background: linear-gradient(145deg, rgba(15, 64, 104, 0.78), rgba(4, 28, 50, 0.62)) !important;
  border-color: rgba(116, 177, 220, 0.32) !important;
  color: #eaf5ff !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.09) !important;
  backdrop-filter: blur(16px) saturate(125%) !important;
}

:where(html[data-theme="dark"], body[data-theme="dark"], html.dark, body.dark, html.dark-mode, body.dark-mode, html.theme-dark, body.theme-dark, html.dark-theme, body.dark-theme, html.is-dark, body.is-dark) :is(
  .subscribe-price-note,
  .subscribe-delivery-note,
  .education-quote-copy,
  .education-idea-panel,
  .about-list-panel,
  .about-check-list li,
  .about-feature-card,
  .contests-shell,
  .contests-empty-card,
  .page-hero > .container,
  .article-hero .container,
  .rubric-hero .container,
  .eco-topic-row article,
  .eco-article-card,
  .eco-mag-card,
  .eco-visual-card,
  .eco-reader-hero,
  .eco-reader-next,
  .mag-card,
  .mini-issue,
  .article-card
) :is(h1, h2, h3, h4, strong, b, span) {
  color: inherit !important;
}

:where(html[data-theme="dark"], body[data-theme="dark"], html.dark, body.dark, html.dark-mode, body.dark-mode, html.theme-dark, body.theme-dark, html.dark-theme, body.dark-theme, html.is-dark, body.is-dark) :is(
  .subscribe-price-note,
  .subscribe-delivery-note,
  .education-quote-copy,
  .education-idea-panel,
  .about-list-panel,
  .about-check-list li,
  .about-feature-card,
  .contests-shell,
  .contests-empty-card,
  .page-hero > .container,
  .article-hero .container,
  .rubric-hero .container,
  .eco-topic-row article,
  .eco-article-card,
  .eco-mag-card,
  .eco-visual-card,
  .eco-reader-hero,
  .eco-reader-next,
  .mag-card,
  .mini-issue,
  .article-card
) :is(p, small, li, label) {
  color: rgba(234, 245, 255, 0.82) !important;
}

/* EcoLife requested glass pass. */
.ecolife-page .eco-hero-gallery {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(84px, 0.65fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-height: 270px;
}

.ecolife-page .eco-hero-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 18px 38px rgba(0, 14, 30, 0.22);
}

.ecolife-page .eco-hero-gallery-main {
  grid-row: 1 / span 2;
}

.ecolife-page .eco-card-badge {
  display: none !important;
}

.ecolife-page #magazine-eco .container {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

.ecolife-page .eco-topic-row article,
.ecolife-page #magazine-eco .ecolife-section-head > div,
.ecolife-page .eco-magazine-grid {
  border: 1px solid rgba(173, 224, 240, 0.3) !important;
  background: linear-gradient(145deg, rgba(16, 64, 103, 0.72), rgba(4, 28, 48, 0.86)) !important;
  color: #eaf5ff !important;
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(16px);
}

.ecolife-page .eco-topic-row article {
  border-radius: 18px;
}

.ecolife-page #magazine-eco .ecolife-section-head > div {
  padding: 22px;
  border-radius: 24px;
}

.ecolife-page .eco-magazine-grid {
  padding: 18px;
  border-radius: 24px;
}

.ecolife-page .eco-topic-row article span,
.ecolife-page #magazine-eco .ecolife-section-head h2,
.ecolife-page #magazine-eco .ecolife-section-head p,
.ecolife-page #magazine-eco .ecolife-section-head .eyebrow {
  color: #eaf5ff !important;
}

.ecolife-page #magazine-eco .ecolife-section-head p {
  color: rgba(234, 245, 255, 0.82) !important;
}

@media (max-width: 520px) {
  .ecolife-page .eco-hero-gallery {
    min-height: 270px;
    gap: 8px;
  }

  .ecolife-page .eco-hero-gallery img {
    border-radius: 16px;
  }

  .ecolife-page #magazine-eco .ecolife-section-head > div,
  .ecolife-page .eco-magazine-grid {
    padding: 14px;
    border-radius: 20px;
  }
}

/* Contests notice cards glass background. */
.contests-page .notice-card {
  border-color: rgba(173, 224, 240, 0.32) !important;
  background: linear-gradient(145deg, rgba(16, 64, 103, 0.72), rgba(4, 28, 48, 0.84)) !important;
  color: #eaf5ff !important;
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(16px);
}

.contests-page .notice-card strong {
  color: #eaf5ff !important;
}

/* Archive issue dates: plain month and year text. */
.archive-page .mag-body .meta {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin-bottom: 10px !important;
  color: inherit !important;
}

.archive-page .mag-body .meta span {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  color: inherit !important;
}

/* Header polish: subtle launch animation and solid logo plate. */
.site-header {
  position: sticky;
  animation: headerDropIn 520ms ease both;
}

.site-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(40, 178, 255, 0.72), rgba(34, 215, 125, 0.58), transparent);
  background-size: 220% 100%;
  opacity: 0.72;
  animation: headerLightSweep 5.5s ease-in-out infinite;
}

.site-header .nav-shell {
  position: relative;
  z-index: 1;
}

.site-header .brand-logo {
  background: #ffffff !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 10px 22px rgba(0, 102, 204, 0.16) !important;
}

.site-header .brand,
.site-header nav a,
.site-header .theme-toggle,
.site-header .menu-toggle {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.site-header .brand:hover,
.site-header .brand:focus-visible,
.site-header nav a:hover,
.site-header nav a:focus-visible,
.site-header .theme-toggle:hover,
.site-header .theme-toggle:focus-visible,
.site-header .menu-toggle:hover,
.site-header .menu-toggle:focus-visible {
  transform: translateY(-1px);
}

@keyframes headerDropIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes headerLightSweep {
  0%,
  100% {
    background-position: 140% 0;
  }

  50% {
    background-position: -40% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .site-header::after {
    animation: none !important;
  }

  .site-header .brand,
  .site-header nav a,
  .site-header .theme-toggle,
  .site-header .menu-toggle {
    transition: none !important;
  }
}

/* Header theme button: same compact size in light and dark themes. */
.site-header .theme-toggle,
.site-header [data-theme-toggle],
html[data-theme="dark"] .site-header .theme-toggle,
html[data-theme="dark"] .site-header [data-theme-toggle] {
  width: 44px !important;
  min-width: 44px !important;
  height: 44px !important;
  flex: 0 0 44px !important;
  border-radius: 14px !important;
}

/* Requested mobile menu polish: smooth overlay-style reveal without page shift. */
.nav-menu {
  z-index: 70;
}

body.menu-open {
  overflow-x: hidden;
}

@media (max-width: 939px) {
  .nav-menu {
    transform: translate3d(0, -12px, 0) scale(0.985) !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    will-change: opacity, transform;
    transition:
      opacity 260ms ease,
      transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1),
      visibility 280ms ease !important;
  }

  .nav-menu.is-open {
    transform: translate3d(0, 0, 0) scale(1) !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

/* Featured contest page. */
.idea-contest-page {
  color: #12243d;
  background:
    linear-gradient(135deg, rgba(0, 87, 184, 0.08) 0 25%, transparent 25% 50%, rgba(255, 196, 0, 0.12) 50% 75%, transparent 75% 100%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 44%, #f1fbf6 100%);
  background-size: 34px 34px, auto;
}

.idea-contest-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 6vw, 76px) 0 clamp(26px, 5vw, 58px);
  background:
    linear-gradient(128deg, rgba(4, 31, 63, 0.96) 0 49%, rgba(0, 87, 184, 0.9) 49% 72%, rgba(255, 196, 0, 0.88) 72% 100%);
  color: #ffffff;
}

.idea-contest-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.98fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
}

.contest-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff4bd;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.idea-contest-copy h1 {
  max-width: 760px;
  margin: 18px 0 0;
  color: #ffffff;
  font-size: clamp(3.1rem, 8vw, 7.1rem);
  line-height: 0.92;
}

.contest-lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: #fff4bd;
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  font-weight: 850;
  line-height: 1.45;
}

.idea-contest-copy p:not(.contest-lead) {
  max-width: 700px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.02rem;
  line-height: 1.72;
}

.contest-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.contest-actions .btn.secondary {
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.contest-actions .contest-register-btn {
  border-color: rgba(255, 196, 0, 0.76);
  background: #ffc400;
  color: #0b1f3a;
  box-shadow: 0 14px 32px rgba(255, 196, 0, 0.24);
}

.contest-visual {
  position: relative;
  min-height: clamp(360px, 42vw, 560px);
}

.contest-photo {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.contest-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contest-photo-main {
  inset: 8% 6% 14% 2%;
  border-radius: 26px;
  transform: rotate(-2deg);
}

.contest-photo-small {
  right: 0;
  bottom: 0;
  width: 48%;
  aspect-ratio: 1.12;
  border-radius: 22px;
  transform: rotate(4deg);
}

.contest-deadline-badge {
  position: absolute;
  top: 3%;
  right: 2%;
  display: grid;
  gap: 2px;
  min-width: 178px;
  padding: 16px 18px;
  border-radius: 20px;
  background: #ffffff;
  color: #0b1f3a;
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.22);
  transform: rotate(3deg);
}

.contest-deadline-badge span {
  color: #0057b8;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contest-deadline-badge strong {
  font-size: 1.35rem;
  line-height: 1;
}

.contest-snapshot-section {
  padding: clamp(22px, 4vw, 38px) 0 0;
}

.contest-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.contest-snapshot,
.contest-direction-card,
.contest-rules-panel,
.contest-prize-panel,
.contest-contact-panel {
  border: 1px solid rgba(0, 87, 184, 0.12);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 46px rgba(0, 87, 184, 0.08);
}

.contest-snapshot {
  padding: 18px;
  border-radius: 8px;
}

.contest-snapshot span {
  display: block;
  color: #0057b8;
  font-size: clamp(1.05rem, 2.2vw, 1.42rem);
  font-weight: 950;
  line-height: 1.15;
}

.contest-snapshot strong {
  display: block;
  margin-top: 6px;
  color: #526174;
  font-size: 0.92rem;
  line-height: 1.35;
}

.contest-section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

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

.contest-direction-card {
  overflow: hidden;
  border-radius: 8px;
}

.contest-direction-card img {
  width: 100%;
  aspect-ratio: 1.38;
  object-fit: cover;
}

.contest-direction-card div {
  padding: 18px;
}

.contest-direction-card span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #0b1f3a;
  color: #ffc400;
  font-weight: 950;
}

.contest-direction-card h3 {
  margin: 16px 0 8px;
  color: #0b1f3a;
  font-size: 1.34rem;
  line-height: 1.2;
}

.contest-direction-card p {
  margin: 0;
  color: #526174;
  line-height: 1.64;
}

.contest-rules-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 18px;
  align-items: stretch;
}

.contest-rules-panel,
.contest-prize-panel,
.contest-contact-panel {
  border-radius: 8px;
  padding: clamp(22px, 4vw, 34px);
}

.contest-rules-panel h2,
.contest-prize-panel h2,
.contest-contact-panel h2 {
  margin-top: 8px;
  color: #0b1f3a;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.08;
}

.contest-rule-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.contest-rule-list li {
  position: relative;
  padding: 14px 16px 14px 48px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(234, 245, 255, 0.96), rgba(255, 248, 220, 0.55));
  color: #2f4057;
  font-weight: 720;
  line-height: 1.55;
}

.contest-rule-list li::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 20px;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(135deg, #0057b8, #22c55e);
}

.contest-prize-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(140deg, #0b1f3a 0%, #0057b8 60%, #22c55e 100%);
  color: #ffffff;
}

.contest-prize-panel h2,
.contest-prize-panel p,
.contest-prize-panel strong {
  color: #ffffff;
}

.contest-prize-mark {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 8px;
  background: #ffc400;
  color: #0b1f3a;
  font-size: 2rem;
}

.contest-prize-panel p {
  margin: 14px 0 0;
  line-height: 1.65;
}

.contest-prize-panel strong {
  display: block;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  line-height: 1.48;
}

.contest-contact-section {
  padding: 8px 0 clamp(42px, 7vw, 84px);
}

.contest-contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(18px, 4vw, 40px);
  align-items: center;
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.96) 0 54%, rgba(234, 245, 255, 0.88) 54% 100%);
}

.contest-contact-panel p {
  max-width: 620px;
  color: #526174;
  font-weight: 720;
  line-height: 1.64;
}

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

.contest-contact-list a {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid rgba(0, 87, 184, 0.12);
  box-shadow: 0 12px 28px rgba(0, 87, 184, 0.08);
}

.contest-contact-list span {
  color: #68758a;
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.contest-contact-list strong {
  color: #0b1f3a;
  font-size: clamp(1rem, 2vw, 1.24rem);
  line-height: 1.2;
}

html[data-theme="dark"] .idea-contest-page {
  background:
    linear-gradient(135deg, rgba(199, 233, 255, 0.045) 0 25%, transparent 25% 50%, rgba(255, 196, 0, 0.05) 50% 75%, transparent 75% 100%),
    linear-gradient(180deg, #061d33 0%, #082846 52%, #061a2e 100%) !important;
  background-size: 34px 34px, auto !important;
}

html[data-theme="dark"] .contest-snapshot,
html[data-theme="dark"] .contest-direction-card,
html[data-theme="dark"] .contest-rules-panel,
html[data-theme="dark"] .contest-contact-panel,
html[data-theme="dark"] .contest-contact-list a {
  background: linear-gradient(180deg, rgba(15, 52, 86, 0.94), rgba(8, 35, 61, 0.96)) !important;
  border-color: rgba(199, 233, 255, 0.18) !important;
  color: #f4fbff !important;
}

html[data-theme="dark"] .contest-direction-card h3,
html[data-theme="dark"] .contest-rules-panel h2,
html[data-theme="dark"] .contest-contact-panel h2,
html[data-theme="dark"] .contest-contact-list strong {
  color: #f4fbff !important;
}

html[data-theme="dark"] .contest-direction-card p,
html[data-theme="dark"] .contest-contact-panel p,
html[data-theme="dark"] .contest-snapshot strong {
  color: #c7e9ff !important;
}

html[data-theme="dark"] .contest-rule-list li {
  background: rgba(199, 233, 255, 0.09);
  color: #e6f6ff;
}

@media (max-width: 940px) {
  .idea-contest-shell,
  .contest-rules-layout,
  .contest-contact-panel {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .idea-contest-hero {
    padding-top: 28px;
  }

  .idea-contest-copy h1 {
    max-width: 9ch;
    font-size: clamp(2.35rem, 11.5vw, 3.35rem);
    line-height: 0.98;
  }

  .contest-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .contest-visual {
    min-height: 330px;
  }

  .contest-photo-main {
    inset: 0 8% 18% 0;
  }

  .contest-photo-small {
    width: 54%;
  }

  .contest-deadline-badge {
    top: auto;
    right: 4px;
    bottom: 8px;
    min-width: 156px;
  }

  .contest-snapshot-grid,
  .contest-directions-grid {
    grid-template-columns: 1fr;
  }

  .contest-rule-list li {
    padding-left: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-menu,
  .nav-menu.is-open {
    transition: none !important;
  }
}

/* Mobile home hero subscribe button: smaller and centered. */
@media (max-width: 620px) {
  .home-page .magazine-hero-copy .hero-actions.magazine-hero-actions {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .home-page .magazine-hero-actions .btn.primary {
    width: min(88%, 304px) !important;
    min-height: 44px !important;
    justify-content: center;
    padding: 0 16px !important;
    border-radius: 15px !important;
    font-size: clamp(0.92rem, 4vw, 1rem);
    line-height: 1.15;
  }
}

/* Mobile header consistency: identical geometry in light and dark themes. */
@media (max-width: 939px) {
  .site-header,
  html[data-theme="dark"] .site-header {
    min-height: 64px !important;
    transition:
      background-color 260ms ease,
      border-color 260ms ease,
      box-shadow 260ms ease,
      backdrop-filter 260ms ease !important;
  }

  .site-header .nav-shell,
  html[data-theme="dark"] .site-header .nav-shell {
    min-height: 64px !important;
    align-items: center !important;
    gap: 10px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

  .site-header .theme-toggle,
  .site-header [data-theme-toggle],
  .site-header .menu-toggle,
  html[data-theme="dark"] .site-header .theme-toggle,
  html[data-theme="dark"] .site-header [data-theme-toggle],
  html[data-theme="dark"] .site-header .menu-toggle {
    display: inline-grid !important;
    place-items: center !important;
    width: 48px !important;
    min-width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
    flex: 0 0 48px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 16px !important;
    line-height: 0 !important;
    transition:
      transform 220ms ease,
      background-color 260ms ease,
      border-color 260ms ease,
      box-shadow 260ms ease,
      color 260ms ease !important;
  }

  .site-header .theme-toggle svg,
  .site-header [data-theme-toggle] svg,
  html[data-theme="dark"] .site-header .theme-toggle svg,
  html[data-theme="dark"] .site-header [data-theme-toggle] svg {
    width: 22px !important;
    height: 22px !important;
  }

  .site-header .menu-toggle::before,
  .site-header .menu-toggle::after,
  html[data-theme="dark"] .site-header .menu-toggle::before,
  html[data-theme="dark"] .site-header .menu-toggle::after {
    left: 50% !important;
    width: 23px !important;
    height: 3px !important;
    border-radius: 999px !important;
    transform: translateX(-50%) !important;
    transition:
      top 220ms ease,
      transform 220ms ease,
      background-color 260ms ease,
      box-shadow 260ms ease !important;
  }

  .site-header .menu-toggle::before,
  html[data-theme="dark"] .site-header .menu-toggle::before {
    top: 15px !important;
  }

  .site-header .menu-toggle::after,
  html[data-theme="dark"] .site-header .menu-toggle::after {
    top: 31px !important;
  }

  .site-header .menu-toggle[aria-expanded="true"]::before,
  html[data-theme="dark"] .site-header .menu-toggle[aria-expanded="true"]::before {
    top: 24px !important;
    box-shadow: none !important;
    transform: translateX(-50%) rotate(45deg) !important;
  }

  .site-header .menu-toggle[aria-expanded="true"]::after,
  html[data-theme="dark"] .site-header .menu-toggle[aria-expanded="true"]::after {
    top: 24px !important;
    transform: translateX(-50%) rotate(-45deg) !important;
  }

  .site-header nav#nav-menu,
  html[data-theme="dark"] .site-header nav#nav-menu {
    position: fixed !important;
    left: 16px !important;
    right: 16px !important;
    top: 72px !important;
    width: auto !important;
    max-height: calc(100svh - 88px) !important;
    display: grid !important;
    gap: 9px !important;
    padding: 12px !important;
    border-radius: 20px !important;
    overflow-y: auto !important;
    transform-origin: top center !important;
    transform: translate3d(0, -12px, 0) scale(0.985) !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 260ms ease,
      transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1),
      visibility 280ms ease,
      background-color 260ms ease,
      border-color 260ms ease,
      box-shadow 260ms ease !important;
  }

  .site-header nav#nav-menu.is-open,
  html[data-theme="dark"] .site-header nav#nav-menu.is-open {
    transform: translate3d(0, 0, 0) scale(1) !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-header nav#nav-menu a,
  html[data-theme="dark"] .site-header nav#nav-menu a {
    min-height: 46px !important;
    width: 100% !important;
    justify-content: center !important;
    padding: 0 14px !important;
    border-radius: 14px !important;
    font-size: 0.96rem !important;
    line-height: 1.2 !important;
    transition:
      background-color 220ms ease,
      border-color 220ms ease,
      color 220ms ease,
      transform 180ms ease !important;
  }
}

@media (max-width: 380px) {
  .site-header .theme-toggle,
  .site-header [data-theme-toggle],
  .site-header .menu-toggle,
  html[data-theme="dark"] .site-header .theme-toggle,
  html[data-theme="dark"] .site-header [data-theme-toggle],
  html[data-theme="dark"] .site-header .menu-toggle {
    width: 46px !important;
    min-width: 46px !important;
    height: 46px !important;
    min-height: 46px !important;
    flex-basis: 46px !important;
    border-radius: 15px !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html,
  body,
  main,
  .site-header,
  .nav-shell,
  .brand,
  .brand-logo,
  .btn,
  .theme-toggle,
  [data-theme-toggle],
  .menu-toggle,
  .nav-menu,
  .nav-menu a {
    transition-duration: 260ms;
    transition-timing-function: ease;
  }

  main {
    animation: pageSoftEnter 320ms ease both;
  }

  body.page-leaving main {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 180ms ease, transform 180ms ease;
  }
}

@keyframes pageSoftEnter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Smaller mobile theme toggle, identical in light and dark themes. */
@media (max-width: 939px) {
  .site-header .theme-toggle,
  .site-header [data-theme-toggle],
  html[data-theme="dark"] .site-header .theme-toggle,
  html[data-theme="dark"] .site-header [data-theme-toggle] {
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    flex: 0 0 42px !important;
    border-radius: 14px !important;
  }

  .site-header .theme-toggle svg,
  .site-header [data-theme-toggle] svg,
  html[data-theme="dark"] .site-header .theme-toggle svg,
  html[data-theme="dark"] .site-header [data-theme-toggle] svg {
    width: 19px !important;
    height: 19px !important;
  }
}

@media (max-width: 380px) {
  .site-header .theme-toggle,
  .site-header [data-theme-toggle],
  html[data-theme="dark"] .site-header .theme-toggle,
  html[data-theme="dark"] .site-header [data-theme-toggle] {
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    flex-basis: 40px !important;
    border-radius: 13px !important;
  }
}

/* Contest page final polish: compact hero, clean header brand, contained footer text. */
.site-header .brand,
html[data-theme="dark"] .site-header .brand {
  text-shadow: none !important;
  filter: none !important;
}

.site-header .brand-logo,
html[data-theme="dark"] .site-header .brand-logo {
  background: #ffffff !important;
  border: 1px solid rgba(174, 209, 241, 0.64) !important;
  box-shadow: none !important;
  filter: none !important;
}

.site-header .brand-name,
.site-header .brand-name span,
.site-header .brand-name small,
html[data-theme="dark"] .site-header .brand-name,
html[data-theme="dark"] .site-header .brand-name span,
html[data-theme="dark"] .site-header .brand-name small {
  text-shadow: none !important;
}

.idea-contest-page .idea-contest-hero {
  padding: clamp(22px, 3.2vw, 38px) 0 !important;
  background:
    linear-gradient(180deg, #f6fbff 0%, #ffffff 100%) !important;
  color: #0b1f3a !important;
}

.idea-contest-page .idea-contest-shell {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.72fr) !important;
  gap: clamp(18px, 3vw, 34px) !important;
  padding: clamp(22px, 3.4vw, 38px) !important;
  border: 1px solid rgba(0, 87, 184, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(115deg, #ffffff 0 61%, #eaf5ff 61% 100%);
  box-shadow: 0 18px 46px rgba(0, 87, 184, 0.08);
}

.idea-contest-page .contest-kicker {
  min-height: 30px !important;
  background: #eaf5ff !important;
  border-color: rgba(0, 87, 184, 0.14) !important;
  color: #0057b8 !important;
}

.idea-contest-page .idea-contest-copy h1 {
  max-width: 560px !important;
  margin-top: 14px !important;
  color: #0b1f3a !important;
  font-size: clamp(2.25rem, 4.8vw, 4.15rem) !important;
  line-height: 1 !important;
}

.idea-contest-page .contest-lead {
  max-width: 640px !important;
  margin-top: 14px !important;
  color: #193b62 !important;
  font-size: clamp(1rem, 1.5vw, 1.18rem) !important;
  line-height: 1.5 !important;
}

.idea-contest-page .idea-contest-copy p:not(.contest-lead) {
  max-width: 660px !important;
  margin-top: 12px !important;
  color: #526174 !important;
  font-size: 0.98rem !important;
  line-height: 1.58 !important;
}

.idea-contest-page .contest-actions {
  margin-top: 18px !important;
  gap: 10px !important;
}

.idea-contest-page .contest-actions .btn {
  min-height: 44px !important;
  padding: 0 18px !important;
  border-radius: 8px !important;
}

.idea-contest-page .contest-actions .btn.secondary {
  border-color: rgba(0, 87, 184, 0.18) !important;
  background: #ffffff !important;
  color: #0057b8 !important;
}

.idea-contest-page .contest-visual {
  min-height: clamp(220px, 24vw, 320px) !important;
}

.idea-contest-page .contest-photo-main {
  inset: 0 0 14% 0 !important;
  border-radius: 8px !important;
  transform: none !important;
}

.idea-contest-page .contest-photo-small {
  width: 42% !important;
  right: 14px !important;
  bottom: 0 !important;
  border-radius: 8px !important;
  transform: none !important;
}

.idea-contest-page .contest-deadline-badge {
  top: 14px !important;
  right: 14px !important;
  min-width: 142px !important;
  padding: 12px 14px !important;
  border-radius: 8px !important;
  transform: none !important;
  box-shadow: 0 12px 28px rgba(11, 31, 58, 0.14) !important;
}

.footer-brand-block {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow: hidden !important;
  padding: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.footer-brand {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.footer-brand .brand-name {
  min-width: 0 !important;
}

.footer-brand .brand-name,
.footer-brand .brand-name small,
.footer-brand-block p {
  max-width: 100% !important;
  overflow-wrap: anywhere !important;
  word-break: normal;
}

.footer-brand-block p {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: clamp(0.82rem, 1.2vw, 0.9rem) !important;
  line-height: 1.38 !important;
}

@media (max-width: 940px) {
  .idea-contest-page .idea-contest-shell {
    grid-template-columns: 1fr !important;
  }

  .idea-contest-page .contest-visual {
    min-height: 260px !important;
  }
}

@media (max-width: 620px) {
  .idea-contest-page .idea-contest-shell {
    padding: 20px 16px !important;
    border-radius: 8px !important;
  }

  .idea-contest-page .idea-contest-copy h1 {
    max-width: 100% !important;
    font-size: clamp(2.05rem, 10vw, 2.85rem) !important;
    line-height: 1.04 !important;
  }

  .idea-contest-page .contest-actions .btn {
    width: 100% !important;
  }
}

html[data-theme="dark"] .idea-contest-page .idea-contest-hero {
  background: linear-gradient(180deg, #061d33 0%, #082846 100%) !important;
}

html[data-theme="dark"] .idea-contest-page .idea-contest-shell {
  background: linear-gradient(135deg, rgba(13, 47, 80, 0.96), rgba(6, 29, 51, 0.94)) !important;
  border-color: rgba(199, 233, 255, 0.18) !important;
}

html[data-theme="dark"] .idea-contest-page .idea-contest-copy h1,
html[data-theme="dark"] .idea-contest-page .contest-lead {
  color: #f4fbff !important;
}

html[data-theme="dark"] .idea-contest-page .idea-contest-copy p:not(.contest-lead) {
  color: #c7e9ff !important;
}

html[data-theme="dark"] .idea-contest-page .contest-kicker {
  background: rgba(199, 233, 255, 0.1) !important;
  border-color: rgba(199, 233, 255, 0.18) !important;
  color: #c7e9ff !important;
}

/* Desktop header links must stay clickable above all decorative layers. */
@media (min-width: 940px) {
  .site-header {
    pointer-events: auto !important;
  }

  .site-header .nav-shell {
    display: grid !important;
    grid-template-columns: auto 42px minmax(0, 1fr) !important;
    align-items: center !important;
    width: min(1160px, calc(100% - 48px)) !important;
    min-height: 76px !important;
    gap: 18px !important;
    pointer-events: auto !important;
  }

  .site-header .brand,
  .site-header .theme-toggle,
  .site-header [data-theme-toggle] {
    position: relative;
    z-index: 5;
    pointer-events: auto !important;
  }

  .site-header .brand {
    justify-self: start !important;
    min-width: 0 !important;
  }

  .site-header .theme-toggle,
  .site-header [data-theme-toggle] {
    justify-self: center !important;
  }

  .site-header .menu-toggle {
    display: none !important;
  }

  .site-header nav#nav-menu {
    position: static !important;
    inset: auto !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    justify-self: end !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 8px !important;
    width: auto !important;
    max-width: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    z-index: 5;
  }

  .site-header nav#nav-menu a {
    position: relative;
    z-index: 5;
    min-height: 42px !important;
    padding: 0 12px !important;
    white-space: nowrap !important;
    pointer-events: auto !important;
  }
}

@media (min-width: 940px) and (max-width: 1080px) {
  .site-header .nav-shell {
    width: min(100%, calc(100% - 28px)) !important;
    gap: 12px !important;
  }

  .site-header nav#nav-menu {
    gap: 4px !important;
  }

  .site-header nav#nav-menu a {
    padding: 0 9px !important;
    font-size: 0.94rem !important;
  }
}

/* Article detail pages: shared polished reader design for every article. */
.article-detail-page {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 10%, rgba(0, 157, 255, 0.1), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(255, 196, 0, 0.12), transparent 24%),
    linear-gradient(rgba(0, 87, 184, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 87, 184, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #f6fbff 0%, #ffffff 44%, #f2fbf7 100%);
  background-size: auto, auto, 92px 92px, 92px 92px, auto;
}

.article-detail-page .article-hero {
  padding: clamp(24px, 4vw, 48px) 0 22px !important;
  background: transparent !important;
}

.article-detail-page .article-hero .container {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 42px) !important;
  border: 1px solid rgba(0, 87, 184, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(0, 87, 184, 0.12) 0 7px, transparent 7px 100%),
    radial-gradient(circle at 86% 24%, rgba(255, 196, 0, 0.24), transparent 24%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.98) 0 62%, rgba(234, 245, 255, 0.92) 62% 100%);
  box-shadow: 0 20px 54px rgba(0, 87, 184, 0.1);
}

.article-detail-page .article-hero .container::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: min(34%, 360px);
  background:
    linear-gradient(135deg, rgba(0, 87, 184, 0.12), rgba(34, 197, 94, 0.1));
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.article-detail-page .article-hero .eyebrow,
.article-detail-page .article-title,
.article-detail-page .article-hero .meta {
  position: relative;
  z-index: 1;
}

.article-detail-page .article-title {
  max-width: 820px !important;
  color: #0b1f3a;
  font-size: clamp(2rem, 5.2vw, 40px) !important;
  line-height: 1.02;
}

.article-detail-page .article-hero .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.article-detail-page .article-hero .meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ffffff;
  color: #0057b8;
  border: 1px solid rgba(0, 87, 184, 0.14);
  font-weight: 850;
}

.article-detail-page .article-hero + .section {
  padding-top: 16px !important;
  background: transparent !important;
}

.article-detail-page .article-layout {
  grid-template-columns: 62px minmax(0, 820px);
  justify-content: center;
  align-items: start;
  gap: 22px !important;
}

.article-detail-page .share-panel {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(0, 87, 184, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 34px rgba(0, 87, 184, 0.08);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.article-detail-page .icon-btn {
  border-radius: 8px !important;
  background: linear-gradient(180deg, #ffffff, #eef6ff) !important;
  color: #0057b8 !important;
  box-shadow: 0 8px 18px rgba(0, 87, 184, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.article-detail-page .icon-btn:hover,
.article-detail-page .icon-btn:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(0, 87, 184, 0.34);
  box-shadow: 0 14px 28px rgba(0, 87, 184, 0.14);
}

.article-detail-page .reader {
  position: relative;
  width: 100% !important;
  max-width: 820px !important;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid rgba(0, 87, 184, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(0, 87, 184, 0.08) 0 6px, transparent 6px 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 255, 0.94));
  box-shadow: 0 24px 70px rgba(0, 87, 184, 0.1);
}

.article-detail-page .article-opener {
  grid-template-columns: minmax(220px, 0.84fr) minmax(0, 1fr);
  padding: clamp(16px, 2.5vw, 22px) !important;
  border: 1px solid rgba(0, 87, 184, 0.14) !important;
  border-radius: 22px !important;
  background:
    radial-gradient(circle at 86% 16%, rgba(255, 196, 0, 0.18), transparent 24%),
    linear-gradient(135deg, #0b1f3a 0%, #0057b8 58%, #12b76a 100%) !important;
  box-shadow: 0 22px 50px rgba(11, 31, 58, 0.18) !important;
}

.article-detail-page .article-inline-media {
  border-radius: 18px !important;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.article-detail-page .article-lead {
  color: #ffffff !important;
  font-size: clamp(1.02rem, 1.7vw, 1.22rem) !important;
}

.article-detail-page .article-opener .quote {
  color: #fff4bd !important;
  border-left-color: #ffc400 !important;
}

.article-detail-page .reader h2 {
  color: #0b1f3a;
  font-size: clamp(1.6rem, 3.4vw, 2.45rem) !important;
  line-height: 1.12;
}

.article-detail-page .reader p,
.article-detail-page .reader li {
  color: #27364a;
}

.article-detail-page .article-insight,
.article-detail-page .article-note,
.article-detail-page .article-practice,
.article-detail-page .article-next {
  position: relative;
  overflow: hidden;
  border-radius: 8px !important;
  padding: clamp(18px, 3vw, 26px) !important;
  border: 1px solid rgba(0, 87, 184, 0.13) !important;
  box-shadow: 0 16px 38px rgba(0, 87, 184, 0.08);
}

.article-detail-page .article-insight {
  background:
    linear-gradient(90deg, rgba(255, 196, 0, 0.22) 0 7px, transparent 7px 100%),
    linear-gradient(135deg, #ffffff, #f4fbff) !important;
}

.article-detail-page .article-note {
  background:
    linear-gradient(90deg, rgba(18, 183, 106, 0.24) 0 7px, transparent 7px 100%),
    linear-gradient(135deg, #f7fff9, #ffffff) !important;
}

.article-detail-page .article-practice {
  background:
    linear-gradient(90deg, rgba(0, 87, 184, 0.22) 0 7px, transparent 7px 100%),
    linear-gradient(135deg, #eef6ff, #ffffff) !important;
}

.article-detail-page .article-next {
  background:
    radial-gradient(circle at 90% 12%, rgba(255, 196, 0, 0.22), transparent 24%),
    linear-gradient(135deg, #fff8dc, #ffffff) !important;
}

.article-detail-page .article-note strong,
.article-detail-page .article-next strong,
.article-detail-page .article-deep-grid strong,
.article-detail-page .article-practice strong {
  color: #0b1f3a !important;
  font-size: 1.08rem;
}

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

.article-detail-page .article-deep-grid > div {
  border: 1px solid rgba(0, 87, 184, 0.1);
  border-radius: 8px !important;
  background:
    linear-gradient(180deg, #ffffff, #f7fbff) !important;
  box-shadow: 0 12px 28px rgba(0, 87, 184, 0.07) !important;
}

.article-detail-page .issue-download-card {
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 22px !important;
  align-items: center;
  background:
    radial-gradient(circle at 10% 12%, rgba(255, 196, 0, 0.22), transparent 24%),
    linear-gradient(135deg, #0b1f3a 0%, #0057b8 54%, #12b76a 100%) !important;
  color: #ffffff;
}

.article-detail-page .issue-download-card img {
  width: 150px !important;
  border-radius: 8px !important;
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.24) !important;
}

.article-detail-page .issue-download-card strong,
.article-detail-page .issue-download-card p {
  color: #ffffff !important;
}

.article-detail-page .issue-download-actions {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px !important;
}

.article-detail-page .issue-download-actions .btn {
  min-height: 42px;
  border-radius: 8px !important;
}

html[data-theme="dark"] .article-detail-page {
  background:
    radial-gradient(circle at 12% 8%, rgba(28, 167, 255, 0.14), transparent 28%),
    radial-gradient(circle at 88% 20%, rgba(255, 196, 0, 0.08), transparent 24%),
    linear-gradient(rgba(174, 218, 248, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(174, 218, 248, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, #061d33 0%, #082846 54%, #061a2e 100%) !important;
  background-size: auto, auto, 82px 82px, 82px 82px, auto !important;
}

html[data-theme="dark"] .article-detail-page .article-hero .container,
html[data-theme="dark"] .article-detail-page .reader,
html[data-theme="dark"] .article-detail-page .share-panel {
  border-color: rgba(199, 233, 255, 0.18) !important;
  background:
    linear-gradient(135deg, rgba(13, 47, 80, 0.94), rgba(6, 29, 51, 0.92)) !important;
  color: #f4fbff !important;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28) !important;
}

html[data-theme="dark"] .article-detail-page .article-title,
html[data-theme="dark"] .article-detail-page .reader h2,
html[data-theme="dark"] .article-detail-page .article-note strong,
html[data-theme="dark"] .article-detail-page .article-next strong,
html[data-theme="dark"] .article-detail-page .article-deep-grid strong,
html[data-theme="dark"] .article-detail-page .article-practice strong {
  color: #f4fbff !important;
}

html[data-theme="dark"] .article-detail-page .reader p,
html[data-theme="dark"] .article-detail-page .reader li {
  color: #d7edff !important;
}

html[data-theme="dark"] .article-detail-page .article-hero .meta span,
html[data-theme="dark"] .article-detail-page .icon-btn {
  background: rgba(199, 233, 255, 0.1) !important;
  border-color: rgba(199, 233, 255, 0.2) !important;
  color: #c7e9ff !important;
}

html[data-theme="dark"] .article-detail-page .article-insight,
html[data-theme="dark"] .article-detail-page .article-note,
html[data-theme="dark"] .article-detail-page .article-practice,
html[data-theme="dark"] .article-detail-page .article-next,
html[data-theme="dark"] .article-detail-page .article-deep-grid > div {
  border-color: rgba(199, 233, 255, 0.18) !important;
  background:
    linear-gradient(145deg, rgba(16, 64, 103, 0.72), rgba(4, 28, 48, 0.86)) !important;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

html[data-theme="dark"] .article-detail-page .issue-download-card {
  background:
    radial-gradient(circle at 12% 16%, rgba(255, 196, 0, 0.12), transparent 24%),
    linear-gradient(135deg, #041423 0%, #083761 55%, #0c6b54 100%) !important;
}

@media (max-width: 900px) {
  .article-detail-page .article-layout {
    grid-template-columns: 1fr;
  }

  .article-detail-page .share-panel {
    position: static;
    display: flex;
    width: fit-content;
  }

  .article-detail-page .article-opener,
  .article-detail-page .issue-download-card,
  .article-detail-page .article-deep-grid {
    grid-template-columns: 1fr;
  }

  .article-detail-page .issue-download-card img {
    width: min(160px, 48vw) !important;
  }
}

@media (max-width: 620px) {
  .article-detail-page .article-hero .container,
  .article-detail-page .reader {
    padding: 20px 16px !important;
  }

  .article-detail-page .article-title {
    font-size: clamp(1.9rem, 9.5vw, 2.65rem) !important;
  }

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

/* Article detail mobile refinements requested from browser review. */
.article-detail-page .article-hero [data-article-issue],
.article-detail-page .article-hero .meta span:empty {
  display: none !important;
}

.article-detail-page .article-hero .meta:not(:has(span:not(:empty):not([data-article-issue]))) {
  display: none !important;
}

@media (max-width: 620px) {
  .article-detail-page .article-hero {
    padding: 14px 0 10px !important;
  }

  .article-detail-page .article-hero .container {
    padding: 18px 16px !important;
    border-radius: 8px !important;
  }

  .article-detail-page .article-hero .eyebrow {
    min-height: 28px !important;
    padding: 5px 10px !important;
    font-size: 0.82rem !important;
  }

  .article-detail-page .article-title {
    font-size: clamp(1.55rem, 7.2vw, 2.05rem) !important;
    line-height: 1.12 !important;
  }

  .article-detail-page .article-hero .meta {
    margin-top: 12px !important;
  }

  .article-detail-page .issue-download-card {
    margin: 20px 0 !important;
    padding: 16px !important;
    gap: 14px !important;
  }

  .article-detail-page .issue-download-card img {
    width: min(120px, 40vw) !important;
    justify-self: center;
  }

  .article-detail-page .issue-download-card strong {
    font-size: 1rem !important;
  }

  .article-detail-page .issue-download-card p {
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
  }

  .article-detail-page .issue-download-actions {
    display: grid !important;
    grid-template-columns: 1fr 46px 1fr;
    gap: 8px !important;
  }

  .article-detail-page .issue-download-actions .btn {
    min-height: 40px !important;
    padding: 0 12px !important;
    font-size: 0.92rem !important;
  }

  .article-detail-page .issue-download-actions .download-btn {
    width: 46px !important;
    min-width: 46px !important;
    padding: 0 !important;
  }

  .site-footer .footer-main .footer-column:first-of-type {
    margin-left: 12px !important;
  }
}

/* Compact mobile theme button across article and regular pages. */
@media (max-width: 620px) {
  .site-header .theme-toggle,
  .site-header [data-theme-toggle],
  html[data-theme="dark"] .site-header .theme-toggle,
  html[data-theme="dark"] .site-header [data-theme-toggle] {
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    border-radius: 8px !important;
    border-width: 1px !important;
    box-shadow: 0 8px 18px rgba(0, 87, 184, 0.1) !important;
    outline-offset: 3px !important;
  }

  .site-header .theme-toggle svg,
  .site-header [data-theme-toggle] svg,
  .site-header .theme-toggle .theme-icon,
  .site-header [data-theme-toggle] .theme-icon,
  html[data-theme="dark"] .site-header .theme-toggle svg,
  html[data-theme="dark"] .site-header [data-theme-toggle] svg,
  html[data-theme="dark"] .site-header .theme-toggle .theme-icon,
  html[data-theme="dark"] .site-header [data-theme-toggle] .theme-icon {
    width: 20px !important;
    height: 20px !important;
  }
}

@media (max-width: 380px) {
  .site-header .theme-toggle,
  .site-header [data-theme-toggle],
  html[data-theme="dark"] .site-header .theme-toggle,
  html[data-theme="dark"] .site-header [data-theme-toggle] {
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
  }
}

/* Final prelaunch header system: one geometry for light and dark themes. */
.site-header .theme-toggle,
.site-header [data-theme-toggle],
html[data-theme="dark"] .site-header .theme-toggle,
html[data-theme="dark"] .site-header [data-theme-toggle] {
  display: inline-grid !important;
  place-items: center !important;
  width: 36px !important;
  min-width: 36px !important;
  height: 36px !important;
  min-height: 36px !important;
  flex: 0 0 36px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 12px !important;
  line-height: 0 !important;
}

.site-header .theme-toggle svg,
.site-header [data-theme-toggle] svg,
.site-header .theme-toggle .theme-icon,
.site-header [data-theme-toggle] .theme-icon,
html[data-theme="dark"] .site-header .theme-toggle svg,
html[data-theme="dark"] .site-header [data-theme-toggle] svg,
html[data-theme="dark"] .site-header .theme-toggle .theme-icon,
html[data-theme="dark"] .site-header [data-theme-toggle] .theme-icon {
  width: 17px !important;
  height: 17px !important;
}

@media (min-width: 940px) {
  .site-header .nav-shell {
    grid-template-columns: minmax(190px, auto) 36px minmax(0, 1fr) !important;
  }

  .site-header nav#nav-menu {
    min-width: 0 !important;
  }
}

@media (min-width: 940px) and (max-width: 1180px) {
  .site-header .nav-shell {
    width: min(100%, calc(100% - 28px)) !important;
    gap: 10px !important;
  }

  .site-header .brand {
    gap: 8px !important;
  }

  .site-header .brand-logo {
    width: 58px !important;
    height: 42px !important;
    padding: 4px !important;
  }

  .site-header .brand-name {
    font-size: 1rem !important;
  }

  .site-header .brand-name small {
    font-size: 0.72rem !important;
  }

  .site-header nav#nav-menu {
    gap: 3px !important;
  }

  .site-header nav#nav-menu a {
    min-height: 40px !important;
    padding: 0 7px !important;
    font-size: 0.86rem !important;
  }
}

@media (max-width: 939px) {
  .site-header .menu-toggle,
  html[data-theme="dark"] .site-header .menu-toggle {
    display: inline-grid !important;
    place-items: center !important;
    width: 48px !important;
    min-width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
    flex: 0 0 48px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 14px !important;
  }

  .site-header nav#nav-menu,
  html[data-theme="dark"] .site-header nav#nav-menu {
    position: fixed !important;
    top: 72px !important;
    right: 16px !important;
    left: 16px !important;
    width: auto !important;
    max-height: calc(100svh - 88px) !important;
    overflow-y: auto !important;
    transform-origin: top center !important;
  }
}

@media (max-width: 380px) {
  .site-header .theme-toggle,
  .site-header [data-theme-toggle],
  html[data-theme="dark"] .site-header .theme-toggle,
  html[data-theme="dark"] .site-header [data-theme-toggle] {
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    flex-basis: 40px !important;
  }

  .site-header .menu-toggle,
  html[data-theme="dark"] .site-header .menu-toggle {
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    flex-basis: 44px !important;
  }
}

/* Functional state must win over decorative card layouts in light and dark themes. */
[hidden],
.hidden,
html[data-theme="dark"] [hidden],
html[data-theme="dark"] .hidden {
  display: none !important;
}

/* Browser feedback: keep mobile header action buttons compact. */
@media (max-width: 939px) {
  .site-header .theme-toggle,
  .site-header [data-theme-toggle],
  .site-header .menu-toggle,
  html[data-theme="dark"] .site-header .theme-toggle,
  html[data-theme="dark"] .site-header [data-theme-toggle],
  html[data-theme="dark"] .site-header .menu-toggle {
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    flex: 0 0 40px !important;
    border-radius: 12px !important;
  }

  .site-header .theme-toggle svg,
  .site-header [data-theme-toggle] svg,
  .site-header .theme-toggle .theme-icon,
  .site-header [data-theme-toggle] .theme-icon,
  html[data-theme="dark"] .site-header .theme-toggle svg,
  html[data-theme="dark"] .site-header [data-theme-toggle] svg,
  html[data-theme="dark"] .site-header .theme-toggle .theme-icon,
  html[data-theme="dark"] .site-header [data-theme-toggle] .theme-icon {
    width: 18px !important;
    height: 18px !important;
  }

  .site-header .menu-toggle::before,
  .site-header .menu-toggle::after,
  html[data-theme="dark"] .site-header .menu-toggle::before,
  html[data-theme="dark"] .site-header .menu-toggle::after {
    width: 20px !important;
    height: 2px !important;
  }

  .site-header .menu-toggle::before,
  html[data-theme="dark"] .site-header .menu-toggle::before {
    top: 12px !important;
    box-shadow: 0 8px 0 var(--burger-line, var(--it-burger-line, #0057b8)) !important;
  }

  .site-header .menu-toggle::after,
  html[data-theme="dark"] .site-header .menu-toggle::after {
    top: 28px !important;
  }

  .site-header .menu-toggle[aria-expanded="true"]::before,
  .site-header .menu-toggle[aria-expanded="true"]::after,
  html[data-theme="dark"] .site-header .menu-toggle[aria-expanded="true"]::before,
  html[data-theme="dark"] .site-header .menu-toggle[aria-expanded="true"]::after {
    top: 20px !important;
  }
}

@media (max-width: 380px) {
  .site-header .theme-toggle,
  .site-header [data-theme-toggle],
  .site-header .menu-toggle,
  html[data-theme="dark"] .site-header .theme-toggle,
  html[data-theme="dark"] .site-header [data-theme-toggle],
  html[data-theme="dark"] .site-header .menu-toggle {
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    flex-basis: 38px !important;
    border-radius: 11px !important;
  }

  .site-header .theme-toggle svg,
  .site-header [data-theme-toggle] svg,
  .site-header .theme-toggle .theme-icon,
  .site-header [data-theme-toggle] .theme-icon,
  html[data-theme="dark"] .site-header .theme-toggle svg,
  html[data-theme="dark"] .site-header [data-theme-toggle] svg,
  html[data-theme="dark"] .site-header .theme-toggle .theme-icon,
  html[data-theme="dark"] .site-header [data-theme-toggle] .theme-icon {
    width: 17px !important;
    height: 17px !important;
  }
}

/* Browser feedback: mobile menu button background, identical in light and dark themes. */
@media (max-width: 939px) {
  .site-header .menu-toggle,
  html[data-theme="dark"] .site-header .menu-toggle,
  body[data-theme="dark"] .site-header .menu-toggle {
    position: relative !important;
    display: inline-grid !important;
    place-items: center !important;
    overflow: hidden !important;
    text-indent: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
    background: linear-gradient(145deg, #006bd6 0%, #159ee8 54%, #18b8c5 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.76) !important;
    box-shadow:
      0 10px 22px rgba(0, 87, 184, 0.24),
      inset 0 1px 0 rgba(255, 255, 255, 0.45),
      inset 0 -8px 18px rgba(0, 56, 128, 0.22) !important;
  }

  .site-header .menu-toggle:hover,
  .site-header .menu-toggle:focus-visible,
  html[data-theme="dark"] .site-header .menu-toggle:hover,
  html[data-theme="dark"] .site-header .menu-toggle:focus-visible,
  body[data-theme="dark"] .site-header .menu-toggle:hover,
  body[data-theme="dark"] .site-header .menu-toggle:focus-visible {
    transform: translateY(-1px) !important;
    background: linear-gradient(145deg, #0075e8 0%, #20aaf0 52%, #1bc6ce 100%) !important;
    border-color: rgba(255, 255, 255, 0.9) !important;
    box-shadow:
      0 13px 28px rgba(0, 87, 184, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.55),
      inset 0 -8px 18px rgba(0, 56, 128, 0.2) !important;
  }

  .site-header .menu-toggle::before,
  .site-header .menu-toggle::after,
  html[data-theme="dark"] .site-header .menu-toggle::before,
  html[data-theme="dark"] .site-header .menu-toggle::after,
  body[data-theme="dark"] .site-header .menu-toggle::before,
  body[data-theme="dark"] .site-header .menu-toggle::after {
    content: none !important;
    box-shadow: none !important;
  }

  .site-header .menu-toggle .menu-toggle-icon,
  html[data-theme="dark"] .site-header .menu-toggle .menu-toggle-icon,
  body[data-theme="dark"] .site-header .menu-toggle .menu-toggle-icon {
    position: relative !important;
    width: 24px !important;
    height: 22px !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .site-header .menu-toggle .menu-toggle-icon::before,
  html[data-theme="dark"] .site-header .menu-toggle .menu-toggle-icon::before,
  body[data-theme="dark"] .site-header .menu-toggle .menu-toggle-icon::before,
  .site-header .menu-toggle .menu-toggle-icon::after,
  html[data-theme="dark"] .site-header .menu-toggle .menu-toggle-icon::after,
  body[data-theme="dark"] .site-header .menu-toggle .menu-toggle-icon::after {
    content: "" !important;
    position: absolute !important;
    transition: opacity 180ms ease, transform 220ms ease !important;
  }

  .site-header .menu-toggle .menu-toggle-icon::before,
  html[data-theme="dark"] .site-header .menu-toggle .menu-toggle-icon::before,
  body[data-theme="dark"] .site-header .menu-toggle .menu-toggle-icon::before {
    inset: 3px 1px 2px !important;
    z-index: 1 !important;
    border-radius: 3px 6px 6px 3px !important;
    background:
      linear-gradient(90deg, rgba(0, 87, 184, 0.18) 0 1px, transparent 1px 50%, rgba(0, 87, 184, 0.18) 50% calc(50% + 1px), transparent calc(50% + 1px)),
      linear-gradient(180deg, #ffffff 0%, #eef8ff 100%) !important;
    box-shadow:
      0 2px 5px rgba(0, 35, 84, 0.16),
      inset 0 0 0 1px rgba(255, 255, 255, 0.68) !important;
  }

  .site-header .menu-toggle .menu-toggle-icon::after,
  html[data-theme="dark"] .site-header .menu-toggle .menu-toggle-icon::after,
  body[data-theme="dark"] .site-header .menu-toggle .menu-toggle-icon::after {
    left: 50% !important;
    top: 4px !important;
    bottom: 4px !important;
    z-index: 2 !important;
    width: 2px !important;
    border-radius: 999px !important;
    background: rgba(0, 87, 184, 0.32) !important;
    transform: translateX(-50%) !important;
    opacity: 1 !important;
  }

  .site-header .menu-toggle .menu-toggle-icon span,
  html[data-theme="dark"] .site-header .menu-toggle .menu-toggle-icon span,
  body[data-theme="dark"] .site-header .menu-toggle .menu-toggle-icon span {
    position: relative !important;
    z-index: 3 !important;
    display: block !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: rgba(0, 87, 184, 0.78) !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform-origin: center !important;
    transition:
      opacity 160ms ease,
      transform 220ms ease,
      background 220ms ease,
      width 220ms ease !important;
  }

  .site-header .menu-toggle .menu-toggle-icon span:nth-child(1),
  html[data-theme="dark"] .site-header .menu-toggle .menu-toggle-icon span:nth-child(1),
  body[data-theme="dark"] .site-header .menu-toggle .menu-toggle-icon span:nth-child(1) {
    position: absolute !important;
    left: 4px !important;
    top: 8px !important;
    width: 6px !important;
    transform: none !important;
  }

  .site-header .menu-toggle .menu-toggle-icon span:nth-child(2),
  html[data-theme="dark"] .site-header .menu-toggle .menu-toggle-icon span:nth-child(2),
  body[data-theme="dark"] .site-header .menu-toggle .menu-toggle-icon span:nth-child(2) {
    position: absolute !important;
    right: 4px !important;
    top: 8px !important;
    width: 6px !important;
    transform: none !important;
  }

  .site-header .menu-toggle .menu-toggle-icon span:nth-child(3),
  html[data-theme="dark"] .site-header .menu-toggle .menu-toggle-icon span:nth-child(3),
  body[data-theme="dark"] .site-header .menu-toggle .menu-toggle-icon span:nth-child(3) {
    position: absolute !important;
    left: 4px !important;
    right: 4px !important;
    top: 13px !important;
    width: auto !important;
    transform: none !important;
  }

  .site-header .menu-toggle[aria-expanded="true"] .menu-toggle-icon::before,
  html[data-theme="dark"] .site-header .menu-toggle[aria-expanded="true"] .menu-toggle-icon::before,
  body[data-theme="dark"] .site-header .menu-toggle[aria-expanded="true"] .menu-toggle-icon::before,
  .site-header .menu-toggle[aria-expanded="true"] .menu-toggle-icon::after,
  html[data-theme="dark"] .site-header .menu-toggle[aria-expanded="true"] .menu-toggle-icon::after,
  body[data-theme="dark"] .site-header .menu-toggle[aria-expanded="true"] .menu-toggle-icon::after {
    opacity: 0 !important;
    transform: translateY(3px) scale(0.78) !important;
  }

  .site-header .menu-toggle[aria-expanded="true"] .menu-toggle-icon span,
  html[data-theme="dark"] .site-header .menu-toggle[aria-expanded="true"] .menu-toggle-icon span,
  body[data-theme="dark"] .site-header .menu-toggle[aria-expanded="true"] .menu-toggle-icon span {
    z-index: 3 !important;
    width: 4px !important;
    height: 22px !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, #ffffff, #dff1ff) !important;
    box-shadow: 0 2px 5px rgba(0, 35, 84, 0.18) !important;
  }

  .site-header .menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(1),
  html[data-theme="dark"] .site-header .menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(1),
  body[data-theme="dark"] .site-header .menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(1) {
    left: 10px !important;
    top: 0 !important;
    transform: translateX(7px) rotate(45deg) !important;
  }

  .site-header .menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(2),
  html[data-theme="dark"] .site-header .menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(2),
  body[data-theme="dark"] .site-header .menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(2) {
    opacity: 0 !important;
    transform: scaleY(0.4) !important;
  }

  .site-header .menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(3),
  html[data-theme="dark"] .site-header .menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(3),
  body[data-theme="dark"] .site-header .menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(3) {
    left: 10px !important;
    right: auto !important;
    top: 0 !important;
    width: 4px !important;
    transform: translateX(-7px) rotate(-45deg) !important;
  }
}

@media (max-width: 380px) {
  .site-header .menu-toggle .menu-toggle-icon,
  html[data-theme="dark"] .site-header .menu-toggle .menu-toggle-icon,
  body[data-theme="dark"] .site-header .menu-toggle .menu-toggle-icon {
    width: 21px !important;
    height: 20px !important;
  }
}

/* Browser feedback: final simple three-line menu icon. */
@media (max-width: 939px) {
  .site-header .menu-toggle .menu-toggle-icon,
  html[data-theme="dark"] .site-header .menu-toggle .menu-toggle-icon,
  body[data-theme="dark"] .site-header .menu-toggle .menu-toggle-icon {
    position: relative !important;
    width: 21px !important;
    height: 18px !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .site-header .menu-toggle .menu-toggle-icon::before,
  .site-header .menu-toggle .menu-toggle-icon::after,
  html[data-theme="dark"] .site-header .menu-toggle .menu-toggle-icon::before,
  html[data-theme="dark"] .site-header .menu-toggle .menu-toggle-icon::after,
  body[data-theme="dark"] .site-header .menu-toggle .menu-toggle-icon::before,
  body[data-theme="dark"] .site-header .menu-toggle .menu-toggle-icon::after {
    content: none !important;
  }

  .site-header .menu-toggle .menu-toggle-icon span,
  html[data-theme="dark"] .site-header .menu-toggle .menu-toggle-icon span,
  body[data-theme="dark"] .site-header .menu-toggle .menu-toggle-icon span {
    position: absolute !important;
    left: 0 !important;
    right: auto !important;
    z-index: 3 !important;
    display: block !important;
    width: 21px !important;
    height: 2.5px !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, #ffffff, #dff1ff) !important;
    box-shadow: 0 2px 5px rgba(0, 35, 84, 0.16) !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    transform-origin: center !important;
    transition:
      top 220ms ease,
      opacity 160ms ease,
      transform 220ms ease,
      width 220ms ease !important;
  }

  .site-header .menu-toggle .menu-toggle-icon span:nth-child(1),
  html[data-theme="dark"] .site-header .menu-toggle .menu-toggle-icon span:nth-child(1),
  body[data-theme="dark"] .site-header .menu-toggle .menu-toggle-icon span:nth-child(1) {
    top: 0 !important;
  }

  .site-header .menu-toggle .menu-toggle-icon span:nth-child(2),
  html[data-theme="dark"] .site-header .menu-toggle .menu-toggle-icon span:nth-child(2),
  body[data-theme="dark"] .site-header .menu-toggle .menu-toggle-icon span:nth-child(2) {
    top: 7.5px !important;
    width: 16px !important;
  }

  .site-header .menu-toggle .menu-toggle-icon span:nth-child(3),
  html[data-theme="dark"] .site-header .menu-toggle .menu-toggle-icon span:nth-child(3),
  body[data-theme="dark"] .site-header .menu-toggle .menu-toggle-icon span:nth-child(3) {
    top: 15px !important;
  }

  .site-header .menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(1),
  html[data-theme="dark"] .site-header .menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(1),
  body[data-theme="dark"] .site-header .menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(1) {
    top: 7.5px !important;
    transform: rotate(45deg) !important;
  }

  .site-header .menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(2),
  html[data-theme="dark"] .site-header .menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(2),
  body[data-theme="dark"] .site-header .menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(2) {
    opacity: 0 !important;
    transform: translateX(6px) !important;
  }

  .site-header .menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(3),
  html[data-theme="dark"] .site-header .menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(3),
  body[data-theme="dark"] .site-header .menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(3) {
    top: 7.5px !important;
    width: 21px !important;
    transform: rotate(-45deg) !important;
  }
}

@media (max-width: 380px) {
  .site-header .menu-toggle .menu-toggle-icon,
  html[data-theme="dark"] .site-header .menu-toggle .menu-toggle-icon,
  body[data-theme="dark"] .site-header .menu-toggle .menu-toggle-icon {
    width: 19px !important;
    height: 16px !important;
  }

  .site-header .menu-toggle .menu-toggle-icon span,
  html[data-theme="dark"] .site-header .menu-toggle .menu-toggle-icon span,
  body[data-theme="dark"] .site-header .menu-toggle .menu-toggle-icon span {
    width: 19px !important;
  }

  .site-header .menu-toggle .menu-toggle-icon span:nth-child(2),
  html[data-theme="dark"] .site-header .menu-toggle .menu-toggle-icon span:nth-child(2),
  body[data-theme="dark"] .site-header .menu-toggle .menu-toggle-icon span:nth-child(2) {
    top: 6.75px !important;
    width: 14px !important;
  }

  .site-header .menu-toggle .menu-toggle-icon span:nth-child(3),
  html[data-theme="dark"] .site-header .menu-toggle .menu-toggle-icon span:nth-child(3),
  body[data-theme="dark"] .site-header .menu-toggle .menu-toggle-icon span:nth-child(3) {
    top: 13.5px !important;
  }

  .site-header .menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(1),
  .site-header .menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(3),
  html[data-theme="dark"] .site-header .menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(1),
  html[data-theme="dark"] .site-header .menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(3),
  body[data-theme="dark"] .site-header .menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(1),
  body[data-theme="dark"] .site-header .menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(3) {
    top: 6.75px !important;
    width: 19px !important;
  }
}

/* Nobigai ilm cards: match article-card system with stronger thematic media. */
main.articles-page .article-card--science {
  position: relative;
  background: rgba(255, 255, 255, 0.97);
}

main.articles-page .article-card--science .article-media.thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0, 87, 184, 0.14), rgba(255, 204, 41, 0.12)),
    #eef6ff;
}

main.articles-page .article-card--science .article-media.thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-bottom: 1px solid rgba(0, 87, 184, 0.14);
  box-shadow: inset 0 -42px 68px rgba(6, 30, 54, 0.1);
}

main.articles-page .article-card--science .article-media.thumb img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  transition: transform 260ms ease, filter 260ms ease;
}

main.articles-page .article-card--science:hover .article-media.thumb img,
main.articles-page .article-card--science:focus-within .article-media.thumb img {
  transform: scale(1.045);
  filter: saturate(1.06) contrast(1.02);
}

main.articles-page .article-card--science .article-body {
  gap: 0;
  min-height: 218px;
  padding: 18px;
}

main.articles-page .article-card--science .meta span:first-child {
  color: #0057b8;
  font-weight: 850;
}

main.articles-page .article-card--science h3 {
  line-height: 1.22;
}

main.articles-page .article-card--science p {
  line-height: 1.55;
}

html[data-theme="dark"] main.articles-page .article-card--science,
body[data-theme="dark"] main.articles-page .article-card--science {
  background: linear-gradient(145deg, rgba(16, 64, 103, 0.78), rgba(4, 28, 48, 0.92)) !important;
  border-color: rgba(173, 224, 240, 0.28) !important;
}

html[data-theme="dark"] main.articles-page .article-card--science .article-media.thumb,
body[data-theme="dark"] main.articles-page .article-card--science .article-media.thumb {
  background: linear-gradient(135deg, rgba(2, 21, 37, 0.72), rgba(0, 87, 184, 0.24));
}

html[data-theme="dark"] main.articles-page .article-card--science .article-media.thumb::after,
body[data-theme="dark"] main.articles-page .article-card--science .article-media.thumb::after {
  border-bottom-color: rgba(173, 224, 240, 0.22);
  box-shadow: inset 0 -42px 68px rgba(2, 21, 37, 0.22);
}

@media (max-width: 699px) {
  main.articles-page .article-card--science .article-body {
    min-height: 174px;
    padding: 11px;
  }

  main.articles-page .article-card--science .article-media.thumb img {
    aspect-ratio: 4 / 3;
  }

  main.articles-page .article-card--science h3 {
    font-size: 0.88rem;
    line-height: 1.2;
  }

  main.articles-page .article-card--science p {
    margin-bottom: 12px;
    font-size: 0.78rem;
    line-height: 1.38;
    -webkit-line-clamp: 3;
  }

  main.articles-page .article-card--science .btn.secondary {
    min-height: 36px;
    font-size: 0.8rem;
  }
}

@media (max-width: 420px) {
  main.articles-page .article-list:has(.article-card--science:not([hidden])) {
    gap: 12px;
  }

  main.articles-page .article-card--science .article-body {
    min-height: 168px;
  }

  main.articles-page .article-card--science h3 {
    font-size: 0.82rem;
  }

  main.articles-page .article-card--science p {
    font-size: 0.74rem;
    -webkit-line-clamp: 2;
  }
}

/* Browser feedback: tighten the white logo plate so the mark reads larger. */
@media (max-width: 760px) {
  .site-header .brand-logo,
  html[data-theme="dark"] .site-header .brand-logo,
  body[data-theme="dark"] .site-header .brand-logo {
    width: 58px !important;
    min-width: 58px !important;
    height: 42px !important;
    padding: 2px !important;
    border-radius: 12px !important;
  }
}

@media (max-width: 380px) {
  .site-header .brand-logo,
  html[data-theme="dark"] .site-header .brand-logo,
  body[data-theme="dark"] .site-header .brand-logo {
    width: 54px !important;
    min-width: 54px !important;
    height: 40px !important;
    padding: 2px !important;
    border-radius: 11px !important;
  }
}

/* Browser feedback: keep the mobile menu width consistent in light and dark themes. */
@media (max-width: 760px) {
  .site-header nav#nav-menu,
  html[data-theme="dark"] .site-header nav#nav-menu,
  body[data-theme="dark"] .site-header nav#nav-menu {
    left: 50% !important;
    right: auto !important;
    width: min(calc(100% - 48px), 620px) !important;
    max-width: 620px !important;
    transform: translate3d(-50%, -12px, 0) scale(0.985) !important;
  }

  .site-header nav#nav-menu.is-open,
  html[data-theme="dark"] .site-header nav#nav-menu.is-open,
  body[data-theme="dark"] .site-header nav#nav-menu.is-open {
    transform: translate3d(-50%, 0, 0) scale(1) !important;
  }
}

/* Browser feedback: compact issue action buttons across archive and previous issues. */
.archive-page .mag-actions,
.previous-issues .mini-issue-actions {
  gap: 8px !important;
}

.archive-page .mag-actions .btn,
.previous-issues .mini-issue-actions a {
  min-height: 36px !important;
  height: 36px !important;
  padding-block: 0 !important;
  border-radius: 12px !important;
  font-size: 0.82rem !important;
  line-height: 1 !important;
}

.archive-page .mag-actions .download-btn,
.previous-issues .mini-issue-actions .mini-download-btn {
  width: 42px !important;
  min-width: 42px !important;
  height: 36px !important;
  min-height: 36px !important;
  padding-inline: 0 !important;
}

.archive-page .mag-actions .download-btn .download-icon,
.previous-issues .mini-issue-actions .mini-download-btn .download-icon,
.archive-page .mag-actions .btn.accent svg,
.previous-issues .mini-download-btn svg {
  width: 19px !important;
  height: 19px !important;
}

@media (max-width: 699px) {
  .archive-page .mag-actions,
  .previous-issues .mini-issue-actions {
    gap: 6px !important;
  }

  .archive-page .mag-actions .btn,
  .previous-issues .mini-issue-actions a {
    min-height: 34px !important;
    height: 34px !important;
    border-radius: 11px !important;
    font-size: 0.76rem !important;
  }

  .archive-page .mag-actions .download-btn,
  .previous-issues .mini-issue-actions .mini-download-btn {
    width: 38px !important;
    min-width: 38px !important;
    height: 34px !important;
    min-height: 34px !important;
  }

  .archive-page .mag-actions .download-btn .download-icon,
  .previous-issues .mini-issue-actions .mini-download-btn .download-icon,
  .archive-page .mag-actions .btn.accent svg,
  .previous-issues .mini-download-btn svg {
    width: 18px !important;
    height: 18px !important;
  }
}

/* Browser feedback: issue buttons should feel like the lighter Eco-Life article pills. */
.archive-page .mag-actions,
.previous-issues .mini-issue-actions {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 40px !important;
  align-items: center !important;
  gap: 7px !important;
}

.archive-page .mag-actions .btn:not(.download-btn),
.previous-issues .mini-issue-actions a:not(.mini-download-btn) {
  min-height: 34px !important;
  height: 34px !important;
  padding: 0 12px !important;
  border: 1px solid rgba(0, 87, 184, 0.24) !important;
  border-radius: 999px !important;
  color: #0057b8 !important;
  background: rgba(255, 255, 255, 0.86) !important;
  box-shadow: 0 8px 18px rgba(0, 87, 184, 0.1) !important;
  font-size: 0.8rem !important;
  font-weight: 950 !important;
  line-height: 1 !important;
}

.archive-page .mag-actions .btn:not(.download-btn):hover,
.archive-page .mag-actions .btn:not(.download-btn):focus-visible,
.previous-issues .mini-issue-actions a:not(.mini-download-btn):hover,
.previous-issues .mini-issue-actions a:not(.mini-download-btn):focus-visible {
  color: #ffffff !important;
  background: linear-gradient(135deg, #0057b8, #0aa661) !important;
  border-color: rgba(0, 87, 184, 0.2) !important;
  box-shadow: 0 12px 24px rgba(0, 87, 184, 0.16) !important;
}

.archive-page .mag-actions .download-btn,
.previous-issues .mini-issue-actions .mini-download-btn {
  width: 40px !important;
  min-width: 40px !important;
  height: 34px !important;
  min-height: 34px !important;
  padding: 0 !important;
  border: 1px solid rgba(255, 196, 0, 0.7) !important;
  border-radius: 999px !important;
  color: #0057b8 !important;
  background: linear-gradient(135deg, #fff7d1, #ffcc29) !important;
  box-shadow: 0 8px 18px rgba(255, 196, 0, 0.18) !important;
}

.archive-page .mag-actions .download-btn:hover,
.archive-page .mag-actions .download-btn:focus-visible,
.previous-issues .mini-issue-actions .mini-download-btn:hover,
.previous-issues .mini-issue-actions .mini-download-btn:focus-visible {
  color: #063a66 !important;
  background: linear-gradient(135deg, #ffe782, #ffc400) !important;
  box-shadow: 0 12px 24px rgba(255, 196, 0, 0.24) !important;
}

.archive-page .mag-actions .download-btn .download-icon,
.previous-issues .mini-issue-actions .mini-download-btn .download-icon,
.archive-page .mag-actions .btn.accent svg,
.previous-issues .mini-download-btn svg {
  width: 18px !important;
  height: 18px !important;
}

html[data-theme="dark"] .archive-page .mag-actions .btn:not(.download-btn),
html[data-theme="dark"] .previous-issues .mini-issue-actions a:not(.mini-download-btn),
body[data-theme="dark"] .archive-page .mag-actions .btn:not(.download-btn),
body[data-theme="dark"] .previous-issues .mini-issue-actions a:not(.mini-download-btn) {
  color: #c7e9ff !important;
  background: rgba(8, 39, 68, 0.86) !important;
  border-color: rgba(173, 224, 240, 0.28) !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22) !important;
}

html[data-theme="dark"] .archive-page .mag-actions .btn:not(.download-btn):hover,
html[data-theme="dark"] .archive-page .mag-actions .btn:not(.download-btn):focus-visible,
html[data-theme="dark"] .previous-issues .mini-issue-actions a:not(.mini-download-btn):hover,
html[data-theme="dark"] .previous-issues .mini-issue-actions a:not(.mini-download-btn):focus-visible,
body[data-theme="dark"] .archive-page .mag-actions .btn:not(.download-btn):hover,
body[data-theme="dark"] .archive-page .mag-actions .btn:not(.download-btn):focus-visible,
body[data-theme="dark"] .previous-issues .mini-issue-actions a:not(.mini-download-btn):hover,
body[data-theme="dark"] .previous-issues .mini-issue-actions a:not(.mini-download-btn):focus-visible {
  color: #ffffff !important;
  background: linear-gradient(135deg, #0057b8, #0aa661) !important;
}

/* Browser feedback: clean subscribe submit button edges. */
#subscribe .subscribe-form .btn.primary,
#subscribe .subscribe-form button[type="submit"] {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  width: 100% !important;
  min-height: 52px !important;
  border: 0 !important;
  border-radius: 16px !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, #0066cc 0%, #149ce7 100%) !important;
  background-clip: padding-box !important;
  box-shadow: 0 14px 30px rgba(0, 102, 204, 0.2) !important;
}

#subscribe .subscribe-form .btn.primary::before,
#subscribe .subscribe-form .btn.primary::after,
#subscribe .subscribe-form button[type="submit"]::before,
#subscribe .subscribe-form button[type="submit"]::after {
  content: none !important;
  display: none !important;
}

#subscribe .subscribe-form .btn.primary:hover,
#subscribe .subscribe-form .btn.primary:focus-visible,
#subscribe .subscribe-form button[type="submit"]:hover,
#subscribe .subscribe-form button[type="submit"]:focus-visible {
  color: #ffffff !important;
  background: linear-gradient(135deg, #0057b8 0%, #0b8ed8 100%) !important;
  box-shadow: 0 16px 34px rgba(0, 102, 204, 0.26) !important;
}

html[data-theme="dark"] #subscribe .subscribe-form .btn.primary,
html[data-theme="dark"] #subscribe .subscribe-form button[type="submit"],
body[data-theme="dark"] #subscribe .subscribe-form .btn.primary,
body[data-theme="dark"] #subscribe .subscribe-form button[type="submit"] {
  color: #ffffff !important;
  background: linear-gradient(135deg, #0b63ce 0%, #0f85c8 100%) !important;
  box-shadow: 0 14px 30px rgba(0, 102, 204, 0.28) !important;
}

@media (max-width: 699px) {
  #subscribe .subscribe-form .btn.primary,
  #subscribe .subscribe-form button[type="submit"] {
    min-height: 48px !important;
    border-radius: 15px !important;
  }
}

/* Browser feedback: make the mobile theme toggle smaller. */
@media (max-width: 939px) {
  .site-header .theme-toggle,
  .site-header [data-theme-toggle],
  html[data-theme="dark"] .site-header .theme-toggle,
  html[data-theme="dark"] .site-header [data-theme-toggle],
  body[data-theme="dark"] .site-header .theme-toggle,
  body[data-theme="dark"] .site-header [data-theme-toggle] {
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    flex: 0 0 34px !important;
    border-radius: 10px !important;
  }

  .site-header .theme-toggle svg,
  .site-header [data-theme-toggle] svg,
  .site-header .theme-toggle .theme-icon,
  .site-header [data-theme-toggle] .theme-icon,
  html[data-theme="dark"] .site-header .theme-toggle svg,
  html[data-theme="dark"] .site-header [data-theme-toggle] svg,
  html[data-theme="dark"] .site-header .theme-toggle .theme-icon,
  html[data-theme="dark"] .site-header [data-theme-toggle] .theme-icon,
  body[data-theme="dark"] .site-header .theme-toggle svg,
  body[data-theme="dark"] .site-header [data-theme-toggle] svg,
  body[data-theme="dark"] .site-header .theme-toggle .theme-icon,
  body[data-theme="dark"] .site-header [data-theme-toggle] .theme-icon {
    width: 15px !important;
    height: 15px !important;
  }
}

@media (max-width: 380px) {
  .site-header .theme-toggle,
  .site-header [data-theme-toggle],
  html[data-theme="dark"] .site-header .theme-toggle,
  html[data-theme="dark"] .site-header [data-theme-toggle],
  body[data-theme="dark"] .site-header .theme-toggle,
  body[data-theme="dark"] .site-header [data-theme-toggle] {
    width: 32px !important;
    min-width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    flex-basis: 32px !important;
    border-radius: 9px !important;
  }

  .site-header .theme-toggle svg,
  .site-header [data-theme-toggle] svg,
  .site-header .theme-toggle .theme-icon,
  .site-header [data-theme-toggle] .theme-icon,
  html[data-theme="dark"] .site-header .theme-toggle svg,
  html[data-theme="dark"] .site-header [data-theme-toggle] svg,
  html[data-theme="dark"] .site-header .theme-toggle .theme-icon,
  html[data-theme="dark"] .site-header [data-theme-toggle] .theme-icon,
  body[data-theme="dark"] .site-header .theme-toggle svg,
  body[data-theme="dark"] .site-header [data-theme-toggle] svg,
  body[data-theme="dark"] .site-header .theme-toggle .theme-icon,
  body[data-theme="dark"] .site-header [data-theme-toggle] .theme-icon {
    width: 14px !important;
    height: 14px !important;
  }
}

/* Featured contest: compact modern announcement layout. */
.idea-contest-page .idea-contest-hero {
  padding: clamp(18px, 3vw, 34px) 0 12px !important;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 196, 0, 0.16), transparent 24%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 100%) !important;
}

.idea-contest-page .idea-contest-shell {
  grid-template-columns: minmax(0, 1.04fr) minmax(280px, 0.76fr) !important;
  gap: clamp(16px, 3vw, 30px) !important;
  align-items: stretch !important;
  padding: clamp(18px, 3vw, 32px) !important;
  border: 1px solid rgba(0, 87, 184, 0.13) !important;
  border-radius: 8px !important;
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.98) 0 62%, rgba(234, 245, 255, 0.86) 62% 100%) !important;
  box-shadow: 0 18px 44px rgba(0, 87, 184, 0.08) !important;
}

.idea-contest-page .contest-kicker {
  min-height: 28px !important;
  padding: 5px 11px !important;
  background: rgba(0, 87, 184, 0.08) !important;
  border-color: rgba(0, 87, 184, 0.14) !important;
  color: #0057b8 !important;
  font-size: 0.72rem !important;
}

.idea-contest-page .idea-contest-copy h1 {
  max-width: 560px !important;
  margin-top: 12px !important;
  color: #0b1f3a !important;
  font-size: clamp(2.1rem, 4.5vw, 3.85rem) !important;
  line-height: 1.02 !important;
}

.idea-contest-page .contest-lead {
  max-width: 650px !important;
  margin-top: 12px !important;
  color: #103a63 !important;
  font-size: clamp(0.98rem, 1.35vw, 1.12rem) !important;
  line-height: 1.48 !important;
}

.idea-contest-page .idea-contest-copy p:not(.contest-lead) {
  max-width: 690px !important;
  margin-top: 10px !important;
  color: #526174 !important;
  font-size: 0.95rem !important;
  line-height: 1.54 !important;
}

.contest-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.contest-hero-facts span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid rgba(0, 87, 184, 0.13);
  border-radius: 999px;
  background: rgba(234, 245, 255, 0.82);
  color: #075f37;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.15;
}

.idea-contest-page .contest-actions {
  margin-top: 16px !important;
  gap: 9px !important;
}

.idea-contest-page .contest-actions .btn {
  min-height: 42px !important;
  padding: 0 16px !important;
  border-radius: 8px !important;
  font-size: 0.88rem !important;
}

.idea-contest-page .contest-visual {
  min-height: auto !important;
  display: grid;
  align-items: stretch;
}

.idea-contest-page .contest-photo {
  border-radius: 8px !important;
  box-shadow: 0 16px 34px rgba(0, 87, 184, 0.14) !important;
}

.idea-contest-page .contest-photo-main {
  position: relative !important;
  inset: auto !important;
  aspect-ratio: 16 / 10;
  min-height: 100%;
  transform: none !important;
}

.idea-contest-page .contest-photo-main img,
.idea-contest-page .contest-direction-card img {
  display: block;
  transition: transform 260ms ease, filter 260ms ease;
}

.idea-contest-page .contest-photo-main:hover img,
.idea-contest-page .contest-direction-card:hover img {
  transform: scale(1.035);
  filter: saturate(1.04) contrast(1.02);
}

.idea-contest-page .contest-photo-small {
  width: 36% !important;
  right: 12px !important;
  bottom: 12px !important;
  aspect-ratio: 1.16;
  transform: none !important;
}

.idea-contest-page .contest-deadline-badge {
  top: 12px !important;
  right: 12px !important;
  min-width: 130px !important;
  padding: 10px 12px !important;
  border-radius: 8px !important;
  transform: none !important;
  box-shadow: 0 12px 26px rgba(11, 31, 58, 0.16) !important;
}

.idea-contest-page .contest-deadline-badge strong {
  font-size: 1.12rem !important;
}

.idea-contest-page .contest-snapshot-section {
  padding: 14px 0 0 !important;
}

.idea-contest-page .section {
  padding-block: clamp(22px, 4vw, 44px) !important;
}

.idea-contest-page .contest-snapshot-grid,
.idea-contest-page .contest-directions-grid {
  gap: 12px !important;
}

.idea-contest-page .contest-snapshot,
.idea-contest-page .contest-direction-card,
.idea-contest-page .contest-rules-panel,
.idea-contest-page .contest-prize-panel,
.idea-contest-page .contest-contact-panel,
.idea-contest-page .contest-contact-list a {
  border-radius: 8px !important;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  animation: contest-fade-up 420ms ease both;
}

.idea-contest-page .contest-snapshot:hover,
.idea-contest-page .contest-direction-card:hover,
.idea-contest-page .contest-contact-list a:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 87, 184, 0.22) !important;
  box-shadow: 0 16px 34px rgba(0, 87, 184, 0.12) !important;
}

.idea-contest-page .contest-snapshot {
  padding: 14px !important;
}

.idea-contest-page .contest-snapshot span {
  font-size: clamp(0.98rem, 1.8vw, 1.2rem) !important;
}

.idea-contest-page .contest-snapshot strong,
.idea-contest-page .contest-direction-card p,
.idea-contest-page .contest-rule-list li,
.idea-contest-page .contest-prize-panel p,
.idea-contest-page .contest-prize-panel strong,
.idea-contest-page .contest-contact-panel p {
  font-size: 0.92rem !important;
}

.idea-contest-page .contest-section-heading {
  margin-bottom: 16px !important;
}

.idea-contest-page .contest-section-heading h2,
.idea-contest-page .contest-rules-panel h2,
.idea-contest-page .contest-prize-panel h2,
.idea-contest-page .contest-contact-panel h2 {
  font-size: clamp(1.45rem, 2.4vw, 2.15rem) !important;
  line-height: 1.14 !important;
}

.idea-contest-page .contest-direction-card img {
  aspect-ratio: 16 / 10 !important;
}

.idea-contest-page .contest-direction-card div {
  padding: 14px !important;
}

.idea-contest-page .contest-direction-card span {
  width: 34px !important;
  height: 34px !important;
  font-size: 0.82rem !important;
}

.idea-contest-page .contest-direction-card h3 {
  margin: 12px 0 6px !important;
  font-size: 1.08rem !important;
}

.idea-contest-page .contest-rules-layout {
  gap: 12px !important;
}

.idea-contest-page .contest-rules-panel,
.idea-contest-page .contest-prize-panel,
.idea-contest-page .contest-contact-panel {
  padding: clamp(18px, 3vw, 26px) !important;
}

.idea-contest-page .contest-rule-list {
  gap: 8px !important;
  margin-top: 14px !important;
}

.idea-contest-page .contest-rule-list li {
  padding: 11px 13px 11px 40px !important;
  line-height: 1.43 !important;
}

.idea-contest-page .contest-rule-list li::before {
  left: 15px !important;
  top: 16px !important;
  width: 11px !important;
  height: 11px !important;
}

.idea-contest-page .contest-prize-mark {
  width: 52px !important;
  height: 52px !important;
  font-size: 1.55rem !important;
}

.idea-contest-page .contest-contact-section {
  padding: 0 0 clamp(34px, 6vw, 66px) !important;
}

.idea-contest-page .contest-contact-panel {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.86fr) !important;
  gap: clamp(14px, 3vw, 28px) !important;
}

.idea-contest-page .contest-contact-list {
  gap: 9px !important;
}

.idea-contest-page .contest-contact-list a {
  padding: 12px 14px !important;
}

.idea-contest-page .contest-contact-list strong {
  overflow-wrap: anywhere;
  font-size: clamp(0.96rem, 1.7vw, 1.12rem) !important;
}

html[data-theme="dark"] .idea-contest-page .idea-contest-hero,
body[data-theme="dark"] .idea-contest-page .idea-contest-hero {
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 196, 0, 0.08), transparent 24%),
    linear-gradient(180deg, #061d33 0%, #082846 100%) !important;
}

html[data-theme="dark"] .idea-contest-page .idea-contest-shell,
body[data-theme="dark"] .idea-contest-page .idea-contest-shell {
  background: linear-gradient(135deg, rgba(13, 47, 80, 0.96), rgba(6, 29, 51, 0.94)) !important;
  border-color: rgba(199, 233, 255, 0.18) !important;
}

html[data-theme="dark"] .idea-contest-page .contest-hero-facts span,
body[data-theme="dark"] .idea-contest-page .contest-hero-facts span {
  background: rgba(199, 233, 255, 0.1) !important;
  border-color: rgba(199, 233, 255, 0.18) !important;
  color: #c7e9ff !important;
}

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

@media (max-width: 940px) {
  .idea-contest-page .idea-contest-shell,
  .idea-contest-page .contest-contact-panel,
  .idea-contest-page .contest-rules-layout {
    grid-template-columns: 1fr !important;
  }

  .idea-contest-page .contest-visual {
    min-height: 260px !important;
  }

  .idea-contest-page .contest-photo-main {
    min-height: 260px;
  }
}

@media (max-width: 620px) {
  .idea-contest-page .idea-contest-hero {
    padding-top: 14px !important;
  }

  .idea-contest-page .idea-contest-shell {
    padding: 14px !important;
    gap: 12px !important;
  }

  .idea-contest-page .contest-kicker {
    min-height: 26px !important;
    font-size: 0.66rem !important;
  }

  .idea-contest-page .idea-contest-copy h1 {
    font-size: clamp(1.72rem, 8.4vw, 2.34rem) !important;
    line-height: 1.05 !important;
  }

  .idea-contest-page .contest-lead,
  .idea-contest-page .idea-contest-copy p:not(.contest-lead) {
    font-size: 0.87rem !important;
    line-height: 1.42 !important;
  }

  .contest-hero-facts {
    gap: 6px;
    margin-top: 11px;
  }

  .contest-hero-facts span {
    min-height: 27px;
    padding: 4px 8px;
    font-size: 0.69rem;
  }

  .idea-contest-page .contest-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
  }

  .idea-contest-page .contest-actions .btn {
    width: 100% !important;
    min-height: 38px !important;
    padding: 0 10px !important;
    font-size: 0.78rem !important;
  }

  .idea-contest-page .contest-visual,
  .idea-contest-page .contest-photo-main {
    min-height: 190px !important;
  }

  .idea-contest-page .contest-photo-main {
    aspect-ratio: 16 / 9;
  }

  .idea-contest-page .contest-photo-small {
    display: none !important;
  }

  .idea-contest-page .contest-deadline-badge {
    top: 8px !important;
    right: 8px !important;
    min-width: 112px !important;
    padding: 8px 9px !important;
  }

  .idea-contest-page .contest-deadline-badge span {
    font-size: 0.64rem !important;
  }

  .idea-contest-page .contest-deadline-badge strong {
    font-size: 0.98rem !important;
  }

  .idea-contest-page .contest-snapshot-section {
    padding-top: 10px !important;
  }

  .idea-contest-page .contest-snapshot-grid,
  .idea-contest-page .contest-directions-grid {
    grid-template-columns: 1fr !important;
    gap: 9px !important;
  }

  .idea-contest-page .contest-snapshot {
    padding: 11px 12px !important;
  }

  .idea-contest-page .section {
    padding-block: 18px !important;
  }

  .idea-contest-page .contest-direction-card {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: stretch;
  }

  .idea-contest-page .contest-direction-card img {
    height: 100% !important;
    min-height: 138px;
    aspect-ratio: auto !important;
  }

  .idea-contest-page .contest-direction-card div {
    padding: 12px !important;
  }

  .idea-contest-page .contest-direction-card h3 {
    font-size: 0.98rem !important;
  }

  .idea-contest-page .contest-direction-card p,
  .idea-contest-page .contest-rule-list li,
  .idea-contest-page .contest-contact-panel p {
    font-size: 0.82rem !important;
  }

  .idea-contest-page .contest-rules-panel,
  .idea-contest-page .contest-prize-panel,
  .idea-contest-page .contest-contact-panel {
    padding: 14px !important;
  }

  .idea-contest-page .contest-contact-list a {
    padding: 10px 12px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .idea-contest-page .contest-snapshot,
  .idea-contest-page .contest-direction-card,
  .idea-contest-page .contest-rules-panel,
  .idea-contest-page .contest-prize-panel,
  .idea-contest-page .contest-contact-panel,
  .idea-contest-page .contest-contact-list a,
  .idea-contest-page .contest-photo-main img,
  .idea-contest-page .contest-direction-card img {
    animation: none !important;
    transition: none !important;
  }
}

/* Featured contest: final mobile density pass. */
@media (max-width: 620px) {
  .idea-contest-page .idea-contest-shell {
    padding: 12px !important;
  }

  .idea-contest-page .idea-contest-copy h1 {
    margin-top: 9px !important;
    font-size: clamp(1.62rem, 7.8vw, 2.18rem) !important;
  }

  .idea-contest-page .contest-lead {
    margin-top: 9px !important;
  }

  .idea-contest-page .idea-contest-copy p:not(.contest-lead) {
    margin-top: 8px !important;
  }

  .idea-contest-page .contest-visual,
  .idea-contest-page .contest-photo-main {
    min-height: 160px !important;
  }

  .idea-contest-page .contest-deadline-badge {
    min-width: 104px !important;
    padding: 7px 8px !important;
  }

  .idea-contest-page .contest-snapshot strong {
    margin-top: 3px !important;
  }
}

/* Contest hero emphasis from browser annotations */
.idea-contest-page .contest-kicker {
  position: relative;
  overflow: hidden;
  font-size: 1rem !important;
  transform: translateZ(0);
  animation: none !important;
}

.idea-contest-page .contest-kicker::after {
  content: "";
  position: absolute;
  inset: -20% auto -20% -38%;
  width: 34%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-18deg) translateX(-140%);
  animation: contestKickerSheen 5.8s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  pointer-events: none;
}

.idea-contest-page .contest-deadline-badge {
  animation: none !important;
}

.idea-contest-page .contest-deadline-badge span {
  font-size: 0.875rem !important;
}

@keyframes contestKickerSheen {
  0%,
  64%,
  100% {
    transform: skewX(-18deg) translateX(-140%);
    opacity: 0;
  }
  72% {
    opacity: 0.85;
  }
  88% {
    transform: skewX(-18deg) translateX(430%);
    opacity: 0;
  }
}

@media (max-width: 520px) {
  .idea-contest-page .contest-kicker {
    font-size: 1rem !important;
    line-height: 1.15 !important;
  }

  .idea-contest-page .contest-deadline-badge span {
    font-size: 0.875rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .idea-contest-page .contest-kicker::after {
    animation: none !important;
    opacity: 0 !important;
  }
}

/* Archive dates: keep issue month labels as plain text, not boxed badges. */
.archive-page .issue-list .mag-body .meta,
html[data-theme="dark"] .archive-page .issue-list .mag-body .meta,
body[data-theme="dark"] .archive-page .issue-list .mag-body .meta {
  display: block !important;
  width: auto !important;
  min-height: 0 !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #0057b8 !important;
  font-size: clamp(1rem, 1.35vw, 1.18rem) !important;
  font-weight: 900 !important;
  line-height: 1.12 !important;
  white-space: normal !important;
}

.archive-page .issue-list .mag-body .meta span,
html[data-theme="dark"] .archive-page .issue-list .mag-body .meta span,
body[data-theme="dark"] .archive-page .issue-list .mag-body .meta span {
  display: inline !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: inherit !important;
}

html[data-theme="dark"] .archive-page .issue-list .mag-body .meta,
body[data-theme="dark"] .archive-page .issue-list .mag-body .meta {
  color: #eaf5ff !important;
}

/* Contest fact cards: softer blue accent requested in browser annotation. */
.idea-contest-page .contest-snapshot span,
html[data-theme="dark"] .idea-contest-page .contest-snapshot span,
body[data-theme="dark"] .idea-contest-page .contest-snapshot span {
  color: #3589e9 !important;
}

/* Article detail mobile titles: keep long article names compact. */
@media (max-width: 620px) {
  .article-detail-page .article-title {
    max-width: 100% !important;
    font-size: 1rem !important;
    line-height: 1.28 !important;
    letter-spacing: 0 !important;
  }
}

/* Article detail mobile titles: final specificity over global page-hero rules. */
@media (max-width: 620px) {
  main.article-detail-page article .article-hero .container .article-title {
    font-size: 1rem !important;
    line-height: 1.28 !important;
    letter-spacing: 0 !important;
  }
}

/* Article detail share/back buttons: compact controls. */
.article-detail-page .share-panel {
  gap: 8px !important;
  padding: 8px !important;
}

.article-detail-page .share-panel .icon-btn {
  width: 38px !important;
  min-width: 38px !important;
  height: 38px !important;
  min-height: 38px !important;
  border-radius: 8px !important;
}

.article-detail-page .share-panel .icon-btn svg {
  width: 18px !important;
  height: 18px !important;
}

@media (max-width: 620px) {
  .article-detail-page .share-panel {
    gap: 7px !important;
    padding: 7px !important;
  }

  .article-detail-page .share-panel .icon-btn {
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
  }

  .article-detail-page .share-panel .icon-btn svg {
    width: 17px !important;
    height: 17px !important;
  }
}

/* About feature cards: cleaner compact cards. */
.about-page .about-feature-grid {
  gap: 14px !important;
}

.about-page .about-feature-card {
  position: relative !important;
  overflow: hidden !important;
  min-height: auto !important;
  padding: 18px !important;
  border-radius: 8px !important;
  border: 1px solid rgba(0, 87, 184, 0.13) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 250, 255, 0.95)) !important;
  box-shadow: 0 12px 28px rgba(0, 87, 184, 0.08) !important;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease !important;
}

.about-page .about-feature-card::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 auto 0 0 !important;
  width: 4px !important;
  height: auto !important;
  border-radius: 0 !important;
  background: linear-gradient(180deg, #0057b8, #1ca7ff) !important;
  box-shadow: none !important;
}

.about-page .about-feature-card.accent-gold::before {
  background: linear-gradient(180deg, #ffc400, #26d38d) !important;
}

.about-page .about-feature-card.accent-green::before {
  background: linear-gradient(180deg, #26d38d, #1ca7ff) !important;
}

.about-page .about-feature-card::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(28, 167, 255, 0.16), transparent 68%);
  pointer-events: none;
}

.about-page .about-feature-card:hover,
.about-page .about-feature-card:focus-within {
  transform: translateY(-3px) !important;
  border-color: rgba(0, 87, 184, 0.24) !important;
  box-shadow: 0 16px 34px rgba(0, 87, 184, 0.12) !important;
}

.about-page .about-feature-icon {
  width: 38px !important;
  height: 38px !important;
  margin: 0 0 14px !important;
  border-radius: 8px !important;
  background: rgba(0, 87, 184, 0.08) !important;
  border: 1px solid rgba(0, 87, 184, 0.12) !important;
  color: #0057b8 !important;
  font-size: 0.9rem !important;
  font-weight: 950 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

.about-page .about-feature-card.accent-gold .about-feature-icon {
  background: rgba(255, 196, 0, 0.14) !important;
  border-color: rgba(255, 196, 0, 0.24) !important;
  color: #9a6d00 !important;
}

.about-page .about-feature-card.accent-green .about-feature-icon {
  background: rgba(38, 211, 141, 0.12) !important;
  border-color: rgba(38, 211, 141, 0.22) !important;
  color: #08774d !important;
}

.about-page .about-feature-card h3 {
  margin: 0 !important;
  color: #0b1f3a !important;
  font-size: clamp(1.05rem, 1.8vw, 1.28rem) !important;
  line-height: 1.18 !important;
  letter-spacing: 0 !important;
}

.about-page .about-feature-card p {
  margin: 8px 0 0 !important;
  color: #526174 !important;
  font-size: 0.94rem !important;
  line-height: 1.5 !important;
}

html[data-theme="dark"] .about-page .about-feature-card,
body[data-theme="dark"] .about-page .about-feature-card {
  border-color: rgba(199, 233, 255, 0.16) !important;
  background:
    linear-gradient(180deg, rgba(9, 42, 73, 0.88), rgba(5, 31, 56, 0.82)) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18) !important;
}

html[data-theme="dark"] .about-page .about-feature-card h3,
body[data-theme="dark"] .about-page .about-feature-card h3 {
  color: #f4fbff !important;
}

html[data-theme="dark"] .about-page .about-feature-card p,
body[data-theme="dark"] .about-page .about-feature-card p {
  color: #c7e9ff !important;
}

html[data-theme="dark"] .about-page .about-feature-icon,
body[data-theme="dark"] .about-page .about-feature-icon {
  background: rgba(199, 233, 255, 0.1) !important;
  border-color: rgba(199, 233, 255, 0.18) !important;
  color: #eaf5ff !important;
}

@media (min-width: 860px) {
  .about-page .about-feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 520px) {
  .about-page .about-feature-grid {
    gap: 12px !important;
  }

  .about-page .about-feature-card {
    padding: 15px 16px 16px !important;
  }

  .about-page .about-feature-icon {
    width: 34px !important;
    height: 34px !important;
    margin-bottom: 11px !important;
    font-size: 0.82rem !important;
  }

  .about-page .about-feature-card h3 {
    font-size: 1.02rem !important;
  }

  .about-page .about-feature-card p {
    font-size: 0.88rem !important;
    line-height: 1.42 !important;
  }
}

/* Archive issue dates: compact 14px month labels. */
.archive-page .issue-list .mag-body .meta,
.archive-page .issue-list .mag-body .meta span,
html[data-theme="dark"] .archive-page .issue-list .mag-body .meta,
html[data-theme="dark"] .archive-page .issue-list .mag-body .meta span,
body[data-theme="dark"] .archive-page .issue-list .mag-body .meta,
body[data-theme="dark"] .archive-page .issue-list .mag-body .meta span {
  font-size: 0.875rem !important;
  line-height: 1.16 !important;
}

/* Home previous issues archive link: compact animated CTA. */
.home-page #previous-issues .section-action {
  min-height: 36px !important;
  padding: 0 14px !important;
  border-radius: 8px !important;
  font-size: 0.86rem !important;
  line-height: 1.1 !important;
  animation: previousArchivePulse 3.4s ease-in-out infinite;
}

.home-page #previous-issues .section-action:hover,
.home-page #previous-issues .section-action:focus-visible {
  transform: translateY(-2px) !important;
  animation-play-state: paused;
}

@keyframes previousArchivePulse {
  0%,
  100% {
    box-shadow: 0 8px 18px rgba(0, 87, 184, 0.16), 0 0 0 0 rgba(28, 167, 255, 0);
  }
  50% {
    box-shadow: 0 12px 24px rgba(0, 87, 184, 0.22), 0 0 0 4px rgba(28, 167, 255, 0.11);
  }
}

@media (max-width: 520px) {
  .home-page #previous-issues .section-action {
    min-height: 34px !important;
    padding: 0 12px !important;
    font-size: 0.8rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page #previous-issues .section-action {
    animation: none !important;
  }
}

/* EcoLife photo carousel. */
.ecolife-page .eco-carousel {
  position: relative !important;
  display: block !important;
  overflow: hidden !important;
  height: 100% !important;
  padding: 10px !important;
  border-radius: 30px !important;
  isolation: isolate;
}

.ecolife-page .eco-carousel::before {
  opacity: 0.36 !important;
}

.ecolife-page .eco-carousel-viewport {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 300px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 22px;
  background: #0c2d4a;
  box-shadow:
    0 24px 54px rgba(0, 31, 63, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.ecolife-page .eco-carousel-slide {
  position: absolute;
  inset: 0;
  height: 100%;
  min-height: inherit;
  margin: 0;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 620ms ease, transform 1200ms ease;
  pointer-events: none;
}

.ecolife-page .eco-carousel-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.ecolife-page .eco-carousel-slide picture {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.ecolife-page .eco-carousel-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ecolife-page .eco-carousel-control {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(214, 235, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #0057b8;
  box-shadow: 0 12px 26px rgba(0, 42, 84, 0.22);
  backdrop-filter: blur(12px);
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.ecolife-page .eco-carousel-control span {
  display: block;
  font-size: 30px;
  line-height: 1;
  transform: translateY(-1px);
}

.ecolife-page .eco-carousel-prev {
  left: 20px;
}

.ecolife-page .eco-carousel-next {
  right: 20px;
}

.ecolife-page .eco-carousel-control:hover,
.ecolife-page .eco-carousel-control:focus-visible {
  background: #ffffff;
  box-shadow: 0 16px 32px rgba(0, 87, 184, 0.28);
  transform: translateY(-50%) scale(1.06);
}

.ecolife-page .eco-carousel-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 999px;
  background: rgba(2, 21, 38, 0.24);
  box-shadow: 0 12px 28px rgba(0, 22, 46, 0.2);
  backdrop-filter: blur(14px);
  transform: translateX(-50%);
}

.ecolife-page .eco-carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: none;
  cursor: pointer;
  transition: width 220ms ease, background 220ms ease, transform 220ms ease;
}

.ecolife-page .eco-carousel-dots button.is-active {
  width: 25px;
  background: linear-gradient(90deg, #1ca7ff, #21c980);
}

.ecolife-page .eco-carousel-dots button:hover,
.ecolife-page .eco-carousel-dots button:focus-visible {
  transform: scale(1.18);
}

html[data-theme="dark"] .ecolife-page .eco-carousel-control {
  border-color: rgba(173, 224, 240, 0.34);
  background: rgba(8, 39, 66, 0.82);
  color: #eaf5ff;
}

html[data-theme="dark"] .ecolife-page .eco-carousel-control:hover,
html[data-theme="dark"] .ecolife-page .eco-carousel-control:focus-visible {
  background: rgba(15, 73, 114, 0.94);
}

@media (min-width: 901px) {
  .ecolife-page .ecolife-hero-grid {
    align-items: stretch;
  }

  .ecolife-page .eco-carousel-viewport {
    aspect-ratio: auto;
  }
}

@media (max-width: 760px) {
  .ecolife-page .eco-carousel {
    padding: 8px !important;
    border-radius: 26px !important;
  }

  .ecolife-page .eco-carousel-viewport {
    min-height: 280px;
    aspect-ratio: 4 / 3;
    border-radius: 20px;
  }

  .ecolife-page .eco-carousel-control {
    width: 34px;
    height: 34px;
  }

  .ecolife-page .eco-carousel-control span {
    font-size: 26px;
  }

  .ecolife-page .eco-carousel-prev {
    left: 16px;
  }

  .ecolife-page .eco-carousel-next {
    right: 16px;
  }

  .ecolife-page .eco-carousel-dots {
    bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ecolife-page .eco-carousel-slide,
  .ecolife-page .eco-carousel-control,
  .ecolife-page .eco-carousel-dots button {
    transition: none !important;
  }
}

/* Contest hero deadline badge redesign. */
.idea-contest-page .contest-visual .contest-deadline-badge {
  top: 14px !important;
  right: 14px !important;
  bottom: auto !important;
  left: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: calc(100% - 28px) !important;
  min-height: 0 !important;
  padding: 8px 10px 8px 9px !important;
  border: 1px solid rgba(255, 255, 255, 0.54) !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, rgba(0, 87, 184, 0.94), rgba(28, 167, 255, 0.92) 52%, rgba(33, 201, 128, 0.94)) !important;
  color: #ffffff !important;
  box-shadow: 0 14px 30px rgba(0, 54, 110, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.24) !important;
  backdrop-filter: blur(14px) saturate(1.15);
  transform: none !important;
  animation: none !important;
}

.idea-contest-page .contest-visual .contest-deadline-badge::before {
  content: "";
  display: block;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 50%;
  background:
    linear-gradient(#ffffff, #ffffff) 50% 68% / 12px 3px no-repeat,
    linear-gradient(#ffffff, #ffffff) 50% 47% / 12px 3px no-repeat,
    rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.36);
}

.idea-contest-page .contest-visual .contest-deadline-badge span,
.idea-contest-page .contest-visual .contest-deadline-badge strong {
  color: #ffffff !important;
  text-shadow: 0 1px 1px rgba(0, 25, 58, 0.18);
}

.idea-contest-page .contest-visual .contest-deadline-badge span {
  display: block !important;
  font-size: 0.58rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  opacity: 0.88;
}

.idea-contest-page .contest-visual .contest-deadline-badge strong {
  display: block !important;
  margin-top: 2px !important;
  font-size: 0.96rem !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  white-space: nowrap;
}

@media (max-width: 520px) {
  .idea-contest-page .contest-visual .contest-deadline-badge {
    top: 10px !important;
    right: 10px !important;
    gap: 7px !important;
    padding: 7px 9px 7px 7px !important;
    max-width: calc(100% - 20px) !important;
  }

  .idea-contest-page .contest-visual .contest-deadline-badge::before {
    width: 26px;
    height: 26px;
    background:
      linear-gradient(#ffffff, #ffffff) 50% 68% / 10px 3px no-repeat,
      linear-gradient(#ffffff, #ffffff) 50% 47% / 10px 3px no-repeat,
      rgba(255, 255, 255, 0.18);
  }

  .idea-contest-page .contest-visual .contest-deadline-badge span {
    font-size: 0.52rem !important;
  }

  .idea-contest-page .contest-visual .contest-deadline-badge strong {
    font-size: 0.86rem !important;
  }
}

/* EcoLife magazine section label contrast. */
.ecolife-page #magazine-eco .ecolife-section-head .eyebrow {
  color: #4996df !important;
  text-shadow: none !important;
}

html[data-theme="dark"] .ecolife-page #magazine-eco .ecolife-section-head .eyebrow,
body[data-theme="dark"] .ecolife-page #magazine-eco .ecolife-section-head .eyebrow {
  color: #7db7ff !important;
}

/* Contest upload section. */
.idea-contest-page { --contest-panel-radius: 24px; --contest-inner-radius: 16px; }
.idea-contest-page .idea-contest-shell,
.idea-contest-page .contest-snapshot,
.idea-contest-page .contest-direction-card,
.idea-contest-page .contest-rules-panel,
.idea-contest-page .contest-prize-panel,
.idea-contest-page .contest-contact-panel {
  border-radius: var(--contest-panel-radius) !important;
}
.idea-contest-page .contest-photo,
.idea-contest-page .contest-deadline-badge,
.idea-contest-page .contest-direction-card img,
.idea-contest-page .contest-rule-list li,
.idea-contest-page .contest-contact-list a {
  border-radius: var(--contest-inner-radius) !important;
}
.idea-contest-page .contest-upload-section { padding-block: clamp(24px, 4vw, 48px) !important; }
.idea-contest-page .contest-upload-panel {
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 18px; align-items: start;
  padding: clamp(18px, 3vw, 28px); border: 1px solid rgba(173, 224, 240, .34); border-radius: var(--contest-panel-radius);
  background: radial-gradient(circle at 16% 0%, rgba(33, 201, 128, .14), transparent 34%), linear-gradient(145deg, rgba(255,255,255,.96), rgba(235,247,255,.92));
  box-shadow: 0 24px 60px rgba(0, 87, 184, .12);
}
.idea-contest-page .contest-upload-copy h2 { margin: 10px 0 8px; color: #0b1f3a; font-size: clamp(1.55rem, 3vw, 2.3rem); line-height: 1.08; }
.idea-contest-page .contest-upload-copy p { margin: 0; color: #526174; font-size: .98rem; line-height: 1.55; }
.idea-contest-page .contest-upload-notes { display: grid; gap: 8px; margin-top: 16px; }
.idea-contest-page .contest-upload-notes span { display: flex; align-items: center; gap: 8px; min-height: 34px; padding: 8px 10px; border: 1px solid rgba(0,87,184,.14); border-radius: 10px; background: rgba(255,255,255,.72); color: #075f37; font-size: .82rem; font-weight: 850; }
.idea-contest-page .contest-upload-notes span::before { content: ""; width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: linear-gradient(135deg, #1ca7ff, #21c980); }
.idea-contest-page .contest-upload-form { position: relative; display: grid; gap: 12px; padding: 14px; border: 1px solid rgba(0,87,184,.12); border-radius: var(--contest-inner-radius); background: rgba(255,255,255,.76); box-shadow: inset 0 1px 0 rgba(255,255,255,.72); overflow: hidden; }
.idea-contest-page .contest-upload-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.idea-contest-page .contest-upload-form .field { display: grid; gap: 6px; }
.idea-contest-page .contest-upload-form .field span { color: #103a63; font-size: .78rem; font-weight: 900; }
.idea-contest-page .contest-upload-form input, .idea-contest-page .contest-upload-form select, .idea-contest-page .contest-upload-form textarea { width: 100%; min-height: 42px; padding: 10px 12px; border: 1px solid rgba(0,87,184,.18); border-radius: 10px; background: rgba(255,255,255,.92); color: #0b1f3a; font: inherit; outline: none; transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease; }
.idea-contest-page .contest-upload-form textarea { resize: vertical; min-height: 86px; }
.idea-contest-page .contest-upload-form input:focus, .idea-contest-page .contest-upload-form select:focus, .idea-contest-page .contest-upload-form textarea:focus { border-color: rgba(0,87,184,.52); box-shadow: 0 0 0 4px rgba(28,167,255,.14); background: #fff; }
.idea-contest-page .contest-file-drop { display: grid; justify-items: center; gap: 6px; padding: 16px; border: 1.5px dashed rgba(0,87,184,.34); border-radius: 16px; background: linear-gradient(135deg, rgba(234,245,255,.8), rgba(232,255,244,.76)); color: #0b1f3a; text-align: center; cursor: pointer; transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease; }
.idea-contest-page .contest-file-drop:hover, .idea-contest-page .contest-file-drop:focus-within { transform: translateY(-2px); border-color: rgba(33,201,128,.72); box-shadow: 0 18px 34px rgba(0,87,184,.12); }
.idea-contest-page .contest-file-drop input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.idea-contest-page .contest-file-icon { position: relative; width: 40px; height: 40px; border-radius: 14px; background: linear-gradient(135deg,#0057b8,#1ca7ff 55%,#21c980); box-shadow: 0 12px 28px rgba(0,87,184,.22); }
.idea-contest-page .contest-file-icon::before { content: ""; position: absolute; left: 50%; top: 7px; width: 20px; height: 20px; border-radius: 4px; background: #fff; clip-path: polygon(39% 0, 61% 0, 61% 47%, 82% 47%, 50% 86%, 18% 47%, 39% 47%); transform: translateX(-50%); transition: transform 160ms ease; }
.idea-contest-page .contest-file-icon::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 24px; height: 9px; border: 4px solid #fff; border-top: 0; border-radius: 0 0 9px 9px; transform: translateX(-50%); }
.idea-contest-page .contest-file-drop:hover .contest-file-icon::before, .idea-contest-page .contest-file-drop:focus-within .contest-file-icon::before { transform: translate(-50%, 2px); }
.idea-contest-page .contest-file-drop strong { color: #0057b8; font-size: .98rem; line-height: 1.15; }
.idea-contest-page .contest-file-drop small { color: #526174; font-size: .8rem; line-height: 1.35; }
.idea-contest-page .contest-file-list { display: grid; gap: 10px; }
.idea-contest-page .contest-file-card { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 10px; align-items: center; min-width: 0; padding: 10px; border: 1px solid rgba(0,87,184,.14); border-radius: 14px; background: rgba(255,255,255,.82); box-shadow: 0 10px 24px rgba(0,87,184,.08); }
.idea-contest-page .contest-file-card-icon { position: relative; width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, rgba(0,87,184,.12), rgba(33,201,128,.16)); }
.idea-contest-page .contest-file-card-icon::before { content: ""; position: absolute; inset: 9px 10px; border-radius: 4px; background: #0057b8; clip-path: polygon(0 0, 68% 0, 100% 30%, 100% 100%, 0 100%); opacity: .9; }
.idea-contest-page .contest-file-card-main { display: grid; min-width: 0; gap: 4px; }
.idea-contest-page .contest-file-card-main strong { min-width: 0; overflow: hidden; color: #0b1f3a; font-size: .9rem; font-weight: 900; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.idea-contest-page .contest-file-card-main small { color: #526174; font-size: .78rem; font-weight: 800; }
.idea-contest-page .contest-file-card-state { color: #526174; font-size: .78rem; font-weight: 900; white-space: nowrap; }
.idea-contest-page .contest-file-progress { display: block; width: 100%; height: 8px; overflow: hidden; border-radius: 999px; background: rgba(0,87,184,.1); }
.idea-contest-page .contest-file-progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #0057b8, #1ca7ff, #21c980); transition: width 180ms ease; }
.idea-contest-page .contest-file-card.is-waiting .contest-file-progress span, .idea-contest-page .contest-file-card.is-preparing .contest-file-progress span { width: 42%; background: linear-gradient(100deg, rgba(0,87,184,.12), rgba(28,167,255,.42), rgba(0,87,184,.12)); animation: contest-file-card-skeleton 1.1s ease-in-out infinite; }
.idea-contest-page .contest-file-card.is-uploaded { border-color: rgba(5,136,79,.24); background: rgba(235,255,246,.9); }
.idea-contest-page .contest-file-card.is-uploaded .contest-file-card-state { color: #05884f; }
.idea-contest-page .contest-file-card.is-error { border-color: rgba(180,35,24,.24); background: rgba(255,241,240,.9); }
.idea-contest-page .contest-file-card.is-error .contest-file-card-state { color: #b42318; white-space: normal; }
.idea-contest-page .contest-upload-message { grid-column: 1 / -1; }
.idea-contest-page .contest-upload-status { min-height: 20px; margin: 0; color: #526174; font-size: .86rem; font-weight: 800; }
.idea-contest-page .contest-upload-status[data-state="ready"] { color: #075f37; }
.idea-contest-page .contest-upload-status[data-state="loading"] { color: #0057b8; }
.idea-contest-page .contest-upload-status[data-state="success"] { color: #05884f; }
.idea-contest-page .contest-upload-status[data-state="error"] { color: #b42318; }
.idea-contest-page .contest-upload-submit { grid-column: 1 / -1; justify-self: center; min-width: min(100%, 320px); min-height: 54px !important; padding: 0 34px !important; border-radius: 16px !important; font-size: 1.05rem !important; box-shadow: 0 16px 30px rgba(0, 87, 184, .2); }
.idea-contest-page .contest-upload-form.is-initializing > * { opacity: 0; }
.idea-contest-page .contest-upload-form.is-initializing::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 2;
  border-radius: 14px;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent) -45% 0 / 45% 100% no-repeat,
    linear-gradient(rgba(225,238,250,.95), rgba(225,238,250,.95)) 0 0 / 32% 42px no-repeat,
    linear-gradient(rgba(225,238,250,.95), rgba(225,238,250,.95)) 35% 0 / 32% 42px no-repeat,
    linear-gradient(rgba(225,238,250,.95), rgba(225,238,250,.95)) 70% 0 / 30% 42px no-repeat,
    linear-gradient(rgba(225,238,250,.88), rgba(225,238,250,.88)) 0 56px / 100% 112px no-repeat,
    linear-gradient(rgba(225,238,250,.95), rgba(225,238,250,.95)) 0 184px / 100% 78px no-repeat,
    linear-gradient(rgba(225,238,250,.95), rgba(225,238,250,.95)) 50% 284px / min(320px, 80%) 54px no-repeat;
  animation: contest-upload-skeleton 1.25s ease-in-out infinite;
}
.idea-contest-page .contest-upload-form.is-uploading .contest-file-drop { border-style: solid; transform: none; }
.idea-contest-page .contest-upload-form.has-upload-error .contest-upload-submit { box-shadow: 0 16px 30px rgba(180,35,24,.14); }
html[data-theme="dark"] .idea-contest-page .contest-upload-panel, body[data-theme="dark"] .idea-contest-page .contest-upload-panel { border-color: rgba(173,224,240,.28); background: radial-gradient(circle at 16% 0%, rgba(33,201,128,.12), transparent 34%), linear-gradient(145deg, rgba(16,64,103,.72), rgba(4,28,48,.9)); box-shadow: 0 24px 60px rgba(0,0,0,.28); }
html[data-theme="dark"] .idea-contest-page .contest-upload-copy h2, body[data-theme="dark"] .idea-contest-page .contest-upload-copy h2, html[data-theme="dark"] .idea-contest-page .contest-upload-form .field span, body[data-theme="dark"] .idea-contest-page .contest-upload-form .field span, html[data-theme="dark"] .idea-contest-page .contest-file-card-main strong, body[data-theme="dark"] .idea-contest-page .contest-file-card-main strong { color: #eaf5ff; }
html[data-theme="dark"] .idea-contest-page .contest-upload-copy p, body[data-theme="dark"] .idea-contest-page .contest-upload-copy p, html[data-theme="dark"] .idea-contest-page .contest-file-drop small, body[data-theme="dark"] .idea-contest-page .contest-file-drop small, html[data-theme="dark"] .idea-contest-page .contest-upload-status, body[data-theme="dark"] .idea-contest-page .contest-upload-status, html[data-theme="dark"] .idea-contest-page .contest-file-card-main small, body[data-theme="dark"] .idea-contest-page .contest-file-card-main small, html[data-theme="dark"] .idea-contest-page .contest-file-card-state, body[data-theme="dark"] .idea-contest-page .contest-file-card-state { color: rgba(234,245,255,.78); }
html[data-theme="dark"] .idea-contest-page .contest-upload-form, body[data-theme="dark"] .idea-contest-page .contest-upload-form, html[data-theme="dark"] .idea-contest-page .contest-upload-notes span, body[data-theme="dark"] .idea-contest-page .contest-upload-notes span { border-color: rgba(173,224,240,.26); background: rgba(4,28,48,.64); }
html[data-theme="dark"] .idea-contest-page .contest-upload-form input, html[data-theme="dark"] .idea-contest-page .contest-upload-form select, html[data-theme="dark"] .idea-contest-page .contest-upload-form textarea, body[data-theme="dark"] .idea-contest-page .contest-upload-form input, body[data-theme="dark"] .idea-contest-page .contest-upload-form select, body[data-theme="dark"] .idea-contest-page .contest-upload-form textarea { border-color: rgba(173,224,240,.26); background: rgba(0,18,34,.64); color: #eaf5ff; }
html[data-theme="dark"] .idea-contest-page .contest-file-drop, body[data-theme="dark"] .idea-contest-page .contest-file-drop { border-color: rgba(173,224,240,.34); background: linear-gradient(135deg, rgba(0,87,184,.18), rgba(33,201,128,.12)); }
html[data-theme="dark"] .idea-contest-page .contest-file-card, body[data-theme="dark"] .idea-contest-page .contest-file-card { border-color: rgba(173,224,240,.22); background: rgba(0,18,34,.44); box-shadow: 0 12px 28px rgba(0,0,0,.18); }
html[data-theme="dark"] .idea-contest-page .contest-file-card-icon, body[data-theme="dark"] .idea-contest-page .contest-file-card-icon { background: linear-gradient(135deg, rgba(28,167,255,.2), rgba(33,201,128,.16)); }
html[data-theme="dark"] .idea-contest-page .contest-file-card-icon::before, body[data-theme="dark"] .idea-contest-page .contest-file-card-icon::before { background: #ade0f0; }
html[data-theme="dark"] .idea-contest-page .contest-file-progress, body[data-theme="dark"] .idea-contest-page .contest-file-progress { background: rgba(173,224,240,.14); }
html[data-theme="dark"] .idea-contest-page .contest-file-card.is-uploaded, body[data-theme="dark"] .idea-contest-page .contest-file-card.is-uploaded { border-color: rgba(33,201,128,.34); background: rgba(5,74,48,.34); }
html[data-theme="dark"] .idea-contest-page .contest-file-card.is-error, body[data-theme="dark"] .idea-contest-page .contest-file-card.is-error { border-color: rgba(255,138,128,.34); background: rgba(99,22,18,.36); }
html[data-theme="dark"] .idea-contest-page .contest-upload-form.is-initializing::before, body[data-theme="dark"] .idea-contest-page .contest-upload-form.is-initializing::before {
  background:
    linear-gradient(90deg, transparent, rgba(173,224,240,.18), transparent) -45% 0 / 45% 100% no-repeat,
    linear-gradient(rgba(28,76,113,.94), rgba(28,76,113,.94)) 0 0 / 32% 42px no-repeat,
    linear-gradient(rgba(28,76,113,.94), rgba(28,76,113,.94)) 35% 0 / 32% 42px no-repeat,
    linear-gradient(rgba(28,76,113,.94), rgba(28,76,113,.94)) 70% 0 / 30% 42px no-repeat,
    linear-gradient(rgba(20,58,91,.9), rgba(20,58,91,.9)) 0 56px / 100% 112px no-repeat,
    linear-gradient(rgba(28,76,113,.94), rgba(28,76,113,.94)) 0 184px / 100% 78px no-repeat,
    linear-gradient(rgba(28,76,113,.94), rgba(28,76,113,.94)) 50% 284px / min(320px, 80%) 54px no-repeat;
}
@keyframes contest-upload-skeleton { to { background-position: 145% 0, 0 0, 35% 0, 70% 0, 0 56px, 0 184px, 50% 284px; } }
@keyframes contest-file-card-skeleton { 0%, 100% { transform: translateX(-12%); opacity: .65; } 50% { transform: translateX(72%); opacity: 1; } }
@media (max-width: 820px) { .idea-contest-page .contest-upload-panel { grid-template-columns: 1fr; } }
@media (min-width: 901px) {
  .idea-contest-page .contest-upload-panel {
    grid-template-columns: 1fr;
    gap: clamp(16px, 2vw, 22px);
  }
  .idea-contest-page .contest-upload-copy {
    display: grid;
    grid-template-columns: minmax(180px, .24fr) minmax(0, .76fr);
    gap: clamp(18px, 3vw, 34px);
    align-items: end;
  }
  .idea-contest-page .contest-upload-copy h2 {
    max-width: 760px;
    margin: 0;
  }
  .idea-contest-page .contest-upload-form {
    padding: clamp(16px, 2vw, 22px);
  }
  .idea-contest-page .contest-upload-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .idea-contest-page .contest-file-drop {
    min-height: 120px;
  }
  .idea-contest-page .contest-upload-message {
    grid-column: 1 / -1;
  }
}
@media (max-width: 520px) { .idea-contest-page .contest-upload-panel { gap: 14px; padding: 14px; border-radius: 20px; } .idea-contest-page .contest-upload-grid { grid-template-columns: 1fr; } .idea-contest-page .contest-upload-form { padding: 12px; } .idea-contest-page .contest-file-drop { padding: 14px 12px; } .idea-contest-page .contest-file-card { grid-template-columns: 34px minmax(0, 1fr); align-items: start; } .idea-contest-page .contest-file-card-state { grid-column: 2; white-space: normal; } .idea-contest-page .contest-upload-submit { width: 100%; } }

/* Prelaunch audit: keep explicit light theme visually light after switching themes. */
html[data-theme="light"],
html[data-theme="light"] body,
body[data-theme="light"] {
  color-scheme: light !important;
  background: #ffffff !important;
  color: var(--ink) !important;
}

html[data-theme="light"] body::before,
body[data-theme="light"]::before {
  opacity: 0 !important;
  background-image: none !important;
}

html[data-theme="light"] .site-header,
html[data-theme="light"] .site-header .nav-shell,
body[data-theme="light"] .site-header,
body[data-theme="light"] .site-header .nav-shell {
  background: rgba(255, 255, 255, 0.94) !important;
  border-color: var(--line) !important;
  color: var(--navy) !important;
  box-shadow: none !important;
}

html[data-theme="light"] .site-header .brand,
html[data-theme="light"] .site-header .brand-name,
html[data-theme="light"] .site-header .brand-name span,
html[data-theme="light"] .site-header nav a,
body[data-theme="light"] .site-header .brand,
body[data-theme="light"] .site-header .brand-name,
body[data-theme="light"] .site-header .brand-name span,
body[data-theme="light"] .site-header nav a {
  color: var(--navy) !important;
}

html[data-theme="light"] .site-header .brand-name small,
body[data-theme="light"] .site-header .brand-name small {
  color: var(--muted) !important;
}

html[data-theme="light"] .theme-toggle,
html[data-theme="light"] [data-theme-toggle],
html[data-theme="light"] .menu-toggle,
body[data-theme="light"] .theme-toggle,
body[data-theme="light"] [data-theme-toggle],
body[data-theme="light"] .menu-toggle {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(234, 245, 255, 0.92)) !important;
  border-color: rgba(0, 87, 184, 0.14) !important;
  color: var(--navy) !important;
  box-shadow: 0 12px 28px rgba(0, 87, 184, 0.12) !important;
}

html[data-theme="light"] .menu-toggle span,
html[data-theme="light"] .menu-toggle::before,
html[data-theme="light"] .menu-toggle::after,
body[data-theme="light"] .menu-toggle span,
body[data-theme="light"] .menu-toggle::before,
body[data-theme="light"] .menu-toggle::after {
  background: currentColor !important;
  color: var(--navy) !important;
  box-shadow: none !important;
}

html[data-theme="light"] .magazine-hero,
body[data-theme="light"] .magazine-hero {
  background:
    radial-gradient(circle at 18% 12%, rgba(0, 157, 255, 0.12), transparent 34%),
    linear-gradient(180deg, #f6fbff 0%, #ffffff 100%) !important;
  color: var(--navy) !important;
}

html[data-theme="light"] .magazine-hero-grid,
body[data-theme="light"] .magazine-hero-grid {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(234, 245, 255, 0.86)) !important;
  border-color: rgba(0, 87, 184, 0.12) !important;
  color: var(--navy) !important;
  box-shadow: 0 24px 70px rgba(0, 87, 184, 0.1) !important;
}

html[data-theme="light"] .magazine-hero-copy,
html[data-theme="light"] .magazine-showcase,
body[data-theme="light"] .magazine-hero-copy,
body[data-theme="light"] .magazine-showcase {
  background: rgba(255, 255, 255, 0.72) !important;
  border-color: rgba(0, 87, 184, 0.1) !important;
  color: var(--navy) !important;
}

@media (max-width: 520px) {
  .home-page .magazine-hero-copy {
    padding-right: 14px !important;
  }

  .home-page .magazine-hero-subtitle {
    width: min(100%, calc(100vw - 48px)) !important;
    max-width: min(100%, calc(100vw - 48px)) !important;
    font-size: clamp(1.24rem, 6vw, 1.52rem) !important;
    line-height: 1.22 !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  .home-page .magazine-hero-subtitle span {
    display: inline !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    text-wrap: balance;
  }

}

/* Prelaunch audit: keep explicit dark theme dark after late mobile overrides. */
html[data-theme="dark"],
html[data-theme="dark"] body,
body[data-theme="dark"] {
  color-scheme: dark !important;
  background:
    radial-gradient(circle at 12% 8%, rgba(28, 167, 255, 0.18), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(255, 212, 59, 0.08), transparent 24%),
    linear-gradient(180deg, #061d33 0%, #082846 52%, #061a2e 100%) !important;
  color: var(--it-dark-text) !important;
}

html[data-theme="dark"] body::before,
body[data-theme="dark"]::before {
  background-image:
    linear-gradient(rgba(174, 218, 248, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(174, 218, 248, 0.055) 1px, transparent 1px) !important;
  background-size: 64px 64px !important;
  opacity: 0.5 !important;
}

html[data-theme="dark"] .site-header,
html[data-theme="dark"] .site-header .nav-shell,
body[data-theme="dark"] .site-header,
body[data-theme="dark"] .site-header .nav-shell {
  background: rgba(6, 24, 42, 0.92) !important;
  border-color: rgba(174, 218, 248, 0.16) !important;
  color: var(--it-dark-text) !important;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.24) !important;
  backdrop-filter: blur(18px) !important;
}

html[data-theme="dark"] .site-header .brand,
html[data-theme="dark"] .site-header .brand-name,
html[data-theme="dark"] .site-header .brand-name span,
html[data-theme="dark"] .site-header nav a,
body[data-theme="dark"] .site-header .brand,
body[data-theme="dark"] .site-header .brand-name,
body[data-theme="dark"] .site-header .brand-name span,
body[data-theme="dark"] .site-header nav a {
  color: var(--it-dark-text) !important;
}

html[data-theme="dark"] .site-header .brand-name small,
body[data-theme="dark"] .site-header .brand-name small {
  color: var(--it-dark-muted) !important;
}

html[data-theme="dark"] .theme-toggle,
html[data-theme="dark"] [data-theme-toggle],
html[data-theme="dark"] .menu-toggle,
body[data-theme="dark"] .theme-toggle,
body[data-theme="dark"] [data-theme-toggle],
body[data-theme="dark"] .menu-toggle {
  background: linear-gradient(180deg, rgba(12, 42, 70, 0.94), rgba(8, 31, 54, 0.96)) !important;
  border-color: rgba(174, 218, 248, 0.22) !important;
  color: var(--it-dark-text) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24) !important;
}

html[data-theme="dark"] .menu-toggle span,
html[data-theme="dark"] .menu-toggle::before,
html[data-theme="dark"] .menu-toggle::after,
body[data-theme="dark"] .menu-toggle span,
body[data-theme="dark"] .menu-toggle::before,
body[data-theme="dark"] .menu-toggle::after {
  background: currentColor !important;
  color: var(--it-dark-text) !important;
  box-shadow: none !important;
}

/* Browser feedback: restore the burger middle stroke in the closed state. */
.site-header .menu-toggle::before,
html[data-theme="light"] .site-header .menu-toggle::before,
body[data-theme="light"] .site-header .menu-toggle::before,
html[data-theme="dark"] .site-header .menu-toggle::before,
body[data-theme="dark"] .site-header .menu-toggle::before {
  box-shadow: 0 8px 0 currentColor !important;
}

.site-header .menu-toggle[aria-expanded="true"]::before,
html[data-theme="light"] .site-header .menu-toggle[aria-expanded="true"]::before,
body[data-theme="light"] .site-header .menu-toggle[aria-expanded="true"]::before,
html[data-theme="dark"] .site-header .menu-toggle[aria-expanded="true"]::before,
body[data-theme="dark"] .site-header .menu-toggle[aria-expanded="true"]::before {
  box-shadow: none !important;
}

@media (min-width: 940px) {
  .site-header .menu-toggle::before,
  html[data-theme="light"] .site-header .menu-toggle::before,
  body[data-theme="light"] .site-header .menu-toggle::before,
  html[data-theme="dark"] .site-header .menu-toggle::before,
  body[data-theme="dark"] .site-header .menu-toggle::before {
    box-shadow: 0 9px 0 currentColor !important;
  }
}

/* Browser feedback: restore the original burger button treatment. */
@media (max-width: 939px) {
  .site-header .menu-toggle,
  html[data-theme="light"] .site-header .menu-toggle,
  body[data-theme="light"] .site-header .menu-toggle {
    position: relative !important;
    display: grid !important;
    place-items: center !important;
    overflow: visible !important;
    text-indent: 0 !important;
    font-size: initial !important;
    line-height: normal !important;
    color: var(--navy) !important;
    background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(234,245,255,.92)) !important;
    border: 1px solid rgba(0,87,184,.14) !important;
    box-shadow: 0 12px 28px rgba(0,87,184,.12) !important;
  }

  html[data-theme="dark"] .site-header .menu-toggle,
  body[data-theme="dark"] .site-header .menu-toggle {
    color: var(--it-dark-text, #eaf5ff) !important;
    background: linear-gradient(180deg, rgba(12,42,70,.94), rgba(8,31,54,.96)) !important;
    border-color: rgba(174,218,248,.22) !important;
    box-shadow: 0 14px 34px rgba(0,0,0,.24) !important;
  }

  .site-header .menu-toggle:hover,
  .site-header .menu-toggle:focus-visible {
    transform: translateY(-1px) !important;
    border-color: rgba(0,87,184,.32) !important;
    background: linear-gradient(180deg, #fff, rgba(234,245,255,.98)) !important;
    box-shadow: 0 16px 34px rgba(0,87,184,.18) !important;
  }

  html[data-theme="dark"] .site-header .menu-toggle:hover,
  html[data-theme="dark"] .site-header .menu-toggle:focus-visible,
  body[data-theme="dark"] .site-header .menu-toggle:hover,
  body[data-theme="dark"] .site-header .menu-toggle:focus-visible {
    border-color: rgba(174,218,248,.34) !important;
    background: linear-gradient(180deg, rgba(18,55,89,.96), rgba(10,35,61,.98)) !important;
    box-shadow: 0 16px 34px rgba(0,0,0,.28) !important;
  }

  .site-header .menu-toggle::before,
  .site-header .menu-toggle::after,
  html[data-theme="dark"] .site-header .menu-toggle::before,
  html[data-theme="dark"] .site-header .menu-toggle::after,
  body[data-theme="dark"] .site-header .menu-toggle::before,
  body[data-theme="dark"] .site-header .menu-toggle::after {
    content: none !important;
    box-shadow: none !important;
  }

  .site-header .menu-toggle .menu-toggle-icon,
  html[data-theme="dark"] .site-header .menu-toggle .menu-toggle-icon,
  body[data-theme="dark"] .site-header .menu-toggle .menu-toggle-icon {
    position: relative !important;
    display: block !important;
    width: 23px !important;
    height: 18px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .site-header .menu-toggle .menu-toggle-icon span,
  html[data-theme="dark"] .site-header .menu-toggle .menu-toggle-icon span,
  body[data-theme="dark"] .site-header .menu-toggle .menu-toggle-icon span {
    position: absolute !important;
    left: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 2.5px !important;
    border-radius: 999px !important;
    background: currentColor !important;
    opacity: 1 !important;
    box-shadow: 0 1px 0 rgba(255,255,255,.28) !important;
    transition: transform 180ms ease, opacity 140ms ease, top 180ms ease, width 180ms ease !important;
  }

  .site-header .menu-toggle .menu-toggle-icon span:nth-child(1) { top: 0 !important; }
  .site-header .menu-toggle .menu-toggle-icon span:nth-child(2) { top: 7.5px !important; width: 72% !important; }
  .site-header .menu-toggle .menu-toggle-icon span:nth-child(3) { top: 15px !important; }
  .site-header .menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(1) { top: 7.5px !important; transform: rotate(45deg) !important; }
  .site-header .menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(2) { opacity: 0 !important; transform: translateX(7px) !important; }
  .site-header .menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(3) { top: 7.5px !important; transform: rotate(-45deg) !important; }
}

/* Contest page load performance and image skeletons. */
.idea-contest-page {
  --contest-skeleton-base: rgba(225, 238, 250, 0.9);
  --contest-skeleton-soft: rgba(240, 247, 255, 0.96);
  --contest-skeleton-highlight: rgba(255, 255, 255, 0.72);
}

html[data-theme="dark"] .idea-contest-page,
body[data-theme="dark"] .idea-contest-page {
  --contest-skeleton-base: rgba(20, 58, 91, 0.82);
  --contest-skeleton-soft: rgba(12, 38, 66, 0.92);
  --contest-skeleton-highlight: rgba(90, 136, 172, 0.24);
}

@supports (content-visibility: auto) {
  .idea-contest-page :is(.contest-directions-section, .contest-rules-section, .contest-upload-section, .contest-contact-section) {
    content-visibility: auto;
    contain-intrinsic-size: 1px 620px;
  }

  .idea-contest-page .contest-upload-section {
    contain-intrinsic-size: 1px 760px;
  }
}

.js .idea-contest-page :is([data-contest-image-shell], .contest-progressive-card) {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.js .idea-contest-page [data-contest-image-shell]:not(.is-loaded):not(.is-error) img,
.js .idea-contest-page .contest-progressive-card:not(.is-loaded):not(.is-error) > * {
  opacity: 0;
}

.js .idea-contest-page :is([data-contest-image-shell], .contest-progressive-card)::before,
.js .idea-contest-page :is([data-contest-image-shell], .contest-progressive-card)::after {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: 0;
}

.js .idea-contest-page :is([data-contest-image-shell], .contest-progressive-card):not(.is-loaded):not(.is-error)::before,
.js .idea-contest-page :is([data-contest-image-shell], .contest-progressive-card):not(.is-loaded):not(.is-error)::after {
  opacity: 1;
}

.js .idea-contest-page [data-contest-image-shell]:not(.is-loaded):not(.is-error)::before {
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background:
    linear-gradient(135deg, var(--contest-skeleton-soft), var(--contest-skeleton-base));
}

.js .idea-contest-page [data-contest-image-shell]:not(.is-loaded):not(.is-error)::after,
.js .idea-contest-page .contest-progressive-card:not(.is-loaded):not(.is-error)::after {
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  background: linear-gradient(100deg, transparent 20%, var(--contest-skeleton-highlight) 45%, transparent 70%);
  transform: translateX(-130%);
  animation: contest-skeleton-shimmer 1.45s ease-in-out infinite;
}

.js .idea-contest-page .contest-progressive-card:not(.is-loaded):not(.is-error)::before {
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  background:
    linear-gradient(var(--contest-skeleton-base), var(--contest-skeleton-base)) 0 0 / 100% 56% no-repeat,
    linear-gradient(var(--contest-skeleton-base), var(--contest-skeleton-base)) 14px calc(56% + 18px) / 40px 34px no-repeat,
    linear-gradient(var(--contest-skeleton-base), var(--contest-skeleton-base)) 14px calc(56% + 68px) / 64% 18px no-repeat,
    linear-gradient(var(--contest-skeleton-base), var(--contest-skeleton-base)) 14px calc(56% + 102px) / 84% 12px no-repeat,
    linear-gradient(var(--contest-skeleton-base), var(--contest-skeleton-base)) 14px calc(56% + 124px) / 72% 12px no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(245, 250, 255, 0.9));
}

html[data-theme="dark"] .js .idea-contest-page .contest-progressive-card:not(.is-loaded):not(.is-error)::before,
body[data-theme="dark"] .js .idea-contest-page .contest-progressive-card:not(.is-loaded):not(.is-error)::before {
  background:
    linear-gradient(var(--contest-skeleton-base), var(--contest-skeleton-base)) 0 0 / 100% 56% no-repeat,
    linear-gradient(var(--contest-skeleton-base), var(--contest-skeleton-base)) 14px calc(56% + 18px) / 40px 34px no-repeat,
    linear-gradient(var(--contest-skeleton-base), var(--contest-skeleton-base)) 14px calc(56% + 68px) / 64% 18px no-repeat,
    linear-gradient(var(--contest-skeleton-base), var(--contest-skeleton-base)) 14px calc(56% + 102px) / 84% 12px no-repeat,
    linear-gradient(var(--contest-skeleton-base), var(--contest-skeleton-base)) 14px calc(56% + 124px) / 72% 12px no-repeat,
    linear-gradient(180deg, rgba(6, 29, 51, 0.86), rgba(10, 39, 68, 0.94));
}

@keyframes contest-skeleton-shimmer {
  to {
    transform: translateX(130%);
  }
}

@media (max-width: 620px) {
  .js .idea-contest-page .contest-progressive-card:not(.is-loaded):not(.is-error)::before {
    background:
      linear-gradient(var(--contest-skeleton-base), var(--contest-skeleton-base)) 0 0 / 92px 100% no-repeat,
      linear-gradient(var(--contest-skeleton-base), var(--contest-skeleton-base)) 112px 24px / 34px 28px no-repeat,
      linear-gradient(var(--contest-skeleton-base), var(--contest-skeleton-base)) 112px 70px / 58% 16px no-repeat,
      linear-gradient(var(--contest-skeleton-base), var(--contest-skeleton-base)) 112px 102px / 70% 11px no-repeat,
      linear-gradient(var(--contest-skeleton-base), var(--contest-skeleton-base)) 112px 122px / 54% 11px no-repeat,
      linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(245, 250, 255, 0.9));
  }

  html[data-theme="dark"] .js .idea-contest-page .contest-progressive-card:not(.is-loaded):not(.is-error)::before,
  body[data-theme="dark"] .js .idea-contest-page .contest-progressive-card:not(.is-loaded):not(.is-error)::before {
    background:
      linear-gradient(var(--contest-skeleton-base), var(--contest-skeleton-base)) 0 0 / 92px 100% no-repeat,
      linear-gradient(var(--contest-skeleton-base), var(--contest-skeleton-base)) 112px 24px / 34px 28px no-repeat,
      linear-gradient(var(--contest-skeleton-base), var(--contest-skeleton-base)) 112px 70px / 58% 16px no-repeat,
      linear-gradient(var(--contest-skeleton-base), var(--contest-skeleton-base)) 112px 102px / 70% 11px no-repeat,
      linear-gradient(var(--contest-skeleton-base), var(--contest-skeleton-base)) 112px 122px / 54% 11px no-repeat,
      linear-gradient(180deg, rgba(6, 29, 51, 0.86), rgba(10, 39, 68, 0.94));
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .idea-contest-page :is([data-contest-image-shell], .contest-progressive-card)::after {
    animation: none !important;
  }
}

