/* Réplica de estilos personalizados del sitio WordPress (wp-custom-css + ajustes Kahlo) */

#qodef-page-inner { padding: 0; }

body.single-product #qodef-page-inner {
    padding: 59px 0 100px;
}

@media (max-width: 1024px) {
    body.single-product #qodef-page-inner {
        padding-top: 0;
    }
}

body.single-product #qodef-page-content {
    max-width: none;
    margin: 0;
    padding: 0;
}

.single-product .product_title {
    display: none !important;
}

.single-product .custom-product-header .product_title,
.single-product .custom-product-header h1:not(.product_title) {
    display: block !important;
}

/* Elementor section-stretched: en WordPress elementor-frontend.js fija el ancho al viewport. */
.elementor-section.elementor-section-stretched {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/*
 * Heroes con fondo edificio2 (section-based: events/ferias/contacto).
 * Blog (4262) usa post-4262.css: margin-bottom en el hero separa la lista de entradas.
 * En "quienes-somos" padding + min-height viven en el MISMO e-con (abcd58e).
 * Si se aplica padding en la section Y min-height en .elementor-container, el hero queda el doble de alto.
 */
body.elementor-page-257 .elementor-element.elementor-element-5a48c79,
body.elementor-page-11040 .elementor-element.elementor-element-ec67a90,
body.elementor-page-9124 .elementor-element.elementor-element-0903020 {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    margin-top: 60px !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    background-position: center center !important;
}

body.elementor-page-257 .elementor-element.elementor-element-5a48c79 > .elementor-container,
body.elementor-page-11040 .elementor-element.elementor-element-ec67a90 > .elementor-container,
body.elementor-page-9124 .elementor-element.elementor-element-0903020 > .elementor-container {
    box-sizing: border-box !important;
    min-height: 300px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding-top: 200px !important;
    padding-bottom: 55px !important;
}

body.elementor-page-257 .elementor-element.elementor-element-5a48c79 .elementor-column > .elementor-widget-wrap,
body.elementor-page-11040 .elementor-element.elementor-element-ec67a90 .elementor-column > .elementor-widget-wrap,
body.elementor-page-9124 .elementor-element.elementor-element-0903020 .elementor-column > .elementor-widget-wrap {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
}

body.elementor-page-257 .elementor-element.elementor-element-cb7d67c,
body.elementor-page-11040 .elementor-element.elementor-element-668a90b,
body.elementor-page-9124 .elementor-element.elementor-element-d381a6f {
    width: 56% !important;
    max-width: 56% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.elementor-page-257 .elementor-element.elementor-element-cb7d67c > .elementor-widget-container,
body.elementor-page-11040 .elementor-element.elementor-element-668a90b > .elementor-widget-container,
body.elementor-page-9124 .elementor-element.elementor-element-d381a6f > .elementor-widget-container {
    margin: -75px 0 21px !important;
}

@media (max-width: 1024px) {
    body.elementor-page-257 .elementor-element.elementor-element-5a48c79 > .elementor-container,
    body.elementor-page-11040 .elementor-element.elementor-element-ec67a90 > .elementor-container,
    body.elementor-page-9124 .elementor-element.elementor-element-0903020 > .elementor-container {
        min-height: 300px !important;
    }

    body.elementor-page-257 .elementor-element.elementor-element-cb7d67c,
    body.elementor-page-11040 .elementor-element.elementor-element-668a90b,
    body.elementor-page-9124 .elementor-element.elementor-element-d381a6f {
        width: 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 767px) {
    body.elementor-page-257 .elementor-element.elementor-element-5a48c79 > .elementor-container,
    body.elementor-page-11040 .elementor-element.elementor-element-ec67a90 > .elementor-container,
    body.elementor-page-9124 .elementor-element.elementor-element-0903020 > .elementor-container {
        padding-top: 94px !important;
        padding-bottom: 55px !important;
    }
}

/* Blog: el hero lleva margin-bottom propio en post-4262.css (60/80/115px) */
body.elementor-page-4262 .elementor-element.elementor-element-3f1a616 {
    background-position: center center !important;
}

/* Hero reutilizable (carrito y páginas Laravel sin plantilla Elementor) */
.galeria-page-hero {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 60px;
    margin-bottom: 0;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.galeria-page-hero__inner {
    box-sizing: border-box;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 200px 24px 55px;
}

.galeria-page-hero__title-wrap {
    width: 56%;
    max-width: 56%;
    margin: -75px auto 21px;
}

.galeria-page-hero .qodef-m-title {
    color: #fff;
    text-align: center;
    margin: 0;
}

body.galeria-cart-page .galeria-cart {
    max-width: 960px;
    margin: 0 auto;
    padding: 48px 24px 64px;
}

@media (max-width: 1024px) {
    .galeria-page-hero__title-wrap {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .galeria-page-hero__inner {
        padding-top: 94px;
        padding-bottom: 55px;
    }
}

#qodef-page-header .qodef-header-logo-link { height: 56px !important; }

.galeria-header-search {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    box-sizing: border-box;
    padding: 0 2.2% 14px;
}

.galeria-search-form {
    display: flex;
    align-items: center;
    flex: 0 1 320px;
    width: 320px;
    max-width: 100%;
}

.galeria-search-form input[type="search"] {
    flex: 1;
    min-width: 0;
    height: 34px;
    margin: 0;
    padding: 0 10px;
    border: 1px solid #111;
    border-right: 0;
    border-radius: 3px 0 0 3px;
    font-size: 13px;
    line-height: 1.2;
    background: #fff;
    box-sizing: border-box;
    vertical-align: middle;
}

.galeria-search-form input[type="search"]:focus {
    outline: none;
}

.galeria-search-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid #111;
    border-radius: 0 3px 3px 0;
    background: #111;
    color: #fff;
    font-size: 13px;
    line-height: 1;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    box-sizing: border-box;
    vertical-align: middle;
}

.galeria-search-form__submit:hover {
    background: #333;
    border-color: #333;
}

#qodef-page-header .galeria-search-form__submit,
#qodef-page-mobile-header .galeria-search-form__submit {
    min-height: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.galeria-mobile-search {
    display: none;
    padding: 0 16px 12px;
    border-bottom: 1px solid #ececec;
}

@media (max-width: 1024px) {
    .galeria-header-search {
        display: none;
    }

    .galeria-mobile-search {
        display: block;
    }

    .galeria-mobile-search .galeria-search-form {
        width: 100%;
        flex: 1 1 auto;
    }
}

.galeria-search-results {
    padding: 24px 0 48px;
}

.galeria-search-results__heading {
    margin-bottom: 24px;
}

.galeria-search-results__message {
    margin: 0;
    color: #666;
}

.galeria-search-artists {
    margin-bottom: 32px;
}

.galeria-search-artists__title,
.galeria-search-artworks__title {
    margin: 0 0 12px;
    font-size: 1.1rem;
    font-weight: 600;
}

.galeria-search-artists__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.galeria-search-artists__list a {
    text-decoration: underline;
}

#qodef-page-mobile-header .qodef-mobile-header-opener,
#qodef-page-mobile-header .qodef-fullscreen-menu-opener { font-size: 24px; }

#qodef-page-mobile-header .qodef-mobile-header-logo-link { height: 32px; }

.qodef-header--standard-extended #qodef-page-header { height: 152px; }

.qodef-header--standard-extended #qodef-page-header-inner {
    padding-left: 2.2%;
    padding-right: 2.2%;
    border-bottom-width: 1px;
    border-bottom-style: solid;
}

.qodef-mobile-header--standard #qodef-page-mobile-header {
    height: auto;
    min-height: 70px;
}

#qodef-page-header .qodef-header-navigation {
    display: flex;
    justify-content: center;
    width: 100%;
    text-align: center;
}

#qodef-page-header .qodef-header-navigation-inner {
    display: flex;
    justify-content: center;
    width: 100%;
}

