/*
Theme Name: Astra Child
Template: astra
*/

/* ═══════════════════════════════════════
   FUENTES
═══════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=PT+Mono&display=swap');

@font-face {
    font-family: 'Heading-Pro-Bold';
    src: url('fonts/Heading-Pro-Extrabold.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

h5 {
  font-family: 'PT Mono', monospace !important;
  text-transform: none !important;
  color: #e63329 !important;
}


/* ═══════════════════════════════════════
   CABECERA
═══════════════════════════════════════ */

/* Menú superior */
.site-above-header-wrap .ast-builder-menu a,
.site-above-header-wrap nav a {
  color: #000 !important;
  font-family: 'Roboto', sans-serif !important;
  font-weight: 400 !important;
  text-transform: uppercase !important;
}

.site-above-header-wrap .ast-builder-menu a[href*="entradas"],
.site-above-header-wrap nav a[href*="entradas"] {
  font-weight: 700 !important;
}

.site-above-header-wrap .ast-builder-menu a:hover {
  color: #fff !important;
}

/* Icono ENTRADAS */
.site-above-header-wrap .ast-builder-menu a[href*="entradas"]::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 22px;
  margin-right: 6px;
  vertical-align: middle;
  background-image: url("https://test.laboratorium.eus/wp-content/uploads/2026/02/t.png");
  background-repeat: no-repeat;
  background-size: contain;
}

/* Botones idioma WPML */
.ast-lswitcher-item-header {
  background-color: #000 !important;
  color: #fff !important;
  border-radius: 4px !important;
  padding: 4px 12px !important;
  font-family: 'Roboto', sans-serif !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  text-transform: uppercase !important;
  margin-left: 4px !important;
}

.ast-lswitcher-item-header:hover {
  background-color: #fff !important;
  color: #000 !important;
}

/* Header negro en HOME */
.home .ast-primary-header-bar {
  background-color: #000 !important;
}

.home .ast-primary-header-bar .menu-link,
.home .ast-primary-header-bar .menu-text {
  color: #fff !important;
}

.home .ast-primary-header-bar .menu-link:hover .menu-text,
.home .ast-primary-header-bar .current-menu-item .menu-text {
  color: #e63329 !important;
}

.home .ast-primary-header-bar .sub-menu {
  background-color: #000 !important;
}

.home .ast-primary-header-bar .sub-menu a {
  color: #fff !important;
}

.home .ast-primary-header-bar .sub-menu a:hover {
  color: #e63329 !important;
}


/* ═══════════════════════════════════════
   PIE DE PÁGINA
═══════════════════════════════════════ */

/* Cinta ticker */
.footer-ticker-wrap {
  background-color: #e63329;
  overflow: hidden;
  width: 100%;
  padding: 10px 0;
}

.footer-ticker {
  display: flex;
  white-space: nowrap;
  animation: ticker-scroll 50s linear infinite;
}

.footer-ticker span {
  color: #000;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding-right: 60px;
  font-family: 'PT Mono', monospace;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.site-above-footer-wrap[data-section="section-above-footer-builder"] .ast-builder-grid-row {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Columna contacto */
.footer-col-2,
.footer-col-2 a {
  color: #fff !important;
}

.footer-col-2 h1 {
  color: #fff !important;
}

.footer-col-2 p {
  color: #fff !important;
  font-size: 15px;
  line-height: 1.5 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.footer-col-2 .footer-etikoa {
  margin-top: 50px;
}

/* Newsletter */
.footer-col-3 h1,
.footer-newsletter-desc {
  color: #fff !important;
}

.footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 16px;
}

.footer-newsletter-desc,
.footer-newsletter input[type="email"] {
  font-size: 15px !important;
  line-height: 1.5 !important;
  margin-bottom: 25px !important;
  padding: 0 !important;
}

.footer-newsletter input[type="email"] {
  background: transparent;
  border: 3px solid #fff;
  border-radius: 30px;
  font-weight: 600;
  outline: none;
  width: 60%;
  padding: 25px 22px !important;
}

.footer-newsletter input[type="email"]::-webkit-input-placeholder {
  color: #fff !important;
  font-weight: 700 !important;
  opacity: 1 !important;
}

.footer-newsletter input[type="email"]::placeholder {
  color: #aaa;
}

.footer-newsletter button {
  background-color: #fff;
  color: #000;
  border: none;
  border-radius: 40px;
  padding: 10px 10px;
  font-weight: 900;
  font-size: 15px;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: background 0.2s;
  width: 30%;
}

.footer-newsletter button:hover {
  background-color: #e63329;
  color: #fff;
}

/* Menú footer */
.footer-nav-wrap *,
.ast-footer-menu *,
.footer-menu *,
.site-footer .menu *,
.site-footer nav * {
  font-family: 'Roboto', sans-serif !important;
  font-size: 12pt !important;
  text-transform: none !important;
}

.site-footer nav a:hover,
.site-footer nav a:active {
  color: #e63329 !important;
}

.ast-footer-menu li,
.site-footer .menu li {
  margin-right: 0px !important;
}


/* ═══════════════════════════════════════
   PÁGINA PRINCIPAL
═══════════════════════════════════════ */

/* Hero slider */
.hero-slider {
  position: relative;
  width: 100%;
  height: 700px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 65%;
  height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0) 100%);
}

