/* Conduflex · Blog — mismos tokens que el resto del sitio (Saira, negro, amarillo, gris claro). */

.cfb {
	--cfb-black: #0d0d0d;
	--cfb-yellow: #febe10;
	--cfb-light: #f1f1f1;
	--cfb-gray: #808285;
	--cfb-border: #dcdcdc;
	--cfb-radius: 22px;
	font-family: 'Saira', Helvetica, Arial, Lucida, sans-serif;
	color: var(--cfb-black);
	background: #fff;
}
.cfb *, .cfb *::before, .cfb *::after { box-sizing: border-box; }
.cfb p { padding-bottom: 0; }
.cfb a { transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease; }

.cfb-wrap { width: 90%; max-width: 1280px; margin: 0 auto; }
.cfb-wrap--narrow { max-width: 820px; }

/* Textos chicos en mayúsculas, como "REQUERIMIENTOS ESPECIALES" */
.cfb-eyebrow {
	margin: 0 0 12px;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.5;
	text-transform: uppercase;
	letter-spacing: .02em;
	color: rgba(241, 241, 241, .6);
}
.cfb-eyebrow a { color: inherit !important; text-decoration: none; }
.cfb-eyebrow a:hover { color: var(--cfb-yellow) !important; }
.cfb-eyebrow--muted { color: rgba(13, 13, 13, .5); }
.cfb-eyebrow--dark { color: rgba(13, 13, 13, .65); }

/* Hero: foto de fondo oscurecida y título blanco con resaltado amarillo */
.cfb-hero {
	position: relative;
	padding: 180px 0 110px;
	background-color: var(--cfb-black);
	background-image: linear-gradient(90deg, rgba(13, 13, 13, .88) 0%, rgba(13, 13, 13, .55) 60%, rgba(13, 13, 13, .35) 100%), var(--cfb-hero);
	background-size: cover;
	background-position: center;
}
.cfb-hero::after {
	content: '';
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 6px;
	background: var(--cfb-yellow);
}
.cfb-hero__title {
	margin: 0;
	max-width: 900px;
	padding: 0;
	font-size: 56px;
	font-weight: 700;
	line-height: 1.1;
	color: var(--cfb-light) !important;
	text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}
.cfb-hero__title strong { color: var(--cfb-yellow); font-weight: 700; }
.cfb-hero__title--post { font-size: 46px; }
.cfb-hero__text {
	max-width: 640px;
	margin: 20px 0 0;
	font-size: 20px;
	font-weight: 300;
	line-height: 1.45;
	color: rgba(241, 241, 241, .85);
}
.cfb-hero--post { padding-bottom: 80px; }
.cfb-back {
	display: inline-block;
	margin-bottom: 28px;
	font-size: 15px;
	font-weight: 500;
	color: rgba(241, 241, 241, .75) !important;
	text-decoration: none;
}
.cfb-back:hover { color: var(--cfb-yellow) !important; }

/* Fecha, categoría y tiempo de lectura */
.cfb-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 16px;
	margin: 0 0 12px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--cfb-gray);
}
.cfb-meta span + span::before {
	content: '';
	display: inline-block;
	width: 4px; height: 4px;
	margin-right: 16px;
	border-radius: 50%;
	background: currentColor;
	vertical-align: middle;
	opacity: .6;
}
.cfb-meta__cat { font-weight: 600; color: var(--cfb-black); text-transform: uppercase; letter-spacing: .02em; }
.cfb-meta--light { margin-top: 22px; color: rgba(241, 241, 241, .7); }

/* Secciones */
.cfb-section { padding: 80px 0; }
.cfb-section--gray { background: var(--cfb-light); }
.cfb-section__title {
	margin: 0 0 36px;
	padding: 0;
	font-size: 42px;
	font-weight: 700;
	line-height: 1.1;
	color: var(--cfb-black) !important;
}

/* Filtros por categoría */
.cfb-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; }
.cfb-chip {
	display: inline-block;
	padding: 8px 20px;
	border: 2px solid var(--cfb-border);
	border-radius: 999px;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--cfb-black) !important;
	text-decoration: none;
	background: #fff;
}
.cfb-chip:hover { border-color: var(--cfb-yellow); }
.cfb-chip.is-active { border-color: var(--cfb-yellow); background: var(--cfb-yellow); }

