/*
Theme Name: Blog del Contador
Theme URI: https://blogdelcontador.ar/
Author: Codex
Author URI: https://openai.com/
Description: Theme editorial para noticias y analisis orientados a contadores, estudios y profesionales en ciencias economicas.
Version: 2.0.6
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: blogdelcontador
*/

:root {
  /* Azul = estructura, naranja = accion, verde = estados/datos positivos, grises = base mate. */
  --bdc-primary: #151447;
  --bdc-accent: #f36c21;
  --bdc-accent-hover: #d9540d;
  --bdc-secondary: #1f7a63;
  --bdc-secondary-hover: #17614e;
  --bdc-bg: #f3f4f8;
  --bdc-white: #fafafa;
  --bdc-border: #d4d4d4;
  --bdc-text: #1f1f1f;
  --bdc-text-light: #666666;
  --bg: var(--bdc-bg);
  --surface: rgba(250, 250, 250, 0.92);
  --ink: var(--bdc-text);
  --muted: var(--bdc-text-light);
  --line: rgba(21, 20, 71, 0.12);
  --accent: var(--bdc-accent);
  --accent-dark: var(--bdc-accent-hover);
  --navy: var(--bdc-primary);
  --positive: var(--bdc-secondary);
  --positive-dark: var(--bdc-secondary-hover);
  --shadow: 0 22px 60px rgba(31, 31, 31, 0.09);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-y: scroll;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(198, 90, 22, 0.09), transparent 24%),
    radial-gradient(circle at bottom right, rgba(31, 122, 99, 0.08), transparent 22%),
    linear-gradient(180deg, #f7f7fa 0%, var(--bg) 52%, #eceef3 100%);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-y: auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(21, 20, 71, 0.035) 1px, transparent 1px);
  background-size: 100% 32px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 80%);
}

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

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

p,
h1,
h2,
h3,
h4 {
  margin-top: 0;
}

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

.site-main {
  min-height: 60vh;
}

.top-strip {
  border-bottom: 1px solid var(--line);
  background: rgba(21, 20, 71, 0.97);
  color: var(--bdc-white);
}

.top-strip__inner {
  display: flex;
  gap: 16px;
  align-items: center;
  min-height: 48px;
}

.top-strip__inner p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(250, 250, 250, 0.82);
}

.pill,
.tag,
.section-kicker,
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 800;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(198, 90, 22, 0.16);
  color: #fff3eb;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(243, 244, 248, 0.86);
  border-bottom: 1px solid rgba(21, 20, 71, 0.08);
}

.brand-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
}

.eyebrow {
  color: var(--accent);
  margin-bottom: 6px;
}

.brand {
  font-family: "Libre Baskerville", serif;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1;
  color: var(--navy);
}

.main-nav {
  color: var(--muted);
}

.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.menu-item {
  font-weight: 700;
}

.main-nav a {
  color: var(--navy);
}

.main-nav a:hover,
.headline-band a:hover,
.section-head a:hover,
.footer-links a:hover {
  color: var(--accent);
}

.hero {
  padding: 44px 0 28px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(320px, 0.85fr);
  gap: 24px;
  align-items: stretch;
}

.hero__lead,
.hero__panel,
.entry-card,
.agenda-card,
.news-card,
.sidebar-card,
.archive-card,
.archive-header,
.single-post,
.widget,
.search-panel,
.empty-state {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(21, 20, 71, 0.08);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero__lead {
  padding: clamp(28px, 5vw, 54px);
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(21, 20, 71, 0.04), rgba(21, 20, 71, 0.1)),
    linear-gradient(140deg, rgba(250, 250, 250, 0.98), rgba(234, 237, 244, 0.86));
}

.hero__thumb,
.entry-card__thumb {
  display: block;
  overflow: hidden;
  border-radius: calc(var(--radius) - 8px);
  margin-bottom: 18px;
}

.hero__thumb img,
.entry-card__thumb img,
.single-post__thumbnail img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero__thumb img {
  aspect-ratio: 16 / 8.5;
}

.hero__lead::after {
  content: "";
  position: absolute;
  top: -64px;
  right: -54px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 90, 22, 0.22), transparent 70%);
}

.hero__lead h1,
.section-head h2,
.sidebar-card h2,
.newsletter h2,
.archive-header h1,
.single-post__title,
.widget-title,
.page-title,
.archive-card .entry-title,
.entry-card .entry-title,
.news-card .entry-title {
  font-family: "Libre Baskerville", serif;
  line-height: 1.15;
  color: var(--navy);
}

.hero__lead .entry-title,
.hero__lead h1 {
  font-size: clamp(2.5rem, 5vw, 4.9rem);
  max-width: 12ch;
  margin-bottom: 18px;
}

.hero__lead .entry-summary,
.hero__lead p {
  max-width: 62ch;
  font-size: 1.05rem;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
}

.btn--primary {
  background: var(--accent);
  color: #fff7f1;
}

.btn--primary:hover {
  background: var(--accent-dark);
}

.btn--ghost {
  border: 1px solid rgba(21, 20, 71, 0.15);
  background: rgba(250, 250, 250, 0.82);
  color: var(--navy);
}

.hero__panel {
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(21, 20, 71, 0.96), rgba(14, 13, 48, 0.98)),
    var(--navy);
  color: var(--bdc-white);
  display: grid;
  gap: 24px;
  align-content: start;
}

.panel__label {
  margin-bottom: 22px;
  color: rgba(250, 250, 250, 0.74);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 800;
}

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

.signal-list li {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(250, 250, 250, 0.14);
}

.signal-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.signal-list strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.1rem;
  color: #ccf2e6;
}

.signal-list span {
  color: rgba(250, 250, 250, 0.82);
}

.hero__briefs {
  display: grid;
  gap: 12px;
}

.brief-card {
  padding-top: 14px;
  border-top: 1px solid rgba(250, 250, 250, 0.12);
}

.brief-card__meta {
  display: inline-flex;
  margin-bottom: 8px;
  color: rgba(204, 242, 230, 0.9);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
}

.brief-card h3 {
  margin: 0;
  font-family: "Libre Baskerville", serif;
  font-size: 1rem;
  line-height: 1.35;
}

.post-categories {
  list-style: none;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 14px;
  padding: 0;
}

.post-categories a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(198, 90, 22, 0.1);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.headline-band {
  padding: 18px 0 10px;
}

.latest-strip {
  padding: 8px 0 14px;
}

.latest-strip__inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: 18px;
  align-items: start;
}

.latest-strip__inner h2 {
  margin-bottom: 0;
  font-family: "Libre Baskerville", serif;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  color: var(--navy);
}

.latest-strip__list {
  display: grid;
  gap: 12px;
}

.latest-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid rgba(21, 20, 71, 0.08);
  border-radius: 18px;
  background: rgba(250, 250, 250, 0.9);
  box-shadow: 0 10px 28px rgba(31, 31, 31, 0.05);
}

.latest-item__date {
  display: inline-flex;
  min-width: 58px;
  justify-content: center;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(31, 122, 99, 0.12);
  color: var(--positive);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.latest-item h3 {
  margin: 0;
  font-family: "Libre Baskerville", serif;
  font-size: 1.02rem;
  line-height: 1.35;
}

.headline-band__grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr;
  gap: 20px;
}

.entry-card,
.archive-card,
.agenda-card,
.news-card,
.sidebar-card,
.archive-header,
.single-post,
.widget,
.search-panel,
.empty-state {
  padding: 24px;
}

.entry-card--lead {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(21, 20, 71, 0.03), rgba(21, 20, 71, 0.12)),
    linear-gradient(160deg, rgba(250, 250, 250, 0.95), rgba(232, 236, 245, 0.94));
}