.hero-content {
  position: absolute;
  bottom: 150px;
  left: 200px;
  z-index: 2;
  max-width: 45%;
}

.hero-content h2 {
  color: #fff;
  font-size: 60px;
  font-weight: 900;
  text-transform: uppercase;
  font-family: 'Roboto', sans-serif;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-content * {
  text-decoration: none !important;
}

.hero-btn {
  display: inline-block;
  border: 2px solid #fff;
  color: #fff;
  padding: 12px 30px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 30px;
  letter-spacing: 0.1em;
  text-decoration: none !important;
  font-family: 'Roboto', sans-serif;
  transition: background 0.2s;
}

.hero-btn:hover {
  background-color: #e63329;
  border-color: #e63329;
  color: #fff;
}

/* Flechas hero */
.hero-prev,
.hero-next {
  position: absolute;
  bottom: 47px;
  background: transparent !important;
  border: none;
  color: #fff;
  font-size: 60px;
  font-weight: 700;
  cursor: pointer;
  z-index: 3;
  padding: 0;
}

.hero-prev { left: 200px; }
.hero-next { left: 395px; }

.hero-next:hover,
.hero-prev:hover {
  color: #e63329 !important;
}

.hero-next:active,
.hero-prev:active,
.hero-next:focus,
.hero-prev:focus {
  color: #e63329 !important;
  outline: none !important;
}

/* Puntos hero */
.hero-dots {
  position: absolute;
  bottom: 60px;
  left: 240px;
  display: flex;
  gap: 8px;
  z-index: 3;
}

.hero-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #e63329;
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.2s;
}

.hero-dot.active {
  opacity: 1;
}



/* Carrusel Essential Blocks */
.eb-post-carousel-wrapper .slick-next {
  right: -65px !important;
}

.eb-post-carousel-wrapper .ebpg-carousel-post-link,
.eb-post-carousel-wrapper .ebpg-carousel-post-link:hover,
.eb-post-carousel-wrapper .ebpg-entry-title a {
  text-decoration: none !important;
}

.eb-post-carousel-wrapper .ebpg-entry-thumbnail {
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
}

.eb-post-carousel-wrapper .ebpg-entry-thumbnail img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Próximos eventos */
.proximos-eventos {
  background-color: #1a2d5a;
  padding: 100px 0 150px;
  position: relative;
  overflow: visible !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  box-sizing: border-box !important;
}

.proximos-eventos::after {
  content: "";
  display: block;
  position: absolute;
  bottom: -250px;
  right: 0;
  width: 600px;
  height: 800px;
  background-image: url('https://test.laboratorium.eus/wp-content/uploads/2026/03/LABORATORIUM-IMAGOTIPOA_GORRIA-scaled.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right bottom;
  z-index: 10;
  pointer-events: none;
}

.proximos-eventos-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.proximos-eventos-header {
  margin-bottom: 30px;
}

.proximos-eventos-header h2 {
  font-family: 'Heading-Pro-Bold', sans-serif;
  font-size: 60px;
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 4px;
}

.proximos-eventos-ver-todos {
  font-family: 'PT Mono', Courier, monospace;
  font-size: 15px;
  color: #fff;
  text-decoration: underline;
}

.proximos-eventos-ver-todos:hover,
.proximos-eventos-ver-todos:active {
  color: #e63329 !important;
}

.proximos-eventos-lista {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.proximos-eventos-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
}

.proximos-eventos-img {
  position: relative;
  flex-shrink: 0;
}

.proximos-eventos-img img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
}

