/* app/assets/stylesheets/themes/sbdfirapro.css
   Theme pack SBD Fira PRO: copia del aspecto de sbdfirapro.sabadell.cat
   (WordPress Astra + Spectra). Medidas tomadas de la web original;
   referencia en ~/sirimiri-capturas/sbdfirapro. Todo va bajo
   body.theme-sbdfirapro para no tocar el resto de eventos. */

/* ==========================================================================
   Fuentes (Google Fonts alojadas en local: latin + latin-ext)
   ========================================================================== */
@font-face{ font-family:"Karla"; font-style:normal; font-weight:400; font-display:fallback;
  src:url("/assets/themes/sbdfirapro/karla-latin-3833ee90.woff2") format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face{ font-family:"Karla"; font-style:normal; font-weight:400; font-display:fallback;
  src:url("/assets/themes/sbdfirapro/karla-latin-ext-3d64f3f8.woff2") format("woff2");
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face{ font-family:"Rubik"; font-style:normal; font-weight:300 900; font-display:fallback;
  src:url("/assets/themes/sbdfirapro/rubik-latin-8104fbe9.woff2") format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face{ font-family:"Rubik"; font-style:normal; font-weight:300 900; font-display:fallback;
  src:url("/assets/themes/sbdfirapro/rubik-latin-ext-d31dc19e.woff2") format("woff2");
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face{ font-family:"Montserrat"; font-style:normal; font-weight:100 900; font-display:fallback;
  src:url("/assets/themes/sbdfirapro/montserrat-latin-a441a262.woff2") format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face{ font-family:"Montserrat"; font-style:normal; font-weight:100 900; font-display:fallback;
  src:url("/assets/themes/sbdfirapro/montserrat-latin-ext-2d4e2ecd.woff2") format("woff2");
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* ==========================================================================
   Tokens y base
   ========================================================================== */
body.theme-sbdfirapro{
  --sbd-orange: #ff6f3e;
  --sbd-orange-line: #ff6900;
  --sbd-active: #f07162;
  --sbd-text: #3a3a3a;
  --sbd-rose: #c85b76;
  --sbd-gold: #efc462;
  --sbd-container: 1200px;

  /* Tokens de public_event.css que usan los módulos de Matchia */
  --primary: var(--sbd-orange);
  --text: #000;
  --container: var(--sbd-container);

  margin: 0;
  overflow-x: clip; /* el submenú de la derecha se corta en el borde, como en Astra */
  background: #fff;
  color: #000;
  font-family: "Karla", sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.85714;
}

body.theme-sbdfirapro h1,
body.theme-sbdfirapro h2,
body.theme-sbdfirapro h3,
body.theme-sbdfirapro h4{
  font-family: "Rubik", sans-serif;
  font-weight: 400;
}

/* ==========================================================================
   Cabecera (Astra: barra 134px, logo 225×100, menú Montserrat 12px)
   ========================================================================== */
.sbd-header{
  position: relative;
  z-index: 99;
  background: #fff;
}

.sbd-header__bar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 0 35px;
}

.sbd-header__brand{
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 17px 0;
}

.sbd-header__logo{ display: block; line-height: 0; }
/* Caja 225:100 del original (100px de alto en escritorio); contain para que
   un logo con otra proporción no se deforme */
.sbd-header__logo img{
  display: block;
  width: 225px;
  max-width: 225px;
  height: auto;
  aspect-ratio: 225 / 100;
  object-fit: contain;
}
.sbd-header__logoText{
  font-family: "Rubik", sans-serif;
  font-size: 24px;
  line-height: 1.2;
  color: var(--sbd-orange);
}

.sbd-header__tagline{
  margin: 0 0 0 37px;
  font-family: "Karla", sans-serif;
  font-size: 16px;
  font-weight: 700; /* <strong> en el original: negrita sintética de Karla 400 */
  line-height: 16px;
  color: var(--sbd-rose);
}

/* Pegado a la derecha; si no cabe, ocupa lo que queda (30px tras el lema)
   y parte en filas alineadas a la izquierda, como Astra a 1024px. */
.sbd-nav{
  display: flex;
  align-items: center;
  min-width: 0;
  margin-left: auto;
  padding-left: 30px;
}

.sbd-nav__menu{
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sbd-nav__item{
  position: relative;
  display: flex;
  justify-content: center;
  height: 70px;
}

.sbd-nav__link{
  display: flex;
  align-items: center;
  height: 70px;
  padding: 0 12px;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  line-height: 70px;
  text-transform: uppercase;
  color: var(--sbd-text);
  cursor: pointer;
  transition: color .2s linear;
}

.sbd-nav__item:hover > .sbd-nav__link,
.sbd-nav__item:focus-within > .sbd-nav__link,
.sbd-nav__item.is-active > .sbd-nav__link{
  color: var(--sbd-active);
}

.sbd-chevron{
  position: relative;
  top: .4px; /* Astra la apoya en la línea base, no la centra */
  width: .6em;
  height: .6em;
  margin-left: 10px;
  fill: currentColor;
}

.sbd-nav__sub{
  position: absolute;
  top: 70px;
  left: -99999px; /* cerrado fuera de pantalla (Astra): no ensancha la página */
  z-index: 99999;
  width: 240px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: #fff;
  box-shadow: 0 4px 10px -2px rgba(0, 0, 0, .1);
  visibility: hidden;
  opacity: 0;
  transition: opacity .2s linear;
}

.sbd-nav__item:hover > .sbd-nav__sub,
.sbd-nav__item:focus-within > .sbd-nav__sub{
  left: 0;
  visibility: visible;
  opacity: 1;
}

.sbd-nav__subLink{
  display: block;
  padding: 10.8px 12px;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  line-height: 17.4px;
  text-transform: uppercase;
  color: var(--sbd-text);
  transition: color .2s linear;
}

.sbd-nav__subLink:hover,
.sbd-nav__subItem.is-active > .sbd-nav__subLink{
  color: var(--sbd-active);
}

.sbd-lang{
  display: flex;
  gap: 8px;
  margin-left: 12px;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  text-transform: uppercase;
}
.sbd-lang a{ color: var(--sbd-text); }
.sbd-lang a.is-active{ color: var(--sbd-active); }

/* Menú móvil: oculto en escritorio */
.sbd-mobile{ display: none; }

/* ==========================================================================
   Cabecera móvil (Astra: corte en 921px)
   ========================================================================== */
@media (max-width: 921px){
  .sbd-nav{ display: none; }

  .sbd-header__bar{
    padding: 0 85.5px 0 20px; /* 20 + botón 45.5 + 20 */
  }

  .sbd-header__brand{
    flex: 1;
    justify-content: space-between;
  }

  .sbd-header__logo img{
    width: 140px;
    max-width: 140px;
  }

  .sbd-header__tagline{
    margin: 0;
    font-size: 13.3333px;
    line-height: 13.3333px;
  }

  .sbd-mobile{ display: block; }

  .sbd-mobile__toggle{
    position: absolute;
    top: 25.35px; /* centrado en la barra de 96.2px */
    right: 20px;
    display: flex;
    align-items: center;
    padding: 12.75px;
    border-radius: 2px;
    color: var(--sbd-gold);
    cursor: pointer;
    list-style: none;
  }
  .sbd-mobile__toggle::-webkit-details-marker{ display: none; }

  .sbd-mobile__toggle svg{
    display: block;
    width: 20px;
    height: 20px;
    fill: currentColor;
  }

  .sbd-mobile__iconClose{ display: none !important; }
  .sbd-mobile[open] .sbd-mobile__iconOpen{ display: none !important; }
  .sbd-mobile[open] .sbd-mobile__iconClose{ display: block !important; }

  .sbd-mobile__panel{
    background: #fff;
  }

  .sbd-mobile__link,
  .sbd-mobile__subLink{
    display: flex;
    align-items: center;
    padding: 0 20px;
    font-family: "Karla", sans-serif;
    font-size: 17px;
    line-height: 51px;
    text-transform: uppercase;
    color: var(--sbd-text);
    background: #fff;
  }

  .sbd-mobile__link{
    justify-content: space-between;
    cursor: pointer;
    list-style: none;
  }
  .sbd-mobile__link::-webkit-details-marker{ display: none; }
  .sbd-mobile__link a{ color: inherit; }

  /* Dorado: página actual, su grupo y el grupo desplegado (Astra no gira la flecha) */
  .sbd-mobile__link.is-active,
  .sbd-mobile__group.is-active > .sbd-mobile__link,
  .sbd-mobile__group[open] > .sbd-mobile__link,
  .sbd-mobile__subLink.is-active{
    color: var(--sbd-gold);
  }

  .sbd-mobile__caret{
    display: flex;
    align-items: center;
    padding: 0 15.4px;
  }
  .sbd-mobile__caret .sbd-chevron{
    width: 15px;
    height: 15px;
    margin: 0;
  }
  .sbd-mobile__subLink{
    padding: 0 20px 0 30px;
  }

  /* La misma flecha girada 270°, como .icon-arrow de Astra en móvil */
  .sbd-mobile__subLink .sbd-chevron{
    top: 0;
    width: .65em;
    height: .65em;
    margin: 0 5px 0 0;
    transform: rotateZ(270deg);
  }

  .sbd-lang--mobile{ margin: 0; padding: 15px 20px; }
}

@media (max-width: 767px){
  .sbd-header__logo img{
    width: 100px;
    max-width: 100px;
  }

  .sbd-mobile__toggle{ top: 16.45px; } /* centrado en la barra de 78.4px */
}

/* ==========================================================================
   Footer (Astra): línea naranja, franja de logos y copyright.
   Escritorio: 4 columnas en 1200px · tablet (≤921): 4 columnas con logos
   proporcionales · móvil (≤544): apilados.
   ========================================================================== */
.sbd-footer{
  margin-top: 10px;
  padding-top: 40px;
  border-top: 2px solid var(--sbd-orange-line);
  background: #fff;
}

/* 70px blancos encima y franja #fefefe a todo el ancho detrás de los logos */
.sbd-footer__logos{
  border-top: 70px solid #fff;
  background: #fefefe;
}

.sbd-footer__grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 95px;
  max-width: 1200px;
  margin: 0 auto;
}

.sbd-footer__logo{
  display: flex;
  justify-content: center;
}

/* Caja 171×69 como el original, que la fuerza aunque la imagen no tenga esa proporción */
.sbd-footer__logo img{
  display: block;
  width: 171px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 171 / 69;
}

.sbd-footer__copyright{
  min-height: 120px;
  padding: 20px 0;
  font-family: "Karla", sans-serif;
  font-size: 13px;
  line-height: 24.1429px;
  color: #000;
  text-align: center;
}
.sbd-footer__copyright p{ margin: 0; }
.sbd-footer__copyright a{ color: var(--sbd-text); }

@media (max-width: 921px){
  .sbd-footer{ padding-top: 50px; }

  .sbd-footer__logos{ padding: 80px 25px 90px; }

  .sbd-footer__grid{
    column-gap: 40px;
    max-width: none;
  }

  .sbd-footer__logo{ justify-content: flex-start; }
}

@media (max-width: 544px){
  .sbd-footer__logos{ padding: 50px 25px 60px; }

  .sbd-footer__grid{
    grid-template-columns: 1fr;
    row-gap: 23px;
  }

  .sbd-footer__logo{ justify-content: center; }
}

/* ==========================================================================
   Bloques de página (mods de ThemeMods) con las medidas de Spectra/Astra
   ========================================================================== */
body.theme-sbdfirapro{ --container: 1200px; }

/* Contenedores raíz de Spectra: min(1200px, 100% - 20px) centrados */
.theme-sbdfirapro .mb-stats,
.theme-sbdfirapro .mb-faq,
.theme-sbdfirapro .mb-text:not(.mb-text--legal),
.theme-sbdfirapro .mb-map,
.theme-sbdfirapro .mb-media{
  max-width: 1220px;
  padding-left: 10px;
  padding-right: 10px;
}

/* Cifras (DADES): h1 Rubik 48px naranja, 5 columnas de 221px con 24px */
.theme-sbdfirapro .mb-stats__title{
  margin: 0 0 20px;
  font-family: "Rubik", sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--sbd-orange);
}
.theme-sbdfirapro .mb-stats__grid{ grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.theme-sbdfirapro .mb-stats__item{ display: flex; flex-direction: column; align-items: center; }
.theme-sbdfirapro .mb-stats__icon{ display: block; width: 65px; height: 65px; margin-bottom: 11px; fill: #000; }
.theme-sbdfirapro .mb-stats__number{ font-family: "Karla", sans-serif; font-size: 52px; line-height: 61px; color: var(--sbd-orange); }
.theme-sbdfirapro .mb-stats__label{ margin: 10px 0 17px; font-size: 16px; line-height: 19px; color: #4b4f58; }
@media (max-width: 921px){ .theme-sbdfirapro .mb-stats__title{ font-size: 40px; } }
@media (max-width: 976px){ .theme-sbdfirapro .mb-stats__grid{ padding-top: 17px; padding-bottom: 17px; } }
@media (max-width: 781px){ .theme-sbdfirapro .mb-stats__grid{ grid-template-columns: 1fr; row-gap: 23.5px; } }
@media (max-width: 544px){ .theme-sbdfirapro .mb-stats__title{ font-size: 36px; } }

/* Tarjetas giratorias (Essential Blocks): 440×450, reverso Karla 25px blanco */
.theme-sbdfirapro .mb-flip{ gap: 20px; padding-left: 10px; padding-right: 10px; }
.theme-sbdfirapro .mb-flip__card{ width: min(440px, calc((100% - 20px) / 2)); height: 450px; margin: 28px 0; }
/* Como Essential Blocks: la tarjeta no crece; el reverso puede rebasarla */
.theme-sbdfirapro .mb-flip__inner{ height: 100%; }
.theme-sbdfirapro .mb-flip__back{ justify-content: flex-start; padding: 20px 10px 0; }
.theme-sbdfirapro .mb-flip__text{ margin: 0 0 10px; }
@media (max-width: 781px){ .theme-sbdfirapro .mb-flip__card{ width: 100%; } }
/* Por debajo de 976px las tarjetas miden 380px: el texto largo del reverso no cabría en 450 */
@media (max-width: 976px){ .theme-sbdfirapro .mb-flip--pair .mb-flip__text{ font-size: 22px; line-height: 1.75; } }
.theme-sbdfirapro .mb-flip__text{ margin: 10px 0; font-size: 25px; line-height: 46.4286px; color: #fff; }
.theme-sbdfirapro .mb-flip__button{
  padding: 5px 10px;
  border-radius: 4px;
  line-height: 36.5625px;
  background: linear-gradient(#ff691e, #e65f1c);
  color: #fff;
  font-size: 17px;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .15);
}
.theme-sbdfirapro .mb-flip--wide .mb-flip__card{ width: 600px; min-height: 0; height: 310px; }
@media (max-width: 767px){ .theme-sbdfirapro .mb-flip--wide .mb-flip__card{ width: 100%; height: 420px; } }
.theme-sbdfirapro .mb-flip--wide .mb-flip__text{ font-size: 20px; line-height: 37.1429px; }

/* Tarjetas de imagen: 3×335 o 2×556 con 40px; tablet (Spectra ≤976) 175 / 354;
   móvil (≤767) una columna de 350 */
.theme-sbdfirapro .mb-cards{ gap: 40px; }
.theme-sbdfirapro .mb-cards--3{ grid-template-columns: repeat(3, 335px); }
.theme-sbdfirapro .mb-cards--2{ grid-template-columns: repeat(2, 556px); }
.theme-sbdfirapro .mb-cards__card{ margin: 0; }
.theme-sbdfirapro .mb-cards--3 .mb-cards__card{ margin: 34px 0; }
@media (max-width: 976px){
  .theme-sbdfirapro .mb-cards--3{ grid-template-columns: repeat(3, 175px); }
  .theme-sbdfirapro .mb-cards--2{ grid-template-columns: repeat(2, 354.39px); }
}
@media (max-width: 767px){
  .theme-sbdfirapro .mb-cards--3,
  .theme-sbdfirapro .mb-cards--2{ grid-template-columns: 350px; }
}

/* Imagen + texto: "blocks" (Què has de saber) */
.theme-sbdfirapro .mb-media--blocks{ max-width: none; padding: 0; }
.theme-sbdfirapro .mb-media--blocks .mb-media__row{
  justify-content: center;
  gap: 40px;
  padding: 20px 10px;
}
.theme-sbdfirapro .mb-media--blocks .mb-media__figure,
.theme-sbdfirapro .mb-media--blocks .mb-media__body{ flex: 0 0 var(--col, 556px); max-width: var(--col, 556px); }
.theme-sbdfirapro .mb-media--blocks .mb-media__figure{ display: flex; justify-content: center; }
.theme-sbdfirapro .mb-media--blocks .mb-media__figure img{ width: var(--img-w, 100%); aspect-ratio: var(--img-ratio, auto); }
.theme-sbdfirapro .mb-media__text{ font-size: 17px; line-height: 31.5714px; }
.theme-sbdfirapro .mb-media__text p{ margin: 0 0 27.2px; }
@media (max-width: 976px){
  .theme-sbdfirapro .mb-media--blocks{ padding: 20px 10px; }
  .theme-sbdfirapro .mb-media--blocks .mb-media__row,
  .theme-sbdfirapro .mb-media--blocks .mb-media__row--right{ flex-direction: row; align-items: center; padding: 0; }
  .theme-sbdfirapro .mb-media--blocks .mb-media__row + .mb-media__row{ margin-top: 40px; }
  .theme-sbdfirapro .mb-media--blocks .mb-media__figure,
  .theme-sbdfirapro .mb-media--blocks .mb-media__body{ flex-basis: 354px; max-width: 354px; }
  .theme-sbdfirapro .mb-media--blocks .mb-media__figure img{ width: 100%; }
  .theme-sbdfirapro .mb-media--blocks .mb-media__text{ line-height: 25.5px; }
}
@media (max-width: 767px){
  .theme-sbdfirapro .mb-media--blocks .mb-media__row,
  .theme-sbdfirapro .mb-media--blocks .mb-media__row--right{ flex-direction: column; align-items: center; }
  .theme-sbdfirapro .mb-media--blocks .mb-media__figure,
  .theme-sbdfirapro .mb-media--blocks .mb-media__body{ flex-basis: auto; width: 350px; max-width: 100%; }
}

/* Imagen + texto: "titled" (Orientació). Mitades de 600px; imágenes recortadas */
.theme-sbdfirapro .mb-media--titled{ max-width: 1280px; padding: 112px 40px; }
.theme-sbdfirapro .mb-media--titled .mb-media__row{ align-items: flex-start; gap: 0; }
.theme-sbdfirapro .mb-media--titled .mb-media__figure,
.theme-sbdfirapro .mb-media--titled .mb-media__body{ flex: 0 0 50%; max-width: 50%; }
.theme-sbdfirapro .mb-media--titled .mb-media__row:first-child .mb-media__figure{ display: flex; justify-content: center; }
.theme-sbdfirapro .mb-media--titled .mb-media__figure img{ width: var(--img-w); height: var(--img-h); object-fit: cover; }
.theme-sbdfirapro .mb-media--titled .mb-media__body{ align-self: center; padding: 0 72px; }
.theme-sbdfirapro .mb-media--titled .mb-media__title{
  margin: 0 0 20px;
  font-family: "Rubik", sans-serif;
  font-size: 30px;
  line-height: 1.3;
  color: var(--sbd-text);
}
.theme-sbdfirapro .mb-media--titled .mb-media__text{ font-size: var(--text-size, 18px); line-height: 1.85714; color: #4b4f58; }
.theme-sbdfirapro .mb-media--titled .mb-media__text p{ margin: 0; }
@media (max-width: 976px){
  .theme-sbdfirapro .mb-media--titled{ padding: 80px 32px; }
  .theme-sbdfirapro .mb-media--titled .mb-media__row,
  .theme-sbdfirapro .mb-media--titled .mb-media__row--right{ flex-direction: row; align-items: flex-start; }
  .theme-sbdfirapro .mb-media--titled .mb-media__row:first-child .mb-media__figure{ display: block; }
  .theme-sbdfirapro .mb-media--titled .mb-media__figure img{ width: 100%; height: 350px; }
  .theme-sbdfirapro .mb-media--titled .mb-media__body{ padding: 0 32px; }
  .theme-sbdfirapro .mb-media--titled .mb-media__title{ margin-bottom: 16px; font-size: 26px; }
  .theme-sbdfirapro .mb-media--titled .mb-media__text{ font-size: 17px; line-height: 31.5714px; }
}
@media (max-width: 767px){
  .theme-sbdfirapro .mb-media--titled{ padding: 64px 24px; }
  .theme-sbdfirapro .mb-media--titled .mb-media__row,
  .theme-sbdfirapro .mb-media--titled .mb-media__row--right{ flex-direction: column; }
  .theme-sbdfirapro .mb-media--titled .mb-media__figure,
  .theme-sbdfirapro .mb-media--titled .mb-media__body{ flex-basis: auto; width: 100%; max-width: 100%; }
  .theme-sbdfirapro .mb-media--titled .mb-media__figure img{ height: 250px; }
  .theme-sbdfirapro .mb-media--titled .mb-media__body{ align-self: stretch; padding: 24px; }
  .theme-sbdfirapro .mb-media--titled .mb-media__title{ margin-bottom: 12px; font-size: 22px; }
}

/* FAQ (Spectra): caja 1px #d2d2d2, cabecera 10px, icono 12px */
.theme-sbdfirapro .mb-faq__question{ align-items: center; font-size: 17px; font-weight: 700; line-height: 20px; color: #000; }
.theme-sbdfirapro .mb-faq__icon{ margin: 0; }

/* Texto */
.theme-sbdfirapro .mb-text--intro .mb-text__body > *{ margin: 0; font-family: "Rubik", sans-serif; font-size: 24px; font-weight: 400; line-height: 1.2; text-align: center; color: var(--sbd-text); }
@media (max-width: 921px){ .theme-sbdfirapro .mb-text--intro .mb-text__body > *{ font-size: 20px; } }
@media (max-width: 544px){ .theme-sbdfirapro .mb-text--intro .mb-text__body > *{ font-size: 18px; } }
.theme-sbdfirapro .mb-text--contact .mb-text__body p{ margin: 0 0 28.8px; font-size: 18px; line-height: 33.4286px; text-align: center; }
.theme-sbdfirapro .mb-text--contact .mb-text__columns{ gap: 24px; }
.theme-sbdfirapro .mb-text--contact .mb-text__columns p{ margin: 0; }
@media (max-width: 921px){ .theme-sbdfirapro .mb-text--contact .mb-text__columns{ padding: 17px 0; } }
@media (max-width: 781px){ .theme-sbdfirapro .mb-text--contact .mb-text__columns{ gap: 23px; } }
@media (max-width: 976px){ .theme-sbdfirapro .mb-map__frame{ height: 300px; } }
.theme-sbdfirapro .mb-text--heading .mb-text__body h3,
.theme-sbdfirapro .mb-text--heading .mb-text__body h2{
  max-width: 1024px;
  margin: 0 auto;
  font-family: "Rubik", sans-serif;
  font-size: 30px;
  line-height: 39px;
  color: #736e6e;
}
@media (max-width: 921px){ .theme-sbdfirapro .mb-text--heading .mb-text__body :is(h2, h3){ font-size: 26px; line-height: 1.3; } }
@media (max-width: 544px){ .theme-sbdfirapro .mb-text--heading .mb-text__body :is(h2, h3){ font-size: 22px; } }
.theme-sbdfirapro .mb-text--legal{ max-width: none; }
.theme-sbdfirapro .mb-text__header{ margin: 68px 0 25.5px; padding: 0 20px; }
.theme-sbdfirapro .mb-text__title{ margin: 0 0 6px; font-family: "Rubik", sans-serif; font-size: 30px; line-height: 36px; color: var(--sbd-text); }
.theme-sbdfirapro .mb-text--legal p{ margin: 0 0 27.2px; }
.theme-sbdfirapro .mb-text--legal pre{
  margin: 0 0 27.2px;
  padding: 27.2px;
  overflow: auto;
  background: #eee;
  font-family: "Courier 10 Pitch", Courier, monospace;
  font-size: 17px;
  line-height: 31.5714px;
  white-space: pre;
  word-wrap: break-word;
}
.theme-sbdfirapro .mb-text--legal pre code{
  display: block;
  font-family: inherit;
  font-size: 17px;
  line-height: normal;
  white-space: break-spaces;
}
.theme-sbdfirapro .mb-text--legal ol,
.theme-sbdfirapro .mb-text--legal ul{ margin: 0 0 25.5px 51px; padding: 0; }

/* Logos: filas de 5 de 200×200 con 45px */
.theme-sbdfirapro .mb-logos__row{ max-width: 1200px; padding: 10px; gap: 20px 45px; }
@media (max-width: 976px){
  .theme-sbdfirapro .mb-logos__row{ flex-wrap: nowrap; justify-content: space-between; padding: 27px 10px; gap: 24px; }
  .theme-sbdfirapro .mb-logos__item{ width: calc((100% - 96px) / 5); height: auto; aspect-ratio: 1; }
}
@media (max-width: 767px){
  .theme-sbdfirapro .mb-logos__row{ flex-direction: column; align-items: center; }
  .theme-sbdfirapro .mb-logos__item{ width: 200px; height: 200px; }
}

/* Galería: mosaico de 5 (gap 8) y fila de 4 fotos 282×188 */
.theme-sbdfirapro .mb-gallery--row{ max-width: 1220px; margin: 0 auto; padding-left: 10px; padding-right: 10px; }

/* Filas del sorteo: escritorio 600px (título Rubik 32px naranja | botón 278×115);
   tablet dos columnas de 378 con 24px; móvil apiladas */
.theme-sbdfirapro .mb-rows{ max-width: 600px; display: flex; flex-direction: column; gap: 19.67px; }
.theme-sbdfirapro .mb-rows__row{ align-items: center; padding: 10px; }
.theme-sbdfirapro .mb-rows__label{ font-family: "Rubik", sans-serif; font-size: 32px; font-weight: 400; line-height: 1.3; color: #ff6e3d; }
.theme-sbdfirapro .mb-rows__button{ flex: 0 0 278px; }
.theme-sbdfirapro .mb-rows__button img{ width: 278px; height: 115px; }
@media (max-width: 976px){
  .theme-sbdfirapro .mb-rows{ max-width: none; gap: 0; padding: 0 10px; }
  .theme-sbdfirapro .mb-rows__row{ display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 27px 0; }
  .theme-sbdfirapro .mb-rows__button img{ width: 100%; height: auto; aspect-ratio: 278 / 115; }
}
@media (max-width: 767px){
  .theme-sbdfirapro .mb-rows__row{ grid-template-columns: 1fr; padding: 27px 0 26px; }
  .theme-sbdfirapro .mb-rows__label{ font-size: 28px; }
}

/* Botón (Spectra) */
.theme-sbdfirapro .mb-button__link{ padding: 15px 45px; border-radius: 5px; background: var(--sbd-orange); color: #000; font-size: 17px; line-height: 17px; }

/* Banners: Spectra pasa a 150px por debajo de 976px; las bandas van al 52% */
.theme-sbdfirapro .mb-banner--band{ background-position: 52% 50%; }
@media (max-width: 976px){
  .theme-sbdfirapro .mb-banner--page{ min-height: 150px; }
}

/* Galería (Spectra): mosaico 5 / 3 / 2 columnas con 8px */
.theme-sbdfirapro .mb-gallery--grid .mb-gallery__grid{ grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 976px){ .theme-sbdfirapro .mb-gallery--grid .mb-gallery__grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px){ .theme-sbdfirapro .mb-gallery--grid .mb-gallery__grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Solicitud de participación: tipografía de la web (Rubik / Karla) y botón naranja */
.theme-sbdfirapro .mb-signup{ max-width: 900px; }
.theme-sbdfirapro .mb-signup__title{
  margin: 0 0 24px;
  font-family: "Rubik", sans-serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.3;
  text-align: center;
  color: var(--sbd-orange);
}
.theme-sbdfirapro .mb-signup__intro{ margin-bottom: 24px; }
.theme-sbdfirapro .mb-signup__legend{ font-family: "Rubik", sans-serif; font-size: 22px; font-weight: 400; color: var(--sbd-text); }
.theme-sbdfirapro .mb-signup__label{ font-size: 15px; line-height: 1.4; color: var(--sbd-text); }
.theme-sbdfirapro .mb-signup__input{ border-color: #dddddd; border-radius: 2px; font-family: "Karla", sans-serif; font-size: 16px; line-height: 1.4; }
.theme-sbdfirapro .mb-signup__input:focus{ outline: 2px solid var(--sbd-orange); outline-offset: 0; border-color: var(--sbd-orange); }
.theme-sbdfirapro .mb-signup__check{ font-size: 15px; line-height: 1.5; }
.theme-sbdfirapro .mb-signup__option{ font-size: 15px; line-height: 1.5; }
.theme-sbdfirapro .mb-signup__check a{ color: var(--sbd-orange); text-decoration: underline; }
.theme-sbdfirapro .mb-signup__submit{
  display: block;
  margin: 28px auto 0;
  padding: 12px 36px;
  border-radius: 5px;
  background: linear-gradient(#ff691e, #e65f1c);
  font-family: "Karla", sans-serif;
  font-size: 17px;
  text-transform: uppercase;
}
@media (max-width: 767px){ .theme-sbdfirapro .mb-signup__title{ font-size: 28px; } }
.theme-sbdfirapro .mb-signup__terms-link{ color: var(--sbd-orange); }
.theme-sbdfirapro .mb-signup__dialog-head h2{ font-family: "Rubik", sans-serif; font-weight: 400; color: var(--sbd-text); }
.theme-sbdfirapro .mb-signup__dialog-body{ font-size: 15px; }

/* Aviso de cookies: el del original (plugin Cookie Notice), con «Rebutjar» al lado de «Acceptar». */
.theme-sbdfirapro .mb-cookies{ background: #e8e1ce; color: #f9590d; box-shadow: none; text-align: center; font-family: -apple-system, BlinkMacSystemFont, Arial, Roboto, "Helvetica Neue", sans-serif; font-size: 13px; line-height: 20px; font-weight: 400; letter-spacing: 0; }
.theme-sbdfirapro .mb-cookies__inner{ display: block; max-width: none; padding: 15px 30px; }
.theme-sbdfirapro .mb-cookies__text{ display: inline-block; margin: 0 0 6px; }
.theme-sbdfirapro .mb-cookies__buttons{ display: inline-block; }
.theme-sbdfirapro .mb-cookies__button{ margin: 0 5px 5px; padding: 8.5px 10px; border-radius: 2rem; background: #545454; color: inherit; font-size: 13px; letter-spacing: .25px; line-height: 1; text-decoration: none; }
.theme-sbdfirapro .mb-cookies__close{ right: 15px; }
.theme-sbdfirapro .mb-consent-gate__button{ border-radius: 2rem; background: #545454; color: #f9590d; }