.qodef-main-menu,
#qodef-page-header .qodef-header-navigation > ul {
    display: flex;
    justify-content: center;
    gap: 30px;
    width: auto;
    list-style: none;
    margin: 0;
    padding: 0;
}

.qodef-main-menu > li > a,
#qodef-page-header .qodef-header-navigation > ul > li > a {
    text-align: center;
}

/* Submenús de escritorio (Artistas → Pintura → tipos) */
@media (min-width: 1025px) {
    #qodef-page-header .qodef-header-navigation > ul > li.menu-item-has-children:hover > .qodef-drop-down-second,
    #qodef-page-header .qodef-header-navigation > ul > li.menu-item-has-children > .qodef-drop-down-second.qodef-drop-down--start {
        opacity: 1;
        visibility: visible;
        overflow: visible;
    }

    #qodef-page-header .qodef-header-navigation ul li.menu-item-has-children:hover > ul.sub-menu {
        opacity: 1;
        visibility: visible;
    }
}

.newsletter-form { text-align: center; }

.newsletter-form .qodef-content-bottom-subscribe-inner {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 0;
}

.newsletter-form .qodef-content-bottom-subscribe-item {
    display: flex;
    align-items: stretch;
}

.newsletter-form input[type="email"] {
    display: block;
    margin: 10px 0;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 3px 0 0 3px;
    min-width: 250px;
    height: 46px;
}

.newsletter-form input[type="submit"],
.newsletter-form .qodef-button {
    margin: 10px 0;
    background-color: #000;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    border: none;
    transition: 0.3s ease all;
    border-radius: 0 3px 3px 0;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.newsletter-form input[type="submit"]:hover,
.newsletter-form .qodef-button:hover {
    background-color: #444;
}

@media (max-width: 767px) {
    .newsletter-form .qodef-content-bottom-subscribe-inner {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .newsletter-form input[type="email"] {
        border-radius: 3px;
        margin: 0;
        width: min(100%, 320px);
    }

    .newsletter-form .qodef-button {
        border-radius: 3px;
        margin: 0;
        width: min(100%, 320px);
    }
}

.whatsapp-float {
    position: fixed;
    width: 45px;
    height: 45px;
    bottom: 90px;
    right: 25px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #20b857;
    transform: scale(1.1);
    color: #fff;
}

.whatsapp-float i { margin: 0 !important; color: #fff !important; }

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .galeria-cart-form,
.woocommerce-page ul.products li.product .button,
.woocommerce-page ul.products li.product .galeria-cart-form,
.qodef-e-media-inner a.add_to_cart_button {
    display: none !important;
}

.galeria-social-share {
    margin: 24px 0 0;
}

.galeria-social-share .addtoany_header {
    margin-bottom: 10px;
    font-weight: 600;
}

.galeria-social-share__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.galeria-social-share__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #143852;
    color: #fff !important;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
}

.galeria-social-share__link:hover {
    transform: scale(1.08);
    background: #0f2a3d;
    color: #fff !important;
}

.galeria-social-share__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.galeria-social-share__icon i {
    font-size: 16px;
}

body {
    padding-top: 8px;
}

.galeria-mini-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    text-decoration: none;
    position: relative;
    width: 24px;
    height: 24px;
}

.galeria-mini-cart i {
    font-size: 19px;
    line-height: 1;
}

.galeria-mini-cart__count {
    position: absolute;
    top: -6px;
    right: -8px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #143852;
    color: #fff;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
    font-weight: 600;
}

.galeria-mini-cart--mobile {
    margin-right: 12px;
}

.galeria-artwork-actions {
    margin: 16px 0 24px;
}

#qodef-woo-page form.cart {
    margin-top: 0;
}

