/*
Theme Name: Campus Bassas & Ventura
Template: kadence
Description: Tema hijo de Kadence para campusbassasventura.com.
Version: 1.4.1
Text Domain: campus-bv
*/

:root {
	--bv-sun: #ffc629;
	--bv-teal: var(--global-palette1);
	--bv-deep: var(--global-palette2);
	--bv-ink: var(--global-palette3);
	--bv-radius: 14px;
}

/* ---------- Tipografía ---------- */
h1, h2, h3, h4,
.bv-display {
	text-transform: uppercase;
	letter-spacing: .01em;
	line-height: 1.05;
}
.bv-eyebrow {
	display: inline-block;
	font-family: var(--global-heading-font-family);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .12em;
	font-size: .85rem;
	color: var(--bv-teal);
	margin-bottom: .5rem;
}
.has-palette-9-color .bv-eyebrow,
.bv-dark .bv-eyebrow { color: var(--bv-sun); }

/* Barra amarilla bajo los títulos de sección */
.bv-bar::after {
	content: "";
	display: block;
	width: 56px;
	height: 5px;
	margin-top: .6em;
	border-radius: 3px;
	background: var(--bv-sun);
}
.has-text-align-center.bv-bar::after { margin-left: auto; margin-right: auto; }

/* ---------- Cabecera ---------- */
#masthead .site-branding img { max-height: 64px; width: auto; }
.header-navigation .menu > li.bv-menu-button > a {
	background: var(--bv-sun);
	color: var(--bv-ink) !important;
	border-radius: 999px;
	padding: .55em 1.3em !important;
	margin-left: .6em;
}
.header-navigation .menu > li.bv-menu-button > a:hover { background: #ffd65c; }
.header-navigation .menu > li.lang-item > a { font-weight: 700; opacity: .7; }
.header-navigation .menu > li.lang-item.current-lang > a { opacity: 1; color: var(--bv-teal); }

/* ---------- Portada ---------- */
.bv-hero.wp-block-cover { min-height: min(92vh, 860px); }
.bv-hero .bv-hero__date {
	display: inline-block;
	background: var(--bv-sun);
	color: var(--bv-ink);
	font-family: var(--global-heading-font-family);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	padding: .35em .9em;
	border-radius: 999px;
	margin-bottom: 1rem;
}
.bv-hero h1 {
	font-size: clamp(3rem, 9vw, 8.5rem);
	line-height: .9;
	margin: 0;
}
.bv-hero h1 .bv-accent { color: var(--bv-sun); }
.bv-hero .bv-hero__claim {
	font-size: clamp(1.1rem, 2vw, 1.5rem);
	max-width: 36em;
}
.bv-hero__tag {
	font-family: var(--global-heading-font-family);
	font-weight: 300;
	font-size: clamp(1.5rem, 4vw, 3rem);
	opacity: .85;
	margin-top: 2rem;
}

/* ---------- Botones ---------- */
.wp-block-button__link,
.button {
	border-radius: 999px;
	font-family: var(--global-heading-font-family);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	padding: .8em 1.8em;
}
.wp-block-button.is-style-bv-sun .wp-block-button__link,
.wp-block-button.bv-sun .wp-block-button__link {
	background: var(--bv-sun);
	color: var(--bv-ink);
}
.wp-block-button.is-style-outline .wp-block-button__link { border-width: 2px; }

/* ---------- Tarjetas y datos ---------- */
.bv-card {
	border-radius: var(--bv-radius);
	overflow: hidden;
}
.bv-facts {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.bv-fact {
	background: #fff;
	border-radius: var(--bv-radius);
	padding: 1.4rem;
	border-top: 5px solid var(--bv-sun);
	box-shadow: 0 10px 30px rgba(13, 63, 68, .08);
}
.bv-fact strong {
	display: block;
	font-family: var(--global-heading-font-family);
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--bv-teal);
	margin-bottom: .3rem;
}
.bv-checklist { list-style: none; padding-left: 0; }
.bv-checklist li { padding-left: 1.8em; position: relative; margin-bottom: .45em; }
.bv-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .35em;
	width: 1.05em;
	height: 1.05em;
	border-radius: 50%;
	background: var(--bv-sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%230f1a1c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat;
}

/* Jugadores */
.bv-player img { object-fit: cover; width: 100%; }
.bv-player .bv-stats {
	font-family: var(--global-heading-font-family);
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--bv-teal);
}
.bv-career { columns: 1; font-size: .95rem; }
.bv-career li { break-inside: avoid; }

