/*
Theme Name: TveoRadio
Theme URI: https://example.com/tveoradio
Author: OpenAI
Author URI: https://openai.com
Description: Tema classic para WordPress con enfoque editorial premium, pensado para noticias, radio y publicación digital en español.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: tveoradio
Tags: dark, news, custom-logo, custom-menu, featured-images, one-column, two-columns, translation-ready
*/

:root {
  --bg: #151b22;
  --bg-alt: #1a2129;
  --surface: #202832;
  --surface-soft: #252e39;
  --surface-strong: #2c3744;
  --surface-muted: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f4f1eb;
  --text-soft: #dde2e8;
  --muted: #adb6c2;
  --accent: #9e2b39;
  --accent-soft: #b53a49;
  --accent-alt: #5f7186;
  --success: #b53a49;
  --panel: #f6f3ed;
  --panel-strong: #eee8de;
  --panel-text: #191c20;
  --panel-muted: #57606b;
  --panel-line: rgba(25, 28, 32, 0.14);
  --shadow: 0 12px 28px rgba(5, 8, 12, 0.16);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --font-display: "Playfair Display", Georgia, serif;
  --font-ui: "Inter", "Segoe UI", "Helvetica Neue", sans-serif;
  --font-body: "Inter", "Segoe UI", "Helvetica Neue", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: linear-gradient(180deg, #181f27 0%, #151b22 42%, #141920 100%);
  color: var(--text);
  font-family: var(--font-ui);
  font-weight: 400;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.admin-bar .site-header {
  top: 32px;
}

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

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

a:hover,
a:focus-visible {
  color: #ffffff;
}

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

button {
  cursor: pointer;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  padding: 0.95rem 1rem;
}

textarea {
  min-height: 10rem;
  border-radius: 6px;
}

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

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

.site {
  min-height: 100vh;
  overflow-x: hidden;
}

.site-shell {
  width: min(100% - 1.5rem, 1320px);
  margin-inline: auto;
}

.site-topbar {
  border-bottom: 1px solid var(--line);
  background: #121820;
}

.site-topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.55rem 0;
}

.site-topbar__label,
.site-topbar__meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-topbar__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.site-topbar__link {
  color: var(--text-soft);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(22, 28, 35, 0.94);
  backdrop-filter: blur(10px);
}

.site-header__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  position: relative;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.site-branding__logo img,
.custom-logo-link img {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  object-fit: cover;
}

.site-branding__logo .custom-logo-link {
  display: inline-flex;
}

.site-branding__fallback {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 6px;
  background: #d8dbe0;
  color: #13161a;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.site-branding__copy {
  min-width: 0;
}

.site-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4vw, 2.05rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: none;
}

.site-title a {
  color: var(--text);
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-description {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.site-navigation {
  grid-column: 1 / -1;
}

.breaking-bar {
  border-top: 1px solid var(--line);
  background: #1b222b;
}

.breaking-bar__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  padding: 0.6rem 0;
}

.breaking-bar__label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #efcdd2;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.breaking-bar__label::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--accent);
}

.breaking-bar__track {
  min-width: 0;
}

.breaking-bar__items {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.breaking-bar__items::-webkit-scrollbar {
  display: none;
}

.breaking-bar__item,
.breaking-bar__empty {
  white-space: nowrap;
  color: var(--text-soft);
  font-size: 0.86rem;
}

.breaking-bar__item::after {
  content: "•";
  margin-left: 0.85rem;
  color: var(--muted);
}

.breaking-bar__item:last-child::after {
  display: none;
}

.js .site-navigation {
  display: none;
}

.js .site-navigation.is-open {
  display: block;
}

.menu,
.menu ul,
.headline-list,
.topic-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-menu {
  display: grid;
  gap: 0.2rem;
}

.primary-menu a {
  display: block;
  padding: 0.5rem 0.65rem;
  border-radius: 4px;
  color: var(--text-soft);
  font-size: 0.81rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.primary-menu a:hover,
.primary-menu a:focus-visible,
.current-menu-item > a,
.current_page_item > a {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.menu-item-live a {
  color: #f1d4d9;
  border: 1px solid rgba(179, 33, 51, 0.34);
  background: rgba(179, 33, 51, 0.08);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-self: end;
  flex-wrap: nowrap;
  min-width: 0;
}

.nav-toggle,
.button,
.search-submit,
.wp-block-button__link,
button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 0.62rem 0.82rem;
  font-weight: 700;
  font-size: 0.81rem;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  line-height: 1.05;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  max-width: 100%;
}

.nav-toggle {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}

.nav-toggle::before {
  content: "";
  width: 0.85rem;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
}

.button,
.search-submit,
.wp-block-button__link,
button[type="submit"] {
  background: var(--accent);
  color: #fbf7f2;
  border-color: var(--accent);
}

.button--secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
}

.button--live {
  background: var(--accent);
  border-color: var(--accent);
}

.site-header__live::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: currentColor;
  flex: 0 0 auto;
}

