/* ============================================================
   POLÍTICA 101 — PORTADA · v1.0.0
   Escritorio, tableta y teléfono.
   ============================================================ */

.p101-pt {
	--papel:  #F1ECE1;
	--papel2: #E7E0D2;
	--tinta:  #1F1D19;
	--titulo: #0C0B09;
	--mute:   #6A6459;
	--rey:    #1D3FAD;
	--marino: #235585;
	--rojo:   #B3261E;
	--fina:   rgba(31, 29, 25, .12);
	--linea:  rgba(31, 29, 25, .2);
	--serif: "Playfair Display", Georgia, serif;
	--sans: "DM Sans", "Helvetica Neue", Arial, sans-serif;

	background: var(--papel);
	font-family: var(--sans);
	color: var(--tinta);
	max-width: 1440px;
	margin: 0 auto;
	padding-bottom: 40px;
}
.p101-pt, .p101-pt *, .p101-pt *::before, .p101-pt *::after { box-sizing: border-box; }
.p101-pt img { max-width: 100%; height: auto; display: block; }
.p101-pt a { text-decoration: none; color: inherit; }
.p101-pt__vacio { padding: 60px 40px; font-family: var(--serif); font-style: italic; color: var(--mute); }

/* ---------- Cabeza de edición ---------- */
.p101-pt__edic {
	display: flex; justify-content: space-between; gap: 16px;
	padding: 9px 40px; font-size: 10px; letter-spacing: .24em;
	text-transform: uppercase; color: var(--mute); font-weight: 500;
	border-bottom: 1px solid var(--fina);
}
.p101-pt__edic b { color: var(--rey); font-weight: 700; }

.p101-pt__cabeza { padding: 24px 40px 16px; text-align: center; border-bottom: 3px double var(--titulo); }
.p101-pt .p101-pt__mast { height: 68px; width: auto; display: inline-block; }
.p101-pt__lema { font-family: var(--serif); font-style: italic; font-size: 12.5px; color: var(--mute); margin-top: 7px; }

/* ---------- Hero: carrusel de historias del día ---------- */
.p101-pt__hero { border-bottom: 2px solid var(--titulo); }
.p101-pt__hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; }

.p101-pt__hero-art { position: relative; background: var(--papel); min-height: 360px; overflow: hidden; }
.p101-pt__hero-capa {
	position: absolute; inset: 0; display: block; opacity: 0; visibility: hidden;
	transition: opacity .5s ease;
}
.p101-pt__hero-capa.is-active { opacity: 1; visibility: visible; }
.p101-pt__hero-capa svg { display: block; width: 100%; height: 100%; }

.p101-pt__hero-text { position: relative; }
.p101-pt__hero-panel {
	opacity: 0; visibility: hidden; position: absolute; inset: 0;
	padding: 40px 40px 32px 32px; display: flex; flex-direction: column; justify-content: center;
	transition: opacity .5s ease;
}
.p101-pt__hero-panel.is-active { opacity: 1; visibility: visible; position: relative; }
.p101-pt__hero-k {
	font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
	color: var(--rey); margin-bottom: 14px;
}
.p101-pt .p101-pt__hero h2 {
	font-family: var(--serif); font-weight: 900; font-size: clamp(30px, 3.4vw, 50px);
	line-height: 1.02; letter-spacing: -.028em; color: var(--titulo); margin: 0 0 16px;
	text-wrap: balance; padding: 0; border: 0;
}
.p101-pt .p101-pt__hero h2 a:hover { color: var(--rey); }
.p101-pt__hero-h {
	font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 17px;
	line-height: 1.5; color: var(--mute); margin: 0 0 20px; max-width: 46ch;
}
.p101-pt__hero-m {
	font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--mute);
	display: flex; gap: 16px; padding-top: 14px; border-top: 1px solid var(--fina);
}
.p101-pt__hero-f { margin-left: auto; color: var(--rey); font-weight: 700; }

.p101-pt__hero-riel { display: flex; gap: 2px; border-top: 1px solid var(--fina); }
.p101-pt__hero-riel span {
	flex: 1; padding: 10px 14px; font-size: 9px; font-weight: 700; letter-spacing: .16em;
	text-transform: uppercase; color: var(--mute); cursor: pointer; text-align: center;
	border-top: 2px solid transparent; transition: color .2s ease, border-color .2s ease;
}
.p101-pt__hero-riel span:hover { color: var(--titulo); }
.p101-pt__hero-riel span.is-active { color: var(--rey); border-top-color: var(--rey); }

/* ---------- Tablero de cartas ---------- */
.p101-pt__franja { padding: 20px 40px 24px; border-bottom: 2px solid var(--titulo); }
.p101-pt__ft { display: flex; align-items: baseline; gap: 13px; margin-bottom: 15px; }
.p101-pt__ft b { font-size: 10px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--titulo); }
.p101-pt__ft s { text-decoration: none; font-family: var(--serif); font-style: italic; font-size: 12px; color: var(--mute); }