.entry-card .entry-title,
.archive-card .entry-title,
.agenda-card h3,
.news-card h3,
.analysis-card h3 {
  font-family: "Libre Baskerville", serif;
  line-height: 1.25;
}

.entry-card__thumb img,
.single-post__thumbnail img {
  aspect-ratio: 16 / 10;
}

.entry-summary,
.archive-card p,
.news-card p,
.agenda-card p,
.single-post__excerpt,
.single-post__meta,
.site-footer p,
.footer-note {
  color: var(--muted);
}

.entry-meta,
.single-post__meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.88rem;
}

.entry-card__link,
.archive-card__link,
.section-head a {
  display: inline-flex;
  margin-top: 12px;
  font-weight: 800;
  color: var(--accent);
}

.content {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 0.9fr);
  gap: 24px;
  padding: 26px 0 56px;
}

.analysis-band {
  padding: 8px 0 22px;
}

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

.analysis-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(21, 20, 71, 0.08);
  border-radius: 20px;
  background: rgba(250, 250, 250, 0.94);
  box-shadow: 0 12px 32px rgba(31, 31, 31, 0.05);
}

.section-block + .section-block {
  margin-top: 28px;
}

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

.section-kicker {
  margin-bottom: 8px;
  color: var(--accent);
}

.section-head h2,
.sidebar-card h2,
.newsletter h2 {
  margin-bottom: 0;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.agenda-grid,
.news-grid,
.sidebar-column {
  display: grid;
  gap: 18px;
}

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

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

.agenda-card__day {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--positive);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 800;
}

.content__sidebar {
  display: grid;
  gap: 18px;
  align-content: start;
}

.sidebar-card--contrast {
  background:
    linear-gradient(180deg, rgba(198, 90, 22, 0.95), rgba(169, 78, 18, 0.98));
  color: #fff4ed;
}

.sidebar-card--contrast .section-kicker,
.sidebar-card--contrast p,
.sidebar-card--contrast a {
  color: rgba(255, 244, 237, 0.84);
}

.market-list,
.widget ul {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.market-list li,
.widget li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.market-list li:last-child,
.widget li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.market-list span {
  color: var(--muted);
}

.market-list strong,
.market-list strong a {
  color: var(--positive);
}

.archive-layout,
.single-layout {
  padding: 42px 0 56px;
}

.archive-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 0.85fr);
  gap: 24px;
}

.archive-shell {
  display: grid;
  gap: 18px;
}

.archive-card--row {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
  gap: 20px;
  align-items: start;
}

.archive-card__content {
  display: grid;
  gap: 10px;
  align-content: start;
}

.single-post__title {
  font-size: clamp(2rem, 4vw, 3.6rem);
  margin-bottom: 18px;
}

body.single .site-header {
  position: static;
}

body.single .top-strip {
  position: static;
}

body.single .single-post {
  overflow: visible;
}

body.single::before {
  position: absolute;
}

body.single .site-main,
body.single .single-layout {
  overflow: visible;
}

html,
body.single {
  overflow-y: auto;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.single-post__content {
  font-size: 1.06rem;
  overflow-wrap: anywhere;
}

.single-post__content h2,
.single-post__content h3,
.single-post__content h4 {
  font-family: "Libre Baskerville", serif;
  line-height: 1.25;
}

.single-post__content a {
  color: var(--accent);
}

.single-post__content img,
.single-post__content iframe,
.single-post__content embed,
.single-post__content object,
.single-post__thumbnail img {
  display: block;
  max-width: 100%;
}

.single-post__content iframe,
.single-post__content embed,
.single-post__content object {
  width: 100%;
  min-height: 420px;
  border: 0;
}

.single-post__content blockquote {
  margin: 24px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--accent);
  background: rgba(198, 90, 22, 0.06);
  border-radius: 14px;
}

.single-post__nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.single-post__nav a {
  font-weight: 800;
}

.single-post__author-box {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid rgba(21, 20, 71, 0.08);
  border-radius: calc(var(--radius) - 2px);
  background: linear-gradient(180deg, rgba(31, 122, 99, 0.05), rgba(250, 250, 250, 0.96));
}

.single-post__author-box h2 {
  margin-bottom: 10px;
  font-family: "Libre Baskerville", serif;
  color: var(--navy);
}

.pagination,
.page-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.pagination .page-numbers,
.page-links a,
.page-links > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(21, 20, 71, 0.12);
  background: rgba(250, 250, 250, 0.84);
  font-weight: 800;
}

.pagination .current,
.page-links > span {
  background: var(--accent);
  color: #fff7f1;
  border-color: transparent;
}

.newsletter {
  padding: 0 0 56px;
}

.newsletter__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  padding: 30px;
  border-radius: calc(var(--radius) + 6px);
  background:
    linear-gradient(135deg, rgba(21, 20, 71, 0.97), rgba(31, 122, 99, 0.92));
  color: var(--bdc-white);
  box-shadow: var(--shadow);
}

.newsletter-form,
.search-form {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.newsletter-form input,
.search-field,
input[type="text"],
input[type="email"],
input[type="search"],
textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(21, 20, 71, 0.14);
  border-radius: 16px;
  background: rgba(250, 250, 250, 0.9);
  color: var(--ink);
  padding: 0 18px;
  font: inherit;
}

.newsletter-form input {
  border-color: rgba(250, 250, 250, 0.16);
  background: rgba(250, 250, 250, 0.08);
  color: #fff;
}

.newsletter-form input::placeholder {
  color: rgba(250, 250, 250, 0.56);
}

textarea {
  min-height: 160px;
  padding-top: 12px;
  resize: vertical;
}

