/* ========================================
   HOME BLOG — Figma 11051:20759
   ======================================== */

body.home-blog {
	--home-blog-content-width: 1120px;
	--home-blog-gutter-x: 160px;
}

/* Contenedor único — mismo ancho que la barra de filtros (Figma) */
body.home-blog .home-blog-content {
	width: 100%;
	max-width: var(--home-blog-content-width);
	margin-left: auto;
	margin-right: auto;
	padding-left: 0;
	padding-right: 0;
}

body.home-blog .blog-filtros-wrapper > .container,
body.home-blog .blog-filtros-wrapper > .home-blog-content {
	max-width: var(--home-blog-content-width) !important;
	width: 100%;
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-left: auto;
	margin-right: auto;
}

/* ── Hero / filtros — Figma Banner-Blog 11051:20769 ── */
body.home-blog .blog-filtros-wrapper {
	background-color: #ffffff;
	padding: 32px var(--home-blog-gutter-x);
	display: flex;
	flex-direction: column;
	align-items: center;
	box-sizing: border-box;
}

body.home-blog .blog-filtros-wrapper .home-blog-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	width: 100%;
}

body.home-blog .blog-filtros-head {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
	width: 100%;
	text-align: center;
}

body.home-blog .blog-filtros-titulo {
	font-family: 'Inter', sans-serif;
	font-weight: 900;
	font-size: 40px;
	line-height: 1.2;
	color: #151515;
	margin: 0;
	width: 100%;
	text-align: center;
}

body.home-blog .blog-filtros-desc {
	font-family: 'Inter', sans-serif;
	font-weight: 400;
	font-size: 18px;
	line-height: 1.5;
	color: #151515;
	margin: 0;
	width: 100%;
	text-align: center;
}

body.home-blog .blog-filtros-panel {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	width: 100%;
}

body.home-blog .blog-filtros-subtitulo {
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 18px;
	line-height: 1.5;
	color: #151515;
	margin: 0;
	width: 100%;
	text-align: center;
}

body.home-blog .blog-filtros-verfiltros-btn {
	display: none;
}

body.home-blog .blog-filtros-barra {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 24px;
	width: 100%;
	padding: 16px;
	background-color: #ffffff;
	border-radius: 4px;
	box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15);
}

body.home-blog .blog-filtros-dropdowns {
	display: flex;
	flex: 1 1 0;
	gap: 4px;
	min-width: 0;
	align-items: flex-start;
}

body.home-blog .blog-filtros-barra .custom-select-wrapper {
	position: relative;
	flex: 1 1 0;
	width: auto !important;
	min-width: 0;
	margin-bottom: 0;
}

body.home-blog .blog-filtros-barra .custom-select-trigger {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100% !important;
	box-sizing: border-box;
	background-color: #ffffff;
	border: 1px solid #c6c5c5;
	border-radius: 8px;
	padding: 16px;
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	color: #959595;
	cursor: pointer;
	height: auto;
	justify-content: flex-start;
}

body.home-blog .blog-filtros-barra .custom-select-trigger .trigger-text {
	flex: 1 1 0;
	min-width: 0;
	text-align: left;
	color: #959595;
}

body.home-blog .blog-filtros-barra .custom-select-trigger img {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	transition: transform 0.2s ease;
}

body.home-blog .blog-filtros-barra .custom-select-wrapper.open .custom-select-trigger img {
	transform: rotate(180deg);
}

