/*
    Theme Name: bioilustraciones
    Theme URI: 
    Author: Gyrkora
    Author URI: http://twitter.com/codigoconjuan
    Description: Theme designed for bioilustraciones
    Version: 1.0
    License: GNU General Public License v2 or later
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
    Tags: art,  portfolio, flexbox, css grid, mobile first
    Text Domain: bioilustraciones
*/

@import url('https://fonts.googleapis.com/css2?family=Agu+Display&family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap');

:root {
    /* fuentes */

    --fuente-principal: 'Sans-serif', 'PT Sans', sans-serif;
    --fuente-headings: 'Georgia', serif;

    /* colores */

    /* --primario: #131414; */
    --primario: #f9EAE1;
    --gris-oscuro: #1d1d1d;
    --grid-claro: #cc8b86;
    --blanco: #fff;
    --negro: #000;
    --fucsia: #7d4f50;
    --rosado: #7d4f50;
    --amarillo-narano: #F2B705;
    --naranjo: #F27405;



}

html {
    box-sizing: border-box;
    font-size: 62.5%;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}


body {
    background-color: var(--gris-oscuro);
    font-family: var(--fuente-principal);
    font-size: 18px;
    font-size: 1.8rem;
    line-height: 2;

}

/* headings */

h1,
h2,
h3,
h4 {
    font-family: var(--fuente-headings);
    color: var(--grid-claro);
    margin: 0 0 5rem 0;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 4.8rem;
}

h3 {
    font-size: 3.6rem;
    text-align: center;

}

h4 {
    font-size: 2.4rem;
    text-align: center;
}

/* Globales */

p {
    margin: 0;
    color: var(--blanco);
}

a {
    text-decoration: none;
    color: var(--grid-claro);
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
    /* imagen proporcionada */
}

.contenedor {
    width: min(95%, 120rem);
    margin: 0 auto;

}

.contenido-centrado {
    width: min(95%, 80rem);
}




/* utilidades */

.text-center {
    text-align: center;
}

.texto-primary {
    color: var(--primario);
}

.texto-blanco {
    color: var(--blanco)
}

.seccion {
    padding: 5rem 0
}

/* header */


.header {
    background-color: var(--gris-oscuro);
    padding: 2rem 0;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1;
    box-shadow: 1px 9px 19px -9px rgba(125, 79, 80, 0.78);
    -webkit-box-shadow: 1px 9px 19px -9px rgba(125, 79, 80, 0.78);
    -moz-box-shadow: 1px 9px 19px -9px rgba(125, 79, 80, 0.78);
}

/* !nav */

.barra-navegacion {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.menu-principal ul {
    padding-top: 30px;
}

@media (min-width: 1024px) {

    .barra-navegacion {
        flex-direction: row;
        justify-content: space-between;
    }

    .menu-principal .menu {
        display: flex;
    }

    .menu-principal ul {
        padding-top: 0px;
    }

}





@media (min-width: 768px) {

    .menu-principal {
        display: block;
    }



    .menu-principal .current_page_item {

        /* border: 1px solid var(--rosado); */
        border-radius: 20%;
        box-shadow: 1px 3px 11px 0px rgba(125, 79, 80, 0.52);
        -webkit-box-shadow: 1px 3px 11px 0px rgba(125, 79, 80, 0.52);
        -moz-box-shadow: 1px 3px 11px 0px rgba(125, 79, 80, 0.52);

    }



    .menu-principal a:hover {
        border-radius: 20%;
        transition: all .3s ease-in-out;
        box-shadow: 1px 3px 11px 0px rgba(125, 79, 80, 0.52);
        -webkit-box-shadow: 1px 3px 11px 0px rgba(125, 79, 80, 0.52);
        -moz-box-shadow: 1px 3px 11px 0px rgba(125, 79, 80, 0.52);
    }
}

.menu-principal a {
    font-family: var(--fuente-headings);
    display: block;
    text-align: center;
    color: var(--grid-claro);
    font-size: 1.5rem;
    padding: .5rem 2rem;
}

.menu-principal .current_page_item a {
    color: var(--rosado);
}


.logo-letra {
    font-family: var(--fuente-headings);
    font-size: 2rem;
}


.menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--grid-claro);
    cursor: pointer;
    margin: 1rem 0;
}

.menu-principal {
    display: none;

    flex-direction: column;
    align-items: center;
}