.galeria-artwork-actions--compact {
    margin: 8px 0 0;
}

.qodef-e-media-inner .galeria-cart-form {
    display: inline-block;
}

#qodef-woo-page .galeria-cart-form {
    display: block;
    width: 100%;
}

#qodef-woo-page .summary .galeria-inquiry-open {
    margin-top: 12px;
}

.qodef-e-media-inner .galeria-cart-form,
.qodef-e-media-inner .galeria-inquiry-open {
    margin-top: 8px;
}

.galeria-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.galeria-modal[hidden] {
    display: none !important;
}

.galeria-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.galeria-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(560px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    padding: 28px 24px 24px;
    border-radius: 6px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.galeria-modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: 0;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #333;
}

.galeria-modal__subtitle {
    margin: 0 0 16px;
    color: #555;
}

#galeria-inquiry-feedback:empty {
    display: none;
}

.galeria-modal .galeria-form-notice--prominent {
    margin: 0 0 16px;
    text-align: left;
}

.galeria-inquiry-thanks-title {
    margin: 0 0 8px;
    font-size: 1.5rem;
    color: #1b5e20;
}

.galeria-inquiry-thanks-message {
    margin-bottom: 20px !important;
    text-align: center !important;
}

.galeria-inquiry-feedback--success {
    margin-bottom: 8px;
}

.galeria-inquiry-panel[hidden] {
    display: none !important;
}

.galeria-contact-thanks {
    padding: 8px 0 24px;
}

.galeria-contact-panel[hidden] {
    display: none !important;
}

.galeria-contact-thanks__title {
    margin: 0 0 16px;
    font-size: 1.75rem;
    color: #1b5e20;
}

.galeria-contact-thanks .galeria-form-notice--prominent {
    text-align: center;
}

.galeria-modal__preview {
    margin-bottom: 16px;
    text-align: center;
}

.galeria-modal__preview img {
    max-width: 220px;
    height: auto;
}

.galeria-inquiry-form__row {
    margin-bottom: 14px;
}

.galeria-inquiry-form__row label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
}

.galeria-inquiry-form__row input,
.galeria-inquiry-form__row textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font: inherit;
}

.galeria-country-field__control {
    position: relative;
}

.galeria-country-field__input {
    width: 100%;
}

.galeria-country-field__list {
    position: absolute;
    z-index: 30;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    max-height: 240px;
    margin: 0;
    padding: 6px 0;
    overflow-y: auto;
    list-style: none;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.galeria-country-field__option {
    padding: 8px 12px;
    cursor: pointer;
}

.galeria-country-field__option:hover,
.galeria-country-field__option:focus {
    background: #f5f5f5;
}

.galeria-country-field__empty {
    padding: 8px 12px;
    color: #666;
}

.galeria-inquiry-submit,
.galeria-checkout-submit {
    margin-top: 8px;
}

body.galeria-cart-page .galeria-cart__table {
    width: 100%;
    margin-bottom: 32px;
    border-collapse: collapse;
    border: 1px solid #111;
}

body.galeria-cart-page .galeria-cart__table th,
body.galeria-cart-page .galeria-cart__table td {
    padding: 12px 8px;
    border: 1px solid #111;
    vertical-align: middle;
}

.galeria-cart__product {
    display: flex;
    align-items: center;
    gap: 16px;
}

.galeria-cart__thumb img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.galeria-cart__artist {
    display: block;
    color: #666;
    font-size: 14px;
}

body.galeria-cart-page .galeria-cart__remove {
    text-align: center;
    white-space: nowrap;
}

body.galeria-cart-page .galeria-cart__remove-btn {
    border: 0;
    background: transparent;
    padding: 0;
    font-size: 12px;
    line-height: 1.3;
    cursor: pointer;
    color: #666;
    text-decoration: underline;
}

body.galeria-cart-page .galeria-cart__remove-btn:hover {
    color: #111;
}

.galeria-cart__checkout {
    border-top: 1px solid #e5e5e5;
    padding-top: 24px;
}

.galeria-checkout-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
}

.galeria-checkout-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 768px) {
    .galeria-checkout-grid,
    .galeria-checkout-grid--3 {
        grid-template-columns: 1fr;
    }
}

.galeria-paypal-submit {
    background: #0070ba;
    border-color: #0070ba;
    color: #fff;
    min-width: 240px;
}

.galeria-stripe-submit {
    background: #635bff;
    border-color: #635bff;
    color: #fff;
    min-width: 280px;
    margin-top: 8px;
}

.galeria-stripe-submit:hover:not(:disabled) {
    background: #4f46e5;
    border-color: #4f46e5;
    color: #fff;
}

.galeria-stripe-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.galeria-payment-badges {
    margin: 0 0 20px;
    padding: 16px 18px;
    background: #fafafa;
    border: 1px solid #ececec;
    border-radius: 6px;
}

