:root {
  --primary-bg-color: #DDDBDD; /* Blanco Roto */
  --primary-txt-color: 8, 8, 8; /* Negro carbón */
  --secondary-txt-color: #8E8E8E; /* Gris cálido */
  --details-color: #9C7B98; /* Dorado apagado (acento) */
}

/* ELIMINA RESTRICTORES: Importante para WordPress */
html, body {
    overflow-x: hidden; /* Evita scroll horizontal */
    height: auto;
}

body{
    background-color: var(--primary-bg-color) !important;
    margin: 0;
    padding: 0;
    width: 100%;
}

h1, h2{
    font-family: "Playfair Display" !important;
    color: #4E1C50;
    font-weight: 600;
}

p{
    font-family: "Lora" !important;
}

#pageHeader, .headerFixer.fixedPosition{
    background: #DDDBDD;
}

.headerFixer.fixedPosition{
    background-color: rgba(221, 219, 221, 0.95);
}

.hdMenuOpener .icnBar:before, .hdMenuOpener .icnBar:after, .hdMenuOpener .icnBar{
    background: #4E1C50;
}

/* Botón menú en la página de inicio */
.hdMenuOpener .icnBarW:before, .hdMenuOpener .icnBarW:after, .hdMenuOpener .icnBarW {
    background: #DDDBDD !important;
}

.hdMenuOpener .icnBarW {
  left: 0;
  top: 6px;
  right: 0;
}

body.home-header #pageHeader .hdMenuOpener .icnBarW {
    display: block !important;
    position: absolute !important;
    width: 100% !important;
    height: 2px !important;
    background-color: #fff !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.navbar-light .mainNavigation.mainSideNavigation .nav-link {
    color: #DDDBDD;
    font-size: 1.7rem !important;
    text-transform: uppercase;
    font-family: 'Lora';
    font-weight: 500;
}

article {
    background: #DDDBDD;
}

main{
    background: #fffcfc ;
}

hr.mt-5320{
    border-color: rgba(89, 47, 62, 0.15);
}

/* Colecciones */
.cuadro-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    color: white;
    background: linear-gradient(
                transparent,
                rgba(8, 8, 8, 0.95)
            );
    /*background-color: rgba(118, 128, 113, 0.9);*/
}

.cuadro-nombre{
    font-size: 2rem;
    font-family: "Playfair Display";
    color: #DDDbDD;

}

.cuadro-datos {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 10px;
}

.cuadro-tecnica {
    flex: 1;
    min-width: 0;
}

.cuadro-medidas {
    margin-left: auto;
    white-space: nowrap;
}

.cuadro-tecnica, .cuadro-medidas{
    color: #dddbdd;
    font-family: Lora;
    font-size: 0.9rem;

}

.cuadro-genero{
    text-transform: uppercase;
    font-family: Lora;
    color: @DDDBDD;
    font-size: 0.7rem;
}

.filtro-mobile {
    display: none;
}

.Lora{
    font-family: Lora;
    color: #4E1C50;
}


/* =========================================
   MÓVIL
   ========================================= */

@media (max-width: 767px) {

    .filtro-desktop {
        display: none !important;
    }

    .filtro-mobile {
        display: block;
        width: 100%;
        max-width: 400px;
        margin: 0 auto 30px;
    }

    .filtro-mobile select {
        width: 100%;
        height: 45px;
        padding: 0 40px 0 15px;
        font-size: 14px;
        border: 1px solid #aaa;
        border-radius: 0;
        background-color: #fff;
        cursor: pointer;
    }

}

.text-white {
    color: #DDDBDD !important;
}

#pageFooter, .navbarSide{
    background-color: #080808 !important;
}

.navbar-light .mainNavigation .nav-link:hover, .mainNavigation .nav-item.active .nav-link {
    color: var(--details-color) !important;
}

.pageTitle{
    text-transform: uppercase;
}

.fontBk{
    color: rgb(var(--primary-txt-color));
}

.sideMobile{
    width: 100%;
}

#pageFooter{
	background: #080808 !important;
	padding-top: 20px !important;
	padding-bottom: 20px !important;
	color: var(--primary-bg-color) !important;
}

a.social {
    margin: 0 5px 0 5px;
}

.footerText{
	font-family: "Inter";
    font-weight: 200;

}

.show .mnDropList .nav-item .sidebarSubNavLink{
	font-size: 1.7rem !important;
    font-family: "Lato";
    font-weight: 100;
    text-transform: capitalize;
}

header.headingHead:before{
    content: "";
    height: 3px;
    background-color: red;
}