.p101-pt__cartas { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.p101-pt__carta {
	border: 1px solid var(--linea); background: var(--papel2);
	padding: 15px 13px 18px; text-align: center; position: relative;
	display: flex; flex-direction: column; align-items: center;
	transition: background .2s ease;
}
.p101-pt__carta:hover { background: #fff; }
.p101-pt__amb {
	font-size: 7.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
	color: var(--rey); opacity: .75; margin-bottom: 9px;
}
.p101-pt__ico { height: 56px; display: grid; place-items: center; margin-bottom: 9px; }
.p101-pt__n {
	font-family: var(--serif); font-weight: 900; font-size: 46px; line-height: .88;
	letter-spacing: -.045em; color: var(--rey);
}
.p101-pt__n small { font-size: 19px; letter-spacing: 0; }
.p101-pt__carta.es-alerta .p101-pt__n { color: var(--rojo); }
.p101-pt__l {
	font-size: 8.5px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
	color: var(--mute); margin-top: 9px; line-height: 1.4;
}
.p101-pt__carta::after {
	content: ""; position: absolute; left: 13px; right: 13px; bottom: 9px;
	height: 2px; background: var(--rey); opacity: .14;
}
.p101-pt__carta.es-alerta::after { background: var(--rojo); }

/* ---------- Secciones ---------- */
.p101-pt__sec { padding: 0 40px; }
.p101-pt__sh {
	display: flex; align-items: baseline; gap: 14px; margin: 28px 0 16px;
	padding-bottom: 9px; border-bottom: 1px solid var(--titulo);
}
.p101-pt__sh b { font-size: 11px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--titulo); }
.p101-pt__sh s { text-decoration: none; font-family: var(--serif); font-style: italic; font-size: 12.5px; color: var(--mute); }
.p101-pt__sh em {
	margin-left: auto; font-style: normal; font-size: 9px; letter-spacing: .18em;
	text-transform: uppercase; color: var(--rey); font-weight: 700;
}

/* ---------- Reportes · dos o tres tarjetas, según lo publicado ----------
   El nombre de la clase (rep2) quedó de cuando solo existían Nacional e
   Internacional; se conserva por compatibilidad. El modificador --n2/--n3
   decide cuántas columnas monta, calculado en PHP contando reportes reales. */
.p101-pt__rep2 { display: grid; gap: 24px; }
.p101-pt__rep2--n2 { grid-template-columns: 1fr 1fr; }
.p101-pt__rep2--n3 { grid-template-columns: repeat(3, 1fr); }
.p101-pt__rep2--n1 { grid-template-columns: 1fr; max-width: 640px; }
.p101-pt__rep {
	border: 1px solid var(--linea); background: var(--papel2);
	display: flex; flex-direction: column;
}
.p101-pt__img {
	display: block; background: var(--papel); border-bottom: 1px solid var(--linea);
	padding: 12px; overflow: hidden;
}
.p101-pt__img img { display: block; width: 100%; height: 186px; object-fit: contain; }

.p101-pt__bd { padding: 22px 24px 20px; display: flex; flex-direction: column; flex: 1; }
.p101-pt__k {
	font-size: 9.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
	color: var(--rey); margin-bottom: 12px;
}
.p101-pt .p101-pt__rep h3 {
	font-family: var(--serif); font-weight: 900;
	font-size: clamp(24px, 2.1vw, 31px); line-height: 1.06;
	letter-spacing: -.026em; color: var(--titulo); margin: 0 0 14px;
	text-wrap: balance; padding: 0; border: 0;
}
.p101-pt .p101-pt__rep h3 em { font-style: italic; color: var(--rey); }
.p101-pt .p101-pt__rep h3 a:hover { color: var(--rey); }

.p101-pt__baj {
	font-family: var(--serif); font-style: italic; font-weight: 700;
	font-size: 15px; line-height: 1.45; color: var(--mute); margin: 0 0 16px;
}

.p101-pt__notas { list-style: none; margin: 0 0 auto; padding: 0; }
.p101-pt__notas li {
	display: grid; grid-template-columns: 20px 1fr; gap: 11px;
	padding: 11px 0; border-top: 1px solid var(--fina);
	font-size: 13px; line-height: 1.42; color: var(--tinta);
}
.p101-pt__notas li span {
	font-family: var(--serif); font-weight: 900; font-size: 13px;
	color: var(--rey); line-height: 1.3;
}
.p101-pt__notas a:hover { color: var(--rey); }

.p101-pt__m {
	margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--linea);
	font-size: 9px; letter-spacing: .16em; text-transform: uppercase;
	color: var(--mute); display: flex; gap: 16px; flex-wrap: wrap;
}
.p101-pt__f { margin-left: auto; color: var(--rey); font-weight: 700; }