.menu-principal.open {
    display: flex;
}

@media (min-width: 1024px) {
    .menu-toggle {
        display: none;
    }

    .menu-principal {
        display: flex !important;
        flex-direction: row;
    }
}


/* ! fin nav */


.imagen-destacada {
    max-width: 50% !important;
    height: auto;
    margin: 0 auto;
}


/* Cateogoria ilustraciones */


.listado-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    /* Space between the cards */
    list-style: none;
    margin: 0;
    padding: 0;
}

.card {
    position: relative;
    width: 100%;
    height: 250px;
    /* Adjust height as needed */
    background-size: cover;
    background-position: center;
    border-radius: 30px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.card:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover .overlay {
    opacity: 1;
}

.category-name {
    color: white;
    font-size: 30px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 15px;
}



pre {
    color: white;
}



/** CONTACTO **/

/* contact form */


.contenido-flex {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
    max-width: 800px;
    /* optional */
    text-align: center;
}


.contact-text {
    margin: 10px;
}


.wpcf7-form {
    width: 80%;
    max-width: 500px;
    margin: 0 auto;
}


.wpcf7-form input,
.wpcf7-form textarea {
    background-color: #d9d2d2 !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-shadow: none;
    outline: none;
    border-radius: 0;
    border: none;
}


.wpcf7-form label {
    font-weight: 400;
}


@media (min-width: 768px) {
    .contenido-flex {
        grid-template-columns: repeat(2, 1fr);
        /* two columns on larger screens */
        justify-content: center;
        align-items: center;
        gap: 20px;
        max-width: 1200px;
        text-align: left;
        /* optional */
    }


    .wpcf7-form {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        padding-right: 20px;
    }
}




.wpcf7-form .wpcf7-form-control {
    width: 100%;
    max-width: 500px;
}

.wpcf7-form .wpcf7-submit {
    width: 100% !important;
    max-width: 500px;
    padding: 5px 0;
    background-color: var(--grid-claro) !important;
}




/*  *GALERIA IMAGENES GENERAL CON SUBGALERIAS */

.galeria-imagenes {
    display: grid;
    gap: 2rem;
}

.contenedor-galeria {
    width: min(80%, 140rem);
    margin: 0 auto;

}

.galeria-imagenes li {
    grid-column: auto;
    grid-row: auto;
}

/* !Default gallery style */
.galeria-imagenes.gallery-default {
    /* grid-template-columns: repeat(2, 1fr); */
    grid-template-columns: repeat(1, 1fr);

    grid-gap: 1.5rem;
}

.galeria-imagenes.gallery-default img {
    /* height: 500px; */
    height: auto;
    object-fit: cover;
    width: 100%;
}

/* !Two-column style */
.galeria-imagenes.gallery-two_columns {
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 1.5rem;
}

.galeria-imagenes.gallery-two_columns img {
    width: 100%;
    height: auto;
}


/* !Two-column-one style */
.galeria-imagenes.gallery-two_columns-one {
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 1.5rem;
}

.galeria-imagenes.gallery-two_columns-one img {
    width: 100%;
    height: auto;
}


/* !Special style */
.galeria-imagenes.gallery-special_style {
    /* grid-template-columns: repeat(3, 1fr); */
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 2rem;
}

.galeria-imagenes.gallery-special_style img {
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.galeria-imagenes.gallery-special_style img:hover {
    transform: scale(1.07);

}

/* ! Mosaic Gallery Style */
.galeria-imagenes.gallery-mosaic {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-auto-rows: 200px;
    /* altura base de cada celda */
    grid-auto-flow: dense;
    /* rellena huecos de forma “compacta” */
    gap: 1.5rem;
}

/*! Masonry Gallery Style (columnas) — */

/* Imágenes dentro del item */
.galeria-imagenes.gallery-masonry img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    transition: transform .3s;
}

.galeria-imagenes.gallery-masonry img:hover {
    transform: scale(1.05);
}

@media (min-width: 768px) {

    /* !Two-column style */
    .galeria-imagenes.gallery-two_columns {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 1.5rem;
    }

    /* !Special style */
    .galeria-imagenes.gallery-special_style {
        /* grid-template-columns: repeat(3, 1fr); */
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 2rem;
    }

    .galeria-imagenes.gallery-special_style {
        grid-gap: 2rem;
    }

    .galeria-imagenes.gallery-two_columns-one {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 1.5rem;
    }

    /* !Two-column-one style */
    .galeria-imagenes.gallery-two_columns-one li:nth-child(3) {
        grid-column: 1/3;

    }

    .galeria-imagenes.gallery-two_columns-one li:nth-child(6) {
        grid-column: 1/3;

    }

    /* !Mosaic Gallery style */
    .galeria-imagenes.gallery-mosaic {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 180px;
    }

    /* Algunos elementos más grandes */
    .galeria-imagenes.gallery-mosaic li:nth-child(4n+1) {
        grid-column: span 2;
        grid-row: span 2;
    }

    .galeria-imagenes.gallery-mosaic li:nth-child(5n+2) {
        grid-column: span 3;
        grid-row: span 1;
    }

    .galeria-imagenes.gallery-mosaic li:nth-child(3n) {
        grid-row: span 2;
    }



}


@media (min-width: 1024px) {
    .galeria-imagenes.gallery-special_style {
        /* grid-template-columns: repeat(3, 1fr); */
        grid-template-columns: repeat(4, 1fr);
        grid-gap: 2rem;
    }

    .galeria-imagenes.gallery-special_style li:nth-child(4) {
        grid-column: 4/5;
        grid-row: 1/3
    }

    .galeria-imagenes.gallery-special_style li:nth-child(6) {
        grid-column: 2/3;
        grid-row: 2/4;
    }

    .galeria-imagenes.gallery-special_style li:nth-child(4) img,
    .galeria-imagenes.gallery-special_style li:nth-child(6) img {
        height: 620px;
        object-fit: cover;
    }


    /* !Mosaic Gallery style */
    .galeria-imagenes.gallery-mosaic {
        grid-template-columns: repeat(6, 1fr);
        grid-auto-rows: 160px;
    }

    /* Reajustamos algunos para que ocupen más espacio */
    .galeria-imagenes.gallery-mosaic li:nth-child(6n+1) {
        grid-column: span 3;
        grid-row: span 3;
    }

    .galeria-imagenes.gallery-mosaic li:nth-child(4n+2) {
        grid-column: span 2;
        grid-row: span 2;
    }

    .galeria-imagenes.gallery-mosaic li:nth-child(5n) {
        grid-column: span 2;
        grid-row: span 3;
    }




}

/* Estilos comunes a todas las imágenes */
.galeria-imagenes.gallery-mosaic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    transition: transform .3s;
}

