:root {
  --navy: #12344b;
  --navy-deep: #0f2537;
  --navy-light: #183e58;
  --blue: #2c6b8a;
  --blue-soft: #edf4f8;
  --signal: #ff6b00;
  --signal-hover: #e55e00;
  --orange: #ff6b00;
  --paper: #f8f9fa;
  --white: #ffffff;
  --ink: #111827;
  --ink-secondary: #374151;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-dark: rgba(255, 255, 255, 0.15);
  --danger: #dc2626;
  --success: #16a34a;
  --shell: 1240px;
  --gutter: clamp(16px, 3.5vw, 40px);
  --display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --utility: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --speda: Speda, sans-serif;
  --kufi: Speda, sans-serif;
  --radius-sm: 4px;
  --radius-md: 6px;
  --shadow-sm: 0 1px 3px rgba(15, 37, 55, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 37, 55, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 37, 55, 0.12);
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --site-header-height: 73px;
}

:root[lang="ku"],
html[lang="ku"],
html[dir="rtl"],
[dir="rtl"] {
  --display: Speda, sans-serif !important;
  --body: Speda, sans-serif !important;
  --utility: Speda, sans-serif !important;
  --speda: Speda, sans-serif !important;
  --kufi: Speda, sans-serif !important;
}

@font-face {
  font-family: 'Speda';
  src: url('/assets/fonts/Speda.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Speda';
  src: url('/assets/fonts/Speda.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Speda';
  src: url('/assets/fonts/Speda.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html[lang="ku"] body,
html[lang="ku"] button,
html[lang="ku"] input,
html[lang="ku"] textarea,
[dir="rtl"] body {
  font-family: var(--speda) !important;
}

body.is-locked {
  overflow: hidden;
}

button, input, textarea {
  font: inherit;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.ui-icon {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
}

button {
  color: inherit;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--signal);
  color: var(--navy-deep);
}

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

.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;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  inset-block-start: 10px;
  inset-inline-start: 10px;
  transform: translateY(-160%);
  padding: 10px 16px;
  background: var(--signal);
  color: var(--navy-deep);
  font-weight: 800;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-fast);
}

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

.site-shell {
  width: min(var(--shell), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.eyebrow {
  margin: 0;
  font-family: var(--utility);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow--yellow {
  color: var(--signal);
}

.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
  animation: pulse 1.8s infinite;
}

.pulse-dot--dark {
  background: var(--navy-deep);
  box-shadow: none;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(220, 38, 38, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

/* ==================================================
   HEADER & UTILITY BAR
   ================================================== */
.site-header {
  position: sticky;
  z-index: 100;
  inset-block-start: 0;
  background: var(--white);
  box-shadow: 0 1px 2px rgba(15, 37, 55, 0.05);
  border-block-end: 1px solid var(--line);
}

.utility-bar {
  color: var(--white);
  background: var(--navy-deep);
  border-block-end: 1px solid var(--line-dark);
}

.utility-bar__inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.utility-date, .utility-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
}

.utility-date {
  color: #cbd5e1;
  font-family: var(--utility);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.utility-label {
  padding-inline-end: 14px;
  color: var(--signal);
  border-inline-end: 1px solid var(--line-dark);
  font-weight: 800;
}

.live-chip, .language-switch {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.live-chip {
  font-size: 0.72rem;
  color: #f1f5f9;
  font-weight: 600;
}

.live-chip strong {
  color: var(--signal);
  font-family: var(--utility);
  font-size: 0.7rem;
  font-weight: 700;
}

.language-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 9999px;
  padding: 2px;
  cursor: pointer;
  user-select: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.language-switch:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.35);
}

.lang-option {
  position: relative;
  z-index: 2;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  border-radius: 9999px;
  transition: all 0.25s ease;
  line-height: 1.2;
}

html[lang="en"] .lang-option--en,
html[lang="ku"] .lang-option--ku {
  color: #0f2537;
  background: #ff6b00;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

/* Brand Bar */
.brand-bar {
  background: var(--white);
}

.brand-bar__inner {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
}

.brand-bar__left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  text-decoration: none;
}

.site-brand__text {
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  font-weight: 800;
  color: var(--navy-deep);
  letter-spacing: -0.02em;
  white-space: nowrap;
  line-height: 1;
  text-decoration: none;
}

html[lang="ku"] .site-brand__text,
:root[lang="ku"] .site-brand__text {
  font-family: var(--font-speda);
  font-weight: 700;
  letter-spacing: 0;
}

.site-brand__mark {
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  border-radius: 6px !important;
  overflow: hidden;
  background: transparent;
}

.site-brand__mark img {
  width: 60px;
  height: 60px;
  object-fit: contain !important;
  border-radius: 6px !important;
  display: block;
}

.site-brand__name {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.site-brand__name strong {
  color: var(--navy-deep);
  font-family: var(--display);
  font-size: 1.85rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.site-brand__name small {
  margin-block-start: 4px;
  color: var(--muted);
  font-family: var(--utility);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.primary-nav {
  min-width: 0;
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: 4px;
}

.primary-nav a {
  position: relative;
  display: flex;
  align-items: center;
  padding-inline: clamp(10px, 1.25vw, 20px);
  color: #334155;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 10px;
  inset-block-end: 0;
  height: 3px;
  transform: scaleX(0);
  transform-origin: center;
  background: var(--signal);
  transition: transform var(--transition-fast);
}

.primary-nav a:hover,
.primary-nav a.is-active {
  color: var(--navy-deep);
}

.primary-nav a:hover::after,
.primary-nav a.is-active::after {
  transform: scaleX(1);
}

/* Nav Dropdown */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: stretch;
}

.nav-dropdown__toggle {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding-inline: clamp(10px, 1.25vw, 20px);
  color: #334155;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.nav-dropdown__toggle::after {
  content: "";
  position: absolute;
  inset-inline: 10px;
  inset-block-end: 0;
  height: 3px;
  transform: scaleX(0);
  transform-origin: center;
  background: var(--signal);
  transition: transform var(--transition-fast);
}

.nav-dropdown:hover .nav-dropdown__toggle,
.nav-dropdown__toggle.is-active {
  color: var(--navy-deep);
}

.nav-dropdown:hover .nav-dropdown__toggle::after,
.nav-dropdown__toggle.is-active::after {
  transform: scaleX(1);
}

.nav-dropdown__toggle svg,
.nav-dropdown__toggle .public-icon {
  width: 14px;
  height: 14px;
  transition: transform 0.25s ease;
}

.nav-dropdown:hover .nav-dropdown__toggle svg,
.nav-dropdown:hover .nav-dropdown__toggle .public-icon {
  transform: rotate(180deg);
}

.nav-dropdown__menu {
  position: absolute;
  top: 100%;
  inset-inline-start: 0;
  min-width: 170px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(15, 37, 55, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 200;
  padding: 6px 0;
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown__menu a {
  display: block;
  padding: 8px 16px;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-dropdown__menu a:hover {
  background-color: var(--blue-soft);
  color: var(--signal);
}

.header-navbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-dropdown {
  position: relative;
  display: inline-block;
}

.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 36px;
  padding: 6px 8px;
  background: transparent;
  border: 0;
  border-radius: var(--radius-sm);
  color: var(--navy-deep);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-switch-btn:hover,
.lang-dropdown.is-open .lang-switch-btn {
  background: rgba(15, 37, 55, 0.06);
  color: var(--signal);
}

.lang-chevron {
  transition: transform 0.2s ease;
}

.lang-dropdown.is-open .lang-chevron {
  transform: rotate(180deg);
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline-end: 0;
  min-width: 140px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(15, 37, 55, 0.12);
  z-index: 500;
  padding: 4px;
}

.lang-dropdown-menu[hidden] {
  display: none !important;
}

.lang-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-deep);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.15s ease;
}

.lang-dropdown-item:hover,
.lang-dropdown-item.is-active {
  background: var(--blue-soft);
  color: var(--signal);
}

.search-button, .icon-button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.search-button {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--navy-deep);
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--paper);
  transition: all var(--transition-fast);
}

.search-button:hover {
  background: var(--white);
  border-color: var(--navy);
}

.search-button kbd {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--white);
  color: var(--muted);
  font: 0.65rem var(--utility);
}

.icon-button.menu-button {
  display: none;
}

@media (max-width: 960px) {
  .icon-button.menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    color: var(--navy-deep);
    border: 0;
    background: transparent;
  }
}

/* Signal / Latest News Ticker Rail */
.signal-rail {
  background: var(--signal);
  color: var(--navy-deep);
  border-block-start: 1px solid rgba(15, 37, 55, 0.1);
}

.signal-rail__inner {
  min-height: 36px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
}

.signal-rail__label {
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-inline-end: 16px;
  border-inline-end: 1px solid rgba(15, 37, 55, 0.15);
  font: 800 0.68rem var(--utility);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.signal-rail__viewport {
  overflow: hidden;
}

.signal-rail__track {
  display: flex;
  min-width: max-content;
  align-items: center;
  gap: 32px;
  padding-inline: 18px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.signal-rail__track a {
  position: relative;
  color: var(--navy-deep);
}

.signal-rail__track a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.signal-rail__track a + a::before {
  content: "•";
  position: absolute;
  inset-inline-start: -18px;
  opacity: 0.5;
}

.signal-rail__all {
  min-height: 36px;
  min-width: 38px;
  display: grid;
  place-items: center;
  border-inline-start: 1px solid rgba(15, 37, 55, 0.15);
  font-size: 1rem;
  color: var(--navy-deep);
}

.signal-rail__all:hover {
  background: var(--signal-hover);
}

/* Overlays (Mobile Drawer & Search Modal) */
.icon-button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
}

.icon-button--light {
  color: var(--white);
}

.mobile-drawer, .search-overlay {
  position: fixed;
  z-index: 300;
  inset: 0;
}

.mobile-drawer__scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: rgba(15, 37, 55, 0.65);
  backdrop-filter: blur(4px);
}

.mobile-drawer__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: auto;
  width: min(360px, 85vw);
  padding: 20px;
  overflow-y: auto;
  background: var(--navy-deep);
  color: var(--white);
  box-shadow: var(--shadow-lg);
  animation: drawer-in-ltr 0.25s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes drawer-in-ltr {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

:root[lang="ku"] .mobile-drawer__panel,
html[lang="ku"] .mobile-drawer__panel,
html[dir="rtl"] .mobile-drawer__panel,
[dir="rtl"] .mobile-drawer__panel {
  left: auto !important;
  right: 0 !important;
  animation-name: drawer-in-rtl !important;
}

@keyframes drawer-in-rtl {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.mobile-drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block-end: 18px;
  border-block-end: 1px solid var(--line-dark);
}

.mobile-drawer__top strong {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 800;
  text-transform: uppercase;
}

.mobile-drawer nav {
  display: flex;
  flex-direction: column;
  padding-block: 16px;
}

.mobile-drawer nav a {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: baseline;
  padding: 12px 4px;
  border-block-end: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-drawer nav a span {
  color: var(--signal);
  font: 0.65rem var(--utility);
}

.mobile-drawer nav a strong {
  font: 800 1.25rem var(--display);
  text-transform: uppercase;
}

.mobile-drawer nav a.is-active strong {
  color: var(--signal);
}

.mobile-drawer__radio {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-block-start: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 0.82rem;
}

.mobile-drawer__radio strong {
  margin-inline-start: auto;
  color: var(--signal);
  font-family: var(--utility);
}

.search-overlay {
  background: rgba(15, 37, 55, 0.8);
  backdrop-filter: blur(6px);
}

.search-overlay__panel {
  padding-block: clamp(24px, 5vh, 60px);
  background: var(--navy-deep);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.search-overlay__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-block-end: 16px;
}

.search-form {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding-block: 10px;
  border-block: 1px solid var(--line-dark);
}

.search-form input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(1.4rem, 3.5vw, 3rem);
  font-weight: 700;
}

.search-form input::placeholder {
  color: #64748b;
}

.search-form button {
  min-height: 42px;
  padding-inline: 22px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--signal);
  color: var(--navy-deep);
  font-weight: 800;
  cursor: pointer;
}

.search-form button:hover {
  background: var(--signal-hover);
}

.search-results {
  max-height: 50vh;
  overflow-y: auto;
  margin-block-start: 20px;
}

.search-hint {
  color: #94a3b8;
  font-size: 0.9rem;
}

.search-result {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  gap: 16px;
  padding-block: 12px;
  border-block-end: 1px solid var(--line-dark);
}

.search-result img, .search-result__placeholder {
  width: 70px;
  height: 48px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--navy);
}

.search-result strong {
  display: block;
  line-height: 1.3;
  font-size: 0.95rem;
}

.search-result small {
  color: #94a3b8;
}

.search-result__type {
  color: var(--signal) !important;
  font-family: var(--utility);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.search-page__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  max-width: 820px;
  margin-block: 28px 18px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.search-page__form input {
  min-width: 0;
  min-height: 46px;
  padding-inline: 14px;
  border: 0;
  outline: 0;
  color: var(--navy-deep);
  background: transparent;
  font: 700 clamp(1rem, 2vw, 1.25rem) var(--display);
}

.search-page__form:focus-within {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(18, 52, 75, 0.1);
}

.search-page__form button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-inline: 24px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--signal);
  color: var(--navy-deep);
  cursor: pointer;
  font-weight: 850;
}

.search-page__results {
  max-width: 920px;
  min-height: 160px;
  padding: 4px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.search-page__results .search-result {
  border-block-end-color: var(--line);
  color: var(--navy-deep);
}

.search-page__results .search-result:last-child {
  border-block-end: 0;
}

.search-page__results .search-result:hover strong {
  color: var(--blue);
}

.search-page__results .search-hint {
  margin-block: 24px;
  color: var(--muted);
}

/* ==================================================
   SHARED LAYOUT SYSTEM
   ================================================== */
#main-content {
  min-height: 60vh;
}

.page {
  padding-block: clamp(28px, 4vw, 56px) clamp(60px, 8vw, 100px);
}

.page--flush {
  padding-block-start: 0;
}

.page-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  padding-block-end: 20px;
  border-block-end: 2px solid var(--navy-deep);
}

.page-header h1,
.section-head h2,
.listing-feature h2,
.article-header h1,
.radio-hero h1,
.denmark-hero h1 {
  font-family: var(--display);
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.page-header h1 {
  margin: 6px 0 4px;
  color: var(--navy-deep);
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 0.96;
}

.page-header p {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.page-count {
  align-self: center;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  font: 700 0.68rem var(--utility);
  text-transform: uppercase;
  color: var(--muted);
}

.section {
  margin-block-start: clamp(36px, 5.5vw, 64px);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-block-end: 20px;
  padding-block-end: 10px;
  border-block-end: 2px solid var(--navy-deep);
}

.section-head h2 {
  margin: 0;
  color: var(--navy-deep);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1;
}

.section-head a {
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.section-head a:hover {
  color: var(--orange);
}

.category-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  font: 800 0.65rem var(--utility);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.category-tag::before {
  content: "";
  width: 12px;
  height: 3px;
  background: var(--signal);
  border-radius: 1px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  color: var(--muted);
  font: 600 0.68rem var(--utility);
  text-transform: uppercase;
}

.meta-row span + span {
  position: relative;
}

.meta-row span + span::before {
  content: "•";
  position: absolute;
  inset-inline-start: -8px;
  opacity: 0.6;
}

.empty-state {
  grid-column: 1 / -1;
  min-height: 136px;
  display: grid;
  place-items: center;
  padding: 24px;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius-md);
  background: var(--white);
  text-align: center;
}

.empty-state__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-inline: auto;
  background: var(--signal);
  color: var(--navy-deep);
  border-radius: var(--radius-sm);
}

.empty-state__icon .ui-icon {
  width: 20px;
  height: 20px;
}

.empty-state h2 {
  margin: 12px 0 4px;
  font-family: var(--display);
  font-size: 1.1rem;
  text-transform: uppercase;
  color: var(--navy-deep);
}

.empty-state p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.retry-wrap {
  margin-block-start: 16px;
  text-align: center;
}

.loading-state {
  min-height: 55vh;
  padding-block: 40px;
}

.skeleton {
  position: relative;
  overflow: hidden;
  background: #e2e8f0;
  border-radius: var(--radius-sm);
}

.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  animation: shimmer 1.3s infinite;
}

@keyframes shimmer {
  to { transform: translateX(100%); }
}

.loading-hero {
  height: min(45vw, 420px);
}

.loading-lines {
  width: 70%;
  display: grid;
  gap: 12px;
  margin-block-start: 24px;
}

.loading-lines span {
  height: 18px;
}

/* ==================================================
   EDITORIAL NEWS CARDS SYSTEM
   ================================================== */
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 20px;
}

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