/* Botones (iguales a "Ver producto" y al botón Contacto del menú) */
.cfb-btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 11px 24px 12px 25px;
	border: 2px solid transparent;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.6;
	text-decoration: none;
	white-space: nowrap;
}
.cfb-btn::after { content: '\203A'; font-size: 22px; line-height: 1; transform: translateY(-1px); transition: transform .2s ease; }
.cfb-btn:hover::after { transform: translate(4px, -1px); }
.cfb-btn--dark { background: var(--cfb-black); color: var(--cfb-light) !important; }
.cfb-btn--dark:hover { background: var(--cfb-yellow); color: var(--cfb-black) !important; }
.cfb-btn--outline { border-color: var(--cfb-black); color: var(--cfb-black) !important; }
.cfb-btn--outline:hover { background: var(--cfb-black); color: var(--cfb-light) !important; }

/* Artículo destacado */
.cfb-featured {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: 48px;
	align-items: center;
	margin-bottom: 64px;
}
.cfb-featured__media { display: block; overflow: hidden; border-radius: var(--cfb-radius); aspect-ratio: 16 / 10; }
.cfb-featured__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.cfb-featured:hover .cfb-featured__media img { transform: scale(1.04); }
.cfb-featured__title { margin: 0 0 16px; padding: 0; font-size: 38px; font-weight: 700; line-height: 1.15; }
.cfb-featured__title a { color: var(--cfb-black) !important; text-decoration: none; }
.cfb-featured__title a:hover { color: var(--cfb-yellow) !important; }
.cfb-featured__excerpt { margin: 4px 0 28px; font-size: 18px; font-weight: 300; line-height: 1.45; color: var(--cfb-black); }

/* Grilla de tarjetas (mismo borde y radio que las tarjetas del catálogo) */
.cfb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.cfb-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 4px solid var(--cfb-border);
	border-radius: var(--cfb-radius);
	background: #fff;
	transition: border-color .25s ease, transform .25s ease;
}
.cfb-card:hover { border-color: var(--cfb-yellow); transform: translateY(-4px); }
.cfb-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.cfb-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.cfb-card:hover .cfb-card__media img { transform: scale(1.05); }
.cfb-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 26px; }
.cfb-card__title { margin: 0 0 10px; padding: 0; font-size: 18px; font-weight: 600; line-height: 1.3; text-transform: uppercase; }
.cfb-card__title a { color: var(--cfb-black) !important; text-decoration: none; }
.cfb-card__title a:hover { color: var(--cfb-yellow) !important; }
.cfb-card__excerpt { margin: 0 0 22px; font-size: 15px; line-height: 1.55; color: #555; }
.cfb-card .cfb-btn { margin-top: auto; align-self: flex-start; }

/* Paginación */
.cfb-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 56px; }
.cfb-pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 44px; height: 44px; padding: 0 12px;
	border: 2px solid var(--cfb-border); border-radius: 8px;
	font-size: 16px; font-weight: 500;
	color: var(--cfb-black) !important; text-decoration: none;
}
.cfb-pagination a.page-numbers:hover { border-color: var(--cfb-yellow); }
.cfb-pagination .page-numbers.current { border-color: var(--cfb-black); background: var(--cfb-black); color: var(--cfb-light) !important; }
.cfb-pagination .page-numbers.dots { border-color: transparent; }

.cfb-empty { padding: 60px 0; text-align: center; }
.cfb-empty h2 { font-size: 32px; font-weight: 700; color: var(--cfb-black) !important; }
.cfb-empty p { font-size: 18px; font-weight: 300; }