.galeria-imagenes.gallery-mosaic img:hover {
    transform: scale(1.05);
}



.galeria-imagenes img {
    height: 300px;
    object-fit: cover;

    width: 100%;
}


.lb-data {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}


.lb-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto !important;
    padding: 20px;
    color: #fff;
    font-size: 16px;
    text-align: center;
    width: 100%;
}

.lb-details .lb-caption {
    font-size: 18px;
    margin-bottom: 10px;
    text-align: center;
    font-weight: normal;
}

.lb-details .lb-description {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}


body {
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
}

/* Deshabilitar el arrastre de imágenes */
img {
    /* pointer-events: none; */
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
    -moz-user-drag: none;
    -ms-user-drag: none;
    user-drag: none;
}



/* General image is visible by default */
.gallery-item [data-lightbox] img {
    display: block;
    opacity: 1;

}

/* Subgallery images are hidden by default */
.gallery-item [data-lightbox]~[data-lightbox] {
    display: none;
    opacity: 1;

}

/* Visible state for both general and subgallery images */
.gallery-item [data-lightbox].visible {
    display: block;
    opacity: 1;


}


.gallery-item {
    position: relative;
    overflow: hidden;
    width: 100%;
    /* Set appropriate width */
    height: auto;
    /* Let height adjust naturally */
}


