/*
 * 4.0.60 - LAS CABECERAS, POR TIPO DE PÁGINA (Eudes: «ajusta las cabeceras según lo que comentas»).
 *
 * La de Canales (4.0.59, propuesta C) es el modelo. Tres familias:
 *
 *   1. Pantallas de trabajo  -> la cabecera C: tarjeta clara con un rosado con cuerpo, el brillo
 *      vino arriba a la derecha, título grande y las acciones en píldora.
 *        · Entera: Mensajes, Configuración, Clases, Soporte (y Denuncias, que comparte hoja).
 *        · Compacta (va debajo de la portada de tu perfil): Pagos, Conexiones, Publicaciones.
 *          (Borrar todo, en Notificaciones, queda en blanco: no es la acción principal.)
 *        · Arriba del panel (la cabecera vive dentro de una tarjeta blanca): Notificaciones, Fotos,
 *          Vídeos, Anuncios, Mis eventos, Mis oportunidades y Música.
 *   2. Descubrir  -> la banda de lado a lado, como /es/descubrir/perfiles: Descubrir talento,
 *      Cerca de ti y Auditorio.
 *   3. Fichas (perfil, evento, canal, oportunidad) -> siguen con su portada: aquí no se tocan.
 *
 * Sólo viste las clases que ya existen: ninguna vista cambia. Va la última en main/header.php y
 * cada regla empieza por `body` para mandar sobre las hojas de cada página aunque se carguen
 * dentro de la vista (Soporte trae la suya en el cuerpo).
 *
 * 4.0.61 - «Sigo viendo las cabeceras pálidas»: el rosado con más cuerpo, un pentagrama con notas
 * a la derecha (Eudes eligió esta propuesta) y los títulos tan grandes como el de Descubrir talento.
 * El pentagrama es un `::before` detrás del contenido (`isolation` + `z-index:-1`): no mueve nada.
 *
 * 4.0.62 - «Los que son como es/descubrir/perfiles, ¿no podrían adecuarse a este estilo?»: el
 * buscador público (explorar, perfiles, eventos, oportunidades) y la lista pública de canales
 * cargan también esta hoja y toman la banda rosada con el pentagrama. Y la cabecera de Canales
 * (la C de 4.0.59, el modelo) se pone al día: mismo título grande y su pentagrama.
 *
 * 4.0.63 - «Los títulos de las subpáginas del perfil son enormes» y «tan grandes no necesitan
 * negrita»: debajo de la portada bajan a un tamaño medio (32-38 px), y todos los títulos grandes
 * pasan de gilroy-bold a gilroy-semibold.
 *
 * 4.0.92 - «Abrí una oportunidad y sigue con el header viejo, sin pentagramas… abrí un evento e igual»:
 * las fichas de evento y de oportunidad (con sesión `.cs-event-room__header`, sin ella
 * `.cs-public-event__header`) toman la C: el rosado con cuerpo, el brillo vino, el pentagrama y el
 * título en semibold. El «Volver» vuelve a donde se estaba (js/classicspark-publicacion.js).
 */

