/* =========================================================
   Landing de inscripción a foros — Tribuna
   Aislada bajo .tribuna-foros-landing para no afectar al resto del sitio
   ========================================================= */

.tribuna-foros-landing {
	--tfl-navy:    #0b2a4a;
	--tfl-navy-2:  #123a63;
	--tfl-ink:     #1f2933;
	--tfl-muted:   #51606f;
	--tfl-gold:    #e9b949;
	--tfl-accent:  #1e6fd0;
	--tfl-bg:      #eef3f9;
	--tfl-card:    #ffffff;
	--tfl-radius:  16px;
	--tfl-shadow:  0 18px 45px rgba(11, 42, 74, .12);
	scroll-behavior: smooth;
}

/* El tema mete su sidebar/contenedores; aquí trabajamos a pantalla completa */
.tribuna-foros-landing .td-main-content-wrap,
.tribuna-foros-landing .td-container {
	max-width: none;
	padding: 0;
	margin: 0;
}

.tfl,
.tfl * {
	box-sizing: border-box;
}

.tfl {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--tfl-ink);
	background: var(--tfl-bg);
	line-height: 1.6;
}

.tfl h1, .tfl h2 {
	margin: 0;
}

/* ---------------- HERO ---------------- */
.tfl-hero {
	position: relative;
	background: var(--tfl-navy);
	color: #fff;
	overflow: hidden;
	isolation: isolate;
}
/* Imagen de fondo difuminada */
.tfl-hero__bg {
	position: absolute;
	inset: -30px;                 /* desbordamiento para que el blur no muestre bordes */
	background-size: cover;
	background-position: center;
	filter: blur(8px) saturate(1.05);
	transform: scale(1.06);
	z-index: -2;
}
/* Capa de oscurecimiento para asegurar legibilidad del texto blanco */
.tfl-hero__overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(135deg, rgba(7,24,43,.92) 0%, rgba(11,42,74,.86) 55%, rgba(18,58,99,.80) 100%),
		radial-gradient(circle at 82% 12%, rgba(30,111,208,.35), transparent 55%);
	z-index: -1;
}
.tfl-hero__inner {
	position: relative;
	max-width: 1180px;
	margin: 0 auto;
	padding: 72px 32px 80px;
	display: grid;
	grid-template-columns: 1.25fr 1fr;
	gap: 48px;
	align-items: center;
}
.tfl-hero__content { min-width: 0; }

.tfl-eyebrow {
	display: block;
	font-size: 12px;
	letter-spacing: .18em;
	text-transform: uppercase;
	font-weight: 600;
	color: rgba(255,255,255,.75);
	margin-bottom: 22px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(255,255,255,.2);
}
.tfl-title {
	font-size: clamp(36px, 5vw, 58px);
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -.02em;
	margin-bottom: 22px;
	color: #fff;
	text-shadow: 0 2px 22px rgba(0,0,0,.4);
}
.tfl-subtitle {
	font-size: clamp(19px, 2.1vw, 27px);
	font-weight: 600;
	line-height: 1.3;
	color: #f4d98a;
	max-width: 22em;
	margin: 0 0 42px 0;
	text-shadow: 0 1px 14px rgba(0,0,0,.35);
}

