/* ==========================================================================
   LatAm Reports — main stylesheet
   Brand: Selva / Carmín / Papel / Tinta / Oro · Fraunces, Source Serif 4, Archivo
   ========================================================================== */

/* ---------- Fonts (self-hosted, latin subset covers pt/es diacritics) ---------- */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/fraunces-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/source-serif-4-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/source-serif-4-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/source-serif-4-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/archivo-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/archivo-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/archivo-latin-700-normal.woff2) format("woff2"); }

/* Metric-matched fallbacks keep layout shift near zero while fonts load. */
@font-face { font-family: "Fraunces Fallback"; src: local("Georgia"), local("Times New Roman"); size-adjust: 104%; ascent-override: 92%; descent-override: 24%; }
@font-face { font-family: "Source Serif Fallback"; src: local("Georgia"), local("Times New Roman"); size-adjust: 98%; ascent-override: 92%; descent-override: 30%; }
@font-face { font-family: "Archivo Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 100%; ascent-override: 90%; descent-override: 22%; }

:root {
	--selva: #0B7A3E;
	--selva-deep: #064D27;
	--carmin: #E3262E;
	--carmin-text: #B91C24;
	--papel: #F6F2E9;
	--papel-2: #EDE6D6;
	--tinta: #11201A;
	--oro: #F2B33D;
	--muted: #56645C;
	--rule: #D9D0BD;
	--white: #FFFFFF;

	--f-display: "Fraunces", "Fraunces Fallback", Georgia, serif;
	--f-text: "Source Serif 4", "Source Serif Fallback", Georgia, serif;
	--f-ui: "Archivo", "Archivo Fallback", Arial, sans-serif;

	--wrap: 1240px;
	--gutter: clamp(16px, 4vw, 32px);
	--gap: clamp(20px, 2.5vw, 32px);
	--radius: 4px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--papel); color: var(--tinta); font: 400 18px/1.55 var(--f-text); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--carmin-text); }
:focus-visible { outline: 3px solid var(--oro); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--oro); color: var(--tinta); padding: 10px 16px; font: 600 15px var(--f-ui); }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; color: inherit; cursor: pointer; border-radius: var(--radius); list-style: none; }
.icon-btn::-webkit-details-marker { display: none; }
.icon-btn:hover { background: rgb(255 255 255 / .12); color: inherit; }

.btn { display: inline-block; font: 600 15px/1 var(--f-ui); letter-spacing: .02em; padding: 14px 22px; border: 1.5px solid var(--tinta); border-radius: 999px; text-decoration: none; }
.btn:hover { background: var(--tinta); color: var(--papel); }

/* ---------- Kicker / meta ---------- */
.kicker { display: inline-block; font: 600 12.5px/1.2 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--carmin-text); text-decoration: none; margin-bottom: 8px; }
.kicker:hover { color: var(--tinta); }
.kicker--plain { color: var(--muted); }

