/* Clubes Rotary D4060 — frontend */
:root {
	--crd-header-offset: 0px;
}

/* Blindaje contra estilos globales del tema (resets de enlaces, cajas, etc.) */
.crd-dir,
.crd-single,
.crd-dir *,
.crd-single * {
	box-sizing: border-box;
}

.crd-dir a,
.crd-single a {
	text-decoration: none;
}

/* Algunos temas añaden padding-top a los encabezados (h1-h6) para
   compensar el scroll a anclas bajo un header fijo; eso descuadra
   verticalmente nuestros títulos respecto a sus íconos. */
.crd-dir h1,
.crd-dir h2,
.crd-dir h3,
.crd-single h1,
.crd-single h2,
.crd-single h3 {
	padding-top: 0 !important;
}

.crd-dir,
.crd-single {
	--crd-blue: #17458f;
	--crd-blue-dark: #17458f;
	--crd-pink: #d41367;
	--crd-gold: #f7a81b;
	--crd-ink: #1a2436;
	--crd-muted: #7b8699;
	--crd-border: #e6eaf2;
	font-family: 'Open Sans', system-ui, sans-serif;
	color: var(--crd-ink);
}

.crd-muted {
	color: var(--crd-muted);
	font-size: 13px;
}

/* ---- Hero directorio ---- */
.crd-hero {
	background: linear-gradient(120deg, #0f2f66 0%, #17458f 34%, #7a2280 64%, #d41367 100%);
	color: #fff;
	overflow: hidden;
	position: relative;
}

.crd-hero-foto {
	position: relative;
	background-position: center 45%;
	background-size: cover;
	background-repeat: no-repeat;
}

.crd-hero-foto::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(to right, rgba(15, 47, 102, 0.98) 0%, rgba(15, 47, 102, 0.88) 35%, rgba(15, 47, 102, 0.35) 68%, rgba(15, 47, 102, 0.05) 100%);
}

.crd-hero-inner {
	max-width: 1240px;
	margin: 0 auto;
	padding: calc(16px + var(--crd-header-offset, 0px)) 28px 84px;
	position: relative;
	z-index: 2;
}

.crd-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, .14);
	border: 1px solid rgba(255, 255, 255, .25);
	padding: 6px 14px;
	border-radius: 30px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .4px;
	text-transform: uppercase;
}

.crd-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--crd-gold);
	display: inline-block;
}

.crd-hero h1 {
	margin: 16px 0 8px;
	font-size: 40px;
	font-weight: 800;
	letter-spacing: -1px;
	max-width: 640px;
	line-height: 1.05;
	color: #fff;
}

.crd-hero p {
	margin: 0;
	font-size: 16px;
	color: rgba(255, 255, 255, .82);
	max-width: 560px;
}

.crd-hero-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 28px;
}

.crd-hstat {
	background: rgba(255, 255, 255, .12);
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 16px;
	padding: 14px 22px;
	min-width: 128px;
	display: flex;
	flex-direction: column;
	font-size: 12.5px;
	font-weight: 600;
	color: rgba(255, 255, 255, .8);
}

.crd-hstat-num {
	font-size: 32px;
	font-weight: 800;
	line-height: 1.1;
	color: #fff;
}

/* ---- Filtros ---- */
.crd-dir-body {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 24px 70px;
}

.crd-filters {
	background: #fff;
	border: 1px solid var(--crd-border);
	border-radius: 14px;
	padding: 10px 12px;
	box-shadow: 0 6px 24px rgba(16, 32, 64, .05);
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin-top: -26px;
	position: relative;
	z-index: 5;
}

.crd-search {
	flex: 1;
	min-width: 220px;
	display: flex;
	align-items: center;
	gap: 10px;
	background: #fff;
	border: 1px solid var(--crd-border);
	border-radius: 10px;
	padding: 9px 14px;
}

.crd-search input {
	border: none;
	background: none;
	outline: none;
	font: inherit;
	font-size: 14px;
	width: 100%;
	color: var(--crd-ink);
}

.crd-toggle-filters-btn {
	display: none;
}

.crd-filter-controls {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.crd-select-pill {
	border: 1px solid var(--crd-border);
	border-radius: 10px;
	background: #fff;
	position: relative;
}

.crd-select-pill select {
	-webkit-appearance: none;
	appearance: none;
	font: inherit;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--crd-ink);
	background: transparent;
	border: none;
	outline: none;
	cursor: pointer;
	padding: 9px 30px 9px 14px;
	border-radius: 10px;
}