.galeria-payment-badges__label {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #444;
}

.galeria-payment-badges__logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.galeria-payment-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.galeria-payment-badge img {
    display: block;
    width: auto;
    height: 49px;
    border: none;
    background: transparent;
    border-radius: 4px;
}

.galeria-payment-badges__note {
    margin: 12px 0 0;
    font-size: 13px;
    color: #666;
}

.galeria-cart__paypal-alt {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px dashed #ddd;
}

.galeria-cart__paypal-alt summary {
    cursor: pointer;
    color: #666;
    font-size: 14px;
}

.galeria-cart__paypal-alt-note {
    margin: 10px 0;
    font-size: 13px;
    color: #777;
}

.galeria-paypal-submit--secondary {
    min-width: 200px;
    font-size: 14px;
    padding: 10px 18px;
}

.galeria-paypal-submit:hover:not(:disabled) {
    background: #005ea6;
    border-color: #005ea6;
    color: #fff;
}

.galeria-paypal-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.galeria-cart__paypal-note {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

body.galeria-modal-open {
    overflow: hidden;
}

/* Selector de idioma (estilo TranslatePress) */
.galeria-language-switcher {
    position: relative;
    z-index: 10002;
    background: #fff;
    border: 1px solid rgba(20, 56, 82, 0.1);
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    font-family: "Space Grotesk", Roboto, sans-serif;
    font-size: 14px;
    flex-shrink: 0;
}

.galeria-header-top-tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
}

#qodef-page-header .galeria-header-top-tools .widget_kahlo_core_working_hours_list {
    margin: 0;
}

#qodef-page-header .galeria-header-top-tools .qodef-working-hours-list {
    white-space: nowrap;
}

.galeria-language-switcher .trp-language-switcher-inner { position: relative; }

.galeria-language-switcher .trp-language-item__current {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    cursor: pointer;
    user-select: none;
}

.galeria-language-switcher .trp-switcher-dropdown-list {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 100%;
    background: #fff;
    border: 1px solid rgba(20, 56, 82, 0.1);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.galeria-language-switcher .trp-switcher-dropdown-list a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    color: #143852;
    text-decoration: none;
}

.galeria-language-switcher .trp-switcher-dropdown-list a:hover { background: rgba(0,0,0,0.05); }

.galeria-language-switcher .trp-switcher-dropdown-list a.is-active { font-weight: 700; }

@media (min-width: 1025px) {
    .galeria-language-switcher--mobile {
        display: none !important;
    }

    .galeria-language-switcher--desktop {
        order: 2;
    }

    .galeria-header-top-tools .widget_kahlo_core_working_hours_list {
        order: 1;
    }
}

.galeria-form-notice {
    margin: 12px auto;
    max-width: 800px;
    padding: 12px 16px;
    border-radius: 4px;
    text-align: center;
}

.galeria-form-notice--success {
    background: #e8f5e9;
    color: #1b5e20;
}

.galeria-form-notice--error {
    background: #ffebee;
    color: #b71c1c;
}

.galeria-form-notice--prominent {
    margin: 0 0 20px;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid currentColor;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.galeria-form-notice--prominent.galeria-form-notice--success {
    border-color: #2e7d32;
}

.galeria-form-notice--prominent.galeria-form-notice--error {
    border-color: #c62828;
}

.galeria-form-notice__list {
    margin: 8px 0 0;
    padding-left: 20px;
    font-size: 14px;
    font-weight: 400;
    text-align: left;
}

.galeria-contact-feedback:empty {
    display: none;
}

#galeria-contact-feedback-errors:empty {
    display: none;
}

.galeria-turnstile-wrap {
    margin: 12px 0 4px;
}

.form-contacto-larcada .galeria-turnstile-wrap {
    display: flex;
    justify-content: flex-start;
}

.galeria-inquiry-form .galeria-turnstile-wrap {
    margin-bottom: 16px;
}

.galeria-newsletter-notice {
    max-width: 520px;
    margin: 12px auto 0;
    text-align: center;
}

/* Menú móvil */
#qodef-page-mobile-header { display: none; }

