/* Conserva la paleta y tipografía heredadas. No carga fuentes externas. */
.flv-oferta { width: 100%; max-width: 1200px; margin: 0 auto; color: #191919; font-family: inherit; }
.flv-oferta *, .flv-programa-detalle * { box-sizing: border-box; }
.flv-oferta [hidden] { display: none !important; }
.flv-oferta-grupo { padding: 32px 0 48px; }
.flv-oferta h2, .flv-programa-detalle h2 { font-size: clamp(25px, 3vw, 37px); line-height: 1.2; margin: 8px 0 14px; }
.flv-oferta p { line-height: 1.65; }
.flv-sede { background: #fff6cc; padding: 14px 18px; border-radius: 8px; }
.flv-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; margin-top: 26px; }
.flv-card { min-width: 0; background: #fff; border: 1px solid #e6e6e6; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.flv-card > img { display: block; width: 100%; height: 200px; object-fit: cover; }
.flv-card-body { padding: 24px; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.flv-card .flv-card-meta { color: #5a5a5a; font-size: 13px; margin: 0 0 10px; }
.flv-card h3 { font-size: 21px; line-height: 1.35; margin: 0 0 23px; overflow-wrap: anywhere; }
.flv-button { display: inline-block; background: #df2017; color: #fff !important; border-radius: 26px; padding: 12px 19px; font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1.5; margin-top: auto; text-decoration: none !important; }
.flv-button:hover, .flv-button:focus { background: #a9150e; }
.flv-oferta :is(a, button, input, select):focus-visible, .flv-programa-detalle a:focus-visible { outline: 3px solid #a9150e; outline-offset: 3px; }
.flv-oferta ::selection { background: #ffdb48; color: #191919; }
.flv-oferta input { caret-color: #a9150e; }
.flv-catalogo-filtros { padding: 20px; background: #fafafa; border: 1px solid #e6e6e6; border-radius: 12px; }
.flv-catalogo-tipos { display: flex; flex-wrap: wrap; gap: 10px 22px; min-width: 0; padding: 0; margin: 0 0 20px; border: 0; }
.flv-catalogo-tipos legend { width: 100%; padding: 0 0 8px; font-size: 16px; font-weight: 600; color: #191919; }
.flv-catalogo-tipos label { display: inline-flex; align-items: flex-start; gap: 7px; cursor: pointer; font-size: 14px; line-height: 1.5; padding: 5px 0; }
.flv-catalogo-tipos input[type="radio"] { appearance: auto; flex: 0 0 auto; width: 18px; height: 18px; margin: 2px 0 0; accent-color: #b2180f; }
.flv-catalogo-busqueda { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px; }
.flv-catalogo-busqueda label { display: flex; flex-direction: column; flex: 1 1 170px; gap: 6px; font-size: 14px; font-weight: 500; min-width: 0; }
.flv-catalogo-busqueda .flv-search-label { flex-grow: 2; flex-basis: 250px; }
.flv-catalogo-busqueda input[type="search"], .flv-catalogo-busqueda select { width: 100%; min-height: 46px; max-width: 100%; margin: 0; padding: 10px 12px; border: 1px solid #767676; border-radius: 6px; color: #191919; background: #fff; font: inherit; }
.flv-catalogo-busqueda input::placeholder { color: #646464; opacity: 1; }
.flv-catalogo-busqueda select:disabled { cursor: not-allowed; background: #eee; color: #595959; opacity: 1; }
.flv-reset { min-height: 46px; padding: 10px 16px; border: 1px solid #b2180f; border-radius: 6px; background: #fff; color: #a9150e; font: inherit; font-size: 14px; cursor: pointer; }
.flv-reset:hover { background: #fff6cc; color: #191919; }
.flv-catalogo .flv-catalogo-nota { max-width: 75ch; margin: 14px 0 0; font-size: 13px; color: #595959; }
.flv-catalogo-count { margin: 22px 0 0; font-size: 14px; font-variant-numeric: tabular-nums; }
.flv-empty { padding: 24px 0; color: #191919; }
.flv-programa-sede { max-width: 1140px; margin: 20px auto 35px; padding: 20px 24px; border-radius: 8px; background: #fff7d1; color: #191919; font-family: inherit; line-height: 1.65; }
.flv-programa-sede p { margin: 8px 0 0; }
.flv-programa-detalle { max-width: 1140px; margin: 32px auto; color: #191919; font-family: inherit; line-height: 1.65; }
.flv-programa-detalle > img { display: block; max-width: 100%; width: auto; height: auto; margin: 24px 0; border-radius: 12px; }
.flv-programa-detalle > p { max-width: 75ch; }
.flv-page { max-width: 1200px; margin: 40px auto; padding: 0 22px; }
.flv-page h1 { font-size: clamp(30px, 4vw, 48px); }
.flv-enlaces-oferta { margin: 0; padding: 0; list-style: none; }
.flv-enlaces-oferta li + li { margin-top: 12px; }
@media (max-width: 900px) {
    .flv-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .flv-cards { grid-template-columns: 1fr; }
    .flv-card > img { height: 210px; }
    .flv-oferta-grupo { padding: 24px 0; }
    .flv-catalogo-filtros { padding: 16px; }
    .flv-catalogo-tipos { flex-direction: column; gap: 4px; }
    .flv-catalogo-busqueda { flex-direction: column; align-items: stretch; }
    .flv-catalogo-busqueda label, .flv-catalogo-busqueda .flv-search-label { flex: 0 1 auto; }
    .flv-programa-sede { margin: 18px 15px; }
    .flv-programa-detalle .flv-programa-sede { margin-right: 0; margin-left: 0; }
}
/* La hoja global del tema usa !important: aislar la escala de las ofertas. */
.flv-oferta .flv-card h3 { font-size: 21px !important; line-height: 1.35 !important; margin: 0 0 23px !important; overflow-wrap: normal !important; word-break: normal !important; }
.flv-oferta h2, .flv-programa-detalle h2 { font-size: clamp(25px, 3vw, 37px) !important; line-height: 1.2 !important; }
.flv-oferta .flv-catalogo-busqueda input[type="search"] { background: #fff !important; color: #191919 !important; border: 1px solid #767676 !important; border-radius: 6px !important; padding: 10px 12px !important; }