.proximos-eventos-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #e63329;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 30px;
  text-transform: uppercase;
  font-family: 'Roboto', sans-serif;
}

.proximos-eventos-info {
  flex: 1;
}

.proximos-eventos-fecha {
  font-family: 'PT Mono', Courier, monospace;
  font-size: 15px;
  color: #e63329;
  display: block;
  margin-bottom: 6px;
}

.proximos-eventos-info h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 30px;
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}

.proximos-eventos-mas {
  font-family: 'PT Mono', Courier, monospace;
  font-size: 15px;
  color: #fff;
  white-space: nowrap;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  align-self: center !important;
  gap: 4px;
  text-decoration: none !important;
}

.proximos-eventos-flecha img {
  width: 20px;
  height: 20px;
  filter: brightness(10);
}

.proximos-eventos-mas:hover,
.proximos-eventos-mas:active {
  color: #e63329;
}

.proximos-eventos-sep {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.2);
  margin: 0;
}

/* Actualidad (sección home) */
.actualidad-seccion {
  padding: 0px 0 150px;
  position: relative;
}

.actualidad-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.actualidad-header {
  margin-bottom: 30px;
}

.actualidad-header h2 {
  font-family: 'Heading-Pro-Bold', sans-serif !important;
  font-size: 60px !important;
  font-weight: 900;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 4px;
  text-align: center !important;
}

.actualidad-ver-todos {
  font-family: 'PT Mono', Courier, monospace;
  font-size: 15px;
  color: #e63329;
  text-decoration: underline;
}

.actualidad-ver-todos:hover {
  color: #000;
}

.actualidad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.actualidad-item {
  display: flex;
  flex-direction: column;
}

.actualidad-img {
  position: relative;
  width: 100%;
  padding-top: 65%;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  margin-bottom: 12px;
}

.actualidad-cat {
  position: absolute;
  top: 30px;
  right: 30px;
  background-color: #e63329;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 30px;
  text-transform: uppercase;
  font-family: 'Roboto', sans-serif;
  text-decoration: none !important;
}

.actualidad-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.actualidad-info h3 {
  flex: 1;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #000;
  margin-bottom: 12px;
  text-transform: none !important;
}

.actualidad-info h3 a {
  color: #000 !important;
  text-decoration: none !important;
}

.actualidad-info h3 a:hover {
  color: #e63329 !important;
}

.actualidad-fecha-wrap {
  border-top: 1px solid #ccc;
  padding-top: 8px;
  margin-top: auto;
}

.actualidad-fecha {
  font-family: 'Courier New', Courier, monospace;
  font-size: 15px;
  color: ##ADD8E6;
}


/* ═══════════════════════════════════════
   EXPOSICIONES
═══════════════════════════════════════ */

.exposiciones-seccion {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
}

.exposiciones-titulo {
  font-family: 'Heading-Pro-Bold', sans-serif !important;
  font-size: 60px !important;
  text-align: center !important;
  text-transform: uppercase !important;
  margin-bottom: 30px !important;
}