@media (max-width: 1024px) {
    #qodef-page-header { display: none; }
    #qodef-page-mobile-header { display: block; }

    #qodef-page-outer {
        padding-top: 128px;
    }

    #qodef-page-wrapper {
        overflow-x: clip;
    }

    .galeria-language-switcher--desktop {
        display: none !important;
    }

    .galeria-mobile-header-tools {
        display: flex;
        align-items: center;
        margin-left: auto;
        gap: 0;
    }

    .galeria-language-switcher--mobile {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        order: 1;
        margin-right: 5px;
        z-index: 10003;
        border-radius: 6px;
        box-shadow: none;
        border: 1px solid rgba(20, 56, 82, 0.2);
        font-size: 13px;
    }

    .galeria-mini-cart--mobile {
        order: 2;
        margin-right: 12px;
    }

    #qodef-page-mobile-header .qodef-mobile-header-opener {
        order: 3;
    }

    .galeria-language-switcher--mobile .trp-switcher-dropdown-list {
        z-index: 10004;
    }

    .galeria-language-switcher--mobile .trp-language-item__current {
        padding: 6px 8px;
        gap: 4px;
    }

    .qodef-mobile-header-navigation {
        background: #fff;
        border-top: 1px solid #eee;
        padding: 1rem 1.5rem;
    }

    .qodef-mobile-header-navigation .menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .qodef-mobile-header-navigation .menu > li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .qodef-mobile-header-navigation .menu > li > a {
        display: block;
        padding: 0.75rem 0;
    }

    .qodef-mobile-header-navigation .qodef-drop-down-second {
        position: static;
        height: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.3s ease;
    }

    .qodef-mobile-header-navigation li.is-submenu-open > .qodef-drop-down-second {
        max-height: 2000px;
    }

    .qodef-mobile-header-navigation .qodef-drop-down-second-inner > ul {
        padding-left: 1rem;
    }

    .qodef-mobile-header-navigation li.menu-item-has-children > ul.sub-menu {
        display: none;
        padding-left: 1rem;
    }

    .qodef-mobile-header-navigation li.menu-item-has-children.is-submenu-open > ul.sub-menu {
        display: block;
    }

    .qodef-mobile-header-navigation .menu-item-has-children > a {
        position: relative;
        padding-right: 2rem;
    }

    .qodef-mobile-header-navigation .galeria-submenu-toggle {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
        width: 2.75rem;
        height: 2.75rem;
        border: none;
        background: transparent;
        cursor: pointer;
        padding: 0;
        font-size: 1.25rem;
        line-height: 1;
        color: inherit;
        touch-action: manipulation;
    }

    .qodef-mobile-header-navigation .menu-item-has-children.is-submenu-open > .galeria-submenu-toggle {
        transform: translateY(-50%) rotate(45deg);
    }

    .qodef-mobile-header-navigation .menu-item-has-children {
        position: relative;
    }
}

@media (max-width: 1024px) {
    #qodef-page-footer-top-area .qodef-grid-inner {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 28px;
    }

    #qodef-page-footer-top-area .qodef-grid-item {
        width: 100% !important;
        max-width: 100% !important;
        grid-column: 1 / -1;
    }
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

body.artist-page #qodef-page-inner {
    padding: 59px 0 100px;
}

/* Ficha de artista — layout imagen + biografía (réplica Elementor post-8010) */
.elementor .elementor-element-artist-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 25px;
    width: 100%;
}

.elementor .elementor-element-artist-title .qodef-section-title {
    width: 100%;
    max-width: 615px;
}

.elementor .elementor-element-artist-profile,
.elementor [class*="elementor-element-"].e-grid.e-con-full.e-con.e-parent:has(> .elementor-widget-text-editor) {
    --display: grid;
    --e-con-grid-template-columns: repeat(2, 1fr);
    --e-con-grid-template-rows: repeat(1, 1fr);
    --grid-auto-flow: row;
    --justify-items: end;
    --align-items: start;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    grid-auto-flow: row;
    align-items: start;
    justify-items: end;
    width: 100%;
    padding: 0;
}

.elementor .elementor-element-artist-profile > .elementor-widget-kahlo_core_single_image,
.elementor [class*="elementor-element-"].e-grid.e-con-full.e-con.e-parent:has(> .elementor-widget-text-editor) > .elementor-widget-kahlo_core_single_image {
    align-self: center;
    justify-self: end;
}

.elementor .elementor-element-artist-profile > .elementor-widget-text-editor,
.elementor [class*="elementor-element-"].e-grid.e-con-full.e-con.e-parent:has(> .elementor-widget-text-editor) > .elementor-widget-text-editor {
    justify-self: start;
    width: 100%;
    text-align: left;
}

.elementor .elementor-element-artist-profile .qodef-single-image img,
.elementor [class*="elementor-element-"].e-grid.e-con-full.e-con.e-parent:has(> .elementor-widget-text-editor) .qodef-single-image img {
    width: auto;
    max-width: 100%;
    height: auto;
}

.elementor .elementor-element-artist-works-title,
.elementor .elementor-element-artist-related-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 35px 0 8px;
    width: 100%;
}

@media (min-width: 768px) {
    .elementor .elementor-element-artist-works-title,
    .elementor .elementor-element-artist-related-title {
        max-width: 758px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 1024px) {
    .elementor .elementor-element-artist-title,
    .elementor .elementor-element-artist-profile,
    .elementor .elementor-element-artist-works-title,
    .elementor .elementor-element-artist-related-title {
        padding-left: 7%;
        padding-right: 7%;
    }

    .elementor .elementor-element-artist-title .qodef-section-title {
        max-width: 506px;
    }
}

@media (max-width: 767px) {
    .elementor .elementor-element-artist-profile,
    .elementor [class*="elementor-element-"].e-grid.e-con-full.e-con.e-parent:has(> .elementor-widget-text-editor) {
        --e-con-grid-template-columns: repeat(1, 1fr);
        grid-template-columns: 1fr !important;
        justify-items: center;
    }

    .elementor .elementor-element-artist-profile > .elementor-widget-text-editor,
    .elementor [class*="elementor-element-"].e-grid.e-con-full.e-con.e-parent:has(> .elementor-widget-text-editor) > .elementor-widget-text-editor {
        justify-self: stretch;
    }

    .elementor .elementor-element-artist-title {
        padding-top: 25px;
        padding-bottom: 30px;
    }
}

/* Listados de obras: título y precio en negro (armonía en grids del artista y relacionados) */
.qodef-shop-page .qodef-woo-product-list ul.products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.qodef-shop-page .qodef-woo-product-list ul.products::before,
.qodef-shop-page .qodef-woo-product-list ul.products::after {
    display: none;
    content: none;
}

.qodef-shop-page .qodef-woo-product-list ul.products li.product {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0;
    float: none !important;
    clear: none !important;
}

.qodef-shop-page .qodef-woo-product-list .qodef-e-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
}

