/* ==========================================================================
   SoyDeOsorno — hoja de estilo única.
   Pensada primero para celulares. Sin frameworks ni dependencias.
   ========================================================================== */

/* --- Tipografías propias, servidas desde el mismo dominio ---------------- */
@font-face {
	font-family: "Plex SDO";
	src: url("../fonts/plex-400.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Plex SDO";
	src: url("../fonts/plex-600.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Plex SDO";
	src: url("../fonts/plex-700.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Serif SDO";
	src: url("../fonts/serif-700.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

/* --- Variables ---------------------------------------------------------- */
:root {
	--sdo-primary: #1473E6;
	--sdo-navy: #0B1F3A;
	--sdo-urgent: #D42B1F;
	--sdo-primary-soft: #EAF1FD;

	--sdo-paper: #FFFFFF;
	--sdo-wash: #F1F4F9;
	--sdo-line: #E3E9F2;
	--sdo-mut: #5C6E88;
	--sdo-soft: #8DA0B8;
	--sdo-green: #0F7A44;
	--sdo-green-soft: #E6F5EC;

	--sdo-sans: "Plex SDO", system-ui, -apple-system, "Segoe UI", sans-serif;
	--sdo-serif: "Serif SDO", Georgia, "Times New Roman", serif;

	--sdo-r: 14px;
	--sdo-r-lg: 18px;
	--sdo-gut: 14px;
	--sdo-shadow: 0 2px 10px -4px rgba(11, 31, 58, .18);
	--sdo-shadow-lg: 0 10px 26px -12px rgba(11, 31, 58, .45);
	--sdo-navbar: 62px;
}

/* --- Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--sdo-wash);
	color: var(--sdo-navy);
	font-family: var(--sdo-sans);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

body.has-bottom-nav {
	padding-bottom: calc(var(--sdo-navbar) + env(safe-area-inset-bottom));
}

img, svg, video, iframe { max-width: 100%; }
img { height: auto; }

a { color: var(--sdo-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { margin: 0; font-family: var(--sdo-serif); font-weight: 700; text-wrap: balance; letter-spacing: -.012em; }
p { margin: 0; }

:focus-visible {
	outline: 3px solid var(--sdo-primary);
	outline-offset: 2px;
	border-radius: 4px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
	white-space: nowrap; border: 0;
}

.sdo-skip {
	position: absolute; left: -9999px; top: 0; z-index: 200;
	background: var(--sdo-navy); color: #fff;
	padding: 12px 18px; border-radius: 0 0 10px 0; font-weight: 600;
}
.sdo-skip:focus { left: 0; }

.sdo-i { width: 1em; height: 1em; display: inline-block; vertical-align: -.13em; flex: none; }

.sdo-dot {
	display: inline-block; width: 3px; height: 3px; border-radius: 50%;
	background: currentColor; opacity: .5; margin: 0 7px; vertical-align: middle;
}

/* --- Contenedor --------------------------------------------------------- */
.sdo-main {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 var(--sdo-gut) 30px;
}

/* --- Encabezado --------------------------------------------------------- */
.sdo-header {
	position: sticky; top: 0; z-index: 60;
	background: var(--sdo-paper);
	border-bottom: 1px solid var(--sdo-line);
	padding-top: env(safe-area-inset-top);
}

.sdo-header-bar {
	display: flex; align-items: center; gap: 9px;
	max-width: 1180px; margin: 0 auto;
	padding: 9px var(--sdo-gut);
}

.sdo-brand {
	font-size: 20px; line-height: 1; letter-spacing: -.028em;
	margin-right: auto; font-family: var(--sdo-sans); text-decoration: none;
}
.sdo-brand:hover { text-decoration: none; }
.sdo-brand span { font-weight: 700; color: var(--sdo-navy); }
.sdo-brand b { font-weight: 700; color: var(--sdo-primary); }

.sdo-logo { margin-right: auto; display: flex; align-items: center; }
.sdo-logo img { max-height: 38px; width: auto; }

.sdo-weather {
	display: inline-flex; align-items: center; gap: 5px;
	font-size: 12px; font-weight: 600; color: var(--sdo-mut); white-space: nowrap;
}
.sdo-weather-ic { display: inline-flex; color: var(--sdo-soft); }
.sdo-weather .sdo-i { width: 16px; height: 16px; }

.sdo-iconbtn {
	width: 34px; height: 34px; flex: none;
	border: 0; border-radius: 9px; padding: 7px;
	background: #EEF2F8; color: var(--sdo-navy);
	display: inline-flex; align-items: center; justify-content: center;
	cursor: pointer;
}
.sdo-iconbtn .sdo-i { width: 100%; height: 100%; }
.sdo-iconbtn[aria-expanded="true"] { background: var(--sdo-primary); color: #fff; }

/* --- Categorías desplazables -------------------------------------------- */
.sdo-chips {
	display: flex; gap: 7px;
	max-width: 1180px; margin: 0 auto;
	padding: 0 var(--sdo-gut) 10px;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.sdo-chips::-webkit-scrollbar { display: none; }

.sdo-chip {
	flex: none;
	padding: 7px 14px; border-radius: 999px;
	background: #EEF2F8; color: #31445F;
	font-size: 13.5px; font-weight: 600; white-space: nowrap;
	text-decoration: none;
}
.sdo-chip:hover { text-decoration: none; background: #E3EAF4; }
.sdo-chip.is-active { background: var(--sdo-primary); color: #fff; }

.sdo-chips-inline { padding: 0 0 14px; margin: 0 0 6px; }

/* --- Paneles de búsqueda y menú ----------------------------------------- */
.sdo-panel {
	background: var(--sdo-paper);
	border-bottom: 1px solid var(--sdo-line);
}
.sdo-panel-in { max-width: 1180px; margin: 0 auto; padding: 14px var(--sdo-gut) 18px; }

.sdo-searchform { display: flex; gap: 8px; }
.sdo-searchfield {
	flex: 1; min-width: 0;
	border: 1px solid var(--sdo-line); border-radius: 11px;
	padding: 12px 14px; font: inherit; font-size: 15px;
	background: var(--sdo-wash); color: var(--sdo-navy);
}
.sdo-searchbtn {
	border: 0; border-radius: 11px; padding: 0 16px;
	background: var(--sdo-primary); color: #fff; cursor: pointer;
}
.sdo-searchbtn .sdo-i { width: 20px; height: 20px; }

.sdo-menu-list { list-style: none; margin: 0; padding: 0; }
.sdo-menu-list li { border-bottom: 1px solid var(--sdo-line); }
.sdo-menu-list li:last-child { border-bottom: 0; }
.sdo-menu-list a {
	display: block; padding: 12px 2px;
	color: var(--sdo-navy); font-weight: 600; font-size: 15.5px;
}
.sdo-menu-list ul { list-style: none; margin: 0 0 8px 14px; padding: 0; }

/* --- Última hora -------------------------------------------------------- */
.sdo-breaking {
	display: flex; align-items: center; gap: 10px;
	margin: 0 calc(var(--sdo-gut) * -1) 0;
	padding: 11px var(--sdo-gut);
	background: linear-gradient(100deg, #C41F14, var(--sdo-urgent));
	color: #fff; text-decoration: none;
}
.sdo-breaking:hover { text-decoration: none; }

.sdo-breaking-tag {
	display: inline-flex; align-items: center; gap: 6px;
	font-size: 10.5px; font-weight: 700; letter-spacing: .09em;
	white-space: nowrap; padding-right: 10px;
	border-right: 1px solid rgba(255, 255, 255, .38);
}
.sdo-breaking-dot {
	width: 7px; height: 7px; border-radius: 50%; background: #fff;
	animation: sdo-pulse 2s infinite;
}
@keyframes sdo-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

.sdo-breaking-title {
	font-size: 13.5px; font-weight: 600; line-height: 1.32;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sdo-breaking-chev { width: 14px; height: 14px; margin-left: auto; opacity: .85; }

/* --- Noticia principal -------------------------------------------------- */
.sdo-hero { margin: 14px 0 0; }

.sdo-hero-link {
	position: relative; display: block;
	border-radius: var(--sdo-r-lg); overflow: hidden;
	aspect-ratio: 4 / 3.4;
	box-shadow: var(--sdo-shadow-lg);
	color: #fff; text-decoration: none;
	background: var(--sdo-navy);
}
.sdo-hero-link:hover { text-decoration: none; }
.sdo-hero-link img { width: 100%; height: 100%; object-fit: cover; display: block; }

.sdo-hero-shade {
	position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(5, 15, 30, .94) 4%, rgba(5, 15, 30, .6) 42%, rgba(5, 15, 30, .04) 76%);
}

.sdo-hero-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; display: block; }

.sdo-hero-cat {
	display: inline-block; background: var(--sdo-primary); color: #fff;
	font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
	padding: 4px 9px; border-radius: 6px; margin-bottom: 9px;
}

.sdo-hero-title {
	display: block;
	font-family: var(--sdo-serif); font-weight: 700;
	font-size: clamp(23px, 6.4vw, 30px); line-height: 1.13;
}

/* --- Metadatos ---------------------------------------------------------- */
.sdo-meta {
	display: flex; align-items: center; flex-wrap: wrap;
	font-size: 11.5px; font-weight: 500; color: var(--sdo-mut);
	margin-top: 6px; gap: 4px;
}
.sdo-meta .sdo-i { width: 12.5px; height: 12.5px; opacity: .85; }
.sdo-meta-light { color: rgba(255, 255, 255, .87); margin-top: 10px; }

/* --- Secciones ---------------------------------------------------------- */
.sdo-section { margin-top: 22px; }

.sdo-sectionhead {
	display: flex; align-items: center; justify-content: space-between;
	gap: 12px; margin-bottom: 10px;
}

.sdo-sectiontitle {
	font-family: var(--sdo-sans); font-size: 17px; font-weight: 700;
	display: flex; align-items: center; gap: 8px;
}
.sdo-sectiontitle::before {
	content: ""; width: 4px; height: 17px; flex: none;
	background: var(--sdo-primary); border-radius: 2px;
}

.sdo-more {
	display: inline-flex; align-items: center; gap: 3px;
	font-size: 13px; font-weight: 600; color: var(--sdo-primary); white-space: nowrap;
}
.sdo-more .sdo-i { width: 11px; height: 11px; }

/* --- Etiqueta de categoría ---------------------------------------------- */
.sdo-kicker {
	display: inline-block;
	font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
	color: var(--sdo-primary); margin-bottom: 4px; text-decoration: none;
}
.sdo-kicker-lg { font-size: 11.5px; margin-bottom: 8px; }
.sdo-kicker-green { color: var(--sdo-green); }

/* --- Cuadrícula de noticias --------------------------------------------- */
.sdo-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.sdo-card {
	background: var(--sdo-paper);
	border-radius: var(--sdo-r);
	overflow: hidden;
	box-shadow: var(--sdo-shadow);
	display: flex; flex-direction: column;
}

.sdo-card-media { display: block; background: var(--sdo-wash); }
.sdo-card-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }

.sdo-card-body { padding: 10px 11px 12px; display: flex; flex-direction: column; flex: 1; }

.sdo-card-title { font-size: 14.5px; line-height: 1.22; }
.sdo-card-title a { color: var(--sdo-navy); text-decoration: none; }
.sdo-card-title a:hover { color: var(--sdo-primary); }
.sdo-card .sdo-meta { margin-top: auto; padding-top: 7px; }

.sdo-noimg {
	display: flex; align-items: center; justify-content: center;
	aspect-ratio: 16 / 10; background: var(--sdo-primary-soft);
	color: var(--sdo-primary); font-size: 15px; letter-spacing: -.02em;
}
.sdo-noimg b { color: var(--sdo-navy); font-weight: 700; }

/* --- Lo más leído ------------------------------------------------------- */
.sdo-ranklist {
	background: var(--sdo-paper);
	border-radius: var(--sdo-r-lg);
	box-shadow: var(--sdo-shadow);
	overflow: hidden;
}

.sdo-rank {
	display: grid;
	grid-template-columns: 32px 92px minmax(0, 1fr) 13px;
	align-items: center; gap: 11px;
	padding: 11px 12px;
	border-bottom: 1px solid var(--sdo-line);
}
.sdo-rank:last-child { border-bottom: 0; }

.sdo-rank-num {
	width: 32px; height: 32px; border-radius: 50%;
	background: var(--sdo-primary-soft); color: var(--sdo-primary);
	font-size: 14.5px; font-weight: 700; font-variant-numeric: tabular-nums;
	display: flex; align-items: center; justify-content: center;
}

.sdo-rank-media img { width: 92px; height: 62px; object-fit: cover; border-radius: 10px; display: block; }
.sdo-rank-media .sdo-noimg { width: 92px; height: 62px; aspect-ratio: auto; border-radius: 10px; font-size: 10px; }

.sdo-rank-title { font-size: 14.5px; line-height: 1.22; }
.sdo-rank-title a { color: var(--sdo-navy); text-decoration: none; }
.sdo-rank-title a:hover { color: var(--sdo-primary); }
.sdo-rank-chev { width: 13px; height: 13px; color: #A9B8CC; }

/* --- Accesos a Sofafe y Negocios ---------------------------------------- */
.sdo-actions-bar {
	max-width: 1180px;
	margin: 0 auto;
	padding: 12px var(--sdo-gut) 0;
}

.sdo-actions {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.sdo-action {
	display: flex; align-items: center; gap: 9px;
	padding: 13px 11px; border-radius: var(--sdo-r-lg);
	border: 1px solid; text-decoration: none;
}
.sdo-action:hover { text-decoration: none; }
.sdo-action-blue { background: linear-gradient(150deg, #E8F1FE, #F7FAFF); border-color: #D2E4FB; }
.sdo-action-green { background: linear-gradient(150deg, var(--sdo-green-soft), #F6FBF8); border-color: #CDE8D9; }

.sdo-action-icon {
	width: 40px; height: 40px; flex: none;
	border-radius: 12px; padding: 9px; color: #fff;
	display: flex; align-items: center; justify-content: center;
}
.sdo-action-icon .sdo-i { width: 100%; height: 100%; }
.sdo-action-blue .sdo-action-icon { background: var(--sdo-primary); box-shadow: 0 4px 10px -3px rgba(20, 115, 230, .55); }
.sdo-action-green .sdo-action-icon { background: var(--sdo-green); box-shadow: 0 4px 10px -3px rgba(15, 122, 68, .45); }

.sdo-action-text { min-width: 0; }
.sdo-action-text b { display: block; font-size: 12.5px; font-weight: 700; line-height: 1.15; }
.sdo-action-blue b { color: #0F55B0; }
.sdo-action-green b { color: #0B5C33; }
.sdo-action-text i { display: block; font-style: normal; font-size: 11px; color: var(--sdo-mut); margin-top: 2px; line-height: 1.25; }
.sdo-action-chev { width: 12px; height: 12px; margin-left: auto; color: #9FB2C9; }

/* --- Publicidad --------------------------------------------------------- */
.sdo-ad {
	display: block;
	margin: 16px auto;
	max-width: 1180px;
	text-align: center;
	overflow: hidden;
}
.sdo-ad-top { margin: 0 auto; padding: 10px var(--sdo-gut) 0; }
.sdo-ad-bottom { padding: 0 var(--sdo-gut) 24px; }
.sdo-ad-label {
	display: block;
	font-size: 9.5px; font-weight: 700; letter-spacing: .14em;
	color: var(--sdo-soft); margin-bottom: 5px;
}
.sdo-ad-slot > * { max-width: 100%; }

/* --- Barra inferior ----------------------------------------------------- */
.sdo-bottomnav {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
	display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
	background: var(--sdo-paper);
	border-top: 1px solid var(--sdo-line);
	padding: 7px 4px calc(8px + env(safe-area-inset-bottom));
	box-shadow: 0 -2px 14px -8px rgba(11, 31, 58, .4);
}

.sdo-bn-item {
	display: flex; flex-direction: column; align-items: center; gap: 3px;
	font-size: 10px; font-weight: 600; color: #8496AE;
	background: none; border: 0; cursor: pointer;
	font-family: inherit; text-decoration: none; padding: 0;
	min-height: 44px; justify-content: flex-end;
}
.sdo-bn-item:hover { text-decoration: none; color: var(--sdo-primary); }
.sdo-bn-item .sdo-i { width: 21px; height: 21px; }
.sdo-bn-item.is-active { color: var(--sdo-primary); }

.sdo-bn-center { color: var(--sdo-primary); }
.sdo-bn-fab {
	width: 48px; height: 48px; border-radius: 50%;
	background: var(--sdo-primary); color: #fff;
	display: flex; align-items: center; justify-content: center;
	padding: 12px; margin-top: -22px;
	border: 4px solid var(--sdo-paper);
	box-shadow: 0 6px 16px -4px rgba(20, 115, 230, .6);
}
.sdo-bn-fab .sdo-i { width: 100%; height: 100%; }

/* --- Cabecera de página ------------------------------------------------- */
.sdo-pagehead { padding: 20px 0 4px; }
.sdo-pagetitle { font-size: clamp(24px, 6vw, 32px); line-height: 1.14; }
.sdo-pagedesc { color: var(--sdo-mut); font-size: 14.5px; margin-top: 8px; max-width: 62ch; }
.sdo-pagesearch { margin-top: 14px; max-width: 460px; }
.sdo-grid-page { margin-top: 16px; }
.sdo-empty { color: var(--sdo-mut); padding: 30px 0; }

/* --- Noticia ------------------------------------------------------------ */
.sdo-single {
	background: var(--sdo-paper);
	border-radius: var(--sdo-r-lg);
	box-shadow: var(--sdo-shadow);
	padding: 18px 16px 22px;
	margin-top: 14px;
}

.sdo-single-head { margin-bottom: 4px; }
.sdo-single-title { font-size: clamp(25px, 6.6vw, 34px); line-height: 1.14; }
.sdo-single-lede {
	font-size: 16px; line-height: 1.5; color: #3C5170;
	margin-top: 11px; max-width: 62ch;
}

.sdo-byline {
	display: flex; align-items: center; gap: 10px;
	margin: 16px 0 14px; padding: 13px 0;
	border-top: 1px solid var(--sdo-line);
	border-bottom: 1px solid var(--sdo-line);
}
.sdo-avatar {
	width: 36px; height: 36px; border-radius: 50%; flex: none;
	background: linear-gradient(140deg, var(--sdo-primary), var(--sdo-navy));
	color: #fff; font-size: 12px; font-weight: 700;
	display: flex; align-items: center; justify-content: center;
}
.sdo-byline-text b { display: block; font-size: 13px; font-weight: 700; }
.sdo-byline-text > span { font-size: 11.5px; color: var(--sdo-mut); }

.sdo-single-figure { margin: 0 0 6px; }
.sdo-single-figure img { width: 100%; border-radius: var(--sdo-r); display: block; }
.sdo-single-figure figcaption {
	font-size: 11px; color: var(--sdo-soft); padding: 7px 2px 0; line-height: 1.4;
}

.sdo-content { font-size: 17px; line-height: 1.7; color: #22374F; }
.sdo-content > * { margin: 0 0 1.05em; }
.sdo-content > *:last-child { margin-bottom: 0; }
.sdo-content p { max-width: 68ch; }
.sdo-content h2 { font-size: 22px; margin-top: 1.5em; }
.sdo-content h3 { font-size: 19px; margin-top: 1.3em; }
.sdo-content a { text-decoration: underline; text-underline-offset: 2px; }
.sdo-content img { border-radius: 10px; height: auto; }
.sdo-content figure { margin-left: 0; margin-right: 0; }
.sdo-content figcaption { font-size: 12px; color: var(--sdo-soft); margin-top: 6px; }
.sdo-content blockquote {
	border-left: 3px solid var(--sdo-primary);
	padding: 4px 0 4px 16px; margin-left: 0;
	font-family: var(--sdo-serif); font-size: 19px; line-height: 1.42; color: var(--sdo-navy);
}
.sdo-content ul, .sdo-content ol { padding-left: 22px; }
.sdo-content li { margin-bottom: .4em; }
.sdo-content iframe { max-width: 100%; border-radius: 10px; }
.sdo-content table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.sdo-content td, .sdo-content th { border: 1px solid var(--sdo-line); padding: 8px 10px; text-align: left; }
.sdo-ad-inline { margin: 26px auto; }

/* --- Compartir ---------------------------------------------------------- */
.sdo-share { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin: 14px 0 0; }
.sdo-share-label {
	font-size: 10.5px; font-weight: 700; letter-spacing: .09em;
	text-transform: uppercase; color: var(--sdo-soft); margin-right: 2px;
}
.sdo-share-btn {
	width: 34px; height: 34px; border: 0; border-radius: 10px; padding: 8px;
	display: inline-flex; align-items: center; justify-content: center;
	color: #fff; cursor: pointer;
}
.sdo-share-btn .sdo-i { width: 100%; height: 100%; }
.sdo-share-facebook { background: #1877F2; }
.sdo-share-whatsapp { background: #25D366; }
.sdo-share-x { background: var(--sdo-navy); }
.sdo-share-telegram { background: #29A9EB; }
.sdo-share-copy { background: #7A8DA6; }
.sdo-share-copy.is-copied { background: var(--sdo-green); }

.sdo-wa-float {
	position: fixed; right: 14px; z-index: 65;
	bottom: calc(var(--sdo-navbar) + 14px + env(safe-area-inset-bottom));
	width: 52px; height: 52px; border-radius: 50%; padding: 13px;
	background: #25D366; color: #fff;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 8px 20px -5px rgba(37, 211, 102, .7);
}
body:not(.has-bottom-nav) .sdo-wa-float { bottom: calc(14px + env(safe-area-inset-bottom)); }
.sdo-wa-float .sdo-i { width: 100%; height: 100%; }

/* --- Etiquetas y navegación entre notas --------------------------------- */
.sdo-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.sdo-tag {
	font-size: 11.5px; font-weight: 600; color: #3C5170;
	background: #EEF2F8; border-radius: 7px; padding: 5px 10px; text-decoration: none;
}
.sdo-tag:hover { background: var(--sdo-primary-soft); color: var(--sdo-primary); text-decoration: none; }

.sdo-prevnext { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 20px; }
.sdo-prevnext-item {
	border: 1px solid var(--sdo-line); border-radius: 12px; padding: 11px;
	text-decoration: none; color: var(--sdo-navy);
}
.sdo-prevnext-item:hover { border-color: var(--sdo-primary); text-decoration: none; }
.sdo-prevnext-item span {
	display: block; font-size: 10px; font-weight: 700;
	letter-spacing: .08em; text-transform: uppercase; color: var(--sdo-primary);
}
.sdo-prevnext-item b {
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
	font-family: var(--sdo-serif); font-size: 13.5px; font-weight: 700; line-height: 1.22; margin-top: 5px;
}
.sdo-prevnext-next { text-align: right; }

.sdo-related { margin-top: 24px; }

/* --- Negocios ----------------------------------------------------------- */
.sdo-negocios { display: grid; gap: 11px; }

.sdo-negocio {
	display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px;
	background: var(--sdo-paper); border-radius: var(--sdo-r);
	box-shadow: var(--sdo-shadow); padding: 11px; align-items: start;
}
.sdo-negocio-media img { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; display: block; }
.sdo-negocio-media .sdo-noimg { width: 96px; height: 96px; aspect-ratio: auto; border-radius: 10px; font-size: 10px; }
.sdo-negocio-title { font-size: 16px; line-height: 1.2; }
.sdo-negocio-title a { color: var(--sdo-navy); text-decoration: none; }
.sdo-negocio-line {
	display: flex; align-items: center; gap: 6px;
	font-size: 12px; color: var(--sdo-mut); margin-top: 5px;
}
.sdo-negocio-line .sdo-i { width: 13px; height: 13px; flex: none; color: var(--sdo-soft); }

.sdo-wa-btn {
	display: inline-flex; align-items: center; gap: 7px;
	margin-top: 9px; padding: 8px 13px; border-radius: 10px;
	background: #25D366; color: #fff; font-size: 12.5px; font-weight: 600;
	text-decoration: none;
}
.sdo-wa-btn:hover { text-decoration: none; background: #1FB855; }
.sdo-wa-btn .sdo-i { width: 15px; height: 15px; }
.sdo-wa-btn-lg { font-size: 15px; padding: 12px 20px; margin: 14px 0; }
.sdo-wa-btn-lg .sdo-i { width: 19px; height: 19px; }

.sdo-negocio-facts { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.sdo-negocio-facts li { display: flex; align-items: center; gap: 9px; font-size: 14.5px; }
.sdo-negocio-facts .sdo-i { width: 17px; height: 17px; color: var(--sdo-primary); flex: none; }

.sdo-negocio-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.sdo-negocio-links a {
	display: inline-flex; align-items: center; gap: 6px;
	border: 1px solid var(--sdo-line); border-radius: 10px;
	padding: 8px 12px; font-size: 13px; font-weight: 600;
	color: var(--sdo-navy); text-decoration: none;
}
.sdo-negocio-links a:hover { border-color: var(--sdo-primary); color: var(--sdo-primary); text-decoration: none; }
.sdo-negocio-links .sdo-i { width: 15px; height: 15px; }

.sdo-map { margin-top: 18px; border-radius: var(--sdo-r); overflow: hidden; border: 1px solid var(--sdo-line); }
.sdo-map iframe { display: block; width: 100%; height: 280px; border: 0; }

/* --- Formulario Sofafe -------------------------------------------------- */
.sdo-form-wrap {
	background: var(--sdo-paper); border-radius: var(--sdo-r-lg);
	box-shadow: var(--sdo-shadow); padding: 18px 16px 22px; margin-top: 16px;
}

.sdo-notice {
	border-radius: 12px; padding: 13px 15px; margin-bottom: 16px;
	font-size: 14.5px; line-height: 1.45;
}
.sdo-notice-ok { background: var(--sdo-green-soft); color: #0B5C33; border: 1px solid #CDE8D9; }
.sdo-notice-error { background: #FDECEA; color: #97231A; border: 1px solid #F5CFCB; }

.sdo-field { margin-bottom: 14px; }
.sdo-field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.sdo-field label em { font-style: normal; font-weight: 500; color: var(--sdo-soft); }
.sdo-req { color: var(--sdo-urgent); }

.sdo-field input[type="text"],
.sdo-field input[type="email"],
.sdo-field input[type="file"],
.sdo-field textarea {
	width: 100%; font: inherit; font-size: 16px;
	border: 1px solid #D7E0EC; border-radius: 11px;
	padding: 12px 13px; background: var(--sdo-wash); color: var(--sdo-navy);
}
.sdo-field textarea { resize: vertical; min-height: 120px; }
.sdo-field input[type="file"] { padding: 11px; font-size: 13.5px; }

.sdo-help { font-size: 11.5px; color: var(--sdo-soft); margin-top: 6px; line-height: 1.4; }

.sdo-check { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0; }
.sdo-check input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--sdo-primary); }
.sdo-check label { font-size: 13px; line-height: 1.45; color: #3C5170; font-weight: 400; }

.sdo-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.sdo-submit, .sdo-btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 100%; min-height: 50px; border: 0; border-radius: 12px;
	background: var(--sdo-primary); color: #fff;
	font: inherit; font-size: 15.5px; font-weight: 700; cursor: pointer;
	text-decoration: none; padding: 0 22px;
	box-shadow: 0 6px 16px -7px rgba(20, 115, 230, .8);
}
.sdo-submit:hover, .sdo-btn:hover { background: #0F5BC0; text-decoration: none; color: #fff; }
.sdo-btn { width: auto; margin-top: 18px; }

.sdo-form-note { font-size: 12px; color: var(--sdo-mut); text-align: center; margin-top: 13px; line-height: 1.45; }
.sdo-form-closed { color: var(--sdo-mut); }

/* --- Paginación --------------------------------------------------------- */
.pagination, .nav-links {
	display: flex; flex-wrap: wrap; gap: 6px; justify-content: center;
	margin-top: 22px;
}
.pagination .page-numbers, .nav-links .page-numbers {
	min-width: 40px; height: 40px; padding: 0 12px;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--sdo-paper); border: 1px solid var(--sdo-line);
	border-radius: 10px; color: var(--sdo-navy);
	font-size: 14px; font-weight: 600; text-decoration: none;
}
.pagination .page-numbers.current, .nav-links .page-numbers.current {
	background: var(--sdo-primary); border-color: var(--sdo-primary); color: #fff;
}
.screen-reader-text + .nav-links { margin-top: 0; }

/* --- 404 ---------------------------------------------------------------- */
.sdo-404 { padding: 34px 0 10px; }
.sdo-404-code {
	font-family: var(--sdo-serif); font-size: 62px; font-weight: 700;
	line-height: 1; color: var(--sdo-primary-soft);
}

/* --- Comentarios -------------------------------------------------------- */
.sdo-comments { margin-top: 24px; background: var(--sdo-paper); border-radius: var(--sdo-r-lg); padding: 18px 16px; box-shadow: var(--sdo-shadow); }
.sdo-commentlist { list-style: none; margin: 14px 0; padding: 0; }
.sdo-comments input[type="text"], .sdo-comments input[type="email"], .sdo-comments input[type="url"], .sdo-comments textarea {
	width: 100%; font: inherit; border: 1px solid #D7E0EC; border-radius: 11px; padding: 11px 13px; background: var(--sdo-wash);
}

/* --- Pie ---------------------------------------------------------------- */
.sdo-footer { background: var(--sdo-navy); color: #fff; margin-top: 30px; }
.sdo-footer-in { max-width: 1180px; margin: 0 auto; padding: 28px var(--sdo-gut) 34px; }
.sdo-brand-light span { color: #fff; }
.sdo-brand-light b { color: #6FB0FF; }
.sdo-footer-tagline { color: rgba(255, 255, 255, .66); font-size: 13.5px; margin-top: 6px; }
.sdo-footer-contact, .sdo-footer-legal { color: rgba(255, 255, 255, .52); font-size: 12.5px; margin-top: 14px; }

.sdo-social { list-style: none; display: flex; gap: 9px; margin: 16px 0 0; padding: 0; }
.sdo-social a {
	width: 36px; height: 36px; border-radius: 10px; padding: 9px;
	background: rgba(255, 255, 255, .1); color: #fff;
	display: flex; align-items: center; justify-content: center;
}
.sdo-social a:hover { background: var(--sdo-primary); }
.sdo-social .sdo-i { width: 100%; height: 100%; }
.sdo-panel .sdo-social a { background: #EEF2F8; color: var(--sdo-navy); }
.sdo-panel .sdo-social a:hover { background: var(--sdo-primary); color: #fff; }

.sdo-footer-menu { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 16px 0 0; padding: 0; }
.sdo-footer-menu a { color: rgba(255, 255, 255, .8); font-size: 13.5px; }

/* --- Pantallas medianas ------------------------------------------------- */
@media (min-width: 620px) {
	:root { --sdo-gut: 22px; }

	.sdo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
	.sdo-card-title { font-size: 15.5px; }
	.sdo-hero-link { aspect-ratio: 16 / 9; }
	.sdo-single { padding: 26px 28px 30px; }
	.sdo-negocios { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sdo-form-wrap { padding: 26px 28px 30px; }
}

/* --- Escritorio --------------------------------------------------------- */
@media (min-width: 1024px) {
	body.has-bottom-nav { padding-bottom: 0; }
	.sdo-bottomnav { display: none; }
	.sdo-wa-float { bottom: 22px; }

	.sdo-header-bar { padding: 13px var(--sdo-gut); gap: 16px; }
	.sdo-brand { font-size: 25px; }
	.sdo-chips { padding-bottom: 12px; }
	.sdo-chip { font-size: 14px; }

	.sdo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
	.sdo-negocios { grid-template-columns: repeat(3, minmax(0, 1fr)); }

	.sdo-single { max-width: 820px; margin-left: auto; margin-right: auto; }
	.sdo-related { max-width: 820px; margin-left: auto; margin-right: auto; }
	.sdo-content { font-size: 18px; }
	.sdo-single-title { font-size: 40px; }

	/* Portada en dos columnas, sin perder el orden de lectura. */
	.home .sdo-main {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 330px;
		column-gap: 30px;
		align-items: start;
	}
	.home .sdo-breaking { grid-column: 1 / -1; grid-row: 1; margin-left: 0; margin-right: 0; border-radius: 10px; }
	.home .sdo-hero { grid-column: 1; grid-row: 2; }
	.home .sdo-sec-latest { grid-column: 1; grid-row: 3; }
	.home .sdo-tail { grid-column: 2; grid-row: 2 / span 2; }
	.home .sdo-tail > .sdo-section:first-child { margin-top: 14px; }
	.sdo-actions-bar { padding-top: 16px; }
	.sdo-action { padding: 15px 18px; }
	.sdo-action-text b { font-size: 13.5px; }
	.sdo-action-text i { font-size: 12px; }
	.home .sdo-sec-latest .sdo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.home .sdo-rank { grid-template-columns: 30px minmax(0, 1fr) 12px; }
	.home .sdo-sec-popular .sdo-rank-media { display: none; }
	.home .sdo-hero-title { font-size: 38px; }
	.home .sdo-hero-body { padding: 26px 28px; }
}

/* --- Movimiento reducido ------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
		scroll-behavior: auto !important;
	}
}

/* --- Impresión ---------------------------------------------------------- */
@media print {
	.sdo-header, .sdo-bottomnav, .sdo-ad, .sdo-share, .sdo-wa-float, .sdo-footer, .sdo-panel { display: none !important; }
	body { background: #fff; padding: 0; }
	.sdo-single { box-shadow: none; padding: 0; }
}

.sdo-footer-wa { margin-top: 18px; }

/* --- Migas de pan -------------------------------------------------------- */
.sdo-crumbs { margin: 16px 0 -4px; }
.sdo-crumbs ol {
	list-style: none; margin: 0; padding: 0;
	display: flex; flex-wrap: wrap; align-items: center; gap: 4px;
	font-size: 12px; color: var(--sdo-mut);
}
.sdo-crumbs li { display: inline-flex; align-items: center; gap: 4px; min-width: 0; }
.sdo-crumbs a { color: var(--sdo-mut); font-weight: 500; }
.sdo-crumbs a:hover { color: var(--sdo-primary); }
.sdo-crumbs span[aria-current] {
	color: var(--sdo-navy); font-weight: 600;
	max-width: 24ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sdo-crumbs-sep { width: 9px; height: 9px; color: #A9B8CC; }
@media (min-width: 620px) {
	.sdo-crumbs span[aria-current] { max-width: 46ch; }
}

/* --- Reportes ciudadanos (Sofafe) ---------------------------------------- */
.sdo-kicker-report {
	display: inline-flex; align-items: center; gap: 4px;
	color: var(--sdo-primary);
}
.sdo-kicker-report .sdo-i { width: 11px; height: 11px; }
.sdo-kicker-lg.sdo-kicker-report .sdo-i { width: 14px; height: 14px; }

.sdo-report-card .sdo-card-media { position: relative; }
.sdo-report-flag {
	position: absolute; left: 8px; top: 8px;
	width: 26px; height: 26px; border-radius: 8px; padding: 6px;
	background: rgba(11, 31, 58, .72); color: #fff;
	display: flex; align-items: center; justify-content: center;
	backdrop-filter: blur(3px);
}
.sdo-report-flag .sdo-i { width: 100%; height: 100%; }

.sdo-btn-report {
	display: inline-flex; gap: 9px; align-items: center;
	width: auto; margin-top: 16px;
}
.sdo-btn-report .sdo-i { width: 19px; height: 19px; }

.sdo-report-facts {
	list-style: none; margin: 14px 0 0; padding: 0;
	display: flex; flex-wrap: wrap; gap: 6px 16px;
}
.sdo-report-facts li {
	display: inline-flex; align-items: center; gap: 6px;
	font-size: 13px; color: var(--sdo-mut);
}
.sdo-report-facts .sdo-i { width: 14px; height: 14px; color: var(--sdo-primary); flex: none; }

.sdo-report-media { margin-top: 24px; }
.sdo-report-gallery {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px; margin-top: 12px;
}
.sdo-report-shot img,
.sdo-report-video {
	width: 100%; border-radius: 12px; display: block;
	aspect-ratio: 4 / 3; object-fit: cover; background: var(--sdo-wash);
}
.sdo-report-video { aspect-ratio: 16 / 9; }

.sdo-disclaimer {
	font-size: 12.5px; line-height: 1.5; color: var(--sdo-mut);
	background: #F5F8FC; border: 1px solid var(--sdo-line);
	border-radius: 12px; padding: 12px 15px; margin-top: 22px;
}
.sdo-disclaimer-inline { margin-top: 24px; }

.sdo-empty-box {
	background: var(--sdo-paper); border-radius: var(--sdo-r-lg);
	box-shadow: var(--sdo-shadow); padding: 38px 22px 34px;
	text-align: center; margin-top: 18px;
}
.sdo-empty-icon { width: 40px; height: 40px; color: var(--sdo-primary); opacity: .55; }
.sdo-empty-box h2 { font-size: 20px; margin-top: 12px; }
.sdo-empty-box p {
	color: var(--sdo-mut); font-size: 14.5px; margin: 8px auto 0; max-width: 44ch;
}
.sdo-empty-box .sdo-btn { margin-top: 18px; }

@media (min-width: 620px) {
	.sdo-report-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
	.sdo-report { max-width: 820px; margin-left: auto; margin-right: auto; }

	/* En escritorio los reportes van en la columna lateral, bajo los accesos. */
	.home .sdo-sec-reports .sdo-grid { grid-template-columns: minmax(0, 1fr); }
	.home .sdo-sec-reports .sdo-card { flex-direction: row; }
	.home .sdo-sec-reports .sdo-card-media { width: 104px; flex: none; }
	.home .sdo-sec-reports .sdo-card-media img { aspect-ratio: 1 / 1; height: 100%; }
	.home .sdo-sec-reports .sdo-report-flag { display: none; }
}