/* ---------- Plumas ---------- */
.p101-pt__col3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.p101-pt__col { border-top: 2px solid var(--marino); padding-top: 14px; }
.p101-pt__ph {
	display: block; height: 150px; background: #22304d; margin-bottom: 13px; overflow: hidden;
}
.p101-pt__ph img { width: 100%; height: 150px; object-fit: cover; }
.p101-pt__ck {
	font-size: 9.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
	color: var(--marino); margin-bottom: 8px;
}
.p101-pt__col h4 {
	font-family: var(--serif); font-weight: 700; font-size: 21px; line-height: 1.16;
	color: var(--titulo); margin: 0 0 9px;
}
.p101-pt__col h4 a:hover { color: var(--marino); }
.p101-pt__au { font-size: 10.5px; letter-spacing: .08em; color: var(--mute); }

/* ---------- Editorial y prospectiva ---------- */
.p101-pt__ed2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.p101-pt__edcard { display: block; text-decoration: none; color: inherit; border-top: 2px solid var(--rey); }
.p101-pt__edph {
	display: block; height: 230px; background: var(--papel); margin-top: 16px; margin-bottom: 16px; overflow: hidden;
}
.p101-pt__edph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.p101-pt__edph svg { width: 100%; height: 100%; display: block; }
.p101-pt__edbd h3 {
	font-family: var(--serif); font-weight: 900; font-size: 26px; line-height: 1.12;
	color: var(--titulo); margin: 0 0 10px; letter-spacing: -.01em;
}
.p101-pt__edcard:hover h3 { color: var(--rey); }
.p101-pt__edbd p { font-size: 14px; color: var(--mute); line-height: 1.45; margin: 0 0 12px; }

/* ---------- CTA Telegram — cierra la portada ---------- */
.p101-pt__cta-tg {
	display: flex; align-items: center; gap: 24px; background: var(--rey);
	margin-top: 8px; padding: 30px 40px; text-decoration: none; flex-wrap: wrap;
}
.p101-pt__cta-tg-ico {
	flex: none; width: 58px; height: 58px; background: var(--papel); border-radius: 6px;
	padding: 12px; box-sizing: border-box; display: flex; align-items: center; justify-content: center;
}
.p101-pt__cta-tg-ico svg { width: 100%; height: 100%; display: block; }
.p101-pt__cta-tg-bd { flex: 1; min-width: 240px; }
.p101-pt__cta-tg-bd b {
	font-family: var(--serif); font-weight: 900; font-size: 22px; line-height: 1.2;
	display: block; color: var(--papel); letter-spacing: -.005em;
}
.p101-pt__cta-tg-bd span { font-size: 13px; display: block; margin-top: 6px; color: var(--papel); opacity: .85; }
.p101-pt__cta-tg-btn {
	flex: none; background: var(--papel); color: var(--rey); font-size: 12px; font-weight: 700;
	padding: 12px 24px; white-space: nowrap;
}

/* ============================================================
   ANCHO COMPLETO — la portada rompe el contenedor del tema
   ============================================================ */

/* El tema mete márgenes, título y barra lateral: aquí sobran */
body.p101-portada-activa .td-crumb-container,
body.p101-portada-activa .entry-crumbs,
body.p101-portada-activa .td-page-header,
body.p101-portada-activa .td-page-title,
body.p101-portada-activa .entry-title,
body.p101-portada-activa .td-sidebar,
body.p101-portada-activa .td-pb-span4.td-main-sidebar,
body.p101-portada-activa #td-outer-wrap .td-main-sidebar { display: none !important; }

body.p101-portada-activa .td-pb-span8,
body.p101-portada-activa .td-pb-span12,
body.p101-portada-activa .td-main-content,
body.p101-portada-activa .td-page-content,
body.p101-portada-activa .td-container,
body.p101-portada-activa .td-pb-row [class*="td-pb-span"] {
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}
body.p101-portada-activa .td-main-content-wrap { padding: 0 !important; }
body.p101-portada-activa .td-page-content > .p101-pt { margin-top: 0; }

/* Rompe el contenedor sin depender de vw: así no se descentra
   cuando hay barra de desplazamiento. */
body.p101-portada-activa .td-main-content-wrap,
body.p101-portada-activa .td-container-wrap,
body.p101-portada-activa .td-page-wrap { width: 100% !important; max-width: none !important; }