.subgallery-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.subgallery-navigation button {
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    padding: 7px 7px;
    pointer-events: all;
    font-size: 15px;
    border-radius: 15%;
    cursor: pointer;
    transition: transform 0.5s ease, opacity 1s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.subgallery-navigation button:hover {
    background-color: #cc8b86;
    transition: all 0.3s ease-in-out;

}


.lb-nav a.lb-prev,
.lb-nav a.lb-next {
    opacity: 1 !important;

}

.lb-nav .lb-prev {
    left: -60px !important;
    position: absolute;
}

.lb-nav .lb-next {
    right: -60px !important;
    position: absolute;
}

@media (max-width: 768px) {
    .lb-nav .lb-prev {
        left: 0 !important;
    }

    .lb-nav .lb-next {
        right: 0 !important;
    }
}



/* Mobile adjustments */
@media (max-width: 768px) {
    .subgallery-navigation button {
        font-size: 14px;
        padding: 8px 12px;
    }
}



/*!  *Fin seccion galeria */



/* *ABOUT ME */


.about-me-title {
    text-align: center;
    margin: 50px 0 0 0 !important;
}


.about-me-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
        "about-image"
        "about-text"
        "extra1"
        "extra3";
    gap: 20px;
    max-width: 1000px;
    margin: 20px auto;
    text-align: center;
}

.about-me-container p {
    font-size: 20px !important;
}

.grid-item {
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.about-me-image {
    grid-area: about-image;
}

.about-me-text {
    grid-area: about-text;
}

.extra1 {
    grid-area: extra1;
}

.extra2 {
    grid-area: extra2;
}

.extra3 {
    grid-area: extra3;
}

/* General image styling */
.grid-item img {
    max-width: 95%;
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 5%;
    box-shadow: -1px 14px 16px 0px rgba(0, 0, 0, 0.75);
    -webkit-box-shadow: -1px 14px 16px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: -1px 14px 16px 0px rgba(0, 0, 0, 0.75);
}

/* Specific styles for the about image */
.about-me-image img {
    width: 80%;
    height: auto;
    filter: sepia(30%);
}

/* Extra images sepia effect */
.grid-item.about-me-extra img {
    filter: sepia(50%);
}

/* Hide extra2 on mobile */
.extra2 {
    display: none;
}

/* Larger screens: min-width 780px */
@media (min-width: 780px) {
    .about-me-container {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "about-image about-image"
            "about-text about-text"
            "extra1 extra2"
            "extra3 extra3";
        padding: 20px;
    }

    /* Show extra2 on larger screens */
    .extra2 {
        display: flex;
    }

    .about-me-image img {
        width: 30% !important;

    }
}

/* !fin about me */


/* *footer */
.site-footer {
    background-color: #0f0f0f;
    /* casi negro */
    color: #ffffff;
    padding: 3rem 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.site-footer .container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

@media (min-width: 768px) {

    h3,
    h4 {
        text-align: left;
    }
}


/* Logo */
.footer-brand img {
    max-height: 20px !important;
    filter: brightness(0) invert(1);
}

/* Menú */
.footer-nav .footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.footer-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;

}

.footer-nav .footer-menu li {
    margin: 0 1rem;
}

.footer-nav .footer-menu li a {
    color: #e4bdb3;
    /* tono rosado apagado */
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 500;
    transition: color .3s;
}

.footer-nav .footer-menu li.current-menu-item a,
.footer-nav .footer-menu li a:hover {
    color: #ffcfc0;
    /* color de acento rosado claro */
}

/* Créditos */
.site-info {
    width: 100%;
    text-align: center;
    color: #7a5c5c;
    font-size: 1.2rem;
}


html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-footer {
    margin-top: auto;
}


#page,
.site-content,
.main-content {
    flex: 1;
}


.logo-img {

    max-height: 80px !important;

}


/* *Promoción Curso */

.texto-center {
    text-align: center;
}

.imagen-destacada {
    max-width: 35% !important;
    margin: 0 auto 2rem;
    display: block;
}

.boton-curso {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 2rem;
    background-color: var(--grid-claro);
    color: var(--negro);
    text-transform: uppercase;
    font-weight: 700;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color .3s;
}

.boton-curso:hover {
    background-color: var(--rosado);
}


/* *Portada inicio */


.portada-container {
    height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contenedor-galeria-portada {
    padding-top: 60px;
}

.arrow-down {
    max-width: 30% !important;
    width: 30px;
    padding-top: 80px;

}

.arrow-down:hover {
    transform: translateY(-10px);
    width: 40px;
    transition: transform 0.5s ease;
}


.typed-1 {
    font-size: 20px;
    font-style: italic;
}

.text-portada {
    font-size: 15px;
}

.typed-cursor {
    display: inline-block;
    vertical-align: text-bottom;
    /* o middle si aún queda bajo */
    font-size: inherit;
    line-height: inherit;
    color: white !important;
}

.title-portada-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    max-width: 80%;

}

@media (min-width: 768px) {
    .title-portada-container {
        max-width: 50%;
    }

    .typed-1 {
        font-size: 30px;
        font-style: italic;
    }

    .text-portada {
        font-size: 20px;
    }
}

@media (min-width: 1024px) {


    .title-portada-container {
        max-width: 80%;
    }

    .typed-1 {
        font-size: 50px;
        font-style: italic;
    }
}


.footer-social {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 15px 0;
}

/* iconos de redes */
.footer-social a {
    color: #e4bdb3;
    font-size: 1.8rem;
    transition: color .3s;
}

.footer-social a:hover {
    color: #ffcfc0;
}



/* *GALERIAS EXTRAS */

.galeria-imagenes.gallery-masonry {
    display: block !important;
    column-count: 1;
    column-gap: 1.5rem;
}

.galeria-imagenes.gallery-masonry .gallery-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 1.5rem;
    break-inside: avoid-column;
    -webkit-column-break-inside: avoid;
    -moz-column-break-inside: avoid;
}