.button:hover,
.button:focus-visible,
.search-submit:hover,
.search-submit:focus-visible,
.nav-toggle:hover,
.nav-toggle:focus-visible,
.wp-block-button__link:hover,
.wp-block-button__link:focus-visible,
button[type="submit"]:hover,
button[type="submit"]:focus-visible {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
  color: #ffffff;
}

.button--secondary:hover,
.button--secondary:focus-visible,
.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.button-label--mobile {
  display: none;
}

.site-main {
  padding: 1.5rem 0 3rem;
}

.site-main--article {
  padding-top: 2rem;
}

.section-heading,
.module-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 0.7rem 1rem;
  margin-bottom: 1rem;
}

.section-heading__eyebrow,
.module-heading .section-heading__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.4rem;
  color: #cf6975;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.section-heading__eyebrow::before {
  content: "";
  width: 1.7rem;
  height: 1px;
  background: currentColor;
}

.section-heading h1,
.section-heading h2,
.module-heading h2,
.single-post__title,
.widget-title,
.site-footer__title,
.site-footer__heading,
.share-panel h2,
.article-cta h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.98;
  text-transform: none;
}

.section-heading h1,
.section-heading h2,
.site-footer__title {
  font-size: clamp(1.7rem, 4vw, 2.85rem);
  letter-spacing: -0.03em;
}

.section-heading p,
.archive-description,
.site-footer__summary,
.widget-shell p,
.rail-module p,
.empty-state p,
.share-panel p,
.article-cta p,
.community-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
}

.section-link {
  color: var(--text-soft);
  font-weight: 700;
}

.site-title a,
.section-heading h1,
.section-heading h2,
.story-card__title a,
.headline-list__link,
.editorial-placeholder__title,
.single-post__title,
.widget-title,
.site-footer__title,
.entry-content,
.entry-content blockquote,
.entry-content td,
.entry-content th {
  overflow-wrap: anywhere;
}

.frontpage-top,
.latest-shell,
.editorial-sections,
.archive-shell,
.index-shell,
.single-shell,
.page-shell {
  margin-top: 1.5rem;
}

.frontpage-layout,
.latest-layout,
.content-layout,
.category-block__layout,
.site-footer__grid {
  display: grid;
  gap: 1.1rem;
}

