@charset "UTF-8";

/* El Jacagüero — refined editorial system */
:root {
  --brand: #0086f9;
  --brand-dark: #006dc9;
  --ink: #111820;
  --muted: #617080;
  --paper: #ffffff;
  --surface: #f5f7f9;
  --line: #dce2e7;
  --line-dark: #bac4cc;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1280px;
  --sidebar: 350px;
  --radius: 6px;
  --section-space: clamp(3rem, 6vw, 5.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.off-canvas-active { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand-dark); }
button, input, select, textarea { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 60%, white); outline-offset: 3px; }
h1, h2, h3, h4, h5, h6 { margin: 0; color: var(--ink); font-family: var(--serif); font-weight: 700; line-height: 1.12; text-wrap: balance; }
p { margin: 0 0 1em; }
.wrap { width: min(calc(100% - 48px), var(--wrap)); margin-inline: auto; }
.visuallyhidden { position: absolute!important; width: 1px!important; height: 1px!important; padding: 0!important; margin: -1px!important; overflow: hidden!important; clip: rect(0,0,0,0)!important; white-space: nowrap!important; border: 0!important; }

@font-face { font-family: ts-icons; src: url("../fonts/ts-icons.woff2") format("woff2"), url("../fonts/ts-icons.woff") format("woff"); font-display: block; }
.tsi { display: inline-block; font-family: ts-icons!important; font-style: normal; font-weight: 400; line-height: 1; }
.tsi-search::before { content: "\f002"; }
.tsi-times::before { content: "\f00d"; }

/* Shared masthead */
.main-head { position: relative; z-index: 50; background: var(--paper); border-top: 4px solid var(--brand); }
.smart-head-mid { border-bottom: 1px solid var(--line); }
.smart-head-mid .inner { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 112px; }
.smart-head .items { display: flex; align-items: center; }
.smart-head .items-right { justify-content: flex-end; }
.logo-link { display: inline-flex; align-items: center; }
.logo-image { width: 287px; max-height: 72px; object-fit: contain; }
.search-icon { display: inline-grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; font-size: 17px; }
.search-icon:hover { background: var(--surface); }
.smart-head-bot { border-bottom: 1px solid var(--line); }
.smart-head-bot .inner { display: flex; align-items: center; justify-content: space-between; min-height: 52px; }
.navigation { min-width: 0; }
.menu { display: flex; align-items: stretch; gap: clamp(1rem, 2vw, 2rem); margin: 0; padding: 0; list-style: none; }
.menu a { position: relative; display: flex; align-items: center; min-height: 52px; font-size: 13px; font-weight: 700; letter-spacing: .045em; text-transform: uppercase; }
.menu .current-menu-item > a::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 3px; background: var(--brand); content: ""; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.offcanvas-toggle { display: none; width: 42px; height: 42px; padding: 9px; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.hamburger-icon { display: block; width: 24px; height: 18px; overflow: visible; }
.hamburger-icon path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.smart-head-mobile { display: none; }

/* Overlays */
.off-canvas-backdrop { position: fixed; inset: 0; z-index: 90; visibility: hidden; background: rgba(9, 16, 23, .5); opacity: 0; }
.off-canvas { position: fixed; top: 0; bottom: 0; left: 0; z-index: 100; width: min(88vw, 380px); padding: 24px; background: var(--paper); transform: translateX(-102%); }
.off-canvas-active .off-canvas-backdrop { visibility: visible; opacity: 1; }
.off-canvas-active .off-canvas { transform: none; }
.off-canvas-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.off-canvas-head .logo-image { width: 210px; }
.off-canvas-head .close { order: 2; display: grid; width: 42px; height: 42px; place-items: center; font-size: 20px; }
.mobile-menu { display: grid; margin: 20px 0; padding: 0; list-style: none; }
.mobile-menu a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 20px; font-weight: 700; }
.search-modal-wrap { position: fixed; inset: 0; z-index: 110; display: none; padding: 24px; place-items: center; background: rgba(9,16,23,.78); }
.search-modal-wrap.is-open { display: grid; }
.search-modal-box { position: relative; width: min(100%, 720px); padding: 44px; border-radius: var(--radius); background: var(--paper); }
.search-form { display: flex; gap: 8px; }
.search-form label { flex: 1; }
.search-field { width: 100%; height: 54px; padding: 0 16px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: var(--paper); }
.search-submit { width: 54px; border: 0; border-radius: var(--radius); background: var(--brand); color: white; cursor: pointer; }
.static-search-close { position: absolute; top: 6px; right: 10px; border: 0; background: transparent; font-size: 30px; cursor: pointer; }