.story-grid--count-1 {
  grid-template-columns: minmax(0, 720px);
}

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

.story-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.story-grid--count-1 .story-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1fr);
}

.story-grid--count-1 .story-card__media {
  min-height: 220px;
  aspect-ratio: auto;
}

.story-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.story-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  display: block;
  overflow: hidden;
  background: var(--blue-soft);
}

.story-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.story-card:hover .story-card__media img {
  transform: scale(1.04);
}

.story-card__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: var(--navy-deep);
  color: var(--signal);
}

.media-placeholder__icon {
  width: clamp(28px, 5vw, 52px);
  height: clamp(28px, 5vw, 52px);
  color: var(--signal);
}

.media-placeholder--hero,
.hero-story > .story-card__placeholder {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    var(--navy-deep);
  background-size: 32px 32px;
}

.media-placeholder--rail,
.rail-story__placeholder {
  width: 68px;
  height: 60px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--navy);
  border-radius: var(--radius-sm);
}

.media-placeholder--rail .media-placeholder__icon {
  width: 24px;
  height: 24px;
  color: var(--navy);
}

.media-placeholder--listing,
.media-placeholder--article {
  width: 100%;
  min-height: 320px;
  display: grid;
  place-items: center;
  background: var(--navy-deep);
}

.media-placeholder--article {
  aspect-ratio: 16 / 9;
  min-height: 0;
}

