@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap');

/* =========================================================
   FESTIVAL DE LA GUITARRA FLAMENCA
   estilos-saneado.css
   Reescritura ordenada y responsive
   ========================================================= */

:root {
  --rojo: #d33b1b;
  --rojo-oscuro: #b62d10;
  --rojo-vivo: #c8050f;
  --negro: #111111;
  --negro-fondo: #010302;
  --gris-0: #ffffff;
  --gris-1: #f5f5f5;
  --gris-2: #d7d6d6;
  --gris-3: #d9d9d9;
  --gris-4: #6d6d6d;
  --gris-texto: #4e4e4e;
  --ancho-max: 1200px;
  --sombra: 0 10px 28px rgba(0, 0, 0, .08);
  --sombra-fuerte: 0 18px 35px rgba(0, 0, 0, .14);
  --radio: 0;
  --transicion: .25s ease;
  --header-h: 155px;
}

/* =========================
   Reset base
   ========================= */
html, body, address, blockquote, div, dl, form, h1, h2, h3, h4, h5, h6,
ol, p, pre, table, ul, dd, dt, li, tbody, td, tfoot, th, thead, tr,
button, del, ins, map, object, a, abbr, acronym, b, bdo, big, br, cite,
code, dfn, em, i, img, kbd, q, samp, small, span, strong, sub, sup, tt,
var, legend, fieldset {
  margin: 0;
  padding: 0;
}

*, *::before, *::after {
  box-sizing: border-box;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  color: var(--gris-4);
  background: var(--gris-0);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}	

a {
  color: var(--gris-4);
  text-decoration: none;
  transition: color var(--transicion), background-color var(--transicion), border-color var(--transicion), opacity var(--transicion), transform var(--transicion), box-shadow var(--transicion);
}

a:hover,
a:focus {
  color: var(--rojo-oscuro);
  text-decoration: none;
}

ul li {
  list-style: none;
}

p {
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  text-align: justify;
  margin-bottom: 15px;
}
.sobreelartista {letter-spacing: 0.05em; font-weight:700; font-size: 14px;  border-bottom:#999 solid 2px; }
.center { text-align: center; }
.firma { text-align: right; font-size: 90%; font-weight: 500; }
.piefoto { text-align: left; font-size: 90%; font-weight: 500; line-height: 1.3; margin-top: 8px; }

.container {
  width: 100%;
}

/* =========================
   Tipografía
   ========================= */
h1 {
  font-size: 2.4rem;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: .04em;
  color: #1a1a1a;
  text-align: center;
  border-bottom: 1px solid var(--gris-3);
  padding-bottom: 10px;
  margin-bottom: 22px;
}

h2, h3, h4, h5, h6 {
  color: #5f5f5f;
}

h2.titulo,
.titulo {
  font-size: 2rem !important;
  font-weight: 700;
  color: var(--rojo-vivo);
}

.t2 {
  color: var(--rojo-vivo);
  font-weight: 700;
}

.titulo-gala {
  font-weight: 700;
  border-bottom: 1px solid var(--rojo-vivo);
  padding-bottom: 5px;
  margin-bottom: 10px;
}

.linea {
  margin-bottom: 24px !important;
  border-bottom: 1px solid var(--gris-4);
}

hr.style1 {
  border: 0;
  border-top: 1px dotted #b8b8b8;
}

hr.style2 {
  border: 0;
  border-top: 2px dotted var(--gris-4);
  margin-top: 20px;
}

hr.style6 {
  border: 0;
  border-top: 1px dashed #8c8b8b;
}

/* =========================
   Header fijo
   ========================= */
header {
  position: sticky;
  top: 0;
  z-index: 300;
  background: #ececec;
  border-bottom: 8px solid var(--rojo);
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

header .container {
  max-width: var(--ancho-max);
}

.row.logos {
  display: flex;
  align-items: center;
  padding: 12px 0 10px;
}

.logo {
  display: block;
  width: auto;
  height: 76px;

}

.logos-cam-1,
.logos-cam-2,
.logos-cam-3 {
  text-align: right;
}

.logos-cam-1 span img {
  height: 84px;
  width: auto;
}

.logos-cam-2,
.logos-cam-3 {
  display: none;
}

.lenguage {
  display: none;
}

/* =========================
   Espaciado principal por header sticky
   ========================= */
section {
  padding-top: 0;
}

/* =========================
   Hero / cabeceras interiores
   ========================= */
.carousel-phone {
  display: none;
}

.carousel-inner > .item > img {
  width: 100%;
  display: block;
}

.foto {
  color: #ececec !important;
  font-weight: 500;
  font-size: 11px;
  text-align: right;
  margin-top: -30px;
  margin-right: 10px;
  text-shadow: 0.1em 0.1em 0.05em rgba(0,0,0,.75) !important;
}

.cabecera-joven,
.cabecera-prensa,
.cabecera-festival,
.cabecera-espacios,
.cabecera-sur,
.cabecera-noticias,
.cabecera-entradas-descuentos {
  position: relative;
  background: #000;
  min-height: 210px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cabecera-joven::before,
.cabecera-prensa::before,
.cabecera-festival::before,
.cabecera-espacios::before,
.cabecera-sur::before,
.cabecera-noticias::before,
.cabecera-entradas-descuentos::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.45)),
    url('../img/cabecera.jpg') center center / cover no-repeat;
  z-index: 0;
}

.cabecera-joven::after,
.cabecera-prensa::after,
.cabecera-festival::after,
.cabecera-espacios::after,
.cabecera-sur::after,
.cabecera-noticias::after,
.cabecera-entradas-descuentos::after {
  content: "";
  position: absolute;
  top: 28px;
  left: 32px;
  width: 48px;
  height: 48px;
  background: var(--rojo-vivo);
  z-index: 1;
}

