/* =========================================================
   WASTE 2026 · ESTILOS ESPECÍFICOS PARA FICHAS DE ESPECIES
   ARCHIVO CSS INDEPENDIENTE PARA FICHAS DE ESPECIES
   Este archivo NO redefine el grid general,
   .bloque-central-2col, .caja1-2col ni .caja2-2col.
   ========================================================= */

/* CABECERA DE GUÍAS / FOTO-LOGO */
.waste-maqueta-2026 .foto-seccion {
    display: block;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto !important;
    padding: 0;
    box-sizing: border-box;
}

.waste-maqueta-2026 .foto-seccion > a {
    display: block;
    margin: 0;
    padding: 0;
    line-height: 0;
}

.waste-maqueta-2026 .foto-seccion > a > img {
    display: block;
    width: 100%;
    max-width: 1200px;
    height: auto;
    margin: 0;
    padding: 0;
}

/* ÚNICO TEXTO DE CRÉDITOS: visible en escritorio y móvil */
.waste-maqueta-2026 .foto-seccion h5.grande {
    display: block !important;
    margin: 0 !important;
    padding: 4px 8px !important;
    color: #fff !important;
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 14px !important;
    line-height: 1.25 !important;
    font-weight: 300;
    text-align: center;
}

/* CONTENIDO PROPIO DE LAS FICHAS */
.waste-maqueta-2026 .nomenclatura {
    font-family: 'Karla', Arial, sans-serif;
    font-size: 16px;
    color: #000;
}

.waste-maqueta-2026 .ficha-recuadro-datos,
.waste-maqueta-2026 .ficha-texto {
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    box-sizing: border-box;
    background: #eaeae8;
    color: #000;
}

.waste-maqueta-2026 .texto-reportaje {
    width: 100%;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    box-sizing: border-box;
    background: #eaeae8;
    color: #000;
}

.waste-maqueta-2026 .ficha-texto a,
.waste-maqueta-2026 .texto-reportaje a {
    color: #322f22;
}

.waste-maqueta-2026 .caja1-2col h5 {
    color: #666 !important;
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 14px;
}

.waste-maqueta-2026 .caja2-2col h5 {
    color: #cfcecc !important;
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 16px;
}

/* Subbloques internos heredados, sin tocar las columnas principales */
.waste-maqueta-2026 .bloque-texto-2col {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    background: #eaeae8;
    box-sizing: border-box;
}

.waste-maqueta-2026 .caja1-texto-2col {
    width: 70%;
    padding-left: 30px;
    padding-right: 10px;
    box-sizing: border-box;
    background: #eaeae8;
    color: #000;
}

.waste-maqueta-2026 .caja2-texto-2col {
    width: 30%;
    padding: 30px;
    box-sizing: border-box;
    background: #2a2510;
    color: #f3f2f0;
}

.waste-maqueta-2026 .caja1-texto-2col a,
.waste-maqueta-2026 .texto-principal a {
    color: #3e3e30;
}

.waste-maqueta-2026 .caja2-texto-2col a {
    color: #d5dacb;
}

.waste-maqueta-2026 .texto-principal {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 30px;
    padding-right: 10px;
    box-sizing: border-box;
    background: #eaeae8;
    color: #000;
}

@media (max-width: 980px) {
    .waste-maqueta-2026 .foto-seccion h5.grande {
        display: block !important;
        font-size: 12px !important;
        line-height: 1.25 !important;
    }

    .waste-maqueta-2026 .linea-cabecera {
        display: none;
    }
}

@media (max-width: 910px) {
    .waste-maqueta-2026 .nomenclatura {
        font-size: 14px;
    }
}

@media (max-width: 780px) {
    .waste-maqueta-2026 .bloque-texto-2col {
        display: block;
    }

    .waste-maqueta-2026 .caja1-texto-2col,
    .waste-maqueta-2026 .caja2-texto-2col {
        width: 100%;
    }

    .waste-maqueta-2026 .enter-cabecera {
        display: none;
    }
}

@media (max-width: 600px) {
    .waste-maqueta-2026 .foto-seccion h5.grande {
        font-size: 11px !important;
    }

    .waste-maqueta-2026 .ficha-recuadro-datos,
    .waste-maqueta-2026 .ficha-texto,
    .waste-maqueta-2026 .texto-reportaje {
        padding-left: 14px;
        padding-right: 14px;
    }
}

/* FINAL ESTILOS ESPECÍFICOS PARA FICHAS DE ESPECIES */

/* =========================================================
   FICHAS SENCILLAS · FONDO EXTERIOR DE LA CABECERA DE ESPECIES
   La foto-logo sigue limitada a 1200px, pero su entorno visual
   se prolonga a todo el ancho de pantalla con un casi negro.
   Se excluyen expresamente las cabeceras situadas dentro de
   .waste-franja-foto, utilizadas por las fichas de foto grande.
   ========================================================= */

.waste-maqueta-2026 > .foto-seccion {
    position: relative;
    z-index: 0;
}

.waste-maqueta-2026 > .foto-seccion::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: #171a1b;
}

/* La franja de créditos conserva su negro propio */
.waste-maqueta-2026 > .foto-seccion + .foto-seccion::before {
    background: #000;
}

/* Seguridad: las fichas de foto grande no reciben este fondo */
.waste-maqueta-2026 .waste-franja-foto .foto-seccion::before {
    content: none;
}

/* FINAL FONDO EXTERIOR CABECERA DE ESPECIES · FICHAS SENCILLAS */