body.home-blog .blog-filtros-barra .custom-select-trigger:focus,
body.home-blog .blog-filtros-barra .custom-select-trigger:active,
body.home-blog .blog-filtros-barra .custom-select-wrapper.open .custom-select-trigger,
body.home-blog .blog-filtros-barra .custom-select-wrapper.has-value .custom-select-trigger {
	border-radius: 8px;
	border: 1px solid #FF4E00;
	background: var(--UI-GSK-White, #FFF);
}

body.home-blog .blog-filtros-barra .custom-select-wrapper.has-value .custom-select-trigger .trigger-text,
body.home-blog .blog-filtros-barra .custom-select-wrapper.open .custom-select-trigger .trigger-text {
	color: #151515;
}

body.home-blog .blog-filtros-btn {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 50px;
	padding: 16px 32px;
	background-color: #ff4e00;
	color: #ffffff;
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 14px;
	line-height: 1.2;
	border: none;
	border-radius: 100px;
	cursor: pointer;
	white-space: nowrap;
	box-shadow:
		0 126px 17.5px rgba(0, 0, 0, 0),
		0 81px 16px rgba(0, 0, 0, 0.01),
		0 45px 13.5px rgba(0, 0, 0, 0.05),
		0 20px 10px rgba(0, 0, 0, 0.09),
		0 5px 5.5px rgba(0, 0, 0, 0.1),
		0 0 0 rgba(0, 0, 0, 0.1);
}

body.home-blog .blog-filtros-btn:hover:not(:disabled) {
	background-color: #ff7900;
}

body.home-blog .blog-filtros-btn:disabled {
	background-color: #c6c5c5;
	cursor: not-allowed;
	box-shadow: none;
}

/* ── Sección destacada (Frame 164000) ── */
body.home-blog .home-blog-featured {
	background-image: url('/images/blogcard/fondos/frame-164000.png');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	padding: 32px var(--home-blog-gutter-x);
}

body.home-blog .home-blog-featured .container,
body.home-blog .home-blog-featured .home-blog-content {
	max-width: var(--home-blog-content-width) !important;
	width: 100%;
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-left: auto;
	margin-right: auto;
}

body.home-blog .home-blog-featured__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 18px;
}

body.home-blog .home-blog-featured__title {
	font-family: 'Inter', sans-serif;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
	color: #151515;
	margin: 0;
	text-align: left;
}

body.home-blog .home-blog-featured__title-accent {
	color: #ff4e00;
}

body.home-blog .home-blog-featured__nav {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	flex-shrink: 0;
}

body.home-blog .home-blog-featured__nav-buttons {
	display: flex;
	align-items: center;
	gap: 12px;
}

body.home-blog .home-blog-featured .swiper-button-prev-blog,
body.home-blog .home-blog-featured .swiper-button-next-blog {
	width: 50px;
	height: 50px;
	border-radius: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	margin: 0;
	position: static;
}

body.home-blog .home-blog-featured .swiper-button-prev-blog,
body.home-blog .home-blog-featured .swiper-button-next-blog {
	background: transparent;
	border: none;
}

body.home-blog .home-blog-featured .arrow-back img,
body.home-blog .home-blog-featured .swiper-button-next-blog img {
	width: 50px;
	height: 50px;
}

/* El ícono habilitado apunta hacia adelante (naranja); reutilizamos big-back.svg
   espejado para representar el estado "next" deshabilitado (blanco) */
body.home-blog .home-blog-featured .swiper-button-next-blog img.icon-flip-x {
	transform: scaleX(-1);
}

body.home-blog .home-blog-featured .desktop-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 4px;
	width: auto;
}

body.home-blog .home-blog-featured .desktop-pagination .swiper-pagination-bullet {
	flex: 0 0 38px;
	width: 38px !important;
	max-width: 38px;
	height: 6px !important;
	border-radius: 100px !important;
	background-color: #ff4e00 !important;
	opacity: 0.3 !important;
	margin: 0 !important;
}

body.home-blog .home-blog-featured .desktop-pagination .swiper-pagination-bullet-active {
	opacity: 1 !important;
}

body.home-blog .home-blog-featured .swiper-blog {
	overflow: hidden;
	width: 100%;
	max-width: var(--home-blog-content-width);
}

body.home-blog .home-blog-featured .swiper-blog .swiper-slide {
	width: 265px !important;
	height: auto;
	flex-shrink: 0;
}

body.home-blog .home-blog-featured .swiper-blog .home-blog-card {
	max-width: 265px;
	width: 265px;
}

body.home-blog .home-blog-featured .referencias-blog-texto {
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	color: #151515;
	text-align: center;
	margin: 18px 0 0;
}

/* ── Card-Blog (compartida swiper + grid) ── */
body.home-blog .home-blog-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: 100%;
	max-width: 265px;
	color: inherit;
	background: transparent;
	text-decoration: none;
}

body.home-blog .home-blog-card:hover {
	color: inherit;
	text-decoration: none;
}

body.home-blog .home-blog-card__image {
	position: relative;
	width: 100%;
	height: 142px;
	border-radius: 4px;
	overflow: hidden;
	flex-shrink: 0;
}