.media-placeholder--search {
  width: 70px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
}

.media-placeholder--search .media-placeholder__icon {
  width: 20px;
  height: 20px;
  color: var(--navy);
}

.story-card__badge {
  position: absolute;
  inset-inline-start: 10px;
  inset-block-end: 10px;
  padding: 4px 8px;
  background: var(--signal);
  color: var(--navy-deep);
  font: 800 0.6rem var(--utility);
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.story-card__copy {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 16px;
}

.story-card h2, .story-card h3 {
  margin: 6px 0 8px;
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--navy-deep);
}

.story-card h2 a:hover, .story-card h3 a:hover {
  color: var(--blue);
}

.story-card__summary {
  display: -webkit-box;
  margin: 0 0 12px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.story-card .meta-row {
  margin-block-start: auto;
  padding-block-start: 10px;
  border-block-start: 1px solid #f1f5f9;
}

/* Compact Card Variant */
.story-card--compact {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.story-card--compact:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.story-card--compact .story-card__media {
  aspect-ratio: 1.2;
  border-radius: var(--radius-sm);
}

.story-card--compact .story-card__copy {
  padding: 0;
}

.story-card--compact h3 {
  margin: 4px 0 6px;
  font-size: 0.95rem;
  line-height: 1.2;
}

.story-card--compact .story-card__summary,
.story-card--compact .category-tag::before {
  display: none;
}

.story-card--compact .category-tag {
  font-size: 0.58rem;
}

.story-card--compact .meta-row {
  border-block-start: 0;
  padding-block-start: 0;
}

/* ==================================================
   HOMEPAGE NEWSROOM LAYOUT
   ================================================== */
.home-hero {
  padding-block: clamp(18px, 2.5vw, 30px);
  background: var(--paper);
  border-block-end: 1px solid var(--line);
}

.home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.65fr);
  gap: clamp(16px, 2vw, 24px);
  min-height: 0;
}