.tfl-facts {
	list-style: none;
	padding: 0;
	margin: 0 0 40px 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.tfl-facts li {
	display: flex;
	gap: 16px;
	align-items: center;
	color: #d4e1f1;
	font-size: 15px;
	line-height: 1.45;
}
.tfl-facts__ico {
	width: 46px;
	height: 46px;
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(233,185,73,.14);
	border: 1px solid rgba(233,185,73,.45);
	font-size: 19px;
}
.tfl-facts strong {
	display: block;
	color: #fff;
	font-weight: 700;
	font-size: 16px;
	margin-bottom: 1px;
}

.tfl-cta {
	display: inline-block;
	background: var(--tfl-gold);
	color: #1a1300;
	font-weight: 800;
	font-size: 16px;
	text-decoration: none;
	padding: 15px 34px;
	border-radius: 999px;
	transition: transform .15s ease, box-shadow .15s ease;
	box-shadow: 0 12px 28px rgba(233,185,73,.35);
	margin-top: 10px;
}
.tfl-cta:hover { transform: translateY(-2px); color: #1a1300; }

.tfl-hero__poster {
	margin: 0;
	justify-self: center;
}
.tfl-hero__poster img {
	display: block;
	width: 100%;
	max-width: 440px;
	border-radius: var(--tfl-radius);
	box-shadow: 0 25px 60px rgba(0,0,0,.5);
	border: 4px solid rgba(255,255,255,.14);
}

/* ---------------- CUERPO ---------------- */
.tfl-body {
	max-width: 1180px;
	margin: 0 auto;
	padding: 56px 24px 80px;
}
.tfl-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: start;
}

.tfl-card {
	background: var(--tfl-card);
	border-radius: var(--tfl-radius);
	padding: 28px 28px;
	box-shadow: var(--tfl-shadow);
	margin-bottom: 24px;
	color: var(--tfl-ink);
}
.tfl-card h2 {
	font-size: 20px;
	font-weight: 800;
	color: var(--tfl-navy);
	margin-bottom: 14px;
	position: relative;
	padding-bottom: 10px;
	line-height: 1.3;
}
.tfl-card h2::after {
	content: "";
	position: absolute;
	left: 0; bottom: 0;
	width: 46px; height: 3px;
	background: var(--tfl-gold);
	border-radius: 2px;
}
.tfl-card p {
	color: var(--tfl-muted);
	margin-bottom: 12px;
}
.tfl-card p:last-child { margin-bottom: 0; }
.tfl-card strong { color: var(--tfl-ink); }

/* Intro destacada */
.tfl-intro { border-top: 4px solid var(--tfl-gold); }

.tfl-list {
	list-style: none;
	padding: 0;
	margin: 14px 0 0;
}
.tfl-list li {
	position: relative;
	padding: 7px 0 7px 28px;
	color: var(--tfl-ink);
	font-size: 15px;
}
.tfl-list li::before {
	content: "\2713";
	position: absolute;
	left: 0; top: 7px;
	color: var(--tfl-accent);
	font-weight: 800;
}

/* Panel de ponentes de la mesa redonda */
.tfl-panel {
	list-style: none;
	padding: 0;
	margin: 18px 0 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.tfl-panel li {
	padding: 12px 16px;
	background: #f5f8fc;
	border: 1px solid #e3eaf3;
	border-left: 3px solid var(--tfl-gold);
	border-radius: 8px;
}
.tfl-panel__name {
	display: block;
	font-weight: 700;
	color: var(--tfl-navy);
	font-size: 15.5px;
}
.tfl-panel__role {
	display: block;
	color: var(--tfl-muted);
	font-size: 13.5px;
	margin-top: 2px;
}

/* Ponente */
.tfl-speaker { border-top: 4px solid var(--tfl-navy); }
.tfl-speaker__name {
	font-size: 22px;
	font-weight: 800;
	color: var(--tfl-navy);
	margin: 4px 0 6px;
}
.tfl-speaker__role { color: var(--tfl-muted); font-size: 15px; }

/* ---------------- FORMULARIO ---------------- */
.tfl-form { position: sticky; top: 20px; scroll-margin-top: 90px; }
.tfl-form__card {
	background: var(--tfl-card);
	border-radius: var(--tfl-radius);
	box-shadow: var(--tfl-shadow);
	padding: 32px 30px;
	border-top: 6px solid var(--tfl-gold);
}
.tfl-form__title {
	font-size: 24px;
	font-weight: 800;
	color: var(--tfl-navy);
	margin-bottom: 8px;
}
.tfl-form__lead {
	color: var(--tfl-muted);
	font-size: 15px;
	margin-bottom: 22px;
}

/* Estilizado de los campos de Formidable dentro de la tarjeta */
.tfl-form__formidable .frm_form_field { margin-bottom: 16px; }
.tfl-form__formidable label,
.tfl-form__formidable .frm_primary_label {
	font-weight: 600;
	color: var(--tfl-ink);
	font-size: 14px;
	margin-bottom: 6px;
}
.tfl-form__formidable input[type="text"],
.tfl-form__formidable input[type="email"],
.tfl-form__formidable input[type="tel"],
.tfl-form__formidable input[type="number"],
.tfl-form__formidable input[type="url"],
.tfl-form__formidable select,
.tfl-form__formidable textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #d4dde7;
	border-radius: 10px;
	font-size: 15px;
	background: #fbfdff;
	color: var(--tfl-ink);
	transition: border-color .15s ease, box-shadow .15s ease;
}
.tfl-form__formidable input:focus,
.tfl-form__formidable select:focus,
.tfl-form__formidable textarea:focus {
	outline: none;
	border-color: var(--tfl-accent);
	box-shadow: 0 0 0 3px rgba(30,111,208,.15);
}
.tfl-form__formidable .frm_submit { margin-top: 6px; }
.tfl-form__formidable .frm_button_submit,
.tfl-form__formidable input[type="submit"],
.tfl-form__formidable button[type="submit"] {
	width: 100%;
	background: var(--tfl-navy);
	color: #fff;
	border: none;
	border-radius: 999px;
	padding: 15px 24px;
	font-size: 16px;
	font-weight: 800;
	cursor: pointer;
	transition: background .15s ease, transform .15s ease;
}
.tfl-form__formidable .frm_button_submit:hover,
.tfl-form__formidable input[type="submit"]:hover,
.tfl-form__formidable button[type="submit"]:hover {
	background: var(--tfl-accent);
	transform: translateY(-1px);
}

/* ---------------- BOTÓN FLOTANTE (MÓVIL) ---------------- */
.tfl-fab {
	display: none;
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 9990;
	text-align: center;
	background: var(--tfl-gold);
	color: #1a1300;
	font-weight: 800;
	font-size: 16px;
	text-decoration: none;
	padding: 16px 20px;
	border-radius: 999px;
	box-shadow: 0 10px 30px rgba(0,0,0,.3);
}
.tfl-fab:hover { color: #1a1300; }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 980px) {
	.tfl-hero__inner { grid-template-columns: 1fr; gap: 32px; }
	.tfl-hero__poster { order: -1; }
	.tfl-hero__poster img { max-width: 460px; }
	.tfl-grid { grid-template-columns: 1fr; }
	.tfl-form { position: static; }
	.tfl-form__card { margin-bottom: 24px; }
}
@media (max-width: 600px) {
	.tfl-hero__inner { padding: 40px 18px 48px; }
	.tfl-title { font-size: clamp(27px, 8vw, 38px); word-break: break-word; hyphens: auto; }
	.tfl-body { padding: 36px 16px 96px; }       /* deja hueco para el botón flotante */
	.tfl-facts li { flex: 1 1 100%; }
	.tfl-cta { display: block; text-align: center; }
	.tfl-fab { display: block; }                 /* botón flotante solo en móvil */
}