body.home-blog .home-blog-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

body.home-blog .home-blog-card__badge {
	position: absolute;
	top: 8px;
	right: 8px;
	background: #ffffff;
	border-radius: 4px;
	padding: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
}

body.home-blog .home-blog-card__badge img {
	width: 24px;
	height: 24px;
	display: block;
}

body.home-blog .home-blog-card__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	padding-top: 16px;
	width: 100%;
}

body.home-blog .home-blog-card__tags-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 8px;
	width: 100%;
}

body.home-blog .home-blog-card__tag {
	font-family: 'Inter', sans-serif;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.5;
	color: #4b4b4b;
	text-transform: uppercase;
	white-space: nowrap;
}

body.home-blog .home-blog-card__tag-dot {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: #4b4b4b;
	flex-shrink: 0;
}

body.home-blog .home-blog-card__title {
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	color: #151515;
	margin: 0;
	width: 100%;
	transition: color 0.3s ease;
}

body.home-blog .home-blog-card:hover .home-blog-card__title {
	color: var(--orange-color);
}

body.home-blog .home-blog-card__desc {
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	color: #4b4b4b;
	margin: 0;
	width: 100%;
}

/* ── Grid "Descubre todo nuestro contenido" ── */
body.home-blog .home-blog-grid-section {
	width: 100%;
	max-width: none;
	padding: 32px var(--home-blog-gutter-x);
	padding-top: 0;
	box-sizing: border-box;
}

body.home-blog .home-blog-grid-section .home-blog-content,
body.home-blog .home-blog-grid-section.home-blog-content {
	max-width: var(--home-blog-content-width);
	margin-left: auto;
	margin-right: auto;
	padding-left: 0;
	padding-right: 0;
}

body.home-blog .home-blog-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 32px 20px;
	width: 100%;
	max-width: var(--home-blog-content-width);
}

body.home-blog .home-blog-grid__item {
	flex: 0 0 265px;
	width: 265px;
	max-width: 265px;
	min-width: 0;
	padding: 0;
}

body.home-blog .home-blog-grid .home-blog-card {
	max-width: 100%;
	width: 100%;
}

body.home-blog .home-blog-grid-section__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 53px;
}

body.home-blog .home-blog-grid-section__title {
	font-family: 'Inter', sans-serif;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
	color: #151515;
	margin: 0;
	text-align: left;
}

body.home-blog .home-blog-grid-section__title-accent {
	color: #ff4e00;
}

body.home-blog .home-blog-grid-section .ordenar-contenedor {
	width: 265px;
	flex-shrink: 0;
}

body.home-blog .home-blog-grid-section .ordenar-label {
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	color: #4b4b4b;
	margin-bottom: 8px;
}

body.home-blog .home-blog-grid-section .custom-select-wrapper--ordenar {
	position: relative;
	width: 100%;
}

body.home-blog .home-blog-grid-section .custom-select-wrapper--ordenar .custom-select-trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	width: 100%;
	box-sizing: border-box;
	height: 56px;
	padding: 16px;
	border: 1px solid #c6c5c5;
	border-radius: 8px;
	background-color: #ffffff;
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	color: #959595;
	cursor: pointer;
}

body.home-blog .home-blog-grid-section .custom-select-wrapper--ordenar .custom-select-trigger img {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	transition: transform 0.2s ease;
}

body.home-blog .home-blog-grid-section .custom-select-wrapper--ordenar.open .custom-select-trigger img {
	transform: rotate(180deg);
}

/* Panel de opciones — spec Figma 11051:20752 */
body.home-blog .home-blog-grid-section .custom-select-wrapper--ordenar .custom-options {
	background: #F0EFED !important;
	border-radius: 8px !important;
	padding: 16px 32px !important;
	gap: 8px !important;
	box-shadow: none !important;
}

body.home-blog .home-blog-grid-section .custom-select-wrapper--ordenar .custom-option {
	background: transparent !important;
	padding: 8px 0 !important;
	font-size: 16px !important;
	color: #959595 !important;
}

body.home-blog .home-blog-grid-section .custom-select-wrapper--ordenar .custom-option:hover {
	background: transparent !important;
	color: #151515 !important;
}