.home-hero__grid--solo {
  grid-template-columns: 1fr;
}

.hero-story {
  position: relative;
  min-height: clamp(340px, 34vw, 460px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.hero-story > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: transform 0.6s ease;
}

.hero-story:hover > img {
  transform: scale(1.025);
}

.hero-story::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(15, 37, 55, 0.3) 45%, rgba(15, 37, 55, 0.95) 100%);
}

.hero-story__content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding: clamp(24px, 4vw, 48px);
}

.hero-story .category-tag {
  color: var(--signal);
}

.hero-story h1, .hero-story__title {
  margin: 8px 0 12px;
  width: 100% !important;
  max-width: 100% !important;
  font-size: clamp(1.45rem, 2.7vw, 2.3rem);
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -0.015em;
  color: var(--white);
  text-wrap: normal !important;
  word-break: normal;
  white-space: normal !important;
}

.hero-story h1 a {
  color: var(--white);
}

.hero-story h1 a:hover {
  color: var(--signal);
}

.hero-story p {
  max-width: 680px;
  margin: 0 0 12px;
  color: #e2e8f0;
  font-size: clamp(0.92rem, 1.2vw, 1.05rem);
  line-height: 1.5;
}

/* Desk Briefing Right Rail */
.home-rail {
  min-width: 0;
  padding: 20px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.home-rail__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block-end: 12px;
  border-block-end: 2px solid var(--navy-deep);
  margin-block-end: 8px;
}

.home-rail__head h2 {
  margin: 0;
  font: 850 1.05rem var(--display);
  text-transform: uppercase;
  color: var(--navy-deep);
  letter-spacing: -0.01em;
}

.home-rail__head span {
  color: var(--orange);
  font: 800 0.62rem var(--utility);
  letter-spacing: 0.05em;
}

.rail-story {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 12px;
  padding-block: 12px;
  border-block-end: 1px solid var(--line);
  transition: background var(--transition-fast);
}

.rail-story:last-child {
  border-block-end: 0;
}

.rail-story img, .rail-story__placeholder {
  width: 68px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--blue-soft);
}

.rail-story h3 {
  margin: 2px 0 4px;
  font-family: var(--display);
  font-size: 0.92rem;
  line-height: 1.25;
  font-weight: 700;
  color: var(--navy-deep);
}

.rail-story h3 a:hover {
  color: var(--blue);
}

.rail-story .meta-row {
  color: var(--muted);
}

/* 24H Trending Strip */
.trending-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.trend-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 16px 18px;
  border-inline-end: 1px solid var(--line);
  transition: background var(--transition-fast);
}

.trend-item:hover {
  background: #f8fafc;
}

.trend-item:last-child {
  border-inline-end: 0;
}

.trend-item__number {
  color: var(--navy-deep);
  font: 900 1.6rem var(--display);
  line-height: 1;
  opacity: 0.35;
}

.trend-item:hover .trend-item__number {
  color: var(--orange);
  opacity: 1;
}

.trend-item h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 0.92rem;
  line-height: 1.3;
  font-weight: 700;
  color: var(--navy-deep);
}

.trend-item h3 a:hover {
  color: var(--blue);
}

/* Media / Podcasts Band */
.media-band {
  padding-block: clamp(36px, 6vw, 64px);
  background: var(--navy-deep);
  color: var(--white);
  margin-block-start: clamp(36px, 6vw, 64px);
}

.media-band .section-head {
  border-color: var(--signal);
}

.media-band .section-head h2 {
  color: var(--white);
}

.media-band .section-head a {
  color: var(--signal);
}

.media-band .story-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.media-band .story-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--signal);
}

.media-band .story-card h2,
.media-band .story-card h3 {
  color: var(--white);
}

.media-band .story-card__summary,
.media-band .meta-row {
  color: #94a3b8;
}

.media-band .story-card .meta-row {
  border-block-start-color: rgba(255, 255, 255, 0.1);
}

/* ==================================================
   LISTING PAGES (NEWS, ANALYSIS, PODCASTS, DEBATES)
   ================================================== */
.listing-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.8fr);
  min-height: 320px;
  margin-block: 24px 40px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.listing-feature__media {
  min-height: 320px;
  overflow: hidden;
  background: var(--navy-deep);
}

.listing-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.listing-feature:hover .listing-feature__media img {
  transform: scale(1.03);
}

.listing-feature__copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(24px, 3.5vw, 40px);
}

.listing-feature h2 {
  margin: 8px 0 12px;
  font-size: clamp(1.65rem, 2.7vw, 2.35rem);
  line-height: 1.05;
  color: var(--navy-deep);
}

.listing-feature p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-block-start: 44px;
}

.pagination button {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy-deep);
  cursor: pointer;
  font: 700 0.78rem var(--utility);
  transition: all var(--transition-fast);
}

.pagination button:hover:not(:disabled) {
  border-color: var(--navy);
  background: var(--paper);
}

.pagination button[aria-current="page"] {
  border-color: var(--navy-deep);
  background: var(--navy-deep);
  color: var(--white);
}

.pagination button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.pagination .ui-icon {
  width: 17px;
  height: 17px;
}

html[dir="rtl"] .pagination .ui-icon {
  transform: rotate(180deg);
}

/* ==================================================
   ARTICLE & CONTENT DETAIL PAGES
   ================================================== */
.article {
  padding-block: clamp(32px, 5vw, 64px) 80px;
}

.article-header {
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
}

.article-header h1 {
  margin: 12px 0;
  color: var(--navy-deep);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 900;
}

.article-dek {
  max-width: 100%;
  margin: 0 0 1.25em;
  color: var(--ink);
  font-size: inherit;
  line-height: inherit;
  font-weight: normal;
}

.article-header .meta-row {
  justify-content: flex-start;
}

