/* Gestor de Webinars — usa la tipografía del tema */
.gwb {
	--gwb-acento: #027bc5;
	--gwb-tinta: #1a1a1a;
	--gwb-suave: #595959;
	--gwb-borde: #e7e7e7;
	--gwb-claro: color-mix(in srgb, var(--gwb-acento) 6%, #fff);
	--gwb-oscuro: color-mix(in srgb, var(--gwb-acento) 82%, #000);
	color: var(--gwb-tinta);
	box-sizing: border-box;
}
.gwb *, .gwb *::before, .gwb *::after { box-sizing: border-box; }
.gwb [hidden] { display: none !important; }

/* =================== LISTADO =================== */
.gwb-lista { width: 100%; }

.gwb-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 40px;
	margin: 0 0 28px;
}
.gwb .gwb-tab {
	appearance: none;
	-webkit-appearance: none;
	background: transparent !important;
	border: 0 !important;
	border-left: 3px solid #d6d6d6 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	margin: 0;
	padding: 4px 0 4px 18px !important;
	font: inherit;
	font-size: 24px !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	letter-spacing: 0;
	text-transform: none !important;
	text-decoration: none !important;
	color: #9a9a9a !important;
	cursor: pointer;
	transition: color .2s ease, border-color .2s ease;
}
.gwb .gwb-tab:hover { color: #5b5b5b !important; }
.gwb .gwb-tab[aria-selected="true"] {
	color: var(--gwb-tinta) !important;
	border-left-color: var(--gwb-acento) !important;
}
.gwb .gwb-tab:focus-visible { outline: 2px solid var(--gwb-acento); outline-offset: 3px; }

.gwb-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}
.gwb .gwb-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--gwb-borde);
	border-radius: 4px;
	padding: 34px 28px 28px;
	color: var(--gwb-tinta) !important;
	text-decoration: none !important;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.gwb a.gwb-card:hover,
.gwb a.gwb-card:focus-visible {
	border-color: color-mix(in srgb, var(--gwb-acento) 45%, #e7e7e7);
	box-shadow: 0 4px 18px rgba(0, 0, 0, .05);
}
.gwb a.gwb-card:focus-visible { outline: 2px solid var(--gwb-acento); outline-offset: 2px; }
.gwb-card__mes {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .02em;
	text-transform: uppercase;
	color: var(--gwb-acento);
	margin: 0 0 12px;
}
.gwb .gwb-card__titulo {
	margin: 0 0 12px;
	font-size: 21px;
	line-height: 1.4;
	font-weight: 700;
	color: var(--gwb-tinta);
	transition: color .2s ease;
}
.gwb a.gwb-card:hover .gwb-card__titulo { color: var(--gwb-acento); }
.gwb-card__resumen {
	margin: 0 0 22px;
	font-size: 14.5px;
	line-height: 1.65;
	color: var(--gwb-suave);
}
.gwb-card__meta {
	margin-top: auto;
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	line-height: 1.4;
	color: var(--gwb-suave);
}
.gwb-card__meta svg { flex: 0 0 auto; stroke: var(--gwb-acento); }

.gwb .gwb-card--prov { border-style: dashed; border-color: #dcdcdc; }
.gwb .gwb-card--prov .gwb-card__titulo { color: #6b6b6b; }
.gwb .gwb-card--prov .gwb-card__meta { margin-top: 0; }
.gwb .gwb-card--prov .gwb-card__meta svg { stroke: #6b6b6b; }

.gwb-badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
	background: #eef1f4;
	color: var(--gwb-suave);
	padding: 3px 8px;
	border-radius: 3px;
	line-height: 1.4;
}
.gwb-vacio { margin: 8px 0 0; font-size: 15px; color: var(--gwb-suave); }

/* =================== PÁGINA =================== */
.gwb-main { padding: 48px 20px 64px; }
.gwb-pagina { max-width: 1140px; margin: 0 auto; }

.gwb-eyebrow {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	font-size: 15px;
	color: var(--gwb-suave);
	margin-bottom: 10px;
}
.gwb-eyebrow::before {
	content: "";
	display: inline-block;
	width: 22px;
	height: 2px;
	background: var(--gwb-acento);
}
.gwb .gwb-title { font-size: 40px; line-height: 1.15; font-weight: 700; margin: 0 0 20px; color: var(--gwb-tinta); }
.gwb-intro { font-size: 17px; line-height: 1.7; color: var(--gwb-suave); }

.gwb-meta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 22px;
	margin-bottom: 36px;
	padding-bottom: 28px;
	border-bottom: 1px solid var(--gwb-borde);
}
.gwb-meta-item { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--gwb-suave); }
.gwb-meta-item svg { flex: 0 0 auto; }

.gwb-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
	gap: 48px;
	align-items: start;
}

