*{margin:0;padding:0;box-sizing:border-box}
body{font-family:-apple-system,system-ui,sans-serif;line-height:1.7;color:#333;background:#fff}
.css-fl77qen{max-width:780px;margin:0 auto;padding:0 20px}
header{background:#1a1a2e;color:#fff;padding:32px 0;margin-bottom:40px}
header h1{font-size:28px;margin-bottom:4px}
header p{opacity:.7;font-size:15px}
header .css-hyel7i3{color:#fff;text-decoration:none;font-size:18px;font-weight:600}
.css-c9zsvuf{border-bottom:1px solid #eee;padding:24px 0}
.css-c9zsvuf h2{font-size:20px;margin-bottom:8px}
.css-c9zsvuf h2 a{color:#1a1a2e;text-decoration:none}
.css-c9zsvuf h2 a:hover{color:#e94560}
.css-c9zsvuf .date{font-size:13px;color:#999;margin-bottom:8px}
.css-ne5j7x1{color:#e94560;text-decoration:none;font-size:14px;font-weight:600}
.css-fw57yko{padding-bottom:60px}
.css-fw57yko h1{font-size:32px;margin-bottom:8px}
.css-fw57yko time{font-size:13px;color:#999;display:block;margin-bottom:24px}
.css-fw57yko h2{font-size:22px;margin:32px 0 12px}
.css-fw57yko h3{font-size:18px;margin:24px 0 8px}
.css-fw57yko p{margin-bottom:16px}
.css-fw57yko ul,.css-fw57yko ol{margin:0 0 16px 24px}
.css-fw57yko a{color:#e94560}
.css-fw57yko img{max-width:100%;height:auto;border-radius:8px;margin:16px 0}
footer{border-top:1px solid #eee;padding:24px 0;margin-top:40px;text-align:center;font-size:13px;color:#999}
footer a{color:#999}
.css-qzurq92{background:#f5f5f5;border-left:3px solid #999;padding:10px 14px;margin-bottom:20px;font-size:13px;color:#777;font-style:italic}
.css-926hdmn{background:#fef9e7;border:1px solid #f0c36d;padding:10px 14px;margin-top:20px;font-size:12px;color:#8a6d3b}
.css-6ixw1ur{font-size:13px;color:#999;margin:-16px 0 24px;font-style:italic}
.css-6zxy71l{text-align:center;margin:0 0 20px}
.css-fmknlsd{max-width:100%;height:auto;border-radius:6px}
.css-dz2pry9{margin-top:40px;padding-top:24px;border-top:1px solid #eee}
.css-dz2pry9 h3{font-size:18px;margin-bottom:12px}
.css-dz2pry9 ul{list-style:none;padding:0}
.css-dz2pry9 li{padding:4px 0}
.css-dz2pry9 a{color:#e94560;text-decoration:none}
.css-5682dct{padding:20px 0}
.css-5682dct ul{list-style:none;padding:0}
.css-5682dct li{padding:5px 0;font-size:15px}
.css-5682dct a{color:#1a1a2e;text-decoration:none}
.css-5682dct a:hover{color:#e94560}
/* === Theme === */
:root{--primary:#1F3C5E;--accent:#CC8800;--bg:#E9E5DC;--fg:#1E1A16;--border:#C4BEB1;--r:3px;--fb:'Karla';--fh:'Barlow Condensed'}
/* === Custom === */
/* Design reference: 1980s-90s South American spirit label + coastal Ecuador cantina menu */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700&family=Karla:ital,wght@0,400;0,500;0,700;1,400&display=swap');

/* --- Base --- */
:root body { font-family: var(--fb), system-ui, -apple-system, sans-serif; color: var(--fg); background: var(--bg); line-height: 1.72; font-size: 16px; }
::selection { background: var(--accent); color: var(--bg); }
:root hr { border: 0; border-top: 1px solid var(--border); margin: 28px 0; }

/* --- Header (site masthead) --- */
:root header { background: var(--primary); color: var(--bg); padding: 28px 0 20px; margin-bottom: 36px; border-bottom: 4px solid var(--accent); }
:root header h1 { font-family: var(--fh), 'Arial Narrow', system-ui, sans-serif; font-size: 34px; font-weight: 700; color: var(--bg); letter-spacing: .02em; margin-bottom: 4px; line-height: 1.12; text-transform: uppercase; }
:root header h1 + p { font-size: 15px; color: rgba(233,229,220,.93); font-family: var(--fb), system-ui, sans-serif; }
:root header a { font-family: var(--fh), 'Arial Narrow', system-ui, sans-serif; font-size: 22px; color: var(--bg); text-decoration: none; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }

/* --- Main container --- */
:root main { padding-bottom: 56px; }

/* --- Article page: title and date --- */
:root main > h1 { font-family: var(--fh), 'Arial Narrow', system-ui, sans-serif; font-size: 36px; font-weight: 700; color: var(--fg); line-height: 1.14; margin: 8px 0 6px; letter-spacing: .01em; text-transform: uppercase; }
:root main > time { display: block; font-family: var(--fb), system-ui, sans-serif; font-size: 11px; color: var(--accent); margin-bottom: 26px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; }

/* --- Article page body --- */
:root main > article:not(:has(> .date)) > p { margin-bottom: 20px; font-size: 16px; line-height: 1.74; }
:root main > article:not(:has(> .date)) > h2 { font-family: var(--fh), 'Arial Narrow', system-ui, sans-serif; font-size: 22px; font-weight: 700; color: var(--primary); margin: 44px 0 14px; border-left: 4px solid var(--accent); padding-left: 12px; letter-spacing: .02em; text-transform: uppercase; }
:root main > article:not(:has(> .date)) > h3 { font-family: var(--fh), 'Arial Narrow', system-ui, sans-serif; font-size: 19px; font-weight: 700; color: var(--accent); margin: 32px 0 10px; letter-spacing: .02em; }
:root main > article:not(:has(> .date)) ul,
:root main > article:not(:has(> .date)) ol { margin: 0 0 18px 22px; }
:root main > article:not(:has(> .date)) li { margin-bottom: 6px; font-size: 16px; }
:root main > article:not(:has(> .date)) > blockquote { border-left: 4px solid var(--accent); padding: 10px 0 10px 18px; margin: 26px 0; font-style: italic; color: var(--fg); background: rgba(204,136,0,.06); border-radius: 0 var(--r) var(--r) 0; }

/* --- Article body links --- */
:root main > article:not(:has(> .date)) > p a,
:root main > article:not(:has(> .date)) > p a:visited { color: var(--primary); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1.5px; font-weight: 500; }
:root main > article:not(:has(> .date)) > p a:hover { color: var(--accent); text-decoration-color: var(--primary); }

/* --- Image wrapper in article --- */
:root main > article:not(:has(> .date)) > div:has(> img) { margin: 0 0 26px; max-height: 400px; overflow: hidden; }
:root main > article:not(:has(> .date)) > div:has(> img) > img { width: 100%; height: 360px; object-fit: cover; object-position: center; display: block; border: 1px solid var(--border); border-radius: var(--r); }

/* --- Aside / footnote block in article --- */
:root main > article:not(:has(> .date)) > div:has(> em) { border-top: 2px solid var(--primary); border-bottom: 1px solid var(--border); padding: 10px 0 10px 14px; margin-top: 32px; margin-bottom: 28px; font-size: 13px; color: var(--fg); font-family: var(--fb), system-ui, sans-serif; }
:root main > article:not(:has(> .date)) > div:has(> em) em { font-family: var(--fh), 'Arial Narrow', system-ui, sans-serif; font-style: normal; color: var(--primary); text-transform: uppercase; font-size: 11px; letter-spacing: .16em; display: inline-block; margin-right: 8px; font-weight: 700; }

/* --- Article listing cards (home page) --- */
:root main > article:has(> .date) { padding: 20px 0; border-bottom: 1px solid var(--border); }
:root main > article:has(> .date):last-of-type { border-bottom: 0; }
:root main > article:has(> .date) > h2 { font-family: var(--fh), 'Arial Narrow', system-ui, sans-serif; font-size: 21px; font-weight: 600; margin-bottom: 4px; line-height: 1.26; letter-spacing: .01em; text-transform: uppercase; }
:root main > article:has(> .date) > h2 a { color: var(--fg); text-decoration: none; }
:root main > article:has(> .date) > h2 a:hover { color: var(--primary); }
:root main > article:has(> .date) > .date { font-family: var(--fb), system-ui, sans-serif; font-size: 11px; color: var(--accent); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; display: block; font-weight: 700; }
:root main > article:has(> .date) > p:not(.date) { font-size: 14.5px; color: var(--fg); opacity: .94; margin-bottom: 10px; line-height: 1.60; }
:root main > article:has(> .date) > a:last-child { font-family: var(--fh), 'Arial Narrow', system-ui, sans-serif; font-size: 13px; color: var(--primary); text-decoration: none; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; border-bottom: 2px solid var(--accent); padding-bottom: 1px; }
:root main > article:has(> .date) > a:last-child:hover { color: var(--accent); border-bottom-color: var(--primary); }

/* --- Related articles sidebar section --- */
:root main > section { margin-top: 36px; padding-top: 16px; border-top: 2px solid var(--primary); }
:root main > section > h3 { font-family: var(--fh), 'Arial Narrow', system-ui, sans-serif; font-size: 16px; color: var(--primary); margin-bottom: 16px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
:root main > section > ul { list-style: none; margin: 0; padding: 0; }
:root main > section > ul > li { padding: 8px 0; border-bottom: 1px dotted var(--border); }
:root main > section > ul > li:last-child { border-bottom: 0; }
:root main > section > ul > li > a { color: var(--fg); text-decoration: none; font-family: var(--fb), system-ui, sans-serif; font-size: 14px; }
:root main > section > ul > li > a:hover { color: var(--primary); }

/* --- Footer --- */
:root footer { background: transparent; border-top: 1px solid var(--border); padding: 20px 0 28px; margin-top: 36px; text-align: center; font-family: var(--fb), system-ui, sans-serif; font-size: 11px; color: var(--fg); opacity: .58; letter-spacing: .06em; }
:root footer a { color: var(--fg); text-decoration: none; border-bottom: 1px dotted var(--border); }
:root footer a:hover { color: var(--primary); border-bottom-color: var(--primary); opacity: 1; }

/* --- Responsive adjustments --- */
@media (max-width: 640px) {
  :root header { padding: 18px 0 14px; margin-bottom: 24px; }
  :root header h1 { font-size: 26px; }
  :root header a { font-size: 18px; }
  :root main > h1 { font-size: 28px; }
  :root main > article:not(:has(> .date)) > h2 { font-size: 18px; }
  :root main > article:has(> .date) > h2 { font-size: 18px; }
}

/* --- Print styles --- */
@media print {
  :root header { background: none; color: var(--fg); border-bottom: 1px solid var(--fg); }
  :root footer { display: none; }
}

/* === R2 fixes (2026-06-16T20:00:06.390602+00:00) === */

/* --- Comparison & article tables --- */
#comparison-table table,
:root main > article table { width: 100%; border-collapse: collapse; margin: 24px 0 28px; font-size: 15px; }
#comparison-table table th,
:root main > article table th { background: var(--primary); color: var(--bg); font-family: var(--fh), 'Arial Narrow', system-ui, sans-serif; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; padding: 10px 14px; text-align: left; }
#comparison-table table td,
:root main > article table td { padding: 10px 14px; border-bottom: 1px solid var(--border); }
#comparison-table table tr:last-child td,
:root main > article table tr:last-child td { border-bottom: 0; }

/* === R3 fixes (2026-06-16T20:40:20.179568+00:00) === */

/* --- Visit/affiliate links: dashed thicker underline at bold weight --- */
:root main > article:not(:has(> .date)) > p a[href*='/visit/'],
:root main > article:not(:has(> .date)) > p a[href*='/visit/']:visited { text-decoration-style: dashed; text-decoration-thickness: 2px; font-weight: 700; }

/* --- Related-articles section: subtle amber background + padding + radius --- */
:root main > section { padding: 20px 14px 10px; background: rgba(204,136,0,.05); border-radius: var(--r); }

/* === R4 fixes (2026-06-16T21:20:19.479129+00:00) === */

/* --- Visit/affiliate links: amber highlight tint behind text --- */
:root main > article:not(:has(> .date)) > p a[href*='/visit/'],
:root main > article:not(:has(> .date)) > p a[href*='/visit/']:visited { background: rgba(204,136,0,.12); border-radius: 2px; padding: 0 3px; }

/* === QA round-1 fixes (2026-07-25T15:43:52+0800) === */

/* The top-of-file @import lands AFTER rules in the concatenated site.css and
   Chromium drops it, so Barlow Condensed / Karla never loaded — the site was
   rendering in system fallbacks. Declare @font-face here (position-independent).
   Latin subset covers Spanish accents. */
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/barlowcondensed/v13/HTxwL3I-JCGChYJ8VI-L6OO_au7B4-Lwz3bWuQ.woff2) format('woff2')}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/barlowcondensed/v13/HTxwL3I-JCGChYJ8VI-L6OO_au7B4873z3bWuQ.woff2) format('woff2')}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/barlowcondensed/v13/HTxwL3I-JCGChYJ8VI-L6OO_au7B46r2z3bWuQ.woff2) format('woff2')}
@font-face{font-family:'Karla';font-style:normal;font-weight:200 800;font-display:swap;src:url(https://fonts.gstatic.com/s/karla/v33/qkB9XvYC6trAT55ZBi1ueQVIjQTD-JrIH2G7nytkHRyQ8p4wUje6bg.woff2) format('woff2')}
@font-face{font-family:'Karla';font-style:italic;font-weight:200 800;font-display:swap;src:url(https://fonts.gstatic.com/s/karla/v33/qkBKXvYC6trAT7RQNNK2EG7SIwPWMNlCV3lIb7M.woff2) format('woff2')}

:root{ --rust:#B34F2A; }

/* --- Masthead: coupe-glass monogram + kicker + manifesto (shared across pages) --- */
:root header > div{ position: relative; text-align: left; }
:root header > div::before{
  content: ''; display: block; width: 34px; height: 34px; margin: 0 0 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23CC8800' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h18l-9 9z'/%3E%3Cpath d='M12 13v6'/%3E%3Cpath d='M7 20h10'/%3E%3C/svg%3E") no-repeat center/contain;
}
:root header h1{ color: var(--accent); font-size: 44px; letter-spacing: .05em; }
:root header h1::before{
  content: 'GUAYAQUIL \00B7 BARRA DE GARAJE'; display: block;
  font-family: var(--fb), system-ui, sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase; color: rgba(233,229,220,.68);
  margin-bottom: 8px;
}
:root header h1 + p{
  font-style: italic; max-width: 62ch;
  border-top: 1px solid rgba(204,136,0,.42); padding-top: 12px; margin-top: 14px;
}
:root header a{ color: var(--accent); font-size: 26px; letter-spacing: .05em; }

/* --- HOMEPAGE: editorial grid (hero -> Selección band -> chronological grid) --- */
:root main:has(> article > .date){
  display: grid; grid-template-columns: repeat(6, 1fr);
  column-gap: 30px; row-gap: 34px; align-items: start;
}
:root main:has(> article > .date) > article{ padding: 0; margin: 0; border-bottom: 0; }

/* HERO — card 1, THE loud voice */
:root main:has(> article > .date) > article:nth-of-type(1){
  grid-column: 1 / -1; position: relative;
  padding: 28px 0 30px; margin-bottom: 6px; border-bottom: 2px solid var(--primary);
}
:root main:has(> article > .date) > article:nth-of-type(1)::before{
  content: 'ÚLTIMA RESEÑA'; display: inline-block;
  font-family: var(--fb), system-ui, sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: .24em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
:root main:has(> article > .date) > article:nth-of-type(1) > h2{
  font-size: clamp(30px, 5.2vw, 46px); line-height: 1.02; margin: 0 0 14px; max-width: 17ch;
}
:root main:has(> article > .date) > article:nth-of-type(1) > h2 a{ color: var(--primary); }
:root main:has(> article > .date) > article:nth-of-type(1) > .date{ font-size: 12px; color: var(--accent); margin-bottom: 14px; }
:root main:has(> article > .date) > article:nth-of-type(1) > p:not(.date){
  font-size: 18px; line-height: 1.6; max-width: 60ch; opacity: 1;
}
:root main:has(> article > .date) > article:nth-of-type(1) > p:not(.date)::first-letter{
  float: left; font-family: var(--fh), 'Arial Narrow', sans-serif; font-weight: 700;
  font-size: 62px; line-height: .8; padding: 6px 12px 0 0; color: var(--rust);
}
:root main:has(> article > .date) > article:nth-of-type(1) > a:last-child{
  display: inline-block; margin-top: 18px; padding: 9px 24px;
  border: 2px solid var(--accent); border-radius: 2px; color: var(--primary);
}
:root main:has(> article > .date) > article:nth-of-type(1) > a:last-child:hover{ background: var(--accent); color: var(--bg); }
:root main:has(> article > .date) > article:nth-of-type(1)::after{
  content: 'POR HERNÁN SALGADO — “EL QUE ARMA LA BARRA” \00B7 LECTURA 6 MIN';
  display: block; margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--border);
  font-family: var(--fb), system-ui, sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; color: rgba(31,60,94,.72);
}

/* SELECCIÓN DEL BARMAN band — cards 2-4, three across */
:root main:has(> article > .date) > article:nth-of-type(2){ position: relative; }
:root main:has(> article > .date) > article:nth-of-type(n+2):nth-of-type(-n+4){
  grid-column: span 2; margin-top: 3.3rem;
  border-top: 2px solid var(--primary); padding-top: 14px;
}
:root main:has(> article > .date) > article:nth-of-type(2)::before{
  content: 'SELECCIÓN DEL BARMAN — EMPIEZA POR ESTAS';
  position: absolute; left: 0; bottom: calc(100% + 14px); width: calc(300% + 60px);
  font-family: var(--fb), system-ui, sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--rust);
  border-bottom: 1px solid rgba(179,79,42,.35); padding-bottom: 8px;
}
:root main:has(> article > .date) > article:nth-of-type(n+2):nth-of-type(-n+4) > h2{ font-size: 18px; line-height: 1.2; margin-bottom: 6px; }
:root main:has(> article > .date) > article:nth-of-type(n+2):nth-of-type(-n+4) > h2 a{ color: var(--primary); }
:root main:has(> article > .date) > article:nth-of-type(n+2):nth-of-type(-n+4) > .date{ font-size: 11px; }
:root main:has(> article > .date) > article:nth-of-type(n+2):nth-of-type(-n+4) > p:not(.date){ font-size: 13.5px; }

/* CHRONOLOGICAL grid — cards 5+, two across, quiet supporting voice */
:root main:has(> article > .date) > article:nth-of-type(5){ position: relative; }
:root main:has(> article > .date) > article:nth-of-type(n+5){
  grid-column: span 3; border-top: 1px solid var(--border); padding-top: 18px;
}
:root main:has(> article > .date) > article:nth-of-type(5),
:root main:has(> article > .date) > article:nth-of-type(6){ margin-top: 3rem; }
:root main:has(> article > .date) > article:nth-of-type(5)::before{
  content: 'MÁS DEL CUADERNO';
  position: absolute; left: 0; bottom: calc(100% + 12px); width: calc(200% + 30px);
  font-family: var(--fb), system-ui, sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--primary);
  border-bottom: 1px solid var(--border); padding-bottom: 8px;
}
/* Reserve gold for the hero + band moment: mute the routine feed dates/arrows */
:root main:has(> article > .date) > article:nth-of-type(n+5) > .date{ color: rgba(31,60,94,.7); }
:root main:has(> article > .date) > article:nth-of-type(n+5) > a:last-child{ color: var(--primary); border-bottom-color: rgba(31,60,94,.35); }

/* ARCHIVE index — the trailing link dump, rebuilt as a labelled multi-column index */
:root main:has(> article > .date) > section{
  grid-column: 1 / -1; margin-top: 30px; padding-top: 22px;
  border-top: 2px solid var(--primary); position: relative;
}
:root main:has(> article > .date) > section::before{
  content: 'EL ARCHIVO COMPLETO'; display: block;
  font-family: var(--fb), system-ui, sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--primary); margin-bottom: 16px;
}
:root main:has(> article > .date) > section ul{ list-style: none; margin: 0; padding: 0; columns: 3; column-gap: 34px; }
:root main:has(> article > .date) > section li{ break-inside: avoid; margin: 0; padding: 7px 0; border-bottom: 1px dotted var(--border); }
:root main:has(> article > .date) > section a{ color: var(--fg); text-decoration: none; font-size: 13px; line-height: 1.3; }
:root main:has(> article > .date) > section a:hover{ color: var(--primary); }

/* --- ARTICLE: fold stray pink (#e94560) links into the navy/gold system --- */
:root main > article:not(:has(> .date)) a,
:root main > article:not(:has(> .date)) a:visited{ color: var(--primary); }
:root main > article:not(:has(> .date)) a:hover{ color: var(--accent); }

/* --- ARTICLE: bigger editorial title + section dinkus --- */
:root main > h1{ font-size: 44px; }
:root main > article:not(:has(> .date)) > h2{ position: relative; }
:root main > article:not(:has(> .date)) > h2:not(:first-of-type)::before{
  content: '✦'; position: absolute; left: 50%; top: -30px; transform: translateX(-50%);
  color: var(--accent); font-size: 15px; font-weight: 400;
}

/* --- HOMEPAGE grid: single column on mobile (reset spans + reposition labels) --- */
@media (max-width: 640px){
  :root main:has(> article > .date){ grid-template-columns: 1fr; row-gap: 24px; }
  :root main:has(> article > .date) > article:nth-of-type(1){ grid-column: 1 / -1; }
  :root main:has(> article > .date) > article:nth-of-type(n+2):nth-of-type(-n+4){ grid-column: 1 / -1; margin-top: 1.6rem; }
  :root main:has(> article > .date) > article:nth-of-type(n+5){ grid-column: 1 / -1; }
  :root main:has(> article > .date) > article:nth-of-type(5),
  :root main:has(> article > .date) > article:nth-of-type(6){ margin-top: 1.6rem; }
  :root main:has(> article > .date) > article:nth-of-type(2)::before,
  :root main:has(> article > .date) > article:nth-of-type(5)::before{
    position: static; width: auto; bottom: auto; margin-bottom: 12px;
  }
  :root main:has(> article > .date) > article:nth-of-type(1) > h2{ font-size: 29px; }
  :root main:has(> article > .date) > section ul{ columns: 1; }
  :root header h1{ font-size: 30px; }
}