/* =========================================
   BOTONES MENU EN MOVILES
   ========================================= */

/* Elimina el icono SVG de Bootstrap */
.pgNavOpener .navbar-toggler-icon {
    background-image: none !important;
    width: 30px;
    height: 22px;
    position: relative;
    display: block;
}

/* Las 3 rayas borgoña*/
.pgNavOpener .navbar-toggler-icon::before,
.pgNavOpener .navbar-toggler-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 30px;
    height: 3px;
    background-color: #4E1C50;
    border-radius: 2px;
}

/* Las 3 rayas blancas*/
.pgNavOpener .navbar-toggler-iconW::before,
.pgNavOpener .navbar-toggler-iconW::after {
    content: "";
    position: absolute;
    left: -20px;
    width: 30px;
    height: 3px;
    background-color: #DDDBDD;
    border-radius: 2px;
}

/* Primera y tercera raya borgoña*/
.pgNavOpener .navbar-toggler-icon::before {
    top: 0;
    box-shadow: 0 9px 0 #4E1C50, 0 18px 0 #4E1C50;
}

/* Primera y tercera raya blancas*/
.pgNavOpener .navbar-toggler-iconW::before {
    top: 7px;
    box-shadow: 0 9px 0 #DDDBDD, 0 18px 0 #DDDBDD;
}

/* El after no necesita dibujar nada */
.pgNavOpener .navbar-toggler-icon::after, .pgNavOpener .navbar-toggler-iconW::after {
    display: none;
}

/* =========================================
   BOTONES PORTADA
   ========================================= */

.portada-botones {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 14px;
    margin-top: 36px;
}

.portada-botones .btn-portada {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 145px;
    padding: 13px 24px;

    /* Estado normal */
    background: transparent !important;
    background-color: transparent !important;
    border: 1px solid rgba(221, 219, 221, 0.75) !important;
    color: #DDDBDD !important;
    font-family: 'Lora', serif;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none !important;
    overflow: hidden;
    isolation: isolate;
    transition:
        color 0.4s ease,
        border-color 0.4s ease,
        transform 0.4s ease;
    margin-top: 10%;
}


/* Fondo del efecto */
.portada-botones .btn-portada::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0;
    background: #768071 !important;
    z-index: -1;
    transition: height 0.4s ease;
}


/* Texto */
.portada-botones .btn-portada span {
    position: relative;
    z-index: 2;
}


/* =========================================
   HOVER
   ========================================= */

.portada-botones .btn-portada:hover,
.portada-botones .btn-portada:focus,
.portada-botones .btn-portada:active {
    background: transparent !important;
    background-color: transparent !important;
    border-color: #768071 !important;
    color: #DDDBDD !important;
    text-decoration: none !important;
    transform: translateY(-2px);
}


.portada-botones .btn-portada:hover::before,
.portada-botones .btn-portada:focus::before {
    height: 100%;
}

/* =========================================
   FIRMA DEL AUTOR
   ========================================= */

.firmaautor {
    margin-top: 18px;
    font-family: 'Lora', serif;
    font-size: 2.9rem;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 1.5px;
    color: #DDDBDD;
    opacity: 0.9;
}

/* -------------- */ 

@media (max-width: 767px) {

    .portada-botones {
        justify-content: flex-start;
        gap: 8px;
        margin-top: 25px;
    }

    .btn-portada {
        padding: 11px 20px;
        font-size: 0.9rem;
        letter-spacing: 1px;
    }

}

/* Filtro Colecciones */
.ogFiltersList > li > a{
    text-decoration: none;
    -webkit-transition: color 0.3s ease;
    -o-transition: color 0.3s ease;
    transition: color 0.3s ease;
    color: #080808;
    border: 1px solid #768071;
    padding: 10px 20px;
    width: fit-content;
    text-transform: uppercase;
    font-family: Lora;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.ogFiltersList > li > a:hover, .ogFiltersList > li.active > a{
    color: #dddbdd;
    background-color: #4e1c50;

}

.contactFormWrap{
    color: #777777 !important;
}

.contactImg{
    background-image: url(../images/contact.png);
    background-size: cover;
    box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.3);
}

.contactFormWrap p{
    text-align: justify !important;
    color: #000000;
    font-size: 1.1rem;
}

 p.reqFields{
    text-align: right !important;
    font-size: 0.8rem;
    color: #884F5C;
    font-family: "Playfair Display" !important;
}

input.wpcf7-form-control, textarea.wpcf7-form-control, .wpcf7-list-item-label{
    font-family: "Playfair Display";
    font-weight: 300;
    color: #000;
}

