/* ==========================================================================
   Telex Core — Elementor Editorial Widgets Styles
   ========================================================================== */

:root {
  --tlx-fg: #111110;
  --tlx-bg: #F7F4EA;
  --tlx-accent: #E22B00;
  --tlx-line: rgba(17,17,16,0.14);
  --tlx-soft: #555550;
  --tlx-mute: #888880;
  --tlx-f-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --tlx-f-mono: "JetBrains Mono", Consolas, Menlo, monospace;
}

/* Base resets for widget containers */
.elementor-widget-telex_broadsheet_hero,
.elementor-widget-telex_cover_slider,
.elementor-widget-telex_dark_broadsheet,
.elementor-widget-telex_journal_cover,
.elementor-widget-telex_visual_bento,
.elementor-widget-telex_story_band,
.elementor-widget-telex_the_long_read,
.elementor-widget-telex_post_river,
.elementor-widget-telex_most_read,
.elementor-widget-telex_category_tiles,
.elementor-widget-telex_photo_essay,
.elementor-widget-telex_live_blog_feed,
.elementor-widget-telex_audio_player {
  box-sizing: border-box;
}

.elementor-widget-telex_broadsheet_hero *,
.elementor-widget-telex_cover_slider *,
.elementor-widget-telex_dark_broadsheet *,
.elementor-widget-telex_journal_cover *,
.elementor-widget-telex_visual_bento *,
.elementor-widget-telex_story_band *,
.elementor-widget-telex_the_long_read *,
.elementor-widget-telex_post_river *,
.elementor-widget-telex_most_read *,
.elementor-widget-telex_category_tiles *,
.elementor-widget-telex_photo_essay *,
.elementor-widget-telex_live_blog_feed *,
.elementor-widget-telex_audio_player * {
  box-sizing: border-box;
}

/* Aspect ratio photo frames (Prevents unconstrained image explosions) */
.ph {
  position: relative;
  display: block;
  overflow: hidden;
  background: #EAE6DB;
  line-height: 0;
  border-radius: 2px;
}
.ph img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  max-width: 100% !important;
  transition: transform .35s ease;
}
.ph.r-11 { aspect-ratio: 1 / 1; }
.ph.r-32 { aspect-ratio: 3 / 2; }
.ph.r-43 { aspect-ratio: 4 / 3; }
.ph.r-169 { aspect-ratio: 16 / 9; }
.ph.r-219 { aspect-ratio: 21 / 9; }
.ph.r-1610 { aspect-ratio: 16 / 10; }

.hov:hover .ph img,
.hov:hover .ph img.a {
  transform: scale(1.04);
}

/* Broadsheet Front Grid (Hero 01) */
.front {
  display: grid;
  grid-template-columns: 280px 1fr 300px;
  gap: 32px;
  align-items: start;
  width: 100%;
}
@media (max-width: 1100px) {
  .front { grid-template-columns: 1fr 1fr; }
  .front > .col:last-child { grid-column: span 2; }
}
@media (max-width: 768px) {
  .front { grid-template-columns: 1fr; }
  .front > .col:last-child { grid-column: auto; }
}

/* Section label */
.secl {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--tlx-f-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 2px solid currentColor;
  padding-bottom: 6px;
  margin-bottom: 18px;
}

/* Dispatch item */
.disp {
  border-bottom: 1px solid var(--tlx-line);
  padding: 14px 0;
}
.disp__topline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--tlx-f-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.disp__num { color: var(--tlx-accent); font-weight: 800; }
.disp__kicker { color: var(--tlx-mute); }
.disp__time { color: var(--tlx-mute); margin-left: auto; }
.disp__body {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: start;
}
.disp__title {
  font-family: var(--tlx-f-display);
  font-size: 14px;
  line-height: 1.25;
  margin: 0 0 6px 0;
  font-weight: 700;
}
.disp__title a { color: inherit; text-decoration: none; }
.disp__excerpt {
  font-size: 12px;
  line-height: 1.45;
  color: var(--tlx-soft);
  margin: 0;
}

/* Central Lead Story */
.lead-title {
  font-family: var(--tlx-f-display);
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 14px 0 16px 0;
}
.lead-title a { color: inherit; text-decoration: none; }
.lead-excerpt {
  font-size: 16px;
  line-height: 1.55;
  color: var(--tlx-soft);
  margin-bottom: 18px;
}
.lead-byline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--tlx-line);
  border-bottom: 1px solid var(--tlx-line);
  padding: 12px 0;
  font-family: var(--tlx-f-mono);
  font-size: 11.5px;
  text-transform: uppercase;
}

/* Related mini cards */
.rel {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}
@media (max-width: 600px) {
  .rel { grid-template-columns: 1fr; }
}
.rel-item {
  display: block;
  text-decoration: none;
  color: inherit;
  border-top: 2px solid currentColor;
  padding-top: 8px;
}
.rel-item .k {
  font-family: var(--tlx-f-mono);
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--tlx-accent);
  display: block;
  margin-bottom: 4px;
}
.rel-item h5 {
  font-family: var(--tlx-f-display);
  font-size: 14px;
  line-height: 1.25;
  margin: 0;
}

/* Broadsheet typography marks */
.k {
  font-family: var(--tlx-f-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tlx-accent);
}
.k::before {
  content: '■ ';
  font-size: 8px;
  vertical-align: 1px;
}
.n {
  font-family: var(--tlx-f-display);
  font-weight: 800;
}
.sep {
  display: inline-block;
  margin: 0 4px;
  opacity: 0.4;
}
.sep::before { content: '·'; }

/* Story Band & Card Grid Layouts */
.tlx-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .tlx-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .tlx-grid-4 { grid-template-columns: 1fr; }
}

/* Broadsheet Numbered Row River */
.rowc {
  display: grid;
  grid-template-columns: 50px 1fr 220px;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--tlx-line);
  align-items: start;
}
.rowc--no-thumb {
  grid-template-columns: 50px 1fr !important;
}
@media (max-width: 768px) {
  .rowc { grid-template-columns: 1fr; }
}
.rowc__num {
  font-family: var(--tlx-f-display);
  font-size: 38px;
  line-height: 0.9;
  font-weight: 900;
  color: var(--tlx-accent);
}
.rowc__title {
  font-family: var(--tlx-f-display);
  font-size: 20px;
  line-height: 1.2;
  margin: 6px 0 10px 0;
}
.rowc__title a { color: inherit; text-decoration: none; }
.rowc__excerpt {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--tlx-soft);
}
