/* Curso / Taller detail — a tall banner + two-column body (main 670px, blue
   "Características" card 325px) under the shared detalle hero. Plus the
   extensions the enrolment form needs (centred appointment "section" layout and
   select/date controls). Figma node 2591:2758. */

.curso { padding-bottom: 60px; } /* breathing room before the enrolment form band */
.curso__content { margin-top: clamp(40px, 6vw, 56px); }
.curso__banner { margin-bottom: clamp(40px, 6vw, 64px); }
.curso__banner img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1130 / 523;
	object-fit: cover;
	border-radius: 16px;
}

.curso__grid {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: clamp(40px, 6vw, 64px);
}
.curso__main { flex: 1 1 auto; min-width: 0; max-width: 670px; }
.curso__aside { flex: none; width: 325px; }

.curso__logo { display: block; height: 96px; width: auto; margin: 0 0 var(--space-8); }
.curso__entidades { margin-top: clamp(32px, 5vw, 48px); }
.curso__entidades-label {
	margin: 0 0 var(--space-6);
	font-size: var(--fs-sub2);
	line-height: 26px;
	font-weight: var(--fw-medium);
	color: var(--bida-blue);
}
.curso__entidades-logos { display: block; max-width: 100%; height: auto; }
.curso__share { margin-top: clamp(32px, 5vw, 48px); }

/* Blue "Características" spec card. */
.caract { background: var(--bida-blue); border-radius: 16px; padding: var(--space-8) var(--space-6) var(--space-6); color: var(--white); }
.caract__title { margin: 0 0 var(--space-12); font-size: var(--fs-h4); line-height: 30px; letter-spacing: -0.24px; font-weight: var(--fw-medium); color: var(--white); }
.caract__rows { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: var(--space-4) var(--space-6); margin: 0 0 var(--space-12); }
.caract__label { font-size: var(--fs-body); line-height: 24px; font-weight: var(--fw-medium); color: var(--neutral-200); }
.caract__value { font-size: var(--fs-body); line-height: 24px; color: var(--neutral-50); }
.caract__rule { display: block; height: 1px; background: rgba(255, 255, 255, 0.2); margin: 0 0 var(--space-10); }
.caract__btn {
	display: block;
	text-align: center;
	background: var(--neutral-50);
	color: var(--bida-blue);
	border-radius: 100px;
	padding: 8px 24px;
	font-size: var(--fs-body);
	line-height: 24px;
	font-weight: var(--fw-semibold);
	text-decoration: none;
	transition: opacity var(--dur-fast) var(--ease);
}
.caract__btn:hover { opacity: 0.9; }

@media (max-width: 860px) {
	.curso__grid { flex-direction: column; }
	.curso__aside { width: 100%; }
}

/* ---- Appointment "section" layout + select/date controls (enrolment form) ---- */
.appointment--section { padding-bottom: 0; }
.appointment__band {
	margin: 0 var(--space-2);
	background: var(--neutral-50);
	border-radius: 16px;
	padding: clamp(48px, 7vw, 96px) var(--container-pad);
}
.appointment__band-inner { width: min(900px, 100%); margin-inline: auto; }
.appointment__title--center {
	text-align: center;
	font-size: var(--fs-h2);
	line-height: var(--lh-h2);
	letter-spacing: -0.36px;
	margin: 0 0 clamp(32px, 5vw, 48px);
}
.appointment--section .appointment__privacy { text-align: center; }
.appointment--section .appointment__submit { display: block; margin-inline: auto; margin-top: var(--space-6); }
/* Collapsible variant: the centred title and its "+" form one button and the
   form drops down below (toggle styles: orientacion.css; wiring: accordion.js). */
.appointment--section .appointment__toggle { justify-content: center; text-align: center; }
.appointment--section .appointment__body { padding-top: clamp(32px, 5vw, 48px); }
.appointment--section .appointment__band-inner .appointment__intro { margin-inline: auto; text-align: center; }
/* Full course (inc/curso-aforo.php): the notice that replaces the enrolment form. */
.bida-aforo-closed {
	max-width: 560px;
	margin-inline: auto;
	padding: var(--space-8) var(--space-6);
	border-radius: 16px;
	background: var(--white);
	text-align: center;
}
.bida-aforo-closed__title {
	margin: 0 0 var(--space-2);
	font-size: var(--fs-sub1);
	line-height: var(--lh-sub1);
	font-weight: var(--fw-semibold);
	color: var(--bida-blue);
}
.bida-aforo-closed__text {
	margin: 0;
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	color: var(--color-text-muted);
}

.appointment__control { position: relative; display: block; }
.appointment__control-icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--bida-blue); pointer-events: none; }
.appointment__input--select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; }
/* Muted colour while the placeholder option is selected. */
select.appointment__input:invalid { color: rgba(28, 59, 91, 0.6); }
/* Hide the native date indicator so only our calendar icon shows. */
.appointment__control input[type="date"]::-webkit-calendar-picker-indicator { opacity: 0; }

/* ---- Krea session page (bida_krea_sesion, Figma 2953:6058) ----
   Same hero band / two-column grid / blue card as the course page; the card
   lists icon rows (time · speakers · room) instead of label/value pairs. */
/* Title band full width and flush under the header (no gutters/rounded corners). */
.krea-sesion .detalle__hero { margin: 0; border-radius: 0; padding-bottom: clamp(48px, 8vw, 112px); }
.krea-sesion .krea-sesion__title { font-weight: var(--fw-regular); } /* beats .detalle__title (detalle.css loads later) */
.krea-sesion .curso__content { margin-top: 4px; }
.krea-sesion__body { color: var(--neutral-700); font-weight: var(--fw-medium); }
.krea-sesion__body > :first-child { margin-top: 0; }

.caract--icons { display: flex; flex-direction: column; gap: var(--space-10); padding: var(--space-6); }
.caract--icons .caract__title { margin: 0; font-weight: var(--fw-regular); }
.caract--icons .caract__rule { margin: 0; }
.caract__items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-4); }
.caract__item { display: flex; align-items: center; gap: var(--space-4); }
.caract__icon {
	flex: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #2e5680;
	color: var(--white);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.caract__icon-svg { width: 24px; height: 24px; }
.caract__item-text { min-width: 0; font-size: var(--fs-body); line-height: var(--lh-body); color: var(--white); overflow-wrap: anywhere; }
.krea-sesion__body.prose ul { list-style: disc; }
.krea-sesion__body.prose ol { list-style: decimal; }
.krea-sesion__body.prose strong { font-weight: var(--fw-semibold); color: var(--bida-blue); }