.exposiciones-filtros {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  border: 2px solid #000;
  border-radius: 30px;
  overflow: hidden;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.exposiciones-filtro {
  padding: 10px 150px;
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-weight: 700;
  background: transparent !important;
  color: #000;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.exposiciones-filtro.active {
  background: #1a2d5a !important;
  color: #fff !important;
}

.exposiciones-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.exposiciones-item {
  border: 1px solid #ddd !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  padding: 15px !important;
}

.exposiciones-item--full {
  grid-column: 1 / -1;
  max-width: 50%;
  margin: 0 auto;
}

.exposiciones-item a {
  text-decoration: none !important;
  color: #000 !important;
  display: block;
}

.exposiciones-img {
  width: 100%;
  padding-top: 75%;
  background-size: cover;
  background-position: center;
  position: relative;
  margin-bottom: 12px;
}

.exposiciones-badge {
  position: absolute !important;
  top: 25px !important;
  right: 25px !important;
  background-color: #e63329 !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 5px 14px !important;
  border-radius: 30px !important;
  font-family: 'Roboto', sans-serif !important;
  z-index: 2 !important;
}

.exposiciones-plus {
  position: absolute !important;
  bottom: 10px !important;
  right: 10px !important;
  width: 28px !important;
  height: 28px !important;
  background: rgba(255,255,255,0.8) !important;
  color: #000 !important;
  font-size: 20px !important;
  font-weight: 300 !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

.exposiciones-subcat {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #e63329;
  display: block;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.exposiciones-item-titulo {
  font-family: 'Roboto', sans-serif !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  color: #000 !important;
  margin: 0 0 8px !important;
}

.exposiciones-item-desc {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  color: #444;
  line-height: 1.5;
}


/* ═══════════════════════════════════════
   AGENDA
═══════════════════════════════════════ */

.agenda-seccion {
  padding: 40px 300px;
}

.agenda-filtros {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.agenda-filtro {
  border: 2px solid #4C6E90 !important;
  border-radius: 30px !important;
  padding: 8px 24px !important;
  font-family: 'Roboto', sans-serif !important;
  font-weight: 100 !important;
  font-size: 16px !important;
  color: #4C6E90 !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
  background: transparent !important;
}

.agenda-filtro.active,
.agenda-filtro:hover {
  color: #4C6E90 !important;
  font-weight: 900 !important;
  border-color: #4C6E90 !important;
  background: transparent !important;
}

.agenda-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.agenda-item {
  border: 1px solid #ddd !important;
  border-radius: 3px !important;
  overflow: hidden !important;
  padding: 15px !important;
}

.agenda-img {
  position: relative;
  width: 100%;
  padding-top: 65%;
  background-size: cover;
  background-position: center;
  margin-bottom: 12px;
}

.agenda-cat {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: #e63329;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 30px;
  text-transform: uppercase;
  font-family: 'Roboto', sans-serif;
}

.agenda-info {
  padding: 0 4px;
}

.agenda-fecha {
  font-family: 'PT Mono', Courier, monospace;
  font-size: 18px;
  color: #e63329;
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

.agenda-info h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
  color: #000;
  margin: 0;
}

.agenda-info h3 a {
  color: #000 !important;
  text-decoration: none !important;
}

.agenda-info h3 a:hover {
  color: #e63329 !important;
}

.page-id-283 .entry-title {
  font-size: 60px !important;
  font-weight: 900;
  text-align: center !important;
  text-transform: uppercase !important;
}


/* ═══════════════════════════════════════
   EVENTO INDIVIDUAL
═══════════════════════════════════════ */

.single-tribe_events a,
.tribe-events-single a {
  color: #000 !important;
  text-decoration: none !important;
}

.single-tribe_events a:hover,
.tribe-events-single a:hover {
  color: #e63329 !important;
}

.tribe-events-schedule,
.tribe-events-nav-pagination,
#tribe-events-header,
#tribe-events-footer,
.tribe-events-back {
  display: none !important;
}

.single-tribe_events .ast-article-single {
  display: grid !important;
  grid-template-areas:
    "titulo titulo"
    "imagen meta"
    "desc desc"
    "relacionados relacionados" !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 40px !important;
  align-items: stretch !important;
}

.single-tribe_events .tribe-events-single-event-title {
  grid-area: titulo !important;
  font-family: 'Heading-Pro-Bold', sans-serif !important;
  font-size: 40px !important;
  text-transform: uppercase !important;
  color: #000 !important;
  margin-top: 30px !important;
}

.single-tribe_events .tribe-events-event-image {
  grid-area: imagen !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  border-bottom: 1px solid #ddd !important;
}

.single-tribe_events .tribe-events-event-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  margin-bottom: 0 !important;
}

.single-tribe_events .tribe-events-single-section {
  grid-area: meta !important;
  border-top: 1px solid #ddd !important;
  border-bottom: 1px solid #ddd !important;
  padding: 0 !important;
  align-self: stretch !important;
  display: flex !important;
  flex-direction: column !important;
}

.single-tribe_events .tribe-events-meta-group {
  padding: 0 !important;
  flex: none !important;
}

.single-tribe_events .tribe-events-meta-group-other {
  padding-top: 0 !important;
}

.single-tribe_events .tribe-events-single-section-title,
.single-tribe_events .tribe-events-meta-group-other h2 {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

.single-tribe_events .tribe-events-meta-label {
  font-family: 'PT Mono', monospace !important;
  color: #e63329 !important;
  font-size: 13px !important;
  display: block !important;
  margin-top: 12px !important;
}

.single-tribe_events .tribe-events-meta-value,
.single-tribe_events .tribe-events-meta-value * {
  font-family: 'Roboto', sans-serif !important;
  color: #000 !important;
  font-size: 15px !important;
}

.single-tribe_events .tribe-events-meta-group-other dt {
  font-family: 'PT Mono', monospace !important;
  color: #e63329 !important;
  font-size: 13px !important;
  display: block !important;
  margin-top: 12px !important;
  font-weight: normal !important;
}

.single-tribe_events .tribe-events-meta-group-other dd {
  font-family: 'Roboto', sans-serif !important;
  color: #000 !important;
  font-size: 15px !important;
  margin: 0 !important;
}

.single-tribe_events .tribe-events-c-subscribe-dropdown__container {
  display: none !important;
}

.single-tribe_events .tribe-events-single-event-description {
  grid-area: desc !important;
}

/* Eventos relacionados */
.single-tribe_events .tribe-events-related-events-title,
.single-tribe_events .tribe-related-events {
  grid-area: relacionados !important;
}

.single-tribe_events .tribe-events-related-events-title {
  font-family: 'Heading-Pro-Bold', sans-serif !important;
  font-size: 30px !important;
  text-transform: uppercase !important;
  color: #000 !important;
  margin-bottom: 20px !important;
}

.single-tribe_events .tribe-related-events {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.single-tribe_events .tribe-related-events li,
.single-tribe_events .tribe-related-events li * {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.single-tribe_events .tribe-related-event-info {
  display: flex !important;
  flex-direction: column !important;
  padding: 8px 0 0 !important;
  background: transparent !important;
}

.single-tribe_events .tribe-related-events-thumbnail img {
  width: 100% !important;
  height: 220px !important;
  object-fit: cover !important;
  display: block !important;
}

.single-tribe_events .tribe-related-events-title {
  font-family: 'Roboto', sans-serif !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  order: 1 !important;
}

.single-tribe_events .tribe-related-events-title a {
  color: #000 !important;
  text-decoration: none !important;
}

.single-tribe_events .tribe-related-events-title a:hover {
  color: #e63329 !important;
}

.single-tribe_events .tribe-related-events .tribe-event-date-start,
.single-tribe_events .tribe-related-events .tribe-event-date-end {
  font-family: 'PT Mono', monospace !important;
  font-size: 13px !important;
  color: #e63329 !important;
  display: block !important;
  margin-bottom: 6px !important;
  order: -1 !important;
}

/* Mobile */
@media (max-width: 768px) {
  .single-tribe_events .ast-article-single {
    grid-template-areas:
      "titulo"
      "imagen"
      "meta"
      "desc"
      "relacionados" !important;
    grid-template-columns: 1fr !important;
  }
}


/* ═══════════════════════════════════════
   ACTIVIDADES
═══════════════════════════════════════ */

.actividades-seccion {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 80px;
}

.actividades-titulo {
  font-family: 'Heading-Pro-Bold', sans-serif !important;
  font-size: 60px !important;
  text-align: center !important;
  text-transform: uppercase !important;
  margin-bottom: 20px !important;
}

.actividades-subtitulo {
  font-family: 'PT Mono', monospace !important;
  font-size: 14px !important;
  color: #e63329 !important;
  text-align: center !important;
  max-width: 800px !important;
  margin: 0 auto 40px !important;
  text-transform: uppercase !important;
  line-height: 1.6 !important;
}

.actividades-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.actividades-item {
  border: 1px solid #ddd !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  padding: 15px !important;
}

.actividades-item a {
  text-decoration: none !important;
  color: #000 !important;
  display: block;
}

.actividades-img {
  width: 100%;
  padding-top: 65%;
  background-size: cover;
  background-position: center;
  position: relative;
  margin-bottom: 12px;
}

.actividades-badge {
  position: absolute !important;
  top: 25px !important;
  right: 25px !important;
  background-color: #e63329 !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  padding: 3px 10px !important;
  border-radius: 30px !important;
  font-family: 'Roboto', sans-serif !important;
  z-index: 2 !important;
}

.actividades-plus {
  position: absolute !important;
  bottom: 10px !important;
  right: 10px !important;
  width: 28px !important;
  height: 28px !important;
  background: rgba(255,255,255,0.8) !important;
  color: #000 !important;
  font-size: 20px !important;
  font-weight: 300 !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

.actividades-subcat {
  font-family: 'Roboto', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #e63329 !important;
  display: block !important;
  margin-bottom: 6px !important;
  letter-spacing: 0.5px !important;
}

.actividades-item-titulo {
  font-family: 'Roboto', sans-serif !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  color: #000 !important;
  margin: 0 0 8px !important;
}

.actividades-item-desc {
  font-family: 'Roboto', sans-serif !important;
  font-size: 14px !important;
  color: #444 !important;
  line-height: 1.5 !important;
}


/* ═══════════════════════════════════════
   NOTICIAS (ACTUALIDAD ARCHIVE)
═══════════════════════════════════════ */

.actualidad-archive {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 80px;
}

.actualidad-archive-titulo {
  font-family: 'Heading-Pro-Bold', sans-serif !important;
  font-size: 60px !important;
  text-align: center !important;
  text-transform: uppercase !important;
  margin-bottom: 40px !important;
}

.actualidad-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.actualidad-archive-item {
  display: flex;
  flex-direction: column;
}

.actualidad-archive-img {
  width: 100%;
  padding-top: 65%;
  background-size: cover;
  background-position: center;
  position: relative;
  margin-bottom: 12px;
}
/* ═══════════════════════════════
   ENTRADA INDIVIDUAL — REDISEÑO 
   ═══════════════════════════════ */

/* ── Contenedor ── */
.lab-single-post {
    max-width: 860px;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 2.5rem 1.5rem 4rem;
    font-family: 'Roboto', sans-serif;
    color: #000;
    float: none !important;
}

.ast-separate-container .lab-single-post,
.ast-plain-container .lab-single-post,
.site-content .lab-single-post {
    max-width: 860px;
    margin-left: auto !important;
    margin-right: auto !important;
}


/* ── Rótulo de sección — PT Mono uppercase rojo ── */
.lab-section-header {
    font-family: 'PT Mono', monospace;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #e63329;
    margin-bottom: 1.5rem;
}


/* ── Meta superior ── */
.lab-post-meta-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.lab-tag {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 30px;
    background: #e63329;
    color: #fff;
    text-transform: uppercase;
    display: inline-block;
}

.lab-date {
    font-family: 'PT Mono', monospace;
    font-size: 13px;
    color: #999;
}


/* ── Título ── */
.lab-post-title {
    font-family: 'Heading-Pro-Bold', sans-serif !important;
    font-weight: 900 !important;
    font-size: 36px !important;
    line-height: 1.15 !important;
    text-transform: uppercase !important;
    margin: 0 0 2rem 0 !important;
    padding: 0 !important;
    color: #000 !important;
}


/* ── Imagen destacada ── */
.lab-hero-image {
    width: 100%;
    margin-bottom: 2.5rem;
    line-height: 0;
}

.lab-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}


/* ── Grid: sidebar + contenido ── */
.lab-content-grid {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 2.5rem;
    margin-bottom: 3rem;
}


/* ── Sidebar meta ── */
.lab-sidebar-meta {
    padding-top: 0.25rem;
}

.lab-sidebar-block {
    margin-bottom: 2rem;
}

.lab-sidebar-label {
    font-family: 'PT Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #e63329;
    margin-bottom: 0.35rem;
}

.lab-sidebar-value {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}


/* ── Highlights (extracto) ── */
.lab-highlights {
    border-left: 3px solid #e63329;
    padding-left: 1.25rem;
    margin-bottom: 2.5rem;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    text-align: justify;
}

.lab-highlights p {
    margin: 0;
}

.lab-highlights ul,
.lab-highlights ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lab-highlights li {
    margin-bottom: 0.5rem;
}

.lab-highlights li::before {
    content: "— ";
    color: #999;
}


/* ── Cuerpo del texto ── */
.lab-body-text {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.75;
    color: #000;
    text-align: justify;
}

.lab-body-text p {
    margin-bottom: 1.25rem;
}

.lab-body-text a {
    color: #e63329;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.lab-body-text a:hover {
    color: #000;
}

.lab-body-text img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
}

.lab-body-text blockquote {
    font-family: 'Roboto', sans-serif;
    font-style: italic;
    font-size: 20px;
    line-height: 1.5;
    color: #555;
    border-left: 3px solid #ddd;
    padding: 0 0 0 1.25rem;
    margin: 2rem 0;
}

.lab-body-text blockquote p {
    margin-bottom: 0.5rem;
}

.lab-body-text h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 900;
    text-transform: uppercase;
    margin: 2.5rem 0 1rem;
    text-align: left;
}

.lab-body-text h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 17px;
    font-weight: 700;
    margin: 2rem 0 0.75rem;
    text-align: left;
}

.lab-body-text ul,
.lab-body-text ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.lab-body-text li {
    margin-bottom: 0.4rem;
}


/* ── Divisor ── */
.lab-divider {
    border: none;
    border-top: 1px solid #ddd;
    margin: 2.5rem 0;
}


/* ── Contenido relacionado ── */
.lab-related-heading {
    font-family: 'Heading-Pro-Bold', sans-serif;
    font-size: 30px;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 1.25rem;
}

.lab-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 2.5rem;
}

.lab-related-card {
    display: block;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none !important;
    color: inherit;
    transition: border-color 0.2s;
}

.lab-related-card:hover {
    border-color: #999;
}

.lab-rc-img {
    width: 100%;
    line-height: 0;
}

.lab-rc-img img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.lab-rc-tag {
    font-family: 'Roboto', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #e63329;
    padding: 12px 15px 0;
}

.lab-rc-title {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.3;
    color: #000;
    padding: 6px 15px 0;
}

.lab-rc-date {
    font-family: 'PT Mono', monospace;
    font-size: 12px;
    color: #999;
    padding: 8px 15px 15px;
}


/* ── Navegación anterior / siguiente ── */
.lab-post-nav {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    padding-top: 1rem;
}

.lab-post-nav-link {
    display: block;
    text-decoration: none !important;
    color: inherit;
    max-width: 48%;
}

.lab-post-nav-link:hover .lab-post-nav-title {
    color: #e63329;
}

.lab-post-nav-next {
    text-align: right;
    margin-left: auto;
}

.lab-post-nav-label {
    font-family: 'PT Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #e63329;
    display: block;
    margin-bottom: 0.3rem;
}

.lab-post-nav-title {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    line-height: 1.4;
    color: #555;
    transition: color 0.2s;
}


/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */

/* ── Tablet ── */
@media (max-width: 768px) {
    .lab-single-post {
        padding: 2rem 1.25rem 3rem;
    }

    .lab-post-title {
        font-size: 28px !important;
    }

    .lab-content-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .lab-sidebar-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 0 2.5rem;
        padding-bottom: 1.5rem;
        margin-bottom: 1.5rem;
        border-bottom: 1px solid #ddd;
    }

    .lab-sidebar-block {
        margin-bottom: 0.75rem;
    }

    .lab-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── Móvil ── */
@media (max-width: 480px) {
    .lab-single-post {
        padding: 1.5rem 1rem 2.5rem;
    }

    .lab-section-header {
        font-size: 11px;
    }

    .lab-post-title {
        font-size: 24px !important;
    }

    .lab-hero-image img {
        aspect-ratio: 4 / 3;
    }

    .lab-body-text {
        font-size: 15px;
    }

    .lab-body-text blockquote {
        font-size: 17px;
    }

    .lab-related-grid {
        grid-template-columns: 1fr;
    }

    .lab-post-nav {
        flex-direction: column;
        gap: 1rem;
    }

    .lab-post-nav-link {
        max-width: 100%;
    }

    .lab-post-nav-next {
        text-align: left;
    }
}

