/*
Theme Name: The Wine Time
Theme URI: https://thewinetime.com.ar/
Description: Tema a medida para The Wine Time. Estilo diario clásico: portada automática por secciones, espacios publicitarios fijos y notas sin Elementor.
Version: 0.5.9
Requires at least: 6.4
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: thewinetime
*/

/* ---------- Base ---------- */
:root {
	--ink: #121212;
	--ink-2: #363636;
	--muted: #5a5a5a;
	--rule: #e2e2e2;
	--wine: #7a1f33;
	--paper: #ffffff;
	--paper-2: #f4f2ee;
	--serif: "Source Serif 4", Georgia, "Times New Roman", serif;
	--sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--wrap: 1200px;
	--gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--serif); font-size: 17px; line-height: 1.5; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--wine); }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 2px; }
button { font: inherit; }
h1, h2, h3, h4 { margin: 0; }

.wrap { max-width: var(--wrap); margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; font: 600 14px var(--sans); }
.skip-link:focus { left: 8px; color: #fff; }

.lbl { display: inline-block; font: 600 11px/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--wine); }
.meta { font: 500 11px/1.4 var(--sans); letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }
.caption { font: 400 12px/1.4 var(--sans); color: var(--muted); margin-top: 6px; }
.rule { border: 0; border-top: 1px solid var(--rule); margin: 20px 0; }
.rule--tight { margin: 14px 0; }
.double-rule { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); height: 4px; }

/* ---------- Cabecera ---------- */
.header-ad { padding-top: 14px; }
.header-ad--below { padding-top: 20px; }
.ad--top { width: 100%; max-width: 1152px; }
.ad--top .ad__item img { width: 100%; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; font: 500 12px var(--sans); }
.topbar__tools { display: flex; gap: 2px; }
.topbar__links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; color: var(--ink); cursor: pointer; }
.icon-btn:hover { color: var(--wine); }
.btn-newsletter { background: var(--wine); color: #fff; padding: 9px 14px; font-weight: 700; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.btn-newsletter:hover { color: #fff; background: #5e1727; }

.masthead { display: grid; grid-template-columns: 1fr minmax(0, 460px) 1fr; align-items: end; gap: 16px; padding-top: 6px; padding-bottom: 14px; }
.masthead__ear { display: flex; flex-direction: column; gap: 2px; font: 400 12px/1.4 var(--sans); color: var(--ink-2); }
.masthead__ear strong { color: var(--ink); font-weight: 700; }
.masthead__ear--right { align-items: flex-end; text-align: right; }
.masthead__place { display: inline-flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 4px 10px; }
.masthead__temp { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--ink); }
.masthead__logo { margin: 0; display: flex; justify-content: center; font-size: inherit; }
.masthead__logo img { width: 460px; height: auto; }
.masthead__weather .widget { margin: 0; }
.masthead__weather .widget-title { display: none; }
.masthead__date-mobile { display: none; }

.mainnav .nav-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; justify-content: center; gap: 0 26px; }
.mainnav .nav-list a { display: block; padding: 11px 0; font: 500 13px var(--sans); }
.mainnav .current-menu-item > a, .mainnav .current-cat > a { color: var(--wine); }