/* Patrocinadores */
.bv-sponsors.wp-block-gallery { align-items: center; justify-content: center; }
.bv-sponsors.wp-block-gallery .wp-block-image img {
	max-height: 70px;
	width: auto !important;
	object-fit: contain !important;
	filter: grayscale(1);
	opacity: .75;
	transition: filter .2s, opacity .2s;
}
.bv-sponsors.wp-block-gallery .wp-block-image:hover img { filter: none; opacity: 1; }
.bv-sponsors.wp-block-gallery.has-nested-images figure.wp-block-image { flex-grow: 0; }

/* Cuenta atrás */
.bv-countdown { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.bv-countdown__item {
	min-width: 96px;
	background: rgba(255, 255, 255, .1);
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: var(--bv-radius);
	padding: .8rem .6rem;
	text-align: center;
}
.bv-countdown__num {
	display: block;
	font-family: var(--global-heading-font-family);
	font-size: 2.8rem;
	font-weight: 800;
	line-height: 1;
	color: var(--bv-sun);
}
.bv-countdown__label { text-transform: uppercase; font-size: .75rem; letter-spacing: .12em; }

/* Galerías por días (desplegables) */
.bv-days .wp-block-details {
	background: #fff;
	border-radius: var(--bv-radius);
	padding: .9rem 1.2rem;
	margin-bottom: .8rem;
	box-shadow: 0 6px 20px rgba(13, 63, 68, .06);
}
.bv-days .wp-block-details summary {
	font-family: var(--global-heading-font-family);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	font-size: 1.2rem;
	cursor: pointer;
}
.bv-days .wp-block-details[open] summary { margin-bottom: 1rem; color: var(--bv-teal); }

/* Mapa */
.bv-map iframe { width: 100%; height: 420px; border: 0; border-radius: var(--bv-radius); }

/* Formularios (Contact Form 7) */
.wpcf7 input:not([type=submit]):not([type=checkbox]):not([type=radio]),
.wpcf7 textarea,
.wpcf7 select {
	width: 100%;
	border-radius: 10px;
	border: 1px solid var(--global-palette7);
	padding: .75em 1em;
}
.wpcf7 input[type=submit] {
	border-radius: 999px;
	background: var(--bv-teal);
	color: #fff;
	font-family: var(--global-heading-font-family);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	padding: .8em 2em;
}

/* Pie */
.site-footer a { text-decoration: none; }
.site-footer .bv-footer-logo img { max-width: 120px; }

@media (max-width: 767px) {
	.bv-countdown__item { min-width: 70px; }
	.bv-countdown__num { font-size: 2rem; }
	.bv-map iframe { height: 300px; }
}

/* ---------- Secciones ---------- */
.bv-section { padding-top: clamp(3.5rem, 8vw, 6.5rem); padding-bottom: clamp(3.5rem, 8vw, 6.5rem); }
.bv-section.bv-tight { padding-top: clamp(2rem, 4vw, 3rem); padding-bottom: clamp(2rem, 4vw, 3rem); }
.bv-paper { background: var(--global-palette8); }
.bv-dark { background: var(--bv-deep); color: rgba(255, 255, 255, .88); }
.bv-dark h1, .bv-dark h2, .bv-dark h3, .bv-dark h4 { color: #fff; }
.bv-dark a:not(.wp-block-button__link) { color: var(--bv-sun); }
.bv-sunband { background: var(--bv-sun); color: var(--bv-ink); }
.bv-sunband h2 { color: var(--bv-ink); }
.bv-sunband .wp-block-button__link { background: var(--bv-ink); color: #fff; }
.bv-dark .wp-block-button.is-style-outline .wp-block-button__link,
.bv-hero .wp-block-button.is-style-outline .wp-block-button__link { color: #fff; border-color: #fff; }
.bv-lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); }
.bv-muted { color: var(--global-palette5); }

/* Cabeceras de página interiores */
.bv-pagehead.wp-block-cover { min-height: 340px; }
.bv-pagehead h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.5rem); margin: 0; }

