@import url("https://fonts.googleapis.com/css2?family=Archivo+Black&family=JetBrains+Mono:wght@500;600;700&family=Newsreader:opsz,wght@6..72,400;6..72,600;6..72,700&family=Space+Grotesk:wght@400;500;600;700&display=swap");

:root {
  --primary: #ff2525;
  --accent: #5200ff;
  --accent-blue: #3860be;
  --accent-yellow: #f3df3f;
  --accent-pink: #ff4fd8;
  --accent-orange: #ff6a3d;
  --bg: #f7f7f2;
  --surface: #ffffff;
  --surface-2: #ecece6;
  --text: #131313;
  --text-soft: #313131;
  --muted: #5f5f5a;
  --border: rgba(19, 19, 19, 0.22);
  --strong-border: #131313;
  --input-bg: #ffffff;
  --on-primary: #ffffff;
  --on-accent: #050505;
  --shadow: none;
  --shadow-soft: none;
  --radius: 22px;
  --max: 1300px;
  --display: "Archivo Black", Impact, "Arial Black", sans-serif;
  --sans: "Space Grotesk", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", "Courier New", monospace;
  --serif: "Newsreader", Georgia, serif;
}

html {
  background: var(--bg);
  color-scheme: light;
}

html.theme-dark {
  --bg: #131313;
  --surface: #191919;
  --surface-2: #2d2d2d;
  --text: #ffffff;
  --text-soft: #e9e9e9;
  --muted: #a9a9a9;
  --border: rgba(255, 255, 255, 0.22);
  --strong-border: #ffffff;
  --input-bg: #131313;
  --on-primary: #ffffff;
  --on-accent: #050505;
  background: var(--bg);
  color-scheme: dark;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  letter-spacing: 0;
  line-height: 1.5;
}

.container {
  max-width: var(--max);
  padding-inline: clamp(20px, 4vw, 48px);
}

.container,
.idx-hero-wrap > *,
.idx-cat-grid > *,
.idx-tech-grid > *,
.cards > *,
.latest-grid > *,
.category-grid > *,
.about-intro > *,
.contact-paths > *,
.author-details > *,
.coverage-cards > *,
.footer-grid > * {
  min-width: 0;
}

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

h1,
h2,
h3,
.article-header h1,
.category-header h1,
.about-hero h1,
.contact-hero h1,
.search-hero h1,
.author-hero h1,
.legal-hero h1,
.policy-hero h1,
.ethics-hero h1,
.corrections-hero h1,
.horoscope-hero h1,
.horoscope-detail-info h1,
.weather-hero h1,
.error-wrap h1,
.stream-content h3 a,
.search-card h2 a,
.coverage-card h3 a,
.idx-secondary-title,
.idx-cat-lead-title,
.idx-life-overlay h3,
.idx-tech-title,
.idx-video-title,
.more-coverage-head h2 {
  text-wrap: balance;
}

.article-deck,
.category-desc,
.section-sub,
.search-empty,
.search-meta,
.more-coverage-sub,
.weather-hero-sub,
.contact-copy,
.about-copy {
  max-width: 62ch;
  color: var(--text-soft);
  line-height: 1.55;
}

a {
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease, opacity 150ms ease;
}

a:hover {
  color: var(--primary);
  text-decoration: none;
}

img {
  border-color: #313131;
}

::selection {
  background: var(--primary);
  color: var(--on-primary);
}

:where(a, button, input, textarea, select):focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.updated-meta,
.secondary-meta,
.briefing-updated,
.weather-cities-sub,
.empty-state-note,
.seo-note {
  color: var(--muted);
  font-size: clamp(0.88rem, 0.35vw + 0.8rem, 0.96rem);
  font-weight: 500;
  line-height: 1.45;
}

.updated-meta,
.briefing-updated {
  margin-top: 10px;
}

.hero-meta,
.feature-meta,
.briefing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.hero-meta,
.feature-meta {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.4;
}

.secondary-meta {
  margin-top: auto;
  padding-top: 10px;
}

.briefing-updated {
  margin-bottom: 15px;
  text-align: center;
}

.briefing-time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 600;
}

.live-update-text {
  color: var(--primary) !important;
}

.muted-update-text {
  color: var(--muted);
}

.meta-dim {
  opacity: 0.8;
}

.live-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background-color: var(--primary);
  display: inline-block;
  animation: tusLivePulse 2s infinite;
}

.section-heading-row {
  margin-bottom: clamp(14px, 2vw, 20px);
}

.section-divider-ad {
  border-top: 1px solid var(--border);
  margin-top: 1.5rem;
  padding-top: 1.5rem;
}

.seo-note,
.empty-state-note {
  margin: 30px auto;
  max-width: 800px;
  padding: 0 15px;
  text-align: center;
}

.empty-state-note {
  grid-column: 1 / -1;
}

.seo-note p,
.empty-state-note p {
  margin: 0;
}

.plain-link {
  color: inherit;
  text-decoration: none;
}

.sidebar-ad-slot {
  margin: 1rem 0;
}

@keyframes tusLivePulse {
  0% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 37, 37, 0.65);
  }

  70% {
    opacity: 0.9;
    transform: scale(1.08);
    box-shadow: 0 0 0 8px rgba(255, 37, 37, 0);
  }

  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 37, 37, 0);
  }
}

.section,
.idx-sec,
.horo-about-section,
.horo-faq-section {
  padding-block: clamp(34px, 5vw, 60px);
}

.idx-sec + .idx-sec,
.idx-sec + .section,
.section + .idx-sec,
.section + .section {
  margin-top: 0;
}

.section-horoscope,
.idx-sec,
.section-coverage,
.section-standards {
  clear: both;
}

