/* Cuarto de Hora */
:root {
  --cdh-ink: #1a1a1a;
  --cdh-ink-soft: #4d4d4d;
  --cdh-muted: #777777;
  --cdh-paper: #ffffff;
  --cdh-shell: #f4f4f6;
  --cdh-wash: #f7f5f9;
  --cdh-rule: #eaeaea;
  --cdh-accent: #993c8e;
  --cdh-accent-deep: #cf3476;
  --cdh-navy: #121d38;
  --cdh-navy-deep: #0c1424;
  --cdh-navy-ink: #a9b1c2;
  --cdh-navy-rule: #1a2540;
  --cdh-navy-mute: #6f7789;
  --cdh-display: "CDH Display", "Oswald", "Haettenschweiler", "Arial Narrow", sans-serif;
  --cdh-text: "CDH Text", "PT Serif", Georgia, "Times New Roman", serif;
  --cdh-base: 16px;
  --cdh-page: 1070px;
  --cdh-inner: 1060px;
}
/* newsroom — Spanish-language daily/investigative press.
   Ported from the publication's own build: the accent pair, the navy nav band and
   the 720/280 split are the ones the site has carried since its MH NewsDesk days.
   Every class here is rewritten through Naming, every var() through the css prefix. */

@font-face {
  font-family: "CDH Display";
  src: url("/assets/fonts/cdh-display-var.woff2") format("woff2-variations");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "CDH Text";
  src: url("/assets/fonts/cdh-text-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "CDH Text";
  src: url("/assets/fonts/cdh-text-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "CDH Text";
  src: url("/assets/fonts/cdh-text-400i.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cdh-shell);
  color: var(--cdh-ink);
  font-family: var(--cdh-text);
  font-size: var(--cdh-base);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--cdh-accent); text-decoration: none; }

ul, ol { margin: 0; padding: 0; }

figure { margin: 0; }

h1, h2, h3, h4, h5 {
  font-family: var(--cdh-display);
  font-weight: 600;
  line-height: 1.24;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.cdh-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--cdh-accent);
  color: #fff;
  padding: 10px 18px;
  z-index: 50;
  font-family: var(--cdh-display);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
}
.cdh-skip:focus { left: 0; }

:focus-visible { outline: 2px solid var(--cdh-accent); outline-offset: 2px; }

/* ------------------------------------------------------------------ topbar */

.cdh-topbar {
  background: var(--cdh-paper);
  border-bottom: 1px solid var(--cdh-rule);
  padding: 8px 0;
  font-size: 12px;
}
.cdh-topbar-inner {
  max-width: var(--cdh-inner);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.cdh-topbar-date {
  font-family: var(--cdh-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--cdh-accent);
}
.cdh-topbar-links { display: flex; gap: 18px; list-style: none; }
.cdh-topbar-links a {
  color: var(--cdh-muted);
  font-family: var(--cdh-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.cdh-topbar-links a:hover { color: var(--cdh-accent); }

/* ---------------------------------------------------------------- masthead */

.cdh-masthead {
  background: var(--cdh-paper);
  padding: 26px 20px 22px;
  text-align: center;
  border-bottom: 1px solid var(--cdh-rule);
}
.cdh-masthead-inner { max-width: var(--cdh-inner); margin: 0 auto; }
.cdh-wordmark {
  font-family: var(--cdh-display);
  font-size: 46px;
  font-weight: 700;
  letter-spacing: 1.5px;
  line-height: 1;
  text-transform: uppercase;
  margin: 0;
}
.cdh-wordmark a { color: var(--cdh-ink); }
.cdh-wordmark a:hover { color: var(--cdh-accent); }
.cdh-wordmark-rule { color: var(--cdh-accent); }
.cdh-tagline {
  margin: 10px 0 0;
  font-family: var(--cdh-display);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--cdh-muted);
}

/* ----------------------------------------------------------------- mainnav */

.cdh-mainnav { background: var(--cdh-navy); border-top: 1px solid var(--cdh-navy-deep); }
.cdh-mainnav-inner {
  max-width: var(--cdh-inner);
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}
.cdh-menu { display: flex; flex-wrap: wrap; flex: 1; min-width: 0; list-style: none; }
.cdh-menu > li { position: relative; }
.cdh-menu > li > a {
  display: block;
  padding: 13px 11px;
  color: #fff;
  font-family: var(--cdh-display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}
.cdh-menu > li > a:hover { border-bottom-color: var(--cdh-accent); }
.cdh-menu > li.cdh-here > a { border-bottom-color: var(--cdh-accent); }

/* ---------------------------------------------------------------- dateline */

.cdh-dateline {
  background: var(--cdh-wash);
  border-bottom: 1px solid var(--cdh-rule);
  padding: 9px 0;
}
.cdh-dateline-inner {
  max-width: var(--cdh-inner);
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
  font-family: var(--cdh-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cdh-accent);
}

/* ------------------------------------------------------------------ ticker */

.cdh-ticker {
  background: var(--cdh-paper);
  border-bottom: 1px solid var(--cdh-rule);
  display: flex;
  align-items: stretch;
}
.cdh-ticker-inner {
  max-width: var(--cdh-inner);
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  width: 100%;
}
.cdh-ticker-label {
  background: var(--cdh-accent);
  color: #fff;
  font-family: var(--cdh-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 18px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.cdh-ticker-window {
  padding: 10px 20px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.cdh-ticker-window { position: relative; }
.cdh-ticker-rail { display: flex; align-items: center; animation: ticker-slide 46s linear infinite; }
.cdh-ticker-track {
  display: flex;
  gap: 30px;
  padding: 0 15px 0 0;
  list-style: none;
  white-space: nowrap;
  align-items: center;
  flex: none;
}
@keyframes ticker-slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
/* Stops under the cursor, and stops for anyone who asked the OS for less motion —
   a headline you cannot finish reading is not a headline. */
.cdh-ticker:hover .cdh-ticker-rail,
.cdh-ticker:focus-within .cdh-ticker-rail { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .cdh-ticker-rail { animation: none; }
  .cdh-ticker-track:nth-child(2) { display: none; }
}
.cdh-ticker-track li { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.cdh-ticker-date {
  color: var(--cdh-accent);
  font-weight: 700;
  font-family: var(--cdh-display);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 12px;
}
.cdh-ticker-track a { color: var(--cdh-ink); font-weight: 700; font-size: 13px; }
.cdh-ticker-track a:hover { color: var(--cdh-accent); }

/* -------------------------------------------------------------------- main */

.cdh-main {
  max-width: var(--cdh-page);
  margin: 0 auto;
  padding: 30px 20px;
  display: grid;
  grid-template-columns: minmax(0, 720px) 280px;
  gap: 30px;
  justify-content: center;
  align-items: start;
}
.cdh-column {
  min-width: 0;
  background: var(--cdh-paper);
  padding: 30px 34px 38px;
  border: 1px solid var(--cdh-rule);
}

.cdh-section-thumb {
  margin: 0 0 26px;
  overflow: hidden;
  background: var(--cdh-rule);
  border: 1px solid var(--cdh-rule);
}
.cdh-section-thumb img { width: 100%; height: 210px; object-fit: cover; display: block; }

/* -------------------------------------------------------------------- lead */

.cdh-lead { width: 100%; min-width: 0; }
.cdh-lead-thumb img { width: 100%; height: auto; max-height: 440px; object-fit: cover; }
.cdh-lead-meta {
  margin: 18px 0 8px;
  font-family: var(--cdh-display);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--cdh-muted);
}
.cdh-lead-cat { color: var(--cdh-accent); font-weight: 700; margin-right: 14px; }
.cdh-lead h2, .cdh-lead h1 {
  font-size: 30px;
  letter-spacing: 0.9px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 14px;
}
.cdh-lead h2 a { color: var(--cdh-ink); }
.cdh-lead h2 a:hover { color: var(--cdh-accent); }
.cdh-lead-excerpt { font-size: 16px; line-height: 1.7; color: var(--cdh-ink-soft); margin-bottom: 18px; }
.cdh-button {
  display: inline-block;
  background: var(--cdh-accent);
  color: #fff;
  padding: 10px 28px;
  font-family: var(--cdh-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.cdh-button:hover { background: var(--cdh-accent-deep); color: #fff; }

/* ------------------------------------------------------------------- cards */

.cdh-section-head {
  font-family: var(--cdh-display);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--cdh-ink);
  margin: 36px 0 4px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--cdh-accent);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.cdh-section-head a { font-size: 11px; letter-spacing: 1px; font-weight: 500; }

.cdh-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 22px;
  list-style: none;
  padding: 0;
}
.cdh-feature-card {
  background: var(--cdh-paper);
  border: 1px solid var(--cdh-rule);
  display: flex;
  flex-direction: column;
}
.cdh-feature-thumb { display: block; overflow: hidden; background: var(--cdh-rule); }
.cdh-feature-thumb img { width: 100%; height: 170px; object-fit: cover; }
.cdh-feature-body { padding: 18px 16px; display: flex; flex-direction: column; flex: 1; }
.cdh-card-cat {
  font-family: var(--cdh-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cdh-accent);
  display: block;
  margin-bottom: 8px;
}
.cdh-feature-body h3 { font-size: 16px; font-weight: 600; line-height: 1.32; margin-bottom: 10px; }
.cdh-feature-body h3 a { color: var(--cdh-ink); }
.cdh-feature-body h3 a:hover { color: var(--cdh-accent); }
.cdh-card-excerpt { font-size: 13.5px; line-height: 1.6; color: var(--cdh-ink-soft); margin: 0 0 12px; flex: 1; }
.cdh-card-meta {
  font-family: var(--cdh-display);
  font-size: 11px;
  color: var(--cdh-muted);
  letter-spacing: 0.5px;
  margin-top: auto;
}

.cdh-secondary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 22px;
  list-style: none;
}
.cdh-secondary-card {
  background: var(--cdh-paper);
  border: 1px solid var(--cdh-rule);
  display: flex;
  flex-direction: column;
}
.cdh-secondary-thumb { display: block; overflow: hidden; background: var(--cdh-rule); }
.cdh-secondary-thumb img { width: 100%; height: 200px; object-fit: cover; }
.cdh-secondary-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.cdh-secondary-body h3 { font-size: 20px; font-weight: 600; line-height: 1.28; margin-bottom: 10px; }
.cdh-secondary-body h3 a { color: var(--cdh-ink); }
.cdh-secondary-body h3 a:hover { color: var(--cdh-accent); }

/* ------------------------------------------------------------------ pinned */

/* A standing slot, not a chronological one. Whatever sits here stays here when
   the next piece publishes — the failure that silently dropped a placement on
   two earlier sites (06-money-links.cdh-md §3c). */
.cdh-pinned {
  margin-top: 36px;
  background: var(--cdh-wash);
  border-left: 4px solid var(--cdh-accent);
  padding: 22px 24px;
}
.cdh-pinned-label {
  font-family: var(--cdh-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cdh-accent);
  margin-bottom: 10px;
}
.cdh-pinned h3 { font-size: 20px; line-height: 1.28; margin-bottom: 10px; }
.cdh-pinned h3 a { color: var(--cdh-ink); }
.cdh-pinned h3 a:hover { color: var(--cdh-accent); }
.cdh-pinned p { margin: 0 0 .7em; font-size: 14px; line-height: 1.65; color: var(--cdh-ink-soft); }
.cdh-pinned p:last-child { margin-bottom: 0; }
.cdh-pinned-excerpt { font-size: 14px; line-height: 1.65; color: var(--cdh-ink-soft); }
.cdh-pinned-excerpt p { margin: 0; }

/* ----------------------------------------------------------------- article */

.cdh-article { background: transparent; }
.cdh-article-head { margin-bottom: 22px; }
.cdh-kicker {
  font-family: var(--cdh-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cdh-accent);
  margin-bottom: 10px;
}
.cdh-article h1 {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0.9px;
  margin-bottom: 14px;
}
.cdh-standfirst {
  font-size: 17px;
  line-height: 1.65;
  color: var(--cdh-ink-soft);
  margin: 0 0 16px;
  font-style: italic;
}
.cdh-byline {
  font-family: var(--cdh-display);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--cdh-muted);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--cdh-rule);
}
.cdh-prose { font-size: 16.5px; line-height: 1.78; }
.cdh-prose p { margin: 0 0 1.15em; }
.cdh-prose h2 {
  font-size: 21px;
  margin: 1.7em 0 0.6em;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--cdh-rule);
}
.cdh-prose h3 { font-size: 17px; margin: 1.5em 0 0.5em; }
.cdh-prose ul, .cdh-prose ol { margin: 0 0 1.15em; padding-left: 1.3em; }
.cdh-prose li { margin-bottom: 0.4em; }
.cdh-prose blockquote {
  margin: 1.4em 0;
  padding: 4px 0 4px 20px;
  border-left: 4px solid var(--cdh-accent);
  font-style: italic;
  color: var(--cdh-ink-soft);
}
.cdh-prose a { border-bottom: 1px solid var(--cdh-accent); }
.cdh-prose a:hover { color: var(--cdh-accent-deep); border-bottom-color: var(--cdh-accent-deep); }
.cdh-prose img { margin: 1.4em 0; }
.cdh-prose figcaption {
  font-size: 13px;
  color: var(--cdh-muted);
  margin-top: -1em;
  margin-bottom: 1.4em;
  line-height: 1.5;
}

.cdh-seealso { margin-top: 34px; border-top: 2px solid var(--cdh-accent); padding-top: 16px; }
.cdh-seealso h2 {
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.cdh-seealso ul { list-style: none; }
.cdh-seealso li { padding: 9px 0; border-bottom: 1px solid var(--cdh-rule); }
.cdh-seealso li:last-child { border-bottom: none; }
.cdh-seealso a { color: var(--cdh-ink); font-weight: 700; font-size: 14px; }
.cdh-seealso a:hover { color: var(--cdh-accent); }

/* ------------------------------------------------------------------- index */

.cdh-index-list { list-style: none; margin-top: 8px; }
.cdh-index-list li {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--cdh-rule);
}
.cdh-index-date {
  font-family: var(--cdh-display);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--cdh-muted);
  flex-shrink: 0;
  width: 96px;
}
.cdh-index-list h3 { font-size: 16px; font-weight: 600; line-height: 1.35; }
.cdh-index-list h3 a { color: var(--cdh-ink); }
.cdh-index-list h3 a:hover { color: var(--cdh-accent); }

.cdh-intro { font-size: 16px; line-height: 1.7; color: var(--cdh-ink-soft); margin: 0 0 18px; }

/* ----------------------------------------------------------------- sidebar */

.cdh-sidebar { display: flex; flex-direction: column; gap: 30px; min-width: 0; }
.cdh-widget { background: var(--cdh-paper); border: 1px solid var(--cdh-rule); }
.cdh-widget-title {
  margin: -1px -1px 14px;
  background: var(--cdh-accent);
  color: #fff;
  font-family: var(--cdh-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 11px 16px;
  margin: 0 0 14px;
}
.cdh-widget-list { list-style: none; padding: 0 16px 6px; margin: 0; }
.cdh-widget-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--cdh-rule);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.cdh-widget-list li:last-child { border-bottom: none; }
.cdh-widget-num {
  font-family: var(--cdh-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--cdh-accent);
  line-height: 1;
  flex-shrink: 0;
  width: 28px;
  padding-top: 2px;
}
.cdh-widget-body { flex: 1; min-width: 0; }
/* the pinned rail block sits directly in the widget, not inside widget-list, so it
   needs the same inset — without it the headline touched the widget border */
.cdh-widget > .cdh-widget-body { padding: 0 16px 4px; }
.cdh-widget-body h3 {
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.3px;
  margin-bottom: 4px;
}
.cdh-widget-body h3 a { color: var(--cdh-ink); }
.cdh-widget-body h3 a:hover { color: var(--cdh-accent); }
.cdh-widget-cat {
  font-family: var(--cdh-display);
  font-size: 10px;
  color: var(--cdh-accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  display: block;
  margin-bottom: 3px;
}
.cdh-widget-note {
  font-size: 13px;
  line-height: 1.65;
  color: var(--cdh-ink-soft);
  margin: 0;
  padding: 0 16px 16px;
}

.cdh-callout { background: var(--cdh-ink); color: #fff; padding: 24px; text-align: center; }
.cdh-callout h2 { font-size: 17px; font-weight: 600; letter-spacing: 1px; margin-bottom: 10px; color: #fff; }
.cdh-callout p { font-size: 13px; line-height: 1.6; color: #ddd; margin: 0 0 14px; }

/* ---------------------------------------------------------------- colophon */

.cdh-colophon {
  background: var(--cdh-navy-deep);
  color: var(--cdh-navy-ink);
  font-size: 13px;
  padding: 46px 20px 0;
  margin-top: 50px;
}
.cdh-colophon-inner {
  max-width: var(--cdh-inner);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--cdh-navy-rule);
}
.cdh-colophon-brand p { line-height: 1.7; color: var(--cdh-navy-ink); font-size: 13px; max-width: 340px; margin: 0; }
.cdh-colophon-mark {
  font-family: var(--cdh-display);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 14px;
}
.cdh-colophon h2 {
  font-family: var(--cdh-display);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.cdh-colophon ul { list-style: none; }
.cdh-colophon li { margin-bottom: 8px; }
.cdh-colophon a { color: var(--cdh-navy-ink); font-size: 13px; }
.cdh-colophon a:hover { color: var(--cdh-accent); }
.cdh-copyright {
  max-width: var(--cdh-inner);
  margin: 0 auto;
  padding: 18px 0;
  text-align: center;
  color: var(--cdh-navy-mute);
  font-size: 12px;
}

/* ------------------------------------------------------------- responsive */

@media (max-width: 1080px) {
  .cdh-main { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
  .cdh-menu > li > a { padding: 11px 9px; }
  .cdh-colophon-inner { grid-template-columns: 1fr 1fr; }
  .cdh-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .cdh-topbar-inner { flex-direction: column; gap: 8px; text-align: center; }
  .cdh-wordmark { font-size: 32px; }
  .cdh-menu { justify-content: center; }
  .cdh-ticker-label { display: none; }
  .cdh-ticker-window { padding: 10px 14px; }
  .cdh-main { padding: 18px 12px; }
  .cdh-column { padding: 22px 18px 26px; }
  .cdh-lead h2, .cdh-lead h1 { font-size: 22px; }
  .cdh-article h1 { font-size: 25px; }
  .cdh-section-thumb img { height: 150px; }
  .cdh-section-thumb { margin-bottom: 20px; }
  .cdh-feature-grid { grid-template-columns: minmax(0, 1fr); }
  .cdh-secondary-grid { grid-template-columns: minmax(0, 1fr); }
  .cdh-colophon-inner { grid-template-columns: 1fr; }
  .cdh-index-list li { flex-direction: column; gap: 4px; }
  .cdh-index-date { width: auto; }
}

@media print {
  .cdh-topbar, .cdh-mainnav, .cdh-ticker, .cdh-sidebar, .cdh-colophon, .cdh-skip { display: none; }
  .cdh-main { display: block; max-width: none; }
}
