/* ===========================
   BANNER SOCIAL CON OVERLAY
=========================== */
.banner-social-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.banner-social {
    width: 100%;
    height: auto;
    display: block;
}

/* CAPA OSCURA ENTRE IMAGEN Y TEXTO */
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55); /* oscurecimiento ajustable */
    z-index: 2;
}

/* TEXTO SOBRE LA CAPA OSCURA */
.banner-social-text {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    max-width: 950px;
    color: #ffffff;
    padding: 0 1rem;
    z-index: 3; /* encima de la capa negra */
}

.banner-social-text h2 {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: .8rem;
    text-shadow: 0 3px 12px rgba(0,0,0,0.7);
}

.banner-social-text p {
    font-size: 1.15rem;
    line-height: 1.5;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .banner-social-text h2 {
        font-size: 2rem;
    }
    .banner-social-text p {
        font-size: 0.95rem;
    }
}


/* ===========================
   TABS SOCIAL
=========================== */
.social-tabs-wrapper {
    margin-top: -20px;
}

.nav-tabs {
    border-bottom: none;
    gap: 1rem;
}

.social-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 170px;
    padding: 1rem 1.5rem;
    border-radius: 15px 15px 0 0;
    background: #ffffff;
    border: none;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
    font-weight: bold;
    transition: all .25s ease;
    color: #3E2259;
}

.social-tab:hover {
    transform: translateY(-3px);
}

.social-tab.active {
    background: #3E2259;
    color: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* ===========================
   PANELS
=========================== */
.social-pane {
    padding: 2rem;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.08);
}

/* alternancia colores */
#tablero.social-pane    { background: #F5EBFF; }
#hojavida.social-pane   { background: #ffffff; }
#categorias.social-pane { background: #F5EBFF; }
#datalake.social-pane   { background: #ffffff; }

/* ===========================
   IFRAME
=========================== */
.iframe-full {
    width: 100%;
    height: 80vh;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* ===========================
   ACORDEÓN
=========================== */
.accordion-item {
    border-bottom: 1px solid #ddd;
    margin-top: 10px;
}

.accordion-button {
    width: 100%;
    text-align: left;
    background: #f8f0ff;
    border: none;
    padding: 14px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    border-radius: 8px;
    transition: background .3s ease;
}

.accordion-button:hover {
    background: #e3cffc;
}

.accordion-button.active {
    background: #3E2259;
    color: #fff;
}

.accordion-content {
    display: none;
    padding: 15px;
    background: #faf5ff;
    border-radius: 0 0 10px 10px;
}

/* ===========================
   LISTA DE INDICADORES
=========================== */
.icon-list-items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.icon-list-item {
    display: flex;
    align-items: center;
    padding: 6px 0;
    font-size: 15px;
}

.icon-list-item .icon {
    margin-right: 6px;
}

.icon-list-item a {
    text-decoration: none;
    color: #333;
}

.icon-list-item a:hover {
    text-decoration: underline;
}

/* ===========================
   BUSCADOR
=========================== */
.search-bar-container {
    text-align: center;
}

.search-bar {
    width: 100%;
    max-width: 520px;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

/* ===========================
   DATALAKE
=========================== */
.datalake-list {
    margin-top: 1.5rem;
}

.datalake-block {
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.08);
    padding: 20px;
}

.datalake-cat {
    font-weight: 800;
    color: #3E2259;
    margin-bottom: 10px;
}

.datalake-ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.datalake-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.datalake-item:last-child {
    border-bottom: none;
}

.dl-download-btn {
    border-radius: 8px;
    padding: 5px 12px;
    font-size: 14px;
}

.dl-download-btn:hover {
    background: #3E2259;
    color: #fff;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 768px) {
    .social-tab {
        min-width: 140px;
        padding: 0.8rem;
    }

    .banner-social-text h2 {
        font-size: 2rem;
    }

    .banner-social-text p {
        font-size: 0.95rem;
    }

    .social-pane {
        padding: 1.3rem;
    }
}