/* ---------- Masthead ---------- */
.masthead { color: var(--white); }
.masthead__top { background: var(--tinta); font: 500 13px/1 var(--f-ui); }
.masthead__top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.masthead__date { color: rgb(246 242 233 / .78); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.editions ul { list-style: none; display: flex; gap: 4px; }
.editions a { display: block; padding: 6px 10px; border-radius: 999px; text-decoration: none; font: 600 12px/1 var(--f-ui); letter-spacing: .12em; text-transform: uppercase; }
.editions--header a { color: rgb(246 242 233 / .8); }
.editions--header a:hover { color: var(--white); background: rgb(255 255 255 / .1); }
.editions a.is-current { background: var(--oro); color: var(--tinta); }

.masthead__main { background: var(--selva); }
.masthead__main-inner { display: flex; align-items: center; gap: 12px; min-height: 92px; position: relative; }
.masthead__menu { margin-left: -10px; }
.brand { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.brand__logo { display: block; }
.brand__logo img { width: auto; height: 50px; }
.brand__edition { display: inline-block; background: var(--oro); color: var(--tinta); border-radius: 999px; padding: 4px 11px 3px; font: 700 10.5px/1.2 var(--f-ui); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; margin-left: calc(50px * 1.08); }
.brand__edition:hover { color: var(--tinta); }
.masthead__tagline { display: none; margin-left: auto; max-width: 380px; font: italic 400 17px/1.35 var(--f-text); color: rgb(255 255 255 / .86); text-align: right; }
.search-toggle { margin-left: auto; }
.search-toggle summary { cursor: pointer; }
.search-toggle[open] summary { background: rgb(255 255 255 / .16); }
.search-toggle__panel { position: absolute; right: var(--gutter); top: calc(100% - 6px); z-index: 30; width: min(440px, calc(100vw - 2 * var(--gutter))); background: var(--white); padding: 12px; border-radius: var(--radius); box-shadow: 0 12px 32px rgb(17 32 26 / .22); }

.sections { background: var(--selva-deep); }
.sections__inner { overflow-x: auto; scrollbar-width: none; }
.sections__inner::-webkit-scrollbar { display: none; }
.sections__list { list-style: none; display: flex; gap: 2px; white-space: nowrap; }
.sections__list a { display: block; padding: 14px 14px 13px; color: var(--white); text-decoration: none; font: 600 14.5px/1 var(--f-ui); letter-spacing: .01em; border-bottom: 3px solid transparent; }
.sections__list a:hover, .sections__list .is-current a, .sections__list .current-menu-item a { border-bottom-color: var(--oro); color: var(--white); }
.sections__list li:first-child a { padding-left: 0; }

@media (min-width: 900px) {
	.masthead__menu { display: none; }
	.masthead__tagline { display: block; }
	.search-toggle { margin-left: 24px; }
	.brand__logo img { height: 70px; }
	.brand__edition { margin-left: calc(70px * 1.08); }
	.masthead__main-inner { min-height: 128px; }
}
@media (max-width: 899px) {
	.masthead__date { font-size: 12px; }
	.brand { margin-inline: auto; align-items: center; }
	.brand__edition { margin-left: 0; }
	.search-toggle { margin-left: 0; }
	.sections { display: none; }
}
@media (max-width: 520px) {
	.masthead__date { display: none; }
	.masthead__top-inner { justify-content: center; }
}

/* Drawer (mobile) */
.drawer { position: fixed; inset: 0; z-index: 50; background: rgb(17 32 26 / .55); }
.drawer[hidden] { display: none; }
.drawer__panel { background: var(--papel); width: min(360px, 88vw); height: 100%; overflow-y: auto; padding: 16px 20px 40px; }
.drawer__close { margin-left: auto; display: grid; color: var(--tinta); }
.drawer__heading { font: 600 12px/1 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 28px 0 10px; }
.drawer .sections__list { flex-direction: column; white-space: normal; }
.drawer .sections__list a { color: var(--tinta); padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 17px; }
.drawer .editions ul { flex-wrap: wrap; }
.drawer .editions a { border: 1px solid var(--rule); }
.drawer .search-form { margin-top: 8px; }

/* ---------- Search form ---------- */
.search-form { display: flex; gap: 8px; }
.search-form__input { flex: 1; min-width: 0; font: 400 16px var(--f-ui); padding: 12px 14px; border: 1.5px solid var(--rule); border-radius: var(--radius); background: var(--white); color: var(--tinta); }
.search-form__input:focus { border-color: var(--selva); outline: none; }
.search-form__btn { font: 600 15px var(--f-ui); padding: 0 18px; border: 0; border-radius: var(--radius); background: var(--selva); color: var(--white); cursor: pointer; }
.search-form__btn:hover { background: var(--selva-deep); }

/* ---------- Ads ---------- */
.ad-band { padding-block: 20px; }
.ad-band--top { border-bottom: 1px solid var(--rule); }
.ad-band--bottom { border-top: 1px solid var(--rule); margin-top: 56px; }
.ad { margin-inline: auto; text-align: center; }
.ad__label { display: block; font: 600 10.5px/1 var(--f-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.ad__frame { margin-inline: auto; width: 100%; max-width: calc(var(--ad-w) * 1px); aspect-ratio: var(--ad-w) / var(--ad-h); overflow: hidden; }
.ad__frame img { width: 100%; height: 100%; object-fit: contain; }
.ad--empty .ad__frame { display: grid; place-items: center; border: 1.5px dashed var(--rule); color: var(--muted); font: 500 12px var(--f-ui); background: repeating-linear-gradient(-45deg, transparent 0 10px, rgb(217 208 189 / .25) 10px 20px); }
@media (max-width: 767px) {
	.ad--leaderboard.ad--has-mobile .ad__frame { max-width: 320px; aspect-ratio: 320 / 50; }
	.ad--leaderboard.ad--empty .ad__frame { max-width: 320px; aspect-ratio: 320 / 50; }
}
.rail .ad { margin-bottom: 28px; }

/* ---------- Layout ---------- */
.site-main { padding-top: 28px; min-height: 50vh; }
.with-rail { display: grid; gap: 40px; }
@media (min-width: 1080px) {
	.with-rail { grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
	.rail__sticky { position: sticky; top: 24px; }
}
.grid { display: grid; gap: var(--gap); }
@media (min-width: 640px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Stories (cards) ---------- */
.story { position: relative; }
.story__media { display: block; overflow: hidden; border-radius: 2px; background: var(--papel-2); aspect-ratio: 16 / 9; margin-bottom: 12px; }
.story__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.story:hover .story__media img { transform: scale(1.025); }
.story__title { font-size: 21px; line-height: 1.18; }
.story__title a { text-decoration: none; }
.story__title a:hover { color: var(--carmin-text); }
.story__teaser { margin-top: 8px; font-size: 16.5px; line-height: 1.5; color: #2F3D36; }
.story__meta { margin-top: 8px; font: 500 12.5px/1.3 var(--f-ui); color: var(--muted); }

.story--lead .story__title { font-size: clamp(28px, 4.2vw, 44px); line-height: 1.08; }
.story--lead .story__teaser { font-size: 19px; font-style: italic; margin-top: 12px; }
.story--lead .story__media { margin-bottom: 18px; }

.story--row { display: grid; gap: 14px; padding-block: 20px; border-top: 1px solid var(--rule); }
.story--row .story__media { margin: 0; }
@media (min-width: 640px) {
	.story--row { grid-template-columns: 260px minmax(0, 1fr); gap: 22px; }
	.story--row .story__title { font-size: 23px; }
}

.story--mini { display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 14px; align-items: start; padding-top: 16px; border-top: 1px solid var(--rule); }
.story--mini .story__media { order: 2; margin: 0; }
.story--mini .story__title { font-size: 17.5px; line-height: 1.22; }
.story--mini .kicker { margin-bottom: 5px; font-size: 11px; }

/* Lead package */
.lead-package { display: grid; gap: 28px; margin-bottom: 48px; }
.lead-package__side { display: grid; gap: 16px; align-content: start; }
.lead-package__side .story--card .story__title { font-size: 22px; }
@media (min-width: 980px) {
	.lead-package { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 40px; }
	.lead-package__main { padding-right: 40px; border-right: 1px solid var(--rule); }
}

/* Blocks */
.block { margin-bottom: 56px; }
.block__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-top: 3px solid var(--tinta); padding-top: 12px; margin-bottom: 22px; }
.block__title { font-size: 26px; }
.block__title a { text-decoration: none; }
.block__link { font: 600 13.5px var(--f-ui); color: var(--selva); text-decoration: none; white-space: nowrap; }
.block__link:hover { color: var(--carmin-text); }
.block__more { margin-top: 32px; text-align: center; }
.block--section .block__head { border-top-color: var(--selva); }

.section-grid { display: grid; gap: var(--gap); }
.section-grid .story--row { border-top: 0; padding-top: 0; }
@media (min-width: 640px) { .section-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .section-grid .story--row { grid-column: 1 / -1; } }
@media (min-width: 1000px) {
	.section-grid { grid-template-columns: 1.6fr repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto; }
	.section-grid .story--row { grid-column: 1; grid-row: 1 / span 2; grid-template-columns: 1fr; }
	.section-grid .story--row .story__title { font-size: 28px; }
	.section-grid .story--card .story__title { font-size: 18.5px; }
}

/* Rail */
.rail__box { background: var(--white); border-top: 3px solid var(--selva); padding: 18px 20px 8px; margin-bottom: 28px; }
.rail__title { font-size: 20px; margin-bottom: 6px; }
.ticker { list-style: none; counter-reset: t; }
.ticker__item { padding: 12px 0; border-top: 1px solid var(--rule); font: 600 16px/1.3 var(--f-text); }
.ticker__item:first-child { border-top: 0; }
.ticker__item time { display: block; font: 600 11.5px/1 var(--f-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--carmin-text); margin-bottom: 5px; }
.ticker__item a { text-decoration: none; }

/* ---------- Listing pages ---------- */
.listing-head { padding: 8px 0 24px; margin-bottom: 8px; }
.listing-head__title { font-size: clamp(32px, 5vw, 52px); line-height: 1.05; }
.listing-head__desc { margin-top: 12px; max-width: 720px; font-size: 19px; color: #2F3D36; }
.listing-head__page { margin-top: 8px; font: 600 13px var(--f-ui); color: var(--muted); }
.listing-head__search { margin-top: 18px; max-width: 560px; }
.listing > .story--lead { padding-bottom: 28px; }
.empty { padding: 40px 0; font-size: 19px; }
.notfound { padding-block: 24px 40px; max-width: 760px; }
.notfound .search-form { margin-top: 24px; max-width: 520px; }

/* Breadcrumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; font: 500 13px/1.4 var(--f-ui); color: var(--muted); margin-bottom: 18px; }
.crumbs li:not(:last-child)::after { content: "›"; margin-inline: 8px; color: var(--rule); }
.crumbs li[aria-current] { max-width: 48ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crumbs a { text-decoration: none; }

/* Pagination */
.pager ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--rule); font: 600 15px/1 var(--f-ui); }
.pager a, .pager span { display: block; padding: 11px 15px; border-radius: var(--radius); text-decoration: none; }
.pager a { background: var(--white); }
.pager a:hover { background: var(--selva); color: var(--white); }
.pager .current { background: var(--tinta); color: var(--papel); }

/* ---------- Article ---------- */
.article { min-width: 0; }
.article__head { max-width: 760px; }
.article__title { font-size: clamp(30px, 4.6vw, 48px); line-height: 1.07; margin-top: 2px; }
.article__dek { margin-top: 16px; font: italic 400 clamp(19px, 2.2vw, 22px)/1.45 var(--f-text); color: #2F3D36; }
.byline { margin-top: 22px; padding-block: 14px; border-block: 1px solid var(--rule); font: 500 14px/1.5 var(--f-ui); display: flex; flex-wrap: wrap; gap: 4px 24px; justify-content: space-between; }
.byline__author { font-weight: 600; }
.byline__author a { color: var(--selva); text-decoration: none; }
.byline__meta { color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.byline__updated { color: var(--tinta); }
.article__figure { margin: 24px 0 8px; }
.article__figure img { width: 100%; border-radius: 2px; }
.article__figure figcaption { font: 400 13.5px/1.45 var(--f-ui); color: var(--muted); padding-top: 8px; }
.article__body { max-width: 700px; margin-top: 24px; }
.article__foot { max-width: 700px; margin-top: 36px; }

.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tags a { display: block; padding: 7px 12px; border: 1px solid var(--rule); border-radius: 999px; font: 600 13px/1 var(--f-ui); text-decoration: none; background: var(--white); }
.tags a:hover { border-color: var(--selva); color: var(--selva); }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding-top: 20px; border-top: 1px solid var(--rule); }
.share__label { font: 600 12px/1 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.share ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.share__btn { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 13px; border: 1px solid var(--rule); border-radius: 999px; background: var(--white); color: var(--tinta); text-decoration: none; font: 600 13px/1 var(--f-ui); cursor: pointer; }
.share__btn .icon { width: 17px; height: 17px; }
.share__btn:hover { border-color: var(--tinta); color: var(--tinta); }
.share__btn--whatsapp { background: var(--selva); border-color: var(--selva); color: var(--white); }
.share__btn--whatsapp:hover { background: var(--selva-deep); color: var(--white); }
@media (max-width: 640px) { .share__btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .share__btn { width: 40px; padding: 0; justify-content: center; } }
.share__btn.is-copied { background: var(--oro); border-color: var(--oro); }

.related { margin-top: 56px; }

/* ---------- Prose (article body & pages) ---------- */
.prose { font-size: 19px; line-height: 1.68; }
.prose > * + * { margin-top: 1.15em; }
.prose h2, .prose h3, .prose h4 { margin-top: 1.7em; line-height: 1.2; }
.prose h2 { font-size: 28px; }
.prose h3 { font-size: 24px; }
.prose h4 { font-size: 21px; }
.prose a { color: var(--selva); text-decoration-color: rgb(11 122 62 / .45); }
.prose a:hover { color: var(--carmin-text); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose blockquote, .prose .wp-block-quote { margin-inline: 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--carmin); font-style: italic; }
.prose .wp-block-pullquote { border-block: 3px solid var(--tinta); padding: 22px 0; text-align: center; font: 600 26px/1.3 var(--f-display); }
.prose figure { margin-inline: 0; }
.prose figcaption, .prose .wp-element-caption { font: 400 13.5px/1.45 var(--f-ui); color: var(--muted); margin-top: 8px; }
.prose img { border-radius: 2px; }
.prose .aligncenter { margin-inline: auto; }
.prose .alignleft { float: left; margin: .3em 1.4em 1em 0; max-width: 50%; }
.prose .alignright { float: right; margin: .3em 0 1em 1.4em; max-width: 50%; }
.prose .wp-block-embed__wrapper { position: relative; }
.prose .wp-embed-aspect-16-9 .wp-block-embed__wrapper { aspect-ratio: 16 / 9; }
.prose .wp-embed-aspect-16-9 iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.prose iframe { max-width: 100%; }
.prose table { width: 100%; border-collapse: collapse; font: 400 15px/1.45 var(--f-ui); }
.prose th, .prose td { border-bottom: 1px solid var(--rule); padding: 10px 8px; text-align: left; vertical-align: top; }
.prose th { font-weight: 700; border-bottom: 2px solid var(--tinta); }
.prose .wp-block-table { overflow-x: auto; }
.prose .wp-block-separator, .prose hr { border: 0; border-top: 1px solid var(--rule); margin-block: 2em; }
.prose .wp-block-columns { display: flex; flex-wrap: wrap; gap: 24px; }
.prose .wp-block-column { flex: 1 1 240px; min-width: 0; }
.prose .wp-block-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.prose .wp-block-button__link { display: inline-block; background: var(--selva); color: var(--white); padding: 12px 20px; border-radius: 999px; text-decoration: none; font: 600 15px var(--f-ui); }
.prose .has-text-align-center { text-align: center; }
.prose .footnotes, .prose .wp-block-footnotes { font-size: 15px; }
.prose::after { content: ""; display: table; clear: both; }

/* Pages (about / masthead) */
.page-article { max-width: 820px; margin-bottom: 40px; }
.page-article__title { font-size: clamp(34px, 5vw, 54px); margin-bottom: 24px; }
.page-article .prose { max-width: 720px; }
.lr-mission { font: italic 400 clamp(21px, 2.4vw, 25px)/1.5 var(--f-text); border-left: 3px solid var(--carmin); padding-left: 22px; }
.lr-team { display: grid; gap: 0; margin-top: 8px; }
.lr-team__member { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 4px 18px; padding: 22px 0; border-top: 1px solid var(--rule); }
.lr-team__avatar { grid-row: 1 / span 3; width: 64px; height: 64px; border-radius: 50%; background: var(--selva); color: var(--white); display: grid; place-items: center; font: 600 22px/1 var(--f-display); }
.lr-team__name { font: 600 22px/1.2 var(--f-display); margin: 0 !important; }
.lr-team__role { font: 600 12.5px/1.3 var(--f-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--carmin-text); margin: 0 !important; }
.lr-team__bio { font-size: 17px; line-height: 1.55; margin: 6px 0 0 !important; }
.lr-team-group { font: 600 13px/1 var(--f-ui) !important; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 40px !important; }
.lr-placeholder-note { background: var(--oro); color: var(--tinta); font: 600 14px/1.4 var(--f-ui); padding: 12px 16px; border-radius: var(--radius); }

/* ---------- Footer ---------- */
.site-footer { background: var(--tinta); color: rgb(246 242 233 / .82); font: 400 15px/1.5 var(--f-ui); }
.site-footer a { color: var(--papel); text-decoration: none; }
.site-footer a:hover { color: var(--oro); }
.site-footer__grid { display: grid; gap: 36px; padding-block: 56px 40px; }
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; } }
.site-footer__logo img { width: 150px; height: auto; }
.site-footer__tagline { margin-top: 16px; font: italic 400 16px/1.45 var(--f-text); max-width: 260px; }
.site-footer__heading { font: 600 12px/1 var(--f-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--oro); margin-bottom: 14px; }
.site-footer__col ul { list-style: none; display: grid; gap: 9px; }
.site-footer .editions ul { display: flex; flex-wrap: wrap; gap: 6px; }
.site-footer .editions a { border: 1px solid rgb(246 242 233 / .25); }
.site-footer .editions a.is-current { color: var(--tinta); border-color: var(--oro); }
.site-footer__address { font-style: normal; margin-top: 20px; font-size: 14px; color: rgb(246 242 233 / .65); }
.social { list-style: none; display: flex; gap: 6px; margin-top: 20px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgb(246 242 233 / .25); }
.site-footer__base { border-top: 1px solid rgb(246 242 233 / .12); font-size: 13px; }
.site-footer__base .wrap { display: flex; justify-content: space-between; gap: 16px; padding-block: 18px; }

/* Admin bar offset for sticky rail */
.admin-bar .rail__sticky { top: 56px; }