/* Contenido de la entrada */
.cfb-lead { margin: 0 0 36px; font-size: 22px; font-weight: 400; line-height: 1.45; color: var(--cfb-black); }
.cfb-content { font-size: 18px; font-weight: 300; line-height: 1.7; color: var(--cfb-black); }
.cfb-content > * + * { margin-top: 1.1em; }
.cfb-content p { padding: 0; }
.cfb-content h2, .cfb-content h3, .cfb-content h4 { padding: 0; color: var(--cfb-black) !important; line-height: 1.2; }
.cfb-content h2 { margin-top: 1.9em; font-size: 30px; font-weight: 700; }
.cfb-content h3 { margin-top: 1.6em; font-size: 23px; font-weight: 600; }
.cfb-content h4 { margin-top: 1.4em; font-size: 19px; font-weight: 600; text-transform: uppercase; }
.cfb-content strong, .cfb-content b { font-weight: 600; }
.cfb-content a { color: var(--cfb-black) !important; text-decoration: underline; text-decoration-color: var(--cfb-yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.cfb-content a:hover { color: var(--cfb-gray) !important; }
.cfb-content ul, .cfb-content ol { padding-left: 1.3em; }
.cfb-content ul { list-style: none; padding-left: 0; }
.cfb-content ul li { position: relative; padding-left: 26px; }
.cfb-content ul li::before { content: ''; position: absolute; left: 4px; top: .7em; width: 8px; height: 8px; border-radius: 2px; background: var(--cfb-yellow); }
.cfb-content li + li { margin-top: .45em; }
.cfb-content blockquote {
	margin: 1.8em 0; padding: 22px 28px;
	border: 0; border-left: 6px solid var(--cfb-yellow); border-radius: 0 var(--cfb-radius) var(--cfb-radius) 0;
	background: var(--cfb-light);
	font-size: 21px; font-weight: 500; font-style: normal; line-height: 1.45;
}
.cfb-content blockquote p { margin: 0; }
.cfb-content img, .cfb-content figure img { max-width: 100%; height: auto; border-radius: var(--cfb-radius); }
.cfb-content figure { margin: 2em 0; }
.cfb-content figcaption { margin-top: 10px; font-size: 14px; color: var(--cfb-gray); text-align: center; }
.cfb-content table { width: 100%; border-collapse: collapse; font-size: 16px; border: 0; }
.cfb-content th, .cfb-content td { padding: 12px 14px; border-bottom: 1px solid var(--cfb-border); text-align: left; }
.cfb-content th { font-weight: 600; text-transform: uppercase; font-size: 14px; background: var(--cfb-light); }

.cfb-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 48px; }
.cfb-share {
	display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px;
	margin-top: 48px; padding-top: 28px;
	border-top: 2px solid var(--cfb-light);
}
.cfb-share .cfb-eyebrow { margin: 0; font-size: 14px; }
.cfb-share a { font-size: 15px; font-weight: 600; color: var(--cfb-black) !important; text-decoration: none; border-bottom: 2px solid var(--cfb-yellow); }
.cfb-share a:hover { color: var(--cfb-gray) !important; }

/* Banda amarilla de cierre */
.cfb-cta { padding: 72px 0; background: var(--cfb-yellow); }
.cfb-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cfb-cta__title { margin: 0; padding: 0; font-size: 40px; font-weight: 700; line-height: 1.1; color: var(--cfb-black) !important; }
.cfb-cta__text { max-width: 560px; margin: 14px 0 0; font-size: 18px; font-weight: 300; line-height: 1.45; color: var(--cfb-black); }
.cfb-cta__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cfb-cta .cfb-btn--dark:hover { background: #fff; color: var(--cfb-black) !important; }

/* Tablet */
@media (max-width: 980px) {
	.cfb-hero { padding: 150px 0 80px; }
	.cfb-hero__title { font-size: 42px; }
	.cfb-hero__title--post { font-size: 36px; }
	.cfb-featured { grid-template-columns: 1fr; gap: 28px; }
	.cfb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
	.cfb-cta__inner { flex-direction: column; align-items: flex-start; }
	.cfb-section__title { font-size: 34px; }
}

/* Celular */
@media (max-width: 640px) {
	.cfb-hero { padding: 130px 0 64px; }
	.cfb-hero__title { font-size: 34px; }
	.cfb-hero__title--post { font-size: 30px; }
	.cfb-hero__text { font-size: 17px; }
	.cfb-section { padding: 56px 0; }
	.cfb-grid { grid-template-columns: 1fr; }
	.cfb-featured__title { font-size: 28px; }
	.cfb-content { font-size: 17px; }
	.cfb-content h2 { font-size: 25px; }
	.cfb-lead { font-size: 19px; }
	.cfb-cta__title { font-size: 30px; }
	.cfb-btn { white-space: normal; }
}