.cabecera-joven h1,
.cabecera-prensa h1,
.cabecera-festival h1,
.cabecera-espacios h1,
.cabecera-sur h1,
.cabecera-noticias h1,
.cabecera-entradas-descuentos h1 {
  position: relative;
  z-index: 2;
  color: #fff;
  background: rgba(0, 0, 0, .82);
  border: 2px solid rgba(255, 255, 255, .85);
  padding: 18px 26px;
  margin: 26px 20px;
  text-align: left;
  line-height: 1.18;
  letter-spacing: .02em;
  font-size: 2rem !important;
  font-weight: 900;
  max-width: min(760px, calc(100% - 60px));
}
.cabecera-joven h1 .h3,
.cabecera-prensa h1 .h3,
.cabecera-festival h1 .h3,
.cabecera-espacios h1 .h3,
.cabecera-sur h1 .h3,
.cabecera-noticias h1 .h3,
.cabecera-entradas-descuentos h1 .h3 {
  display: block;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,.65);
  font-size: 1.05rem !important;
  font-weight: 400;
  letter-spacing: 0;
  color: #fff;
}

/* =========================
   Inicio / portada
   ========================= */
.video-index {
  max-width: 1112px;
  width: 100%;
  margin: 50px auto;
  background: #1e1e1e;
  box-shadow: var(--sombra-fuerte);
}

.cont-iframe {
  position: relative;
  max-width: 100%; min-height: 350px; height: 650px;
}

iframe,
video {
  width: 100%; height: 100%;
  display: block;
}

.navbar.navbar-default {
  border: 1px solid var(--gris-3);
  background: #fafafa;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 30px;
}

.navbar-default .navbar-brand {
  color: var(--rojo-vivo);
  font-weight: 700;
}

.navbar-nav > li > a {
  padding: 15px 15px !important;
  text-align: center;
  font-weight: 700;
}

.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus,
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
  color: #fff !important;
  background-color: var(--negro-fondo) !important;
}

/* Cards y bloques principales */
.bloque-1,
.bloque-2,
.ateneo-bloque,
.contenedor,
.contenedor2,
.video-index,
.themed-grid-col,
.sidebar > div[style],
.prensa .sidebar > div[style] {
  
}

.bloque-1,
.bloque-2 {
  border: 1px solid var(--gris-3);
  background: #fff;
}

.bloque-1 {
  min-height: 230px;
  margin-bottom: 16px;
}

.bloque-2 {
  min-height: 150px;
  margin-bottom: 16px;
  text-align: center;
}

.ateneo-bloque {
  padding: 18px;
  border: 1px solid #fff;
  margin-bottom: 20px;
  background: var(--gris-2) !important;

}

.contenedor,
.contenedor2 {
  background: var(--gris-2);
  border: 1px solid #d3d3d3;
  padding: 20px;
}

.contenedor {
  display: none;
}

.imagen-ateneo {
  min-width: 150px;
  max-width: 25%;
  height: auto;
  float: right;
  padding: 10px;
}

.imagen-ateneo:hover,
.bloque-1 a:hover img,
.bloque-2 a:hover img,
.bloque-2 a:hover i {
  opacity: .88;
}

.photo-container,
.photo-container2,
.photo-container3 {
  overflow: hidden;
  
}

.photo-container img,
.photo-container2 img,
.photo-container3 img {
  display: block;
  width: 100%;
}

.photo-container2 {
  margin-bottom: 16px;
}

/* =========================
   Fichas y contenidos interiores
   ========================= */
.comun h2,
.comun h3 {
  color: #6f6f6f !important;
  font-weight: 400;
  margin: 10px 0 1px;
}

.comun h3 {
  font-size: 19px;
}

.comun p {
  line-height: 1.7;
}
.ficha-artista {
  margin-bottom: 50px;
}
.ficha-datos {
  background: #d7d4d4;
  color: #fff;
  padding: 15px;
  margin-top: 15px;
  
}
.ficha-premio {
  background: #ffffff; 
  padding: 0 15px 10px 15px;
  margin-bottom: 20px;
  border-top:2px solid #d3d3d3;
  border-bottom:2px solid #d3d3d3;
}
.ficha-datos h2 {
  text-transform: uppercase;
  font-weight: 400;
}

.ficha-datos h2.t1 { font-size: 4.5rem; }
.ficha-datos h2.t2 { font-size: 2.7rem; margin-top: 15px; }
.ficha-datos h2.t3 { font-size: 2.5rem; }
.ficha-datos h2.t4 { font-size: 2rem; }

.ficha .creditos {
  position: absolute;
  right: 16px;
  bottom: 7px;
  z-index: 3;
  color: #fff;
  font-size: 11px;
  text-align: right;
}

.ficha .texto_programa ul li {
  list-style: disc;
  margin-left: 20px;
  padding-top: 8px;
}

.ficha ol {
  margin-left: 40px;
}

.ficha ol.breadcrumb-2 {
  margin-left: 0 !important;
}