.frontpage-main,
.frontpage-rail,
.latest-side,
.archive-main,
.article-main,
.sidebar,
.category-block__substories,
.site-navigation {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.secondary-grid,
.story-grid,
.latest-stack,
.archive-feed {
  display: grid;
  gap: 1rem;
}

.story-card,
.rail-module,
.listen-card,
.community-panel,
.sponsor-panel,
.editorial-placeholder,
.archive-header,
.widget-shell,
.pagination-wrap,
.post-navigation,
.share-panel,
.article-cta,
.related-posts,
.empty-state,
.article-sheet {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: none;
}

.rail-module,
.listen-card,
.community-panel,
.sponsor-panel,
.editorial-placeholder,
.archive-header,
.widget-shell,
.pagination-wrap,
.post-navigation,
.share-panel,
.article-cta,
.related-posts,
.empty-state {
  padding: 1.2rem;
  background: var(--surface);
}

.frontpage-top > .section-heading,
.latest-shell > .section-heading {
  margin-bottom: 1.15rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
}

.story-card {
  display: grid;
  overflow: hidden;
  background: var(--surface);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.story-card:hover,
.story-card:focus-within {
  border-color: rgba(255, 255, 255, 0.18);
  background: #27303b;
}

.story-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: #2d3642;
}

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

.story-card:hover .story-card__media img,
.story-card:focus-within .story-card__media img {
  transform: scale(1.02);
}

.story-card__placeholder {
  display: grid;
  place-items: end start;
  width: 100%;
  height: 100%;
  padding: 1rem;
  background: #2a3440;
}

.story-card__placeholder span {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  border-radius: 4px;
  background: rgba(242, 239, 233, 0.08);
  color: var(--text-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.story-card__content {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
}

.story-card__eyebrow,
.single-post__category,
.entry-taxonomies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.story-card__category,
.single-post__category a,
.single-post__category span,
.entry-taxonomies a,
.headline-list__category {
  display: inline-flex;
  align-items: center;
  min-height: 1.65rem;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  background: rgba(179, 33, 51, 0.12);
  color: #f0c6cc;
  border: 1px solid rgba(179, 33, 51, 0.18);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.story-card__category--fallback,
.headline-list__category--fallback,
.single-post__category span {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
  border-color: rgba(255, 255, 255, 0.08);
}

.story-card__title {
  margin: 0;
  font-size: clamp(1.18rem, 3vw, 1.72rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.02;
}

.story-card__title a {
  color: var(--text);
}

.story-card__excerpt,
.single-post__excerpt {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.68;
}

.story-card__meta,
.single-post__meta,
.article-authorline__name,
.headline-list__meta,
.site-footer__legal {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
}

.story-card__meta,
.single-post__meta,
.headline-list__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.meta-divider {
  opacity: 0.7;
}

.story-card--feature .story-card__media {
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  border: 1px solid var(--line);
}

.story-card--feature .story-card__content {
  gap: 0.95rem;
  padding: 1.05rem 0 0;
}

.story-card--feature .story-card__title {
  max-width: 12ch;
  font-size: clamp(2.2rem, 5.3vw, 4.45rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
}

.story-card--feature .story-card__excerpt {
  max-width: 46rem;
  font-size: 1.02rem;
  color: var(--text);
}

.story-card--secondary .story-card__media {
  aspect-ratio: 4 / 3;
}

.story-card--secondary .story-card__title {
  font-size: 1.18rem;
}

.story-card--grid .story-card__title {
  font-size: 1.34rem;
}

.story-card--compact,
.story-card--list {
  grid-template-columns: 110px minmax(0, 1fr);
}

.story-card--compact .story-card__media,
.story-card--list .story-card__media {
  min-height: 100%;
  aspect-ratio: auto;
}

.story-card--compact .story-card__title {
  font-size: 1.05rem;
}

.story-card--list .story-card__title {
  font-size: 1.08rem;
}

.story-card--feature {
  background: transparent;
  border: 0;
}

.story-card--feature:hover,
.story-card--feature:focus-within {
  background: transparent;
  border-color: transparent;
}

.secondary-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.rail-module {
  gap: 1rem;
  border-top: 2px solid rgba(179, 33, 51, 0.38);
}

.headline-list {
  display: grid;
  gap: 0.9rem;
}

.headline-list__item {
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.headline-list__item:first-child {
  padding-top: 0;
  border-top: 0;
}

.headline-list__link {
  display: block;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.06;
}

.headline-list__meta {
  margin-top: 0.5rem;
  gap: 0.55rem;
}

.editorial-placeholder {
  position: relative;
  overflow: hidden;
  background: var(--surface);
}

.editorial-placeholder::after {
  display: none;
}

.editorial-placeholder__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4vw, 2.35rem);
  line-height: 1.04;
  text-transform: none;
}

.editorial-placeholder__text {
  margin: 0.9rem 0 0;
  max-width: 44rem;
  color: var(--muted);
}

.editorial-placeholder__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.editorial-placeholder--feature {
  min-height: 100%;
}

.editorial-placeholder--panel {
  padding: 1rem;
}

.editorial-placeholder--panel .editorial-placeholder__title {
  font-size: 1.3rem;
}

.editorial-placeholder--wide {
  padding: 1.25rem;
}

.listen-card,
.community-panel,
.sponsor-panel {
  position: relative;
  overflow: hidden;
  border-top: 2px solid rgba(179, 33, 51, 0.5);
}

.listen-card::after,
.community-panel::after,
.sponsor-panel::after,
.archive-header::after {
  display: none;
}

.listen-card__label,
.sponsor-panel__label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.55rem;
  color: #e4b5bc;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.listen-card__label::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: currentColor;
}

.listen-card h2,
.community-panel h2,
.article-cta h2,
.share-panel h2,
.widget-title {
  font-size: clamp(1.2rem, 3.4vw, 1.75rem);
}

.listen-card__actions,
.article-cta__actions,
.site-footer__actions,
.share-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.latest-layout {
  align-items: start;
}

.latest-side {
  align-self: start;
}

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

.latest-stack .story-card--list {
  grid-column: 1 / -1;
}

.latest-stack .editorial-placeholder--wide {
  grid-column: 1 / -1;
}

.editorial-sections {
  display: grid;
  gap: 1rem;
}

.category-block {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  border-top: 2px solid rgba(179, 33, 51, 0.38);
  background: var(--surface-soft);
}

.archive-header p {
  margin-top: 0.8rem;
}

.archive-description p {
  margin: 0.6rem 0 0;
}

.archive-feed {
  grid-template-columns: 1fr;
}

.content-layout--archive,
.content-layout--article {
  align-items: start;
}

.topic-list {
  display: grid;
  gap: 0.7rem;
}

.topic-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 0.95rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text-soft);
}

.topic-list strong {
  color: var(--text);
}

.search-form {
  display: flex;
  gap: 0.65rem;
  min-width: 0;
}

.search-form label {
  flex: 1 1 auto;
}

.widget-shell--cta .button {
  margin-top: 0.9rem;
}

.widget,
.widget-shell {
  padding: 1.1rem;
}

.widget {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(36, 44, 54, 0.88);
}

.widget-shell--cta {
  border-top: 2px solid rgba(179, 33, 51, 0.38);
}

.widget-title {
  margin: 0 0 0.85rem;
}

.single-article {
  display: grid;
  gap: 1.25rem;
}

.article-hero {
  display: grid;
  gap: 1rem;
}

.article-hero__inner {
  max-width: 860px;
}

.single-post__title {
  font-size: clamp(2.35rem, 5.3vw, 4.7rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.035em;
}

.single-post__excerpt {
  margin-top: 1.1rem;
  max-width: 720px;
  font-size: 1rem;
  color: #d5d9df;
  line-height: 1.7;
}

.article-authorline {
  display: grid;
  gap: 0.45rem;
  margin-top: 1.15rem;
  padding-top: 0.95rem;
  border-top: 1px solid var(--line);
}

.article-authorline__name {
  margin: 0;
}

.single-post__thumbnail {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: none;
}

.single-post__thumbnail img {
  width: 100%;
  max-height: 640px;
  object-fit: cover;
}

.single-post__thumbnail--placeholder {
  min-height: clamp(220px, 32vw, 420px);
  background: #2b3440;
}

.single-post__visual-placeholder {
  display: grid;
  align-content: end;
  gap: 0.75rem;
  height: 100%;
  padding: 1.4rem;
}

.single-post__visual-placeholder span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.single-post__visual-placeholder strong {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  line-height: 0.95;
  text-transform: none;
}

.article-sheet {
  background: var(--panel);
  border-color: var(--panel-line);
  color: var(--panel-text);
  padding: clamp(1.3rem, 3vw, 2.55rem);
}

.entry-content {
  font-family: var(--font-body);
  font-size: clamp(1.03rem, 0.98rem + 0.2vw, 1.14rem);
  font-weight: 400;
  line-height: 1.82;
  letter-spacing: -0.005em;
  color: var(--panel-text);
}

.entry-content > * {
  margin: 0 0 1.2rem;
}

.entry-content p,
.entry-content li,
.entry-content figcaption,
.entry-content th,
.entry-content td {
  color: var(--panel-text);
}

.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  margin-top: 1.9rem;
  color: var(--panel-text);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-transform: none;
}

.entry-content h2 {
  font-size: clamp(1.7rem, 4vw, 2.35rem);
}

.entry-content h3 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
}

.entry-content a {
  color: #8f2634;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
}

.entry-content blockquote {
  margin: 1.5rem 0;
  padding: 1.2rem 1.35rem;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  background: rgba(18, 23, 29, 0.05);
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.25rem;
}

.entry-content table {
  width: 100%;
  display: block;
  overflow-x: auto;
  max-width: 100%;
  border-collapse: collapse;
}

.entry-content iframe,
.entry-content video,
.entry-content embed,
.entry-content object {
  max-width: 100%;
}

.entry-content th,
.entry-content td {
  padding: 0.8rem;
  border: 1px solid var(--panel-line);
}

.entry-taxonomies {
  margin-top: 2rem;
}

.entry-taxonomies a {
  background: rgba(18, 23, 29, 0.08);
  color: #6f1f2b;
  border-color: rgba(18, 23, 29, 0.08);
}

.share-panel h2,
.article-cta h2 {
  font-size: clamp(1.4rem, 3vw, 2.1rem);
}

.story-grid--related {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.post-navigation .nav-links {
  display: grid;
  gap: 0.8rem;
}

.post-navigation a {
  display: block;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  color: var(--text);
}

.pagination-wrap .nav-links,
.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.6rem;
  min-height: 2.6rem;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
}

.page-numbers.current {
  background: rgba(179, 33, 51, 0.16);
  border-color: rgba(179, 33, 51, 0.3);
}

.site-footer {
  margin-top: 2rem;
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--line);
  background: #171d24;
}