.newsletter-form button,
.search-submit,
button,
input[type="submit"] {
  min-height: 52px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff7f1;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.site-footer {
  padding: 0 0 34px;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid rgba(21, 20, 71, 0.1);
}

.brand--footer {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

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

@media (max-width: 1024px) {
  .hero__grid,
  .content,
  .newsletter__inner,
  .headline-band__grid,
  .latest-strip__inner,
  .analysis-band__grid,
  .agenda-grid,
  .archive-layout {
    grid-template-columns: 1fr;
  }

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

  .hero__lead {
    min-height: auto;
  }

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

@media (max-width: 720px) {
  .brand-row,
  .section-head,
  .site-footer__inner,
  .newsletter-form,
  .top-strip__inner,
  .single-post__nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu {
    gap: 12px;
  }

  .hero {
    padding-top: 24px;
  }

  .hero__lead,
  .hero__panel,
  .entry-card,
  .agenda-card,
  .news-card,
  .sidebar-card,
  .archive-card,
  .archive-header,
  .single-post,
  .widget,
  .search-panel,
  .empty-state,
  .newsletter__inner {
    padding: 20px;
  }

  .hero__lead .entry-title,
  .hero__lead h1 {
    max-width: 100%;
  }

  .newsletter-form {
    width: 100%;
  }
}

/* Newspaper-style overrides */
.top-strip__inner {
  justify-content: space-between;
}

.top-strip__meta,
.top-strip__links {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.top-strip__ticker {
  flex: 1;
  min-width: 0;
  padding: 0 18px;
}

.top-strip__date,
.top-strip__links a {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.masthead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: center;
  padding: 28px 0 20px;
}

.masthead__brand {
  text-align: center;
}

.masthead__tagline,
.masthead__aside p {
  margin: 10px 0 0;
  color: var(--muted);
}

.masthead__aside {
  padding-left: 24px;
  border-left: 1px solid rgba(21, 20, 71, 0.12);
}

.masthead__label {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}

.main-nav {
  border-top: 1px solid rgba(21, 20, 71, 0.08);
  border-bottom: 1px solid rgba(21, 20, 71, 0.08);
}

.menu {
  gap: 26px;
  justify-content: center;
  min-height: 58px;
  align-items: center;
}

.subnav-bar {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 14px 0 6px;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__grid {
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.9fr) minmax(260px, 0.72fr);
  align-items: start;
}

.hero__lead {
  min-height: 640px;
}

.hero__lead .entry-title,
.hero__lead h1 {
  font-size: clamp(2.8rem, 5.2vw, 5.3rem);
  max-width: 10ch;
}

.hero__stack,
.hero__panel {
  display: grid;
  gap: 18px;
  align-content: start;
}

.hero-stack-card {
  padding: 22px;
  border: 1px solid rgba(21, 20, 71, 0.08);
  border-radius: 20px;
  background: rgba(250, 250, 250, 0.94);
  box-shadow: 0 10px 28px rgba(31, 31, 31, 0.05);
}

.hero-stack-card--large {
  padding: 0 0 22px;
  overflow: hidden;
}

.hero-stack-card--large .post-categories,
.hero-stack-card--large .entry-title,
.hero-stack-card--large .entry-summary,
.hero-stack-card--large .entry-meta {
  padding-left: 22px;
  padding-right: 22px;
}

.hero-stack-card--large .entry-title {
  font-size: clamp(1.5rem, 2.2vw, 2.3rem);
}

.hero__panel-block {
  padding-top: 18px;
  border-top: 1px solid rgba(250, 250, 250, 0.12);
}

.hero__panel-block p {
  margin-bottom: 16px;
  color: rgba(250, 250, 250, 0.82);
}

.latest-strip {
  padding: 18px 0 24px;
}

.latest-strip__inner {
  grid-template-columns: 220px minmax(0, 1fr);
  padding: 18px 22px;
  border-top: 2px solid var(--navy);
  border-bottom: 1px solid rgba(21, 20, 71, 0.08);
  background: rgba(250, 250, 250, 0.76);
}

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

.latest-item {
  grid-template-columns: 1fr;
  padding: 0 12px;
  border-left: 1px solid rgba(21, 20, 71, 0.1);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.editorial-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) 320px;
  gap: 28px;
  padding: 8px 0 24px;
}

.editorial-shell__main {
  display: grid;
  gap: 30px;
}

.editor-picks__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 22px;
}

.editor-feature,
.editor-brief {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(21, 20, 71, 0.08);
  border-radius: 20px;
  background: rgba(250, 250, 250, 0.94);
  box-shadow: 0 12px 30px rgba(31, 31, 31, 0.05);
}

.editor-feature {
  padding: 0 0 24px;
}

.editor-feature .post-categories,
.editor-feature .entry-title,
.editor-feature .entry-summary,
.editor-feature .entry-meta {
  padding-left: 24px;
  padding-right: 24px;
}

.editor-feature .entry-title {
  font-size: clamp(1.7rem, 2.5vw, 2.4rem);
}

.editor-brief {
  padding: 20px 22px;
}

.editor-picks__grid > .editor-brief + .editor-brief {
  margin-top: 16px;
}

.analysis-band {
  padding: 8px 0 4px;
}

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

.editorial-shell__sidebar {
  display: grid;
  gap: 18px;
  align-content: start;
}

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

.category-deck {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding: 4px 0 26px;
}

.category-panel {
  padding: 24px;
  border: 1px solid rgba(21, 20, 71, 0.08);
  border-top: 3px solid var(--navy);
  border-radius: 22px;
  background: rgba(250, 250, 250, 0.94);
  box-shadow: 0 12px 30px rgba(31, 31, 31, 0.05);
}

.category-panel__list {
  display: grid;
  gap: 14px;
}

.category-mini {
  padding-top: 14px;
  border-top: 1px solid rgba(21, 20, 71, 0.08);
}

.category-mini:first-child {
  padding-top: 0;
  border-top: 0;
}

.category-mini h3 {
  margin-bottom: 10px;
  font-family: "Libre Baskerville", serif;
  font-size: 1.1rem;
  line-height: 1.35;
  color: var(--navy);
}

.must-read {
  padding: 10px 0 30px;
}

.must-read__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 360px;
  gap: 24px;
}

.must-read__feature,
.must-read__list {
  border: 1px solid rgba(21, 20, 71, 0.08);
  border-radius: 24px;
  background: rgba(250, 250, 250, 0.94);
  box-shadow: 0 12px 30px rgba(31, 31, 31, 0.05);
}

.must-read__feature {
  overflow: hidden;
  padding: 0 0 24px;
}

.must-read__feature .post-categories,
.must-read__feature .entry-title,
.must-read__feature .entry-summary,
.must-read__feature .entry-meta {
  padding-left: 24px;
  padding-right: 24px;
}

.must-read__feature .entry-title {
  font-size: clamp(1.7rem, 2.5vw, 2.5rem);
}

.must-read__list {
  padding: 24px;
  display: grid;
  gap: 16px;
}

.must-read__item {
  padding-top: 16px;
  border-top: 1px solid rgba(21, 20, 71, 0.08);
}

.must-read__item:first-child {
  padding-top: 0;
  border-top: 0;
}

.must-read__item span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
}

.must-read__item h3 {
  margin: 0;
  font-family: "Libre Baskerville", serif;
  font-size: 1.06rem;
  line-height: 1.4;
}

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

@media (max-width: 1024px) {
  .masthead,
  .hero__grid,
  .editorial-shell,
  .editor-picks__grid,
  .latest-strip__inner,
  .latest-strip__list,
  .analysis-band__grid,
  .site-footer__inner,
  .category-deck,
  .must-read__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .top-strip__inner,
  .top-strip__meta,
  .top-strip__links {
    flex-direction: column;
    align-items: flex-start;
  }

  .top-strip__ticker {
    padding: 0;
  }

  .masthead__brand {
    text-align: left;
  }

  .masthead__aside {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(21, 20, 71, 0.12);
    padding-top: 18px;
  }

  .menu,
  .subnav-bar {
    justify-content: flex-start;
  }

  .hero__lead {
    min-height: auto;
  }
}

.archive-layout--editorial {
  grid-template-columns: minmax(0, 1.6fr) 320px;
  align-items: start;
}

.archive-shell--editorial,
.archive-stream,
.sidebar-column--editorial,
.single-layout__rail {
  display: grid;
  gap: 20px;
}

.archive-header,
.search-panel {
  padding: 30px;
  border-top: 3px solid var(--navy);
}

.archive-card--editorial {
  background: rgba(250, 250, 250, 0.96);
  border-radius: 24px;
}

.archive-card--editorial .entry-title {
  font-size: clamp(1.5rem, 2vw, 2rem);
}

.archive-card--editorial .entry-summary {
  font-size: 1rem;
}

.widget--feature {
  border-top: 3px solid var(--navy);
}

.widget--newsletter {
  background: linear-gradient(180deg, rgba(21, 20, 71, 0.97), rgba(31, 122, 99, 0.9));
  color: var(--bdc-white);
}

.widget--newsletter .widget-title,
.widget--newsletter p,
.widget--newsletter .section-kicker {
  color: inherit;
}

.single-layout--editorial {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) 320px;
  gap: 28px;
  align-items: start;
}

.single-layout__main {
  min-width: 0;
}

.single-post--editorial {
  padding: 34px;
  border-top: 3px solid var(--navy);
}

.single-post--editorial .single-post__title {
  font-size: clamp(2.4rem, 4.8vw, 4.4rem);
  max-width: 12ch;
}

.single-post__thumbnail {
  margin: 24px 0;
}

.single-post__thumbnail img {
  border-radius: 22px;
}