.datos { color: #fff; }
.ficha-tipo { text-transform: uppercase; }
.ficha-artistica { margin-top: 20px; }
.ficha-artistica .estreno {
  display: inline-block;
  background: #fff;
  color: #000;
  padding: 10px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 20px;
}

.ficha-artistica .t1 { font-size: 1.5rem; }
.ficha-artistica h4 { color: #fff; }

/* Breadcrumb */
.ficha-datos ol.breadcrumb-2 li,
.ficha-datos ol.breadcrumb-2 li a,
.breadcrumb-2 > li + li:before {
  color: #fff !important;
}

.breadcrumb-2 > li + li:before {
  padding: 0 5px;
  content: "/\00a0";
}

/* =========================
   Botones
   ========================= */
.btn-programacion,
.btn_entradas,
.bt-sidebar,
.compra_entradas a,
.btn.btn-primary,
button,
input[type="button"],
input[type="submit"] {
  display: inline-block;
  border-radius: 0;
  font-weight: 700;
  transition: all var(--transicion);
}

.btn-programacion {
  font-size: 16px;
  background: var(--rojo-vivo);
  color: #fff;
  letter-spacing: .08em;
  padding: 6px 12px;
}

.btn-programacion:hover {
  background: var(--rojo-oscuro);
  color: #fff;
}

.btn.btn-primary,
button,
input[type="button"],
input[type="submit"] {
  background: var(--rojo-vivo);
  border: 1px solid var(--rojo-vivo);
  color: #fff;
  padding: 8px 14px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.btn.btn-primary:hover,
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
  background: var(--rojo-oscuro);
  border-color: var(--rojo-oscuro);
  color: #fff;
}

.btn_entradas {
  width: 90%;
  margin: 5px 0 0 5px;
  padding: 5px 10px;
  font-size: 12px;
  text-align: center;
  background: var(--gris-4);
  color: #fff;
}

.btn_entradas:hover {
  background: #403d36 !important;
  color: #ededed !important;
}

.bt-sidebar {
  display: block;
  margin: 20px 0 20px 40px;
  padding: 20px 7px;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
  background: #ca291f;
  font-size: 14px;
}

.bt-sidebar:hover {
  background: #000;
  color: #fff;
}

.bt-sidebar i { font-size: 18px; margin-right: 3px; }

/* =========================
   Programación
   ========================= */
.programacion h1 {
  font-weight: 900;
  font-size: 2.5rem;
  color: var(--rojo-vivo);
  margin-bottom: 24px;
  letter-spacing: .08em;
  text-align: center;
}

.programacion p { margin: 0; }

.programacion .cajas-programacion {
  display: flex;
  flex-wrap: wrap;
}

.programacion .col-sm-4,
.programacion .col-md-4,
.programacion .col-lg-4 {
  margin-bottom: 24px;
}

.programacion .col-sm-4 a,
.programacion .col-md-4 a,
.programacion .col-lg-4 a {
  display: block;
  margin-bottom: 20px;
  background: #fff;
  border: 1px solid var(--gris-3);
  box-shadow: var(--sombra);
  overflow: hidden;
  opacity: 1;
}

.programacion .col-sm-4 a:hover,
.programacion .col-md-4 a:hover,
.programacion .col-lg-4 a:hover {
  transform: translateY(-2px);
  box-shadow: var(--sombra-fuerte);
}

.programacion .caja-espectaculo,
.espacio,
.programacion .lugar {
  background: var(--rojo-vivo) !important;
  color: #fff;
  padding: 8px 10px;
  margin-bottom: 10px;
}

.programacion .caja-espectaculo {
  font-size: 1rem;
}

.espacio {
  font-size: .9rem;
}

.programacion .lugar {
  font-size: 1.1em;
  margin-bottom: 20px;
}

.programacion .caja-obra {
  margin-top: 20px;
}

.programacion h3 {
  line-height: 1.25;
  margin-top: 5px !important;
  margin-bottom: 12px;
  font-size: 1.8rem;
  font-style: italic;
}

.programa-autor {
	padding-top: 15px;
	text-align: left;
	font-size: 0.9em;
	color: var(--rojo-oscuro);
	text-transform: none;
	margin-bottom: 6px;
	font-weight: 500;
}

.programa-sala {
  border-bottom: 1px solid #7c7c7c;
  background: #292929;
  color: #fff !important;
  padding: 7px 10px;
  font-size: .95rem;
}

.programa-fechas {
  border-bottom: 1px solid var(--gris-3);
  color: #000 !important;
  padding: 8px 0;
  font-size: .95rem;
}

.programa-venta i,
.programa-venta span {
  color: var(--rojo-vivo);
}

.programacion .col-sm-4 a .programa-fechas {
  color: var(--rojo-vivo);
  padding: 5px 0;
}

.fecha {
  line-height: 1.4;
  font-weight: 700;
  border-bottom: 1px dotted #aa9f9d;
  padding-bottom: 10px;
}

.cancelada {
  display: inline-block;
  background: #f00;
  color: #fff;
  padding: 5px;
  margin-bottom: 10px;
}

/* =========================
   Listados, prensa, sidebar
   ========================= */
.info-sidebar {
  margin-left: 40px;
  margin-top: 10px;
  font-size: .95rem;
  line-height: 1.5;
}

.info-sidebar .ciclo {
  font-weight: 700;
  background: #2d2d2d;
  color: #fff;
  text-align: center;
  margin: 5px 0;
  font-size: .9em;
  padding: 5px;
}

.second-child a:hover,
.info-sidebar a:hover {
  color: #666;
}
.material-prensa {
  margin-top: 30px;
  border-top: 1px solid #ddd;
}

.material-prensa > li {
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
}

.material-prensa li ul li {
  display: inline-block;
  vertical-align: top;
}

.material-prensa li ul .first-child {
  width: 59%;
}

.material-prensa li ul .first-child a {
  color: #47454a;
  font-size: 1.1em;
}

.material-prensa li ul .first-child a:hover {
  color: #9f9f9f;
}

.material-prensa li ul .second-child {
  width: 40%;
  text-align: right;
}

.material-prensa li ul .second-child a {
  color: #4e4547;
  font-size: .8em;
}

.prensa h4 {
  margin-top: 60px;
}

.prensa .info-sidebar {
  margin-bottom: 20px;
}

.prensa-tex2 { font-size: 13px; }

/* =========================
   Elementos varios
   ========================= */
ul.lista { padding-left: 20px; }
ul.lista li { margin-bottom: 10px; }

.programa-info { font-size: 16px; }
.noentradas { color: #f00; font-weight: 700; margin-top: 20px; font-size: 120%; }
.critica { font-style: italic; text-align: center; }
.critica li { margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px solid var(--gris-3); }
.aforo-completo { display: inline-block; background: #c03; color: #fff; padding: 5px; margin-top: 10px; }

.pasadas {
  padding: 8px 12px 10px;
  text-align: center;
  margin: 55px auto 20px;
  border: 1px solid #d4d0d0;
  max-width: 1200px;
  background: #e3e3e3;
}

.pasadas ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin: 0;
  padding: 0;
}

.pasadas ul li {
  display: inline-block;
  color: #6f6d6d;
  margin-right: 0;
}

.pasadas ul li a {
  color: #6f6d6d;
}

.pasadas ul li a:hover {
  text-decoration: underline;
}

img.fl_edic_pasadas {
  margin-bottom: 5px;
  margin-right: 10px;
}

/* =========================
   Footer
   ========================= */
footer {
  background: var(--negro-fondo);
  border-top: 2px solid var(--rojo-vivo);
  padding-bottom: 20px;
  margin-top: 30px;
}

.footer {
  color: #c0c0be;
  padding-top: 20px;
  font-size: 12px;
}

.footer ul {
  float: right;
}

.footer ul li {
  display: inline-block;
  padding-left: 10px;
  margin-left: 10px;
  border-left: 1px solid #999;
}

.footer ul li a {
  color: #c0c0be;
}

.footer ul li a:hover {
  text-decoration: underline;
}

.footer .first-child {
  border-left: none;
  padding-left: 0;
  margin-left: 0;
}

.copy img {
  margin-right: 10px;
}

.go-top {
  position: fixed;
  right: 1em;
  bottom: 1em;
  z-index: 120;
  display: none;
  padding: 1em;
  text-decoration: none;
  font-size: 12px;
  color: #fff;
  background: rgba(200, 5, 15, 1);
}

.go-top:hover {
  background: rgba(1, 3, 2, 1);
  color: rgba(255,255,255,1) !important;
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 1199px) {
  .logo { height: 68px; }
  .logos-cam-1 span img { height: 72px; }
  .cabecera-joven h1,
  .cabecera-prensa h1,
  .cabecera-festival h1,
  .cabecera-espacios h1,
  .cabecera-sur h1,
  .cabecera-noticias h1,
  .cabecera-entradas-descuentos h1 {
    font-size: 1.8rem !important;
  }
}

@media (max-width: 991px) {
  header {
    border-bottom-width: 6px;
  }

  .row.logos {
    padding: 10px 0;
  }

  .logo {
    height: 60px;
    margin-bottom: 0;
  }

  .logos-cam-1 span img {
    height: 66px;
  }

  .logos-cam-2 {
    display: block;
  }

  .logos-cam-2 span img {
    display: none;
  }

  h1 {
    font-size: 1.55rem !important;
  }

  .cabecera-joven,
  .cabecera-prensa,
  .cabecera-festival,
  .cabecera-espacios,
  .cabecera-sur,
  .cabecera-noticias,
  .cabecera-entradas-descuentos {
    min-height: 185px;
  }

  .cabecera-joven::after,
  .cabecera-prensa::after,
  .cabecera-festival::after,
  .cabecera-espacios::after,
  .cabecera-sur::after,
  .cabecera-noticias::after,
  .cabecera-entradas-descuentos::after {
    top: 24px;
    left: 24px;
    width: 42px;
    height: 42px;
  }

  .cabecera-joven h1,
  .cabecera-prensa h1,
  .cabecera-festival h1,
  .cabecera-espacios h1,
  .cabecera-sur h1,
  .cabecera-noticias h1,
  .cabecera-entradas-descuentos h1 {
    max-width: calc(100% - 40px);
    margin: 22px 20px;
    padding: 16px 18px;
  }

  .imagen-ateneo {
    max-width: 50%;
  }

  .bloque-1 {
    min-height: 150px;
  }

  .programacion h3 {
    font-size: 16px;
    margin-bottom: 1px;
  }

  .material-prensa li ul .first-child,
  .material-prensa li ul .second-child {
    width: 100%;
    text-align: left;
  }
    .programa-sala { font-size: 11px; }
  .programa-autor,
  .programa-info { font-size: 16px; }
  .programa-fechas { font-size: 10px; }

  .contenedor {
    display: block;
  }

  .contenedor2 {
    display: none;
  }
}

@media (max-width: 767px) {
  header {
    position: sticky;
    top: 0;
  }

  .row.logos {
    align-items: center;
    padding: 8px 0;
  }

  .logo {
    display: block;
    height: 46px;
    margin-left: 8px;
  }

  .logos-cam-1,
  .logos-cam-2,
  .logos-cam-3 {
    display: none !important;
  }

  .carousel-inner {
    display: none;
  }

  .carousel-phone {
    display: block;
    margin-bottom: 1.5rem;
  }

  .cabecera-joven,
  .cabecera-prensa,
  .cabecera-festival,
  .cabecera-espacios,
  .cabecera-sur,
  .cabecera-noticias,
  .cabecera-entradas-descuentos {
    min-height: 155px;
    margin-bottom: 22px;
  }

  .cabecera-joven::after,
  .cabecera-prensa::after,
  .cabecera-festival::after,
  .cabecera-espacios::after,
  .cabecera-sur::after,
  .cabecera-noticias::after,
  .cabecera-entradas-descuentos::after {
    width: 34px;
    height: 34px;
    top: 20px;
    left: 20px;
  }

  .cabecera-joven h1,
  .cabecera-prensa h1,
  .cabecera-festival h1,
  .cabecera-espacios h1,
  .cabecera-sur h1,
  .cabecera-noticias h1,
  .cabecera-entradas-descuentos h1 {
    font-size: 1.35rem !important;
    line-height: 1.2;
    padding: 14px 14px 14px 16px;
    margin: 18px 14px 18px 16px;
    max-width: calc(100% - 30px);
  }

  .cabecera-joven h1 .h3,
  .cabecera-prensa h1 .h3,
  .cabecera-festival h1 .h3,
  .cabecera-espacios h1 .h3,
  .cabecera-sur h1 .h3,
  .cabecera-noticias h1 .h3,
  .cabecera-entradas-descuentos h1 .h3 {
    font-size: .95rem !important;
  }

  .foto {
    margin-left: 12px;
    margin-right: 12px;
    text-align: left;
  }

  .imagen-ateneo {
    max-width: 100%;
    min-width: 150px;
  }

  .bloque-1 {
    min-height: 220px;
  }

  .programacion h1 {
    font-size: 1.5rem;
    letter-spacing: .05em;
  }

  .programacion h3 {
    font-size: 16px;
    height: auto;
  }

  .programa-autor { font-size: 14px; }
  .programa-fechas,
  .programa-sala { font-size: 14px; }
.ficha-datos h2.t2 {
  font-size: 1.7rem;
  margin-top: 10px;
}
  .info-sidebar iframe {
    width: 100%;
    height: 300px;
  }

  .bt-sidebar,
  .info-sidebar,
  h4 {
    margin-left: 0 !important;
  }

  .prensa h4 {
    margin-top: 30px;
  }

  .footer ul {
    float: none;
    margin-top: 30px;
    text-align: center;
  }

  .copy {
    text-align: center;
  }
.cont-iframe {
  position: relative;
  height: 350px; width: 620px;  
}
  .piefoto {
    margin-left: 25px;
  }
}

@media (max-width: 575px) {
  .logo {
    height: 40px;
    margin-left: 6px;
  }

  h1 {
    font-size: 1.3rem !important;
  }

  .titulo,
  h2.titulo {
    font-size: 1.6rem !important;
  }
.cont-iframe {
  position: relative;
  height: 225px; width: 400px;  
}
  .btn.btn-primary,
  button,
  input[type="button"],
  input[type="submit"] {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 420px) {
  section {
    margin-top: 0;
  }

  .breadcrumb {
    display: none !important;
  }

  .cabecera-joven,
  .cabecera-prensa,
  .cabecera-festival,
  .cabecera-espacios,
  .cabecera-sur,
  .cabecera-noticias,
  .cabecera-entradas-descuentos {
    min-height: 140px;
  }

  .cabecera-joven h1,
  .cabecera-prensa h1,
  .cabecera-festival h1,
  .cabecera-espacios h1,
  .cabecera-sur h1,
  .cabecera-noticias h1,
  .cabecera-entradas-descuentos h1 {
    font-size: 1.2rem !important;
  }

  .footer ul li {
    display: block;
    text-align: left;
    font-size: 14px;
    border-top: 1px solid #e5e5e5;
    border-left: none;
    padding-left: 0;
    margin-left: 0;
    margin-top: 5px;
    padding-top: 5px;
  }

  .bloque-1 {
    min-height: 200px;
    margin-bottom: 20px;
  }

  .programacion h1 {
    font-size: 1.25rem !important;
  }

}
/* =========================================================
   AJUSTE DE CONTENEDOR
   Respeta un ancho máximo estable en todos los dispositivos
   ========================================================= */

/* Ancho global de trabajo */
:root {
  --site-max-width: 1170px;
  --site-gutter-desktop: 20px;
  --site-gutter-tablet: 18px;
  --site-gutter-mobile: 12px;
}

/* Bootstrap/container base */
.container {
  width: 100%;
  max-width: var(--site-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--site-gutter-desktop);
  padding-right: var(--site-gutter-desktop);
}

/* Si alguna franja usa container-fluid, la limitamos visualmente */
.container-fluid > .row,
header .row,
section .row,
footer .row,
.row.logos,
.programacion .row,
.comun .row,
.ficha .row,
.prensa .row {
  max-width: var(--site-max-width);
  margin-left: auto;
  margin-right: auto;
}

/* Evita que imágenes/cabeceras se desmadren en monitores grandes */
header .container,
section .container,
footer .container {
  max-width: var(--site-max-width);
}

/* Cabeceras interiores: mantener caja centrada y no excesiva */
.cabecera-joven h1,
.cabecera-prensa h1,
.cabecera-festival h1,
.cabecera-espacios h1,
.cabecera-sur h1,
.cabecera-noticias h1,
.cabecera-entradas-descuentos h1 {
  width: 100%;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* Portada y bloques principales dentro de ancho controlado */
.video-index,
.pasadas,
.contenedor,
.contenedor2 {
  max-width: var(--site-max-width);
  margin-left: auto;
  margin-right: auto;
}

/* Desktop amplio */
@media (min-width: 1400px) {
  .container {
    max-width: var(--site-max-width);
    padding-left: var(--site-gutter-desktop);
    padding-right: var(--site-gutter-desktop);
  }

  .container-fluid > .row,
  header .row,
  section .row,
  footer .row,
  .row.logos,
  .programacion .row,
  .comun .row,
  .ficha .row,
  .prensa .row {
    max-width: var(--site-max-width);
  }
}

/* Portátil / tablet horizontal */
@media (max-width: 1199px) {
  .container {
    max-width: 1000px;
    padding-left: var(--site-gutter-desktop);
    padding-right: var(--site-gutter-desktop);
  }

  .container-fluid > .row,
  header .row,
  section .row,
  footer .row,
  .row.logos,
  .programacion .row,
  .comun .row,
  .ficha .row,
  .prensa .row {
    max-width: 1000px;
  }
}

/* Tablet */
@media (max-width: 991px) {
  .container {
    max-width: 760px;
    padding-left: var(--site-gutter-tablet);
    padding-right: var(--site-gutter-tablet);
  }

  .container-fluid > .row,
  header .row,
  section .row,
  footer .row,
  .row.logos,
  .programacion .row,
  .comun .row,
  .ficha .row,
  .prensa .row {
    max-width: 760px;
  }

  .cabecera-joven h1,
  .cabecera-prensa h1,
  .cabecera-festival h1,
  .cabecera-espacios h1,
  .cabecera-sur h1,
  .cabecera-noticias h1,
  .cabecera-entradas-descuentos h1 {
    max-width: 680px;
  }
}

/* Móvil */
@media (max-width: 767px) {
  .container {
    max-width: 100%;
    padding-left: var(--site-gutter-mobile);
    padding-right: var(--site-gutter-mobile);
  }

  .container-fluid > .row,
  header .row,
  section .row,
  footer .row,
  .row.logos,
  .programacion .row,
  .comun .row,
  .ficha .row,
  .prensa .row {
    max-width: 100%;
  }

  .cabecera-joven h1,
  .cabecera-prensa h1,
  .cabecera-festival h1,
  .cabecera-espacios h1,
  .cabecera-sur h1,
  .cabecera-noticias h1,
  .cabecera-entradas-descuentos h1 {
    max-width: 100%;
  }
}

/* Móvil pequeño */
@media (max-width: 575px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* =========================================================
   CABECERA COMPLETA AL CARGAR
   CABECERA COMPACTA AL HACER SCROLL
   Requiere la clase: header-scrolled
   ========================================================= */

/* Estado base: cabecera completa */
header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #ececec;
  border-bottom: 6px solid var(--rojo);
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
  transition: background-color .25s ease, box-shadow .25s ease, border-color .25s ease;
}

header .container {
  transition: padding .25s ease;
}

/* Fila de logos visible al cargar */
.row.logos {
  display: flex;
  align-items: center;
  padding-top: 12px;
  padding-bottom: 10px;
  min-height: 88px;
  transition: min-height .25s ease, padding .25s ease, opacity .2s ease;
}

.logo {
  display: block;
  height: 100%;
  width: auto;
  transition: height .25s ease, opacity .2s ease, transform .25s ease;
    max-height: 70px;

}

.logos-cam-1,
.logos-cam-2,
.logos-cam-3 {
  transition: opacity .2s ease, transform .25s ease;
}

.logos-cam-1 span img,
.logos-cam-2 span img,
.logos-cam-3 span img {
  height: 84px;
  width: auto;
  transition: height .25s ease, opacity .2s ease, transform .25s ease;
}

/* Menú en estado normal */
#cssmenu {
  margin-top: 0;
  margin-bottom: 0;
  transition: margin .25s ease;
}

/* =========================================================
   ESTADO EN SCROLL: SOLO BOTONES
   ========================================================= */
@media (min-width: 768px) {
  header.header-scrolled {
    background: rgba(236, 236, 236, 0.98);
    box-shadow: 0 2px 14px rgba(0,0,0,.12);
  }

  header.header-scrolled .row.logos {
    min-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
  }

  /* Oculta TODOS los logos al hacer scroll */
  header.header-scrolled .logo,
  header.header-scrolled .logos-cam-1,
  header.header-scrolled .logos-cam-2,
  header.header-scrolled .logos-cam-3,
  header.header-scrolled .lenguage {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
  }

  /* Colapsa por completo la fila de logos */
  header.header-scrolled .row.logos > div,
  header.header-scrolled .row.logos [class*="col-"] {
    height: 0 !important;
    min-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    overflow: hidden;
  }

  /* Menú más compacto en scroll */
  header.header-scrolled #cssmenu {
    margin-top: 0;
    margin-bottom: 0;
  }

  header.header-scrolled #cssmenu > ul {
    gap: 3px;
    align-items: stretch;
  }

  header.header-scrolled #cssmenu > ul > li > a {
    min-height: 34px;
    padding: 10px 14px;
    font-size: 12px;
    letter-spacing: .035em;
  }

  header.header-scrolled #cssmenu ul ul li a {
    font-size: 11px;
    padding: 11px 13px;
  }
}

