/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

html {
  scrollbar-width: none; /* Para navegadores basados en Firefox */
  -ms-overflow-style: none; /* Para Internet Explorer y Edge */
  scroll-behavior: initial;
}
::selection {
  color: white;
  background: #22d0ff;
}
body::-webkit-scrollbar {
  display: none !important; /* Para navegadores basados en WebKit (Chrome, Safari, etc.) */
}
.scrollbar {
  position: fixed;
  right: 0;
  bottom: 0;
  top: 0;
  z-index: 10;
  mix-blend-mode: difference;
  /* padding: 24px 0; */
}

.scrollbar .inner {
  height: 100%;
  position: relative;
}
.theme-switcher {
  width: 10px;
  display: none;
}
.scrollbar .thumb {
  min-height: 50;
  width: 30px;
  background-color: #e9e9ea;
  position: absolute;
  right: 0px;
  border-radius: 10px;
  /* border: 1px solid black; */
  cursor: grab;
  margin-right: 7px;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
a,
button,
.brxe-text-basic,
.brxe-text,
.wp-block-heading,
.wp-block-paragraph {
  /* Configuración moderna (Chrome 133+) */
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
  /* line-height: 1; */
}
.split-line {
  line-height: 1.15em;
  /* Desactivar text-box-trim para evitar que se corten las descendentes */
  text-box-trim: none;
  text-box-edge: auto;
}
.bricks-button {
  transition: all 0.3s ease;
  gap: 10px;
  filter: brightness(1);
}
.bricks-button.bricks-background-primary:hover {
  filter: brightness(1.2);
}
.bricks-button.bricks-background-secondary:hover {
  opacity: 0.95;
}
@media (max-width: 992px) {
  :root #brx-content {
    --section-margin: 25px;
    --top-bottom-padding: 5rem;
  }
  html #brx-content .fw_image,
  html #brx-content .fw_video {
    min-height: 198px;
    max-height: 200px;
  }
}
/* main * {
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}
header * {
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}
footer * {
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
} */
/* overlay para imagens com overlay */
.brxe-image.overlay::before {
  mix-blend-mode: color !important;
}

/**
 * Estilos para el frontend del plugin Agenda SSSIF
 */

/* Container principal */
.agenda-sssif-container {
  font-family: inherit;
}

/* Hall */
.agenda-hall {
  margin-bottom: 40px;
}

.agenda-hall:last-child {
  margin-bottom: 0;
}

.agenda-hall-title {
  font-size: 2em;
  margin-bottom: 10px;
  color: #333;
  border-bottom: 2px solid #0073aa;
  padding-bottom: 10px;
}

.agenda-hall-description {
  font-size: 1.1em;
  color: #666;
  margin-bottom: 30px;
  font-style: italic;
}

/* Día */
.agenda-day {
  margin-bottom: 30px;
  border-radius: 8px;
  overflow: hidden;
}

.agenda-day-title {
  font-size: 1.5em;
  margin: 0;
  padding: 15px 20px;
  background: #f8f9fa;
  color: #333;
  border-bottom: 1px solid #e9ecef;
}

/* Tabla de eventos */
.agenda-table {
  width: 100%;
}

.agenda-events-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.agenda-events-table tr {
  /* border-bottom: 1px solid #e9ecef; */
}

.agenda-events-table tr:last-child {
  border-bottom: none;
}

/* Celda de hora */
.agenda-time {
  width: fit-content;
  padding-top: 0.9rem;
  padding-right: 1.5rem;
  vertical-align: top;
  background-color: transparent;
  text-align: center;
}

.event-time {
  color: var(--bricks-color-ajmuvu);
  font-family: "Space Mono";
  font-size: 0.96875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.375rem; /* 141.935% */
  letter-spacing: -0.025rem;
}