.crd-select-pill::after {
	content: '';
	position: absolute;
	right: 12px;
	top: 50%;
	width: 8px;
	height: 8px;
	border-right: 2px solid #8893a7;
	border-bottom: 2px solid #8893a7;
	transform: translateY(-65%) rotate(45deg);
	pointer-events: none;
}

.crd-filtros-btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font: inherit;
	font-size: 13.5px;
	font-weight: 700;
	color: #5a6579;
	background: #f1f4fa;
	border: 1px solid var(--crd-border);
	border-radius: 10px;
	padding: 9px 15px;
	cursor: pointer;
	white-space: nowrap;
}

.crd-filtros-btn:hover {
	background: #e6eaf2;
}

.crd-results-bar {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin: 24px 4px 14px;
	font-size: 13px;
	font-weight: 700;
	color: #5a6579;
}

.crd-empty {
	text-align: center;
	padding: 40px;
	color: var(--crd-muted);
}

/* ---- Tarjetas ---- */
.crd-grid-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 24px;
}

.crd-card-v2 {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	position: relative;
	min-height: 410px;
	border-radius: 26px;
	overflow: hidden;
	background-color: var(--crd-blue-dark);
	background-size: cover;
	background-position: center top;
	background-repeat: no-repeat;
	text-decoration: none !important;
	box-shadow: 0 8px 24px rgba(15, 35, 70, 0.12);
	transition: transform .25s ease, box-shadow .25s ease;
}

.crd-card-v2.crd-rotaract {
	background-color: #d41367;
	border-bottom-color: var(--crd-pink);
}

.crd-card-v2:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 36px rgba(15, 35, 70, 0.22);
}

.crd-card-v2 .crd-card-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(12, 45, 96, 01) 0%, rgba(12, 45, 96, 0.5) 42%, rgba(12, 45, 96, 0) 68%, rgba(12, 45, 96, 0) 100%);
	z-index: 1;
	transition: opacity .25s ease;
}

.crd-card-v2.crd-rotaract .crd-card-overlay {
	background: linear-gradient(to top, rgba(212, 19, 103, 1) 0%, rgba(212, 19, 103, 0.5) 42%, rgba(212, 19, 103, 0) 68%, rgba(212, 19, 103, 0) 100%);
}

.crd-card-v2 .crd-card-content {
	position: relative;
	z-index: 2;
	padding: 26px 22px 22px;
	display: flex;
	flex-direction: column;
	color: #fff;
}

.crd-card-v2 .crd-card-tipo-lbl {
	font-size: 15px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.88);
	letter-spacing: .2px;
}

.crd-card-v2 .crd-card-title {
	font-size: 28px;
	font-weight: 800;
	color: #ffffff;
	letter-spacing: -0.6px;
	line-height: 1.12;
	margin: 5px 0 7px;
}

.crd-card-v2 .crd-card-lugar {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13.5px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.92);
}

.crd-card-v2 .crd-card-lugar svg {
	flex: none;
	color: rgba(255, 255, 255, 0.85);
}

.crd-card-v2 .crd-card-divider {
	display: block;
	height: 1px;
	background: rgba(255, 255, 255, 0.28);
	margin: 16px 0 14px;
}

.crd-card-v2 .crd-card-link {
	font-size: 16.5px;
	font-weight: 800;
	color: #ffffff;
	letter-spacing: -.2px;
	transition: transform .2s ease;
}

.crd-card-v2:hover .crd-card-link {
	transform: translateX(4px);
}