/* =========================================================
   AJUSTES DESKTOP GRANDE
   ========================================================= */
@media (min-width: 1200px) {
  .row.logos {
    min-height: 92px;
    padding-top: 12px;
    padding-bottom: 10px;
  }

  .logo {
    height: 70px;
  }

  .logos-cam-1 span img,
  .logos-cam-2 span img,
  .logos-cam-3 span img {
    height: 85px;
  }

  header.header-scrolled #cssmenu > ul > li > a {
    min-height: 32px;
    padding: 9px 13px;
    font-size: 12px;
	margin: 5px 0px;
  }
}

/* =========================================================
   TABLET
   ========================================================= */
@media (max-width: 991px) and (min-width: 768px) {
  .row.logos {
    min-height: 74px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .logo {
    height: 58px;
  }

  .logos-cam-1 span img,
  .logos-cam-2 span img,
  .logos-cam-3 span img {
    height: 62px;
  }

  header.header-scrolled #cssmenu > ul > li > a {
    padding: 9px 10px;
    font-size: 11px;
  }
}

/* =========================================================
   MÓVIL
   ========================================================= */
@media (max-width: 767px) {
  header {
    position: sticky;
    top: 0;
  }

  header.header-scrolled .row.logos,
  header.header-scrolled .logo,
  header.header-scrolled .logos-cam-1,
  header.header-scrolled .logos-cam-2,
  header.header-scrolled .logos-cam-3 {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
}

/* =========================================================
   OFFSET PARA ANCLAS INTERNAS CON CABECERA FIJA
   ========================================================= */

/* Clase común para secciones con ancla */
.ancla-seccion {
  /*position: relative;*/
  scroll-margin-top: 10px;
}

/* Compatibilidad extra para navegadores que no respeten bien scroll-margin-top */
.ancla-seccion::before {
  content: "";
  display: block;
  height: 120px;
  margin-top: -120px;
  visibility: hidden;
  pointer-events: none;
}

/* Ajustes responsive según altura real de la cabecera */
@media (max-width: 1199px) {
  .ancla-seccion {
    scroll-margin-top: 110px;
  }

  .ancla-seccion::before {
    height: 110px;
    margin-top: -110px;
  }
}

@media (max-width: 991px) {
  .ancla-seccion {
    scroll-margin-top: 95px;
  }

  .ancla-seccion::before {
    height: 95px;
    margin-top: -95px;
  }
}

@media (max-width: 767px) {
  .ancla-seccion {
    scroll-margin-top: 80px;
  }

  .ancla-seccion::before {
    height: 80px;
    margin-top: -80px;
  }
}
/* =========================================================
   BLOQUES DE GALA
   Corrige desbordes y limpia estilos inline
   ========================================================= */

.gala-wrap {
  background: #c8c8c8;
  padding: 15px;
  margin: 0 0 30px 0;
  overflow: hidden;
}

.gala-row {
  margin-left: 0;
  margin-right: 0;
}

.gala-row + .gala-row {
  margin-top: 15px;
}

.gala-row > [class*="col-"] {
  padding-left: 8px;
  padding-right: 8px;
}

.gala-card,
.gala-info-box,
.gala-mini-card {
  background: #ededed;
  padding: 20px;
  height: 100%;
}

.gala-card--top,
.gala-info-box--top {
  margin-top: 15px;
}

.gala-info-box {
  border: 1px solid #d3d3d3;
}

.gala-info-head {
  padding: 5px 10px;
  background: #010302;
}

.gala-info-head h4 {
  color: #ededed !important;
  text-align: center;
  letter-spacing: 0.05em;
  margin: 0;
}

.gala-venue {
  margin-top: 20px;
}

.gala-title {
  margin: 10px 0 0 0 !important;
}

.gala-title a,
.gala-title {
  color: #c8050e;
}

.gala-title--main,
.gala-title--main a {
  color: #c8050f;
}

.gala-subtitle {
  margin: 0;
}

.gala-section-head {
  background: #c8050f;
  padding: 5px;
  margin-top: 55px;
  text-align: center;
}

.gala-section-head h2 {
  color: #F1F4E1 !important;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-align: center;
  margin: 0;
}

.gala-section-subhead {
  padding: 15px 15px 0 15px;
  background: #ededed;
  margin: 0 0 30px 0;
}

.gala-section-subhead h5,
.gala-section-subhead h3 {
  text-align: center;
}

.gala-section-subhead h3 {
  padding-bottom: 15px;
}

.gala-buy {
  margin-top: 10px;
}

.gala-buy--right {
  text-align: right;
}

.gala-buy .btn,
.gala-buy button {
  margin-top: 0;
}

/* Ajuste de tarjetas existentes */
.themed-grid-col {
  box-shadow: none;
}

/* Mantener las cajas laterales de móvil */
.contenedor,
.contenedor2 {
  background: #ededed;
}

/* Responsive */
@media (max-width: 991px) {
  .gala-card--top,
  .gala-info-box--top {
    margin-top: 0;
  }

  .gala-row + .gala-row {
    margin-top: 10px;
  }

  .gala-wrap {
    padding: 12px;
  }
}

@media (max-width: 767px) {
  .gala-wrap {
    padding: 10px;
    margin-bottom: 20px;
  }

  .gala-row > [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 10px;
  }

  .gala-row > [class*="col-"]:last-child {
    margin-bottom: 0;
  }

  .gala-card,
  .gala-info-box,
  .gala-mini-card {
    padding: 15px;
  }

  .gala-buy--right {
    text-align: left;
  }
}


/* =========================================================
   LIMPIEZA FINAL INDEX 2026
   ========================================================= */

.pagina-index > .row {
  margin-left: -15px;
  margin-right: -15px;
}

.hero-mobile-wrap {
  margin-bottom: 3.5em;
}

.intro-heading {
  text-align: center;
}

.intro-heading__title {
  color: #c8050f;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.intro-heading__subtitle {
  font-size: 20px;
  display: inline-block;
  margin: 10px 0;
}

.intro-heading__director {
  color: #414140;
  font-size: 14px;
  font-weight: 700;
}

.presentacion-texto,
.video-section,
.programacion-nav-wrap,
.gala-block,
.actividades-listado,
.organizacion-content,
.pasadas-wrap {
  margin-bottom: 0;
}

.section-anchor {
  height: 55px;
}

.foto--hero,
.foto--hero-mobile {
  color: #F1F4E1 !important;
  text-align: left;
  padding-left: 15px;
}

.video-index {
  margin: 42px auto 48px;
}

.cont-iframe {
  width: 100%;
  min-height: 0;
  height: auto;
  aspect-ratio: 16 / 9;
}

.gala-section-head {
  margin-top: 30px;
}

.gala-section-subhead {
  margin-bottom: 18px;
}

.programacion-nav-wrap .navbar {
  margin-bottom: 26px;
}

.gala-wrap {
  background: #c8c8c8;
  padding: 12px;
  margin-bottom: 26px;
}

.gala-row {
  margin-left: -6px;
  margin-right: -6px;
}

.gala-row > [class*="col-"] {
  padding-left: 6px;
  padding-right: 6px;
}

.gala-card,
.gala-mini-card,
.gala-info-box {
  background: #ededed;
  padding: 10px;
  height: 100%;
}

.gala-card--top,
.gala-info-box--top {
  margin-top: 0;
}

.gala-mini-card--collab {
  min-height: 100%;
}

.gala-mini-card--collab .gala-title {
  font-size: 18px;
  line-height: 1.35;
  margin-top: 10px !important;
}

.gala-title {
  margin: 8px 0 2px !important;
  line-height: 1.15;
}

.gala-subtitle {
  color: #666;
  line-height: 1.35;
}

.gala-info-box .gala-venue,
.gala-info-box > p:last-of-type {
  text-align: left;
}

.gala-info-box .btn {
  width: auto;
}

.actividad-row {
  margin-bottom: 18px;
}

.actividad-row:last-child {
  margin-bottom: 0;
}

.actividad-fecha {
  margin-bottom: 15px;
}

.actividad-tipo {
  padding: 10px 10px 0;
  color: #c8050e;
}

.actividad-titulo {
  padding: 10px;
}

.actividad-texto {
  padding-left: 10px;
  margin-bottom: 0;
}

.actividad-invitado {
  padding: 5px 10px 0;
  font-weight: 400;
}

.actividad-lateral .photo-container {
  background: #ededed;
  padding: 0;
}

.organizacion-content {
  margin-top: 35px;
  text-align: center;
}

.organizacion-titulo {
  color: #c8050f;
  text-align: center;
  margin: 0 0 18px;
}

.organizacion-item {
  text-align: center;
  margin-bottom: 18px;
}

.pasadas-wrap {
  margin-top: 10px;
}

.actividad-panel {
  width: 100%;
  margin: 0 auto 25px auto;
}

.actividad-tabla {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.actividad-tabla th,
.actividad-tabla td {
  padding: 4px 8px;
  vertical-align: top;
  font-size: 16px;
  line-height: 1.45;
}

.actividad-tabla th {
  width: 180px;
  font-weight: 400;
  text-decoration: underline;
  white-space: nowrap;
}

.actividad-tabla td {
  font-weight: 400;
}

.actividad-tabla td strong {
  font-weight: 700;
}


#programacion,
#actividades-paralelas,
#organizacion {
  scroll-margin-top: 120px;
}

@media (min-width: 992px) {
  .gala-info-mobile {
    display: none;
  }

  .gala-row--bottom {
    display: flex;
    flex-wrap: nowrap;
  }

  .gala-row--bottom > .col-md-4 {
    float: left;
  }

  .gala-row--bottom > .gala-info-mobile {
    display: none !important;
  }
}
@media (max-width: 767px) {
  .actividad-tabla,
  .actividad-tabla tbody,
  .actividad-tabla tr,
  .actividad-tabla th,
  .actividad-tabla td {
    display: block;
    width: 100%;
  }

  .actividad-tabla tr {
    margin-bottom: 12px;
  }

  .actividad-tabla th {
    padding-bottom: 2px;
    white-space: normal;
  }

  .actividad-tabla td {
    padding-top: 0;
  }
}
@media (max-width: 991px) {
  .container-fluid > .row,
  header .row,
  section .row,
  footer .row,
  .row.logos,
  .programacion .row,
  .comun .row,
  .ficha .row,
  .prensa .row {
    margin-left: -15px;
    margin-right: -15px;
    max-width: none;
  }

  .contenedor {
    display: block;
  }

  .contenedor2,
  .gala-info-desktop {
    display: none !important;
  }

  .gala-info-mobile {
    display: block;
  }

  .gala-row--bottom {
    display: flex;
    flex-wrap: wrap;
  }

  .gala-row--bottom > .col-md-4 {
    width: 33.33333333%;
  }

  .gala-row--bottom > .gala-info-mobile {
    width: 33.33333333%;
  }
}

@media (max-width: 767px) {
  .container-fluid > .row,
  header .row,
  section .row,
  footer .row,
  .row.logos,
  .programacion .row,
  .comun .row,
  .ficha .row,
  .prensa .row,
  .pagina-index > .row {
    margin-left: -10px;
    margin-right: -10px;
    max-width: none;
  }

  .hero-mobile-wrap {
    margin-bottom: 18px;
  }

  .intro-heading__title {
    font-size: 18px;
    letter-spacing: 0.16em;
  }

  .intro-heading__subtitle {
    font-size: 17px;
  }

  .presentacion-texto p {
    font-size: 14px;
    line-height: 1.65;
  }

  .video-index {
    margin: 24px auto 28px;
  }

  .cont-iframe {
    aspect-ratio: 16 / 9;
  }

  .gala-section-head {
    margin-top: 22px;
  }

  .gala-wrap {
    padding: 8px;
    margin-bottom: 18px;
  }

  .gala-row,
  .gala-row--top,
  .gala-row--bottom {
    display: block;
    margin-left: 0;
    margin-right: 0;
  }

  .gala-row > [class*="col-"] {
    width: 100% !important;
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 8px;
    float: none;
  }

  .gala-row > [class*="col-"]:last-child {
    margin-bottom: 0;
  }

  .gala-card,
  .gala-mini-card,
  .gala-info-box {
    padding: 8px;
  }

  .gala-title {
    font-size: 30px;
  }

  .gala-mini-card .gala-title {
    font-size: 17px;
  }

  .gala-mini-card--collab .gala-title {
    font-size: 16px;
  }

  .gala-subtitle {
    font-size: 11px;
  }

  .gala-info-head h4 {
    font-size: 13px;
  }

  .gala-venue,
  .gala-info-box p {
    font-size: 12px;
    line-height: 1.45;
  }

  .programacion-nav-wrap .navbar-brand {
    display: block;
  }

  .actividad-row {
    margin-bottom: 14px;
  }

  .actividad-lateral {
    margin-top: 0;
  }

  .piefoto {
    margin-left: 0;
  }

  .organizacion-content {
    margin-top: 28px;
  }
}

@media (max-width: 575px) {
  .gala-section-head h2 {
    font-size: 1.6em;
    letter-spacing: 0.16em;
  }

  .gala-section-subhead {
    padding: 12px 10px 0;
  }

  .gala-section-subhead h5 {
    font-size: 12px;
    line-height: 1.45;
  }

  .gala-title {
    font-size: 28px;
  }

  .gala-mini-card .gala-title {
    font-size: 16px;
  }

  .btn.btn-primary,
  button,
  input[type="button"],
  input[type="submit"] {
    width: 100%;
  }
}