/* ------------------------------------------------------------------ 1. la cabecera C */
body .cs-chat-page__heading,
body .cp-report-hero,
body .cs-settings-hero,
body .cs-lessons-hero,
body .cs-payments-hero,
body .cs27-friends-hero,
body .cs2766-posts-heading,
body .cs27-collection-heading,
body .notifications-page-head,
body .cs-music-library__header{
  position:relative;overflow:hidden;display:flex;align-items:flex-start;justify-content:space-between;gap:28px;
  min-height:0;color:#231d27;isolation:isolate;
  border:1px solid #ecd9df;border-radius:26px;
  background:radial-gradient(ellipse at 95% 0%,rgba(201,0,54,.18),transparent 55%),linear-gradient(120deg,#fff 0%,#fcedf1 55%,#f6d9e2 100%);
  box-shadow:0 18px 40px rgba(94,0,25,.07)
}
/* Entera */
body .cs-chat-page__heading,
body .cp-report-hero,
body .cs-settings-hero,
body .cs-lessons-hero{padding:34px 40px 30px}
/* Compacta, debajo de la portada */
body .cs-payments-hero,
body .cs27-friends-hero,
body .cs2766-posts-heading{margin-top:18px;margin-bottom:18px;padding:26px 30px;border-radius:22px;align-items:center}
/* Arriba del panel: ocupa el borde de arriba de la tarjeta blanca que la contiene */
body .cs27-collection-heading{margin:-25px -25px 24px;padding:28px 30px 24px;border-width:0 0 1px;border-radius:18px 18px 0 0;box-shadow:none;align-items:center}
body .notifications-page.cs27-collection-page .notifications-page-head{margin:-30px -30px 24px;padding:30px 32px 26px;border-width:0 0 1px;border-radius:18px 18px 0 0;box-shadow:none;align-items:center}
body .cs-music-library__header{margin:-26px -26px 22px;padding:28px 30px 24px;border-width:0 0 1px;border-radius:22px 22px 0 0;box-shadow:none;align-items:center}
body .cs27-collection-heading>div:first-child,
body .notifications-page-head>div:first-child,
body .cs-music-library__header>div:first-child,
body .cs-chat-page__heading>div,
body .cp-report-hero>div,
body .cs-settings-hero__copy,
body .cs-lessons-hero>div,
body .cs-payments-hero>div:first-child,
body .cs27-friends-hero>div:first-child,
body .cs2766-posts-heading>div{min-width:0}

/* La línea de arriba: vino, espaciada */
body .cs-chat-page__heading>div>span,
body .cp-report-hero>div>span,
body .cs-settings-hero__copy>p,
body .cs-lessons-hero>div>p,
body .cs-payments-hero>div>p,
body .cs27-friends-hero .cs27-friends-eyebrow,
body .cs2766-posts-heading>div>span,
body .cs27-collection-heading>div:first-child>span,
body .notifications-page-head .notifications-kicker,
body .cs-music-library__header>div:first-child>small{
  display:block;margin:0;color:#a3002c!important;font:13px gilroy-semibold,Arial,sans-serif;font-weight:400;letter-spacing:.12em;text-transform:uppercase
}

/* El título */
body .cs-chat-page__heading h1,
body .cp-report-hero h1,
body .cs-settings-hero h1,
body .cs-lessons-hero h1{max-width:720px;margin:10px 0;color:#231d27;font:clamp(40px,4.2vw,58px)/1.04 gilroy-semibold,Arial,sans-serif!important;letter-spacing:-.03em}
/* 4.0.63 - Las subpáginas del perfil (debajo de la portada) llevan un tamaño medio: entre las
   secciones de 25 px (p. ej. «Profesores disponibles» en Clases) y las cabeceras de 58 px.
   `!important` porque classicspark-ui.css fija `.cs27-collection-page h1{font-size:32px!important}`. */
body .cs-payments-hero h1,
body .cs27-friends-hero h1,
body .cs2766-posts-heading h1,
body .cs27-collection-heading h1,
body .cs-music-library__header h2{max-width:720px;margin:8px 0;color:#231d27;font:clamp(32px,2.8vw,38px)/1.08 gilroy-semibold,Arial,sans-serif!important;letter-spacing:-.025em}
body .notifications-page.cs27-collection-page .notifications-page-head h1{max-width:720px;margin:10px 0;color:#231d27;font:clamp(40px,4.2vw,58px)/1.04 gilroy-semibold,Arial,sans-serif!important;letter-spacing:-.03em}

/* La frase */
body .cs-chat-page__heading>div>p,
body .cp-report-hero>div>p,
body .cs-settings-hero__copy>span,
body .cs-lessons-hero>div>span,
body .cs-payments-hero>div>span,
body .cs27-friends-hero>div:first-child>p,
body .cs2766-posts-heading>div>p,
body .cs27-collection-heading>div:first-child>p,
body .notifications-page-head>div:first-child>p:not(.notifications-kicker),
body .cs-music-library__header>div:first-child>p{
  display:block;max-width:660px;margin:0;color:#5d555f;font-size:16px;line-height:1.5
}

/* Volver: píldora blanca */
body .cs-chat-page__heading>a,
body .cp-report-hero>a.cp-report-back,
body .cs-settings-hero__actions .cs-settings-back,
body .cs-payments-hero__actions .cs-payments-back,
body .cs2766-posts-heading>a,
body .cs27-collection-heading .cs27-collection-actions a,
body .notifications-page-head .cs27-collection-actions a,
body .notifications-page-head .cs27-collection-actions .notifications-clear,
body .cs-music-library__header .cs2725-outline-action,
body .cs27-friends-hero__actions>.cs2810-profile-back,
body .cs-lessons-hero .cs225-teach-link{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:0 0 auto;
  min-height:44px;margin:0;padding:0 18px;border:1px solid #ecd6dc;border-radius:999px;background:#fff;
  color:#8a0026;font:14.5px gilroy-semibold,Arial,sans-serif;white-space:nowrap;text-decoration:none;
  box-shadow:0 6px 14px rgba(44,31,35,.05);transition:border-color .15s,box-shadow .15s,color .15s
}
body .cs-chat-page__heading>a:hover,
body .cp-report-hero>a.cp-report-back:hover,
body .cs-settings-hero__actions .cs-settings-back:hover,
body .cs-payments-hero__actions .cs-payments-back:hover,
body .cs2766-posts-heading>a:hover,
body .cs27-collection-heading .cs27-collection-actions a:hover,
body .notifications-page-head .cs27-collection-actions a:hover,
body .notifications-page-head .cs27-collection-actions .notifications-clear:hover,
body .cs-music-library__header .cs2725-outline-action:hover,
body .cs27-friends-hero__actions>.cs2810-profile-back:hover,
body .cs-lessons-hero .cs225-teach-link:hover{border-color:#e2b9c4;background:#fff;color:#5e0019;text-decoration:none;box-shadow:0 8px 18px rgba(44,31,35,.09)}
body .cs-lessons-hero .cs225-teach-link{margin-top:16px}
/* En Configuración, «Volver» va arriba a la derecha, como en las demás */
body .cs-settings-hero__actions{align-items:flex-end}
body .cs-settings-hero__actions .cs-settings-back{align-self:flex-end}

/* La acción principal: vino, como «Crear canal» */
body .cs27-collection-heading .cs27-collection-actions button,
body .cs27-collection-heading .cs27-collection-actions .cs27-primary-action,
body .cs-music-library__header .cs2724-primary-action,
body .cs27-friends-hero__actions>.cs27-friends-primary,
body .cs-lessons-hero .cs-lessons-primary{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:0 0 auto;
  min-height:44px;margin:0;padding:0 20px;border:0;border-radius:999px;
  background:linear-gradient(120deg,#8a0026,#c90036);color:#fff;font:14.5px gilroy-semibold,Arial,sans-serif;white-space:nowrap;text-decoration:none;
  box-shadow:0 12px 26px rgba(163,0,44,.22);cursor:pointer;transition:transform .15s,box-shadow .15s
}
body .cs-lessons-hero .cs-lessons-primary{min-height:48px;padding:0 22px;font-size:15.5px}
body .cs27-collection-heading .cs27-collection-actions button:hover,
body .cs27-collection-heading .cs27-collection-actions .cs27-primary-action:hover,
body .cs-music-library__header .cs2724-primary-action:hover,
body .cs27-friends-hero__actions>.cs27-friends-primary:hover,
body .cs-lessons-hero .cs-lessons-primary:hover{color:#fff;text-decoration:none;transform:translateY(-1px);box-shadow:0 16px 30px rgba(163,0,44,.28)}
body .cs27-collection-heading .cs27-collection-actions,
body .notifications-page-head .cs27-collection-actions,
body .cs-music-library__header .cs2725-media-actions{display:flex;align-items:center;gap:10px}

/* Conexiones: sus dos cifras, como las de Canales */
body .cs27-friends-hero__actions{align-items:center;gap:10px}
body .cs27-friends-hero__actions>.cs27-friends-stat{
  min-height:0;display:inline-flex;flex-direction:row;align-items:center;gap:10px;padding:8px 16px 8px 8px;
  border:1px solid #f0e2e6;border-radius:999px;background:#fff;color:#3d3640;text-decoration:none;box-shadow:0 6px 14px rgba(44,31,35,.05)
}
body .cs27-friends-hero__actions>.cs27-friends-stat strong{min-width:34px;height:34px;padding:0 9px;display:grid;place-items:center;border-radius:999px;background:linear-gradient(135deg,#5e0019,#c90036);color:#fff;font:14px gilroy-bold,gilroy-semibold,Arial,sans-serif}
body .cs27-friends-hero__actions>.cs27-friends-stat span{color:#3d3640;font:14px gilroy-semibold,Arial,sans-serif}
body .cs27-friends-hero__actions>.cs27-friends-stat:hover{border-color:#e9c3cd;text-decoration:none}
body .cs27-friends-hero__actions>.cs27-friends-primary,
body .cs27-friends-hero__actions>.cs2810-profile-back{min-height:44px}

@media (max-width:760px){
  body .cs27-collection-heading{margin:-18px -18px 18px;padding:22px 18px 18px;flex-direction:column;align-items:stretch;gap:16px}
  body .notifications-page.cs27-collection-page .notifications-page-head{margin:-20px -18px 18px;padding:22px 18px 18px;flex-direction:column;align-items:stretch;gap:16px}
  body .cs27-friends-hero{padding:22px 18px;flex-direction:column;align-items:stretch;gap:16px}
  body .cs27-friends-hero__actions{display:grid;grid-template-columns:1fr 1fr}
  body .cs27-friends-hero__actions>.cs27-friends-primary,
  body .cs27-friends-hero__actions>.cs2810-profile-back{grid-column:1/-1;width:100%}
}
@media (max-width:720px){
  body .cs-chat-page__heading{padding:24px 18px 20px;border-radius:22px;flex-direction:column;align-items:stretch;gap:16px}
  body .cs-chat-page__heading>a{width:100%}
}
@media (max-width:700px){
  body .cp-report-hero,
  body .cs-settings-hero,
  body .cs-lessons-hero{padding:24px 18px 20px;border-radius:22px;flex-direction:column;align-items:stretch;gap:16px}
  body .cs-payments-hero,
  body .cs2766-posts-heading{padding:22px 18px;flex-direction:column;align-items:stretch;gap:16px}
  body .cs-music-library__header{margin:-18px -18px 18px;padding:22px 18px 18px;flex-direction:column;align-items:stretch;gap:16px}
  body .cs-chat-page__heading h1,
  body .cp-report-hero h1,
  body .cs-settings-hero h1,
  body .cs-lessons-hero h1,
  body .notifications-page.cs27-collection-page .notifications-page-head h1{font-size:36px!important}
  body .cs-payments-hero h1,
  body .cs27-friends-hero h1,
  body .cs2766-posts-heading h1,
  body .cs27-collection-heading h1,
  body .cs-music-library__header h2{font-size:30px!important}
  body .cs-chat-page__heading>div>p,
  body .cp-report-hero>div>p,
  body .cs-settings-hero__copy>span,
  body .cs-lessons-hero>div>span,
  body .cs-payments-hero>div>span,
  body .cs27-friends-hero>div:first-child>p,
  body .cs2766-posts-heading>div>p,
  body .cs27-collection-heading>div:first-child>p,
  body .notifications-page-head>div:first-child>p:not(.notifications-kicker),
  body .cs-music-library__header>div:first-child>p{font-size:15px}
  body .cp-report-hero>a.cp-report-back,
  body .cs2766-posts-heading>a,
  body .cs-payments-hero__actions,
  body .cs-payments-hero__actions .cs-payments-back,
  body .cs-lessons-hero .cs-lessons-primary{width:100%}
  body .cp-report-hero>a.cp-report-back{font-size:14.5px}
  body .cs-settings-hero__actions{width:100%;max-width:none;align-items:stretch}
  body .cs-settings-hero__actions .cs-settings-back{align-self:stretch;width:100%}
}
@media (max-width:480px){
  body .cs27-collection-heading{margin:-14px -14px 16px;border-radius:14px 14px 0 0}
}

/* ------------------------------------------------------------------ 2. la banda de Descubrir */
/* De lado a lado sin mover el texto de su columna: el color sale con una sombra sin difuminar
   recortada arriba y abajo (no ensancha la página ni crea barra horizontal). */
body .cs-talent-hero,
body .cs2727-near__hero,
body .cs-auditorium-hero{
  position:relative;overflow:visible;min-height:0;margin-bottom:26px;padding:46px 0 38px;
  border:0;border-radius:0;color:#231d27;isolation:isolate;
  background:radial-gradient(300px 190px at 76% 0%,rgba(201,0,54,.13),transparent 100%),#f8ecef;
  box-shadow:0 0 0 100vmax #f8ecef,0 1px 0 100vmax #ecd8de;
  clip-path:inset(0 -100vmax -1px)
}
body .cs-talent-hero::after,body .cs-auditorium-hero::after{display:none}
/* Pegada al menú: se descuenta el aire de arriba de cada página */
body .cs-talent-hero{margin-top:-22px}
body .cs-auditorium-hero{margin-top:-24px}
body .cs2727-near__hero{margin-top:-18px}

body .cs-talent-hero .cs-talent-eyebrow,
body .cs-auditorium-hero .cs-auditorium-eyebrow,
body .cs2727-near__hero>div:first-child>span{display:inline-flex;align-items:center;gap:9px;margin:0;color:#a3002c;font:13px gilroy-semibold,Arial,sans-serif;letter-spacing:.14em;text-transform:uppercase}
body .cs-talent-hero h1,
body .cs-auditorium-hero h1,
body .cs2727-near__hero h1{max-width:720px;margin:12px 0 12px;color:#231d27;font:clamp(40px,4.2vw,58px)/1.04 gilroy-semibold,Arial,sans-serif;letter-spacing:-.035em}
body .cs-talent-hero p,
body .cs-auditorium-hero .cs-auditorium-hero__copy>p,
body .cs2727-near__hero>div:first-child>p{max-width:680px;margin:0;color:#5d555f;font-size:17px;line-height:1.55}

/* Cerca de ti: las cifras en blanco sobre la banda, y «Volver» arriba a la derecha */
body .cs2727-near__hero{gap:34px}
body .cs2727-near__hero .cs2731-near-actions{top:46px;right:0}
body .cs2727-near__hero .cs2731-near-actions a{min-height:44px;padding:0 18px;border:1px solid #ecd6dc;border-radius:999px;background:#fff;color:#8a0026;font:14.5px gilroy-semibold,Arial,sans-serif;box-shadow:0 6px 14px rgba(44,31,35,.05)}
body .cs2727-near__stats button{border-color:#efdfe4;border-radius:16px;background:#fff;box-shadow:0 6px 14px rgba(44,31,35,.05)}
body .cs2727-near__stats button.is-active,
body .cs2727-near__stats button:hover{border-color:#c90036;background:#fff;color:#a3002c;box-shadow:0 0 0 3px rgba(201,0,54,.10)}
body .cs2727-near__stats strong{font-family:gilroy-bold,gilroy-semibold,sans-serif}

@media (max-width:980px){ body .cs-auditorium-hero{margin-top:-18px} }
@media (max-width:700px){
  body .cs-talent-hero,
  body .cs2727-near__hero,
  body .cs-auditorium-hero{padding:30px 0 26px;margin-bottom:20px;background:radial-gradient(170px 130px at 82% 0%,rgba(201,0,54,.12),transparent 100%),#f8ecef}
  body .cs-talent-hero h1,
  body .cs-auditorium-hero h1,
  body .cs2727-near__hero h1{font-size:36px}
  body .cs-talent-hero p,
  body .cs-auditorium-hero .cs-auditorium-hero__copy>p,
  body .cs2727-near__hero>div:first-child>p{font-size:15.5px}
}
@media (max-width:680px){ body .cs-auditorium-hero{margin-top:-12px} }
@media (max-width:650px){ body .cs-talent-hero{margin-top:-12px} }

/* ------------------------------------------------------------------ 3. el pentagrama (4.0.61) */
/* Detrás del contenido y a la derecha; se desvanece hacia el texto para no cruzarse con el título. */
body .cs-chat-page__heading::before,
body .cp-report-hero::before,
body .cs-settings-hero::before,
body .cs-lessons-hero::before,
body .cs-payments-hero::before,
body .cs27-friends-hero::before,
body .cs2766-posts-heading::before,
body .cs27-collection-heading::before,
body .notifications-page-head::before,
body .cs-music-library__header::before,
body .cs-talent-hero::before,
body .cs2727-near__hero::before,
body .cs-auditorium-hero::before,
body .cs-event-room--modern .cs-event-room__header::before,
body .cs-public-event__header::before{
  content:"";display:block;position:absolute;z-index:-1;top:0;bottom:0;right:0;width:min(54%,700px);pointer-events:none;
  background:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 640 200%22%3E%3Cg fill=%22none%22 stroke=%22%23a3002c%22 stroke-opacity=%22.26%22 stroke-width=%221.6%22%3E%3Cpath d=%22M0 62 C160 28 330 96 640 56%22/%3E%3Cpath d=%22M0 80 C160 46 330 114 640 74%22/%3E%3Cpath d=%22M0 98 C160 64 330 132 640 92%22/%3E%3Cpath d=%22M0 116 C160 82 330 150 640 110%22/%3E%3Cpath d=%22M0 134 C160 100 330 168 640 128%22/%3E%3C/g%3E%3Cg fill=%22%23c90036%22 fill-opacity=%22.42%22%3E%3Cellipse cx=%22150%22 cy=%2272%22 rx=%229%22 ry=%226.5%22 transform=%22rotate(-20 150 72)%22/%3E%3Crect x=%22157%22 y=%2234%22 width=%222.4%22 height=%2238%22/%3E%3Cpath d=%22M159 34 q14 8 10 22%22 fill=%22none%22 stroke=%22%23a3002c%22 stroke-width=%222.4%22 stroke-opacity=%22.5%22/%3E%3Cellipse cx=%22235%22 cy=%2297%22 rx=%229%22 ry=%226.5%22 transform=%22rotate(-20 235 97)%22/%3E%3Crect x=%22242%22 y=%2259%22 width=%222.4%22 height=%2238%22/%3E%3Cellipse cx=%22330%22 cy=%22110%22 rx=%229%22 ry=%226.5%22 transform=%22rotate(-20 330 110)%22/%3E%3Crect x=%22337%22 y=%2272%22 width=%222.4%22 height=%2238%22/%3E%3Cpath d=%22M339 72 q14 8 10 22%22 fill=%22none%22 stroke=%22%23a3002c%22 stroke-width=%222.4%22 stroke-opacity=%22.5%22/%3E%3Cellipse cx=%22430%22 cy=%2286%22 rx=%229%22 ry=%226.5%22 transform=%22rotate(-20 430 86)%22/%3E%3Crect x=%22437%22 y=%2248%22 width=%222.4%22 height=%2238%22/%3E%3Cellipse cx=%22520%22 cy=%2272%22 rx=%229%22 ry=%226.5%22 transform=%22rotate(-20 520 72)%22/%3E%3Crect x=%22527%22 y=%2234%22 width=%222.4%22 height=%2238%22/%3E%3Cpath d=%22M529 34 q14 8 10 22%22 fill=%22none%22 stroke=%22%23a3002c%22 stroke-width=%222.4%22 stroke-opacity=%22.5%22/%3E%3C/g%3E%3C/svg%3E") right 20px center/auto 88% no-repeat;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 38%);mask-image:linear-gradient(90deg,transparent 0,#000 38%)
}
body .cs-talent-hero::before,
body .cs2727-near__hero::before,
body .cs-auditorium-hero::before{background-position:right 0 center;background-size:auto 80%}
@media (max-width:700px){
  body .cs-chat-page__heading::before,
  body .cp-report-hero::before,
  body .cs-settings-hero::before,
  body .cs-lessons-hero::before,
  body .cs-payments-hero::before,
  body .cs27-friends-hero::before,
  body .cs2766-posts-heading::before,
  body .cs27-collection-heading::before,
  body .notifications-page-head::before,
  body .cs-music-library__header::before,
  body .cs-talent-hero::before,
  body .cs2727-near__hero::before,
  body .cs-auditorium-hero::before,
  body .cs-event-room--modern .cs-event-room__header::before,
  body .cs-public-event__header::before{bottom:auto;height:78px;width:74%;background-position:right -14px top 4px;background-size:auto 100%;opacity:.7;
    -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 55%);mask-image:linear-gradient(90deg,transparent 0,#000 55%)}
}

/* ------------------------------------------------------------------ 4. Canales y las páginas públicas de Descubrir (4.0.62) */
/* Canales: la C original, con el título grande y el pentagrama como las demás */
body .cs459-cabeza{isolation:isolate;background:radial-gradient(ellipse at 95% 0%,rgba(201,0,54,.18),transparent 55%),linear-gradient(120deg,#fff 0%,#fcedf1 55%,#f6d9e2 100%);border-color:#ecd9df}
body .cs459-cabeza h1{max-width:720px;margin:10px 0;font:clamp(40px,4.2vw,58px)/1.04 gilroy-semibold,Arial,sans-serif;letter-spacing:-.035em}

/* El buscador público: la banda deja el crema y toma el rosado de la familia */
body .discovery-hero{padding-top:50px;border-bottom-color:#ecd8de;background:radial-gradient(460px 280px at 78% 0%,rgba(201,0,54,.14),transparent 100%),#f8ecef}
body .discovery-hero__heading{position:relative;isolation:isolate}
body .discovery-hero .eyebrow{margin:0;color:#a3002c;font:13px gilroy-semibold,Arial,sans-serif;font-weight:400;letter-spacing:.14em;text-transform:uppercase}
body .discovery-hero h1{max-width:720px;margin:12px 0;color:#231d27;font:clamp(40px,4.2vw,58px)/1.04 gilroy-semibold,Arial,sans-serif;letter-spacing:-.035em}
body .discovery-hero__copy>p:not(.eyebrow){max-width:680px;color:#5d555f;font-size:17px;line-height:1.55}
body .discovery-hero .discovery-landing-link{min-height:44px;margin-bottom:0;padding:0 18px;border:1px solid #ecd6dc;border-radius:999px;background:#fff;color:#8a0026;font:14.5px gilroy-semibold,Arial,sans-serif;box-shadow:0 6px 14px rgba(44,31,35,.05)}
body .discovery-hero__actions .button-primary{min-height:44px;padding:0 20px;border:0;border-radius:999px;background:linear-gradient(120deg,#8a0026,#c90036);color:#fff;box-shadow:0 12px 26px rgba(163,0,44,.22)}
body .discovery-hero .search-form{border-color:#ecd6dc;box-shadow:0 14px 34px rgba(94,0,25,.08)}
body .discovery-hero .section-tabs a.is-active{color:#8a0026;border-bottom-color:#c90036}

/* La lista pública de canales (es/descubrir/canales): la misma banda, pegada al menú */
body.cs454-publico .cs453-cabeza{position:relative;isolation:isolate;margin:-24px 0 26px;padding:46px 0 38px;align-items:flex-end;
  background:radial-gradient(300px 190px at 76% 0%,rgba(201,0,54,.13),transparent 100%),#f8ecef;
  box-shadow:0 0 0 100vmax #f8ecef,0 1px 0 100vmax #ecd8de;clip-path:inset(0 -100vmax -1px)}
body.cs454-publico .cs453-cabeza .cs454-antetitulo{color:#a3002c!important;font:13px gilroy-semibold,Arial,sans-serif!important;letter-spacing:.14em;text-transform:uppercase}
body.cs454-publico .cs453-cabeza h1{max-width:720px;margin:12px 0;color:#231d27;font:clamp(40px,4.2vw,58px)/1.04 gilroy-semibold,Arial,sans-serif;letter-spacing:-.035em}
body.cs454-publico .cs453-cabeza p{max-width:680px;color:#5d555f;font-size:17px;line-height:1.55}
body.cs454-publico .cs453-cabeza .cs453-boton{min-height:46px;padding:0 22px;border:0;background:linear-gradient(120deg,#8a0026,#c90036);font-size:15px;box-shadow:0 12px 26px rgba(163,0,44,.22)}

body .cs459-cabeza::before,
body .discovery-hero__heading::before,
body.cs454-publico .cs453-cabeza::before{
  content:"";display:block;position:absolute;z-index:-1;top:0;bottom:0;right:0;width:min(54%,700px);pointer-events:none;
  background:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 640 200%22%3E%3Cg fill=%22none%22 stroke=%22%23a3002c%22 stroke-opacity=%22.26%22 stroke-width=%221.6%22%3E%3Cpath d=%22M0 62 C160 28 330 96 640 56%22/%3E%3Cpath d=%22M0 80 C160 46 330 114 640 74%22/%3E%3Cpath d=%22M0 98 C160 64 330 132 640 92%22/%3E%3Cpath d=%22M0 116 C160 82 330 150 640 110%22/%3E%3Cpath d=%22M0 134 C160 100 330 168 640 128%22/%3E%3C/g%3E%3Cg fill=%22%23c90036%22 fill-opacity=%22.42%22%3E%3Cellipse cx=%22150%22 cy=%2272%22 rx=%229%22 ry=%226.5%22 transform=%22rotate(-20 150 72)%22/%3E%3Crect x=%22157%22 y=%2234%22 width=%222.4%22 height=%2238%22/%3E%3Cpath d=%22M159 34 q14 8 10 22%22 fill=%22none%22 stroke=%22%23a3002c%22 stroke-width=%222.4%22 stroke-opacity=%22.5%22/%3E%3Cellipse cx=%22235%22 cy=%2297%22 rx=%229%22 ry=%226.5%22 transform=%22rotate(-20 235 97)%22/%3E%3Crect x=%22242%22 y=%2259%22 width=%222.4%22 height=%2238%22/%3E%3Cellipse cx=%22330%22 cy=%22110%22 rx=%229%22 ry=%226.5%22 transform=%22rotate(-20 330 110)%22/%3E%3Crect x=%22337%22 y=%2272%22 width=%222.4%22 height=%2238%22/%3E%3Cpath d=%22M339 72 q14 8 10 22%22 fill=%22none%22 stroke=%22%23a3002c%22 stroke-width=%222.4%22 stroke-opacity=%22.5%22/%3E%3Cellipse cx=%22430%22 cy=%2286%22 rx=%229%22 ry=%226.5%22 transform=%22rotate(-20 430 86)%22/%3E%3Crect x=%22437%22 y=%2248%22 width=%222.4%22 height=%2238%22/%3E%3Cellipse cx=%22520%22 cy=%2272%22 rx=%229%22 ry=%226.5%22 transform=%22rotate(-20 520 72)%22/%3E%3Crect x=%22527%22 y=%2234%22 width=%222.4%22 height=%2238%22/%3E%3Cpath d=%22M529 34 q14 8 10 22%22 fill=%22none%22 stroke=%22%23a3002c%22 stroke-width=%222.4%22 stroke-opacity=%22.5%22/%3E%3C/g%3E%3C/svg%3E") right 20px center/auto 88% no-repeat;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 38%);mask-image:linear-gradient(90deg,transparent 0,#000 38%)
}
body .cs459-cabeza::before{bottom:auto;height:150px}
body .discovery-hero__heading::before,
body.cs454-publico .cs453-cabeza::before{background-position:right 0 center;background-size:auto 80%}
body .discovery-hero__heading::before{top:-20px}
@media (max-width:700px){
  body .cs459-cabeza h1,
  body .discovery-hero h1,
  body.cs454-publico .cs453-cabeza h1{font-size:36px}
  body .discovery-hero__copy>p:not(.eyebrow),
  body.cs454-publico .cs453-cabeza p{font-size:15.5px}
  body.cs454-publico .cs453-cabeza{margin-top:-24px;padding:30px 0 26px}
  body .cs459-cabeza::before,
  body .discovery-hero__heading::before,
  body.cs454-publico .cs453-cabeza::before{top:0;bottom:auto;height:78px;width:74%;background-position:right -14px top 4px;background-size:auto 100%;opacity:.7;
    -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 55%);mask-image:linear-gradient(90deg,transparent 0,#000 55%)}
  body .discovery-hero__heading::before{top:-30px}
}

/* ------------------------------------------------------------------ 5. Las fichas de evento y de oportunidad (4.0.92) */
body .cs-event-room--modern .cs-event-room__header,
body .cs-public-event__header{
  position:relative;overflow:hidden;isolation:isolate;
  border:1px solid #ecd9df!important;border-radius:26px!important;
  background:radial-gradient(ellipse at 95% 0%,rgba(201,0,54,.18),transparent 55%),linear-gradient(120deg,#fff 0%,#fcedf1 55%,#f6d9e2 100%)!important;
  box-shadow:0 18px 40px rgba(94,0,25,.07)!important
}
body .cs-event-room--modern .cs-event-room__heading h1,
body .cs-public-event__header h1{font-family:gilroy-semibold,Arial,sans-serif!important;font-weight:400!important;letter-spacing:-.03em!important;color:#231d27}
body .cs-event-room--modern .cs-event-room__back,
body .cs-public-event__back{border:1px solid #ecd9df;border-radius:999px;background:#fff;color:#a3002c}