.article-hero {
  max-width: 1040px;
  margin: 0 auto 24px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.article-hero img, .article-hero iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  object-fit: cover;
  background: var(--navy-deep);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
  margin-block-start: 28px;
}

.article-body {
  min-width: 0;
  color: var(--ink);
  font-size: clamp(1.02rem, 1.3vw, 1.15rem);
  line-height: 1.75;
}

html[lang="ku"] .article-body {
  font-family: Speda, sans-serif !important;
}

.article-body p {
  margin: 0 0 1.25em;
  word-wrap: break-word;
  text-wrap: pretty;
}

.article-body p:first-of-type::first-letter {
  float: none;
  margin: 0;
  color: inherit;
  font: inherit;
}

html[dir="rtl"] .article-body p:first-of-type::first-letter {
  margin: 0;
}

.article-facts {
  margin: 0 0 28px;
  padding: 20px;
  border-inline-start: 4px solid var(--signal);
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--line);
  border-inline-start: 4px solid var(--signal);
  font-family: var(--body);
  font-size: 0.92rem;
}

.article-facts strong {
  display: block;
  margin-block-end: 6px;
  color: var(--navy-deep);
  font-family: var(--utility);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.article-aside {
  align-self: start;
  padding-block-start: 2px;
}

/* ==================================================
   POST DETAIL REDESIGN & SIDEBAR WIDGETS
   ================================================== */
.article-redesign .article-aside {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.detail-sidebar-widget {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.widget-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--signal);
  font: 800 1.05rem var(--display);
  text-transform: uppercase;
  color: var(--navy-deep);
}

.popular-widget__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.popular-widget__item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  align-items: start;
  text-decoration: none;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.popular-widget__item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.popular-widget__rank {
  color: var(--signal);
  font: 900 1.4rem/1 var(--display);
}

.popular-widget__copy h4 {
  margin: 0 0 4px;
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--navy-deep);
  transition: color 0.15s ease;
}

.popular-widget__item:hover .popular-widget__copy h4 {
  color: var(--signal);
}

.popular-widget__meta {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
}

.radio-widget {
  background: var(--navy-deep);
  color: var(--white);
  border-color: var(--navy-deep);
}

.radio-widget__header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--signal);
  font: 800 0.95rem var(--display);
}

.radio-widget__sub {
  margin: 4px 0 12px;
  font-size: 0.8rem;
  color: #94a3b8;
}

.radio-widget__schedule {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
}

.radio-widget__show {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
}

.radio-widget__show time {
  color: var(--signal);
  font-weight: 800;
  font-family: var(--utility);
}

.radio-widget__show span {
  color: #e2e8f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.radio-widget__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 8px 12px;
  background: var(--signal);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease;
}

.radio-widget__btn:hover {
  background: var(--signal-hover);
}

.article-bottom-sections {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.detail-bottom-section .story-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.story-grid--auto-height {
  align-items: start !important;
}

.story-grid--auto-height .story-card {
  height: auto !important;
  flex-grow: 0 !important;
  align-self: start !important;
}

@media (max-width: 992px) {
  .detail-bottom-section .story-grid--three {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

.article-aside > h2 {
  margin: 0 0 14px;
  padding-block-end: 8px;
  border-block-end: 2px solid var(--navy-deep);
  font: 800 1.15rem var(--display);
  text-transform: uppercase;
  color: var(--navy-deep);
}

.article-author {
  max-width: 680px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 40px auto 0;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.article-author__mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--navy-deep);
  color: var(--signal);
  font: 900 1.2rem var(--display);
  border-radius: var(--radius-sm);
}

.article-author strong, .article-author span {
  display: block;
}

.article-author strong {
  color: var(--navy-deep);
  font-size: 0.95rem;
}

.article-author span {
  color: var(--muted);
  font-size: 0.78rem;
}

/* ==================================================
   RADIO PAGE & LIVE SCHEDULE
   ================================================== */
.radio-page {
  padding-block-start: 0;
}

.radio-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(38px, 5vw, 64px);
  background: var(--navy-deep);
  color: var(--white);
}

.radio-hero::after {
  content: "89.5";
  position: absolute;
  inset-inline-end: -2vw;
  inset-block-end: -8vw;
  color: rgba(255, 255, 255, 0.03);
  font: 900 clamp(12rem, 30vw, 30rem)/1 var(--display);
  pointer-events: none;
}

.radio-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
}

.radio-hero h1 {
  margin: 10px 0 6px;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--white);
}

.radio-hero p {
  max-width: 500px;
  margin: 20px 0 0;
  color: #cbd5e1;
  font-size: 1.05rem;
}

.radio-frequency {
  width: clamp(148px, 17vw, 190px);
  height: clamp(148px, 17vw, 190px);
  display: grid;
  place-items: center;
  border: 3px solid var(--signal);
  border-radius: 50%;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 0 30px rgba(255, 214, 0, 0.15);
}

.radio-frequency strong {
  display: block;
  color: var(--signal);
  font: 900 clamp(2.6rem, 6vw, 5rem)/0.85 var(--display);
}

.radio-frequency small {
  font: 0.72rem var(--utility);
  letter-spacing: 0.18em;
  color: var(--white);
}

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

.schedule-item {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  min-height: 88px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.schedule-item__time {
  direction: ltr;
  unicode-bidi: isolate;
  font: 800 1.1rem var(--utility);
  color: var(--navy-deep);
}

.schedule-item h2 {
  margin: 2px 0 4px;
  font: 800 1.2rem var(--display);
  text-transform: uppercase;
  color: var(--navy-deep);
}

.schedule-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.schedule-status {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font: 800 0.65rem var(--utility);
  text-transform: uppercase;
  color: var(--muted);
  background: var(--paper);
}

.schedule-item--live {
  border-color: var(--signal);
  background: #fffbeb;
  box-shadow: var(--shadow-sm);
}

.schedule-item--live .schedule-status {
  border-color: var(--danger);
  background: var(--danger);
  color: var(--white);
}

.schedule-item--completed {
  opacity: 0.65;
}

/* ==================================================
   DENMARK SERVICE HUB
   ================================================== */
.denmark-page {
  padding-block-start: 0;
}

.denmark-hero {
  padding-block: clamp(34px, 4.5vw, 52px);
  background: var(--blue-soft);
  border-block-end: 1px solid var(--line);
}

.denmark-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.48fr);
  align-items: center;
  gap: 40px;
}

.denmark-hero h1 {
  margin: 8px 0 12px;
  color: var(--navy-deep);
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  line-height: 0.94;
}