.kicker,
.label,
.badge,
.desk,
.article-label,
.feature-label,
.category-kicker,
.idx-hero-kicker,
.idx-secondary-label,
.idx-cat-lead-cat,
.idx-tech-cat,
.idx-read-cat,
.idx-pick-label,
.idx-big-story-label,
.coverage-kicker,
.stream-meta,
.most-read-category,
.stat-label,
.horo-pill,
.footer-links h3,
.footer-newsletter h3 {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.btn,
button,
input,
textarea,
select {
  font-family: var(--sans);
}

.btn,
.nav a.nav-cta,
.footer-nl-btn,
.subscribe-form button,
.search-overlay-form button,
.idx-briefing-viewall-btn,
.pagination .btn,
.sidebar-subscribe .btn-primary,
.sidebar-subscribe .btn-full {
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: none;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: normal;
  text-align: center;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.btn:hover,
.nav a.nav-cta:hover,
.footer-nl-btn:hover,
.subscribe-form button:hover,
.search-overlay-form button:hover,
.idx-briefing-viewall-btn:hover,
.pagination .btn:hover,
.sidebar-subscribe .btn-primary:hover,
.sidebar-subscribe .btn-full:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #c2c2c2;
  color: var(--text);
  filter: none;
  transform: translateY(-1px);
}

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

.btn-ghost {
  background: transparent;
  color: var(--primary);
}

input,
textarea,
select,
.footer-nl-input-wrap,
.subscribe-form input,
.idx-nl-input-row,
.search-overlay-form input[type="search"] {
  border-radius: 4px;
  border: 1px solid var(--border);
  background: var(--input-bg);
  color: var(--text);
  box-shadow: none;
}

input:focus,
textarea:focus,
select:focus,
.footer-nl-input-wrap:focus-within,
.idx-nl-input-row:focus-within,
.search-overlay-form input[type="search"]:focus {
  outline: 2px solid transparent;
  border-color: var(--primary);
}

input::placeholder,
textarea::placeholder {
  color: var(--muted);
}

/* Header */
.context-bar,
.header,
.mobile-nav {
  background: var(--input-bg);
  border-color: var(--border);
}

.context-inner {
  min-height: 34px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sep {
  margin-inline: 10px;
  color: var(--primary);
  opacity: 1;
}

.status {
  color: var(--primary);
}

.header {
  top: 0;
  backdrop-filter: blur(16px);
}

.header-inner {
  padding-block: 12px;
}

.brand-link {
  position: relative;
}

.brand-link::after {
  content: "TODAY'S US";
  display: inline-block;
  margin-left: 10px;
  color: var(--text);
  font-family: var(--display);
  font-size: clamp(1.15rem, 2vw, 1.8rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
}

.category-header h1 {
  font-size: clamp(2.65rem, 4.2vw, 3.65rem) !important;
  line-height: 0.98;
}

.brand-logo,
.footer-logo-img {
  width: 58px;
  height: 58px;
  filter: none;
}

.nav {
  gap: clamp(10px, 1.2vw, 18px);
}

.nav a,
.mobile-nav a {
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav a:hover,
.mobile-nav a:hover {
  color: var(--primary);
}

.icon-btn,
.header-search-btn,
.desktop-search-btn,
.menu-btn {
  color: var(--text);
  border-radius: 999px;
}

.icon-btn:hover,
.header-search-btn:hover,
.desktop-search-btn:hover,
.menu-btn:hover {
  color: var(--primary);
  transform: none;
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  background: var(--text);
}

.mobile-nav-inner {
  padding-block: 18px 24px;
}

.mobile-nav a {
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  padding: 16px 0;
}

.search-overlay {
  background: rgba(19, 19, 19, 0.88);
  backdrop-filter: blur(10px);
}

.search-overlay-inner {
  max-width: 820px;
}

.search-close {
  color: var(--text);
  font-family: var(--mono);
}

/* Homepage */
.idx-hero,
.section-horoscope,
.idx-sec,
.idx-sec-alt,
.section-editorial,
.section-coverage,
.section-standards,
.section-featured,
.section-most-read,
.section-latest-category,
.horo-about-section {
  background: var(--bg);
  border-color: var(--border);
}

.idx-hero {
  padding-block: clamp(28px, 4.5vw, 56px) clamp(28px, 5vw, 58px);
}

.idx-hero-wrap {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 18px;
}

.idx-hero-feature,
.idx-secondary-card,
.idx-briefing-panel,
.idx-cat-grid,
.idx-tech-card,
.idx-pick-box,
.idx-big-story,
.idx-sidebar-panel,
.card,
.story,
.panel,
.quote,
.tick,
.subscribe-wrap,
.sidebar-box,
.sidebar-trending,
.sidebar-topics,
.sidebar-standards,
.key-takeaways,
.author-box,
.coverage-card,
.horoscope-card,
.horoscope-mini-card,
.horoscope-reading-card,
.horoscope-sidebar,
.horoscope-stat,
.horoscope-info-card,
.horo-trust-box,
.horo-faq-item,
.weather-card,
.contact-card,
.about-card,
.search-card,
.author-card,
.error-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: none;
}

.idx-hero-feature {
  min-height: clamp(300px, 34vw, 430px);
  border-color: var(--strong-border);
}

.idx-hero-feature-img,
.idx-life-main-img,
.idx-cat-lead-img,
.idx-tech-img,
.idx-secondary-img,
.stream-media img,
.sidebar-thumb img,
.article-figure img {
  transition: none;
}

.idx-hero-feature:hover .idx-hero-feature-img,
.idx-life-main:hover .idx-life-main-img,
.idx-cat-lead:hover .idx-cat-lead-img,
.idx-tech-card:hover .idx-tech-img,
.idx-secondary-card:hover .idx-secondary-img,
.stream-media a:hover img,
.sidebar-thumb:hover img {
  transform: none;
}

.idx-hero-feature-overlay {
  min-height: inherit;
  justify-content: flex-start;
  padding: clamp(28px, 4vw, 42px);
  background: rgba(19, 19, 19, 0.72);
}

.idx-hero-feature-overlay h1 {
  max-width: 18ch;
  color: #ffffff;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.6vw, 3.2rem);
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: 0.02em;
}

.idx-hero-excerpt {
  max-width: 52ch;
  color: #e9e9e9;
  font-size: clamp(0.95rem, 1.7vw, 1.1rem);
  line-height: 1.45;
}

.idx-hero-feature.no-img {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
  min-height: 0;
}

.idx-hero-feature.no-img .idx-hero-feature-noimag {
  display: none;
}

.idx-hero-feature.no-img .idx-hero-feature-overlay {
  background: transparent;
  min-height: inherit;
  padding: clamp(20px, 2.8vw, 32px);
}

.idx-hero-feature.no-img .idx-hero-feature-overlay h1 {
  color: var(--text);
  font-size: clamp(1.5rem, 2.55vw, 2.35rem);
  line-height: 1.07;
  max-width: 28ch;
}

.idx-hero-feature.no-img .idx-hero-excerpt {
  color: var(--text-soft);
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  line-height: 1.4;
  max-width: 64ch;
}

.idx-hero-feature.no-img .hero-meta,
.idx-hero-feature.no-img .feature-meta {
  color: var(--muted);
}

.idx-hero-kicker {
  border-radius: 20px;
  background: var(--primary);
  color: var(--on-primary);
  padding: 7px 12px;
}

.idx-hero-secondaries {
  grid-template-columns: 1.15fr 0.85fr;
}

.idx-secondary-card {
  overflow: hidden;
  transform: none;
}

.idx-secondary-card:nth-child(odd) {
  background: var(--accent-yellow);
  color: var(--on-accent);
  border-color: var(--accent-yellow);
}

.idx-secondary-card:nth-child(even) {
  background: rgba(82, 0, 255, 0.9);
  color: var(--text);
  border-color: var(--accent);
}

.idx-secondary-card:hover,
.idx-tech-card:hover,
.card:hover,
.story:hover,
.coverage-card:hover,
.horoscope-card:hover,
.horoscope-mini-card:hover {
  border-color: var(--primary);
  box-shadow: none;
  transform: none;
}

.idx-secondary-body {
  padding: 18px;
}

.idx-secondary-card:nth-child(odd) .idx-secondary-label,
.idx-secondary-card:nth-child(odd) .idx-secondary-title,
.idx-secondary-card:nth-child(odd) .idx-secondary-excerpt,
.idx-secondary-card:nth-child(odd) .idx-secondary-time {
  color: var(--on-accent) !important;
}

.idx-secondary-card:nth-child(even) .idx-secondary-label,
.idx-secondary-card:nth-child(even) .idx-secondary-title,
.idx-secondary-card:nth-child(even) .idx-secondary-excerpt,
.idx-secondary-card:nth-child(even) .idx-secondary-time {
  color: var(--text) !important;
}

.idx-secondary-title {
  font-size: 1.08rem;
  line-height: 1.18;
}

.idx-briefing-panel {
  position: sticky;
  top: 98px;
  overflow: visible;
}

.idx-briefing-top {
  border-color: var(--border);
}

.idx-briefing-top h2,
.idx-sh-title,
.section-head h2,
.horoscope-section-head h2,
.horo-section-title,
.horo-faq-title,
.horo-about-title {
  color: var(--text);
  font-family: var(--display);
  line-height: 0.95;
  letter-spacing: 0.02em;
}

.idx-briefing-top h2::before,
.idx-pick-label::before,
.idx-secondary-img-ph::after {
  content: "";
  display: none;
}

.idx-briefing-live {
  border-color: var(--primary);
  color: var(--primary);
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.idx-briefing-list {
  position: relative;
}

.idx-briefing-list::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 18px;
  border-left: 1px dashed var(--accent);
}

.idx-briefing-list li {
  border-color: var(--border);
}

.idx-briefing-row {
  grid-template-columns: 1fr 54px;
  padding: 16px 16px 16px 34px;
}

.idx-briefing-row:hover {
  background: var(--surface-2);
}

.idx-briefing-title,
.idx-briefing-row .idx-briefing-title {
  color: var(--text);
  font-size: 0.94rem;
}

.idx-briefing-meta,
.idx-bm-cat,
.idx-briefing-row .idx-briefing-meta {
  color: var(--muted);
  font-family: var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.idx-briefing-circ {
  width: 54px;
  height: 54px;
  border: 1px solid var(--strong-border);
}

.idx-sh {
  align-items: end;
  border-color: var(--border);
  margin-bottom: clamp(16px, 2vw, 24px);
}

.idx-sh-title {
  padding-left: 0;
  font-size: clamp(1.45rem, 2.4vw, 2.35rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.section-head h2,
.horoscope-section-head h2,
.horo-section-title,
.horo-faq-title,
.horo-about-title {
  font-size: clamp(1.45rem, 2.6vw, 2.5rem);
  line-height: 1.05;
}

.idx-sh-title::before {
  display: none;
}

.idx-sh-more,
.category-link,
.article-link,
.spotlight-link,
.idx-pick-link,
.card-link {
  color: var(--primary);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.idx-cat-grid {
  grid-template-columns: 1.4fr 0.8fr 1fr;
  overflow: hidden;
}

.idx-cat-col,
.idx-cat-head,
.idx-cat-articles li,
.idx-briefing-footer,
.idx-read-ol li,
.idx-sidebar-panel li,
.simple-list li {
  border-color: var(--border);
}

.idx-cat-head,
.idx-cat-articles,
.idx-cat-lead.no-img,
.idx-tech-body,
.idx-video-body {
  background: var(--surface);
}

.idx-cat-head h3 {
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.idx-cat-lead {
  height: 230px;
  background: var(--surface-2);
}

.idx-cat-lead-overlay,
.idx-life-overlay {
  background: rgba(19, 19, 19, 0.64);
}

.idx-cat-lead-title,
.idx-life-overlay h3 {
  color: #ffffff;
  font-family: var(--display);
  line-height: 0.98;
}

.idx-cat-lead-title {
  font-size: clamp(1rem, 2vw, 1.45rem);
}

.idx-cat-articles a,
.idx-cat-articles a:visited,
.idx-read-title,
.idx-read-title:visited,
.idx-big-story h3 a,
.idx-big-story h3 a:visited,
.idx-pick-box h3 a,
.idx-pick-box h3 a:visited {
  color: var(--text);
}

.idx-cat-articles a:hover,
.idx-read-title:hover,
.idx-big-story h3 a:hover,
.idx-pick-box h3 a:hover {
  color: var(--primary);
}

.idx-life-grid {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
}

.idx-life-main {
  border: 1px solid var(--strong-border);
  border-radius: 24px;
}

.idx-life-kicker,
.idx-big-story-label {
  background: var(--primary);
  color: var(--on-primary);
  border-radius: 20px;
}

.idx-life-item {
  border-color: var(--border);
}

.idx-life-item-title,
.idx-tech-title,
.idx-video-title {
  color: var(--text);
}

.idx-life-item-cat,
.idx-tech-cat,
.idx-read-cat,
.idx-pick-label,
.idx-big-story-meta a,
.idx-sidebar-panel.subtle a,
.idx-sidebar-panel a {
  color: var(--primary);
}

.idx-tech-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.idx-tech-card:first-child {
  grid-column: auto;
}

.idx-tech-card:nth-child(4n + 1) {
  background: var(--primary);
  color: var(--on-primary);
  border-color: var(--primary);
}

.idx-tech-card:nth-child(4n + 2) {
  background: rgba(82, 0, 255, 0.9);
  border-color: var(--accent);
}

.idx-tech-card:nth-child(4n + 3) {
  background: var(--accent-orange);
  color: var(--on-accent);
  border-color: var(--accent-orange);
}

.idx-tech-card:nth-child(4n + 4) {
  background: var(--surface);
}

.idx-tech-card:nth-child(4n + 1) .idx-tech-cat,
.idx-tech-card:nth-child(4n + 1) .idx-tech-title,
.idx-tech-card:nth-child(4n + 1) .idx-tech-excerpt,
.idx-tech-card:nth-child(4n + 1) .idx-tech-time {
  color: var(--on-primary);
}

.idx-tech-card:nth-child(4n + 3) .idx-tech-cat,
.idx-tech-card:nth-child(4n + 3) .idx-tech-title,
.idx-tech-card:nth-child(4n + 3) .idx-tech-excerpt,
.idx-tech-card:nth-child(4n + 3) .idx-tech-time {
  color: var(--on-accent);
}

.idx-read-grid,
.idx-ed-grid,
.standards-grid,
.category-grid,
.article-grid,
.horoscope-reading-grid,
.horo-about-grid {
  gap: clamp(22px, 3.5vw, 44px);
}

.idx-read-num,
.mr-rank,
.most-read li::before {
  color: var(--primary);
  font-family: var(--mono);
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.idx-read-ol li {
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 22px;
}

.idx-read-num {
  min-width: 64px;
  text-align: left;
}

.idx-read-info {
  min-width: 0;
  padding-top: 2px;
}

.idx-read-title {
  overflow-wrap: anywhere;
  line-height: 1.3;
}

.idx-pick-box {
  background: var(--accent-yellow);
  border-color: var(--accent-yellow);
  color: var(--on-accent);
}

.idx-pick-box h3 a,
.idx-pick-box p,
.idx-pick-label,
.idx-pick-link {
  color: var(--on-accent) !important;
}

.idx-big-story h3,
.idx-pick-box h3,
.card h3,
.story h3,
.feature-main h2,
.article-headline,
.category-head h3,
.coverage-card h3 {
  font-family: var(--display);
  line-height: 0.98;
  letter-spacing: 0.02em;
}

.cards,
.latest-grid,
.category-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.cards > *,
.latest-grid > * {
  grid-column: span 4;
}

.section-coverage .cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.section-coverage .cards > .card {
  grid-column: auto !important;
  min-width: 0;
  width: auto;
  min-height: 150px;
}

.idx-hero .reveal,
.section-horoscope .reveal,
.idx-sec .reveal,
.section-coverage .reveal,
.section-standards .reveal {
  opacity: 1;
  transform: none;
}

.section-editorial .idx-ed-grid {
  align-items: start;
}

.section-editorial .idx-ed-main,
.section-editorial .idx-sidebar-panels {
  gap: clamp(14px, 2vw, 20px);
}

.cards > *:nth-child(4n + 1),
.latest-grid > *:nth-child(4n + 1) {
  grid-column: span 5;
  background: var(--primary);
  color: var(--on-primary);
  border-color: var(--primary);
}

.cards > *:nth-child(4n + 2),
.latest-grid > *:nth-child(4n + 2) {
  grid-column: span 3;
}

.cards > *:nth-child(4n + 3),
.latest-grid > *:nth-child(4n + 3) {
  grid-column: span 4;
  background: rgba(82, 0, 255, 0.9);
  border-color: var(--accent);
}

.cards > *:nth-child(4n + 1) h3,
.cards > *:nth-child(4n + 1) p,
.cards > *:nth-child(4n + 1) .card-link,
.latest-grid > *:nth-child(4n + 1) h3,
.latest-grid > *:nth-child(4n + 1) p,
.latest-grid > *:nth-child(4n + 1) .story-foot,
.latest-grid > *:nth-child(4n + 1) .badge {
  color: var(--on-primary);
}

.quote {
  background: var(--surface-2);
}

.quote p {
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
}

/* Article pages */
.article-main {
  max-width: var(--max);
  padding-block: clamp(32px, 5vw, 74px);
}

#infinite-scroll-container > .article-grid + .article-grid {
  margin-top: clamp(64px, 8vw, 112px);
  padding-top: clamp(42px, 6vw, 76px);
  border-top: 1px solid var(--border);
}

@media (min-width: 1024px) {
  .article-grid.no-figure.no-takeaways {
    grid-template-areas:
      ". header header header header header header header header header header ."
      ". body body body body body body body sidebar sidebar sidebar ."
      ". sharebar sharebar sharebar sharebar sharebar sharebar sharebar sidebar sidebar sidebar ."
      ". footer footer footer footer footer footer footer sidebar sidebar sidebar ."
      ". author author author author author author author sidebar sidebar sidebar ."
      ". newsletter newsletter newsletter newsletter newsletter newsletter newsletter . . . .";
    row-gap: clamp(18px, 2vw, 28px);
  }

  .article-grid.no-figure:not(.no-takeaways) {
    grid-template-areas:
      ". header header header header header header header header header header ."
      ". takeaways takeaways takeaways takeaways takeaways takeaways takeaways takeaways . . ."
      ". body body body body body body body sidebar sidebar sidebar ."
      ". sharebar sharebar sharebar sharebar sharebar sharebar sharebar sidebar sidebar sidebar ."
      ". footer footer footer footer footer footer footer sidebar sidebar sidebar ."
      ". author author author author author author author sidebar sidebar sidebar ."
      ". newsletter newsletter newsletter newsletter newsletter newsletter newsletter . . . .";
  }

  .article-grid:not(.no-figure).no-takeaways {
    grid-template-areas:
      ". header header header header header header header header header header ."
      ". figure figure figure figure figure figure figure figure figure figure ."
      ". body body body body body body body sidebar sidebar sidebar ."
      ". sharebar sharebar sharebar sharebar sharebar sharebar sharebar sidebar sidebar sidebar ."
      ". footer footer footer footer footer footer footer sidebar sidebar sidebar ."
      ". author author author author author author author sidebar sidebar sidebar ."
      ". newsletter newsletter newsletter newsletter newsletter newsletter newsletter . . . .";
  }
}

.article-header {
  text-align: center;
  margin-bottom: 0;
}

.article-header .article-kicker {
  background: var(--primary);
  color: var(--on-primary);
  border-radius: 20px;
}

.article-header h1 {
  color: var(--text);
  font-family: var(--display);
  font-size: clamp(2.1rem, 4.8vw, 4.35rem);
  line-height: 0.98;
  letter-spacing: 0.02em;
}

.article-deck {
  max-width: 68ch;
  margin-inline: 0;
  color: var(--text-soft);
  font-family: var(--serif);
  font-style: normal;
}

.article-meta {
  justify-content: center;
  margin-inline: auto;
  border-color: var(--border);
  color: var(--muted);
  font-family: var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.article-meta .author,
.article-meta time,
.article-meta .update {
  display: inline-flex;
  align-items: center;
}

.article-meta .author {
  gap: 0.35rem;
}

.article-meta .share-trigger {
  margin-left: 0.5rem;
}

.google-source-btn-container {
  margin: 0.75rem 0 0;
}

.article-body {
  color: var(--text);
  font-family: var(--serif);
  line-height: 1.72;
}

.article-body p,
.article-body li,
.article-body blockquote,
.article-body figcaption {
  color: var(--text);
}

.article-body h2 {
  color: var(--text);
  font-family: var(--display);
  line-height: 1;
}

.article-body > p:first-of-type::first-letter {
  color: var(--primary);
  font-family: var(--display);
}

.article-figure img {
  border: 1px solid var(--strong-border);
  border-radius: 24px;
  box-shadow: none;
}

.article-sidebar {
  gap: 28px;
}

.article-sidebar .sidebar-box:nth-child(2),
.sidebar-subscribe {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: none;
}

.sidebar-subscribe h4,
.sidebar-subscribe p,
.sidebar-subscribe .subscribe-text {
  color: var(--text) !important;
}

.sidebar-subscribe p,
.sidebar-subscribe .subscribe-text {
  color: var(--text-soft) !important;
}

.category-sidebar .sidebar-subscribe,
.article-sidebar .sidebar-subscribe {
  background: var(--surface) !important;
  color: var(--text) !important;
}

.sidebar-box h4,
.article-tags > span {
  color: var(--primary);
  font-family: var(--mono);
  letter-spacing: 0.14em;
}

.article-tags a,
.topic-list li a {
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-family: var(--mono);
}

.article-tags a:hover,
.topic-list li a:hover {
  background: var(--primary);
  color: var(--on-primary);
  border-color: var(--primary);
  transform: none;
}

.more-coverage {
  border-color: var(--border);
}

.more-coverage-head h2 {
  font-family: var(--display);
  line-height: 0.95;
}

/* Category, topic, search, author, about, legal */
.category-main,
.about-main,
.contact-main,
.search-main,
.author-main,
.legal-main,
.policy-main,
.ethics-main,
.corrections-main,
.error-wrap {
  padding-top: clamp(34px, 6vw, 72px);
  padding-bottom: clamp(48px, 7vw, 92px);
}

.category-header,
.about-hero,
.contact-hero,
.search-header,
.author-hero,
.legal-hero,
.policy-hero,
.ethics-hero,
.corrections-hero {
  max-width: 920px;
  margin-bottom: clamp(30px, 5vw, 56px);
}

.category-header h1,
.about-hero h1,
.contact-hero h1,
.search-header h1,
.author-hero h1,
.legal-hero h1,
.policy-hero h1,
.ethics-hero h1,
.corrections-hero h1,
.error-wrap h1 {
  color: var(--text);
  font-family: var(--display);
  font-size: clamp(2.65rem, 4.2vw, 3.65rem);
  line-height: 0.98;
  letter-spacing: 0.02em;
}

.category-desc,
.about-hero p,
.contact-hero p,
.search-header p,
.legal-hero p,
.policy-hero p,
.ethics-hero p,
.corrections-hero p {
  color: var(--text-soft);
  font-size: clamp(1rem, 2vw, 1.16rem);
}

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

.category-grid > * {
  grid-column: auto;
}

.category-lead {
  border-color: var(--border);
}

.category-lead h2,
.stream-content h3,
.lead-sub-feature h3 {
  font-family: var(--display);
  line-height: 1;
}

.category-lead .lead-image,
.stream-media a {
  border: 1px solid var(--strong-border);
  border-radius: 24px;
  box-shadow: none;
}

.story-stream {
  position: relative;
  padding-left: 22px;
}

.story-stream::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 4px;
  border-left: 1px dashed var(--accent);
}

.stream-item {
  position: relative;
  grid-template-columns: minmax(0, 1fr) 220px;
  border-color: var(--border);
}

.stream-item::before {
  content: "";
  position: absolute;
  top: 30px;
  left: -22px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--primary);
}

.sidebar-trending,
.sidebar-topics,
.sidebar-standards {
  background: var(--surface);
}

.share-popup {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: none;
}

/* Horoscope and weather */
.horoscope-hero,
.horoscope-detail-hero,
.weather-hero {
  background: var(--bg);
  text-align: left;
}

.horoscope-hero h1,
.horoscope-detail-info h1,
.weather-hero h1 {
  color: var(--text);
  font-family: var(--display);
  font-size: clamp(2.65rem, 4.2vw, 3.65rem);
  line-height: 0.98;
}

.horoscope-hero .lead,
.horoscope-date,
.horoscope-detail-dates,
.horoscope-reading-text,
.horo-about-lead,
.horo-about-main p,
.horo-faq-answer p {
  color: var(--text-soft);
}

.horoscope-card,
.horoscope-mini-card,
.horoscope-reading-card,
.horoscope-sidebar,
.horoscope-stat,
.horoscope-info-card,
.horo-trust-box,
.horo-faq-item {
  color: var(--text);
}

.horoscope-card-name,
.horoscope-reading-card h2,
.horoscope-sidebar h3,
.horoscope-info-card h3,
.horo-section-title,
.horo-faq-title,
.horo-about-title,
.horoscope-detail-date-label,
.horoscope-nav-btn {
  color: var(--text) !important;
}

.horoscope-card-dates,
.horoscope-card-preview,
.horoscope-mini-dates,
.horoscope-mini-preview,
.horoscope-stat-label,
.horoscope-info-card p,
.horoscope-sw,
.horoscope-sidebar-sign {
  color: var(--text-soft) !important;
}

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

.horoscope-signs-grid > * {
  grid-column: span 3;
}

.horoscope-card-symbol,
.horoscope-mini-symbol,
.horoscope-detail-symbol,
.stat-icon,
.horo-trust-icon {
  color: var(--primary);
  filter: none;
}

.horoscope-mini-symbol,
.horoscope-detail-symbol {
  background: transparent;
  border-color: var(--primary);
}

.horo-hero-rating,
.horo-pill {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

/* Footer */
.footer {
  margin-top: 0;
  padding-block: clamp(44px, 6vw, 82px);
  background: var(--input-bg);
  border-color: var(--border);
}

.footer-grid {
  grid-template-columns: 1.4fr 0.7fr 0.7fr 1.1fr;
  gap: clamp(24px, 4vw, 54px);
}

.footer-brand-link {
  color: var(--text);
}

.footer-logo-text {
  font-family: var(--display);
  font-size: 1.7rem;
  line-height: 0.9;
}

.footer-desc,
.footer-copyright p,
.footer-newsletter p,
.footer-links a,
.footer-bottom-meta,
.form-note {
  color: var(--muted);
}

.footer-social a {
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text) !important;
}

.footer-social a:hover {
  background: var(--primary) !important;
  color: var(--on-primary) !important;
  transform: none;
}

.footer-nl-input-wrap {
  border-radius: 999px;
  overflow: hidden;
}

.footer-nl-btn {
  border-radius: 0;
}

.back-to-top {
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: none;
}

.back-to-top:hover {
  background: var(--primary);
}

.progress-ring-fill {
  stroke: var(--primary);
}

.progress-ring-bg {
  stroke: var(--border);
}

#tusPopupOverlay {
  background: rgba(19, 19, 19, 0.8) !important;
}

.tus-popup-box {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: 24px !important;
}

/* Secondary public pages */
.about-main,
.contact-main,
.author-main {
  margin-top: 0;
}

.about-kicker,
.contact-kicker,
.search-kicker,
.author-role,
.author-grid-role {
  color: var(--primary);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-intro,
.contact-paths,
.author-details,
.coverage-cards {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(22px, 4vw, 40px);
}

.contact-paths {
  grid-template-columns: 1.1fr 0.8fr 1fr;
}

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

.coverage-cards > * {
  grid-column: span 4;
}

.coverage-cards > *:first-child {
  grid-column: span 5;
  background: var(--primary);
  border-color: var(--primary);
  color: var(--on-primary);
}

.coverage-cards > *:first-child h3,
.coverage-cards > *:first-child p {
  color: var(--on-primary);
}

.contact-card,
.contact-form,
.about-contact,
.author-card,
.author-grid-card,
.search-card,
.daily-container,
.weather-stat-card,
.hourly-card,
.city-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: none;
}

.contact-card.primary,
.about-contact,
.author-grid-card:nth-child(3n + 1),
.search-card:nth-child(4n + 1),
.city-card:nth-child(4n + 1) {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--on-primary);
}

.contact-card.primary h2,
.contact-card.primary p,
.contact-card.primary .contact-link,
.about-contact h2,
.about-contact p,
.about-contact a,
.author-grid-card:nth-child(3n + 1) h2,
.author-grid-card:nth-child(3n + 1) p,
.author-grid-card:nth-child(3n + 1) span,
.search-card:nth-child(4n + 1) h2,
.search-card:nth-child(4n + 1) p,
.search-card:nth-child(4n + 1) span,
.search-card:nth-child(4n + 1) a,
.city-card:nth-child(4n + 1) span {
  color: var(--on-primary) !important;
}

.contact-card:nth-child(3n + 2),
.author-grid-card:nth-child(3n + 2),
.search-card:nth-child(4n + 2),
.city-card:nth-child(4n + 2) {
  background: rgba(82, 0, 255, 0.9);
  border-color: var(--accent);
}

.contact-card:hover,
.author-grid-card:hover,
.search-card:hover,
.weather-stat-card:hover,
.hourly-card:hover,
.city-card:hover {
  border-color: var(--primary);
  box-shadow: none;
  transform: none;
}

.contact-link::after {
  content: "";
}

.contact-form label {
  color: var(--text);
  font-family: var(--mono);
  letter-spacing: 0.12em;
}

.principles-box {
  border-left-color: var(--primary);
}

.authors-dir-hero,
.search-hero {
  max-width: 920px;
  margin-inline: 0;
  text-align: left;
  background: transparent;
}

.authors-dir-hero h1,
.search-hero h1,
.author-intro h1 {
  color: var(--text);
  font-family: var(--display);
  font-size: clamp(2.65rem, 4.2vw, 3.65rem);
  line-height: 0.98;
  letter-spacing: 0.02em;
}

.author-avatar,
.avatar-placeholder,
.author-grid-avatar {
  background: transparent;
  border: 1px solid var(--primary);
  box-shadow: none;
}

.author-grid-card {
  color: var(--text);
}

.author-grid-footer {
  border-color: var(--border);
}

.search-form {
  justify-content: flex-start;
}

.search-form input[type="search"] {
  max-width: 620px;
  border-radius: 4px;
  background: var(--input-bg);
}

.search-empty,
.weather-error {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.weather-loading {
  min-height: 340px;
}

.weather-spinner {
  width: min(280px, 70vw);
  height: 18px;
  border: 1px solid var(--primary);
  border-radius: 999px;
  background: var(--primary);
  animation: tusPulse 1.1s ease-in-out infinite alternate;
}

@keyframes tusPulse {
  from {
    opacity: 0.35;
    transform: scaleX(0.72);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

.weather-current {
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  margin-bottom: 24px;
}

.weather-current-icon,
.weather-stat-icon,
.hourly-icon,
.daily-icon,
.city-card-icon,
.stat-icon,
.horo-trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 30px;
  border: 1px solid var(--primary);
  border-radius: 999px;
  color: var(--primary);
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.weather-current-icon {
  width: 86px;
  height: 86px;
  margin-inline: auto;
  font-size: 1rem;
}

.weather-current-temp {
  font-family: var(--display);
  line-height: 0.9;
}

.weather-section-title-tight {
  margin-bottom: 0;
}

.weather-cities-sub {
  font-weight: 600;
}

.weather-section-title,
.weather-current-desc,
.city-card-name {
  color: var(--text);
  font-family: var(--display);
  letter-spacing: 0.02em;
}

.weather-current,
.weather-stat-card,
.hourly-card,
.daily-container,
.city-card,
.weather-error {
  color: var(--text);
}

.weather-current-temp,
.weather-stat-value,
.hourly-temp,
.daily-temp,
.city-card-temp {
  color: var(--text) !important;
}

.weather-current-feels,
.weather-current-hilo,
.weather-city-label,
.weather-city-label span,
.weather-stat-label,
.weather-stat-sub,
.hourly-time,
.daily-day,
.daily-desc,
.daily-lo,
.city-card-state,
.weather-error p {
  color: var(--text-soft) !important;
}

.daily-hi {
  color: var(--text) !important;
}

.unit-btn {
  border-width: 1px;
  border-color: var(--border);
  background: transparent;
  color: var(--text);
  font-family: var(--mono);
}

.unit-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--on-primary);
}

.daily-bar {
  border: 1px solid var(--border);
  background: var(--input-bg);
}

.daily-bar-fill {
  background: var(--primary);
}

/* Content cards stay neutral; buttons and labels keep the red accent. */
.idx-secondary-card,
.idx-tech-card,
.idx-pick-box,
.cards > *,
.latest-grid > *,
.coverage-cards > *,
.contact-card,
.contact-card.primary,
.about-contact,
.author-grid-card,
.search-card,
.city-card {
  background: var(--surface) !important;
  border-color: var(--border) !important;
  color: var(--text) !important;
}

.idx-secondary-card h2,
.idx-secondary-card h3,
.idx-secondary-card p,
.idx-secondary-card span,
.idx-secondary-card time,
.idx-tech-card h2,
.idx-tech-card h3,
.idx-tech-card p,
.idx-tech-card span,
.idx-tech-card time,
.idx-pick-box h2,
.idx-pick-box h3,
.idx-pick-box p,
.idx-pick-box span,
.cards > * h2,
.cards > * h3,
.cards > * p,
.cards > * span,
.latest-grid > * h2,
.latest-grid > * h3,
.latest-grid > * p,
.latest-grid > * span,
.coverage-cards > * h2,
.coverage-cards > * h3,
.coverage-cards > * p,
.coverage-cards > * span,
.contact-card h2,
.contact-card h3,
.contact-card p,
.contact-card a,
.contact-card.primary h2,
.contact-card.primary p,
.contact-card.primary a,
.about-contact h2,
.about-contact p,
.about-contact a,
.author-grid-card h2,
.author-grid-card p,
.author-grid-card span,
.search-card h2,
.search-card p,
.search-card span,
.search-card a,
.city-card span {
  color: var(--text) !important;
}

.city-card:nth-child(4n + 1) span,
.city-card:nth-child(4n + 2) span,
.city-card:nth-child(4n + 3) span,
.city-card:nth-child(4n + 4) span,
.city-card .city-card-name,
.city-card .city-card-temp {
  color: var(--text) !important;
}

.city-card:nth-child(4n + 1) .city-card-state,
.city-card:nth-child(4n + 2) .city-card-state,
.city-card:nth-child(4n + 3) .city-card-state,
.city-card:nth-child(4n + 4) .city-card-state {
  color: var(--text-soft) !important;
}

.idx-secondary-card:nth-child(odd) .idx-secondary-title,
.idx-secondary-card:nth-child(even) .idx-secondary-title,
.idx-secondary-card:nth-child(odd) .idx-secondary-excerpt,
.idx-secondary-card:nth-child(even) .idx-secondary-excerpt,
.idx-secondary-card:nth-child(odd) .idx-secondary-time,
.idx-secondary-card:nth-child(even) .idx-secondary-time,
.idx-tech-card:nth-child(4n + 1) .idx-tech-title,
.idx-tech-card:nth-child(4n + 2) .idx-tech-title,
.idx-tech-card:nth-child(4n + 3) .idx-tech-title,
.idx-tech-card:nth-child(4n + 4) .idx-tech-title,
.idx-tech-card:nth-child(4n + 1) .idx-tech-excerpt,
.idx-tech-card:nth-child(4n + 2) .idx-tech-excerpt,
.idx-tech-card:nth-child(4n + 3) .idx-tech-excerpt,
.idx-tech-card:nth-child(4n + 4) .idx-tech-excerpt,
.idx-tech-card:nth-child(4n + 1) .idx-tech-time,
.idx-tech-card:nth-child(4n + 2) .idx-tech-time,
.idx-tech-card:nth-child(4n + 3) .idx-tech-time,
.idx-tech-card:nth-child(4n + 4) .idx-tech-time,
.idx-pick-box h3 a,
.idx-pick-box h3 a:visited,
.idx-pick-box .idx-pick-link {
  color: var(--text) !important;
}

.idx-secondary-card:nth-child(odd) .idx-secondary-label,
.idx-secondary-card:nth-child(even) .idx-secondary-label,
.idx-tech-card:nth-child(4n + 1) .idx-tech-cat,
.idx-tech-card:nth-child(4n + 2) .idx-tech-cat,
.idx-tech-card:nth-child(4n + 3) .idx-tech-cat,
.idx-tech-card:nth-child(4n + 4) .idx-tech-cat,
.idx-pick-box .idx-pick-label {
  color: var(--primary) !important;
}

.idx-secondary-label,
.idx-tech-cat,
.idx-pick-label,
.idx-cat-lead-cat,
.card-link,
.story-foot .badge,
.coverage-kicker,
.most-read-category,
.search-meta,
.city-card-icon {
  color: var(--primary) !important;
}

/* Motion */
.reveal {
  transform: translateY(18px);
  transition: opacity 650ms cubic-bezier(0.16, 1, 0.3, 1), transform 650ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Responsive */
@media (max-width: 1100px) {
  .brand-link::after {
    font-size: clamp(1.05rem, 1.8vw, 1.5rem);
  }

  .nav {
    gap: 10px;
  }

  .nav a {
    font-size: 0.68rem;
  }

  .idx-hero-wrap,
  .idx-life-grid,
  .idx-read-grid,
  .idx-ed-grid,
  .category-grid,
  .article-grid,
  .horo-about-grid,
  .horoscope-reading-grid,
  .contact-paths,
  .about-intro,
  .author-details {
    grid-template-columns: 1fr;
  }

  .idx-briefing-panel,
  .category-sidebar,
  .article-sidebar {
    position: static;
  }

  .idx-tech-card:first-child {
    grid-column: auto;
  }
}

@media (max-width: 979px) {
  .header-inner {
    padding: 10px 0;
  }

  .brand-link::after {
    display: none;
  }

  .brand-logo {
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 767px) {
  .container {
    padding-inline: 18px;
  }

  .section,
  .idx-sec,
  .section-horoscope,
  .section-coverage,
  .section-standards {
    padding-block: 30px;
  }

  .horoscope-scroll-row {
    margin-top: 0;
    padding-bottom: 14px;
  }

  .context-inner {
    align-items: flex-start;
    gap: 6px;
    font-size: 0.66rem;
  }

  .context-left {
    gap: 0;
  }

  .sep {
    margin-inline: 6px;
  }

  .idx-hero-feature {
    min-height: 330px;
  }

  .idx-hero-wrap {
    row-gap: 16px;
  }

  .idx-hero-wrap .idx-briefing-panel {
    position: relative !important;
    top: auto !important;
    align-self: stretch;
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
  }

  .idx-briefing-list,
  .idx-briefing-footer {
    position: relative;
    z-index: 1;
  }

  .idx-hero + .section-horoscope {
    margin-top: 0 !important;
    border-top: 1px solid var(--border);
  }

  .idx-hero-secondaries,
  .idx-cat-grid,
  .idx-tech-grid,
  .cards,
  .section-coverage .cards,
  .latest-grid,
  .category-grid,
  .horoscope-signs-grid,
  .lead-sub-features,
  .about-intro,
  .contact-paths,
  .author-details,
  .coverage-cards,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cards > *,
  .latest-grid > *,
  .horoscope-signs-grid > *,
  .coverage-cards > * {
    grid-column: auto !important;
  }

  .idx-cat-col {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .idx-cat-col:last-child {
    border-bottom: 0;
  }

  .idx-cat-grid .idx-cat-col:last-child {
    display: flex;
  }

  .stream-item {
    grid-template-columns: 1fr;
  }

  .stream-media {
    order: -1;
  }

  .story-stream {
    padding-left: 18px;
  }

  .article-header h1,
  .about-hero h1,
  .contact-hero h1,
  .search-header h1,
  .author-hero h1,
  .legal-hero h1,
  .policy-hero h1,
  .ethics-hero h1,
  .corrections-hero h1,
  .error-wrap h1 {
    font-size: clamp(2.2rem, 10vw, 2.9rem);
    line-height: 1;
  }

  .article-header h1 {
    font-size: clamp(2rem, 10vw, 3.1rem);
    line-height: 1;
  }

  .category-header h1,
  .about-hero h1,
  .contact-hero h1,
  .search-header h1,
  .search-hero h1,
  .author-hero h1,
  .authors-dir-hero h1,
  .author-intro h1,
  .legal-hero h1,
  .policy-hero h1,
  .ethics-hero h1,
  .corrections-hero h1,
  .horoscope-hero h1,
  .horoscope-detail-info h1,
  .weather-hero h1,
  .error-wrap h1 {
    font-size: clamp(2.2rem, 10vw, 2.9rem) !important;
    line-height: 1;
  }

  .article-body {
    font-size: 1.05rem;
  }

  .hero-meta,
  .feature-meta,
  .briefing-meta {
    font-size: 0.88rem;
  }

  .briefing-time,
  .updated-meta,
  .secondary-meta,
  .briefing-updated,
  .weather-cities-sub,
  .empty-state-note,
  .seo-note {
    font-size: 0.9rem;
  }

  .horoscope-detail-header {
    align-items: flex-start;
    text-align: left;
  }

  .footer-nl-input-wrap {
    border-radius: 18px;
    flex-direction: column;
  }

  .footer-nl-btn {
    border-radius: 0;
  }
}

@media (max-width: 460px) {
  .idx-hero-feature-overlay {
    padding: 22px;
  }

  .idx-hero-feature-overlay h1 {
    font-size: 1.75rem;
  }

  .briefing-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .idx-sh {
    align-items: flex-start;
    flex-direction: column;
  }

  .idx-sh-title,
  .section-head h2,
  .horoscope-section-head h2,
  .horo-section-title,
  .horo-faq-title,
  .horo-about-title {
    font-size: 1.4rem;
  }

  .idx-read-ol li {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 14px;
  }

  .idx-read-num {
    min-width: 50px;
    font-size: 1.85rem;
  }

  .idx-briefing-row {
    grid-template-columns: 1fr;
  }

  .idx-briefing-circ {
    display: none;
  }

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