/* Bloques de información */
.bv-card-white {
	background: #fff;
	border-radius: var(--bv-radius);
	padding: clamp(1.4rem, 3vw, 2.2rem);
	box-shadow: 0 10px 30px rgba(13, 63, 68, .08);
	height: 100%;
}
.bv-dark .bv-card-white { color: var(--global-palette4); }
.bv-card-white h3 { margin-top: 0; }
.bv-card-white.bv-accent-top { border-top: 5px solid var(--bv-sun); }
.wp-block-column > .bv-card-white { height: 100%; }
.bv-linkcard .wp-block-cover { border-radius: var(--bv-radius); min-height: 300px; }
.bv-linkcard .wp-block-cover h3 { color: #fff; }

/* Galerías: miniaturas cuadradas */
.bv-photos.wp-block-gallery.has-nested-images figure.wp-block-image img { aspect-ratio: 1; object-fit: cover; border-radius: 8px; }

/* Texto sobre imágenes (bloque Portada) */
.wp-block-cover h1, .wp-block-cover h2, .wp-block-cover h3, .wp-block-cover p { color: #fff; }
.wp-block-cover .bv-hero__date { color: var(--bv-ink); }

/* Ancho del contenido dentro de secciones y portadas a todo el ancho */
.bv-section,
.wp-block-cover.alignfull {
	padding-left: var(--global-content-edge-padding, 1.5rem);
	padding-right: var(--global-content-edge-padding, 1.5rem);
}
.bv-section > *,
.wp-block-cover.alignfull > .wp-block-cover__inner-container > * {
	max-width: var(--global-content-width, 1240px);
	margin-left: auto !important;
	margin-right: auto !important;
}
.wp-block-cover.alignfull > .wp-block-cover__inner-container { width: 100%; }
.bv-section > .wp-block-paragraph.bv-lead.has-text-align-center,
.bv-section > p.has-text-align-center { max-width: 760px; }

/* Fotos de jugadores más contenidas */
.bv-player .wp-block-image { max-width: 300px; }
.bv-player .wp-block-image img { aspect-ratio: 1; border-radius: 50%; border: 6px solid var(--bv-sun); }

.bv-eyebrow { margin-bottom: .25rem !important; }
.bv-eyebrow + .wp-block-heading { margin-top: 0 !important; }
.bv-section > .has-text-align-center:not(.wp-block-heading) { max-width: 760px; }
.has-text-align-center.bv-bar::after { margin-left: auto; margin-right: auto; }

/* Sin huecos entre secciones a todo el ancho */
.entry-content > .alignfull { margin-top: 0; margin-bottom: 0; }
.site-footer .widget h4, .site-footer .widget-title { color: var(--bv-sun); }
.bv-section h2:not(:first-child) { margin-top: 2.2rem; }

/* Cuenta atrás en una sola fila en el móvil */
@media (max-width: 767px) {
	.bv-countdown { gap: .5rem; flex-wrap: nowrap; }
	.bv-countdown__item { min-width: 0; flex: 1 1 0; padding: .6rem .3rem; }
	.bv-countdown__label { font-size: .65rem; letter-spacing: .06em; }
}

/* ---------- Galería [bv_galeria] ---------- */
.bv-gal { --bv-gal-paper: var(--global-palette8, #F5F3EE); --bv-gal-line: var(--global-palette7, #E6E1D6); --bv-gal-fb: #1877F2; background: var(--bv-gal-paper); color: var(--bv-ink); }
.bv-gal [hidden] { display: none !important; }
.bv-gal__wrap { max-width: var(--global-content-width, 1240px); margin: 0 auto; padding-left: var(--global-content-edge-padding, 1.5rem); padding-right: var(--global-content-edge-padding, 1.5rem); }
.bv-gal h1, .bv-gal h2, .bv-gal h3 { margin: 0; line-height: 1.02; text-wrap: balance; text-transform: uppercase; }
.bv-gal__eyebrow { font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bv-sun); margin: 0 0 .3rem; }

.bv-gal__head { position: relative; overflow: hidden; background: var(--bv-deep); color: #fff; padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.bv-gal__strip { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(7, 1fr); opacity: .22; }
.bv-gal__strip img { width: 100%; height: 100%; object-fit: cover; }
.bv-gal__headin { position: relative; display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: flex-end; justify-content: space-between; }
.bv-gal__head h1 { color: #fff; font-size: clamp(2.8rem, 8vw, 5rem); }
.bv-gal__stats { display: flex; gap: 1.75rem; font-variant-numeric: tabular-nums; }
.bv-gal__stats b { display: block; font-family: var(--global-heading-font-family); font-weight: 800; font-size: 2.2rem; line-height: 1; color: var(--bv-sun); }
.bv-gal__stats span { font-size: .85rem; opacity: .85; }

.bv-gal__fb { background: #fff; border-bottom: 1px solid var(--bv-gal-line); }
.bv-gal__fbin { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; align-items: center; padding-top: 1rem; padding-bottom: 1rem; }
.bv-gal__fbin p { margin: 0; flex: 1 1 280px; min-width: 0; }
.bv-gal__fbin strong { display: block; font-family: var(--global-heading-font-family); font-size: 1.3rem; line-height: 1.15; }
.bv-gal__btn { display: inline-flex; align-items: center; gap: .5rem; border: 0; cursor: pointer; text-decoration: none !important; font-weight: 600; font-size: .95rem; line-height: 1.2; padding: .7rem 1.15rem; border-radius: 999px; }
.bv-gal__btn svg { width: 18px; height: 18px; fill: currentColor; }
.bv-gal__btn--fb, .bv-gal__btn--fb:hover { background: var(--bv-gal-fb); color: #fff !important; }
.bv-gal__btn--ig { background: transparent; color: var(--bv-ink) !important; box-shadow: inset 0 0 0 2px var(--bv-gal-line); }
.bv-gal__btn--sun { background: var(--bv-sun); color: var(--bv-ink); }
.bv-gal__btn:hover { filter: brightness(1.06); }
.bv-gal button:focus-visible, .bv-gal a:focus-visible { outline: 3px solid var(--bv-sun); outline-offset: 2px; }

.bv-gal__filters { position: sticky; top: 0; z-index: 5; background: var(--bv-gal-paper); border-bottom: 1px solid var(--bv-gal-line); }
.bv-gal__filters .bv-gal__wrap { display: grid; gap: .6rem; padding-top: .75rem; padding-bottom: .75rem; }
.bv-gal__row { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; }
.bv-gal__row::-webkit-scrollbar { display: none; }
.bv-gal__chip { flex: none; border: 0; cursor: pointer; font-weight: 600; font-size: .9rem; line-height: 1.2; padding: .5rem .9rem; border-radius: 999px; background: #fff; color: var(--bv-ink); box-shadow: inset 0 0 0 1px var(--bv-gal-line); }
.bv-gal__chip:hover { background: #fff; color: var(--bv-teal); }
.bv-gal__chip[aria-pressed="true"] { background: var(--bv-teal); color: #fff; box-shadow: none; }
.bv-gal__chip small { font-weight: 500; opacity: .7; margin-left: .3rem; }
.bv-gal__years .bv-gal__chip { font-family: var(--global-heading-font-family); font-weight: 700; font-size: 1.1rem; padding: .5rem 1.1rem; }
.bv-gal__years .bv-gal__chip[aria-pressed="true"] { background: var(--bv-deep); color: var(--bv-sun); }

.bv-gal__main { padding-top: 1.5rem; padding-bottom: clamp(3rem, 6vw, 5rem); }
.bv-gal__count { color: var(--global-palette5, #4A5759); font-size: .9rem; margin: 0 0 .9rem; }
.bv-gal__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); grid-auto-rows: 150px; grid-auto-flow: dense; gap: 8px; }
.bv-gal__tile { position: relative; border: 0; padding: 0; cursor: zoom-in; border-radius: 10px; overflow: hidden; background: var(--bv-gal-line); animation: bv-gal-pop .35s ease both; }
.bv-gal__tile.is-big { grid-column: span 2; grid-row: span 2; }
.bv-gal__tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.bv-gal__tile:hover img { transform: scale(1.05); }
.bv-gal__tag { position: absolute; left: 8px; bottom: 8px; background: rgba(13, 63, 68, .85); color: #fff; font-size: .72rem; font-weight: 600; padding: 3px 8px; border-radius: 999px; opacity: 0; transition: opacity .2s; }
.bv-gal__tile:hover .bv-gal__tag, .bv-gal__tile:focus-visible .bv-gal__tag { opacity: 1; }
@keyframes bv-gal-pop { from { opacity: .3; transform: scale(.97); } to { opacity: 1; transform: none; } }
.bv-gal__more { display: flex; justify-content: center; margin-top: 1.4rem; }

.bv-gal__card { margin-top: 2.5rem; border-radius: var(--bv-radius); background: var(--bv-deep); color: rgba(255, 255, 255, .9); display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden; }
.bv-gal__cardtxt { padding: clamp(1.4rem, 3vw, 2rem); display: grid; gap: .8rem; align-content: center; min-width: 0; }
.bv-gal__card h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.bv-gal__card p { margin: 0; max-width: 46ch; }
.bv-gal__btns { display: flex; flex-wrap: wrap; gap: .6rem; }
.bv-gal__card .bv-gal__btn--ig { color: #fff !important; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35); }
.bv-gal__cardpics { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; min-height: 220px; }
.bv-gal__cardpics img { width: 100%; height: 100%; object-fit: cover; }

.bv-gal__lb { position: fixed; inset: 0; z-index: 2147483000; background: #0B1213; color: #fff; display: grid; grid-template-rows: auto 1fr auto; }
.bv-gal__lbtop { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: calc(10px + env(safe-area-inset-top, 0px)) 16px 10px; font-size: .9rem; }
.bv-gal__lbtop b { font-family: var(--global-heading-font-family); font-size: 1.2rem; }
.bv-gal__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 16px; touch-action: pan-y; }
.bv-gal__stage > img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.bv-gal__lb button { border: 0; cursor: pointer; background: rgba(255, 255, 255, .12); color: #fff; border-radius: 999px; width: 46px; height: 46px; padding: 0; font-size: 1.4rem; line-height: 1; }
.bv-gal__lb button:hover { background: rgba(255, 255, 255, .22); }
.bv-gal__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.bv-gal__nav--prev { left: 16px; }
.bv-gal__nav--next { right: 16px; }
.bv-gal__end { text-align: center; display: grid; gap: .9rem; justify-items: center; max-width: 420px; }
.bv-gal__end h3 { color: #fff; font-size: 2rem; }
.bv-gal__end p { margin: 0; }
.bv-gal__thumbs { display: flex; gap: 6px; overflow-x: auto; padding: 10px 16px calc(12px + env(safe-area-inset-bottom, 0px)); scrollbar-width: none; }
.bv-gal__thumbs img { width: 64px; height: 44px; object-fit: cover; border-radius: 4px; opacity: .45; cursor: pointer; flex: none; }
.bv-gal__thumbs img.is-on { opacity: 1; outline: 2px solid var(--bv-sun); }
html.bv-gal-lock { overflow: hidden; }
html.bv-gal-lock .qlwapp, html.bv-gal-lock #qlwapp { display: none !important; }

@media (max-width: 640px) {
	.bv-gal__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
	.bv-gal__card { grid-template-columns: 1fr; }
	.bv-gal__cardpics { min-height: 180px; }
	.bv-gal__nav { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.bv-gal__tile, .bv-gal__tile img { animation: none; transition: none; }
}
.bv-sunband .wp-block-button.is-style-outline .wp-block-button__link { color: var(--bv-ink); border-color: var(--bv-ink); }

/* ---------- Fotos a Facebook [bv_fotos_facebook] ---------- */
.bv-fbp { --bv-fbp-fb: #1877F2; background: var(--global-palette8, #F5F3EE); color: var(--bv-ink); }
.bv-fbp__wrap { max-width: var(--global-content-width, 1240px); margin: 0 auto; padding-left: var(--global-content-edge-padding, 1.5rem); padding-right: var(--global-content-edge-padding, 1.5rem); }
.bv-fbp__head { background: var(--bv-deep); color: rgba(255, 255, 255, .88); padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(4.5rem, 9vw, 6.5rem); }
.bv-fbp__eyebrow { font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bv-sun); margin: 0 0 .3rem; }
.bv-fbp__head h1 { color: #fff; font-size: clamp(2.8rem, 8vw, 5rem); line-height: 1; margin: 0; text-transform: uppercase; }
.bv-fbp__lead { font-size: clamp(1.05rem, 2vw, 1.25rem); margin: .8rem 0 0; max-width: 40ch; }
.bv-fbp__main { margin-top: clamp(-3.5rem, -6vw, -2.5rem); padding-bottom: clamp(3rem, 6vw, 5rem); display: grid; gap: 1rem; }
.bv-fbp a { text-decoration: none; }
.bv-fbp a:focus-visible { outline: 3px solid var(--bv-sun); outline-offset: 3px; }

.bv-fbp__hero { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; gap: clamp(1.2rem, 3vw, 2.2rem); align-items: center; padding: clamp(1.5rem, 4vw, 2.75rem); border-radius: var(--bv-radius); background: var(--bv-fbp-fb); color: #fff !important; box-shadow: 0 18px 40px -18px rgba(24, 119, 242, .7); transition: transform .25s ease, box-shadow .25s ease; }
.bv-fbp__hero::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .08); pointer-events: none; }
.bv-fbp__hero:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -18px rgba(24, 119, 242, .8); }
.bv-fbp__logo { width: clamp(72px, 12vw, 120px); aspect-ratio: 1; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.bv-fbp__logo svg { width: 58%; fill: var(--bv-fbp-fb); }
.bv-fbp__herotxt { display: grid; gap: .7rem; min-width: 0; }
.bv-fbp__herotxt strong { font-family: var(--global-heading-font-family); font-size: clamp(1.8rem, 4.5vw, 2.8rem); line-height: 1.02; text-transform: uppercase; }
.bv-fbp__herotxt > span:nth-child(2) { max-width: 52ch; opacity: .92; }
.bv-fbp__stats { display: flex; flex-wrap: wrap; gap: .5rem; }
.bv-fbp__stats > span { background: rgba(255, 255, 255, .15); border-radius: 999px; padding: .3rem .8rem; font-size: .9rem; }
.bv-fbp__stats b { font-family: var(--global-heading-font-family); font-size: 1.1rem; }
.bv-fbp__cta { justify-self: start; margin-top: .4rem; background: #fff; color: var(--bv-fbp-fb); font-weight: 700; padding: .8rem 1.4rem; border-radius: 999px; }

.bv-fbp__main { grid-template-columns: 3fr 1fr; align-items: stretch; }
.bv-fbp__ig { position: relative; overflow: hidden; display: grid; align-content: center; gap: .6rem; padding: clamp(1.5rem, 3vw, 2rem); border-radius: var(--bv-radius); color: #fff !important; background: linear-gradient(45deg, #F58529 0%, #DD2A7B 45%, #8134AF 75%, #515BD4 100%); box-shadow: 0 18px 40px -18px rgba(221, 42, 123, .7); transition: transform .25s ease, box-shadow .25s ease; }
.bv-fbp__ig:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -18px rgba(221, 42, 123, .8); }
.bv-fbp__ig .bv-fbp__logo { width: 64px; }
.bv-fbp__ig .bv-fbp__logo svg { fill: #DD2A7B; }
.bv-fbp__ig strong { font-family: var(--global-heading-font-family); font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1; text-transform: uppercase; }
.bv-fbp__ig > span:not([class]) { opacity: .92; font-size: .95rem; }
.bv-fbp__handle { font-weight: 600; font-size: .9rem; overflow-wrap: anywhere; }
.bv-fbp__ig .bv-fbp__cta { color: #C1356F; }

@media (max-width: 1024px) {
	.bv-fbp__main { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.bv-fbp__hero { grid-template-columns: 1fr; }
	.bv-fbp__cta { justify-self: stretch; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .bv-fbp__hero, .bv-fbp__ig { transition: none; } }

/* Directores: tarjetas con el nombre como protagonista */
.bv-directors { background: linear-gradient(180deg, #fff 0%, #EEF5F5 100%); }
.bv-directors__title { font-size: clamp(2.2rem, 5.5vw, 3.8rem); line-height: 1; }
.bv-directors__title .bv-amp { color: var(--bv-sun); }
.bv-directors__lead { margin-left: auto; margin-right: auto; }
.wp-block-columns.bv-dcards { gap: clamp(1.5rem, 3vw, 2.5rem); margin-top: clamp(1.5rem, 4vw, 2.75rem); max-width: 1100px; margin-left: auto !important; margin-right: auto !important; }
.bv-dcard { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 22px; overflow: hidden; border: 1px solid rgba(13, 63, 68, .08); box-shadow: 0 22px 45px -24px rgba(13, 63, 68, .45); padding-bottom: 1.6rem; transition: transform .25s ease, box-shadow .25s ease; }
.bv-dcard:hover { transform: translateY(-4px); box-shadow: 0 30px 55px -24px rgba(13, 63, 68, .55); }
.bv-dcard > * { margin-left: clamp(1.25rem, 3vw, 2rem) !important; margin-right: clamp(1.25rem, 3vw, 2rem) !important; }
.bv-dcard > .bv-dcard__photo { position: relative; margin: 0 !important; max-width: none; display: flex; justify-content: center; padding-top: 2.2rem; overflow: hidden;
	background: var(--bv-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23ffffff' stroke-opacity='.08' stroke-width='1.4'%3E%3Ccircle cx='100' cy='100' r='96'/%3E%3Ccircle cx='100' cy='100' r='58'/%3E%3Ccircle cx='100' cy='100' r='22'/%3E%3Cpath d='M4 100h192M100 4v192'/%3E%3C/svg%3E") center 30% / 130% no-repeat; }
.bv-dcard__photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--bv-sun); }
.bv-dcard__photo img { display: block; width: min(270px, 70%); aspect-ratio: 1; object-fit: cover; object-position: top; border-radius: 18px 18px 0 0; }
.bv-dcard__pos { position: absolute; top: 1rem; left: 0; z-index: 1; margin-top: 0 !important; background: var(--bv-sun); color: var(--bv-ink); font-family: var(--global-heading-font-family); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; line-height: 1; padding: .45rem .8rem; border-radius: 999px; }
.bv-dcard__name { margin-top: 1.4rem !important; margin-bottom: .2rem !important; line-height: .88; text-transform: uppercase; }
.bv-dcard__first { display: block; font-size: clamp(1rem, 2vw, 1.25rem); letter-spacing: .3em; color: var(--bv-teal); margin-bottom: .35rem; }
.bv-dcard__last { display: block; font-size: clamp(3.2rem, 7vw, 5rem); font-weight: 800; color: var(--bv-ink); letter-spacing: -.005em; }
.bv-dcard__last::after { content: ""; display: block; width: 64px; height: 6px; margin-top: .9rem; border-radius: 3px; background: var(--bv-sun); }
.bv-dcard__facts { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1rem !important; }
.bv-dcard__facts span { font-family: var(--global-heading-font-family); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .95rem; color: var(--bv-deep); background: #E6F1F2; border-radius: 999px; padding: .3rem .85rem; }
.bv-dcard__now { margin-top: 1rem !important; margin-bottom: 0 !important; display: flex; align-items: center; gap: .55rem; color: var(--global-palette5); }
.bv-dcard__now::before { content: ""; flex: none; width: .6rem; height: .6rem; border-radius: 50%; background: #22a35a; box-shadow: 0 0 0 4px rgba(34, 163, 90, .18); }
.bv-dcard__now strong { color: var(--bv-ink); font-size: 1.05rem; }
.bv-dcard__intl { margin-top: .5rem !important; display: flex; align-items: center; gap: .55rem; color: var(--global-palette5); font-size: .95rem; }
.bv-dcard__intl::before { content: "★"; flex: none; width: .6rem; text-align: center; color: var(--bv-sun); font-size: 1rem; line-height: 1; text-shadow: 0 0 1px var(--bv-ink); }
.bv-dcard__career { margin-top: auto !important; padding-top: 1.2rem; }
.bv-dcard__career > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(13, 63, 68, .12); padding-top: 1rem; font-family: var(--global-heading-font-family); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--bv-teal); }
.bv-dcard__career > summary::-webkit-details-marker { display: none; }
.bv-dcard__career > summary::after { content: "+"; width: 1.8rem; height: 1.8rem; display: grid; place-items: center; border-radius: 50%; background: #E6F1F2; font-size: 1.2rem; line-height: 1; transition: transform .2s ease; }
.bv-dcard__career[open] > summary::after { transform: rotate(45deg); }
.bv-dcard__career .bv-career { list-style: none; margin: 1rem 0 0; padding: 0 0 0 1.1rem; border-left: 2px solid #E6F1F2; }
.bv-dcard__career .bv-career li { position: relative; padding: .22rem 0; }
.bv-dcard__career .bv-career li::before { content: ""; position: absolute; left: calc(-1.1rem - 5px); top: .72em; width: 8px; height: 8px; border-radius: 50%; background: #C9DCDD; }
.bv-dcard__career .bv-career li:last-child { font-weight: 700; color: var(--bv-ink); }
.bv-dcard__career .bv-career li:last-child::before { background: var(--bv-sun); box-shadow: 0 0 0 3px rgba(255, 198, 41, .3); }
@media (prefers-reduced-motion: reduce) { .bv-dcard { transition: none; } }
.bv-eyebrow.has-text-align-center { display: block; }
.bv-dcard__facts { margin-bottom: 0 !important; }
@media (max-width: 781px) {
	.bv-section.bv-directors { padding-left: 16px !important; padding-right: 16px !important; }
}

/* Portada: «Més informació» legible sobre la foto (blanco junto a «Inscriu-te»; amarillo si va solo) */
.bv-hero .wp-block-button.is-style-outline .wp-block-button__link { background: #fff; color: var(--bv-ink); border-color: #fff; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); }
.bv-hero .wp-block-button.is-style-outline:only-child .wp-block-button__link { background: var(--bv-sun); border-color: var(--bv-sun); }
.bv-hero .wp-block-button .wp-block-button__link { padding: .95em 2.1em; font-size: 1.05rem; transition: transform .2s ease, filter .2s ease; }
.bv-hero .wp-block-button .wp-block-button__link:hover,
.bv-hero .wp-block-button .wp-block-button__link:focus-visible { transform: translateY(-2px); filter: brightness(1.06); color: var(--bv-ink); }
.bv-hero .wp-block-button .wp-block-button__link:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