.denmark-hero p {
  max-width: 600px;
  margin: 0;
  color: #334155;
  font-size: 1.05rem;
}

.denmark-hero__note {
  padding: 20px 24px;
  border-inline-start: 4px solid var(--signal);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  border-inline-start: 4px solid var(--signal);
}

.denmark-hero__note strong {
  display: block;
  color: var(--navy-deep);
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
}

.denmark-hero__note span {
  color: var(--muted);
  font-size: 0.85rem;
}

.hub-tabs-wrap {
  position: relative;
  background: var(--white);
  border-block-end: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.hub-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.hub-tabs::-webkit-scrollbar {
  display: none;
}

.hub-tabs button {
  min-height: 50px;
  flex: 0 0 auto;
  padding-inline: 16px;
  border: 0;
  border-block-end: 3px solid transparent;
  background: transparent;
  cursor: pointer;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.hub-tabs button:hover {
  color: var(--navy-deep);
}

.hub-tabs button[aria-selected="true"] {
  border-color: var(--signal);
  color: var(--navy-deep);
  font-weight: 800;
}

.hub-panel {
  padding-block: 36px 80px;
}

.hub-panel__intro {
  max-width: 720px;
  margin-block-end: 28px;
}

.hub-panel__intro h2 {
  margin: 0 0 8px;
  font: 850 clamp(1.8rem, 3.5vw, 2.8rem)/1 var(--display);
  text-transform: uppercase;
  color: var(--navy-deep);
}

.hub-panel__intro p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.about-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.35fr);
  gap: 40px;
}

.about-copy {
  color: #334155;
  font-size: 1.02rem;
  line-height: 1.75;
  white-space: pre-line;
}

.about-stamp {
  align-self: start;
  padding: 24px;
  background: var(--navy-deep);
  color: var(--white);
  border-radius: var(--radius-md);
}

.about-stamp strong {
  display: block;
  color: var(--signal);
  font: 900 2.5rem var(--display);
}

.about-stamp span {
  font-size: 0.8rem;
  color: #cbd5e1;
}

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

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border: 0;
  background: transparent;
  text-align: start;
  cursor: pointer;
}

.faq-item button span:first-child {
  color: var(--navy);
  font: 800 0.9rem var(--utility);
}

.faq-item button strong {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--navy-deep);
}

.faq-item button span:last-child {
  font-size: 1.4rem;
  transition: transform var(--transition-fast);
  color: var(--muted);
}

.faq-item button[aria-expanded="true"] span:last-child {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 20px 20px 68px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
  white-space: pre-line;
}

.resource-groups {
  display: grid;
  gap: 20px;
}

.resource-group {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.resource-group__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: #f8fafc;
  border-block-end: 1px solid var(--line);
}

.resource-group__head h3 {
  margin: 0;
  font: 800 1.25rem var(--display);
  text-transform: uppercase;
  color: var(--navy-deep);
}

.resource-group__head p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.resource-group__head span {
  color: var(--navy);
  font: 700 0.72rem var(--utility);
}

.resource-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  padding: 16px 20px;
  border-block-end: 1px solid var(--line);
}

.resource-item:last-child {
  border-block-end: 0;
}

.resource-item h4 {
  margin: 0 0 4px;
  font: 800 1rem var(--display);
  text-transform: uppercase;
  color: var(--navy-deep);
}

.resource-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  white-space: pre-line;
}

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

.resource-actions a, .resource-actions button {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding-inline: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--navy-deep);
  transition: all var(--transition-fast);
}

.resource-actions a:hover, .resource-actions button:hover {
  border-color: var(--navy-deep);
  background: var(--navy-deep);
  color: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.4fr);
  gap: 40px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  background: var(--white);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.form-field {
  display: grid;
  gap: 6px;
}

.form-field--wide {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--navy-deep);
  font-size: 0.78rem;
  font-weight: 800;
}

.form-field input, .form-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font-size: 0.9rem;
  transition: border-color var(--transition-fast);
}

.form-field input:focus, .form-field textarea:focus {
  outline: 0;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(18, 52, 75, 0.1);
}

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

.form-field [aria-invalid="true"] {
  border-color: var(--danger);
}

.field-error {
  min-height: 1em;
  color: var(--danger);
  font-size: 0.72rem;
}

.primary-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 24px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--navy-deep);
  color: var(--white);
  cursor: pointer;
  font-weight: 800;
  font-size: 0.88rem;
  transition: background var(--transition-fast);
}

.primary-button:hover {
  background: var(--navy-light);
}

.primary-button:disabled {
  opacity: 0.55;
  cursor: wait;
}

.contact-note {
  align-self: start;
  padding: 24px;
  background: var(--signal);
  color: var(--navy-deep);
  border-radius: var(--radius-md);
}

.contact-note h3 {
  margin: 0 0 8px;
  font: 850 1.35rem var(--display);
  text-transform: uppercase;
}

.contact-note p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ==================================================
   FOOTER
   ================================================== */
.site-footer {
  background: var(--navy-deep);
  color: var(--white);
}

.site-footer__lead {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  padding-block: clamp(32px, 4.5vw, 52px);
  border-block-end: 1px solid var(--line-dark);
}

.site-footer__lead h2 {
  margin: 6px 0 0;
  font-family: var(--display);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 700;
  line-height: 1.4;
  text-transform: none;
  color: var(--white);
  opacity: 0.95;
}

.footer-radio {
  min-width: 200px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--signal);
  color: var(--navy-deep);
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.footer-radio:hover {
  background: var(--signal-hover);
}

.footer-radio strong {
  font-family: var(--utility);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  padding-block: 44px;
}