.search-panel { padding-top: 10px; padding-bottom: 10px; }
.search-form { display: flex; gap: 8px; max-width: 640px; }
.search-form__input { flex: 1 1 auto; min-width: 0; height: 46px; padding: 0 12px; border: 1px solid #8a8a8a; font: 400 15px var(--sans); }
.search-form__btn { height: 46px; padding: 0 20px; border: 0; background: var(--ink); color: #fff; font: 700 13px var(--sans); letter-spacing: .04em; text-transform: uppercase; cursor: pointer; }

.drawer { padding-top: 6px; padding-bottom: 16px; }
.drawer__list, .drawer__list ul { list-style: none; margin: 0; padding: 0; }
.drawer__list { columns: 3 220px; column-gap: 32px; border-top: 1px solid var(--ink); padding-top: 12px; }
.drawer__list li { break-inside: avoid; }
.drawer__list a { display: block; padding: 7px 0; font: 600 14px var(--sans); }
.drawer__list .children a { padding-left: 14px; font-weight: 400; }

/* ---------- Tarjetas ---------- */
.card { display: flex; flex-direction: column; gap: 8px; }
.card__title { font: 700 17px/1.25 var(--serif); }
.card__excerpt { margin: 0; font: 400 14px/1.45 var(--serif); color: var(--ink-2); }
.card__media { display: block; position: relative; overflow: hidden; background: var(--paper-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__noimg { display: block; width: 100%; height: 100%; min-height: 60px; background: var(--paper-2); }
.card--stack .card__media { margin-bottom: 2px; aspect-ratio: var(--ratio, 3 / 2); }
.card--row { flex-direction: row; justify-content: space-between; gap: 16px; }
.card--row .card__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.card--row .card__media { flex: none; align-self: flex-start; width: 140px; aspect-ratio: 3 / 2; }
.card--text .card__title { font-size: 16px; }
.card--small .card__title { font-size: 15px; }

/* Columnas separadas por líneas finas */
.cols { display: grid; grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); column-gap: 36px; row-gap: 24px; }
.cols--2 { --n: 2; }
.cols--3 { --n: 3; }
.cols--4 { --n: 4; }
.cols > * { min-width: 0; position: relative; }
.cols > * + *::before { content: ""; position: absolute; top: 0; bottom: 0; left: -18px; border-left: 1px solid var(--rule); }
.cols--2 > *:nth-child(2n + 1)::before { display: none; }
.second { row-gap: 32px; }
.second .card__title { font-size: 19px; }

/* ---------- Portada ---------- */
.front { padding-top: 24px; display: flex; flex-direction: column; gap: 40px; }
.top { display: grid; grid-template-columns: minmax(0, 1fr) 300px; }
.top__main { padding-right: 24px; border-right: 1px solid var(--rule); min-width: 0; }
.top__rail { padding-left: 24px; display: flex; flex-direction: column; gap: 18px; }

.lead { display: flex; flex-direction: column; gap: 14px; }
.lead__figure { order: -1; }
.lead__text { display: flex; flex-direction: column; gap: 12px; }
.lead__title { font: 700 36px/1.12 var(--serif); letter-spacing: -.01em; }
.lead__excerpt { margin: 0; font: 400 16px/1.45 var(--serif); color: var(--ink-2); }
.lead__related { display: block; padding-top: 12px; border-top: 1px solid var(--rule); font: 700 16px/1.25 var(--serif); }
.lead__figure { margin: 0; }
.lead__figure .card__media { aspect-ratio: 3 / 2; }

.sec { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; border-top: 1px solid var(--ink); padding-top: 10px; margin-bottom: 16px; }
.sec__title { font: 700 15px var(--sans); }
.sec__subs { font: 500 12px var(--sans); color: var(--muted); }
.top__rail .sec { margin-bottom: 0; }

.interview .card__title { font-size: 20px; line-height: 1.2; }

.mostread__title { font: 700 13px var(--sans); margin-bottom: 12px; }
.mostread__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.mostread__list li { display: flex; gap: 12px; font: 700 15px/1.25 var(--serif); }
.mostread__n { font: 700 22px/1 var(--serif); color: var(--wine); min-width: 16px; }
.rail-list { display: flex; flex-direction: column; border-top: 1px solid var(--rule); padding-top: 16px; }
.rail-list .mostread__title { margin-bottom: 4px; }
.rail-list__item { padding: 12px 0; }
.rail-list__item + .rail-list__item { border-top: 1px solid var(--rule); }

.eco { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.eco__posts { flex: 999 1 560px; min-width: 0; }
.eco__ad { flex: 0 0 300px; margin: 0; }
.eco__posts .card__title { font-size: 19px; }
.ad--band { width: 100%; }

/* Notas del día, nota destacada de sección, franja de Entrevistas y secciones de a dos (0.3.0) */
.day { row-gap: 28px; }
.day .card__title { font-size: 19px; }
.cols--2.day .card__title { font-size: 21px; }
.day-side .card__title { font-size: 20px; }
.feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px; align-items: center; }
.feature__media { aspect-ratio: 3 / 2; }
.feature__text { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.feature__title { font: 700 28px/1.15 var(--serif); letter-spacing: -.005em; }
.feature__excerpt { margin: 0; font: 400 16px/1.5 var(--serif); color: var(--ink-2); }
.band-dark { background: var(--ink); color: #fff; padding: 22px 28px 30px; }
.band-dark .sec { border-top-color: #fff; }
.band-dark a, .band-dark .sec__title { color: #fff; }
.band-dark .feature__excerpt { color: #cfcfcf; }
.band-dark .meta, .band-dark .ad__label { color: #b5b5b5; }
.band-dark__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; }
.band-dark .feature { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: start; }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.duo__col { min-width: 0; }
.duo__col:first-child { padding-right: 24px; }
.duo__col + .duo__col { padding-left: 24px; border-left: 1px solid var(--rule); }
.duo__col:only-child { grid-column: 1 / -1; padding: 0; border: 0; }
.ad-band { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100%; }
.ad-band > .ad__label { margin-bottom: -10px; }
.ad--stack { width: 100%; max-width: 780px; margin: 0; }
.ad--stack .ad__item img { width: 100%; }
.ad--stack .ad__placeholder { min-height: 0; aspect-ratio: 3 / 1; }
/* Franja de ancho completo (como el banner superior, 1152×179). */
.ad--stack.ad--full { max-width: none; }
.ad--stack.ad--full .ad__placeholder { aspect-ratio: 1152 / 179; min-height: 60px; }
.top__rail .ad--tall .ad__placeholder, .ad--tall .ad__placeholder { aspect-ratio: 1 / 2; min-height: 0; }
.band-dark .ad { max-width: 300px; width: 100%; margin: 0; }

/* Notas del día (0.4.0): fila 1 = principal + segunda; fila 2 = dos notas a lo ancho. */
.today { border-bottom: 1px solid var(--ink); }
.today__row { display: grid; padding-bottom: 24px; }
.today__row--1 { grid-template-columns: minmax(0, 1fr) 340px; }
.today__row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 24px; border-top: 1px solid var(--ink); }
.today__row > .dcard:first-child { padding-right: 28px; }
.today__row > .dcard + .dcard { padding-left: 28px; border-left: 1px solid var(--rule); }
.dcard { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.dcard__media { aspect-ratio: var(--ratio, 3 / 2); }
.dcard__title { font: 700 24px/1.18 var(--serif); letter-spacing: -.005em; }
.dcard__excerpt { margin: 0; font: 400 16px/1.5 var(--serif); color: var(--ink-2); }
.dcard__by { align-self: flex-end; font: 400 12px var(--sans); color: var(--muted); }
.dcard--lead .dcard__title { font-size: 36px; line-height: 1.12; }
.dcard--lead .dcard__excerpt { font-size: 17px; }
.dcard--side .dcard__title { font-size: 26px; }
.dcard--side .lbl { padding-top: 12px; border-top: 1px solid var(--ink); }
/* La segunda nota (arriba a la derecha) llena todo el alto de la fila: la foto se estira
   hacia abajo hasta emparejar con la nota principal, sin dejar blanco debajo. */
.dcard--side .dcard__media { aspect-ratio: auto; flex: 1 1 auto; min-height: 260px; }
.dcard--side .dcard__media img, .dcard--side .dcard__media picture { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dcard__media picture { display: block; width: 100%; height: 100%; }



/* Entrevistas + Lo más leído (0.5.6): foto | panel bordó | columna bordó oscura. */
.ivbox { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 2.4fr); background: #4a1822; color: #fff; border-radius: 6px; overflow: hidden; }
.ivbox--solo { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.ivbox a { color: #fff; }
.ivbox__media { display: block; position: relative; min-height: 340px; background: #2a0d13; }
.ivbox__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ivbox__text { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; padding: 36px 44px; }
.ivbox__sec { font: 600 14px var(--sans); color: #e6c9cf !important; }
.ivbox__title { font: 700 34px/1.12 var(--serif); letter-spacing: -.005em; }
.ivbox__title a:hover, .ivbox__sec:hover { color: #f3dbe0; }
.ivbox__excerpt { margin: 0; font: 400 15px/1.6 var(--serif); color: #f1e4e6; }
.ivbox__btn { margin-top: 8px; display: inline-flex; align-items: center; min-height: 38px; padding: 0 22px; border-radius: 8px; background: #fff; color: #2a0d13 !important; font: 700 14px var(--sans); }
.ivbox__btn:hover { background: #f3dbe0; }
.ivbox__top { background: #2e0f16; padding: 30px 26px 28px 30px; }
.ivbox__toptitle { font: 500 12px var(--sans); letter-spacing: .04em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.ivbox__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.ivbox__list li { display: flex; gap: 12px; align-items: flex-start; font: 400 14px/1.3 var(--serif); }
.ivbox__n { font: 700 34px/.9 var(--serif); color: #7a3344; min-width: 20px; }
.ivbox__list a:hover { color: #f3dbe0; }

/* ---------- Publicidad ---------- */
.ad--bottom { width: 100%; }
.ad--bottom .ad__item img { width: 100%; }
.ad--bottom .ad__placeholder { min-height: 90px; }

.ad { margin: 0 auto; text-align: center; }
.ad__label { margin: 0 0 4px; font: 500 10px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ad__item img { display: block; margin: 0 auto; max-width: 100%; height: auto; }
.ad__item picture { display: block; }
.ad__item[hidden] { display: none; }
.ad .widget { margin: 0; }
.ad .widget-title { display: none; }
.ad--wide { max-width: 970px; width: 100%; }
.ad-pair { width: 100%; }
.ad-pair > .ad__label { text-align: center; }
.ad-pair__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.ad--half { width: 100%; margin: 0; }
.ad--half .ad__item img { width: 100%; }
.ad--half .ad__placeholder { min-height: 0; aspect-ratio: 564 / 180; }
.ad__placeholder { display: flex; flex-direction: column; gap: 4px; align-items: center; justify-content: center; min-height: 90px; padding: 16px; background: var(--paper-2); border: 1px dashed #a8a29e; font: 400 12px/1.4 var(--sans); color: var(--muted); }
.ad__placeholder strong { color: var(--ink); }
.ad--inline .ad__placeholder { min-height: 250px; }
.top__rail .ad, .eco__ad { max-width: 300px; width: 100%; }
.top__rail .ad__placeholder, .eco__ad .ad__placeholder { min-height: 300px; aspect-ratio: 1; }
.ad--tall .ad__placeholder { min-height: 250px; }
.ad--wide .ad__placeholder { min-height: 250px; }
.ad--inline { margin: 28px auto; max-width: 300px; }

/* ---------- Nota ---------- */
.article { max-width: 760px; padding-top: 32px; }
.article__header { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.article__title { font: 700 40px/1.12 var(--serif); letter-spacing: -.01em; }
.article__standfirst { margin: 0; font: 400 20px/1.45 var(--serif); color: var(--ink-2); }
.article__byline { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--rule); }
.article__byline img { border-radius: 50%; width: 40px; height: 40px; }
.article__byline > div { display: flex; flex-direction: column; gap: 2px; }
.article__author { font: 600 13px var(--sans); }
.article__figure { margin: 0 0 28px; }
.article__figure img { width: 100%; }

.entry-content { font: 400 19px/1.65 var(--serif); color: var(--ink); }
.entry-content > * { margin: 0 0 1.1em; }
.entry-content h2 { font: 700 26px/1.25 var(--serif); margin-top: 1.6em; }
.entry-content h3 { font: 700 21px/1.3 var(--serif); margin-top: 1.4em; }
.entry-content a { color: var(--wine); text-decoration: underline; text-underline-offset: 2px; }
.entry-content strong { font-weight: 700; }
.entry-content blockquote { margin: 1.6em 0; padding: 14px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); font: italic 400 22px/1.45 var(--serif); }
.entry-content figure { margin: 1.6em 0; }
.entry-content figcaption, .entry-content .wp-caption-text { font: 400 12px/1.4 var(--sans); color: var(--muted); margin-top: 6px; }
.entry-content img { height: auto; }
.entry-content .wp-caption { max-width: 100%; }
.entry-content .alignleft { float: left; margin: 0 20px 12px 0; }
.entry-content .alignright { float: right; margin: 0 0 12px 20px; }
.entry-content .aligncenter { margin-left: auto; margin-right: auto; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content table { width: 100%; border-collapse: collapse; font: 400 15px var(--sans); }
.entry-content th, .entry-content td { border-bottom: 1px solid var(--rule); padding: 8px; text-align: left; }
.entry-content iframe { width: 100%; }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 32px 0; padding-top: 16px; border-top: 1px solid var(--rule); font: 600 13px var(--sans); }
.share__label { color: var(--muted); font-weight: 500; margin-right: 4px; }
.share a, .share button { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--rule); background: #fff; color: var(--ink); cursor: pointer; font: 600 13px var(--sans); }
.share a:hover, .share button:hover { border-color: var(--ink); color: var(--ink); }
.related { padding-top: 24px; }

/* ---------- Listados ---------- */
.listing { padding-top: 28px; }
.listing__header { border-bottom: 1px solid var(--ink); padding-bottom: 14px; margin-bottom: 28px; }
.listing__title { font: 700 34px/1.15 var(--serif); }
.listing__desc { margin-top: 8px; font: 400 16px var(--serif); color: var(--ink-2); }
.listing__subs { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 12px 0 0; font: 600 13px var(--sans); }
.listing__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 36px; }
.listing__grid .card__title { font-size: 20px; }
.listing__grid .card__excerpt { font-size: 15px; }
.listing__empty { font-size: 18px; }
.notfound p { font-size: 18px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0; font: 600 14px var(--sans); }
.nav-links .page-numbers { display: inline-flex; align-items: center; min-width: 40px; min-height: 40px; padding: 0 12px; border: 1px solid var(--rule); justify-content: center; }
.nav-links .current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Newsletter y pie ---------- */
.newsletter { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 48px; margin-top: 48px; padding-top: 28px; padding-bottom: 28px; }
.newsletter::before { content: ""; }
.newsletter__text { flex: 1 1 360px; }
.newsletter__text h2 { font: 700 24px/1.2 var(--serif); }
.newsletter__text p { margin: 6px 0 0; color: var(--ink-2); }
.newsletter__form { flex: 1 1 380px; }
.newsletter { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }

.site-footer { margin-top: 48px; padding-bottom: 32px; }
.site-footer__grid { display: flex; flex-wrap: wrap; gap: 28px 56px; padding-top: 20px; border-top: 2px solid var(--ink); }
.site-footer__logo { flex: 1 1 240px; }
.site-footer__logo img { width: 260px; }
.site-footer__col { flex: 1 1 150px; display: flex; flex-direction: column; gap: 8px; font: 400 13px var(--sans); }
.site-footer__col h2 { font: 700 13px var(--sans); }
.site-footer__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer__copy { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin: 24px 0 0; padding-top: 14px; border-top: 1px solid var(--rule); font: 400 12px var(--sans); color: var(--muted); }
.site-footer__copy p { margin: 0; }
.site-footer__copy a { color: inherit; text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 2px; }
.site-footer__copy a:hover { color: var(--ink); text-decoration-color: currentColor; }
.site-footer__credit a { color: var(--ink); font-weight: 600; }

/* ---------- Tablet ---------- */
@media (max-width: 1023px) {
	.top { grid-template-columns: 1fr; }
	.top__main { padding-right: 0; border-right: 0; }
	.top__rail { padding-left: 0; margin-top: 28px; }
	.cols--4 { --n: 2; }
	.ivbox { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
	.ivbox__top { grid-column: 1 / -1; }
	.ivbox__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; }
	.today__row--1 { grid-template-columns: minmax(0, 1fr) 280px; }
	.band-dark__grid { grid-template-columns: 1fr; }
	.band-dark .ad { margin: 0 auto; }
	.duo { grid-template-columns: 1fr; row-gap: 32px; }
	.duo__col:first-child { padding-right: 0; }
	.duo__col + .duo__col { padding-left: 0; border-left: 0; }
	.cols--4 > *:nth-child(2n + 1)::before { display: none; }
	.listing__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.masthead__logo img { width: 360px; }
}

/* ---------- Celular ---------- */
@media (max-width: 720px) {
	:root { --gutter: 16px; }
	body { font-size: 16px; }
	.topbar__links a:not(.btn-newsletter) { display: none; }
	.masthead { grid-template-columns: 1fr; padding-top: 0; padding-bottom: 8px; gap: 6px; }
	.masthead__ear { display: none; }
	.masthead__logo img { width: 230px; }
	.masthead__date-mobile { display: block; margin: 0; text-align: center; font: 500 11px var(--sans); color: var(--ink-2); }
	.mainnav .nav-list { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; gap: 0 18px; scrollbar-width: none; }
	.mainnav .nav-list a { white-space: nowrap; font-size: 12px; }

	.front { gap: 28px; padding-top: 16px; }
	.lead { grid-template-columns: 1fr; gap: 12px; }
	.lead__figure { order: -1; }
	.lead__title { font-size: 25px; }
	.ivbox, .ivbox--solo { grid-template-columns: 1fr; border-radius: 0; margin: 0 calc(-1 * var(--gutter)); }
	.ivbox__media { min-height: 0; aspect-ratio: 3 / 2; }
	.ivbox__text { padding: 22px 16px 26px; }
	.ivbox__title { font-size: 24px; }
	.ivbox__top { padding: 22px 16px; }
	.ivbox__list { grid-template-columns: 1fr; }
	.today__row--1, .today__row--2 { grid-template-columns: 1fr; padding-bottom: 0; }
	.today__row--2 { padding-top: 0; border-top: 0; }
	.today__row > .dcard { padding: 18px 0 !important; border-left: 0 !important; }
	.today__row > .dcard + .dcard, .today__row--2 > .dcard { border-top: 1px solid var(--rule); }
	.today__row > .dcard:first-child { padding-top: 0 !important; }
	.today__row--2 > .dcard:first-child { padding-top: 18px !important; }
	.dcard--lead .dcard__title { font-size: 26px; }
	.dcard__title, .dcard--side .dcard__title { font-size: 21px; }
	/* En el celular la segunda nota es rectangular, como las demás, con la imagen destacada. */
	.dcard--side .dcard__media { aspect-ratio: 3 / 2; flex: none; min-height: 0; }
	.dcard--side .lbl { padding-top: 0; border-top: 0; }
	.dcard__excerpt { font-size: 15px; }
	.feature, .band-dark .feature { grid-template-columns: 1fr; gap: 12px; }
	.feature__title { font-size: 22px; }
	.band-dark { padding: 16px 16px 22px; margin: 0 calc(-1 * var(--gutter)); }

	.cols, .cols--4 { grid-template-columns: 1fr; row-gap: 0; }
	.cols > * { padding: 14px 0; }
	.cols > * + *::before { display: none; }
	.cols > * + * { border-top: 1px solid var(--rule); }
	.sections3 > * + * { border-top: 0; padding-top: 24px; }
	/* Vinos & Bodegas en celular: la primera con foto grande, el resto en lista compacta. */
	.eco__posts .card--stack, .second .card--stack, .day .card--stack, .duo .cols > *:not(:first-child) .card--stack, .cols--4 .card--stack { display: grid; grid-template-columns: minmax(0, 1fr) 96px; column-gap: 14px; row-gap: 6px; align-items: start; grid-template-rows: auto 1fr; }
	.eco__posts .card--stack .card__media, .second .card--stack .card__media, .day .card--stack .card__media, .duo .cols > *:not(:first-child) .card--stack .card__media, .cols--4 .card--stack .card__media { grid-column: 2; grid-row: 1 / span 2; aspect-ratio: 1; margin: 0; }
	.eco__posts .card--stack .card__excerpt, .second .card--stack .card__excerpt, .day .card--stack .card__excerpt, .duo .cols > *:not(:first-child) .card--stack .card__excerpt, .cols--4 .card--stack .card__excerpt { display: none; }
	.card--row .card__media, .eco .card--row .card__media { width: 96px; aspect-ratio: 1; }
	.card__title { font-size: 16px; }

	.article { padding-top: 20px; }
	.article__title { font-size: 28px; }
	.article__standfirst { font-size: 17px; }
	.entry-content { font-size: 17px; }
	.entry-content .alignleft, .entry-content .alignright { float: none; margin: 0 0 1em; }
	.listing__title { font-size: 26px; }
	.listing__grid { grid-template-columns: 1fr; gap: 28px; }
	.ad-pair__grid { grid-template-columns: 1fr; gap: 12px; }
}