@media (min-width: 768px) {
    .galeria-imagenes.gallery-masonry {
        column-count: 3;
    }
}

@media (min-width: 1024px) {
    .galeria-imagenes.gallery-masonry {
        column-count: 5;
    }
}



.galeria-thumbnail-switch {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

    gap: 30px;
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

/* Ítem de galería */
.galeria-thumbnail-switch .gallery-item {
    display: flex;
    flex-direction: column;
    align-items: center;

}

/* Imagen principal */
.galeria-thumbnail-switch .main-image {
    width: 99%;
    max-width: auto;
    /* height: 400px; */
    height: auto;

    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .galeria-thumbnail-switch .main-image {
        height: 400px;
    }
}



.subgallery-thumbnails {
    width: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    overflow-x: auto !important;
    padding: 4px 0 !important;
    margin-bottom: 8px !important;
}

.subgallery-thumbnails .thumbnail {
    flex: 0 0 auto;
    width: 60px !important;
    height: 60px !important;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: border-color 0.2s ease;
}


.subgallery-thumbnails .thumbnail.active,
.subgallery-thumbnails .thumbnail:hover {
    border-color: #0073aa !important;
}


.galeria-thumbnail-switch .gallery-item [data-lightbox],
.galeria-thumbnail-switch .gallery-item [data-lightbox]~[data-lightbox] {
    display: inline-block !important;
    opacity: 1 !important;
}



.galeria-titulo {
    text-align: center;
    font-size: 2.2rem;
    /* Tamaño de fuente más grande para el título de la galería */
    margin-top: 80px;
    margin-bottom: 15px;
    /* Espacio debajo del título y antes de la imagen principal */
    /* color: var(--grid-claro); */
    color: white !important;
    /* Usa tu color definido en :root */
    font-family: var(--fuente-headings);
    /* O la fuente que prefieras para los títulos */
    font-weight: 700;
    /* Negrita */
    line-height: 1.2;
    padding: 0 10px;
    /* Pequeño padding horizontal si el texto es muy largo */
}

/* Ajuste para el .gallery-item para que el título se centre correctamente encima */
.galeria-thumbnail-switch .gallery-item {
    display: flex;
    flex-direction: column;
    /* Apila los elementos verticalmente */
    align-items: center;
    /* Centra horizontalmente el contenido */
}


/* Estilos para el subtítulo de la galería */
.galeria-subtitulo {
    text-align: center;
    font-size: 1.4rem;

    margin-bottom: 20px;
    color: white;
    font-family: var(--fuente-principal);
    line-height: 1.4;
    padding: 0 15px;
    max-width: 600px;
}


.galeria-thumbnail-switch .gallery-item {
    display: flex;
    flex-direction: column;

    align-items: center;

    padding-bottom: 30px;
}

/* *Error 404 */

.error-404 {
    padding: 4em 0;
    text-align: center;
}

.page-header .page-title {
    font-size: 3em !important;
    color: white !important;
    margin-bottom: 0.5em !important;
    text-align: center !important;
}

.error-404 .page-content {
    max-width: 600px;
    margin: 0 auto;
}

.error-404 .page-content p {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 1.5em;
}


.error-404 .button {
    /* Style for your buttons */
    display: inline-block;
    background-color: #0073aa;
    /* Example color */
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.error-404 .button:hover {
    background-color: #005177;
}