.site-brand--footer .site-brand__mark {
  padding: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.site-brand--footer .site-brand__mark img {
  width: auto;
  max-width: 100%;
  height: 110px;
  max-height: 110px;
  object-fit: contain !important;
  border-radius: 6px !important;
  display: block;
}




.site-brand--footer .site-brand__name strong {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
}

.footer-brand p {
  max-width: 320px;
  color: #94a3b8;
  font-size: 0.85rem;
  line-height: 1.55;
}

.site-footer__grid h3 {
  margin: 0 0 14px;
  color: var(--signal);
  font: 800 0.68rem var(--utility);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer__grid nav {
  display: grid;
  gap: 8px;
}

.site-footer__grid nav a {
  color: #cbd5e1;
  font-size: 0.85rem;
}

.site-footer__grid nav a:hover {
  color: var(--signal);
}

.site-footer__bottom {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-block-start: 1px solid var(--line-dark);
  color: #64748b;
  font: 700 0.65rem var(--utility);
  text-transform: uppercase;
}

.site-toast {
  position: fixed;
  z-index: 500;
  inset-inline-end: var(--gutter);
  inset-block-end: var(--gutter);
  max-width: 360px;
  padding: 12px 16px;
  background: var(--navy-deep);
  color: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  font-size: 0.85rem;
}

.site-toast.is-success {
  border-inline-start: 4px solid var(--success);
}

.site-toast.is-error {
  border-inline-start: 4px solid var(--danger);
}

/* ==================================================
   RESPONSIVE BREAKPOINTS
   ================================================== */
@media (max-width: 1080px) {
  .primary-nav a { padding-inline: 8px; font-size: 0.8rem; }
  .site-brand__name small, .search-button span, .search-button kbd { display: none; }
  .search-button { border: 0; padding: 0 6px; background: transparent; }
  .home-hero__grid { grid-template-columns: minmax(0, 1.3fr) minmax(270px, 0.7fr); }
  .article-layout { grid-template-columns: 80px minmax(0, 620px); }
  .article-aside { grid-column: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-block-start: 20px; }
  .article-aside > h2 { grid-column: 1 / -1; }
  .story-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .site-header { position: relative; }
  .brand-bar__inner {
    min-height: 64px;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    width: 100% !important;
  }
  .brand-bar__left {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex-shrink: 0 !important;
  }
  .header-navbar-actions {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-shrink: 0 !important;
    margin-inline-start: auto !important;
  }
  .icon-button.menu-button { display: grid; }
  .primary-nav { display: none !important; }
  .signal-rail__track { animation: ticker 24s linear infinite; }
  @keyframes ticker { to { transform: translateX(-50%); } }
  html[dir="rtl"] .signal-rail__track { animation-name: ticker-rtl; }
  @keyframes ticker-rtl { to { transform: translateX(50%); } }
  .home-hero__grid, .listing-feature, .denmark-hero__grid, .radio-hero__grid, .about-panel, .contact-layout { grid-template-columns: 1fr; }
  .hero-story { min-height: 360px; border-inline-end: 0; border-block-end: 1px solid var(--line); }
  .home-rail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .home-rail__head { grid-column: 1 / -1; }
  .trending-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trend-item:nth-child(2) { border-inline-end: 0; }
  .trend-item:nth-child(-n+2) { border-block-end: 1px solid var(--line); }
  .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .listing-feature__media { min-height: 300px; }
  .article-layout { grid-template-columns: minmax(0, 680px); }
  .article-actions { position: static; display: flex; flex-wrap: wrap; }
  .article-actions p { flex-basis: 100%; }
  .article-aside { grid-column: 1; }
  .radio-frequency { justify-self: start; width: 160px; height: 160px; }
  .site-footer__grid { grid-template-columns: 2fr repeat(2, 1fr); }
  .site-footer__grid > :last-child { grid-column: 2 / -1; }
}

@media (max-width: 600px) {
  :root { --gutter: 14px; }
  .utility-date span:not(.utility-label), .live-chip span:not(.pulse-dot) { display: none; }
  .utility-actions { gap: 8px; }
  .site-brand__mark { width: 38px; height: 38px; }
  .site-brand__mark img { width: 38px; height: 38px; }
  .site-brand__name strong { font-size: 1.5rem; }
  .site-brand__name small { font-size: 0.45rem; }
  .signal-rail__label { padding-inline-end: 10px; }
  .signal-rail__track { padding-inline: 12px; }
  .page-header { grid-template-columns: 1fr; gap: 12px; }
  .page-count { justify-self: start; }
  .home-hero__grid { display: block; }
  .hero-story { min-height: 310px; }
  .hero-story__content { padding: 20px 16px; }
  .hero-story h1 { font-size: clamp(2rem, 9vw, 3.2rem); }
  .home-rail { display: block; padding: 16px; }
  .rail-story { grid-template-columns: 70px 1fr; }
  .rail-story img, .rail-story__placeholder, .media-placeholder--rail { width: 70px; height: 58px; }
  .trending-strip { display: block; }
  .trend-item { border-inline-end: 0; border-block-end: 1px solid var(--line); }
  .story-grid, .story-grid--four { grid-template-columns: 1fr; gap: 20px; }
  .story-grid--count-1 .story-card { display: flex; }
  .story-grid--count-1 .story-card__media { min-height: 0; aspect-ratio: 16 / 10; }
  .story-card h2, .story-card h3 { font-size: 1.35rem; }
  .listing-feature { display: block; margin-block-end: 28px; }
  .listing-feature__media { min-height: 240px; }
  .listing-feature__copy { padding: 20px 16px; }
  .article { padding-block-start: 0 !important; }
  .article-header { text-align: start; margin-block-start: 0 !important; padding-block-start: 0 !important; }
  .article-header .meta-row { justify-content: flex-start; }
  .article-hero { width: calc(100% + (var(--gutter) * 2)) !important; margin-inline: calc(var(--gutter) * -1) !important; margin-block-start: 0 !important; margin-block-end: 20px !important; border-radius: 0 !important; box-shadow: none !important; }
  .article-layout { margin-block-start: 20px; }
  .article-body { font-size: 1rem; }
  .article-aside { display: block; }
  .article-author { align-items: flex-start; }
  .schedule-item { grid-template-columns: 1fr auto; gap: 6px 12px; }
  .schedule-item__time { grid-column: 1 / -1; }
  .denmark-hero__note { display: none; }
  .hub-tabs { width: calc(100% + (var(--gutter) * 2)); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .resource-item { grid-template-columns: 1fr; }
  .resource-actions { flex-wrap: wrap; }
  .contact-form { grid-template-columns: 1fr; }
  .form-field--wide { grid-column: 1; }
  .site-footer__lead, .site-footer__grid { grid-template-columns: 1fr; }
  .footer-radio { min-width: 0; }
  .site-footer__grid > :last-child { grid-column: auto; }
  .site-footer__bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 12px; }
  .search-form { grid-template-columns: auto minmax(0, 1fr); }
  .search-form button { grid-column: 1 / -1; }
  .search-page__form { grid-template-columns: 1fr; padding: 8px; }
  .search-page__form button { width: 100%; }
  .search-page__results { padding-inline: 14px; }
  .search-result { grid-template-columns: 56px 1fr; }
  .search-result img, .search-result__placeholder { width: 56px; height: 44px; }
  .search-result__type { display: none; }
}

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

@media print {
  .site-header, .site-footer, .article-actions, .article-aside, .site-toast { display: none !important; }
  body { background: #fff; }
  .article { padding: 0; }
  .article-layout { display: block; }
  .article-body { max-width: none; }
}

/* ==================================================
   POST DETAIL LAYOUT & HERO CARD OVERHAUL
   ================================================== */
.article-detail-title {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--navy-deep);
  margin: 12px 0 14px 0;
}

.article-author-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
  padding-block: 4px;
}

.article-author-name {
  color: var(--navy-deep);
  font-weight: 700;
}

.article-actions-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding-top: 14px;
  border-block-start: 1px solid var(--line);
}

