/* =============================================================
   CCLatam — base.css
   Reset, variables de marca y tipografía base.
   Mobile-first: todo lo que sigue está pensado para ~360-420px
   primero; layout.css y components.css añaden los min-width
   necesarios para pantallas más grandes.
   ============================================================= */

:root {
	/* Marca */
	--red: #EE1C25;
	--black: #111111;

	/* Grises (mismo set usado en el demo aprobado) */
	--grey-900: #1a1a1a;
	--grey-600: #5b5b5b;
	--grey-400: #8a8a8a;
	--grey-200: #e7e7e7;
	--grey-100: #f3f3f3;

	--bg: #ffffff;
	--radius: 14px;

	/* Tipografía: system font stack — cero peticiones a Google Fonts */
	--font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* -------------------------------------------------------------
   Reset mínimo
   ------------------------------------------------------------- */

*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

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

html,
body {
	background: var(--bg);
	font-family: var(--font-sans);
	color: var(--black);
}

body {
	line-height: 1.5;
	overflow-x: hidden; /* evita scroll horizontal accidental por el carrusel/categorías */
}

img,
picture,
svg {
	display: block;
	max-width: 100%;
}

a {
	color: inherit;
	text-decoration: none;
}

button {
	font-family: inherit;
	background: none;
	border: none;
	cursor: pointer;
	color: inherit;
}

ul,
ol {
	list-style: none;
}

input,
textarea {
	font-family: inherit;
	font-size: 16px; /* evita el zoom automático de iOS al enfocar un input */
}

/* -------------------------------------------------------------
   Accesibilidad
   ------------------------------------------------------------- */

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

.skip-link {
	position: absolute;
	top: -100px;
	left: 0;
	background: var(--black);
	color: #fff;
	padding: 10px 16px;
	z-index: 999;
	transition: top .15s ease;
}

.skip-link:focus {
	top: 0;
}

/* Cuando un modal/off-canvas está abierto, se bloquea el scroll del body. */
body.cclatam-modal-open {
	overflow: hidden;
}

/* -------------------------------------------------------------
   Tipografía de contenido editorial (the_content, comentarios)
   ------------------------------------------------------------- */

.article-body p {
	font-size: 14.5px;
	line-height: 1.68;
	color: #222;
	margin-bottom: 14px;
}

.article-body h2 {
	font-size: 17px;
	font-weight: 800;
	margin: 6px 0 10px 0;
	color: var(--black);
}

.article-body h3 {
	font-size: 15px;
	font-weight: 800;
	margin: 4px 0 8px 0;
	color: var(--black);
}

.article-body ul,
.article-body ol {
	margin: 0 0 14px 18px;
	font-size: 14.5px;
	line-height: 1.68;
}

.article-body ul {
	list-style: disc;
}

.article-body ol {
	list-style: decimal;
}

.article-body a {
	color: var(--red);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.article-body img {
	border-radius: 10px;
	height: auto;
}

.article-body figcaption {
	font-size: 11.5px;
	color: var(--grey-400);
	font-style: italic;
	margin-top: 6px;
}

.article-body blockquote {
	margin: 6px 0 18px 0;
	padding: 4px 0 4px 16px;
	border-left: 4px solid var(--red);
}

.article-body blockquote p {
	font-size: 15.5px;
	font-style: italic;
	font-weight: 700;
	line-height: 1.5;
	color: var(--black);
	margin-bottom: 0;
}

.article-body strong,
.article-body b {
	color: var(--black);
}