.single-post__content p {
  font-size: 1.08rem;
  line-height: 1.8;
  max-width: 72ch;
}

.single-post__author-box,
.widget,
.archive-card--editorial,
.search-panel,
.archive-header {
  box-shadow: 0 14px 34px rgba(31, 31, 31, 0.05);
}

.site-footer__brand,
.site-footer__nav,
.site-footer__note {
  display: grid;
  align-content: start;
  gap: 10px;
}

@media (max-width: 1024px) {
  .archive-layout--editorial,
  .single-layout--editorial {
    grid-template-columns: 1fr;
  }
}

/* Blog del Contador 2.0: hybrid newsroom */
body {
  background: #f7f7fa;
  color: #20202a;
}

body::before {
  display: none;
}

.wrap {
  width: min(1380px, calc(100% - 48px));
}

.site-main {
  min-height: 68vh;
}

.bdc-breaking {
  background: #151447;
  color: #fff;
}

.bdc-breaking__inner {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  min-height: 40px;
  font-size: 0.78rem;
}

.bdc-breaking strong {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.bdc-breaking time {
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}

.bdc-breaking__headlines {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  min-width: 0;
}

.bdc-breaking__headlines a {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bdc-breaking__headlines a span {
  margin-right: 9px;
  color: #f36c21;
  font-size: 1.15em;
}

.bdc-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid #dedee7;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
}

.bdc-header__main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  min-height: 76px;
}

.bdc-brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: #151447;
  white-space: nowrap;
}

.bdc-brand__mark,
.bdc-brand__logo {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  overflow: hidden;
  border-radius: 4px;
  background: #f36c21;
  color: #fff;
  font-family: "Libre Baskerville", serif;
  font-size: 1.65rem;
}

.bdc-brand__logo {
  width: min(240px, 29vw);
  height: auto;
  border-radius: 0;
  background: transparent;
}

.bdc-brand__logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.bdc-brand__name {
  font-family: "Libre Baskerville", serif;
  font-size: clamp(1.25rem, 2vw, 1.85rem);
  font-weight: 700;
  line-height: 1;
}

.bdc-navigation {
  min-width: 0;
}

.bdc-navigation .menu {
  justify-content: center;
  min-height: 0;
  gap: clamp(14px, 2vw, 30px);
}

.bdc-navigation .menu-item,
.bdc-navigation .cat-item {
  font-size: 0.88rem;
}

.bdc-navigation a {
  position: relative;
  display: block;
  padding: 28px 0 24px;
  color: #151447;
}

.bdc-navigation a::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: #f36c21;
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: 0.2s ease;
}

.bdc-navigation a:hover::after,
.bdc-navigation .current-menu-item > a::after,
.bdc-navigation .current-cat > a::after {
  opacity: 1;
  transform: scaleX(1);
}

.bdc-header__search .search-form {
  display: flex;
  gap: 0;
}

.bdc-header__search .search-field {
  width: 140px;
  min-height: 40px;
  border-radius: 6px 0 0 6px;
  background: #f7f7fa;
  font-size: 0.82rem;
}

.bdc-header__search .search-submit {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 0 6px 6px 0;
}

.bdc-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid #dedee7;
  border-radius: 6px;
  background: #fff;
}

.bdc-nav-toggle > span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #151447;
}

.bdc-home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(360px, 0.9fr);
  gap: 20px;
  padding-top: 22px;
  padding-bottom: 20px;
}

.bdc-lead-story,
.bdc-hero-brief,
.bdc-topic-panel,
.bdc-secondary-section,
.bdc-rail-card,
.bdc-ranked-news,
.bdc-archive-story,
.bdc-empty-state {
  border: 1px solid #dedee7;
  border-radius: 9px;
  background: #fff;
}

.bdc-lead-story {
  overflow: hidden;
}

.bdc-lead-story__image {
  display: block;
  aspect-ratio: 16 / 8.1;
  overflow: hidden;
  background: #ececf1;
}

.bdc-lead-story__image img,
.bdc-hero-brief__image img,
.bdc-secondary-story__image img,
.bdc-archive-story__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.bdc-lead-story:hover img,
.bdc-hero-brief:hover img,
.bdc-secondary-story:hover img,
.bdc-archive-story:hover img {
  transform: scale(1.025);
}

.bdc-image-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 130px;
  background:
    linear-gradient(135deg, rgba(21, 20, 71, 0.08), rgba(243, 108, 33, 0.12)),
    #eeeef3;
}

.bdc-lead-story__content {
  padding: 24px 26px 26px;
}

.bdc-story-kicker {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
  color: #6b6b76;
  font-size: 0.72rem;
}

.bdc-category-label {
  color: #e85d12;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bdc-card-meta {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: #6b6b76;
  font-size: 0.72rem;
}

.bdc-lead-story h1,
.bdc-archive-header h1,
.bdc-archive-story h2,
.bdc-section-heading h2,
.bdc-topic-panel h2,
.bdc-secondary-section h2,
.bdc-ranked-news h2,
.bdc-rail-card h2 {
  font-family: "Libre Baskerville", serif;
  color: #151447;
}

.bdc-lead-story h1 {
  max-width: 19ch;
  margin-bottom: 10px;
  font-size: clamp(2rem, 3.8vw, 3.65rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.bdc-lead-story__summary,
.bdc-lead-story__summary p {
  margin: 0;
  color: #4d4d58;
  font-size: 1rem;
  line-height: 1.55;
}

.bdc-hero-stack {
  display: grid;
  gap: 10px;
}

.bdc-hero-brief {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  min-height: 132px;
  overflow: hidden;
}

.bdc-hero-brief__image {
  min-height: 100%;
  overflow: hidden;
  background: #ececf1;
}

.bdc-hero-brief__content {
  padding: 15px 17px;
}

.bdc-hero-brief h2 {
  margin: 0;
  font-family: "Libre Baskerville", serif;
  color: #151447;
  font-size: clamp(1rem, 1.3vw, 1.22rem);
  line-height: 1.25;
}

.bdc-latest-bar {
  padding: 0 0 22px;
}

.bdc-latest-bar__inner {
  display: flex;
  gap: 18px;
  align-items: center;
  overflow: hidden;
  border: 1px solid #dedee7;
  border-radius: 7px;
  background: #fff;
}

.bdc-latest-bar strong {
  align-self: stretch;
  display: grid;
  place-items: center;
  padding: 12px 20px;
  background: #f36c21;
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.bdc-latest-bar__items {
  display: flex;
  gap: 26px;
  min-width: 0;
  overflow-x: auto;
  padding: 10px 18px 10px 0;
  scrollbar-width: thin;
}

.bdc-latest-bar__items a {
  min-width: min(420px, 70vw);
  color: #151447;
  font-size: 0.82rem;
  font-weight: 800;
}

.bdc-latest-bar__items time {
  margin-left: 7px;
  color: #777782;
  font-weight: 500;
}

.bdc-home-layout,
.bdc-archive-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
  padding-bottom: 42px;
}

.bdc-home-layout__main,
.bdc-archive-main {
  min-width: 0;
}

.bdc-home-layout__rail,
.bdc-archive-rail,
.bdc-custom-widgets {
  display: grid;
  gap: 16px;
}

.bdc-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #151447;
}

.bdc-section-heading h2 {
  margin: 3px 0 0;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

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

.bdc-topic-panel {
  padding: 18px;
}

.bdc-topic-panel__header {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid #d4d4de;
}

.bdc-topic-panel__header h2 {
  margin: 0;
  font-size: 1.3rem;
}

.bdc-topic-panel__header h2::before {
  display: inline-block;
  width: 4px;
  height: 1.05em;
  margin-right: 9px;
  border-radius: 2px;
  background: #f36c21;
  content: "";
  vertical-align: -0.1em;
}

.bdc-topic-panel__header > a,
.bdc-rail-card > div > a {
  color: #e85d12;
  font-size: 0.75rem;
  font-weight: 800;
  white-space: nowrap;
}

.bdc-topic-panel__stories {
  display: grid;
}

.bdc-topic-story {
  padding: 13px 0;
  border-bottom: 1px solid #e1e1e8;
}

.bdc-topic-story:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.bdc-topic-story time {
  display: block;
  margin-bottom: 5px;
  color: #777782;
  font-size: 0.68rem;
}

.bdc-topic-story h3 {
  margin: 0;
  font-family: "Libre Baskerville", serif;
  color: #151447;
  font-size: 1rem;
  line-height: 1.34;
}

.bdc-topic-story__summary,
.bdc-topic-story__summary p {
  margin: 7px 0 0;
  color: #5c5c67;
  font-size: 0.78rem;
  line-height: 1.45;
}

.bdc-topic-panel__empty {
  margin: 16px 0 0;
  color: #686873;
  font-size: 0.85rem;
}

.bdc-secondary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.bdc-secondary-section {
  padding: 18px;
}

.bdc-secondary-section__list {
  display: grid;
  gap: 12px;
}

.bdc-secondary-story {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid #e1e1e8;
}

.bdc-secondary-story:first-child {
  padding-top: 6px;
  border-top: 0;
}

.bdc-secondary-story__image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 6px;
  background: #ececf1;
}

.bdc-secondary-story h3 {
  margin: 7px 0 0;
  font-family: "Libre Baskerville", serif;
  color: #151447;
  font-size: 0.94rem;
  line-height: 1.35;
}

.bdc-ranked-news,
.bdc-rail-card {
  padding: 18px;
}

.bdc-ranked-news > h2 {
  margin: -18px -18px 4px;
  padding: 12px 16px;
  border-radius: 8px 8px 0 0;
  background: #f36c21;
  color: #fff;
  font-size: 1.25rem;
}

.bdc-ranked-news ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: news-rank;
}