/* Paginación de "Descubre todo nuestro contenido" — Figma 11051:20880 */
body.home-blog .home-blog-grid-pagination {
	gap: 8px;
	align-items: center;
	justify-content: flex-start;
	margin-top: 24px;
}

body.home-blog .home-blog-grid-pagination__page {
	width: 32px;
	height: 32px;
	border-radius: 30px;
	background-color: #ffffff;
	border: 1px solid #c6c5c5;
	color: #4b4b4b;
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	cursor: pointer;
	padding: 0;
}

body.home-blog .home-blog-grid-pagination__page.active {
	background-color: #ff4e00;
	border-color: #ff4e00;
	color: #ffffff;
}

/* Divisor bajo la paginación — solo mobile (Figma 11051:20881) */
body.home-blog .home-blog-grid-divider {
	display: none;
}

body.home-blog .home-blog-grid-section .referencias-blog-texto {
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	color: #151515;
	text-align: center;
	margin: 28px 0 0;
}

/* ── Secciones con gutter lateral uniforme ── */
body.home-blog .home-blog-section {
	padding-left: var(--home-blog-gutter-x);
	padding-right: var(--home-blog-gutter-x);
	box-sizing: border-box;
}

body.home-blog #mensaje-sin-resultados {
	padding: 3em var(--home-blog-gutter-x);
	box-sizing: border-box;
	max-width: 1120px;
    width: 100%;
}

body.home-blog #mensaje-sin-resultados > p,
body.home-blog #mensaje-sin-resultados > button,
body.home-blog #mensaje-sin-resultados > a {
	max-width: var(--home-blog-content-width);
	margin-left: auto;
	margin-right: auto;
}

/* ── Banner test ── */
body.home-blog .banner-test-herpes {
	width: 100%;
	max-width: var(--home-blog-content-width);
	margin: 0 auto;
}

/* ── Descarga calendarios ── */
body.home-blog .descarga-section-body {
	background-color: #FFEDD3;
	padding: 32px var(--home-blog-gutter-x);
	box-sizing: border-box;
}

body.home-blog .descarga-section-body .home-blog-content {
	max-width: var(--home-blog-content-width);
	margin-left: auto;
	margin-right: auto;
}

/* ── Recomendaciones ── */
body.home-blog .recomendaciones-section .home-blog-content {
	max-width: var(--home-blog-content-width);
	margin-left: auto;
	margin-right: auto;
}

/* Colores exactos de Figma 11051:20882 */
body.home-blog .recomendacion-card-orange {
	background-color: #FF5500;
}

body.home-blog .recomendacion-card-lightorange {
	background-color: #FFB96D;
}

body.home-blog .recomendacion-card-brown {
	background-color: #461104;
}

.recomendacion-btn-white {
	font-size: 14px;
}

/* Hover botón secundario (Ver las vacunas recomendadas / Conocer enfermedades) */
body.home-blog .recomendacion-btn-white {
	border: 1px solid #C6C5C5;
}

body.home-blog .recomendacion-btn-white:hover {
	border-color: #FF4E00;
}

/* Hover botón secundario (Descúbrelo aquí) */
body.home-blog .banner-test-herpes-btn:hover {
	background: #ffffff;
	border-color: #FF4E00;
}

/* Hover botón primario (¿Dónde vacunarme?) */
body.home-blog .recomendacion-btn-orange {
	background-color: #FF4E00;
}

body.home-blog .recomendacion-btn-orange:hover {
	background-color: #FF7900;
}

/* Font-size scopeado a home-blog para el botón ¿Dónde vacunarme? */
body.home-blog .btnvacunarme {
	font-size: 14px;
}

body.home-blog .descarga-section-body .descarga-titulo {
	font-family: 'Inter', sans-serif;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
	color: #151515;
	margin-bottom: 40px !important;
}

body.home-blog .descarga-section-body .descarga-titulo__accent {
	color: #FF4E00;
}

body.home-blog .descarga-section-body #descarga-cards,
body.home-blog .home-blog-descarga-cards {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 20px;
}

body.home-blog .descarga-card-col {
	flex: 0 0 265px;
	width: 265px;
	max-width: 265px;
	min-width: 0;
	padding: 0 !important;
}

/* Card de descarga — spec Figma 15663:64847 */
body.home-blog .descarga-card-body {
	border: none;
}

body.home-blog .descarga-card-tags {
	font-size: 12px;
	color: #959595;
}

