/* La República · Panamá — a classic daily, sober, with one colour per section.
   Loaded on top of style.css when a site file says "design": "clasico-color".
   The section colour arrives as --accent, set per [data-section] in base.html, so a card, a front-page lead
   and a story all pick it up on their own. Red is kept for what is urgent and nothing else: a navy site where
   everything is red has no way left to say «última hora». */
:root{
  --ink:#16181d;
  --muted:#6a6f78;
  --line:#e2ded5;          /* warm hairline: on cream, a grey line looks dirty */
  --paper:#fffdf8;         /* cream, barely: it takes the glare off a long read */
  --soft:#f6f3ec;
  --urgent:#c0362c;
}

/* ---------- the nameplate ---------- */
/* «La República» exists in Peru, Costa Rica and Colombia. Ours says «Panamá» under the name, always,
   in the logo itself, so a reader who arrives from a search knows in one glance which one this is. */
.brand{font-family:var(--serif);font-weight:700;letter-spacing:-.02em;line-height:.95;
  display:flex;flex-direction:column;align-items:center;gap:2px}
.brand-main{font-size:clamp(30px,7.5vw,56px)}
.brand-sub{font:600 clamp(10px,2.1vw,13px)/1 var(--sans);text-transform:uppercase;letter-spacing:.42em;
  text-indent:.42em;color:var(--ink);padding-top:5px;border-top:1px solid currentColor;align-self:stretch;
  text-align:center}
.brand.small{flex-direction:row;gap:7px;align-items:baseline;font-size:24px}
.brand.small .brand-main{font-size:24px}
.brand.small .brand-sub{border:0;padding:0;letter-spacing:.2em;text-indent:.2em;font-size:10px;align-self:auto}

.topbar{background:var(--ink)}
.topbar .sub-link,.topbar .live::before,.live-dot{color:var(--urgent)}
.topbar .live::before,.live-dot{background:var(--urgent)}
.btn-sub{border-radius:2px;letter-spacing:.01em}

/* The section bar is the spine of a classic front page: one hairline above, one below, nothing else. */
.sections a{font-size:15px;letter-spacing:.01em}
.sections a.on{border-bottom-width:3px}
.trend-label{color:var(--muted);text-transform:uppercase;font-size:12px;letter-spacing:.1em}

/* ---------- headlines ---------- */
.portada-text h1,.lead h1,.story h1{letter-spacing:-.02em}
.item h3{letter-spacing:-.01em}

/* The kicker is the section, in its colour, with the rule that a printed page would give it. */
.kicker{border-left:3px solid var(--accent);padding-left:7px;letter-spacing:.09em;font-size:11px}
.portada-text .kicker,.lead .kicker,.story .kicker{font-size:12px}

/* Breaking news is the one red thing on the page. */
.banner{background:var(--urgent)}
.banner-tag{color:var(--urgent);border-radius:2px}

/* ---------- plates and rules ---------- */
/* Square corners on photographs: a rounded corner reads as an app, not as a newspaper. */
.ph,.portada-ph,.video-frame{border-radius:2px}
.ph img,.portada-ph img{transition:none}        /* a photo that moves under the cursor cheapens a daily */
.ph:hover img,.portada-ph:hover img{transform:none}
.portada{border-bottom-color:var(--ink)}
.block-head{border-bottom-width:2px}
.rule-title{border-top-width:3px}

/* The story body: measure kept short, because a wide column is the one thing that stops people reading. */
.story .body{max-width:40em}
.story .body p{line-height:1.72}