.site-footer__grid {
  align-items: start;
}

.site-footer__heading {
  margin-bottom: 0.85rem;
  font-size: 1.25rem;
}

.site-footer__menu .menu,
.site-footer__nav .menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.site-footer__nav a {
  display: inline-flex;
  padding: 0.5rem 0.2rem;
  border-radius: 0;
  color: var(--text-soft);
}

.site-footer__nav a:hover,
.site-footer__nav a:focus-visible {
  color: #ffffff;
}

.site-footer__contact p,
.site-footer__summary,
.site-footer__legal {
  margin: 0.45rem 0 0;
}

.site-footer__bottom {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.empty-state {
  text-align: center;
}

.empty-state h2,
.empty-state h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  text-transform: none;
}

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

.screen-reader-text:focus {
  clip: auto;
  width: auto;
  height: auto;
  margin: 0.5rem;
  padding: 0.75rem 1rem;
  background: #ffffff;
  color: #000000;
  z-index: 999;
}

.alignleft {
  float: left;
  margin: 0.25rem 1rem 1rem 0;
}

.alignright {
  float: right;
  margin: 0.25rem 0 1rem 1rem;
}

.aligncenter {
  display: block;
  margin: 1rem auto;
}

.wp-caption,
.gallery-caption {
  max-width: 100%;
}