/* ---- Detalle ---- */
.crd-det-hero {
	background: linear-gradient(135deg, #0f2f66 0%, #17458f 55%, #2f6fd0 100%);
	padding: calc(126px + var(--crd-header-offset, 0px)) 0 126px;
	scroll-margin-top: var(--crd-header-offset, 0px);
	position: relative;
	overflow: hidden;
}

.crd-single.crd-rotaract .crd-det-hero {
	background: linear-gradient(135deg, #8f0c44 0%, #d41367 55%, #f0568f 100%);
}

.crd-det-hero-foto {
	position: relative;
	background-position: center 45%;
	background-size: cover;
	background-repeat: no-repeat;
}

.crd-det-hero-foto::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	/* background: linear-gradient(to right, rgba(15, 47, 102, 0.98) 0%, rgba(15, 47, 102, 0.88) 35%, rgba(15, 47, 102, 0.35) 68%, rgba(15, 47, 102, 0.05) 100%); */
	background: linear-gradient(to bottom, rgba(15, 47, 102, 0.15) 0%, rgba(15, 47, 102, 0.25) 25%, rgba(15, 47, 102, 1) 85%, rgba(15, 47, 102, 1) 100%);
}

.crd-single.crd-rotaract .crd-det-hero-foto::before {
	/* background: linear-gradient(to right, rgba(143, 12, 68, 0.98) 0%, rgba(143, 12, 68, 0.88) 35%, rgba(143, 12, 68, 0.35) 68%, rgba(143, 12, 68, 0.05) 100%); */
	background: linear-gradient(to bottom, rgba(143, 12, 68, 0.15) 0%, rgba(143, 12, 68, 0.25) 25%, rgba(143, 12, 68, 1) 85%, rgba(143, 12, 68, 1) 100%);
}

.crd-det-hero-inner {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 26px;
	position: relative;
	z-index: 2;
}

.crd-back {
	display: inline-flex !important;
	align-items: center;
	background: rgba(255, 255, 255, .14) !important;
	border: 1px solid rgba(255, 255, 255, .24) !important;
	border-radius: 9px !important;
	padding: 7px 13px !important;
	font-size: 12.5px !important;
	font-weight: 700 !important;
	color: #fff !important;
	text-decoration: none !important;
	margin-bottom: 20px;
}

.crd-det-badges {
	display: flex;
	gap: 9px;
	margin-bottom: 14px;
	flex-wrap: wrap;
}

.crd-det-badge {
	display: inline-flex;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .5px;
	text-transform: uppercase;
	color: #fff;
	background: rgba(255, 255, 255, .16);
	border: 1px solid rgba(255, 255, 255, .28);
	padding: 5px 12px;
	border-radius: 20px;
}

.crd-det-badge-id {
	background: var(--crd-gold);
	border-color: var(--crd-gold);
	color: #3a2800;
}

.crd-det-title-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 20px;
	flex-wrap: wrap;
}

.crd-det-hero h1 {
	margin: 0;
	font-size: 40px;
	font-weight: 800;
	letter-spacing: -1px;
	line-height: 1.05;
	color: #fff;
}

.crd-det-lugar {
	display: flex;
	align-items: center;
	gap: 7px;
	margin-top: 12px;
	font-size: 15px;
	font-weight: 600;
	color: rgba(255, 255, 255, .85);
}

.crd-det-lugar svg {
	flex: none;
}

.crd-det-contact {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex: none;
	background: #fff;
	color: var(--crd-blue) !important;
	font-size: 13.5px;
	font-weight: 800;
	padding: 10px 18px;
	border-radius: 11px;
	text-decoration: none;
}

.crd-single.crd-rotaract .crd-det-contact {
	color: var(--crd-pink) !important;
}

.crd-det-cols {
	max-width: 1120px;
	margin: -32px auto 70px;
	padding: 0 26px;
	position: relative;
	z-index: 5;
	display: grid;
	grid-template-columns: 1.55fr 1fr;
	gap: 22px;
	align-items: start;
}

.crd-det-main,
.crd-det-side {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.crd-box {
	background: #fff;
	border: 1px solid var(--crd-border);
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 6px 24px rgba(16, 32, 64, .06);
	padding-bottom: 22px;
}

.crd-box-title {
	display: flex;
	align-items: center;
	gap: 13px;
	margin: 26px 22px 18px;
}

.crd-box-title h2 {
	margin: 0 !important;
	padding: 0 !important;
	font-size: 19px;
	font-weight: 800;
	line-height: 1.2;
	color: #16233c;
	flex: 1;
}

.crd-icon-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	flex: none;
	border-radius: 10px;
	background: #fdeef4;
	color: var(--crd-pink);
}

.crd-periodo {
	font-size: 11px;
	font-weight: 700;
	color: #8893a7;
	background: #f1f4fa;
	padding: 4px 10px;
	border-radius: 8px;
	flex: none;
	align-self: center;
}