.article-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 9999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--navy-deep);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.article-action-btn:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: var(--white);
  transform: translateY(-1px);
}

.hero-story__title {
  font-size: clamp(1.4rem, 2.5vw, 2.2rem) !important;
  line-height: 1.25 !important;
  max-width: 100% !important;
  text-wrap: pretty;
}

.hero-story__excerpt {
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
  max-width: 100% !important;
  color: #e2e8f0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-radio-section {
  background: var(--blue-soft);
  padding-block: 32px;
  border-radius: var(--radius-md);
  margin-block: 24px;
}

.schedule-list--compact {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

/* Global Smooth Transitions */
a, button, input, select, textarea, .story-card, .schedule-item, .resource-item, .faq-item, .nav-dropdown__menu {
  transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1),
              background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.story-card:hover {
  transform: translateY(-2px);
}

/* Single-Click Instant Language Switcher Button */
.header-navbar-actions {
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 12px;
}

.search-button--icon-only {
  width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  border: none !important;
  color: var(--navy-deep);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-button--icon-only:hover {
  background: rgba(18, 52, 75, 0.08);
  color: var(--orange);
  border: none !important;
}

.header-search-svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  transition: transform 0.2s ease;
}

.search-button--icon-only:hover .header-search-svg {
  transform: scale(1.1);
}

.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--navy-deep);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-switch-btn:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.lang-switch-btn .lang-globe-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.mobile-drawer__lang {
  margin-block-end: 16px;
  padding-block-end: 16px;
  border-block-end: 1px solid rgba(255, 255, 255, 0.15);
}

.lang-switch-btn--drawer {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
  width: 100%;
  justify-content: center;
}

.lang-switch-btn--drawer:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--signal);
}

.utility-bar, .utility-bar__inner, .utility-actions, .brand-bar, .brand-bar__inner, .header-navbar-actions {
  overflow: visible !important;
}

/* Premium Language Selector Dropdown */
.lang-dropdown {
  position: relative;
  display: inline-block;
  z-index: 350;
}

.lang-dropdown__toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 6px 12px;
  color: var(--navy-deep);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  min-height: 38px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-dropdown__toggle:hover {
  background: var(--white);
  border-color: var(--navy-deep);
  box-shadow: var(--shadow-sm);
}

.lang-dropdown.is-open .lang-dropdown__toggle {
  background: var(--white);
  border-color: var(--signal);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
}

.lang-globe-icon {
  width: 14px;
  height: 14px;
  opacity: 0.75;
  color: currentColor;
  flex-shrink: 0;
}

.lang-dropdown__toggle svg:last-child,
.lang-dropdown__toggle .public-icon {
  width: 12px;
  height: 12px;
  transition: transform 0.25s ease;
  pointer-events: none;
  opacity: 0.7;
}

.lang-dropdown.is-open .lang-dropdown__toggle svg:last-child,
.lang-dropdown.is-open .lang-dropdown__toggle .public-icon,
.lang-dropdown__toggle[aria-expanded="true"] svg:last-child {
  transform: rotate(180deg);
  opacity: 1;
}

.lang-dropdown__menu {
  display: none !important;
  position: absolute;
  top: calc(100% + 6px);
  inset-inline-end: 0;
  min-width: 165px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 28px rgba(15, 37, 55, 0.18);
  z-index: 9999 !important;
  padding: 6px 0;
  overflow: hidden;
}

.lang-dropdown.is-open .lang-dropdown__menu {
  display: block !important;
  animation: dropdown-fade-in 0.2s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes dropdown-fade-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.lang-dropdown__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 9px 14px;
  background: transparent;
  border: 0;
  color: var(--navy-deep);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.lang-dropdown__item:hover {
  background: var(--blue-soft);
  color: var(--signal);
}

.lang-dropdown__item.is-active {
  background: rgba(255, 107, 0, 0.08);
  color: var(--signal);
  font-weight: 800;
}

.lang-dropdown__item svg {
  color: var(--signal);
}

/* RTL Arrow Icon Flip */
html[dir="rtl"] .section-head a svg,
html[dir="rtl"] .section-head a .public-icon,
html[dir="rtl"] .signal-rail__all svg,
html[dir="rtl"] .signal-rail__all .public-icon {
  transform: scaleX(-1);
}

/* RTL Mobile Drawer (Slide from Right) */
html[dir="rtl"] .mobile-drawer__panel {
  inset-inline-start: auto !important;
  inset-inline-end: 0 !important;
  transform: translateX(100%);
}

html[dir="rtl"] .mobile-drawer:not([hidden]) .mobile-drawer__panel {
  transform: translateX(0);
}

/* Desktop Detail Page Layout Grid Fix */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
  margin-block-start: 28px;
}

.article-main {
  min-width: 0;
}

@media (max-width: 992px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ABSOLUTE KURDISH FONT ENFORCEMENT - SPEDA ONLY */
html[lang="ku"],
html[lang="ku"] body,
html[lang="ku"] *,
html[dir="rtl"],
html[dir="rtl"] body,
html[dir="rtl"] *,
[dir="rtl"],
[dir="rtl"] * {
  font-family: Speda, sans-serif !important;
}




/* DISABLE ALL DROPCAP / FIRST-LETTER STYLING ON POST DETAIL PARAGRAPHS */
.article-body p::first-letter,
.article-body p:first-of-type::first-letter,
.nr-article__body p::first-letter,
.nr-article__body > p:first-child::first-letter {
  float: none !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  margin: 0 !important;
  padding: 0 !important;
  color: inherit !important;
  font-family: inherit !important;
}

/* Accessibility & High-Contrast WCAG AA Compliance */
.eyebrow--orange {
  color: #c2410c !important; /* 4.6:1 WCAG AA contrast ratio */
}

.text-slate-400,
.text-slate-500 {
  color: #475569 !important; /* 7:1 WCAG AAA contrast ratio on light backgrounds */
}

:focus-visible {
  outline: 2px solid #0f2537 !important;
  outline-offset: 2px !important;
}