.sticky {
  border-color: rgba(179, 33, 51, 0.32);
}

.bypostauthor {
  outline: 0;
}

@media (min-width: 720px) {
  .site-shell {
    width: min(100% - 2rem, 1320px);
  }

  .content-layout--archive,
  .content-layout--article {
    grid-template-columns: minmax(0, 1fr) 320px;
  }

  .category-block__layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(250px, 0.85fr);
    align-items: start;
  }

  .site-footer__grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
  }

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

  .archive-feed .story-card--list {
    grid-column: 1 / -1;
  }
}

@media (min-width: 960px) {
  .site-header__inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1.25rem;
  }

  .site-navigation {
    display: block;
    grid-column: auto;
    justify-self: stretch;
  }

  .js .site-navigation {
    display: block;
  }

  .primary-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .nav-toggle {
    display: none;
  }

  .frontpage-layout {
    grid-template-columns: minmax(0, 1.65fr) minmax(320px, 0.9fr);
    align-items: start;
  }

  .latest-layout {
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.8fr);
  }

  .editorial-sections {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

@media (max-width: 959px) {
  .site-topbar {
    display: none;
  }

  .site-description {
    display: none;
  }

  .site-header__inner {
    gap: 0.75rem 0.5rem;
    padding: 0.75rem 0;
  }

  .site-navigation {
    margin-top: 0.35rem;
  }

  .js .site-navigation {
    position: absolute;
    inset: calc(100% + 0.45rem) 0 auto;
    z-index: 20;
    margin-top: 0;
    padding: 0.25rem 0.9rem 0.6rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #10151b;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-0.25rem);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .js .site-navigation.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-menu a {
    padding: 0.85rem 0;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
    font-size: 0.79rem;
  }

  .primary-menu li:last-child a {
    border-bottom: 0;
  }

  .menu-item-live a {
    border: 0;
    background: transparent;
    color: #f2d4d8;
  }

  .site-header__actions .button--live,
  .nav-toggle {
    padding-inline: 0.8rem;
    min-height: 2.2rem;
  }

  .frontpage-layout,
  .latest-layout,
  .content-layout--archive,
  .content-layout--article {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 639px) {
  .site-shell {
    width: min(100% - 1rem, 1320px);
  }

  .breaking-bar__inner {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .breaking-bar__label {
    font-size: 0.68rem;
  }

  .breaking-bar__item,
  .breaking-bar__empty {
    font-size: 0.8rem;
  }

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

  .site-header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .site-branding {
    gap: 0.65rem;
  }

  .site-title {
    font-size: 1.05rem;
  }

  .site-branding__logo img,
  .custom-logo-link img,
  .site-branding__fallback {
    width: 36px;
    height: 36px;
  }

  .site-header__actions {
    gap: 0.3rem;
  }

  .button-label--desktop {
    display: none;
  }

  .button-label--mobile {
    display: inline;
  }

  .site-header__live,
  .nav-toggle {
    font-size: 0.72rem;
    padding: 0.58rem 0.64rem;
  }

  .story-card--feature .story-card__title {
    max-width: none;
    font-size: clamp(1.9rem, 8vw, 2.85rem);
  }

  .section-heading h1,
  .section-heading h2 {
    font-size: clamp(1.6rem, 7vw, 2.1rem);
  }

  .story-card__excerpt,
  .single-post__excerpt,
  .section-heading p,
  .archive-description,
  .site-footer__summary,
  .widget-shell p,
  .rail-module p,
  .empty-state p,
  .share-panel p,
  .article-cta p,
  .community-panel p {
    font-size: 0.95rem;
  }

  .entry-content {
    font-size: 1rem;
    line-height: 1.76;
  }

  .story-card--compact,
  .story-card--list {
    grid-template-columns: 1fr;
  }

  .story-card--compact .story-card__media,
  .story-card--list .story-card__media {
    aspect-ratio: 16 / 10;
  }

  .listen-card__actions,
  .article-cta__actions,
  .share-panel__actions,
  .site-footer__actions,
  .editorial-placeholder__actions {
    flex-direction: column;
  }

  .listen-card__actions .button,
  .article-cta__actions .button,
  .share-panel__actions .button,
  .site-footer__actions .button,
  .editorial-placeholder__actions .button {
    width: 100%;
  }

  .section-heading h1,
  .section-heading h2,
  .single-post__title {
    letter-spacing: 0;
  }

  .story-card__content,
  .rail-module,
  .widget-shell,
  .category-block,
  .listen-card,
  .community-panel,
  .sponsor-panel,
  .editorial-placeholder,
  .article-sheet,
  .share-panel,
  .article-cta,
  .related-posts {
    padding-inline: 1rem;
  }
}

@media (max-width: 420px) {
  .site-header__inner {
    grid-template-columns: 1fr;
  }

  .site-header__actions {
    justify-self: stretch;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .site-navigation {
    inset: calc(100% + 0.4rem) 0 auto;
  }

  .site-header__live,
  .nav-toggle {
    flex: 0 0 auto;
  }

  .single-post__title {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