body.home-blog .descarga-card-link {
	color: #FF4E00;
	position: relative;
	padding-bottom: 6px;
	align-self: flex-start;
}

body.home-blog .descarga-card-link::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 1px;
	background-color: #FF4E00;
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.3s ease-out;
}

body.home-blog .descarga-card-link:hover {
	text-decoration: none;
}

body.home-blog .descarga-card-link:hover::after {
	transform: scaleX(1);
}

body.home-blog .descarga-icon {
	top: auto;
	bottom: 8px;
	right: 8px;
	width: 32px;
	height: 32px;
	background-color: #FF4E00;
	border-radius: 4px;
}

body.home-blog .descarga-icon img {
	width: 24px;
	height: 24px;
	padding-top: 0;
}

/* ── Mobile pagination swiper ── */
body.home-blog .home-blog-featured .mobile-pagination {
	display: none;
	justify-content: center;
	align-items: center;
	gap: 4px;
	margin-top: 16px;
	padding: 0;
	width: 100%;
}

body.home-blog .home-blog-featured .mobile-pagination.swiper-pagination-lock {
	display: none !important;
}

body.home-blog .home-blog-featured .mobile-pagination:not(.swiper-pagination-lock) {
	display: flex;
}

body.home-blog .home-blog-featured .mobile-pagination .swiper-pagination-bullet {
	flex: 0 0 38px;
	width: 38px !important;
	max-width: 38px;
	height: 6px !important;
	border-radius: 100px !important;
	background-color: #ff4e00 !important;
	opacity: 0.3 !important;
	margin: 0 !important;
}

body.home-blog .home-blog-featured .mobile-pagination .swiper-pagination-bullet-active {
	opacity: 1 !important;
}

/* ── Tablet ── */
@media screen and (max-width: 1199.98px) {
	body.home-blog {
		--home-blog-gutter-x: 40px;
	}

	body.home-blog .blog-filtros-titulo {
		font-size: 32px;
	}

	body.home-blog .blog-filtros-desc,
	body.home-blog .blog-filtros-subtitulo {
		font-size: 16px;
	}

	body.home-blog .home-blog-grid__item,
	body.home-blog .descarga-section-body .descarga-card-col {
		flex: 0 0 calc((100% - 20px) / 2);
		width: calc((100% - 20px) / 2);
		max-width: none;
	}

	/* Sin diseño de referencia para tablet: 2 columnas en vez de 3 en fila
	   (Bootstrap .col-md-4), para que el texto de cada card no quede apretado */
	body.home-blog .recomendaciones-section .col-md-4 {
		flex: 0 0 50%;
		max-width: 50%;
	}

	body.home-blog .home-blog-featured .swiper-blog .swiper-slide {
		width: 265px !important;
	}

	/* Filtros — mismo comportamiento colapsable en tablet y mobile */
	body.home-blog .blog-filtros-verfiltros-btn {
		display: inline-flex;
		width: 100%;
		justify-content: center;
	}

	body.home-blog .blog-filtros-panel {
		align-items: stretch;
	}

	body.home-blog .blog-filtros-barra {
		display: flex !important;
		flex-direction: column !important;
		align-items: stretch;
		box-shadow: none;
		background-color: transparent;
		padding: 0;
		gap: 15px;
		width: 100%;
		max-height: 0;
		opacity: 0;
		overflow: hidden;
		pointer-events: none;
		transition: max-height 0.3s ease, opacity 0.25s ease;
	}

	body.home-blog .blog-filtros-barra.active {
		max-height: 3000px;
		overflow: visible;
		opacity: 1;
		pointer-events: auto;
	}

	body.home-blog .blog-filtros-dropdowns {
		flex-direction: column;
		gap: 15px;
		width: 100%;
	}

	body.home-blog .blog-filtros-barra .custom-select-wrapper {
		width: 100% !important;
		flex: none;
	}

	body.home-blog .blog-filtros-barra .custom-select-trigger img {
		width: 20px;
		height: 20px;
	}

	body.home-blog .blog-filtros-btn {
		width: 100%;
		margin-top: 0.5em;
	}
}