.wpcf7-submit{
    color: #FFFCFC !important;
    background-color: #B76E79;
    border-color: #B76E79;
}

.wpcf7-submit:hover{
    /*color: rgb(var(--primary-txt-color));*/
    border-color: #884F5C;
    background-color: #884F5C;
}

input[type="checkbox" i] {
    background-color: var(--primary-bg-color);
    cursor: default;
    appearance: auto;
    box-sizing: border-box;
    margin: 3px 3px 3px 4px;
    padding: initial;
    border: initial;
}

.email, .reqFields{
    font-family: "Inter" !important;
}

strong.title{
	font-family: "Lora";
	font-size: 2rem;
	font-weight: 400;
    color: #4E1C50;
    text-align: center;
    margin-bottom: 25px !important;
}

.galFig img.sombra{
    box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.3) !important;
}

/* =========================================================
   EXPOSICIÓN
   ========================================================= */

.exposicion-gallery {
    width: 100%;
}


/* ---------------------------------------------------------
   OBRA
   --------------------------------------------------------- */

.exposicion-item {
    position: relative;
    display: grid;
    grid-template-columns:
        minmax(0, 1.6fr)
        minmax(280px, 0.8fr);

    column-gap: clamp(40px, 7vw, 120px);
    align-items: center;
    margin-bottom: clamp(65px, 7vw, 110px);
    padding-bottom: clamp(65px, 7vw, 110px);
    border-bottom: 1px solid rgba(118, 128, 113, 0.10);
}

.exposicion-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}


/* ---------------------------------------------------------
   NUMERACIÓN
   --------------------------------------------------------- */

.exposicion-numero {
    position: absolute;
    top: -30px;
    left: 0;
    font-family: "Lora", serif;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    color: #768071;
}


/* ---------------------------------------------------------
   IMAGEN
   --------------------------------------------------------- */

.exposicion-imagen {
    overflow: visible;
}

.exposicion-imagen a {
    display: block;
}

.exposicion-imagen img {
    display: block;

    width: 100%;
    height: auto;

    transition:
        transform 0.6s ease;
}

.exposicion-item--vertical .exposicion-imagen img {
    width: 65%;
    margin: 0 auto;
    display: block;
}

@media (max-width: 768px) {
    .exposicion-item--vertical .exposicion-imagen img {
        width: 85%;
    }
}

.exposicion-imagen img.sombra {
    box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.3);
}


/* Pequeño efecto al pasar el ratón */

.exposicion-imagen a:hover img {
    transform: scale(1.025);
}


/* ---------------------------------------------------------
   INFORMACIÓN
   --------------------------------------------------------- */

.exposicion-info {
    max-width: 420px;
}


/* Título */

.exposicion-titulo {
    margin: 0 0 25px;

    font-family: "Lora", serif;

    font-size: clamp(1.5rem, 2.2vw, 2.3rem);

    font-weight: 400;

    line-height: 1.2;

    color: #080808;
}


/* Línea decorativa */

.exposicion-titulo::after {
    content: "";
    display: block;
    width: 45px;
    height: 1px;
    margin-top: 20px;
    background: #768071;
}


/* Descripción */

.exposicion-descripcion {
    font-family: "Lora", serif;
    font-size: 1rem;
    line-height: 1.75;
    color: #080808;
}

.exposicion-descripcion p {
    margin-bottom: 1rem;
}


/* ---------------------------------------------------------
   ALTERNANCIA
   --------------------------------------------------------- */

.exposicion-item--reverse {
    grid-template-columns:
        minmax(280px, 0.8fr)
        minmax(0, 1.6fr);
}


/*
 * En la segunda obra:
 * información izquierda
 * imagen derecha
 */

.exposicion-item--reverse .exposicion-imagen {
    grid-column: 2;
    grid-row: 1;
}

.exposicion-item--reverse .exposicion-info {
    grid-column: 1;
    grid-row: 1;

    justify-self: end;
}

