/*
  Avatar Zen English-only consolidated visual system.
  This file is intentionally loaded last on English pages during Phase 1.
  It consolidates the active zen.css design language, then hard-overrides
  legacy info/sidebar behavior so English pages stop depending on fragile cascade order.
  Do not run build-avatarzen-redesign.mjs, repair-locale-homepages.mjs,
  repair-homepage.mjs, or full generate-info-hub.mjs until English is approved.
*/

/* ===== Consolidated base from css/zen.css ===== */
:root {
  --az-bg: #f7fbfd;
  --az-bg-2: #eef8fd;
  --az-surface: #ffffff;
  --az-surface-glass: rgba(255, 255, 255, 0.88);
  --az-text: #0c1618;
  --az-text-soft: #334248;
  --az-muted: #65757c;
  --az-accent: #2d97db;
  --az-accent-dark: #1678b6;
  --az-border: rgba(45, 151, 219, 0.16);
  --az-border-strong: rgba(45, 151, 219, 0.28);
  --az-shadow-soft: 0 10px 28px rgba(12, 22, 24, 0.06);
  --az-shadow: 0 22px 60px rgba(12, 22, 24, 0.1);
  --az-shadow-big: 0 28px 90px rgba(12, 22, 24, 0.13);
  --az-radius-sm: 14px;
  --az-radius: 24px;
  --az-radius-lg: 34px;
  --az-container: 1180px;
  --az-container-wide: 1320px;
  --az-readable: 760px;
  --az-section-y: clamp(68px, 8vw, 108px);
  --strong: #31b46d;
  --moderate: #e4b844;
  --emerging: #f28a3c;
  --weak: #df5b63;
  --physical: #2d97db;
  --cultural: #7e75d8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 104px;
}