.bdc-ranked-news li {
  position: relative;
  min-height: 64px;
  padding: 12px 0 12px 48px;
  border-bottom: 1px solid #e1e1e8;
  counter-increment: news-rank;
}

.bdc-ranked-news li:last-child {
  padding-bottom: 2px;
  border-bottom: 0;
}

.bdc-ranked-news li::before {
  position: absolute;
  top: 12px;
  left: 0;
  color: #f36c21;
  content: counter(news-rank, decimal-leading-zero);
  font-size: 1.25rem;
  font-weight: 800;
}

.bdc-ranked-news li a {
  display: block;
  color: #151447;
  font-family: "Libre Baskerville", serif;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.32;
}

.bdc-ranked-news li time {
  color: #777782;
  font-size: 0.68rem;
}

.bdc-rail-card {
  display: grid;
  gap: 10px;
}

.bdc-rail-card--siap {
  grid-template-columns: 40px minmax(0, 1fr);
}

.bdc-rail-card__icon {
  display: grid;
  width: 38px;
  height: 46px;
  place-items: center;
  border: 2px solid #f36c21;
  border-radius: 5px;
  color: #f36c21;
  font-family: "Libre Baskerville", serif;
  font-size: 1.4rem;
}

.bdc-rail-card h2 {
  margin: 2px 0 7px;
  font-size: 1.14rem;
}

.bdc-rail-card p {
  margin: 0 0 8px;
  color: #5d5d68;
  font-size: 0.79rem;
  line-height: 1.45;
}

.bdc-rail-card .newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
}

.bdc-rail-card .newsletter-form input,
.bdc-rail-card .newsletter-form button {
  min-width: 0;
  min-height: 42px;
  border-radius: 5px;
  font-size: 0.75rem;
}

.bdc-rail-card .newsletter-form input {
  width: 100%;
  border: 1px solid #cfcfd8;
  padding: 0 10px;
}

.bdc-rail-card .newsletter-form button {
  border: 0;
  padding: 0 12px;
  background: #f36c21;
  color: #fff;
  font-weight: 800;
}

