/* --NOTICIAS -- */ 
 .bloque-titulo-turisme{
  padding: 0 15px;
 }
 .bloque-texto-turisme{
  padding: 0 15px;
 }
.bloque-link-turisme{
  padding-bottom: 15px;
  padding-left: 15px;
 }



 /* --MAPA--*/
  img{
    width: auto !important;
  }

  .layout-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-family: sans-serif;
  }

  .maplibregl-popup {
    z-index: 1;
}

  /* --- ACORDEÓN --- */
  .accordion-sidebar {
    display: none;
    
    width: 100%; /* Ancho fijo para asegurar que el grid sea exacto */
    background: #333e48;
    color: white;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 10;
    border-radius: 4px;
    overflow: hidden;
  }

  .accordion-header {
    background: #232e37;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 0.5px;
  }

  .accordion-content {
    background: #3e4952;
    overflow: hidden;
    max-height: 1000px;
    transition: max-height 0.4s ease-in-out, opacity 0.3s ease;
    opacity: 1;
    
    /* Configuración para 5 columnas exactas */
    display: grid;
    grid-template-columns: repeat(5, 1fr);
  }

  .accordion-content.is-closed {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
  }

  .type-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-bottom: 1px solid #4e5962;
    border-right: 1px solid #4e5962;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0.5;
    box-sizing: border-box;
  }

  /* Eliminar borde derecho en los elementos 5 y 10 (final de fila) */
  .type-item:nth-child(5n) { border-right: none; }

  .type-item.active {
    opacity: 1;
    background: #4e5962;
    /* Indicador verde en la base del botón */
    box-shadow: inset 0 -3px 0 0 #97D700; 
  }

  .icon-acc {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    filter: invert(71%) sepia(88%) saturate(393%) hue-rotate(33deg) brightness(98%) contrast(92%);
  }

  .type-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    line-height: 1.2;
  }

  /* --- MAPA --- */
  #map { 
    width: 100%; 
    height: 1000px; 
    position: relative;
    border: 1px solid #ccc;
    border-radius: 4px;
  }

  /* Marcadores e Info-box */
  .marker-pin { width: 38px; height: 38px; border-radius: 50% 50% 50% 0; position: absolute; transform: rotate(-45deg); left: 50%; top: 50%; margin: -19px 0 0 -19px; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 5px rgba(0,0,0,0.3); }
  .marker-pin img { transform: rotate(45deg); width: 22px; height: 22px; object-fit: contain; filter: brightness(0) invert(1); }
  .info-box { text-align: left; width: 250px; overflow: hidden; display: flex; flex-direction: column; }
  .info-box img { width: 100% !important; height: 150px; object-fit: cover; display: block; }
  .text-content { padding: 15px; }
  .info-box h4 { margin: 0 0 8px 0; font-size: 18px; color: #333; }
  .info-box p { margin: 0 0 12px 0; font-size: 14px; color: #666; line-height: 1.4; }
  .info-box a { color: black !important; text-decoration: underline !important; font-weight: bold; font-size: 14px; }
  .maplibregl-popup-content { padding: 0 !important; border-radius: 12px !important; overflow: hidden; }
  .maplibregl-popup-close-button { color: white !important; font-size: 20px; padding: 5px 10px !important; }