.qodef-shop-page .qodef-woo-product-list .qodef-e-media-image {
    overflow: hidden;
    background: #f5f5f5;
}

.qodef-shop-page .qodef-woo-product-list .qodef-e-media-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.qodef-shop-page .qodef-woo-product-list .qodef-woo-product-title,
.qodef-shop-page .qodef-woo-product-list .woocommerce-loop-product__title {
    margin: 0;
    font-size: 1rem;
    line-height: 1.35;
}

@media (max-width: 1024px) {
    .qodef-shop-page .qodef-woo-product-list ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
}

@media (max-width: 767px) {
    .qodef-shop-page .qodef-woo-product-list ul.products {
        grid-template-columns: 1fr;
    }
}

.qodef-woo-product-list .qodef-woo-product-title,
.qodef-woo-product-list .qodef-woo-product-title a,
.qodef-woo-product-list .woocommerce-loop-product__title,
.qodef-woo-product-list .woocommerce-loop-product__title a,
.qodef-woo-product-list .price,
.qodef-woo-product-list .price .woocommerce-Price-amount,
.qodef-woo-product-list .price .woocommerce-Price-amount bdi,
.qodef-woo-product-list .woocommerce-LoopProduct-link {
    color: #000 !important;
}

.qodef-woo-product-list .qodef-woo-product-title a:hover,
.qodef-woo-product-list .woocommerce-loop-product__title a:hover {
    color: #000 !important;
    opacity: 0.7;
}

.elementor-element-artist-related-grid .qodef-woo-product-list .qodef-woo-product-title,
.elementor-element-artist-related-grid .qodef-woo-product-list .qodef-woo-product-title a,
.elementor-element-artist-related-grid .qodef-woo-product-list .woocommerce-loop-product__title a,
.elementor-element-artist-related-grid .qodef-woo-product-list .price,
.elementor-element-artist-related-grid .qodef-woo-product-list .woocommerce-Price-amount {
    color: #000 !important;
}

/* Paginación de obras (ficha artista y listados) */
.galeria-pagination {
    margin: 36px 0 12px;
    padding: 0;
}

.galeria-pagination__inner {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1rem;
    letter-spacing: 0.08em;
    color: #000;
}

.galeria-pagination__pages {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.galeria-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    padding: 0;
    color: #000;
    text-decoration: none;
    background: transparent;
    border: 0;
    line-height: 1;
    transition: opacity 0.2s ease;
}

.galeria-pagination a.page-numbers:hover {
    opacity: 0.45;
}

.galeria-pagination .page-numbers.current {
    font-weight: 600;
    position: relative;
    opacity: 1;
}

.galeria-pagination .page-numbers.current::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 1px;
    background: #000;
}

.galeria-pagination .page-numbers.prev,
.galeria-pagination .page-numbers.next {
    min-width: auto;
    padding: 0;
}

.galeria-pagination .page-numbers.prev svg,
.galeria-pagination .page-numbers.next svg {
    display: block;
    width: 1.35rem;
    height: 1.35rem;
    fill: currentColor;
}

.galeria-pagination .page-numbers.is-disabled {
    opacity: 0.22;
    pointer-events: none;
}

.elementor-element-artist-works-grid .galeria-pagination {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    padding-left: 0;
}

@media (max-width: 767px) {
    .galeria-pagination__inner {
        gap: 14px;
    }

    .galeria-pagination__pages {
        gap: 10px;
    }
}

/* Hub Artistas Pintura (Elementor página 2113) */
.elementor-2113 .elementor-element-1a28269 .elementor-image-box-wrapper {
    text-align: center;
}

.elementor-2113 .elementor-element-1a28269 .elementor-image-box-wrapper .elementor-image-box-img {
    width: 100%;
    margin-bottom: 0;
}

.elementor-2113 .elementor-element-1a28269 .elementor-image-box-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-style: none;
    transition-duration: 0.3s;
}

.elementor-2113 .elementor-element-1a28269 .elementor-image-box-title {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 600;
    color: #000;
}

.elementor-2113 .elementor-element-1a28269 .elementor-image-box-title a {
    color: inherit;
    text-decoration: none;
}

.elementor-2113 .elementor-element-1a28269 .elementor-image-box-title a:hover {
    color: inherit;
}

/* Hub Artistas Cerámica (Elementor página 11965) */
.elementor-11965 .elementor-element-1a28269 .elementor-image-box-wrapper {
    text-align: center;
}

.elementor-11965 .elementor-element-1a28269 .elementor-image-box-wrapper .elementor-image-box-img {
    width: 100%;
    margin-bottom: 0;
}

.elementor-11965 .elementor-element-1a28269 .elementor-image-box-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-style: none;
    transition-duration: 0.3s;
}

.elementor-11965 .elementor-element-1a28269 .elementor-image-box-title {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 600;
    color: #000;
}

.elementor-11965 .elementor-element-1a28269 .elementor-image-box-title a {
    color: inherit;
    text-decoration: none;
}

.elementor-11965 .elementor-element-1a28269 .elementor-image-box-title a:hover {
    color: inherit;
}

/* Hub Artistas Escultura (Elementor página 8924) */
.elementor-8924 .elementor-element-1a28269 .elementor-image-box-wrapper {
    text-align: center;
}

.elementor-8924 .elementor-element-1a28269 .elementor-image-box-wrapper .elementor-image-box-img {
    width: 100%;
    margin-bottom: 0;
}