/* Celda de contenido */
.agenda-content {
  border-radius: 0.625rem;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 1rem;
  gap: 0.625rem;
  flex-shrink: 0;
  vertical-align: top;
}
.menahall_wrapper .agenda-content {
  background: var(--sssifebebeb, #ebebeb);
  color: var(--sssif-002882, #002882) !important;
}
.menahall_wrapper .agenda-content .event-title {
  color: var(--sssif-002882, #002882) !important;
}
.menahall_wrapper .event-time {
  color: var(--sssif-002882, #002882) !important;
}

.event-title {
  font-size: 1.3em;
  color: white;
  font-family: "Space Grotesk";
  font-size: 0.96875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.25rem; /* 129.032% */
  letter-spacing: -0.025rem;
}

.event-description {
  padding-left: 1rem;
  color: white;
  font-family: "Space Grotesk";
  font-size: 0.96875rem;
  font-style: normal;
  font-weight: 300;
  line-height: 1.375rem; /* 141.935% */
  letter-spacing: -0.025rem;
}

.event-description p {
  margin-bottom: 1rem;
}

/* .event-description p:last-child {
  margin-bottom: 0;
} */

/* Tipos de highlight */
.agenda-event-highlight-1 .agenda-content {
  padding: 1rem;
  text-align: left;
  gap: 0.625rem;
  border-radius: 0.625rem;
  background: rgba(34, 208, 255, 0.15);
}
.menahall_wrapper .agenda-event-highlight-1 .event-title {
  color: var(--sssif-002882, #002882) !important;
}
.agenda-event-highlight-1 .event-title {
  color: var(--sssif-22-d-0-ff, #22d0ff);
  /* Desktop/P1 */
  font-size: 0.96875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.25rem; /* 129.032% */
  letter-spacing: -0.025rem;
}

.agenda-event-highlight-2 .agenda-content {
  border: 1px solid var(--sssif-22-d-0-ff, #22d0ff);
  background: rgba(34, 208, 255, 0.25);
}

.agenda-event-highlight-2 .event-title {
  color: var(--sssif-22-d-0-ff, #22d0ff);
}

/* Estados hover para interactividad */
.agenda-event:hover {
  /* background: #f8f9fa;
  transition: background-color 0.3s ease; */
}

.agenda-event-highlight-1:hover .agenda-content {
  /* background: linear-gradient(135deg, #bbdefb 0%, #e1bee7 100%); */
}

.agenda-event-highlight-2:hover .agenda-content {
  /* background: linear-gradient(135deg, #ffe0b2 0%, #f8bbd9 100%); */
}
.agenda-events-table tbody {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}
.agenda-events-table tbody tr {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  width: 100%;
}
.agenda-event {
  display: flex;
}
.agenda-content {
  flex-grow: 1;
}
@media (max-width: 992px) {
  .agenda-time {
    padding: 1rem 1.5rem 1rem 0rem;
    text-align: left;
    width: fit-content;
    max-width: 46px;
  }
  .agenda-events-table {
    margin-top: 2rem;
  }
} /* Estilos de impresión */
@media print {
  .agenda-sssif-container {
    margin: 0;
  }

  .agenda-hall {
    page-break-before: always;
    margin-bottom: 20px;
  }

  .agenda-hall:first-child {
    page-break-before: auto;
  }

  .agenda-day {
    border: 1px solid #ccc;
    margin-bottom: 20px;
  }

  .agenda-event:hover {
    background: transparent;
  }

  .agenda-event-highlight-1:hover .agenda-content,
  .agenda-event-highlight-2:hover .agenda-content {
    background: transparent;
  }
}

.live-agenda {
  animation: liveAgenda 1s infinite;
}
@keyframes liveAgenda {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* ==========================================================================
   Sponsors Tables - Frontend Styles
   ========================================================================== */

/* Contenedor general de las tablas */
.sponsors-table-wrapper {
  overflow-x: auto;
}

.sponsors-table-container {
  width: 100%;
  /* margin: 20px 0; */
}

/* Estilos base de la tabla */
.sponsors-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  /* border-radius: 8px; */
  border-collapse: separate; /* Importante: no collapse */
  border-spacing: 0.25rem;
  overflow: hidden;
}

.sponsors-table tbody tr td {
  border-radius: 0.625rem !important;
  background: rgba(235, 235, 235, 0.45);
  padding: 1rem !important;
  font-size: 0.96875rem !important;
  font-style: normal;
  font-weight: 400;
  line-height: 1rem !important; /* 129.032% */
  letter-spacing: -0.025rem !important;
  max-width: 250px !important;
  min-width: 50px;
}

/* Header de la tabla */
.sponsors-table thead th,
.sponsors-table tfoot td {
  color: var(--bricks-color-yrvrqo);
  padding: 1rem;
  text-align: center;
  font-size: 0.96875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1rem; /* 129.032% */
  letter-spacing: -0.025rem;
  border-radius: 0.625rem;
}

.sponsors-table thead th:first-child {
  text-align: left;
  background: #34495e;
}

.characteristic-header {
  opacity: 0;
}
/* Celdas del cuerpo */
.sponsors-table tbody td {
  padding: 12px;

  vertical-align: middle;
  text-align: center;
  font-size: 14px;
}

.sponsors-table tbody td.characteristic-cell {
  text-align: left;
  font-weight: 400;
  background: #f8f9fa;
}

/* Footer de la tabla */
.sponsors-table tfoot td {
  background: #ecf0f1;
}

.sponsors-table tfoot td.footer-label {
  text-align: left;
  background-color: var(--bricks-color-yrvrqo);
  color: white;
}

.sponsors-table tfoot td.footer-price {
  font-weight: 400;
}

/* ==========================================================================
   Estilos específicos por tipo de tabla
   ========================================================================== */

/* Tabla General - Colores de los niveles de patrocinio */
.sponsors-table-general tbody .platinium {
  background: rgba(206, 175, 255, 0.4);
}

.sponsors-table-general tbody .gold {
  border-radius: 0.625rem;
  background: rgba(255, 225, 107, 0.4);
}

.sponsors-table-general tbody .silver {
  border-radius: 0.625rem;
  background: rgba(207, 207, 207, 0.6);
}

.sponsors-table-general tbody .bronze {
  border-radius: 0.625rem;
  background: rgba(248, 168, 83, 0.4);
}
thead .platinium,
tfoot .platinium {
  border-radius: 0.625rem;
  background: #ceafff;
  text-transform: uppercase;
}

thead .gold,
tfoot .gold {
  border-radius: 0.625rem;
  background: #ffe16b;
  text-transform: uppercase;
}

thead .silver,
tfoot .silver {
  border-radius: 0.625rem;
  background: #cfcfcf;
  text-transform: uppercase;
}

thead .bronze,
tfoot .bronze {
  border-radius: 0.625rem;
  background: #f8a853;
  text-transform: uppercase;
}

/* Tabla Digital */
.sponsors-table-digital thead .benefits {
  border-radius: 0.625rem;
  background: rgba(34, 208, 255, 0.4);
}
.sponsors-table-digital .benefits {
  border-radius: 0.625rem;
  background: rgba(34, 208, 255, 0.15);
}

.sponsors-table-digital .benefits.footer-price {
  border-radius: 0.625rem;
  background: rgba(34, 208, 255, 0.4);
}
.sponsors-table-digital th.benefits {
  min-width: 33%;
}

/* Tabla Adicional - Colores alternados */
.sponsors-table-additional .additional-even {
  border-radius: 0.625rem;
  background: rgba(34, 208, 255, 0.15);
}

.sponsors-table-additional .additional-odd {
  border-radius: 0.625rem;
  background: var(--sssifebebeb, #ebebeb);
}
.sponsors-table-additional thead .additional-even {
  border-radius: 0.625rem;
  background: rgba(34, 208, 255, 0.4);
}

.sponsors-table-additional thead .additional-odd {
  border-radius: 0.625rem;
  background: #d7d7d7;
}
.sponsors-table-additional tfoot .additional-even {
  border-radius: 0.625rem;
  background: rgba(34, 208, 255, 0.4);
}

.sponsors-table-additional tfoot .additional-odd {
  border-radius: 0.625rem;
  background: #d7d7d7;
}

/* ==========================================================================
   Leyenda y avisos
   ========================================================================== */

.sponsors-table-legend {
  margin: 15px 0;
  padding: 10px 15px;
  background: #f8f9fa;
  display: none;
  border-radius: 5px;
  font-size: 14px;
}

.sponsors-table-legend h4 {
  margin: 0 0 10px 0;

  font-size: 16px;
}

.sponsors-table-legend ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sponsors-table-legend li {
  margin: 5px 0;
  display: flex;
  align-items: center;
}

.sponsors-table-legend .sponsors-included,
.sponsors-table-legend .sponsors-excluded {
  margin-right: 10px;
  min-width: 20px;
}

.sponsors-table-notice {
  padding: 15px;
  display: none;
  margin: 15px 0;
  font-weight: 400;
}

.sponsors-table-notice.digital-exclusive {
  background: #d4edda;

  text-align: center;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
  .sponsors-table {
    font-size: 12px;
  }

  .sponsors-table thead th,
  .sponsors-table tbody td,
  .sponsors-table tfoot td {
    padding: 8px 6px;
  }

  .sponsors-table tfoot td.footer-price {
    font-size: 14px;
  }

  .sponsors-table-general .platinium.footer-price,
  .sponsors-table-general .gold.footer-price,
  .sponsors-table-general .silver.footer-price,
  .sponsors-table-general .bronze.footer-price,
  .sponsors-table-digital .benefits.footer-price {
    font-size: 14px;
  }

  .sponsors-table-wrapper {
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
  }

  .sponsors-table {
    min-width: 600px;
  }
}

@media (max-width: 480px) {
  .sponsors-table {
    font-size: 11px;
    min-width: 500px;
  }

  .sponsors-table thead th,
  .sponsors-table tbody td,
  .sponsors-table tfoot td {
    padding: 6px 4px;
  }
}

/* ==========================================================================
   Efectos hover
   ========================================================================== */

.sponsors-table tbody tr:hover {
  background-color: rgba(0, 123, 255, 0.05);
}

.sponsors-table tbody tr:hover td.characteristic-cell {
  background-color: rgba(0, 123, 255, 0.1);
}

/* ==========================================================================
   Accesibilidad
   ========================================================================== */

.sponsors-table {
  /* border: 1px solid #dee2e6; */
}

.sponsors-table th,
.sponsors-table td {
  /* border: 1px solid #dee2e6; */
}

@media (prefers-reduced-motion: reduce) {
  .sponsors-table tbody tr {
    transition: none;
  }
}

/* Alto contraste para mejor legibilidad */
@media (prefers-contrast: high) {
  .sponsors-table {
    border: 2px solid #000;
  }

  .sponsors-table th,
  .sponsors-table td {
    border: 1px solid #000;
  }

  .sponsors-included {
    color: #000;
  }

  .sponsors-excluded {
    color: #000;
  }
}

/* scroll lenis */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis:not(.lenis-autoToggle).lenis-stopped {
  overflow: clip;
}

.lenis [data-lenis-prevent],
.lenis [data-lenis-prevent-wheel],
.lenis [data-lenis-prevent-touch] {
  overscroll-behavior: contain;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

.lenis.lenis-autoToggle {
  transition-property: overflow;
  transition-duration: 1ms;
  transition-behavior: allow-discrete;
}

/* Mapa Interactivo Styles */
.mapa-slot-interactive {
  cursor: pointer !important;
  transition: all 0.3s ease;
}

.mapa-slot-interactive:hover g path:first-child {
  fill-opacity: 1 !important;
}

/* Estados de slots */
.mapa-slot-available g path:first-child {
  fill: #1eff00 !important;
  fill-opacity: 0.3 !important;
}

g.mapa-slot-not_available g path:first-child {
  fill: #22d0ff !important;
  fill-opacity: 0.3 !important;
}