/* Global editorial components */
.main { padding-block: clamp(2.5rem, 5vw, 5rem); }
.section-heading { position: relative; margin-bottom: 28px; padding-top: 13px; border-top: 1px solid var(--ink); }
.section-heading::before { position: absolute; top: -2px; left: 0; width: 56px; height: 3px; background: var(--brand); content: ""; }
.section-heading p, .archive-header > p, .rates-hero > p { margin: 0 0 3px; color: var(--brand-dark); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.section-heading h1, .section-heading h2 { font-size: clamp(1.55rem, 2.5vw, 2rem); }
.story-media { display: block; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.ratio-16-9 { aspect-ratio: 16 / 9; }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.story-content h2, .story-content h3 { overflow-wrap: anywhere; }
.story-content time, .story-meta, .article-byline, .rate-updated { color: var(--muted); font-size: 12px; }
.story-meta-line { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 14px; color: var(--muted); font-size: 12px; }
.story-comment-count { position: relative; display: inline-flex; align-items: center; gap: 6px; color: inherit; white-space: nowrap; }
.story-comment-count::before { width: 12px; height: 9px; border: 1.5px solid currentColor; border-radius: 4px; content: ""; }
.story-comment-count::after { position: absolute; top: 9px; left: 3px; width: 4px; height: 4px; border-bottom: 1.5px solid currentColor; border-left: 1.5px solid currentColor; background: var(--paper); content: ""; transform: skewY(-35deg); }
.story-comment-count:hover { color: var(--brand-dark); }
.story-content p { color: #465361; }
.content-sidebar-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, var(--sidebar)); gap: clamp(36px, 5vw, 68px); }
.main-sidebar { width: 100%; max-width: var(--sidebar); }
.sidebar-sticky { position: sticky; top: 24px; }
.sidebar-module { margin-bottom: 48px; padding: 22px; border: 1px solid var(--line); border-top: 3px solid var(--brand); border-radius: var(--radius); background: var(--paper); }
.sidebar-module .section-heading { margin-bottom: 14px; padding: 0; border: 0; }
.sidebar-module .section-heading::before { display: none; }
.sidebar-module .section-heading h2 { font-size: 22px; }
.sidebar-module nav { display: grid; }
.sidebar-module nav a { padding: 9px 0; border-bottom: 1px solid var(--line); font-weight: 650; }
.sidebar-module nav a:last-child { border: 0; }

/* Homepage */
.home-lead { margin-bottom: var(--section-space); }
.lead-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(280px, 1fr); gap: 32px; }
.lead-story .story-content { padding-top: 20px; }
.story-kicker { color: var(--brand-dark); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.lead-story h2 { margin: 5px 0 12px; font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -.025em; }
.lead-story p { max-width: 780px; font-size: 17px; }
.lead-secondary { display: grid; gap: 14px; align-content: start; }
.featured-secondary { display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.featured-secondary:last-child { border-bottom: 0; }
.featured-secondary h3 { margin: 0 0 7px; font-size: 18px; }
.featured-secondary .story-content { align-self: start; }
.just-in { display: grid; grid-template-columns: auto 1fr; gap: 20px; margin-top: 30px; padding: 18px 0; border-block: 1px solid var(--line); }
.just-in > span { color: var(--brand-dark); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.just-in ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 32px; margin: 0; padding-left: 20px; }
.just-in li::marker { color: var(--brand); }
.just-in a { font-family: var(--serif); font-weight: 700; line-height: 1.35; }
.home-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, var(--sidebar)); gap: clamp(36px, 5vw, 68px); margin-top: var(--section-space); }
.editorial-section { margin-bottom: var(--section-space); }
.story-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 26px; }
.editorial-story { min-width: 0; }
.editorial-story h3 { margin: 13px 0 7px; font-size: 20px; }
.editorial-story p { margin-top: 9px; }
.section-lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(240px, 1fr); gap: 26px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.section-lead h3 { margin-top: 0; font-size: clamp(1.5rem, 2.5vw, 2.15rem); }
.columnist-section { padding: clamp(24px, 3vw, 36px); border-block: 1px solid var(--line); background: var(--surface); }
.columnist-row { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); }
.columnist-story { text-align: center; }
.columnist-story .story-media { width: min(100%, 150px); margin-inline: auto; aspect-ratio: 1; border-radius: 50%; }
.columnist-story .story-content { display: grid; justify-items: center; }
.columnist-story h3 { margin-top: 5px; font-size: clamp(16px, 1.5vw, 19px); }
.columnist-name { margin-top: 14px; color: var(--brand-dark); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.columnist-story .story-meta-line { justify-content: center; margin-top: 8px; }
.showbiz-section { position: relative; padding: clamp(26px, 4vw, 44px); overflow: hidden; border-radius: var(--radius); background: #101820; color: white; }
.showbiz-section::before { position: absolute; inset: 0 0 auto; height: 4px; background: var(--brand); content: ""; }
.showbiz-section .section-heading { border-top-color: #52606b; }
.showbiz-section .section-heading::before { background: var(--brand); }
.showbiz-section .section-heading p { color: #70baff; }
.showbiz-section .section-heading h2, .showbiz-section .story-content h3, .showbiz-section .story-content h3 a { color: white; }
.showbiz-section .section-lead { border-bottom-color: #34414c; }
.showbiz-section .section-lead .story-media { aspect-ratio: 3 / 2; }
.showbiz-section .story-media { border-radius: var(--radius); background: #1b2731; }
.showbiz-section .section-lead h3 { font-size: clamp(1.7rem, 3vw, 2.45rem); }
.showbiz-section .story-content p { color: #d7dee4; }
.showbiz-section .story-meta-line, .showbiz-section .story-content time { color: #b7c3cc; }
.showbiz-section .story-comment-count::after { background: #101820; }
.showbiz-section .story-comment-count:hover, .showbiz-section .story-content h3 a:hover { color: #70baff; }

/* Advertising */
.ejt-ads { clear: both; margin-block: 48px; }
.ejt-ads__label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 10px; letter-spacing: .14em; text-align: center; text-transform: uppercase; }
.ejt-ads__items { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.ejt-ads--stack .ejt-ads__items { grid-template-columns: 1fr; }
.ejt-ad { display: grid; min-height: 90px; place-items: center; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: #fafbfc; }
.ejt-ad img { width: auto; max-height: 250px; object-fit: contain; }
.ejt-ads--wide .ejt-ads__items { grid-template-columns: 1fr; gap: 26px; }
.ejt-ads--wide .ejt-ad { min-height: 112px; padding: clamp(14px, 2.2vw, 26px); }
.ejt-ads--wide .ejt-ad img { max-height: none; }
.ejt-ads--compact .ejt-ads__items { grid-template-columns: minmax(0, 420px); justify-content: center; }
.ejt-ads--compact .ejt-ad { min-height: 160px; }
.ejt-ads--masthead { margin: 0; padding: 14px 24px 16px; border-bottom: 1px solid var(--line); background: var(--surface); }
.ejt-ads--masthead .ejt-ads__label { margin-bottom: 6px; }
.ejt-ads--masthead .ejt-ads__items { grid-template-columns: 1fr; width: min(100%, var(--wrap)); margin-inline: auto; }
.ejt-ads--masthead .ejt-ad { min-height: 0; padding: 0; border: 0; background: transparent; }
.ejt-ads--masthead .ejt-ad img { width: 100%; max-height: 158px; object-fit: contain; }
.home-sidebar .ejt-ads { margin-block: 0 48px; }
.mobile-sidebar-insert { display: none; }

/* Weather */
.weather-widget { padding: 24px; border-top-color: var(--brand); background: linear-gradient(150deg, #f7fbff 0%, #fff 62%); }
.weather-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.weather-header p { margin: 0 0 2px; color: var(--brand-dark); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.weather-header h2 { font-size: 25px; }
.weather-icon { flex: 0 0 auto; overflow: visible; }
.weather-icon circle { fill: #ffd36a; }
.weather-icon path:not(.weather-cloud) { fill: none; stroke: #e4a91e; stroke-width: 2; stroke-linecap: round; }
.weather-icon .weather-cloud { fill: #fff; stroke: #91a1af; stroke-width: 2; }
.weather-now { display: flex; align-items: baseline; gap: 14px; margin: 20px 0; }
.weather-now strong { font-family: var(--serif); font-size: 56px; font-weight: 700; letter-spacing: -.06em; line-height: 1; }
.weather-now span { color: var(--muted); font-size: 13px; font-weight: 700; }
.weather-details { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; border-top: 1px solid var(--line); }
.weather-details > div { padding: 13px 8px 10px 0; border-bottom: 1px solid var(--line); }
.weather-details > div:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--line); }
.weather-details dt { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.weather-details dd { margin: 2px 0 0; font-size: 14px; font-weight: 750; }
.weather-source, .weather-stale { display: block; margin: 12px 0 0; color: var(--muted); font-size: 10px; }
.weather-source { text-decoration: underline; text-underline-offset: 2px; }
.weather-unavailable { margin: 20px 0; color: var(--muted); }

/* Full weather forecast */
.forecast-main { background: linear-gradient(180deg, #f5faff 0, #fff 420px); }
.forecast-hero { display: flex; align-items: end; justify-content: space-between; gap: 40px; padding-bottom: 34px; border-bottom: 1px solid var(--ink); }
.forecast-hero > div:first-child > p { margin: 0 0 6px; color: var(--brand-dark); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.forecast-hero h1 { max-width: 850px; font-size: clamp(2.7rem, 6vw, 5.5rem); letter-spacing: -.045em; }
.forecast-hero > div:first-child > span { display: block; margin-top: 15px; color: var(--muted); font-size: 18px; }
.forecast-current { display: grid; grid-template-columns: auto auto; align-items: center; gap: 0 14px; flex: 0 0 auto; }
.forecast-current .weather-icon { grid-row: 1 / 3; }
.forecast-current > strong { font-family: var(--serif); font-size: 64px; letter-spacing: -.06em; line-height: 1; }
.forecast-current > div { display: grid; color: var(--muted); font-size: 12px; }
.forecast-current b { color: var(--ink); font-size: 14px; }
.forecast-status { display: flex; align-items: center; gap: 9px; margin: 16px 0 34px; color: var(--muted); font-size: 12px; }
.forecast-status > span { width: 8px; height: 8px; border-radius: 50%; background: #20a464; }
.forecast-status.is-stale > span { background: #d89400; }
.forecast-summary { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: var(--section-space); border-block: 1px solid var(--line); }
.forecast-summary > div { display: grid; gap: 3px; padding: 20px; border-right: 1px solid var(--line); }
.forecast-summary > div:first-child { padding-left: 0; }
.forecast-summary > div:last-child { border: 0; }
.forecast-summary span { color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.forecast-summary strong { font-family: var(--serif); font-size: 24px; }
.forecast-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-block: 1px solid var(--line-dark); }
.forecast-day { min-width: 0; padding: 20px 15px; border-right: 1px solid var(--line); }
.forecast-day:last-child { border: 0; }
.forecast-day.is-today { background: #f2f8fd; box-shadow: inset 0 3px var(--brand); }
.forecast-day header { display: grid; }
.forecast-day header span { font-family: var(--serif); font-size: 18px; font-weight: 700; text-transform: capitalize; }
.forecast-day header time { color: var(--muted); font-size: 11px; }
.forecast-day-condition { min-height: 105px; padding-block: 19px; }
.forecast-symbol { display: block; width: 38px; height: 24px; margin-bottom: 11px; border-radius: 14px; background: #dceaf4; box-shadow: 12px -8px 0 -2px #ffd36a; }
.forecast-day-condition strong { display: block; font-size: 12px; line-height: 1.3; }
.forecast-temperatures { display: flex; gap: 10px; align-items: baseline; font-family: var(--serif); font-size: 25px; }
.forecast-temperatures span { color: var(--muted); font-size: 20px; }
.forecast-day dl { margin: 16px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
.forecast-day dl div { display: flex; justify-content: space-between; gap: 5px; font-size: 10px; }
.forecast-day dt { color: var(--muted); }
.forecast-day dd { margin: 0; font-weight: 700; white-space: nowrap; }
.forecast-note { max-width: 780px; margin-top: var(--section-space); padding-left: 22px; border-left: 3px solid var(--brand); }
.forecast-note h2 { margin-bottom: 8px; font-size: 24px; }
.forecast-note p { color: var(--muted); }
.forecast-note a { color: var(--brand-dark); text-decoration: underline; }
.forecast-page-hero { display: block; }
.forecast-city-nav { display: flex; gap: 10px; margin: 22px 0 var(--section-space); }
.forecast-city-nav a { padding: 9px 15px; border: 1px solid var(--line-dark); border-radius: 4px; background: var(--paper); font-size: 13px; font-weight: 750; }
.forecast-city-nav a:hover { border-color: var(--brand); color: var(--brand-dark); }
.forecast-city { scroll-margin-top: 24px; margin-top: var(--section-space); padding-top: 18px; border-top: 1px solid var(--ink); }
.forecast-city + .forecast-city { margin-top: calc(var(--section-space) * 1.25); }
.forecast-city-header { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 4px; }
.forecast-city-header > div:first-child > p { margin: 0 0 3px; color: var(--brand-dark); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.forecast-city-header h2 { font-size: clamp(2rem, 4vw, 3.4rem); }

/* Dominican lottery results */
.lottery-main { background: linear-gradient(180deg, #f5faff 0, #fff 430px); }
.lottery-hero { padding-bottom: 32px; border-bottom: 1px solid var(--ink); }
.lottery-hero > p, .lottery-date-heading > div > p, .lottery-card > header > p { margin: 0 0 5px; color: var(--brand-dark); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.lottery-hero h1 { font-size: clamp(2.8rem, 7vw, 5.8rem); letter-spacing: -.045em; }
.lottery-hero > span { display: block; max-width: 720px; margin-top: 14px; color: var(--muted); font-size: 18px; }
.lottery-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin: 24px 0 50px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.lottery-quick-dates { display: flex; gap: 8px; }
.lottery-quick-dates a { display: grid; min-width: 72px; height: 44px; padding: 0 15px; place-items: center; border: 1px solid var(--line-dark); border-radius: 4px; background: var(--paper); font-size: 13px; font-weight: 800; }
.lottery-quick-dates a.is-active { border-color: var(--brand); background: var(--brand); color: white; }
.lottery-toolbar form { display: grid; grid-template-columns: auto auto; gap: 6px 8px; }
.lottery-toolbar label { grid-column: 1 / -1; color: var(--muted); font-size: 11px; font-weight: 750; }
.lottery-toolbar input { height: 44px; padding: 0 12px; border: 1px solid var(--line-dark); border-radius: 4px; background: var(--paper); }
.lottery-toolbar button { height: 44px; padding: 0 18px; border: 1px solid var(--ink); border-radius: 4px; background: var(--ink); color: white; font-size: 12px; font-weight: 800; cursor: pointer; }
.lottery-date-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 25px; }
.lottery-fallback-notice { margin: -24px 0 28px; padding: 13px 16px; border-left: 3px solid #d89400; background: #fff8e8; color: #655020; font-size: 13px; }
.lottery-fallback-notice strong { font-weight: 800; }
.lottery-date-heading h2 { font-size: clamp(1.65rem, 3vw, 2.5rem); }
.lottery-status { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; color: var(--muted); font-size: 11px; }
.lottery-status > span { width: 8px; height: 8px; border-radius: 50%; background: #20a464; }
.lottery-status.is-stale > span { background: #d89400; }
.lottery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.lottery-card { min-width: 0; padding: 25px; border: 1px solid var(--line); border-top: 3px solid var(--brand); border-radius: var(--radius); background: var(--paper); }
.lottery-card > header { margin-bottom: 17px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.lottery-card > header h2 { font-size: clamp(1.55rem, 2.5vw, 2rem); }
.lottery-draw { display: grid; grid-template-columns: minmax(135px, .8fr) minmax(0, 1.2fr); gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.lottery-draw:last-child { padding-bottom: 0; border: 0; }
.lottery-draw-meta h3 { font-family: var(--sans); font-size: 13px; font-weight: 800; line-height: 1.3; }
.lottery-draw-meta p { display: flex; flex-wrap: wrap; gap: 5px 10px; margin: 4px 0 0; color: var(--muted); font-size: 10px; text-transform: uppercase; }
.lottery-numbers { display: flex; flex-wrap: wrap; gap: 7px; justify-content: flex-end; margin: 0; padding: 0; list-style: none; }
.lottery-numbers li { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid #9fc9ea; border-radius: 50%; background: #f2f8fd; color: #075a9b; font-family: var(--serif); font-size: 17px; font-weight: 700; }
.lottery-empty { padding: clamp(30px, 5vw, 50px); border: 1px solid var(--line); border-left: 4px solid #d89400; border-radius: var(--radius); background: var(--surface); }
.lottery-empty h2 { margin-bottom: 8px; font-size: 28px; }
.lottery-empty p { max-width: 700px; color: var(--muted); }
.lottery-unavailable { border-left-color: #be3942; }
.lottery-disclaimer { max-width: 880px; margin-top: var(--section-space); padding: 24px; border-left: 3px solid var(--brand); background: var(--surface); }
.lottery-disclaimer strong { display: block; margin-bottom: 7px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.lottery-disclaimer p { margin-bottom: 7px; color: var(--muted); font-size: 13px; }
.lottery-disclaimer p:last-child { margin: 0; }
.lottery-disclaimer a { color: var(--brand-dark); text-decoration: underline; }

/* Archive and search */
.breadcrumbs { border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.breadcrumbs .wrap { display: flex; gap: 9px; padding-block: 12px; }
.archive-header, .rates-hero { margin-bottom: 38px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.archive-header h1, .rates-hero h1 { font-size: clamp(2.25rem, 5vw, 4.5rem); letter-spacing: -.03em; }
.archive-description { max-width: 760px; margin-top: 14px; color: var(--muted); }
.archive-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 42px 28px; }
.archive-story h2 { margin: 15px 0 9px; font-size: clamp(1.3rem, 2vw, 1.65rem); }
.story-meta { display: flex; flex-wrap: wrap; gap: 6px 15px; margin-bottom: 9px; }
.archive-story .story-content > p { color: #465361; }
.navigation.pagination { margin-top: 64px; padding-top: 26px; border-top: 1px solid var(--ink); }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.page-numbers { display: inline-grid; min-width: 44px; min-height: 44px; padding: 8px 13px; place-items: center; border: 1px solid var(--line-dark); border-radius: 4px; font-size: 14px; font-weight: 700; }
.page-numbers.current { border-color: var(--brand); background: var(--brand); color: white; }
.page-numbers:hover { border-color: var(--brand); color: var(--brand-dark); }
.archive-empty { padding: 44px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.archive-empty h2 { margin-bottom: 8px; font-size: 28px; }

/* Article */
.article-header { max-width: 850px; margin-bottom: 30px; }
.article-categories { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.article-categories a { color: var(--brand-dark); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.article-header h1 { font-size: clamp(2.5rem, 6vw, 5rem); letter-spacing: -.035em; }
.article-deck { max-width: 760px; margin: 20px 0; color: #465361; font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.45; }
.article-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 15px; margin-top: 22px; }
.article-byline img { border-radius: 50%; }
.article-byline a { font-weight: 700; }
.article-comment-count { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); white-space: nowrap; }
.article-comment-count svg { flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.article-comment-count:hover { color: var(--brand-dark); }
.article-featured { margin: 0 0 36px; }
.article-featured img { width: 100%; border-radius: var(--radius); }
.article-featured figcaption { padding-top: 9px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.article-body { max-width: 700px; font-family: var(--serif); font-size: clamp(18px, 1.5vw, 20px); line-height: 1.78; }
.article-body > * { max-width: 100%; }
.article-body h2, .article-body h3, .article-body h4 { margin: 1.8em 0 .65em; }
.article-body h2 { font-size: 1.75em; }
.article-body h3 { font-size: 1.4em; }
.article-body a { color: var(--brand-dark); text-decoration: underline; text-underline-offset: 3px; }
.article-body blockquote { margin: 2em 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--brand); color: #33404c; font-size: 1.3em; line-height: 1.45; }
.article-body ul, .article-body ol { padding-left: 1.35em; }
.article-body figure { margin: 2em 0; }
.article-body figcaption { margin-top: 8px; color: var(--muted); font-family: var(--sans); font-size: 12px; }
.article-body table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-family: var(--sans); font-size: 15px; }
.article-body th, .article-body td { padding: 10px; border: 1px solid var(--line); }
.article-share { display: flex; flex-wrap: wrap; gap: 9px; max-width: 700px; margin-top: 42px; padding-block: 20px; border-block: 1px solid var(--line); }
.article-share span { margin-right: 10px; font-weight: 800; }
.article-share a { color: var(--brand-dark); font-size: 13px; font-weight: 700; }
.author-box { display: flex; gap: 20px; max-width: 700px; margin-top: 36px; padding: 24px; border-radius: var(--radius); background: var(--surface); }
.author-box img { width: 80px; height: 80px; border-radius: 50%; }
.author-box h2 { font-size: 22px; }
.related-posts { margin-top: var(--section-space); }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.comments-area { max-width: 700px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--ink); }
.comments-heading { position: relative; margin-bottom: 30px; padding-top: 10px; }
.comments-heading::before { position: absolute; top: -26px; left: 0; width: 56px; height: 3px; background: var(--brand); content: ""; }
.comments-heading > p { margin: 0 0 3px; color: var(--brand-dark); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.comments-heading h2 { font-size: clamp(1.65rem, 3vw, 2.25rem); }
.comment-list, .comment-list .children { margin: 0; padding: 0; list-style: none; }
.comment-list .children { margin: 22px 0 0 42px; padding-left: 22px; border-left: 2px solid var(--line); }
.comment-list > .comment { padding-block: 26px; border-bottom: 1px solid var(--line); }
.comment-list .children .comment { padding-block: 16px; }
.comment-body { position: relative; }
.comment-meta { margin-bottom: 12px; }
.comment-author { display: flex; align-items: center; gap: 12px; }
.comment-author .avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--surface); }
.comment-author .fn { font-family: var(--serif); font-size: 17px; font-style: normal; font-weight: 700; }
.comment-author .says { position: absolute; overflow: hidden; width: 1px; height: 1px; clip: rect(0,0,0,0); }
.comment-metadata { margin: -13px 0 0 64px; color: var(--muted); font-size: 10px; }
.comment-metadata a { color: inherit; }
.comment-awaiting-moderation { display: block; margin: 12px 0; padding: 8px 10px; border-left: 3px solid #d89400; background: #fff8e8; color: #655020; font-size: 12px; }
.comment-content { margin-left: 64px; color: #34414d; font-family: var(--serif); font-size: 17px; line-height: 1.7; }
.comment-content p:last-child { margin-bottom: 0; }
.comment-content a { color: var(--brand-dark); text-decoration: underline; text-underline-offset: 2px; }
.comment-content img { border-radius: var(--radius); }
.reply { margin: 12px 0 0 64px; }
.comment-reply-link, .comment-edit-link { color: var(--brand-dark); font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.comment-navigation { margin: 28px 0; }
.comment-navigation .nav-links { justify-content: space-between; }
.comment-navigation a { color: var(--brand-dark); font-size: 12px; font-weight: 750; }
.comment-respond { margin-top: 44px; padding: clamp(22px, 4vw, 34px); border: 1px solid var(--line); border-top: 3px solid var(--brand); border-radius: var(--radius); background: var(--surface); }
.comment-reply-title { margin-bottom: 8px; font-size: clamp(1.5rem, 3vw, 2rem); }
.cancel-reply { margin-left: 10px; font-family: var(--sans); }
#cancel-comment-reply-link { color: var(--brand-dark); font-size: 11px; font-weight: 750; }
.comment-notes, .logged-in-as, .must-log-in { margin-bottom: 22px; color: var(--muted); font-size: 12px; }
.editorial-comment-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.editorial-comment-form > * { margin: 0; }
.editorial-comment-form .comment-notes, .editorial-comment-form .logged-in-as, .editorial-comment-form .must-log-in, .comment-form-comment, .comment-form-url, .comment-form-cookies-consent, .form-submit { grid-column: 1 / -1; }
.editorial-comment-form label:not([for="wp-comment-cookies-consent"]) { display: block; margin-bottom: 6px; color: var(--ink); font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.editorial-comment-form input[type="text"], .editorial-comment-form input[type="email"], .editorial-comment-form input[type="url"], .editorial-comment-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line-dark); border-radius: 4px; background: var(--paper); }
.editorial-comment-form input[type="text"], .editorial-comment-form input[type="email"], .editorial-comment-form input[type="url"] { height: 48px; }
.editorial-comment-form textarea { min-height: 170px; resize: vertical; line-height: 1.6; }
.editorial-comment-form input:focus, .editorial-comment-form textarea:focus { border-color: var(--brand); outline: 2px solid color-mix(in srgb, var(--brand) 18%, transparent); outline-offset: 0; }
.comment-form-cookies-consent { display: grid; grid-template-columns: 18px 1fr; gap: 9px; align-items: start; color: var(--muted); font-size: 12px; }
.comment-form-cookies-consent input { width: 16px; height: 16px; margin: 3px 0 0; accent-color: var(--brand); }
.comment-form-cookies-consent label { line-height: 1.5; }
.editorial-comment-submit { min-height: 48px; padding: 0 22px; border: 1px solid var(--brand); border-radius: 4px; background: var(--brand); color: white; font-size: 12px; font-weight: 800; cursor: pointer; }
.editorial-comment-submit:hover { border-color: var(--brand-dark); background: var(--brand-dark); }
.comments-closed { padding: 16px; border-left: 3px solid var(--line-dark); background: var(--surface); color: var(--muted); font-size: 13px; }

/* Currency page */
.rates-hero > div { max-width: 720px; margin-top: 16px; color: var(--muted); font-size: 18px; }
.rate-status { display: flex; gap: 9px; align-items: center; margin-bottom: 18px; color: var(--muted); font-size: 13px; font-weight: 700; }
.rate-status > span { width: 9px; height: 9px; border-radius: 50%; background: #20a464; }
.rate-status--stale > span { background: #d89400; }
.rate-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.rate-card { padding: clamp(22px, 4vw, 34px); border: 1px solid var(--line); border-top: 3px solid var(--brand); border-radius: var(--radius); }
.rate-card-top { display: flex; align-items: center; justify-content: space-between; color: var(--muted); }
.rate-card-top > span { color: var(--brand-dark); font-family: var(--serif); font-size: 26px; }
.rate-card h2 { margin-top: 22px; font-size: clamp(2rem, 4vw, 3.15rem); }
.rate-card p, .rate-card small { color: var(--muted); }
.converter { margin-top: 28px; padding: clamp(24px, 5vw, 42px); border-radius: var(--radius); background: #101820; color: white; }
.converter h2 { color: white; font-size: 30px; }
.converter header > p { margin-bottom: 2px; color: #82c6ff; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.converter-fields { display: grid; grid-template-columns: 1.15fr 1fr auto 1fr; gap: 12px; align-items: end; margin-top: 28px; }
.converter label > span { display: block; margin-bottom: 7px; color: #c6d0d8; font-size: 12px; font-weight: 700; }
.converter input, .converter select { width: 100%; height: 50px; padding: 0 13px; border: 1px solid #52606c; border-radius: 4px; background: #1c2731; color: white; }
.currency-swap { width: 50px; height: 50px; border: 1px solid #52606c; border-radius: 4px; background: transparent; color: white; cursor: pointer; }
.converter-result { display: grid; margin-top: 24px; padding-top: 20px; border-top: 1px solid #3a4650; }
.converter-result strong { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); }
.converter-result span { color: #c6d0d8; }
.converter.has-error .converter-result strong { color: #ff9f9f; font-family: var(--sans); font-size: 16px; }
.rate-updated { margin-top: 14px; }
.rates-unavailable { padding: 34px; border-left: 4px solid #d89400; background: var(--surface); }

/* Not found */
.not-found-main { padding-top: clamp(3rem, 8vw, 7rem); }
.not-found-hero { display: grid; grid-template-columns: minmax(180px, .65fr) minmax(0, 1.35fr); gap: clamp(32px, 7vw, 96px); align-items: center; padding-bottom: clamp(3rem, 7vw, 6rem); border-bottom: 1px solid var(--ink); }
.not-found-code { margin: 0; color: var(--surface); font-family: var(--serif); font-size: clamp(8rem, 20vw, 17rem); font-weight: 700; letter-spacing: -.09em; line-height: .72; user-select: none; }
.not-found-kicker { margin: 0 0 10px; color: var(--brand-dark); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.not-found-copy h1 { max-width: 760px; font-size: clamp(2.6rem, 6vw, 5.3rem); letter-spacing: -.04em; }
.not-found-copy > p:last-of-type { max-width: 650px; margin-top: 20px; color: var(--muted); font-size: 18px; }
.not-found-actions { display: flex; gap: 14px; align-items: center; margin-top: 30px; }
.editorial-button { display: inline-grid; min-height: 54px; padding: 0 22px; place-items: center; border: 1px solid var(--brand); border-radius: var(--radius); background: var(--brand); color: white; font-size: 13px; font-weight: 800; white-space: nowrap; }
.editorial-button:hover { background: var(--brand-dark); color: white; }
.not-found-search { width: min(100%, 410px); }
.not-found-categories { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; padding-block: 22px; border-bottom: 1px solid var(--line); }
.not-found-categories span { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.not-found-categories a { font-family: var(--serif); font-weight: 700; }
.not-found-latest { margin-top: var(--section-space); }
.not-found-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }

/* Footer */
.main-footer { margin-top: var(--section-space); background: #101820; color: #c5ced6; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; padding-block: 56px; }
.footer-brand .logo-image { margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer-brand p { max-width: 360px; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 24px; align-content: start; }
.footer-nav a { padding-bottom: 8px; border-bottom: 1px solid #34414c; color: white; font-weight: 650; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 18px; border-top: 1px solid #34414c; font-size: 12px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: white; font-weight: 700; }

@media (max-width: 940px) {
  .smart-head-main { display: none; }
  .smart-head-mobile { display: block; }
  .smart-head-mobile .inner { display: grid; grid-template-columns: 44px 1fr 44px; justify-items: center; min-height: 72px; }
  .smart-head-mobile .logo-image { width: min(220px, 55vw); max-height: 54px; }
  .offcanvas-toggle { display: block; }
  .content-sidebar-grid, .home-layout { grid-template-columns: minmax(0, 1fr); }
  .main-sidebar { max-width: none; }
  .sidebar-sticky { position: static; }
  .home-sidebar { display: none; }
  .mobile-sidebar-insert { display: block; margin: -1rem 0 var(--section-space); }
  .mobile-sidebar-insert .sidebar-module { max-width: none; margin: 0; }
  .mobile-sidebar-insert .weather-widget { width: 100%; }
  .article-body { max-width: 760px; }
  .forecast-days { grid-template-columns: repeat(2, 1fr); border: 0; gap: 12px; }
  .forecast-day { border: 1px solid var(--line); border-radius: var(--radius); }
  .forecast-day:last-child { border: 1px solid var(--line); }
  .forecast-day-condition { min-height: 80px; }
  .forecast-city-header { align-items: flex-start; }
  .lottery-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .wrap { width: min(calc(100% - 32px), var(--wrap)); }
  .main { padding-block: 34px; }
  .lead-grid, .section-lead, .footer-grid { grid-template-columns: 1fr; }
  .lead-story h2 { font-size: 2.35rem; }
  .lead-secondary { grid-template-columns: 1fr; }
  .featured-secondary { grid-template-columns: 112px 1fr; }
  .just-in { grid-template-columns: 1fr; }
  .just-in ul { grid-template-columns: 1fr; }
  .story-grid, .archive-grid, .related-grid, .rate-cards, .home-sidebar { grid-template-columns: 1fr; }
  .columnist-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-lead { gap: 16px; }
  .section-lead h3 { margin-top: 0; }
  .ejt-ads__items { grid-template-columns: 1fr; }
  .archive-header h1, .rates-hero h1 { font-size: 2.55rem; }
  .article-header h1 { font-size: 2.65rem; }
  .article-body { font-size: 18px; }
  .comment-list .children { margin-left: 16px; padding-left: 14px; }
  .comment-content, .reply { margin-left: 0; }
  .editorial-comment-form { grid-template-columns: 1fr; }
  .editorial-comment-form > * { grid-column: 1 / -1; }
  .converter-fields { grid-template-columns: 1fr 1fr; }
  .converter-fields label:first-child { grid-column: 1 / -1; }
  .currency-swap { grid-row: 3; justify-self: end; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
  .search-modal-box { padding: 42px 20px 24px; }
  .not-found-hero { grid-template-columns: 1fr; gap: 26px; }
  .not-found-code { font-size: 8rem; }
  .not-found-actions { align-items: stretch; flex-direction: column; }
  .editorial-button, .not-found-search { width: 100%; }
  .not-found-grid { grid-template-columns: 1fr; }
  .forecast-hero { align-items: start; flex-direction: column; }
  .forecast-city-header { flex-direction: column; }
  .forecast-summary { grid-template-columns: repeat(2, 1fr); }
  .forecast-summary > div { padding: 16px; border-bottom: 1px solid var(--line); }
  .forecast-summary > div:nth-child(2) { border-right: 0; }
  .forecast-summary > div:first-child { padding-left: 16px; }
  .lottery-toolbar { align-items: stretch; flex-direction: column; }
  .lottery-toolbar form { grid-template-columns: minmax(0, 1fr) auto; }
  .lottery-date-heading { align-items: flex-start; flex-direction: column; }
  .lottery-draw { grid-template-columns: 1fr; }
  .lottery-numbers { justify-content: flex-start; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 420px) {
  .featured-secondary { grid-template-columns: 92px 1fr; }
  .featured-secondary h3 { font-size: 16px; }
  .converter-fields { grid-template-columns: 1fr; }
  .converter-fields label:first-child { grid-column: auto; }
  .currency-swap { grid-row: auto; justify-self: start; }
  .footer-nav { grid-template-columns: 1fr; }
  .forecast-days { grid-template-columns: 1fr; }
}