.elementor-8924 .elementor-element-1a28269 .elementor-image-box-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-style: none;
    transition-duration: 0.3s;
}

.elementor-8924 .elementor-element-1a28269 .elementor-image-box-title {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 600;
    color: #000;
}

.elementor-8924 .elementor-element-1a28269 .elementor-image-box-title a {
    color: inherit;
    text-decoration: none;
}

.elementor-8924 .elementor-element-1a28269 .elementor-image-box-title a:hover {
    color: inherit;
}

/* Hub Obra Gráfica (Elementor página 12310) */
.elementor-12310 .elementor-element-1a28269 .elementor-image-box-wrapper {
    text-align: center;
}

.elementor-12310 .elementor-element-1a28269 .elementor-image-box-wrapper .elementor-image-box-img {
    width: 100%;
    margin-bottom: 0;
}

.elementor-12310 .elementor-element-1a28269 .elementor-image-box-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-style: none;
    transition-duration: 0.3s;
}

.elementor-12310 .elementor-element-1a28269 .elementor-image-box-title {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 600;
    color: #000;
}

.elementor-12310 .elementor-element-1a28269 .elementor-image-box-title a {
    color: inherit;
    text-decoration: none;
}

.elementor-12310 .elementor-element-1a28269 .elementor-image-box-title a:hover {
    color: inherit;
}

/* Hub Artistas Fotografía (Elementor página 8935) */
.elementor-8935 .elementor-element-1a28269 .elementor-image-box-wrapper {
    text-align: center;
}

.elementor-8935 .elementor-element-1a28269 .elementor-image-box-wrapper .elementor-image-box-img {
    width: 100%;
    margin-bottom: 0;
}

.elementor-8935 .elementor-element-1a28269 .elementor-image-box-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-style: none;
    transition-duration: 0.3s;
}

.elementor-8935 .elementor-element-1a28269 .elementor-image-box-title {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 600;
    color: #000;
}

.elementor-8935 .elementor-element-1a28269 .elementor-image-box-title a {
    color: inherit;
    text-decoration: none;
}

.elementor-8935 .elementor-element-1a28269 .elementor-image-box-title a:hover {
    color: inherit;
}

/* Página Quiénes somos — imagen a tamaño real, sin estirar */
.elementor-1794 .elementor-element-2eb816a {
    --align-items: center;
    justify-content: center;
}

.elementor-1794 .elementor-element-d51432f {
    --flex-grow: 0 !important;
    --flex-shrink: 0;
    width: auto !important;
    max-width: 100%;
}

.elementor-1794 .elementor-element-d51432f .elementor-widget-container,
.elementor-1794 .elementor-element-d51432f img {
    width: auto !important;
    max-width: 100%;
    height: auto !important;
}

.elementor-1794 .elementor-element-d51432f img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Exposiciones (Elementor página 257) */
.qodef-status--free {
    display: none !important;
}

.elementor-257 .qodef-events-list .qodef-e-media-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Proyectos de interiorismo (galería en detalle) */
.qodef-page--interiorismo .qodef-page-content {
    max-width: 1140px;
    margin: 60px auto 45px;
    padding: 0 5.5%;
}

.qodef-page--interiorismo .qodef-page-content > h2 {
    text-align: center;
    margin-bottom: 38px;
}

.qodef-page--interiorismo .qodef-page-content a[data-fslightbox] {
    display: block;
    margin-bottom: 24px;
}

.qodef-page--interiorismo .qodef-page-content a[data-fslightbox] img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.exposicion-actual {
    padding: 48px 24px 70px;
    background: #f6f5f2;
    color: #111;
}

.galeria-home-fondo-arte {
    max-width: 1280px;
    margin: 0 auto;
    padding: 48px 24px;
    display: flex;
    align-items: center;
    min-height: 120px;
    box-sizing: border-box;
}

.elementor-6543 .galeria-home-fondo-arte + .elementor-element-6502562 {
    display: none;
}

.galeria-home-fondo-arte__title {
    margin: 0;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: #111;
    text-align: left;
}

.exposicion-actual .expo-contenido {
    max-width: 1280px;
    margin: 0 auto;
}

.exposicion-actual .expo-header {
    margin-bottom: 38px;
}

.exposicion-actual .expo-header h1,
.qodef-blog-single header h1 {
    font-size: clamp(42px, 6vw, 78px);
    line-height: 1.05;
    font-weight: 500;
    letter-spacing: -0.04em;
}

.exposicion-actual .expo-header h1 {
    margin: 0;
}

.exposicion-actual .expo-header h1 a {
    color: inherit;
    text-decoration: none;
}

.galeria-no-break-name {
    white-space: nowrap;
}

.exposicion-actual .expo-subtitulo {
    margin: 24px 0 28px;
    font-size: clamp(24px, 2.5vw, 34px);
    font-weight: 300;
    letter-spacing: -0.02em;
}

.exposicion-actual .expo-fecha {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 12px 22px;
    border: 1px solid #d5d2ca;
    border-radius: 999px;
    font-size: 21px;
    color: #222;
    background: rgba(255, 255, 255, 0.28);
}

.exposicion-actual .expo-icono {
    font-size: 17px;
    color: #444;
    line-height: 1;
}

.exposicion-actual .expo-imagen {
    width: 100%;
    overflow: hidden;
}

.exposicion-actual .expo-imagen img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 2px;
    object-fit: cover;
}

.galeria-exhibition-date {
    margin: 0 0 28px;
    font-size: 1.1rem;
}