body,
body.az-page,
body.az-shell,
body.info-body {
  background:
    radial-gradient(circle at 8% -8%, rgba(45, 151, 219, 0.14), transparent 30rem),
    radial-gradient(circle at 92% 8%, rgba(45, 151, 219, 0.08), transparent 26rem),
    linear-gradient(180deg, #fff 0%, var(--az-bg) 42%, #fff 100%);
  color: var(--az-text);
  font-family: Poppins, sans-serif;
  letter-spacing: 0;
  line-height: 1.7;
  margin: 0;
  overflow-x: hidden;
}

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

a {
  color: var(--az-accent-dark);
}

.az-container,
.container {
  width: min(100% - clamp(36px, 7vw, 96px), var(--az-container));
  max-width: var(--az-container);
  margin-inline: auto;
  padding-left: 0;
  padding-right: 0;
}

.az-container-wide,
.container-lg {
  width: min(100% - clamp(36px, 6vw, 96px), var(--az-container-wide));
  max-width: var(--az-container-wide);
  margin-inline: auto;
  padding-left: 0;
  padding-right: 0;
}

.az-readable {
  max-width: var(--az-readable);
}

.az-section,
.info-main > .container,
.home-hub-section,
.contact,
.about-music-section {
  padding-block: var(--az-section-y);
}

.az-section-tight {
  padding-block: clamp(46px, 6vw, 72px);
}

.az-section-soft,
.az-section.alt,
.home-hub-section {
  background:
    radial-gradient(circle at 15% 0, rgba(45, 151, 219, 0.1), transparent 24rem),
    linear-gradient(180deg, var(--az-bg) 0%, #fff 100%);
}

.az-kicker,
.info-kicker,
.az-hero-greeting {
  color: var(--az-accent);
  display: inline-flex;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.35;
  text-transform: uppercase;
}

.az-section-head {
  margin: 0 auto clamp(26px, 5vw, 48px);
  max-width: 820px;
  text-align: center;
}

.az-section-head h2,
.info-hero h1,
.az-hero-2026 h1 {
  color: var(--az-text);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.az-section-head h2 {
  font-size: clamp(2.1rem, 4.6vw, 4.55rem);
  margin: 8px 0 0;
}

.az-section-head p,
.az-lede,
.info-lede,
.section-subtitle {
  color: var(--az-text-soft);
  font-size: clamp(1rem, 1.4vw, 1.17rem);
  line-height: 1.78;
  margin: 18px auto 0;
  max-width: 760px;
}

.az-grid,
.az-topic-grid,
.info-card-grid,
.home-hub-grid,
.info-listing-grid {
  display: grid;
  gap: clamp(18px, 2.6vw, 28px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.az-card,
.az-topic-card,
.info-mini-card,
.info-listing-card,
.home-hub-card,
.info-card,
.az-story-card,
.az-video-card,
.az-social-card,
.az-stat-card,
.formula-card {
  background: var(--az-surface-glass);
  border: 1px solid var(--az-border);
  border-radius: var(--az-radius);
  box-shadow: var(--az-shadow-soft);
  padding: clamp(22px, 3vw, 32px);
}

.az-card h3,
.az-topic-card h3,
.info-mini-card h3,
.info-listing-card h2,
.home-hub-card h3,
.az-story-card h3,
.az-video-card h3,
.az-social-card span,
.az-album-card h3 {
  color: var(--az-text);
  font-size: clamp(1.05rem, 1.45vw, 1.28rem);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 10px;
}

.az-card p,
.az-topic-card p,
.info-mini-card p,
.info-listing-card p,
.home-hub-card p,
.az-story-card p,
.az-video-card p,
.az-social-card p,
.az-album-card p,
.info-section p,
.info-section li,
.info-sources p,
.info-faq p,
.info-related p {
  color: var(--az-text-soft);
  font-size: 0.98rem;
  line-height: 1.74;
  margin: 0;
}

.az-card a,
.az-topic-card a,
.info-mini-card a,
.info-listing-card a,
.home-hub-card a,
.info-section a,
.info-sources a,
.info-related a,
.az-album-card a {
  color: var(--az-accent-dark);
  font-weight: 700;
  text-decoration: none;
}

.az-card a:hover,
.az-topic-card a:hover,
.info-mini-card a:hover,
.info-listing-card a:hover,
.home-hub-card a:hover,
.az-album-card a:hover {
  text-decoration: underline;
}

.az-actions,
.info-buttons {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.az-button,
.info-button,
.btn {
  align-items: center;
  background: var(--az-accent);
  border: 1px solid var(--az-accent);
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(45, 151, 219, 0.22);
  color: #fff !important;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0.08em;
  line-height: 1;
  min-height: 48px;
  padding: 0 22px;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  white-space: nowrap;
}

.az-button:hover,
.az-button:focus,
.info-button:hover,
.info-button:focus,
.btn:hover,
.btn:focus {
  background: var(--az-accent-dark);
  border-color: var(--az-accent-dark);
  box-shadow: 0 18px 36px rgba(45, 151, 219, 0.28);
  outline: none;
  transform: translateY(-1px);
}

.az-button.secondary,
.info-button.secondary,
.btn-white {
  background: #fff;
  border-color: var(--az-border-strong);
  box-shadow: none;
  color: var(--az-accent-dark) !important;
}

.az-button.secondary:hover,
.info-button.secondary:hover,
.btn-white:hover {
  background: var(--az-bg-2);
}

/* Header */
.az-header {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(220, 234, 241, 0.85);
  box-shadow: 0 12px 34px rgba(12, 22, 24, 0.055);
  position: sticky;
  top: 0;
  z-index: 2000;
  backdrop-filter: blur(18px);
}

.az-nav {
  align-items: center;
  display: flex;
  gap: 24px;
  min-height: 84px;
  position: relative;
}

.az-logo {
  align-items: center;
  color: var(--az-text);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 1.05rem;
  font-weight: 700;
  gap: 11px;
  text-decoration: none;
}

.az-logo img {
  border-radius: 12px;
  height: 38px;
  width: 38px;
}

.az-nav-list {
  align-items: center;
  display: flex;
  flex: 1 1 auto;
  gap: 6px;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  padding: 0;
}

.az-nav-link {
  align-items: center;
  border-radius: 999px;
  color: var(--az-text-soft);
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 600;
  min-height: 42px;
  padding: 0 13px;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
  white-space: nowrap;
}

.az-nav-link:hover,
.az-nav-link:focus,
.az-nav-link.is-active {
  background: var(--az-bg-2);
  color: var(--az-accent-dark);
  outline: none;
}

.az-stream {
  background: var(--az-accent);
  box-shadow: 0 10px 24px rgba(45, 151, 219, 0.24);
  color: #fff !important;
  padding-left: 18px;
  padding-right: 18px;
}

.az-stream:hover,
.az-stream:focus {
  background: var(--az-accent-dark);
  color: #fff !important;
}

.az-lang select {
  appearance: none;
  background: #fff;
  border: 1px solid var(--az-border);
  border-radius: 999px;
  color: var(--az-muted);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  min-height: 42px;
  padding: 0 30px 0 14px;
}

.az-nav-toggle {
  align-items: center;
  background: var(--az-bg-2);
  border: 1px solid var(--az-border);
  border-radius: 999px;
  color: var(--az-text);
  display: none;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  margin-left: auto;
  min-height: 42px;
  padding: 0 16px;
}

/* Homepage package */
.az-hero-2026 {
  padding: clamp(58px, 8vw, 106px) 0 clamp(42px, 6vw, 76px);
}

.az-hero-panel {
  align-items: center;
  background:
    radial-gradient(circle at 8% 8%, rgba(45, 151, 219, 0.18), transparent 32rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(234, 246, 253, 0.88));
  border: 1px solid var(--az-border);
  border-radius: clamp(28px, 4vw, 52px);
  box-shadow: var(--az-shadow-big);
  display: grid;
  gap: clamp(34px, 6vw, 80px);
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  overflow: hidden;
  padding: clamp(28px, 6vw, 72px);
  position: relative;
}

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

.az-hero-2026 h1 {
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  margin: 10px 0 0;
  max-width: 920px;
}

.az-hero-greeting {
  background: #fff;
  border: 1px solid var(--az-border);
  border-radius: 999px;
  box-shadow: var(--az-shadow-soft);
  margin-bottom: 18px;
  padding: 8px 13px;
}

.az-hero-image-wrap {
  align-items: center;
  display: grid;
  justify-items: center;
  min-height: 420px;
  position: relative;
}

.az-hero-image-wrap > img {
  background: #fff;
  border: 1px solid var(--az-border);
  border-radius: 44px;
  box-shadow: var(--az-shadow);
  display: block;
  height: auto;
  width: min(100%, 439px);
}

.az-hero-orbit {
  display: flex;
  gap: 14px;
  position: absolute;
  right: 2%;
  bottom: 2%;
}

.az-hero-orbit img {
  border: 5px solid #fff;
  border-radius: 24px;
  box-shadow: var(--az-shadow-soft);
  height: 112px;
  object-fit: cover;
  width: 112px;
}

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

.az-hero-trust span,
.az-strip-panel span,
.az-topic-card > span,
.az-album-card span {
  background: #fff;
  border: 1px solid var(--az-border);
  border-radius: 999px;
  color: var(--az-accent-dark);
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 7px 11px;
}

.az-strip {
  padding: 0 0 clamp(34px, 6vw, 58px);
}

.az-strip-panel {
  align-items: center;
  background: var(--az-surface);
  border: 1px solid var(--az-border);
  border-radius: 999px;
  box-shadow: var(--az-shadow-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 13px;
}

.az-strip-panel a {
  border-radius: 999px;
  color: var(--az-text);
  font-weight: 700;
  padding: 9px 13px;
  text-decoration: none;
}

.az-strip-panel a:hover {
  background: var(--az-bg-2);
  color: var(--az-accent-dark);
}

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

.az-stat-card {
  min-height: 182px;
}

.az-stat-card strong {
  color: var(--az-accent);
  display: block;
  font-size: clamp(1.8rem, 3.2vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
}

.az-stat-card span {
  color: var(--az-text);
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin: 13px 0 8px;
  text-transform: uppercase;
}

.az-milestone-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 20px;
}

.az-meter-card {
  background: #fff;
  border: 1px solid var(--az-border);
  border-radius: var(--az-radius);
  box-shadow: var(--az-shadow-soft);
  padding: 22px;
}

.az-meter-card div {
  align-items: baseline;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.az-meter-card span {
  color: var(--az-muted);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
}

.az-meter-card strong {
  color: var(--az-text);
  font-size: 1.4rem;
}

.az-meter-card i {
  background: var(--az-bg-2);
  border-radius: 999px;
  display: block;
  height: 10px;
  margin-top: 16px;
  overflow: hidden;
}

.az-meter-card i::before {
  background: linear-gradient(90deg, var(--az-accent), #7e75d8);
  border-radius: inherit;
  content: "";
  display: block;
  height: 100%;
  width: var(--progress);
}

.az-editorial {
  align-items: center;
  display: grid;
  gap: clamp(24px, 5vw, 56px);
  grid-template-columns: minmax(0, 1fr) 340px;
}

.az-editorial h2 {
  color: var(--az-text);
  font-size: clamp(2.1rem, 4.5vw, 4.8rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.05;
  margin: 8px 0 18px;
}

.az-editorial p {
  color: var(--az-text-soft);
  font-size: clamp(1rem, 1.35vw, 1.1rem);
  line-height: 1.82;
  margin: 0 0 14px;
  max-width: 780px;
}

.az-story-card {
  text-align: center;
}

.az-story-card img {
  border-radius: 26px;
  height: 150px;
  margin: 0 auto 18px;
  object-fit: cover;
  width: 100px;
}

.az-details {
  background: #fff;
  border: 1px solid var(--az-border);
  border-radius: var(--az-radius);
  box-shadow: var(--az-shadow-soft);
  margin-top: 24px;
  overflow: hidden;
}

.az-details summary {
  color: var(--az-text);
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  padding: 22px 26px;
}

.az-details summary::-webkit-details-marker {
  display: none;
}

.az-details summary::after {
  content: "+";
  float: right;
}

.az-details[open] summary::after {
  content: "-";
}

.az-details .az-readable {
  padding: 0 26px 26px;
}

.az-details p {
  color: var(--az-text-soft);
  line-height: 1.8;
}

.az-journey-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.az-journey-card,
.az-wide-note,
.az-research-panel,
.az-language-panel,
.az-final-cta {
  background: var(--az-surface-glass);
  border: 1px solid var(--az-border);
  border-radius: var(--az-radius-lg);
  box-shadow: var(--az-shadow);
  padding: clamp(24px, 4vw, 42px);
}

.az-journey-card > span {
  color: var(--az-accent);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.az-journey-card h3,
.az-wide-note h3 {
  color: var(--az-text);
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  margin: 8px 0 10px;
}

.az-journey-card p,
.az-wide-note p {
  color: var(--az-text-soft);
  line-height: 1.75;
}

.az-spotify-shell {
  margin-top: 18px;
}

.spotify-embed {
  align-items: center;
  background: linear-gradient(145deg, #e8f3fa, #fff);
  border: 1px dashed var(--az-border-strong);
  border-radius: 18px;
  color: var(--az-accent-dark);
  cursor: pointer;
  display: flex;
  font-size: 0.9rem;
  font-weight: 700;
  justify-content: center;
  min-height: 152px;
  text-align: center;
}

.az-wide-note {
  margin-top: 20px;
}

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

.az-album-card {
  background: #fff;
  border: 1px solid var(--az-border);
  border-radius: var(--az-radius);
  box-shadow: var(--az-shadow-soft);
  display: grid;
  gap: 18px;
  grid-template-columns: 116px minmax(0, 1fr);
  padding: 16px;
  text-decoration: none;
}

.az-album-card img {
  aspect-ratio: 1;
  border-radius: 18px;
  display: block;
  height: auto;
  object-fit: cover;
  width: 116px;
}

.az-album-card h3 {
  margin-top: 10px;
}

.az-album-card a:last-child {
  display: inline-flex;
  margin-top: 10px;
}

.az-artwork-strip {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  padding: 0 26px 26px;
}

.az-artwork-strip figure {
  margin: 0;
}

.az-artwork-strip img {
  aspect-ratio: 1;
  border-radius: 18px;
  object-fit: cover;
  width: 100%;
}

.az-artwork-strip figcaption {
  color: var(--az-muted);
  font-size: 0.82rem;
  font-weight: 700;
  margin-top: 8px;
}

.az-video-grid,
.az-social-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.az-video-frame {
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  margin: 16px 0;
  overflow: hidden;
}

.az-video-frame iframe {
  border: 0;
  height: 100%;
  width: 100%;
}

.az-topic-card {
  min-height: 230px;
  position: relative;
}

.az-topic-card > span {
  margin-bottom: 18px;
}

.az-research-panel {
  display: grid;
  gap: clamp(24px, 5vw, 58px);
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.az-research-panel h2,
.az-language-panel h2,
.az-final-cta h2 {
  color: var(--az-text);
  font-size: clamp(2rem, 4.5vw, 4.2rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.05;
  margin: 8px 0 14px;
}

.az-research-panel p,
.az-language-panel p,
.az-final-cta p {
  color: var(--az-text-soft);
  line-height: 1.78;
}

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

.az-source-list article {
  background: #fff;
  border: 1px solid var(--az-border);
  border-radius: 18px;
  padding: 18px;
}

.az-source-list h3 {
  font-size: 1rem;
  margin: 0 0 8px;
}

.az-language-panel {
  align-items: center;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.az-language-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.az-language-grid a,
.az-footer-social a {
  background: #fff;
  border: 1px solid var(--az-border);
  border-radius: 999px;
  color: var(--az-text-soft);
  font-size: 0.86rem;
  font-weight: 700;
  padding: 9px 13px;
  text-decoration: none;
}

.az-social-card {
  color: var(--az-text);
  display: block;
  text-decoration: none;
}

.az-social-card i {
  color: var(--az-accent);
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.az-faq-grid {
  display: grid;
  gap: 14px;
  margin: 0 auto;
  max-width: 920px;
}

.az-faq-item,
.faq-item,
.info-faq h3 {
  background: #fff;
  border: 1px solid var(--az-border);
  border-radius: 20px;
  box-shadow: var(--az-shadow-soft);
}

.az-faq-item summary,
.faq-question {
  color: var(--az-text);
  cursor: pointer;
  display: block;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  list-style: none;
  padding: 20px 22px;
  width: 100%;
}

.az-faq-item p,
.faq-answer p {
  color: var(--az-text-soft);
  margin: 0;
  padding: 0 22px 22px;
}

.az-section-final {
  padding-top: 0;
}

.az-final-cta {
  background:
    radial-gradient(circle at 12% 10%, rgba(45, 151, 219, 0.18), transparent 22rem),
    linear-gradient(145deg, #fff, var(--az-bg-2));
  text-align: center;
}

.az-final-cta .az-actions {
  justify-content: center;
}

/* Inner pages and generated content */
.info-main {
  padding-top: 0;
}

.info-hero {
  background:
    radial-gradient(circle at 12% 4%, rgba(45, 151, 219, 0.14), transparent 26rem),
    linear-gradient(180deg, #fff 0%, var(--az-bg) 100%);
  padding: clamp(60px, 8vw, 104px) 0 clamp(44px, 6vw, 68px);
}

.info-hero h1 {
  font-size: clamp(2.75rem, 6vw, 6.2rem);
  margin: 10px 0 0;
  max-width: 1000px;
}

.info-breadcrumb {
  color: var(--az-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.info-breadcrumb a {
  color: var(--az-accent-dark);
  font-weight: 700;
  text-decoration: none;
}

.info-layout,
.info-layout.info-layout-single {
  display: block;
  padding: 0;
}

.info-content {
  min-width: 0;
}

.info-insights,
.info-toc,
.info-section,
.info-cta,
.info-research-notes,
.info-sources,
.info-faq,
.info-related,
.info-listing {
  background: var(--az-surface-glass);
  border: 1px solid var(--az-border);
  border-radius: var(--az-radius-lg);
  box-shadow: var(--az-shadow-soft);
  margin-top: clamp(22px, 4vw, 34px);
  padding: clamp(24px, 4vw, 42px);
}

.info-insights {
  margin-top: 0;
}

.info-section-head {
  margin-bottom: 24px;
}

.info-section-head h2,
.info-section h2,
.info-card h2,
.info-cta h2,
.info-toc h2,
.info-sources h2,
.info-faq h2,
.info-related h2,
.info-listing h2,
.spectrum-head h1,
.spectrum-head h2 {
  color: var(--az-text);
  font-size: clamp(1.65rem, 3vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin: 0 0 14px;
}

.info-section h3,
.info-faq h3 {
  color: var(--az-text);
  font-size: 1.08rem;
  font-weight: 700;
  margin: 24px 0 8px;
}

.info-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.info-mini-card {
  min-height: 220px;
  position: relative;
}

.info-mini-card > span {
  background: var(--az-bg-2);
  border: 1px solid var(--az-border);
  border-radius: 999px;
  color: var(--az-accent-dark);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 16px;
  padding: 7px 10px;
  text-transform: uppercase;
}

.source-card {
  border-left: 5px solid var(--az-accent);
}

.info-pill-list,
.info-link-list,
.info-source-list,
.info-related-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.info-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.info-pill-list li,
.chip {
  align-items: center;
  background: #fff;
  border: 1px solid var(--az-border);
  border-radius: 999px;
  color: var(--az-text-soft);
  display: inline-flex;
  font-size: 0.84rem;
  font-weight: 700;
  gap: 8px;
  padding: 8px 12px;
}

.info-source-list li,
.info-link-list li,
.info-related-list li {
  border-top: 1px solid var(--az-border);
  padding: 14px 0;
}

.info-source-list li:first-child,
.info-link-list li:first-child,
.info-related-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.info-disclaimer {
  background: #fffaf0;
  border: 1px solid rgba(224, 166, 58, 0.35);
  border-radius: 18px;
  color: #4e3b12;
  margin-top: 24px;
  padding: 18px 20px;
}

.info-article-meta {
  color: var(--az-muted);
  font-size: 0.92rem;
  font-weight: 700;
  margin-top: 18px;
}

.info-listing {
  margin: 0;
}

.info-listing-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* Spectrum page from the provided template direction */
.spectrum-shell .info-main > .container {
  max-width: var(--az-container);
}

.evidence-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.dot,
.marker-dot {
  background: var(--evidence-color, var(--az-accent));
  border-radius: 50%;
  display: inline-block;
  height: 10px;
  width: 10px;
}

.strong {
  --evidence-color: var(--strong);
}

.moderate {
  --evidence-color: var(--moderate);
}

.emerging {
  --evidence-color: var(--emerging);
}

.weak {
  --evidence-color: var(--weak);
}

.physical {
  --evidence-color: var(--physical);
}

.cultural {
  --evidence-color: var(--cultural);
}

.spectrum-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--az-border);
  border-radius: var(--az-radius-lg);
  box-shadow: var(--az-shadow-big);
  margin-top: clamp(24px, 5vw, 42px);
  padding: clamp(20px, 4vw, 42px);
  position: relative;
}

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

.spectrum-head p {
  color: var(--az-muted);
  margin: 0;
  max-width: 470px;
  text-align: right;
}

.spectrum-viewport {
  border: 1px solid var(--az-border);
  border-radius: 28px;
  background: linear-gradient(180deg, #fff, var(--az-bg));
  overflow-x: auto;
  overflow-y: visible;
  padding: 34px 20px 22px;
  scrollbar-color: var(--az-accent) var(--az-bg-2);
}

.spectrum-track {
  min-width: 1180px;
  position: relative;
}

.spectrum-line {
  background: linear-gradient(90deg, #85cdf3 0%, #2d97db 25%, #31b46d 45%, #e4b844 58%, #f28a3c 72%, #7e75d8 100%);
  border-radius: 999px;
  box-shadow: 0 8px 28px rgba(45, 151, 219, 0.24);
  height: 40px;
  margin: 132px 12px 112px;
}

.spectrum-marker {
  align-items: center;
  background: #fff;
  border: 1px solid var(--evidence-color);
  border-radius: 999px;
  box-shadow: 0 3px 7px rgba(12, 22, 24, 0.09);
  color: var(--az-text);
  cursor: pointer;
  display: inline-flex;
  font-size: 9px;
  gap: 2px;
  left: 0;
  line-height: 1;
  min-height: 12px;
  padding: 2px 4px;
  position: absolute;
  top: 10px;
  transform: translateX(-50%);
  transition: transform 160ms ease, box-shadow 160ms ease;
  white-space: nowrap;
  z-index: 2;
}

.spectrum-marker:nth-of-type(odd) {
  top: 60px;
}

.spectrum-marker:hover,
.spectrum-marker:focus,
.spectrum-marker.is-selected {
  box-shadow: 0 12px 26px rgba(45, 151, 219, 0.22);
  outline: none;
  transform: translateX(-50%) translateY(-4px);
}

.marker-label {
  font-size: 0.78rem;
  font-weight: 800;
}

.spectrum-tooltip {
  background: #fff;
  border: 1px solid var(--az-border);
  border-radius: 20px;
  box-shadow: 0 16px 46px rgba(12, 22, 24, 0.18);
  max-width: 340px;
  padding: 18px;
  position: absolute;
  z-index: 9999;
}

.spectrum-tooltip[hidden] {
  display: none;
}

.spectrum-tooltip h2,
.spectrum-panel h2 {
  color: var(--az-text);
  font-size: 1.12rem;
  margin: 0 0 6px;
}

.spectrum-tooltip p,
.spectrum-panel p {
  color: var(--az-text-soft);
  font-size: 0.94rem;
  line-height: 1.65;
  margin: 10px 0 0;
}

.spectrum-frequency {
  color: var(--az-muted) !important;
  font-weight: 800;
  margin: 0 0 10px !important;
}

.spectrum-panel {
  background: linear-gradient(145deg, #fff, var(--az-bg-2));
  border: 1px solid var(--az-border);
  border-radius: 24px;
  margin-top: 22px;
  padding: 24px;
}

.formula-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 18px;
}

.formula-card code {
  color: var(--az-accent-dark);
  display: block;
  font-size: 1.04rem;
  font-weight: 800;
  margin-bottom: 10px;
  white-space: normal;
}

/* Footer */
.az-footer {
  background: #fff;
  border-top: 1px solid var(--az-border);
  margin-top: 0;
  padding: clamp(44px, 7vw, 76px) 0 28px;
}

.az-footer-grid {
  display: grid;
  gap: clamp(24px, 4vw, 42px);
  grid-template-columns: 1.25fr repeat(4, minmax(0, 0.75fr));
}

.az-footer-logo {
  align-items: center;
  color: var(--az-text);
  display: inline-flex;
  font-weight: 800;
  gap: 12px;
  text-decoration: none;
}

.az-footer-logo img {
  border-radius: 12px;
}

.az-footer p {
  color: var(--az-muted);
  line-height: 1.7;
  margin: 14px 0 0;
}

.az-footer h2 {
  color: var(--az-text);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.az-footer section > a {
  color: var(--az-muted);
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  margin: 8px 0;
  text-decoration: none;
}

.az-footer section > a:hover,
.az-footer-social a:hover {
  color: var(--az-accent-dark);
}

.az-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.az-footer-bottom {
  border-top: 1px solid var(--az-border);
  margin-top: 34px;
  padding-top: 22px;
}

.az-footer-bottom p {
  font-size: 0.86rem;
}

/* Legacy homepage fallbacks for locale pages still using original markup */
body.az-home-restored .hero,
body.az-home-restored .about,
body.az-home-restored .projects,
body.az-home-restored .album-section,
body.az-home-restored .video-section,
body.az-home-restored .about-music-section,
body.az-home-restored .contact,
body.az-home-restored .faq-section {
  background: transparent;
  padding-block: var(--az-section-y);
}

body.az-home-restored .hero-row,
body.az-home-restored .about-row,
body.az-home-restored .roadmap-grid,
body.az-home-restored .album-grid,
body.az-home-restored .contact-grid,
body.az-home-restored .stats-row {
  gap: clamp(18px, 3vw, 30px);
}

body.az-home-restored .stat-block,
body.az-home-restored .milestone,
body.az-home-restored .road-item,
body.az-home-restored .road-future,
body.az-home-restored .album-item,
body.az-home-restored .contact-card,
body.az-home-restored .video-item,
body.az-home-restored .faq-item {
  background: var(--az-surface-glass) !important;
  border: 1px solid var(--az-border) !important;
  border-radius: var(--az-radius) !important;
  box-shadow: var(--az-shadow-soft) !important;
}

body.az-home-restored .title,
body.az-home-restored .section-title {
  color: var(--az-text);
  font-size: clamp(2rem, 4.5vw, 4.4rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.05;
  margin-bottom: 28px;
}

body.az-home-restored .about-descr,
body.az-home-restored .text,
body.az-home-restored .keywords {
  color: var(--az-text-soft);
  line-height: 1.82;
  max-width: var(--az-readable);
}

/* Responsive */
@media (max-width: 1180px) {
  .az-nav-toggle {
    display: inline-flex;
  }

  .az-nav-list {
    background: #fff;
    border: 1px solid var(--az-border);
    border-radius: 24px;
    box-shadow: var(--az-shadow);
    display: none;
    left: 0;
    padding: 14px;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
  }

  .az-nav-list.is-open {
    display: grid;
    justify-items: stretch;
  }

  .az-nav-list li,
  .az-nav-link,
  .az-lang select {
    width: 100%;
  }

  .az-nav-link {
    justify-content: center;
  }

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

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

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

@media (max-width: 900px) {
  .az-container,
  .container,
  .az-container-wide,
  .container-lg {
    width: min(100% - 36px, var(--az-container));
  }

  .az-hero-panel,
  .az-editorial,
  .az-research-panel,
  .az-language-panel {
    grid-template-columns: 1fr;
  }

  .az-hero-image-wrap {
    min-height: auto;
  }

  .az-hero-orbit {
    position: static;
    margin-top: 16px;
  }

  .az-grid,
  .az-topic-grid,
  .info-card-grid,
  .home-hub-grid,
  .info-listing-grid,
  .az-journey-grid,
  .az-video-grid,
  .az-social-grid {
    grid-template-columns: 1fr;
  }

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

  .spectrum-head {
    display: block;
  }

  .spectrum-head p {
    margin-top: 12px;
    max-width: none;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .az-section,
  .info-main > .container,
  .home-hub-section,
  .contact,
  .about-music-section {
    padding-block: clamp(44px, 12vw, 60px);
  }

  .az-hero-2026 h1,
  .info-hero h1 {
    font-size: clamp(2.45rem, 13vw, 2rem);
  }

  .az-section-head {
    text-align: left;
  }

  .az-section-head p {
    margin-left: 0;
  }

  .az-actions,
  .info-buttons {
    align-items: stretch;
    flex-direction: column;
  }

  .az-button,
  .info-button,
  .btn {
    width: 100%;
  }

  .az-strip-panel {
    border-radius: 28px;
    justify-content: flex-start;
  }

  .az-stat-grid,
  .az-milestone-grid,
  .az-album-grid,
  .az-footer-grid {
    grid-template-columns: 1fr;
  }

  .az-album-card {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .az-album-card img {
    width: 92px;
  }

  .az-research-panel,
  .az-language-panel,
  .az-journey-card,
  .az-wide-note,
  .az-final-cta,
  .info-section,
  .info-insights,
  .info-toc,
  .info-cta,
  .info-research-notes,
  .info-sources,
  .info-faq,
  .info-related,
  .info-listing {
    border-radius: 24px;
  }

  .spectrum-viewport {
    border-radius: 22px;
    margin-left: -2px;
    margin-right: -2px;
    padding-inline: 12px;
  }

  .spectrum-marker {
    min-height: 38px;
    padding: 7px 9px;
  }

  .marker-label {
    font-size: 0.72rem;
  }
}


/* ===== Phase 1 English refinements previously isolated here ===== */
/*
  Avatar Zen Phase 1 English-only redesign layer.
  Loaded only by English pages during controlled review.
  Do not run build-avatarzen-redesign.mjs, repair-locale-homepages.mjs,
  repair-homepage.mjs, or full generate-info-hub.mjs until English is approved.
*/

:root {
  --az-en-page: min(100% - clamp(36px, 7vw, 104px), 1180px);
  --az-en-wide: min(100% - clamp(36px, 5vw, 96px), 1320px);
  --az-en-read: 760px;
}

body.az-2026,
body.info-body {
  background:
    radial-gradient(circle at 8% -6%, rgba(45, 151, 219, 0.16), transparent 28rem),
    radial-gradient(circle at 92% 4%, rgba(126, 117, 216, 0.08), transparent 24rem),
    linear-gradient(180deg, #fff 0%, #f7fbfd 44%, #fff 100%);
}

body.az-2026 .az-container,
body.info-body .container {
  width: var(--az-en-page);
  max-width: 1180px;
}

body.az-2026 .az-hero-panel,
body.info-body .info-hero .container,
body.info-body .info-content > section {
  isolation: isolate;
}

body.az-2026 .az-hero-panel {
  border-radius: clamp(30px, 5vw, 58px);
  padding: clamp(32px, 6vw, 78px);
}

body.az-2026 .az-hero-2026 h1 {
  max-width: 850px;
}

body.az-2026 .az-hero-image-wrap > img {
  transform: rotate(-1.5deg);
}

body.az-2026 .az-stat-card,
body.az-2026 .az-meter-card,
body.az-2026 .az-album-card,
body.az-2026 .az-journey-card,
body.az-2026 .az-topic-card,
body.az-2026 .az-video-card,
body.az-2026 .az-social-card,
body.info-body .info-mini-card,
body.info-body .info-section,
body.info-body .info-cta,
body.info-body .info-toc,
body.info-body .info-research-notes,
body.info-body .info-sources,
body.info-body .info-faq,
body.info-body .info-related,
body.info-body .info-listing {
  backdrop-filter: blur(14px);
}

body.az-2026 .az-album-card {
  align-items: start;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

body.az-2026 .az-album-card:hover {
  border-color: rgba(45, 151, 219, 0.34);
  box-shadow: 0 18px 44px rgba(12, 22, 24, 0.1);
  transform: translateY(-2px);
}

body.az-2026 .az-album-card img {
  box-shadow: 0 12px 24px rgba(12, 22, 24, 0.12);
}

body.az-2026 .az-journey-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
}

body.az-2026 .az-source-list article {
  transition: background 160ms ease, transform 160ms ease;
}

body.az-2026 .az-source-list article:hover {
  background: #f7fbfd;
  transform: translateX(2px);
}

/* English editorial pages */
body.info-body .info-main {
  padding-top: 0;
}

body.info-body .info-hero {
  padding: clamp(64px, 9vw, 118px) 0 clamp(46px, 7vw, 76px);
}

body.info-body .info-hero .container {
  background:
    radial-gradient(circle at 8% 0, rgba(45, 151, 219, 0.18), transparent 26rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(234, 246, 253, 0.82));
  border: 1px solid rgba(45, 151, 219, 0.16);
  border-radius: clamp(28px, 4vw, 48px);
  box-shadow: 0 28px 80px rgba(12, 22, 24, 0.1);
  padding: clamp(28px, 5vw, 62px);
}

body.info-body .info-hero h1 {
  max-width: 940px;
}

body.info-body .info-lede {
  max-width: 780px;
  margin-left: 0;
}

body.info-body .info-pill-list {
  margin-top: 26px;
}

body.info-body .info-layout.info-layout-single {
  max-width: none;
}

body.info-body .info-content {
  display: grid;
  gap: clamp(22px, 4vw, 34px);
}

body.info-body .info-content > section {
  margin-top: 0;
}

body.info-body .info-insights {
  background:
    radial-gradient(circle at 90% 0, rgba(45, 151, 219, 0.12), transparent 20rem),
    rgba(255, 255, 255, 0.92);
}

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

body.info-body .info-mini-card {
  min-height: unset;
  transition: transform 170ms ease, box-shadow 170ms ease;
}

body.info-body .info-mini-card:hover {
  transform: translateY(-2px);
}

body.info-body .info-toc ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

body.info-body .info-toc li {
  margin: 0;
}

body.info-body .info-toc a {
  background: #fff;
  border: 1px solid rgba(45, 151, 219, 0.16);
  border-radius: 999px;
  display: inline-flex;
  padding: 8px 12px;
}

body.info-body .info-section {
  max-width: none;
}

body.info-body .info-section p {
  max-width: var(--az-en-read);
}

body.info-body .info-section p + p {
  margin-top: 14px;
}

body.info-body .info-cta {
  background:
    radial-gradient(circle at 12% 8%, rgba(45, 151, 219, 0.16), transparent 20rem),
    linear-gradient(145deg, #fff, #eaf6fd);
}

body.info-body .info-faq {
  display: grid;
  gap: 12px;
}

body.info-body .info-faq h2 {
  margin-bottom: 8px;
}

body.info-body .info-faq h3 {
  background: #fff;
  border: 1px solid rgba(45, 151, 219, 0.16);
  border-radius: 18px 18px 0 0;
  box-shadow: none;
  margin: 0;
  padding: 18px 20px 10px;
}

body.info-body .info-faq h3 + p {
  background: #fff;
  border: 1px solid rgba(45, 151, 219, 0.16);
  border-top: 0;
  border-radius: 0 0 18px 18px;
  padding: 0 20px 18px;
}

/* English spectrum feature panel */
body.spectrum-shell .info-main > .container {
  width: var(--az-en-page);
  max-width: 1180px;
}

body.spectrum-shell .spectrum-card {
  margin-left: calc((var(--az-en-page) - var(--az-en-wide)) / 2);
  margin-right: calc((var(--az-en-page) - var(--az-en-wide)) / 2);
}

body.spectrum-shell .spectrum-viewport {
  max-width: 100%;
  overflow-x: auto;
}

body.spectrum-shell .spectrum-track {
  min-width: 1240px;
}

body.spectrum-shell .spectrum-line {
  margin-top: 138px;
  margin-bottom: 122px;
}

body.spectrum-shell .spectrum-panel {
  max-width: 860px;
}

/* English footer polish */
body.az-2026 .az-footer,
body.info-body .az-footer {
  background: #fff;
  border-top: 1px solid rgba(45, 151, 219, 0.16);
}

body.az-2026 .az-footer .container,
body.info-body .az-footer .container {
  width: var(--az-en-page);
  max-width: 1180px;
}

@media (max-width: 1080px) {
  body.info-body .info-card-grid,
  body.az-2026 .az-stat-grid,
  body.az-2026 .az-album-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.info-body .info-card-grid,
  body.az-2026 .az-stat-grid,
  body.az-2026 .az-album-grid,
  body.az-2026 .az-milestone-grid {
    grid-template-columns: 1fr;
  }

  body.info-body .info-hero .container {
    border-radius: 28px;
    padding: 26px;
  }

  body.spectrum-shell .spectrum-card {
    margin-left: 0;
    margin-right: 0;
  }

  body.az-2026 .az-hero-panel {
    border-radius: 30px;
  }
}



/* ===== English emergency hard reset: source-of-truth overrides ===== */
body.az-home-page,
body.az-2026,
body.info-body {
  min-width: 0;
  overflow-x: hidden;
}

body.az-2026 .az-container,
body.az-2026 .container,
body.info-body .container,
body.info-body .az-container,
body.info-body .info-page-container {
  width: min(100% - clamp(32px, 6vw, 96px), 1180px) !important;
  max-width: 1180px !important;
  margin-inline: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.az-2026 .az-redesign-header,
body.info-body .az-header {
  backdrop-filter: blur(18px);
}

body.info-body .info-main > .container,
body.info-body .info-page-container {
  padding-block: clamp(58px, 8vw, 96px);
}

body.info-body .info-layout,
body.info-body .info-layout.info-layout-single {
  display: block !important;
  grid-template-columns: none !important;
  gap: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: none !important;
}

body.info-body .info-sidebar {
  display: none !important;
}

body.info-body .info-content {
  display: grid !important;
  gap: clamp(24px, 4vw, 38px) !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  min-width: 0 !important;
}

body.info-body .info-content > section,
body.info-body .info-insights,
body.info-body .info-toc,
body.info-body .info-section,
body.info-body .info-research-notes,
body.info-body .info-cta,
body.info-body .info-faq,
body.info-body .info-sources,
body.info-body .info-related,
body.info-body .info-listing {
  width: 100%;
  max-width: none !important;
  margin-top: 0 !important;
}

body.info-body .info-section,
body.info-body .info-toc,
body.info-body .info-research-notes,
body.info-body .info-sources,
body.info-body .info-related,
body.info-body .info-faq,
body.info-body .info-listing,
body.info-body .info-insights {
  border-radius: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(45, 151, 219, 0.16);
  box-shadow: 0 18px 48px rgba(12, 22, 24, 0.07);
  background: rgba(255, 255, 255, 0.88);
  padding: clamp(24px, 4vw, 42px);
}

body.info-body .info-section h2,
body.info-body .info-research-notes h2,
body.info-body .info-sources h2,
body.info-body .info-related h2,
body.info-body .info-faq h2 {
  max-width: 820px;
}

body.info-body .info-section p,
body.info-body .info-section li,
body.info-body .info-sources p,
body.info-body .info-faq p,
body.info-body .info-related p {
  max-width: 760px;
}

body.info-body .info-card-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(18px, 2.4vw, 28px) !important;
}

body.info-body .source-card {
  border-color: rgba(45, 151, 219, 0.24);
}

body.info-body .info-hero-actions {
  margin-top: 28px;
}

body.az-2026 .az-section-faq {
  background: linear-gradient(180deg, #fff 0%, #f7fbfd 100%);
}

body.az-2026 .az-footer-brand,
body.info-body .az-footer-brand {
  display: grid;
  gap: 14px;
}

body.az-2026 .az-footer-bottom,
body.info-body .az-footer-bottom {
  border-top: 1px solid rgba(45, 151, 219, 0.14);
  margin-top: 32px;
  padding-top: 22px;
}

body.spectrum-shell .spectrum-card {
  max-width: 1280px;
  margin-left: auto !important;
  margin-right: auto !important;
  overflow: visible;
}

body.spectrum-shell .spectrum-viewport {
  overflow-x: auto;
  overflow-y: visible;
  padding: 12px 4px 28px;
  overscroll-behavior-x: contain;
}

body.spectrum-shell .spectrum-track {
  min-width: 1180px;
}

body.spectrum-shell .spectrum-tooltip {
  z-index: 40;
}

body.spectrum-shell .spectrum-panel,
body.spectrum-shell #spectrumInfo {
  max-width: 900px;
}

@media (max-width: 1080px) {
  body.info-body .info-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  body.az-2026 .az-container,
  body.az-2026 .container,
  body.info-body .container,
  body.info-body .az-container,
  body.info-body .info-page-container {
    width: min(100% - 32px, 1180px) !important;
  }

  body.info-body .info-card-grid {
    grid-template-columns: 1fr !important;
  }

  body.info-body .info-main > .container,
  body.info-body .info-page-container {
    padding-block: 44px;
  }

  body.info-body .info-section,
  body.info-body .info-toc,
  body.info-body .info-research-notes,
  body.info-body .info-sources,
  body.info-body .info-related,
  body.info-body .info-faq,
  body.info-body .info-listing,
  body.info-body .info-insights {
    border-radius: 24px;
    padding: 22px;
  }

  body.spectrum-shell .spectrum-track {
    min-width: 960px;
  }
}

/* ===== English homepage rebuilt on the shared hub-page system ===== */
body.az-homepage .az-home-main {
  overflow: hidden;
}

body.az-homepage .az-home-hero {
  background:
    radial-gradient(circle at 18% 8%, rgba(45, 151, 219, 0.12), transparent 28rem),
    linear-gradient(180deg, #fff 0%, #f7fbfd 100%);
}

body.az-homepage .info-hero.az-home-hero {
  padding: clamp(30px, 5vw, 54px) 0 clamp(32px, 5vw, 58px);
}

body.info-body.az-homepage .info-hero.az-home-hero > .container {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

body.az-homepage .az-hero-grid {
  align-items: center;
  background:
    radial-gradient(circle at 12% 6%, rgba(45, 151, 219, 0.2), transparent 28rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(234, 246, 253, 0.78));
  border: 1px solid rgba(45, 151, 219, 0.16);
  border-radius: clamp(30px, 5vw, 56px);
  box-shadow: 0 30px 90px rgba(12, 22, 24, 0.11);
  display: grid;
  gap: clamp(22px, 4vw, 48px);
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.82fr);
  min-height: min(690px, calc(100vh - 132px));
  padding: clamp(24px, 4.5vw, 54px);
}

body.az-homepage .az-hero-copy h1 {
  color: var(--az-text);
  font-size: clamp(2.65rem, 5.9vw, 5.75rem);
  font-weight: 600;
  letter-spacing: -0.058em;
  line-height: 1;
  margin: 8px 0 16px;
  max-width: 820px;
}

body.az-homepage .az-home-hero .az-lede {
  font-size: clamp(0.98rem, 1.25vw, 1.08rem);
  line-height: 1.66;
  margin-top: 0;
  max-width: 720px;
}

body.az-homepage .az-home-hero .az-actions {
  margin-top: 20px;
}

body.az-homepage .az-hero-media {
  align-items: center;
  display: grid;
  justify-items: center;
  position: relative;
}

body.az-homepage .az-hero-media > img {
  aspect-ratio: 1;
  border: 10px solid rgba(255, 255, 255, 0.86);
  border-radius: 42px;
  box-shadow: 0 28px 72px rgba(12, 22, 24, 0.18);
  max-width: min(100%, 392px);
  object-fit: cover;
  transform: rotate(-1.2deg);
}

body.az-homepage .az-hero-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(45, 151, 219, 0.18);
  border-radius: 24px;
  bottom: clamp(10px, 3vw, 30px);
  box-shadow: 0 18px 42px rgba(12, 22, 24, 0.12);
  display: grid;
  gap: 4px;
  max-width: 270px;
  padding: 16px 18px;
  position: absolute;
  right: 0;
}

body.az-homepage .az-hero-card strong {
  color: var(--az-text);
  font-size: 1.05rem;
}

body.az-homepage .az-hero-card span {
  color: var(--az-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

body.az-homepage .az-platform-strip {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(45, 151, 219, 0.16);
  border-radius: 999px;
  box-shadow: 0 16px 42px rgba(12, 22, 24, 0.07);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 14px;
}

body.az-homepage .az-platform-strip span,
body.az-homepage .az-related-grid article > span,
body.az-homepage .az-album-card span {
  color: var(--az-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

body.az-homepage .az-platform-strip a {
  background: #f7fbfd;
  border: 1px solid rgba(45, 151, 219, 0.18);
  border-radius: 999px;
  color: var(--az-text);
  font-weight: 600;
  padding: 10px 15px;
  text-decoration: none;
}

body.az-homepage .info-section-head {
  margin: 0 auto clamp(26px, 5vw, 48px);
  max-width: 840px;
  text-align: center;
}

body.az-homepage .info-section-head h2,
body.az-homepage .az-feature-card h2,
body.az-homepage .az-cta-panel h2 {
  color: var(--az-text);
  font-size: clamp(2.15rem, 4.9vw, 4.7rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.04;
  margin: 8px 0 0;
}

body.az-homepage .info-section-head p,
body.az-homepage .az-feature-card p,
body.az-homepage .az-cta-panel p {
  color: var(--az-text-soft);
  line-height: 1.78;
}

body.az-homepage .info-section-head > p:last-child {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  margin: 18px auto 0;
  max-width: 760px;
}

body.az-homepage .az-stat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.az-homepage .az-meter-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(18px, 3vw, 28px);
}

body.az-homepage .az-meter-grid .az-card {
  display: grid;
  gap: 10px;
}

body.az-homepage .az-meter-grid strong {
  color: var(--az-muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.az-homepage .az-meter-grid span {
  color: var(--az-text);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 700;
}

body.az-homepage .az-feature-card,
body.az-homepage .az-cta-panel {
  background:
    radial-gradient(circle at 12% 8%, rgba(45, 151, 219, 0.13), transparent 24rem),
    rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(45, 151, 219, 0.16);
  border-radius: clamp(26px, 4vw, 42px);
  box-shadow: 0 22px 60px rgba(12, 22, 24, 0.08);
  padding: clamp(26px, 5vw, 54px);
}

body.az-homepage .az-editorial-card,
body.az-homepage .az-research-card,
body.az-homepage .az-language-panel {
  align-items: start;
  display: grid;
  gap: clamp(24px, 4vw, 42px);
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
}

body.az-homepage .az-disclaimer-card {
  background: #fff;
  display: grid;
  gap: 14px;
}

body.az-homepage .az-disclaimer-card img {
  max-height: 150px;
  object-fit: contain;
}

body.az-homepage .az-feature-details {
  margin-top: 18px;
}

body.az-homepage .az-featured-albums,
body.az-homepage .az-related-grid,
body.az-homepage .az-source-grid,
body.az-homepage .az-social-grid,
body.az-homepage .az-video-grid,
body.az-homepage .az-journey-grid {
  display: grid;
  gap: clamp(18px, 2.5vw, 28px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

body.az-homepage .az-source-grid article,
body.az-homepage .az-related-grid article {
  background: #fff;
  border: 1px solid rgba(45, 151, 219, 0.16);
  border-radius: 24px;
  padding: 22px;
}

body.az-homepage .az-source-grid article h3,
body.az-homepage .az-related-grid article h3 {
  margin-top: 8px;
}

body.az-homepage .az-source-grid article a,
body.az-homepage .az-related-grid article a {
  font-weight: 700;
  text-decoration: none;
}

body.az-homepage .az-faq {
  display: grid;
  gap: 14px;
  margin-inline: auto;
  max-width: 920px;
}

body.az-homepage .az-faq .az-faq-item {
  background: #fff;
}

body.az-homepage .az-cta-panel {
  text-align: center;
}

body.az-homepage .az-cta-panel .az-actions {
  justify-content: center;
}

body.az-homepage .az-artwork-strip {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

body.az-homepage .az-artwork-strip figure {
  margin: 0;
  text-align: center;
}

body.az-homepage .az-artwork-strip img {
  border-radius: 20px;
  box-shadow: 0 12px 26px rgba(12, 22, 24, 0.12);
}

body.az-homepage .az-artwork-strip figcaption {
  color: var(--az-muted);
  font-size: 0.86rem;
  margin-top: 8px;
}

body.az-homepage .goToTop {
  bottom: 22px;
  position: fixed;
  right: 22px;
  z-index: 30;
}

body.az-homepage .goToTop a {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(45, 151, 219, 0.18);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(12, 22, 24, 0.12);
  display: inline-flex;
  height: 44px;
  justify-content: center;
  width: 44px;
}

body.az-homepage .goToTop img {
  height: 18px;
  width: 18px;
}

@media (max-width: 1080px) {
  body.az-homepage .az-hero-grid,
  body.az-homepage .az-editorial-card,
  body.az-homepage .az-research-card,
  body.az-homepage .az-language-panel {
    grid-template-columns: 1fr;
  }

  body.az-homepage .az-hero-grid {
    min-height: auto;
  }

  body.az-homepage .az-stat-grid,
  body.az-homepage .az-featured-albums,
  body.az-homepage .az-related-grid,
  body.az-homepage .az-social-grid,
  body.az-homepage .az-video-grid,
  body.az-homepage .az-journey-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.az-homepage .az-meter-grid,
  body.az-homepage .az-source-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  body.az-homepage .info-hero.az-home-hero {
    padding-top: 52px;
  }

  body.az-homepage .az-hero-grid {
    border-radius: 28px;
    min-height: auto;
    padding: 24px;
  }

  body.az-homepage .az-hero-copy h1 {
    font-size: clamp(2.55rem, 15vw, 4.3rem);
  }

  body.az-homepage .az-hero-card {
    margin-top: -22px;
    position: relative;
    right: auto;
  }

  body.az-homepage .az-stat-grid,
  body.az-homepage .az-meter-grid,
  body.az-homepage .az-featured-albums,
  body.az-homepage .az-related-grid,
  body.az-homepage .az-source-grid,
  body.az-homepage .az-social-grid,
  body.az-homepage .az-video-grid,
  body.az-homepage .az-journey-grid {
    grid-template-columns: 1fr;
  }

  body.az-homepage .az-platform-strip {
    border-radius: 24px;
    justify-content: flex-start;
  }
}

/* ===== Phase 1 refinement: denser English rhythm, flags, and spectrum breakout ===== */
body.az-homepage {
  --az-section-y: clamp(48px, 6vw, 78px);
}

body.az-homepage .az-section {
  padding-block: clamp(48px, 6vw, 78px);
}

body.az-homepage .az-section-tight {
  padding-block: clamp(28px, 4vw, 46px);
}

body.az-homepage #research.az-section {
  padding-block: clamp(36px, 5vw, 62px);
}

body.az-homepage .az-research-card {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  padding: clamp(24px, 4vw, 42px);
}

body.az-homepage .az-research-card .az-source-grid {
  gap: 16px;
}

body.az-homepage .az-research-card .az-source-grid article {
  padding: 18px;
}

body.info-body .info-main > .container,
body.info-body .info-page-container {
  padding-block: clamp(44px, 6vw, 74px) !important;
}

body.info-body .info-content {
  gap: clamp(18px, 3vw, 28px) !important;
}

body.info-body .info-section,
body.info-body .info-toc,
body.info-body .info-research-notes,
body.info-body .info-sources,
body.info-body .info-related,
body.info-body .info-faq,
body.info-body .info-listing,
body.info-body .info-insights,
body.info-body .info-cta {
  padding: clamp(22px, 3vw, 34px) !important;
}

body.info-body .info-card-grid,
body.info-body .info-listing-grid {
  gap: clamp(16px, 2.2vw, 24px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr));
}

body.info-body .info-section p,
body.info-body .info-section li,
body.info-body .info-faq p,
body.info-body .info-sources p {
  max-width: 860px;
}

body.info-body .info-toc ul,
body.info-body .info-source-list {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

body.info-body .info-source-list li {
  border-top: 0;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(45, 151, 219, 0.13);
  border-radius: 18px;
  padding: 16px;
}

body.info-body .az-lang select,
body.az-homepage .az-lang select {
  min-width: 132px;
  max-width: 190px;
  padding-inline: 12px 28px;
}

body.spectrum-shell .az-spectrum-fullbleed {
  margin-left: 50%;
  max-width: none;
  transform: translateX(-50%);
  width: min(calc(100vw - clamp(20px, 4vw, 56px)), 1480px);
}

body.spectrum-shell .az-spectrum-fullbleed .spectrum-head {
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.7fr);
}

body.spectrum-shell .az-spectrum-fullbleed .spectrum-viewport {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 22px 10px 30px;
}

body.spectrum-shell .az-spectrum-fullbleed .spectrum-track {
  min-height: 390px;
  min-width: 1180px;
}

body.spectrum-shell .az-spectrum-fullbleed .spectrum-panel {
  margin-top: 10px;
}

@media (max-width: 1080px) {
  body.az-homepage .az-research-card,
  body.spectrum-shell .az-spectrum-fullbleed .spectrum-head {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body.az-homepage .az-section {
    padding-block: 44px;
  }

  body.info-body .info-main > .container,
  body.info-body .info-page-container {
    padding-block: 38px !important;
  }

  body.info-body .info-section,
  body.info-body .info-toc,
  body.info-body .info-research-notes,
  body.info-body .info-sources,
  body.info-body .info-related,
  body.info-body .info-faq,
  body.info-body .info-listing,
  body.info-body .info-insights,
  body.info-body .info-cta {
    padding: 20px !important;
  }

  body.spectrum-shell .az-spectrum-fullbleed {
    width: min(calc(100vw - 20px), 1480px);
  }
}

/* ===== Focused English refinement: compact heroes, resource grids, centered spectrum ===== */
body.info-body,
body.az-homepage {
  overflow-x: clip;
}

@supports not (overflow: clip) {
  body.info-body,
  body.az-homepage {
    overflow-x: hidden;
  }
}

body.info-body .info-hero {
  padding: clamp(28px, 4vw, 54px) 0 clamp(22px, 3vw, 40px) !important;
}

body.info-body .info-hero .container {
  padding: clamp(24px, 3.4vw, 42px) !important;
}

body.info-body .info-hero h1 {
  font-size: clamp(2.45rem, 5.4vw, 5.25rem) !important;
  line-height: 0.98 !important;
}

body.info-body .info-lede {
  margin-top: 14px !important;
}

body.info-body .info-pill-list {
  margin-top: 18px !important;
}

body.info-body .info-buttons,
body.info-body .info-hero-actions {
  margin-top: 20px !important;
}

body.az-homepage .info-hero.az-home-hero {
  padding: clamp(22px, 3.6vw, 42px) 0 clamp(28px, 4vw, 48px) !important;
}

body.az-homepage .az-hero-grid {
  gap: clamp(24px, 4vw, 48px) !important;
  min-height: auto !important;
  padding: clamp(24px, 4vw, 52px) !important;
}


body.az-homepage .az-hero-media > img {
  max-width: min(100%, 390px) !important;
}

body.az-homepage .az-journey-grid-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

body.az-homepage .az-journey-grid-compact .az-journey-card {
  min-height: 0;
}

body.info-body .info-page-container {
  padding-block: clamp(34px, 5vw, 58px) !important;
}

body.info-body .info-content {
  display: grid !important;
  gap: clamp(16px, 2.4vw, 24px) !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

body.info-body .info-content > .info-insights,
body.info-body .info-content > .info-toc,
body.info-body .info-content > .info-section,
body.info-body .info-content > .info-disclaimer,
body.info-body .info-content > .info-research-notes,
body.info-body .info-content > .info-listing {
  grid-column: 1 / -1;
}

body.info-body .info-content > .info-cta,
body.info-body .info-content > .info-faq,
body.info-body .info-content > .info-sources,
body.info-body .info-content > .info-related {
  align-self: stretch;
  grid-column: auto;
}

body.info-body .info-section,
body.info-body .info-toc,
body.info-body .info-research-notes,
body.info-body .info-sources,
body.info-body .info-related,
body.info-body .info-faq,
body.info-body .info-listing,
body.info-body .info-insights,
body.info-body .info-cta {
  padding: clamp(20px, 2.6vw, 30px) !important;
}

body.info-body .info-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

body.info-body .info-cta h2,
body.info-body .info-faq h2,
body.info-body .info-sources h2,
body.info-body .info-related h2 {
  font-size: clamp(1.45rem, 2.4vw, 2.1rem) !important;
}

body.info-body .info-cta p,
body.info-body .info-faq p,
body.info-body .info-sources p,
body.info-body .info-related p {
  font-size: 0.95rem !important;
  line-height: 1.65 !important;
}

body.info-body .info-sources .info-source-list,
body.info-body .info-related .info-card-grid {
  grid-template-columns: 1fr !important;
}

body.info-body .info-related .info-section-head {
  margin-bottom: 16px;
}

body.info-body .info-related .info-mini-card,
body.info-body .info-sources .info-source-list li {
  padding: 15px !important;
}

body.info-body .info-research-notes .info-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)) !important;
}

body.spectrum-shell .info-hero {
  padding-bottom: clamp(18px, 3vw, 30px) !important;
}

body.spectrum-shell .az-spectrum-feature {
  background:
    radial-gradient(circle at 10% 10%, rgba(45, 151, 219, 0.12), transparent 26rem),
    linear-gradient(180deg, var(--az-bg) 0%, #fff 100%);
  overflow: hidden;
  padding: clamp(18px, 3vw, 34px) 0 clamp(26px, 4vw, 50px);
}

body.spectrum-shell .az-spectrum-stage {
  margin-inline: auto;
  width: min(calc(100% - clamp(24px, 5vw, 72px)), 1480px);
}

body.spectrum-shell .az-spectrum-fullbleed {
  margin: 0 auto !important;
  max-width: 100% !important;
  padding: clamp(22px, 3vw, 36px) !important;
  transform: none !important;
  width: 100% !important;
}

body.spectrum-shell .az-spectrum-fullbleed .spectrum-head {
  display: grid !important;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.62fr);
}

body.spectrum-shell .az-spectrum-legend {
  margin: 18px 0 14px;
}

body.spectrum-shell .az-spectrum-fullbleed .spectrum-viewport {
  margin-inline: auto;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  padding: 18px 14px 26px !important;
  scroll-padding-inline: 20px;
}

body.spectrum-shell .az-spectrum-fullbleed .spectrum-track {
  margin-inline: auto;
  min-height: 390px;
  min-width: 1240px;
}

body.spectrum-shell .az-spectrum-fullbleed .spectrum-line {
  margin-top: 138px;
  margin-bottom: 118px;
}

body.spectrum-shell .az-spectrum-fullbleed .spectrum-panel {
  margin: 12px auto 0;
  max-width: 900px;
}

body.spectrum-shell .info-page-container {
  padding-top: clamp(28px, 4vw, 48px) !important;
}

@media (min-width: 1360px) {
  body.spectrum-shell .az-spectrum-fullbleed .spectrum-track {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 1080px) {
  body.az-homepage .az-journey-grid-compact,
  body.info-body .info-content {
    grid-template-columns: 1fr !important;
  }

  body.spectrum-shell .az-spectrum-fullbleed .spectrum-head {
    grid-template-columns: 1fr !important;
  }

  body.spectrum-shell .az-spectrum-fullbleed .spectrum-track {
    min-width: 1040px;
  }
}

@media (max-width: 760px) {
  body.info-body .info-hero {
    padding: 22px 0 26px !important;
  }

  body.info-body .info-hero .container {
    padding: 22px !important;
  }

  body.az-homepage .az-hero-grid {
    padding: 22px !important;
  }

  body.az-homepage .az-hero-media > img {
    max-width: min(100%, 320px) !important;
  }

  body.spectrum-shell .az-spectrum-stage {
    width: min(calc(100% - 20px), 1480px);
  }

  body.spectrum-shell .az-spectrum-fullbleed {
    border-radius: 24px !important;
    padding: 18px !important;
  }

  body.spectrum-shell .az-spectrum-fullbleed .spectrum-track {
    min-width: 940px;
  }
}

/* ===== White-page final polish: no page-level gradients, compact utilities ===== */
html,
body,
body.info-body,
body.az-homepage,
body.az-2026 {
  background: #fff !important;
  background-image: none !important;
}

body.info-body .info-main,
body.az-homepage main,
body.az-2026 main {
  background: #fff !important;
  background-image: none !important;
}

body.info-body .info-hero,
body.az-homepage .az-home-hero,
body.az-homepage .info-hero.az-home-hero,
body.az-homepage .az-section-soft,
body.az-homepage .az-section.alt,
body.az-homepage .home-hub-section,
body.info-body .az-section-soft,
body.info-body .az-section.alt,
body.info-body .home-hub-section,
body.spectrum-shell .az-spectrum-feature {
  background: #fff !important;
  background-image: none !important;
}

body.info-body .info-hero {
  padding: clamp(22px, 3.2vw, 42px) 0 clamp(18px, 2.8vw, 32px) !important;
}

body.info-body .info-hero .container {
  background:
    radial-gradient(circle at 8% 0, rgba(45, 151, 219, 0.11), transparent 22rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(244, 251, 254, 0.9)) !important;
}

body.az-homepage .info-hero.az-home-hero {
  padding: clamp(18px, 3vw, 34px) 0 clamp(22px, 3.4vw, 40px) !important;
}

body.az-homepage .az-hero-grid {
  padding: clamp(22px, 3.4vw, 42px) !important;
}

body.az-homepage .az-hero-copy h1 {
  font-size: clamp(2.45rem, .2vw, 5.1rem) !important;
}

body.info-body .az-lang select,
body.info-body .az-lang option,
body.az-homepage .az-lang select,
body.az-homepage .az-lang option {
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", "Segoe UI", Poppins, sans-serif !important;
}

html[dir="rtl"] body {
  direction: rtl;
}

html[dir="rtl"] .spectrum-track,
html[dir="rtl"] .spectrum-viewport,
html[dir="rtl"] .spectrum-line {
  direction: ltr;
}

body.info-body .az-lang select,
body.az-homepage .az-lang select {
  min-width: 152px;
}

body.info-body .info-content > .info-faq:first-child {
  grid-column: 1 / -1 !important;
  padding: clamp(22px, 3vw, 34px) !important;
}

body.info-body .info-content > .info-faq:first-child .az-faq-item {
  max-width: none;
}

body.info-body .info-content > .info-faq:first-child + .info-cta {
  grid-column: 1 / -1 !important;
  padding: clamp(20px, 2.8vw, 30px) !important;
}

body.info-body .info-content > .info-sources,
body.info-body .info-content > .info-related {
  background: #fff !important;
  border-radius: 22px !important;
  box-shadow: 0 14px 36px rgba(12, 22, 24, 0.06) !important;
  padding: clamp(18px, 2.2vw, 24px) !important;
}

body.info-body .info-content > .info-sources h2,
body.info-body .info-content > .info-related h2 {
  font-size: clamp(1.2rem, 1.8vw, 1.55rem) !important;
  margin-bottom: 12px !important;
}

body.info-body .info-content > .info-related .info-section-head {
  margin-bottom: 12px !important;
  text-align: left;
}

body.info-body .info-content > .info-related .info-section-head p {
  margin-inline: 0 !important;
}

body.info-body .info-content > .info-sources .info-source-list,
body.info-body .info-content > .info-related .info-card-grid {
  display: grid !important;
  gap: 10px !important;
  grid-template-columns: 1fr !important;
}

body.info-body .info-content > .info-sources .info-source-list li,
body.info-body .info-content > .info-related .info-mini-card {
  background: #f9fcfe !important;
  border: 1px solid rgba(45, 151, 219, 0.12) !important;
  border-radius: 14px !important;
  padding: 12px 13px !important;
}

body.info-body .info-content > .info-sources p,
body.info-body .info-content > .info-related p {
  font-size: 0.88rem !important;
  line-height: 1.52 !important;
  margin-top: 5px !important;
}

body.info-body .info-content > .info-related h3,
body.info-body .info-content > .info-sources a {
  font-size: 0.94rem !important;
}

body.spectrum-shell .az-spectrum-feature {
  padding: clamp(14px, 2.4vw, 28px) 0 clamp(18px, 3vw, 34px) !important;
}

body.spectrum-shell .az-spectrum-stage {
  width: min(calc(100% - clamp(20px, 4vw, 56px)), 1500px) !important;
}

body.spectrum-shell .info-page-container {
  padding-top: clamp(26px, 4vw, 46px) !important;
}

/* Frequency map precision pass */
body.spectrum-shell .az-spectrum-fullbleed {
  padding: clamp(18px, 2.4vw, 28px) !important;
}

body.spectrum-shell .az-spectrum-legend {
  margin: 14px 0 12px !important;
}

body.spectrum-shell .az-spectrum-fullbleed .spectrum-viewport {
  padding: 14px 14px 16px !important;
}

body.spectrum-shell .az-spectrum-fullbleed .spectrum-track {
  display: block;
  margin-inline: auto;
  min-height: 128px !important;
  min-width: 1240px;
  position: relative;
}

body.spectrum-shell .az-spectrum-fullbleed .spectrum-line {
  height: 38px;
  left: 26px;
  margin: 0 !important;
  position: absolute;
  right: 26px;
  top: 46px;
}

body.spectrum-shell .az-spectrum-fullbleed .spectrum-marker {
  font-size: 0.76rem;
  min-height: 24px;
  padding: 4px 8px;
  top: 96px;
}

body.spectrum-shell .az-spectrum-fullbleed .spectrum-marker:nth-of-type(odd) {
  top: 14px;
}

body.spectrum-shell .az-spectrum-fullbleed .spectrum-marker:hover,
body.spectrum-shell .az-spectrum-fullbleed .spectrum-marker:focus,
body.spectrum-shell .az-spectrum-fullbleed .spectrum-marker.is-selected {
  transform: translateX(-50%) translateY(-2px);
}

body.spectrum-shell .az-spectrum-fullbleed .spectrum-panel {
  margin-top: 12px !important;
}

body.spectrum-shell .info-page-container {
  padding-top: clamp(22px, 3vw, 36px) !important;
}

/* FAQ page card grid */
body.faq-page .info-content > .az-faq-grid-section {
  display: block;
  grid-column: 1 / -1 !important;
  padding: clamp(22px, 3vw, 34px) !important;
}

body.faq-page .az-faq-grid-head {
  margin-bottom: 18px;
  max-width: 860px;
}

body.faq-page .az-faq-grid-head h2 {
  margin: 0 0 8px;
}

body.faq-page .az-faq-grid-head p {
  color: var(--az-text-soft);
  font-size: 1rem !important;
  line-height: 1.65 !important;
  margin: 0;
  max-width: 760px;
}

body.faq-page .az-faq-card-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.faq-page .az-faq-card {
  background: #fff;
  border: 1px solid rgba(45, 151, 219, 0.16);
  border-radius: 22px;
  box-shadow: 0 14px 38px rgba(12, 22, 24, 0.06);
  padding: 20px;
}

body.faq-page .az-faq-card > span {
  align-items: center;
  background: rgba(45, 151, 219, 0.1);
  border: 1px solid rgba(45, 151, 219, 0.18);
  border-radius: 999px;
  color: var(--az-accent-dark);
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 800;
  height: 32px;
  justify-content: center;
  margin-bottom: 14px;
  width: 42px;
}

body.faq-page .az-faq-card h3 {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--az-text);
  font-size: 1.04rem;
  line-height: 1.28;
  margin: 0 0 10px;
  padding: 0 !important;
}

body.faq-page .az-faq-card p {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: var(--az-text-soft);
  font-size: 0.94rem !important;
  line-height: 1.62 !important;
  margin: 0;
  max-width: none !important;
  padding: 0 !important;
}

body.faq-page .az-faq-card a {
  color: var(--az-accent-dark);
  font-weight: 700;
  text-decoration: none;
}

body.faq-page .az-faq-card a:hover {
  text-decoration: underline;
}

@media (max-width: 1120px) {
  body.faq-page .az-faq-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  body.faq-page .az-faq-card-grid {
    grid-template-columns: 1fr;
  }

  body.faq-page .az-faq-card {
    padding: 18px;
  }
}

@media (max-width: 1080px) {
  body.info-body .az-lang select,
  body.az-homepage .az-lang select {
    min-width: 144px;
  }
}

@media (max-width: 760px) {
  body.info-body .info-hero .container {
    padding: 20px !important;
  }

  body.info-body .az-lang select,
  body.az-homepage .az-lang select {
    min-width: min(100%, 152px);
  }
}