.crd-box p,
.crd-box .crd-info-grid,
.crd-reunion-grid,
.crd-noticias,
.crd-funcionarios,
.crd-redes,
.crd-eventos,
.crd-descripcion {
	margin: 0 22px;
}

.crd-descripcion {
	font-size: 14.5px;
	line-height: 1.65;
	color: #3b4861;
}

.crd-descripcion p {
	margin: 0 0 1em 0 !important;
}

.crd-descripcion p:last-child {
	margin-bottom: 0 !important;
}

.crd-descripcion img {
	max-width: 100%;
	height: auto;
	border-radius: 10px;
}

.crd-info-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px 20px;
}

.crd-info-grid small,
.crd-horario small,
.crd-sesiones small,
.crd-reunion-grid small {
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .4px;
	color: #a2abbd;
}

.crd-info-grid span {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 14.5px;
	font-weight: 700;
	color: #2c3854;
	margin-top: 3px;
	word-break: break-word;
}

.crd-field-icon {
	display: inline-flex;
	flex: none;
	color: #a2abbd;
}

.crd-reunion-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.crd-horario {
	border-left: 4px solid var(--crd-blue);
	background: #f5f7fb;
	border-radius: 0 12px 12px 0;
	padding: 12px 16px;
}

.crd-single.crd-rotaract .crd-horario {
	border-left-color: var(--crd-pink);
}

.crd-horario strong {
	display: block;
	font-size: 18px;
	font-weight: 800;
	color: #16233c;
	margin: 3px 0 5px;
}

.crd-horario span {
	font-size: 12.5px;
	font-weight: 600;
	color: #5a6579;
}