.qodef-event-single {
    padding: 12px 0 72px;
}

.qodef-event-single h1 {
    margin: 0 0 18px;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.galeria-exhibition-featured-image {
    margin: 0;
}

.galeria-exhibition-featured-image img {
    display: block;
    width: 100%;
    height: auto;
}

.qodef-event-single .qodef-page-content {
    margin-top: 52px;
    max-width: 920px;
    font-size: 1.05rem;
    line-height: 1.75;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

.qodef-event-single .qodef-page-content p,
.qodef-event-single .qodef-page-content li {
    text-align: justify;
    text-justify: inter-word;
}

.qodef-event-single .qodef-page-content p {
    margin: 0 0 1.15em;
}

.qodef-event-single .qodef-page-content p:last-child {
    margin-bottom: 0;
}

.galeria-exhibition-artists {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin: 40px 0 8px;
    padding-top: 8px;
}

.galeria-exhibition-artist-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 12px 28px;
    border: 1px solid #111;
    border-radius: 3px;
    background: #111;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.galeria-exhibition-artist-link:hover {
    background: #fff;
    color: #111;
    border-color: #111;
}

.galeria-exhibition-artworks {
    margin-top: 32px;
}

@media (max-width: 768px) {
    .galeria-exhibition-artists {
        gap: 10px;
        margin-top: 32px;
    }

    .galeria-exhibition-artist-link {
        min-width: 0;
        width: 100%;
        max-width: 320px;
    }

    .qodef-event-single {
        padding-bottom: 48px;
    }

    .qodef-event-single .qodef-page-content {
        margin-top: 36px;
        font-size: 1rem;
        line-height: 1.65;
        text-align: left;
    }

    .qodef-event-single .qodef-page-content p,
    .qodef-event-single .qodef-page-content li {
        text-align: left;
    }

    .exposicion-actual {
        padding: 32px 18px 48px;
    }

    .exposicion-actual .expo-header h1,
    .qodef-event-single h1,
    .elementor .elementor-element-artist-title .qodef-m-title,
    .elementor .elementor-element-artist-title .qodef-section-title {
        overflow-wrap: anywhere;
        word-break: break-word;
        hyphens: auto;
    }

    .galeria-no-break-name {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .galeria-exhibition-artist-link {
        overflow-wrap: anywhere;
        hyphens: auto;
    }

    .galeria-home-fondo-arte {
        padding: 36px 18px;
        min-height: 96px;
    }

    .exposicion-actual .expo-header {
        margin-bottom: 28px;
    }

    .exposicion-actual .expo-subtitulo {
        margin: 18px 0 22px;
    }

    .exposicion-actual .expo-fecha {
        font-size: 16px;
        padding: 10px 16px;
        gap: 10px;
    }
}

.qodef-blog-single {
    padding: 12px 0 48px;
}

.qodef-blog-single header {
    margin-bottom: 38px;
}

.qodef-blog-single header h1 {
    margin: 0 0 12px;
}

.qodef-blog-single time {
    color: #666;
    font-size: 0.95rem;
}

.galeria-blog-featured-image {
    margin: 0 0 36px;
}

.galeria-blog-featured-image .qodef-blog-featured {
    display: block;
    width: 100%;
    height: auto;
}

.qodef-blog-single .qodef-page-content {
    max-width: 920px;
    font-size: 1.05rem;
    line-height: 1.75;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

.qodef-blog-single .qodef-page-content p,
.qodef-blog-single .qodef-page-content li {
    text-align: justify;
    text-justify: inter-word;
}

.qodef-blog-single .qodef-page-content p {
    margin: 0 0 1.15em;
}

.qodef-blog-single .qodef-page-content p:last-child {
    margin-bottom: 0;
}

.galeria-blog-related {
    margin: 56px 0 72px;
    padding-top: 12px;
    border-top: 1px solid #e3e0d8;
}

.galeria-blog-related__title {
    margin: 0 0 28px;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
    text-align: center;
    letter-spacing: -0.02em;
}

@media (max-width: 768px) {
    .qodef-blog-single header {
        margin-bottom: 28px;
    }

    .qodef-blog-single .qodef-page-content {
        font-size: 1rem;
        line-height: 1.65;
        text-align: left;
    }

    .qodef-blog-single .qodef-page-content p,
    .qodef-blog-single .qodef-page-content li {
        text-align: left;
    }

    .galeria-blog-related {
        margin: 40px 0 48px;
    }
}

.galeria-breadcrumbs {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: 16px 2.2% 8px;
    font-size: 0.875rem;
    line-height: 1.5;
}

.galeria-breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.galeria-breadcrumbs__item {
    display: inline-flex;
    align-items: center;
    color: #666;
}

.galeria-breadcrumbs__item:not(:last-child)::after {
    content: '/';
    margin: 0 10px;
    color: #aaa;
    pointer-events: none;
}

.galeria-breadcrumbs__item a {
    color: inherit;
    text-decoration: none;
}

.galeria-breadcrumbs__item a:hover {
    text-decoration: underline;
}

.galeria-breadcrumbs__item span[aria-current='page'] {
    color: #1a1a1a;
    font-weight: 500;
}

.galeria-category-hubs {
    margin: 0 0 24px;
    padding: 0 20px;
}

.galeria-category-hubs__title {
    margin: 0 0 10px;
}

.galeria-category-hubs__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.galeria-category-hubs__list a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.galeria-artist-artworks {
    margin-top: 40px;
}

.qodef-page-content a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