/* Contenido */
.gwb-content h2 {
	font-size: 25px;
	font-weight: 700;
	line-height: 1.3;
	margin: 40px 0 16px;
	padding-left: 16px;
	border-left: 3px solid var(--gwb-acento);
	color: var(--gwb-tinta);
}
.gwb-content > h2:first-child { margin-top: 0; }
.gwb-content h3 { font-size: 17px; font-weight: 700; margin: 0 0 8px; color: var(--gwb-tinta); }
.gwb-content p { font-size: 16.5px; line-height: 1.7; color: var(--gwb-suave); margin: 0 0 18px; }
.gwb-content a { color: var(--gwb-acento); }
.gwb-content img { max-width: 100%; height: auto; }

.gwb-program { list-style: none; margin: 0 0 8px; padding: 0; }
.gwb-program li {
	display: flex;
	gap: 14px;
	padding: 14px 0;
	margin: 0;
	border-bottom: 1px solid var(--gwb-borde);
	font-size: 15.5px;
	line-height: 1.5;
}
.gwb-program li:last-child { border-bottom: 0; }
.gwb-program-num { font-weight: 700; color: var(--gwb-acento); min-width: 24px; }

.gwb-audience { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; padding: 0; list-style: none; }
.gwb-audience li {
	margin: 0;
	font-size: 13.5px;
	background: var(--gwb-claro);
	color: var(--gwb-oscuro);
	padding: 6px 12px;
	border-radius: 20px;
}

.gwb-speaker { display: flex; align-items: center; gap: 14px; padding: 10px 0; }
.gwb-speaker-avatar {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--gwb-acento) 12%, #fff);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	color: var(--gwb-acento);
	font-size: 18px;
	flex-shrink: 0;
}
.gwb-speaker-name { font-weight: 700; font-size: 15.5px; }
.gwb-speaker-role { font-size: 13.5px; color: var(--gwb-suave); }