.bdc-ad-slot {
  display: grid;
  min-height: 250px;
  place-content: center;
  border: 1px solid #e1e1e8;
  border-radius: 8px;
  background: linear-gradient(135deg, #f0f0f4, #e6e6ec);
  color: #777782;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.bdc-ad-slot small {
  margin-top: 5px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.bdc-empty-home,
.bdc-empty-state {
  grid-column: 1 / -1;
  padding: 44px;
}

.bdc-archive-header {
  padding-top: 32px;
  padding-bottom: 24px;
}

.bdc-breadcrumb {
  display: flex;
  gap: 8px;
  margin-bottom: 7px;
  color: #656570;
  font-size: 0.78rem;
}

.bdc-breadcrumb a {
  color: #e85d12;
}

.bdc-archive-header h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1.05;
}

.bdc-archive-header__description,
.bdc-archive-header__description p {
  max-width: 72ch;
  margin: 8px 0 0;
  color: #52525d;
  font-size: 1rem;
}

.bdc-archive-filters {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.bdc-archive-filters a,
.bdc-archive-filters__sort {
  padding: 8px 14px;
  border: 1px solid #d2d2dc;
  border-radius: 999px;
  background: #fff;
  color: #31313b;
  font-size: 0.76rem;
  font-weight: 700;
}

.bdc-archive-filters a.is-active {
  border-color: #f36c21;
  background: #f36c21;
  color: #fff;
}

.bdc-archive-filters__sort {
  margin-left: auto;
  border-radius: 6px;
}

.bdc-archive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.bdc-archive-story {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  overflow: hidden;
}

.bdc-archive-story--featured {
  grid-column: 1 / -1;
  grid-template-columns: minmax(300px, 1.05fr) minmax(0, 0.95fr);
}

.bdc-archive-story__image {
  min-height: 178px;
  overflow: hidden;
  background: #ececf1;
}

.bdc-archive-story--featured .bdc-archive-story__image {
  min-height: 300px;
}

.bdc-archive-story__content {
  padding: 17px;
}

.bdc-archive-story h2 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.28;
}

.bdc-archive-story--featured h2 {
  font-size: clamp(1.65rem, 2.5vw, 2.55rem);
}

.bdc-archive-story__summary,
.bdc-archive-story__summary p {
  margin: 9px 0 0;
  color: #585863;
  font-size: 0.78rem;
  line-height: 1.5;
}

.bdc-archive-story--featured .bdc-archive-story__summary,
.bdc-archive-story--featured .bdc-archive-story__summary p {
  font-size: 0.94rem;
}

.bdc-pagination {
  margin-top: 24px;
  justify-content: center;
}

.bdc-pagination .page-numbers {
  border-radius: 5px;
  background: #fff;
}

.bdc-pagination .current {
  border-color: #f36c21;
  background: #f36c21;
}

.single-layout--editorial {
  margin-top: 30px;
  margin-bottom: 44px;
}

.single-layout__rail {
  gap: 16px;
}

.single-post--editorial {
  border: 1px solid #dedee7;
  border-top: 3px solid #151447;
  border-radius: 9px;
  background: #fff;
  box-shadow: none;
}

.single-post--editorial .single-post__title {
  max-width: 17ch;
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.single-post__thumbnail img {
  border-radius: 7px;
}

.site-footer {
  border-top: 4px solid #f36c21;
  background: #151447;
  color: #fff;
}

.site-footer .brand,
.site-footer p,
.site-footer a,
.site-footer .section-kicker {
  color: inherit;
}

.site-footer .brand {
  font-size: 1.55rem;
}

/* Cleaner editorial cards and brand-colored links. */
.bdc-lead-story,
.bdc-hero-brief,
.bdc-topic-panel,
.bdc-secondary-section,
.bdc-archive-story {
  border: 0;
  box-shadow: none;
}

.bdc-topic-story,
.bdc-secondary-story {
  border-color: transparent;
}

.bdc-category-label,
.bdc-topic-panel__header > a,
.bdc-rail-card > div > a,
.bdc-breadcrumb a,
.single-post__content a,
.bdc-navigation a:hover {
  color: #f36c21;
}

.bdc-market-strip {
  margin: -8px 0 26px;
}

.bdc-market-strip__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 54px;
  padding: 0 18px;
  border-top: 1px solid #d8d8e2;
  border-bottom: 1px solid #d8d8e2;
  background: #fff;
}

.bdc-market-strip__inner > strong {
  color: #151447;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.bdc-market-strip__quotes {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-width: 0;
}

.bdc-market-quote {
  display: flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 4px 12px;
  border-left: 1px solid #e1e1e8;
  white-space: nowrap;
}

.bdc-market-quote span {
  overflow: hidden;
  color: #5d5d68;
  font-size: 0.68rem;
  font-weight: 800;
  text-overflow: ellipsis;
  text-transform: uppercase;
}

.bdc-market-quote b {
  color: #151447;
  font-size: 0.78rem;
}

.bdc-market-quote em {
  padding: 2px 5px;
  border-radius: 4px;
  font-size: 0.64rem;
  font-style: normal;
  font-weight: 800;
}

.bdc-market-quote .is-up {
  background: #e2f4ea;
  color: #176b46;
}

.bdc-market-quote .is-down {
  background: #fde9e5;
  color: #a43b2a;
}

.bdc-market-quote .is-flat {
  background: #eeeeF3;
  color: #62626d;
}

.bdc-market-strip__source,
.bdc-market-strip__unavailable {
  color: #777782;
  font-size: 0.64rem;
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .bdc-header__main {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .bdc-header__search {
    display: none;
  }

  .bdc-home-hero {
    grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.9fr);
  }

  .bdc-topic-grid {
    grid-template-columns: 1fr;
  }

  .bdc-market-strip__inner {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .bdc-market-strip__source {
    display: none;
  }

  .bdc-market-strip__quotes {
    overflow-x: auto;
    grid-template-columns: repeat(5, minmax(155px, 1fr));
    scrollbar-width: thin;
  }

  .bdc-topic-panel__stories {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .bdc-topic-story {
    padding: 10px 14px 0 0;
    border-right: 1px solid #e1e1e8;
    border-bottom: 0;
  }

  .bdc-topic-story:last-child {
    border-right: 0;
  }

  .bdc-archive-story:not(.bdc-archive-story--featured) {
    grid-template-columns: 1fr;
  }

  .bdc-archive-story:not(.bdc-archive-story--featured) .bdc-archive-story__image {
    aspect-ratio: 16 / 8.5;
    min-height: 0;
  }
}

@media (max-width: 960px) {
  .wrap {
    width: min(100% - 32px, 1380px);
  }

  .bdc-breaking__inner {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .bdc-breaking time {
    display: none;
  }

  .bdc-breaking__headlines {
    grid-template-columns: 1fr;
  }

  .bdc-breaking__headlines a:nth-child(n + 2) {
    display: none;
  }

  .bdc-header__main {
    grid-template-columns: 1fr auto;
    min-height: 68px;
  }

  .bdc-nav-toggle {
    display: block;
  }

  .bdc-navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    border-top: 1px solid #dedee7;
    border-bottom: 1px solid #dedee7;
    background: #fff;
    box-shadow: 0 18px 35px rgba(21, 20, 71, 0.12);
  }

  .bdc-navigation.is-open {
    display: block;
  }

  .bdc-navigation .menu {
    display: grid;
    width: min(100% - 32px, 1380px);
    margin: 0 auto;
    padding: 12px 0;
  }

  .bdc-navigation a {
    padding: 10px 0;
  }

  .bdc-secondary-grid,
  .bdc-archive-grid,
  .bdc-archive-story--featured {
    grid-template-columns: 1fr;
  }

  .bdc-ad-slot {
    min-height: 220px;
  }

  .bdc-archive-story--featured .bdc-archive-story__image {
    aspect-ratio: 16 / 8;
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .bdc-home-hero,
  .bdc-home-layout,
  .bdc-archive-layout {
    grid-template-columns: 1fr;
  }

  .bdc-home-layout__rail,
  .bdc-archive-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .wrap {
    width: min(100% - 24px, 1380px);
  }

  .bdc-breaking__inner {
    min-height: 36px;
    gap: 12px;
  }

  .bdc-breaking strong {
    font-size: 0.64rem;
  }

  .bdc-breaking__headlines a {
    font-size: 0.68rem;
  }

  .bdc-brand__mark,
  .bdc-brand__logo {
    height: auto;
  }

  .bdc-brand__mark {
    width: 36px;
    height: 36px;
  }

  .bdc-brand__logo {
    width: min(210px, 61vw);
  }

  .bdc-brand__name {
    font-size: 1.08rem;
  }

  .bdc-home-hero {
    padding-top: 12px;
  }

  .bdc-lead-story__image {
    aspect-ratio: 16 / 9;
  }

  .bdc-lead-story__content {
    padding: 18px;
  }

  .bdc-lead-story h1 {
    font-size: 2rem;
  }

  .bdc-hero-brief {
    grid-template-columns: 118px minmax(0, 1fr);
    min-height: 108px;
  }

  .bdc-hero-brief__content {
    padding: 12px;
  }

  .bdc-hero-brief .bdc-story-kicker time {
    display: none;
  }

  .bdc-latest-bar__inner {
    align-items: stretch;
  }

  .bdc-latest-bar strong {
    padding: 10px;
    font-size: 0.64rem;
    writing-mode: vertical-rl;
  }

  .bdc-market-strip {
    margin-top: -10px;
  }

  .bdc-market-strip__inner {
    display: block;
    padding: 8px 0;
  }

  .bdc-market-strip__inner > strong {
    display: block;
    padding: 0 12px 7px;
  }

  .bdc-market-strip__quotes {
    grid-template-columns: repeat(5, minmax(150px, 1fr));
  }

  .bdc-market-quote:first-child {
    border-left: 0;
  }

  .bdc-topic-panel__stories,
  .bdc-secondary-grid,
  .bdc-home-layout__rail,
  .bdc-archive-rail,
  .bdc-archive-grid {
    grid-template-columns: 1fr;
  }

  .bdc-topic-story {
    padding: 12px 0;
    border-right: 0;
    border-bottom: 1px solid #e1e1e8;
  }

  .bdc-secondary-story {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .bdc-archive-header {
    padding-top: 22px;
  }

  .bdc-archive-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .bdc-archive-filters a,
  .bdc-archive-filters__sort {
    flex: 0 0 auto;
  }

  .bdc-archive-filters__sort {
    margin-left: 0;
  }

  .bdc-archive-story,
  .bdc-archive-story--featured {
    grid-template-columns: 1fr;
  }

  .bdc-archive-story__image,
  .bdc-archive-story--featured .bdc-archive-story__image {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .single-post--editorial {
    padding: 20px;
  }
}

/* 2.0.3 - Flat newsroom treatment inspired by Argentine business media. */
body {
  background: #fff;
}

.bdc-lead-story,
.bdc-hero-brief,
.bdc-topic-panel,
.bdc-secondary-section,
.bdc-archive-story,
.bdc-empty-state,
.bdc-lead-story__image,
.bdc-hero-brief__image,
.bdc-secondary-story__image,
.bdc-archive-story__image {
  border: 0 !important;
  border-radius: 0 !important;
  background-color: transparent;
  box-shadow: none !important;
}

.bdc-topic-story,
.bdc-secondary-story,
.bdc-topic-story:last-child,
.bdc-secondary-story:first-child {
  border: 0 !important;
}

.bdc-lead-story h1,
.bdc-hero-brief h2,
.bdc-section-heading h2,
.bdc-topic-panel h2,
.bdc-topic-story h3,
.bdc-secondary-section h2,
.bdc-secondary-story h3,
.bdc-archive-header h1,
.bdc-archive-story h2 {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.bdc-lead-story__content {
  padding: 20px 0 0;
}

.bdc-hero-brief__content {
  padding: 4px 0 4px 16px;
}

.bdc-topic-panel,
.bdc-secondary-section {
  padding: 0;
}

.bdc-topic-grid,
.bdc-secondary-grid {
  gap: 28px;
}

.bdc-topic-story {
  padding: 14px 0 6px;
}

.bdc-secondary-story {
  padding-top: 14px;
}

.bdc-archive-story {
  column-gap: 18px;
}

.bdc-archive-story__content {
  padding: 10px 0 18px;
}

.bdc-archive-story--featured .bdc-archive-story__content {
  padding: 18px 0 18px 4px;
}

.bdc-latest-bar {
  padding: 0 0 14px;
}

.bdc-latest-bar__inner {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0 !important;
  align-items: stretch;
  overflow: hidden;
  border: 0 !important;
  border-radius: 0 !important;
  background: #f7f7f9;
}

.bdc-latest-bar strong {
  position: relative;
  z-index: 2;
  display: grid !important;
  min-height: 46px;
  place-items: center;
  padding: 0 20px !important;
  background: #f36c21;
  font-size: 0.72rem;
  writing-mode: horizontal-tb !important;
}

.bdc-ticker-window,
.bdc-market-window {
  min-width: 0;
  overflow: hidden;
}

.bdc-latest-bar__track,
.bdc-market-strip__track {
  display: flex;
  width: max-content;
  min-width: 100%;
  will-change: transform;
}

.bdc-latest-bar__track {
  animation: bdc-news-ticker 58s linear infinite;
}

.bdc-latest-bar__group,
.bdc-market-strip__group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  padding-right: 40px;
}

.bdc-latest-bar__group a {
  position: relative;
  display: flex;
  gap: 9px;
  align-items: center;
  min-width: 0 !important;
  padding: 0 28px;
  color: #151447;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 46px;
  white-space: nowrap;
}

.bdc-latest-bar__group a::after {
  position: absolute;
  top: 50%;
  right: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #f36c21;
  content: "";
  transform: translateY(-50%);
}

.bdc-latest-bar__group time {
  color: #7a7a84;
  font-size: 0.68rem;
  font-weight: 500;
}

.bdc-market-strip {
  margin: 0 0 28px;
}

.bdc-market-strip__inner {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  gap: 0 !important;
  min-height: 44px;
  padding: 0 !important;
  overflow: hidden;
  border-top: 1px solid #e0e0e6;
  border-bottom: 1px solid #e0e0e6;
  background: #fff;
}

.bdc-market-strip__inner > strong {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 43px;
  place-items: center;
  padding: 0 18px;
  background: #151447;
  color: #fff;
  font-size: 0.68rem;
}

.bdc-market-strip__track {
  animation: bdc-market-ticker 38s linear infinite;
}

.bdc-market-quote {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  padding: 0 22px;
  border: 0 !important;
  white-space: nowrap;
}

.bdc-market-quote::after {
  width: 1px;
  height: 18px;
  margin-left: 14px;
  background: #dedee5;
  content: "";
}

.bdc-market-quote span {
  overflow: visible;
  color: #51515c;
  font-size: 0.66rem;
}

.bdc-market-quote b {
  font-size: 0.76rem;
}

.bdc-market-quote em {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  padding: 0;
  background: transparent !important;
  font-size: 0.65rem;
}

.bdc-market-quote em i {
  font-size: 0.62rem;
  font-style: normal;
}

.bdc-market-strip__source {
  align-self: stretch;
  display: grid;
  place-items: center;
  padding: 0 12px;
  background: #fff;
}

.bdc-latest-bar__track:hover,
.bdc-market-strip__track:hover {
  animation-play-state: paused;
}

@keyframes bdc-news-ticker {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@keyframes bdc-market-ticker {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 760px) {
  .bdc-latest-bar__inner,
  .bdc-market-strip__inner {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    padding: 0 !important;
  }

  .bdc-latest-bar strong,
  .bdc-market-strip__inner > strong {
    min-height: 42px;
    padding: 0 10px !important;
    font-size: 0.58rem;
  }

  .bdc-latest-bar__group a {
    padding: 0 20px;
    font-size: 0.72rem;
    line-height: 42px;
  }

  .bdc-market-strip__source {
    display: none;
  }

  .bdc-market-quote {
    padding: 0 16px;
  }

  .bdc-hero-brief__content {
    padding-left: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bdc-latest-bar__track,
  .bdc-market-strip__track {
    animation: none;
  }

  .bdc-ticker-window,
  .bdc-market-window {
    overflow-x: auto;
  }

  .bdc-latest-bar__group[aria-hidden="true"],
  .bdc-market-strip__group[aria-hidden="true"] {
    display: none;
  }
}

/* 2.0.4 - Unified article template and richer editorial sidebar. */
.bdc-global-latest {
  margin: 0;
  padding: 0;
  background: #f7f7f9;
}

.bdc-global-latest .bdc-latest-bar__inner {
  border-bottom: 1px solid #e2e2e8 !important;
}

.single-layout--editorial {
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  width: min(1240px, calc(100% - 48px));
  margin-top: 0;
  margin-bottom: 54px;
  padding-top: 42px;
}

.single-post--editorial,
body.single .single-post--editorial {
  overflow: visible;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff;
  box-shadow: none !important;
}

.bdc-single-breadcrumb {
  margin-bottom: 22px;
  color: #73737d;
  font-size: 0.76rem;
}

.bdc-single-breadcrumb a {
  color: #73737d;
}

.bdc-single-kicker {
  margin-bottom: 12px;
}

.single-post--editorial .single-post__title {
  max-width: 22ch !important;
  margin-bottom: 18px;
  color: #151447;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.55rem, 5vw, 4.65rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.single-post--editorial .single-post__excerpt {
  max-width: 760px;
  margin: 0 0 18px;
  color: #41414b;
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
  line-height: 1.55;
}

.bdc-single-meta {
  display: flex;
  gap: 10px 20px;
  align-items: center;
  flex-wrap: wrap;
  max-width: 820px;
  padding: 13px 0;
  border-top: 1px solid #e1e1e7;
  color: #666671;
  font-size: 0.76rem;
}

.bdc-single-meta strong {
  color: #151447;
}

.single-post--editorial .single-post__thumbnail {
  margin: 12px 0 34px;
}

.single-post--editorial .single-post__thumbnail img {
  width: 100%;
  border-radius: 0 !important;
}

.single-post--editorial .single-post__content {
  max-width: 780px;
  color: #292932;
}

.single-post--editorial .single-post__content p,
.single-post--editorial .single-post__content li {
  font-size: 1.08rem;
  line-height: 1.82;
}

.single-post--editorial .single-post__content h2,
.single-post--editorial .single-post__content h3,
.single-post--editorial .single-post__content h4 {
  margin-top: 1.65em;
  color: #151447;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.single-post--editorial .single-post__content h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
}

.single-post--editorial .single-post__content a {
  color: #e85d12;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.single-post--editorial .single-post__content blockquote {
  margin: 32px 0;
  padding: 8px 0 8px 22px;
  border-left: 4px solid #f36c21;
  border-radius: 0;
  background: transparent;
  color: #40404a;
  font-size: 1.14rem;
}

.single-post--editorial .single-post__nav {
  max-width: 780px;
}

.single-post--editorial .single-post__author-box {
  max-width: 780px;
  margin-top: 32px;
  padding: 22px 0;
  border: 0;
  border-top: 1px solid #e1e1e7;
  border-bottom: 1px solid #e1e1e7;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.single-post--editorial .single-post__author-box h2 {
  font-family: "Manrope", sans-serif;
}

.single-layout__rail {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 24px;
}

.bdc-sidebar-related,
.bdc-sidebar-sections {
  padding-top: 15px;
  border-top: 3px solid #151447;
}

.bdc-sidebar-related > h2,
.bdc-sidebar-sections > h2 {
  margin: 2px 0 14px;
  color: #151447;
  font-family: "Manrope", sans-serif;
  font-size: 1.28rem;
  font-weight: 800;
}

.bdc-sidebar-related__list {
  display: grid;
  gap: 14px;
}

.bdc-sidebar-related__item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding-bottom: 14px;
  border-bottom: 1px solid #e1e1e7;
}

.bdc-sidebar-related__item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.bdc-sidebar-related__image {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.bdc-sidebar-related__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bdc-sidebar-related__item time {
  color: #777782;
  font-size: 0.64rem;
}

.bdc-sidebar-related__item h3 {
  margin: 5px 0 0;
  color: #151447;
  font-family: "Manrope", sans-serif;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.3;
}

.bdc-sidebar-sections ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bdc-sidebar-sections li {
  border-bottom: 1px solid #e1e1e7;
}

.bdc-sidebar-sections a {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  color: #151447;
  font-size: 0.82rem;
  font-weight: 800;
}

.bdc-sidebar-sections a span {
  color: #f36c21;
}

.single-layout__rail .bdc-rail-card {
  border: 0;
  border-top: 3px solid #151447;
  border-radius: 0;
  box-shadow: none;
}

@media (max-width: 1024px) {
  .single-layout--editorial {
    grid-template-columns: 1fr;
    width: min(100% - 32px, 860px);
    gap: 42px;
  }

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

@media (max-width: 680px) {
  .single-layout--editorial {
    width: min(100% - 24px, 860px);
    padding-top: 26px;
  }

  .single-post--editorial .single-post__title {
    font-size: 2.3rem;
  }

  .bdc-single-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .single-layout__rail {
    grid-template-columns: 1fr;
  }
}

/* 2.0.5 - Unified page canvas and responsive advertising inventory. */
body,
body.single,
body.home,
body.archive,
.site-main,
.single-layout--editorial,
.single-post--editorial,
body.single .single-post--editorial {
  background: #fff;
}

.single-layout--editorial {
  width: min(1380px, calc(100% - 48px));
}

.bdc-ad-band {
  display: flex;
  justify-content: center;
  padding: 26px 0 30px;
}

.bdc-ad-band--single,
.bdc-ad-band--archive {
  padding-bottom: 0;
}

.bdc-ad-placement {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  overflow: hidden;
}

.bdc-ad-placement--leaderboard {
  max-width: 970px;
  min-height: 0;
}

.bdc-ad-placement--inline {
  max-width: 728px;
  min-height: 0;
  margin-top: 34px;
  margin-bottom: 34px;
}

.bdc-ad-placement--rectangle {
  max-width: 300px;
  min-height: 250px;
}

.bdc-ad-placement--vertical {
  max-width: 300px;
  min-height: 600px;
}

.bdc-ad-placeholder {
  display: grid;
  width: 100%;
  min-height: inherit;
  place-content: center;
  border-top: 1px solid #e3e3e8;
  border-bottom: 1px solid #e3e3e8;
  background: #f7f7f9;
  color: #777782;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.bdc-ad-placeholder span {
  font-size: 0.68rem;
  font-weight: 800;
}

.bdc-ad-placeholder small {
  margin-top: 4px;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.bdc-ad-widget,
.bdc-ad-widget > div,
.bdc-ad-widget iframe,
.bdc-ad-widget img {
  max-width: 100%;
}

.bdc-ad-widget img {
  display: block;
  height: auto;
  margin: 0 auto;
}

.bdc-ad-widget__title {
  margin: 0 0 8px;
  color: #777782;
  font-size: 0.65rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.single-post--editorial > .bdc-ad-placement--inline {
  max-width: 780px;
  margin-right: 0;
  margin-left: 0;
}

.single-post__content .bdc-ad-placement--inline {
  max-width: 728px;
  margin: 36px auto;
}

@media (max-width: 1024px) {
  .single-layout--editorial {
    width: min(1380px, calc(100% - 32px));
  }

  .single-layout__rail .bdc-ad-placement--rectangle,
  .single-layout__rail .bdc-ad-placement--vertical {
    max-width: none;
  }

  .single-layout__rail .bdc-ad-placement--vertical {
    min-height: 250px;
  }
}

@media (max-width: 680px) {
  .single-layout--editorial {
    width: min(1380px, calc(100% - 24px));
  }

  .bdc-ad-band {
    padding-top: 18px;
    padding-bottom: 20px;
  }

  .bdc-ad-band--single,
  .bdc-ad-band--archive {
    padding-bottom: 0;
  }

  .bdc-ad-placement--leaderboard,
  .bdc-ad-placement--inline,
  .bdc-ad-placement--rectangle,
  .bdc-ad-placement--vertical {
    max-width: 100%;
    min-height: 100px;
  }

  .bdc-ad-placeholder small::after {
    content: " / adaptable";
  }
}

/* 2.0.6 - Contextual SIAP BDC campaigns. */
.bdc-siap-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 18px;
  background: #151447;
  box-shadow: 0 14px 32px rgba(21, 20, 71, 0.13);
}

.bdc-siap-banner__main,
.bdc-siap-banner picture,
.bdc-siap-banner img {
  display: block;
  width: 100%;
}

.bdc-siap-banner img {
  height: auto;
}

.bdc-siap-banner__main:focus-visible,
.bdc-siap-banner__subscribe:focus-visible {
  outline: 3px solid #ff8b42;
  outline-offset: -4px;
}

.bdc-siap-banner__subscribe {
  position: absolute;
  z-index: 2;
  display: block;
}

.bdc-siap-banner--leaderboard .bdc-siap-banner__subscribe {
  top: 68%;
  left: 27%;
  width: 18%;
  height: 18%;
}

.bdc-siap-banner--inline .bdc-siap-banner__subscribe {
  top: 69%;
  left: 29%;
  width: 20%;
  height: 19%;
}

.bdc-siap-banner--vertical .bdc-siap-banner__subscribe {
  top: 90%;
  left: 22%;
  width: 56%;
  height: 7%;
}

.bdc-home-layout__rail .bdc-ad-placement,
.bdc-archive-rail .bdc-ad-placement,
.single-layout__rail .bdc-ad-placement {
  justify-self: center;
}

@media (max-width: 1024px) {
  .bdc-siap-banner--vertical .bdc-siap-banner__subscribe {
    display: none;
  }
}

@media (max-width: 520px) {
  .bdc-ad-placement--leaderboard,
  .bdc-ad-placement--inline,
  .bdc-ad-placement--vertical {
    min-height: 0;
  }

  .bdc-siap-banner--leaderboard .bdc-siap-banner__subscribe,
  .bdc-siap-banner--inline .bdc-siap-banner__subscribe {
    display: none;
  }
}