.p101-pt { width: 100%; max-width: 100%; margin: 0; }
/* …pero el contenido no se estira más allá de la retícula */
.p101-pt__edic,
.p101-pt__cabeza,
.p101-pt__hero,
.p101-pt__franja,
.p101-pt__cta-tg,
.p101-pt__sec {
	max-width: 1440px;
	margin-left: auto;
	margin-right: auto;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* --- iPad horizontal y laptops chicas: 1025 a 1280 --- */
@media (max-width: 1280px) {
	.p101-pt__edic, .p101-pt__cabeza, .p101-pt__franja, .p101-pt__sec {
		padding-left: 30px; padding-right: 30px;
	}
	.p101-pt .p101-pt__mast { height: 60px; }
	.p101-pt__n { font-size: 34px; }
	.p101-pt__ico svg { width: 46px; height: 46px; }
	.p101-pt__cita p { font-size: 17px; }
	.p101-pt__hero-art { min-height: 300px; }
	.p101-pt__hero-panel { padding: 30px 30px 26px 28px; }
}

/* --- iPad vertical: 821 a 1024 --- */
@media (max-width: 1024px) {
	.p101-pt__cartas { grid-template-columns: repeat(3, 1fr); }
	.p101-pt .p101-pt__mast { height: 52px; }
	.p101-pt__col3 { grid-template-columns: repeat(3, 1fr); gap: 18px; }
	.p101-pt__ph, .p101-pt__ph img { height: 124px; }
	.p101-pt__col h4 { font-size: 18px; }
	/* con 3 reportes, dos columnas respiran mejor que tres antes de colapsar del todo en 820px */
	.p101-pt__rep2--n3 { grid-template-columns: 1fr 1fr; }
	.p101-pt__hero-art { min-height: 260px; }
}

/* --- Tableta angosta: 601 a 820 --- */
@media (max-width: 820px) {
	.p101-pt__rep2 { grid-template-columns: 1fr; gap: 18px; }
	.p101-pt__img img { height: 230px; }
	.p101-pt__col3 { grid-template-columns: 1fr 1fr; }
	.p101-pt__edic, .p101-pt__cabeza, .p101-pt__franja, .p101-pt__sec {
		padding-left: 24px; padding-right: 24px;
	}
	.p101-pt .p101-pt__mast { height: 46px; }
	.p101-pt__hero-grid { grid-template-columns: 1fr; }
	.p101-pt__hero-art { min-height: 220px; }
	.p101-pt__hero-panel { padding: 24px 24px 22px; }
	.p101-pt__ed2 { grid-template-columns: 1fr; gap: 22px; }
	.p101-pt__edph { height: 200px; }
	.p101-pt__cta-tg { flex-direction: column; align-items: flex-start; gap: 16px; padding: 26px 24px; }
	.p101-pt__cta-tg-btn { width: 100%; text-align: center; }
}

@media (max-width: 600px) {
	.p101-pt__img img { height: 150px; }
	.p101-pt__img { padding: 10px; }
	.p101-pt__bd { padding: 16px 16px 15px; }
	.p101-pt__baj { font-size: 14px; }
	.p101-pt__baj { font-size: 15px; margin-bottom: 16px; }
	.p101-pt__edic { font-size: 8px; letter-spacing: .18em; padding: 7px 16px; gap: 8px; }
	.p101-pt__edic span:nth-child(2) { display: none; }
	.p101-pt__cabeza { padding: 16px 16px 12px; }
	.p101-pt .p101-pt__mast { height: 38px; }
	.p101-pt__lema { font-size: 10px; }
	.p101-pt__hero-art { min-height: 180px; }
	.p101-pt__hero-panel { padding: 18px 16px 18px; }
	.p101-pt .p101-pt__hero h2 { font-size: 26px; }
	.p101-pt__hero-h { font-size: 14.5px; }

	.p101-pt__edic, .p101-pt__cabeza, .p101-pt__franja, .p101-pt__sec { padding-left: 16px; padding-right: 16px; }

	/* Cartas: desplazamiento lateral */
	.p101-pt__cartas {
		display: flex; gap: 9px; overflow-x: auto; scrollbar-width: none;
		padding-bottom: 12px; margin: 0 -16px; padding-left: 16px; padding-right: 16px;
	}
	.p101-pt__cartas::-webkit-scrollbar { display: none; }
	.p101-pt__carta { flex: 0 0 132px; padding: 12px 10px 15px; }
	.p101-pt__ico { height: 42px; }
	.p101-pt__ico svg { width: 40px; height: 40px; }
	.p101-pt__n { font-size: 32px; }
	.p101-pt__n small { font-size: 14px; }
	.p101-pt__l { font-size: 7px; }


	.p101-pt__col3 { display: flex !important; gap: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 12px; }
	.p101-pt__col3::-webkit-scrollbar { display: none; }
	.p101-pt__col { flex: 0 0 200px; }
	.p101-pt__ph, .p101-pt__ph img { height: 118px; }
	.p101-pt__col h4 { font-size: 17px; }

	.p101-pt__sh { margin: 20px 0 12px; }
}

@media (prefers-reduced-motion: reduce) { .p101-pt * { transition: none !important; } }