.crd-inline-icon {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.crd-inline-icon svg {
	flex: none;
}

.crd-inline-icon-strong {
	font-size: 14.5px;
	font-weight: 700;
	color: #2c3854;
}

.crd-sesiones {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.crd-mapa {
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid var(--crd-border);
	min-height: 220px;
}

.crd-mapa iframe {
	width: 100%;
	height: 220px;
	border: 0;
	display: block;
}

.crd-mapa-link {
	align-self: flex-start;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--crd-blue);
	text-decoration: none;
}

.crd-single.crd-rotaract .crd-mapa-link {
	color: var(--crd-pink);
}

.crd-datebox {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 46px;
	height: 50px;
	border-radius: 12px;
	background: #eef3fb;
	color: var(--crd-blue);
	flex: none;
}

.crd-single.crd-rotaract .crd-datebox {
	background: #fdeef4;
	color: var(--crd-pink);
}

.crd-datebox b {
	font-size: 18px;
	font-weight: 800;
	line-height: 1;
}

.crd-datebox i {
	font-style: normal;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .5px;
}

.crd-sesion,
.crd-noticia,
.crd-evento {
	display: flex;
	gap: 13px;
	padding: 11px 0;
	border-bottom: 1px solid #f0f3f8;
	align-items: flex-start;
	font-size: 14px;
	text-decoration: none;
	color: inherit;
}

.crd-noticia:hover strong {
	color: var(--crd-blue);
}

.crd-sesion em,
.crd-noticia .crd-muted {
	font-style: normal;
}

.crd-tag-rec {
	font-style: normal;
	font-size: 10.5px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .4px;
	color: #0a7d38;
	background: #e6f6ec;
	border-radius: 6px;
	padding: 2px 7px;
}

.crd-vertodo {
	display: inline-block;
	margin: 14px 22px 0;
	font-size: 13px;
	font-weight: 800;
	color: var(--crd-blue);
	text-decoration: none;
}

.crd-redes {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.crd-red {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid #f0f3f8;
	color: inherit;
	text-decoration: none;
	min-width: 0;
}

.crd-red:last-child {
	border-bottom: none;
}

.crd-red-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	flex: none;
	border-radius: 10px;
	background: #eef3fb;
	color: var(--crd-blue);
}

.crd-single.crd-rotaract .crd-red-icon {
	background: #fdeef4;
	color: var(--crd-pink);
}

.crd-red strong {
	display: block;
	font-size: 14px;
	color: #20304d;
}

.crd-red small {
	display: block;
	font-size: 12.5px;
	font-weight: 600;
	color: #8893a7;
	margin-top: 1px;
	word-break: break-all;
	overflow-wrap: anywhere;
}

.crd-red:hover strong {
	color: var(--crd-blue);
}

.crd-single.crd-rotaract .crd-red:hover strong {
	color: var(--crd-pink);
}

.crd-func {
	display: flex;
	align-items: flex-start;
	gap: 13px;
	padding: 10px 0;
	border-bottom: 1px solid #f0f3f8;
}

.crd-func>span {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.crd-func strong {
	display: block;
	font-size: 14.5px;
	font-weight: 700;
	color: #20304d;
	line-height: 1.2;
	margin: 0;
}

.crd-func small {
	display: block;
	font-size: 11px;
	font-weight: 700;
	color: var(--crd-blue);
	line-height: 1.3;
	margin-top: 3px;
}

.crd-single.crd-rotaract .crd-func small {
	color: var(--crd-pink);
}

.crd-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	flex: none;
	border-radius: 50%;
	font-weight: 800;
	font-size: 14px;
	color: #fff;
	background: linear-gradient(135deg, #0f2f66, #2f6fd0);
}

.crd-single.crd-rotaract .crd-avatar {
	background: linear-gradient(135deg, #8f0c44, #f0568f);
}

.crd-avatar-foto {
	overflow: hidden;
	padding: 0;
}

.crd-avatar-foto img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Paginación del directorio */
.crd-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 40px;
	flex-wrap: wrap;
}

.crd-page-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 14px;
	border-radius: 10px;
	background: #fff;
	border: 1px solid var(--crd-border);
	color: #2c3854;
	font-size: 13.5px;
	font-weight: 700;
	cursor: pointer;
	transition: all .15s ease;
}

.crd-page-btn:hover:not(:disabled) {
	background: #f0f4fc;
	border-color: var(--crd-blue);
	color: var(--crd-blue);
}

.crd-page-btn.active {
	background: var(--crd-blue);
	border-color: var(--crd-blue);
	color: #fff;
	box-shadow: 0 4px 14px rgba(15, 47, 102, .2);
}

.crd-page-btn:disabled {
	opacity: .45;
	cursor: not-allowed;
}

/* ---- Estilos Adaptables y Responsivos (Móvil / Tablet) ---- */

@media (max-width: 860px) {

	.crd-hero h1,
	.crd-det-hero h1 {
		font-size: 32px;
	}

	.crd-det-cols {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 720px) {
	.crd-hero-inner {
		padding-left: 20px;
		padding-right: 20px;
		padding-bottom: 84px;
		min-height: 400px;
	}

	.crd-det-hero {
		padding-top: calc(296px + var(--crd-header-offset, 0px));
		padding-bottom: 80px;
		min-height: 380px;
	}

	.crd-hero-foto::before {
		background: linear-gradient(to bottom, rgba(15, 47, 102, 0.65) 0%, rgba(15, 47, 102, 0.40) 45%, rgba(15, 47, 102, 0.85) 100%) !important;
	}

	.crd-det-hero-foto::before {
		/* background: linear-gradient(to bottom, rgba(15, 47, 102, 0.65) 0%, rgba(15, 47, 102, 0.40) 45%, rgba(15, 47, 102, 0.85) 100%) !important; */
		background: linear-gradient(to bottom, rgba(15, 47, 102, 0.15) 0%, rgba(15, 47, 102, 0.25) 25%, rgba(15, 47, 102, 1) 85%, rgba(15, 47, 102, 1) 100%) !important;
	}

	.crd-single.crd-rotaract .crd-det-hero-foto::before {
		/* background: linear-gradient(to bottom, rgba(143, 12, 68, 0.65) 0%, rgba(143, 12, 68, 0.40) 45%, rgba(143, 12, 68, 0.85) 100%) !important; */
		background: linear-gradient(to bottom, rgba(143, 12, 68, 0.15) 0%, rgba(143, 12, 68, 0.25) 25%, rgba(143, 12, 68, 1) 85%, rgba(143, 12, 68, 1) 100%) !important;
	}

	.crd-hero-foto {
		background-position: center top !important;
		background-size: cover !important;
	}

	.crd-det-hero-foto {
		background-position: center top !important;
		background-size: cover !important;
	}

	.crd-hero-foto h1,
	.crd-hero-foto p,
	.crd-hero-foto .crd-hero-badge,
	.crd-det-hero-foto h1,
	.crd-det-hero-foto .crd-det-lugar,
	.crd-det-hero-foto .crd-back {
		text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
	}

	.crd-filters {
		flex-direction: column;
		align-items: stretch;
		margin-top: -20px;
		padding: 12px;
		gap: 10px;
	}

	.crd-search {
		width: 100%;
		min-width: 0;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 8px;
	}

	.crd-toggle-filters-btn {
		display: inline-flex;
		align-items: center;
		gap: 6px;
		flex: none;
		background: #f1f4fa;
		border: 1px solid var(--crd-border);
		border-radius: 20px;
		padding: 6px 14px;
		font-size: 13px;
		font-weight: 700;
		color: var(--crd-blue);
		cursor: pointer;
		white-space: nowrap;
		transition: all 0.2s ease;
	}

	.crd-toggle-filters-btn:hover,
	.crd-toggle-filters-btn.active,
	.crd-toggle-filters-btn.has-active {
		background: var(--crd-blue);
		border-color: var(--crd-blue);
		color: #ffffff;
	}

	.crd-filter-controls {
		display: none;
	}

	.crd-filter-controls.open {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 8px;
		width: 100%;
		padding-top: 10px;
		border-top: 1px dashed var(--crd-border);
	}

	.crd-select-pill {
		width: 100%;
	}

	.crd-select-pill select {
		width: 100%;
		font-size: 14px;
		padding-top: 10px;
		padding-bottom: 10px;
	}

	.crd-filtros-btn {
		grid-column: span 2;
		width: 100%;
		justify-content: center;
		padding: 10px;
		font-size: 14px;
	}

	.crd-results-bar {
		margin: 18px 0 12px;
	}

	.crd-det-title-row {
		flex-direction: column;
		align-items: stretch;
		gap: 14px;
	}

	.crd-det-contact {
		width: 100%;
		justify-content: center;
		padding: 12px;
		font-size: 14.5px;
	}
}

@media (max-width: 640px) {

	.crd-hero-inner,
	.crd-det-hero-inner,
	.crd-dir-body {
		padding-left: 16px;
		padding-right: 16px;
	}

	.crd-hero h1,
	.crd-det-hero h1 {
		font-size: 25px;
		letter-spacing: -0.4px;
	}

	.crd-hero p {
		font-size: 14px;
	}

	.crd-hero-stats {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 8px;
		margin-top: 20px;
	}

	.crd-hstat {
		min-width: 0;
		padding: 10px 6px;
		text-align: center;
		align-items: center;
		border-radius: 12px;
		font-size: 11px;
	}

	.crd-hstat-num {
		font-size: 24px;
	}

	.crd-grid-cards {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.crd-card-v2 {
		min-height: 330px;
		border-radius: 20px;
	}

	.crd-card-v2 .crd-card-content {
		padding: 20px 18px 16px;
	}

	.crd-card-v2 .crd-card-title {
		font-size: 22px;
	}

	.crd-det-cols {
		margin-top: -24px;
		padding: 0 14px;
		gap: 16px;
	}

	.crd-box {
		border-radius: 16px;
		padding-bottom: 16px;
	}

	.crd-box-title {
		margin: 18px 16px 12px;
	}

	.crd-box-title h2 {
		font-size: 17px;
	}

	.crd-box p,
	.crd-box .crd-info-grid,
	.crd-reunion-grid,
	.crd-noticias,
	.crd-funcionarios,
	.crd-redes,
	.crd-eventos,
	.crd-descripcion {
		margin: 0 16px;
	}

	.crd-reunion-grid,
	.crd-info-grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.crd-info-grid span,
	.crd-descripcion,
	.crd-red small {
		overflow-wrap: anywhere;
		word-break: break-word;
		min-width: 0;
	}

	.crd-mapa iframe {
		height: 190px;
	}

	.crd-pagination {
		gap: 6px;
		margin-top: 24px;
	}

	.crd-page-btn {
		min-width: 36px;
		height: 36px;
		padding: 0 10px;
		font-size: 12.5px;
	}
}

@media (max-width: 480px) {
	.crd-hero-stats {
		grid-template-columns: 1fr 1fr 1fr;
	}

	.crd-hstat {
		padding: 8px 4px;
	}

	.crd-hstat-num {
		font-size: 21px;
	}

	.crd-results-bar {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}

	.crd-det-badges {
		gap: 6px;
	}

	.crd-det-badge {
		font-size: 10px;
		padding: 4px 10px;
	}
}