.exposicion-item--reverse .exposicion-numero {
    left: auto;
    right: 0;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {

    .exposicion-item,
    .exposicion-item--reverse {

        grid-template-columns:
            minmax(0, 1.3fr)
            minmax(240px, 0.7fr);

        column-gap: 50px;

        margin-bottom: 70px;
        padding-bottom: 70px;
    }

    .exposicion-info {
        max-width: 350px;
    }
}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 767.98px) {

    .exposicion-item,
    .exposicion-item--reverse {

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        /*
         * Separación más pequeña en móvil
         */
        margin-bottom: 50px;
        padding-bottom: 50px;
    }


    .exposicion-imagen,
    .exposicion-item--reverse .exposicion-imagen {
        order: 1;
        width: 100%;
    }


    .exposicion-info,
    .exposicion-item--reverse .exposicion-info {

        order: 2;

        width: 100%;
        max-width: none;

        margin-top: 22px;

        justify-self: auto;
    }


    .exposicion-numero,
    .exposicion-item--reverse .exposicion-numero {

        position: static;

        order: 0;

        margin-bottom: 10px;

        text-align: left;
    }


    .exposicion-titulo {

        font-size: 1.5rem;

        margin-bottom: 18px;
    }


    .exposicion-descripcion {

        font-size: 0.95rem;

        line-height: 1.7;
    }


    /*
     * Separador todavía más sutil en móvil
     */
    .exposicion-item {
        border-bottom-color: rgba(0, 0, 0, 0.08);
    }

}
/* =========================================================
   SOBRE EL AUTOR
   ========================================================= */

.autor-contenido {
    max-width: 1050px;
}


/* =========================================================
   INTRODUCCIÓN
   ========================================================= */

.autor-introduccion {
    display: grid;
    grid-template-columns: 38% 1fr;
    gap: 65px;
    align-items: start;
}


/* =========================================================
   IMAGEN
   ========================================================= */

.autor-imagen {
    margin: 0;
}

.autor-imagen img {
    display: block;
    width: 100%;
    height: auto;
    box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.3);
}

.autor-imagen-caption {
    margin-top: 10px;
    font-size: 0.78rem;
    line-height: 1.45;
    color: #777;
}


/* =========================================================
   INFORMACIÓN DEL AUTOR
   ========================================================= */

.autor-introduccion-texto {
    padding-top: 5px;
}

.autor-nombre {
    margin: 0 0 7px;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: 0.02em;
}

.autor-subtitulo {
    font-size: 0.95rem;
    color: #777;
    letter-spacing: 0.04em;
}

.autor-linea {
    width: 50px;
    height: 2px;
    background: #4E1C50;
    margin: 28px 0 30px;
}


/* =========================================================
   TEXTO
   ========================================================= */

.autor-texto {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #444;
    text-align: justify;
}

.autor-texto p {
    margin-top: 0;
    margin-bottom: 28px;
}

.autor-texto p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   FRASE DESTACADA
   ========================================================= */

.autor-frase {
    max-width: 850px;
    margin: 80px auto;
    padding: 35px 50px;
    border-top: 1px solid rgba(78, 28, 80, 0.25);
    border-bottom: 1px solid rgba(78, 28, 80, 0.25);
    text-align: center;
}

.autor-frase p {
    margin: 0;
    font-size: 1.45rem;
    line-height: 1.6;
    font-weight: 400;
    font-style: italic;
    color: #4E1C50;
}

.autor-frase-comilla {
    display: block;
    height: 18px;
    font-size: 3rem;
    line-height: 1;
    color: #4E1C50;
}


/* =========================================================
   TEXTO FINAL
   ========================================================= */

.autor-texto-final {
    max-width: 900px;
    margin: 0 auto;
}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 767px) {

    .autor-contenido {
        max-width: 100%;
    }


    .autor-introduccion {
        display: flex;
        flex-direction: column;
        gap: 35px;
    }


    .autor-imagen {
        width: 100%;
    }


    .autor-introduccion-texto {
        padding-top: 0;
    }


    .autor-nombre {
        font-size: 1.65rem;
    }


    .autor-texto {
        font-size: 1rem;
        line-height: 1.75;
    }


    .autor-frase {
        margin: 55px auto;
        padding: 30px 20px;
    }


    .autor-frase p {
        font-size: 1.15rem;
    }

}

@media (min-width: 768px) {
    .headerFixer.fixedPosition {
        -webkit-box-shadow: 0 5px 5px -5px rgba(0, 0, 0, 0.2);
        box-shadow: 0 5px 5px -5px rgba(0, 0, 0, 0.2);
    }
}

@media (min-width: 1230px) {
    .pt-xl-8, .py-xl-8 {
        padding-top: 25px !important;
    }
}

@media (min-width: 992px) {
    .pb-lg-5, .py-lg-5 {
        padding-bottom: 25px !important;
    }
}

@media (min-width: 992px) {
    .pt-lg-12, .py-lg-12 {
        padding-top: 95px !important;
    }
}

@media (min-width: 1230px) {
    .pt-xl-20, .py-xl-20{
        padding-top: 100px !important;
    }
}