/* ── Mobile (también aplica a tablet: mismo diseño en 768–1199.98px) ── */
@media screen and (max-width: 1199.98px) {
	body.home-blog {
		--home-blog-gutter-x: 20px;
	}

	body.home-blog .blog-filtros-titulo {
		font-size: 24px;
		text-align: center;
	}

	body.home-blog .blog-filtros-desc,
	body.home-blog .blog-filtros-subtitulo {
		text-align: center;
	}

	body.home-blog .blog-filtros-head {
		text-align: center;
	}

	body > section.home-blog-grid-section {
		padding-top: 32px !important;
	}

	body.home-blog .home-blog-featured {
		padding-top: 24px;
		padding-bottom: 24px;
	}

	body.home-blog .home-blog-featured__header {
		flex-direction: column;
		align-items: flex-start;
		margin-bottom: 16px;
	}

	body.home-blog .home-blog-featured__title {
		font-size: 18px;
	}

	body.home-blog .home-blog-featured .swiper-blog .swiper-slide {
		width: 265px !important;
	}

	/* Fade en los bordes para que las cards parcialmente visibles se sientan
	   una continuación del carrusel en vez de un corte abrupto */
	/* body.home-blog .home-blog-featured .swiper-blog {
		mask-image: linear-gradient(to right, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%);
		-webkit-mask-image: linear-gradient(to right, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%);
	} */

	/* Mismo patrón que .blog-home-section__swiper en home.css (index): full-bleed con
	   overflow visible en vez de overflow:hidden, para que el corte de la card que
	   asoma quede en el borde real de la pantalla y no en un borde interno */
	body.home-blog .home-blog-featured .swiper-blog {
		overflow: visible;
		width: auto;
		max-width: none;
		padding-left: var(--home-blog-gutter-x);
		padding-right: var(--home-blog-gutter-x);
		margin-left: calc(var(--home-blog-gutter-x) * -1);
		margin-right: calc(var(--home-blog-gutter-x) * -1);
	}

	body.home-blog .home-blog-featured .mobile-pagination .swiper-pagination-bullet {
		flex: 1 1 0;
		width: auto !important;
		max-width: none;
	}

	body.home-blog .home-blog-section.my-5 {
		margin-top: 24px !important;
		margin-bottom: 24px !important;
	}

	/* No incluido en el diseño mobile (Figma 11051:20824) */
	body.home-blog .banner-test-herpes-section {
		display: none !important;
	}

	body.home-blog .banner-test-herpes {
		padding: 32px 20px;
		min-height: 0;
		border-radius: 12px;
		gap: 24px;
		background-image: url('/images/blogcard/fondos/banner-test.png');
		background-size: cover;
		background-position: center;
		box-sizing: border-box;
	}

	body.home-blog .banner-test-herpes-content {
		gap: 20px;
		width: 100%;
	}

	body.home-blog .banner-test-herpes-title {
		font-size: 24px;
		line-height: 1.2;
		width: 100%;
		max-width: 100%;
	}

	body.home-blog .banner-test-herpes-btn {
		width: 100%;
		max-width: 100%;
		height: 50px;
		padding: 16px 24px;
		box-sizing: border-box;
	}

	body.home-blog .home-blog-grid-section__header {
		flex-direction: column;
		margin-bottom: 32px;
	}

	body.home-blog .home-blog-grid-section .ordenar-contenedor {
		width: 100%;
	}
}

/* ── Mobile puro (sin diseño de referencia; ajustado a criterio para que no
   quede todo apilado en 1 columna a lo ancho de tablet) ── */
@media screen and (max-width: 769px) {
	body.home-blog .home-blog-grid__item,
	body.home-blog .descarga-section-body .descarga-card-col {
		flex: 0 0 100%;
		width: 100%;
	}

	body.home-blog .recomendaciones-section .col-md-4 {
		flex: 0 0 100%;
		max-width: 100%;
	}

	body.home-blog .recomendaciones-section .recomendacion-btn {
		white-space: nowrap;
		padding: 0.75em 1em;
		font-size: 13px;
	}

	body.home-blog .home-blog-grid-divider {
		display: block;
		max-width: 354px;
		width: 100%;
		height: 1px;
		border: none;
		background-color: #959595;
		margin: 24px auto 0;
	}

	body.home-blog .blog-filtros-wrapper {
		padding-bottom: 0;
	}

	#limpiar-filtros {
		width: 40%;
		justify-content: center;
	}
}