/* Bloques del resumen (se usan desde el editor con estas clases) */
.gwb-legal { font-size: 12.5px !important; color: #8a8a8a !important; margin-top: 6px; }
.gwb-takeaways { display: grid; gap: 14px; margin-bottom: 8px; }
.gwb-takeaway { border: 1px solid var(--gwb-borde); border-radius: 6px; padding: 18px 20px; }
.gwb-takeaway p { font-size: 15px !important; margin: 0 !important; line-height: 1.6; }
.gwb-num { font-weight: 700; color: var(--gwb-acento); margin-right: 8px; }
.gwb-roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 8px; }
.gwb-role { background: var(--gwb-claro); border-radius: 6px; padding: 16px 18px; }
.gwb-role h3 { color: var(--gwb-acento); font-size: 15.5px; }
.gwb-role ul { margin: 0; padding-left: 18px; }
.gwb-role li { font-size: 14px; line-height: 1.55; color: var(--gwb-tinta); margin-bottom: 5px; }
.gwb-table-wrap { overflow-x: auto; margin-bottom: 8px; }
.gwb-content table { width: 100%; border-collapse: collapse; font-size: 14px; }
.gwb-content th {
	text-align: left;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .4px;
	color: var(--gwb-suave);
	border-bottom: 2px solid var(--gwb-borde);
	padding: 8px 10px;
}
.gwb-content td { border-bottom: 1px solid var(--gwb-borde); padding: 10px; vertical-align: top; line-height: 1.5; }
.gwb-content td:first-child { white-space: nowrap; font-weight: 600; }
.gwb-status { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 3px; white-space: nowrap; }
.gwb-status.on { background: #eafaf0; color: #1e7e4c; }
.gwb-status.base { background: color-mix(in srgb, var(--gwb-acento) 12%, #fff); color: var(--gwb-oscuro); }
.gwb-status.prov { background: #fff4e0; color: #9a5b00; }
.gwb-fines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.gwb-fine { border: 1px solid var(--gwb-borde); border-radius: 6px; padding: 16px; text-align: center; }
.gwb-fine strong { display: block; font-size: 21px; color: var(--gwb-acento); margin-bottom: 6px; }
.gwb-fine span { font-size: 13px; color: var(--gwb-suave); line-height: 1.45; }
.gwb-check { list-style: none; margin: 0 0 8px; padding: 0; }
.gwb-check li {
	position: relative;
	padding: 9px 0 9px 26px;
	margin: 0;
	border-bottom: 1px solid var(--gwb-borde);
	font-size: 15px;
	line-height: 1.5;
}
.gwb-check li:last-child { border-bottom: 0; }
.gwb-check li::before {
	content: "";
	position: absolute;
	left: 3px;
	top: 15px;
	width: 10px;
	height: 5px;
	border-left: 2.5px solid var(--gwb-acento);
	border-bottom: 2.5px solid var(--gwb-acento);
	transform: rotate(-45deg);
}

/* Columna lateral */
.gwb-side { position: sticky; top: 24px; display: grid; gap: 18px; }
.gwb-card-side {
	background: #fff;
	border: 1px solid var(--gwb-borde);
	border-radius: 8px;
	padding: 28px 26px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, .05);
}
.gwb-card-side h4 { font-size: 18px; margin: 0 0 8px; color: var(--gwb-tinta); }
.gwb-card-side > p { font-size: 14px; color: var(--gwb-suave); line-height: 1.55; margin: 0 0 18px; }

.gwb .gwb-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	background: var(--gwb-acento);
	color: #fff !important;
	text-decoration: none !important;
	border: 1.5px solid var(--gwb-acento);
	border-radius: 5px;
	padding: 13px 20px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	transition: background-color .15s ease;
}
.gwb .gwb-btn:hover { background: var(--gwb-oscuro); color: #fff !important; }
.gwb .gwb-btn--outline { background: #fff; color: var(--gwb-acento) !important; }
.gwb .gwb-btn--outline:hover { background: var(--gwb-claro); color: var(--gwb-acento) !important; }
.gwb-next-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--gwb-acento); margin-bottom: 6px; }
.gwb-file { display: flex; align-items: center; gap: 12px; background: var(--gwb-claro); border-radius: 6px; padding: 12px 14px; margin-bottom: 18px; }
.gwb-file-icon {
	width: 40px;
	height: 40px;
	border-radius: 5px;
	background: #c94f2a;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.gwb-file-name { font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.gwb-file-meta { font-size: 12.5px; color: var(--gwb-suave); }

/* Formulario */
.gwb-signup-title { font-size: 19px; font-weight: 700; margin: 0 0 6px; }
.gwb-signup-sub { font-size: 14px; color: var(--gwb-suave); margin: 0 0 22px; line-height: 1.5; }
.gwb-field { margin-bottom: 14px; }
.gwb-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--gwb-tinta); }
.gwb .gwb-field input {
	width: 100%;
	padding: 11px 13px;
	border: 1px solid #d5d5d5;
	border-radius: 5px;
	font-size: 14.5px;
	font-family: inherit;
	color: var(--gwb-tinta);
	background: #fff;
	box-shadow: none;
}
.gwb .gwb-field input:focus { outline: none; border-color: var(--gwb-acento); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gwb-acento) 15%, transparent); }
.gwb .gwb-field input.gwb-invalido { border-color: #c0392b; }
.gwb-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.gwb-optional { font-weight: 400; color: #8a8a8a; }
.gwb-privacy-info { font-size: 11.5px; line-height: 1.55; color: var(--gwb-suave); background: #f7f7f7; border-radius: 5px; padding: 11px 12px; margin: 16px 0 18px; }
.gwb-privacy-info p { margin: 0 0 3px; }
.gwb-privacy-info p:last-child { margin: 0; }
.gwb-privacy-info a { color: var(--gwb-acento); }
.gwb-consent { display: flex; align-items: flex-start; gap: 9px; margin: 14px 0 0; }
.gwb-consent--ultimo { margin-bottom: 18px; }
.gwb-consent input { margin-top: 3px; flex-shrink: 0; }
.gwb-consent label { font-size: 12.5px; line-height: 1.5; color: var(--gwb-tinta); }
.gwb .gwb-submit {
	width: 100%;
	background: var(--gwb-acento) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 5px !important;
	padding: 13px 20px !important;
	font-size: 15px !important;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	font-family: inherit;
	text-decoration: none !important;
	transition: background-color .15s ease;
}
.gwb .gwb-submit:hover { background: var(--gwb-oscuro) !important; }
.gwb .gwb-submit:disabled { opacity: .55; cursor: not-allowed; }
.gwb-error { display: none; color: #c0392b; font-size: 12.5px; line-height: 1.45; margin: 0 0 12px; }
.gwb-error.is-visible { display: block; }
.gwb-success { text-align: center; padding: 10px 0; }
.gwb-success-icon { width: 48px; height: 48px; border-radius: 50%; background: #eafaf0; color: #1e9e5c; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-size: 22px; }
.gwb-success h4 { font-size: 17px; margin: 0 0 8px; }
.gwb-success p, .gwb-cerrado p { font-size: 13.5px; color: var(--gwb-suave); line-height: 1.55; margin: 0; }

/* =================== Responsive =================== */
@media (max-width: 860px) {
	.gwb-layout { grid-template-columns: 1fr; }
	.gwb .gwb-title { font-size: 30px; }
	.gwb-side { position: static; }
	.gwb-pagina--pasado .gwb-side { order: -1; }
	.gwb-roles, .gwb-fines { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
	.gwb-grid { grid-template-columns: 1fr; gap: 18px; }
	.gwb .gwb-tab { font-size: 20px !important; padding-left: 14px !important; }
	.gwb-tabs { gap: 12px 26px; margin-bottom: 22px; }
	.gwb .gwb-card { padding: 26px 22px 24px; }
	.gwb .gwb-card__titulo { font-size: 20px; }
	.gwb-main { padding: 32px 16px 48px; }
}
@media (prefers-reduced-motion: reduce) {
	.gwb * { transition: none !important; }
}
