/**
Theme Name: Palazzo-Viridis-Astra-Child
Author: Crealia

Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: palazzo-viridis-astra-child
Template: astra
*/

/* ==============================================
THEME VARIABLES
============================================== */
:root {
    --viridis-bg: #f5f0e6;
    --viridis-bg-soft: #f2eadc;
    --viridis-text: #2d2d2d;
    --viridis-accent: #1a3a2a;
    --viridis-border: #d4c9b0;
    --viridis-warm: #ece6d6;
    --viridis-gold: #9a7c3f;
    --viridis-font: 'Cormorant Garamond', serif;
}

/* ==============================================
GLOBAL TYPOGRAPHY
============================================== */
body,
p,
h1,
h2,
h3,
h4,
h5,
h6,
.elementor-widget-container {
    font-family: var(--viridis-font) !important;
}

.page-hero-content h1 {
    font-size: 50px;
    font-weight: 500;
    font-style: italic;
    color: #FFFFFF;
}

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

.site-content #primary {

    background-color: #ede3d0;
}

.mt-0 {
    margin-top: 0 !important;
}

.mt-1 {
    margin-top: 0.25rem !important;
}

.mt-2 {
    margin-top: 0.5rem !important;
}

.mt-3 {
    margin-top: 1rem !important;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

.mt-5 {
    margin-top: 3rem !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-1 {
    margin-bottom: 0.25rem !important;
}

.mb-2 {
    margin-bottom: 0.5rem !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.my-0 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.my-1 {
    margin-top: 0.25rem !important;
    margin-bottom: 0.25rem !important;
}

.my-2 {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}

.my-3 {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}

.my-4 {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}

.my-5 {
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
}

.pt-0 {
    padding-top: 0 !important;
}

.pt-1 {
    padding-top: 0.25rem !important;
}

.pt-2 {
    padding-top: 0.5rem !important;
}

.pt-3 {
    padding-top: 1rem !important;
}

.pt-4 {
    padding-top: 1.5rem !important;
}

.pt-5 {
    padding-top: 3rem !important;
}

.pb-0 {
    padding-bottom: 0 !important;
}

.pb-1 {
    padding-bottom: 0.25rem !important;
}

.pb-2 {
    padding-bottom: 0.5rem !important;
}

.pb-3 {
    padding-bottom: 1rem !important;
}

.pb-4 {
    padding-bottom: 1.5rem !important;
}

.pb-5 {
    padding-bottom: 3rem !important;
}

.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

.d-flex {
    display: flex !important;
}

.justify-content-center {
    justify-content: center !important;
}

.align-items-center {
    align-items: center !important;
}

/* ==============================================
FOOTER / HTML WIDGETS
============================================== */
.site-footer,
#colophon,
.ast-site-footer-wrap,
.ast-footer-widget-area,
.footer {
    background-color: var(--viridis-bg) !important;
}

.site-footer,
.ast-footer-widget-area,
.ast-site-footer-wrap {
    overflow: visible !important;
    width: 100% !important;
    max-width: 100% !important;
}

.site-footer,
#colophon,
.ast-site-footer-wrap,
.ast-footer-widget-area {
    padding: 40px 20px !important;
}

.footer__inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

.footer__title,
footer h2,
footer h3,
footer h4,
.footer-widget .widget-title,
.ast-builder-html-element h2,
.ast-builder-html-element h3 {
    font-family: var(--viridis-font) !important;
    font-size: 22px !important;
    font-weight: 400 !important;
    letter-spacing: 2px !important;
    color: var(--viridis-text) !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 0 16px !important;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--viridis-border);
    text-transform: uppercase;
}

.footer__list,
footer ul,
footer li,
.ast-footer-widget-area ul,
.ast-footer-widget-area li,
#secondary ul,
#secondary li,
.widget-area ul,
.widget-area li {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.footer__list {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer__list li,
footer ul li a,
.ast-footer-widget-area ul li a,
.ast-footer-widget-area p,
.ast-footer-widget-area span,
.ast-footer-widget-area a,
footer p,
footer span,
footer a,
#secondary a,
.widget-area a {
    font-family: var(--viridis-font) !important;
    font-size: 22px !important;
    letter-spacing: 0.5px !important;
}

.footer__list li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap;
    margin: 8px 0;
    line-height: 1.5;
    text-align: center;
    width: 100%;
}

.footer__list li img {
    display: block;
    flex: 0 0 auto;
}

.footer__link,
footer a,
.ast-footer-widget-area a,
#secondary a,
.widget-area a {
    color: var(--viridis-text) !important;
    text-decoration: none !important;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.footer__link:hover,
.footer__link:focus-visible,
.footer__list a:hover,
.footer__list a:focus-visible {
    color: #000 !important;
    opacity: 0.8;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

.footer__copyright {
    border-top: 1px solid var(--viridis-border);
    margin-top: 24px;
    padding-top: 18px;
    text-align: center;
}

.footer__copyright p {
    margin: 0;
    font-size: 16px;
    letter-spacing: 0.4px;
}

/* ==============================================
ELEMENTOR / HEADER / NAVIGATION
============================================== */
.e-con.e-flex.e-con-full.e-child {
    justify-content: flex-start !important;
    gap: 30px !important;
}

.main-header-menu .sub-menu {
    background-color: var(--viridis-bg) !important;
    border: none !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
    padding: 10px 0 !important;
}

.main-header-menu .sub-menu li a {
    font-family: var(--viridis-font) !important;
    font-size: 20px !important;
    font-style: normal !important;
    font-weight: 600 !important;
    color: var(--viridis-text) !important;
    padding: 10px 24px !important;
    letter-spacing: 0.5px !important;
}

.main-header-menu .sub-menu li a:hover {
    background-color: var(--viridis-warm) !important;
    color: var(--viridis-text) !important;
}

.main-header-menu .menu-item:hover>.menu-link,
.main-header-menu .menu-item:focus-within>.menu-link,
.main-header-menu .menu-item:hover>.ast-menu-toggle,
.main-header-menu .menu-item:focus-within>.ast-menu-toggle,
.main-header-menu .menu-link:hover,
.main-header-menu .menu-link:focus-visible {
    background-color: var(--viridis-warm) !important;
}

.site-footer {
    max-width: 100% !important;
}

.page-id-38 .site-footer {
    display: none !important;
}

.page-hero {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    min-height: 500px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.page-hero.no-hero-image {
    background-image: none;
    background-color: #4a4438;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

/* ==============================================
Page room template styles
============================================== */
.camera-type-tag {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.page-hero h1 {
    font-size: 2.5rem;
    font-weight: 400;
    margin: 10px 0;
    color: white;
}

.page-hero p {
    font-style: italic;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
}

.page-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.pv-room-quote {
    border: none;
    margin: 40px auto;
    padding: 0;
    text-align: center;
    max-width: 700px;
}

.pv-room-quote p {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.6rem;
    font-weight: 400;
    font-style: italic;
    color: #5a4a33;
    letter-spacing: 0.03em;
    line-height: 1.5;
    margin: 0;
}

.pv-room-quote p::before {
    content: '\201C';
}

.pv-room-quote p::after {
    content: '\201D';
}

.pv-breadcrumbs {
    margin: 0 0 24px;
    font-size: 0.95rem;
    color: #7b705d;
}

.pv-breadcrumbs a {
    color: inherit;
    text-decoration: none;
}

.pv-breadcrumbs a:hover {
    text-decoration: underline;
}

.pv-gallery {
    margin-bottom: 40px;
}

.camera-single .pv-gallery {
    --border-block-end-width: 8px;
    --border-block-start-width: 8px;
    --border-inline-end-width: 8px;
    --border-inline-start-width: 8px;
    --border-color: #8b7a44;
    --border-style: solid;
    --border-radius: 0;
    --background-overlay: '';
    border-block-end-width: var(--border-block-end-width);
    border-block-start-width: var(--border-block-start-width);
    border-color: var(--border-color);
    border-inline-end-width: var(--border-inline-end-width);
    border-inline-start-width: var(--border-inline-start-width);
    border-radius: var(--border-radius);
    border-style: var(--border-style);
    background-color: #dfd6c3;
    padding: 0px;
    box-sizing: border-box;
    overflow: visible;
    position: relative;
    margin-bottom: 72px;
}

.camera-single .pv-gallery::before {
    content: var(--background-overlay);
}

.pv-gallery-main {
    margin-bottom: 3px;
    overflow: hidden;
    border-radius: 0;
    aspect-ratio: 21 / 9;
}

.pv-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.pv-gallery-main img:hover {
    transform: scale(1.02);
}

.pv-gallery-thumbs-wrapper {
    position: relative;
    padding-bottom: 0;
    margin-bottom: 0;
}

.pv-gallery-thumbs {
    overflow: hidden;
}

.pv-gallery-thumb-link {
    display: block;
    overflow: hidden;
}

.pv-gallery-thumbs img {
    width: 100%;
    height: 100%;
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    cursor: pointer;
    border-radius: 0;
    transition: transform 0.3s ease;
}

.pv-gallery-thumbs img:hover {
    transform: scale(1.02);
}

.pv-gallery-thumbs-prev,
.pv-gallery-thumbs-next {
    position: absolute;
    top: auto;
    bottom: -44px;
    transform: none;
    width: 36px;
    height: 28px;
    /*  background: rgba(117, 102, 67, 0.08);
    border: 1px solid rgba(117, 102, 67, 0.35);
    border-radius: 999px;*/
    cursor: pointer;
    z-index: 2;
    color: #756643;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pv-gallery-thumbs-prev {
    right: 44px;
    left: auto;
}

.pv-gallery-thumbs-next {
    right: 0;
    left: auto;
}

@media (max-width: 767px) {
    .pv-gallery-thumbs-prev {
        right: 44px;
    }

    .pv-gallery-thumbs-next {
        right: 0;
    }

    .pv-gallery-thumbs-prev,
    .pv-gallery-thumbs-next {
        bottom: -40px;
    }
}

.pv-gallery-thumbs-prev::before,
.pv-gallery-thumbs-next::before {
    font-size: 28px;
    line-height: 1;
    font-weight: 400;
    color: currentColor;
}

.pv-gallery-thumbs-prev::before {
    content: '←';
}

.pv-gallery-thumbs-next::before {
    content: '→';
}

.pv-gallery-thumbs-prev:hover,
.pv-gallery-thumbs-next:hover {
    color: #5a4a33;
    background: rgba(117, 102, 67, 0.14);
}

.pv-gallery-thumbs-prev.swiper-button-lock,
.pv-gallery-thumbs-next.swiper-button-lock {
    display: none !important;
}

.camera-text-content {
    margin-bottom: 40px;
    line-height: 1.8;
}

.camera-text-content h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.amenities-section {
    border-top: 1px solid #e0e0e0;
    padding-top: 40px;
}

.amenities-section h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.amenities-list {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 40px;
    background-color: #e8dcc8;
    padding: 30px;
    border-radius: 4px;
    overflow: hidden;
}

.amenities-list::after {
    content: '';
    position: absolute;
    right: -89px;
    bottom: -60px;
    width: 300px;
    height: 300px;
    background-image: url('assets/images/Palazzo-Viridis-pianta-vettoriale-scaled.png');
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.2;
    pointer-events: none;
    z-index: 0;
}

.amenity-item {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    padding: 8px 0;
    font-size: 1rem;
}

.amenity-item::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 15px;
    margin-top: 2px;
    flex-shrink: 0;
    background-image: url('data:image/svg+xml;utf8,<svg aria-hidden="true" class="e-font-icon-svg e-fas-chevron-right" viewBox="0 0 320 512" xmlns="http://www.w3.org/2000/svg"><path fill="%23756643" d="M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z"></path></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.amenity-item span {
    font-size: 1rem;
    word-break: break-word;
    color: #333;
    font-family: serif;
}

/* Related Rooms Carousel */
.related-rooms-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.related-rooms-section h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.carousel-header {
    display: none;
}

.scroll-hint {
    display: none;
}

.swiper-rooms-carousel {
    position: relative;
    padding-bottom: 50px;
}

.swiper-rooms-carousel .swiper-slide {
    width: auto;
    display: flex;
    align-items: stretch;
}

.room-card {
    width: 280px;
    min-height: 400px;
    background: white;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.room-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.room-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.room-card-image--placeholder {
    background: linear-gradient(135deg, rgba(117, 102, 67, 0.12), rgba(117, 102, 67, 0.04));
}

.room-card-info {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}


.room-card-type {

    color: #666;

    letter-spacing: 0.5px;
    font-size: 25px;
    font-weight: 500;
    text-decoration: underline;
}

.room-card-type.other-room {
    font-size: 20px !important;
}

.room-card-name {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 10px 0;
    color: #333;
    line-height: 1.3;
    min-height: calc(1.3em * 2);
    line-clamp: 2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rooms-grid .room-card-name {
    display: grid;
    grid-template-columns: 16px 1fr;
    column-gap: 12px;
    align-items: start;
    min-height: 0;
    margin: 4px 0 0;
    line-clamp: unset;
    -webkit-line-clamp: unset;
    -webkit-box-orient: initial;
    overflow: visible;
}

.room-card-name-icon {
    color: #8b7a44;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.room-card-name-icon {
    width: 15px;
    height: 15px;
    margin-top: 0.2em;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%238b7a44" d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.room-card-name-label {
    color: #8b7a44;
    white-space: nowrap;
    margin-right: 6px;
}

.room-card-name-value {
    color: #2d2d2d;
}

.rooms-grid .room-card-name-label,
.rooms-grid .room-card-name-value {
    display: inline;
}

.room-card-link {
    display: inline-block;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: auto;
    transition: color 0.2s;
}

.room-card-link:hover {
    color: #333;
    text-decoration: underline;
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.rooms-grid .room-card--grid {
    width: 100%;
    min-height: 100%;
    border-radius: 0;
    box-shadow: none;
    background: #fff;
    cursor: default;
}

.rooms-grid .room-card--grid:hover {
    transform: none;
    box-shadow: none;
}

.rooms-grid .room-card-media {
    display: block;
    text-decoration: none;
}

.rooms-grid .room-card-image {
    height: 260px;
}

.rooms-grid .room-card-info {
    padding: 24px 24px 28px;
    gap: 12px;
}

.room-card-intro {
    font-size: 1.1rem;
    line-height: 1.65;
    color: #2d2d2d;
}

.room-card-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
    margin-left: 0;
    margin-bottom: 0;
    padding: 0;
    list-style: none;
}

.room-card-meta-item {
    display: grid;
    grid-template-columns: 10px 1fr;
    column-gap: 12px;
    align-items: start;
    font-size: 20px;
    font-weight: 400;
    color: #2d2d2d;
    padding-left: 0;
}

.room-card-meta-item::before {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    margin-top: 0.45em;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path fill="%238b7a44" d="M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.room-card-meta-label {
    min-width: 88px;
    font-weight: 600;
    color: #8b7a44;
}

.room-card-meta-value {
    color: #2d2d2d;
}

.room-card--grid .room-card-link {
    margin-top: 12px;
    font-size: 1rem;
}

.room-card-link-wrap {
    margin-top: 12px;
    text-align: center;
    width: 100%;
}

.room-card-link-wrap .room-card-link {
    margin-top: 0;
}

.related-rooms-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.related-rooms-header h2 {
    margin: 0;
    flex: 1;
}

.related-rooms-nav {
    display: flex;
    gap: 15px;
    align-items: center;
}

.related-rooms-nav .swiper-button-prev,
.related-rooms-nav .swiper-button-next {
    width: 32px !important;
    height: 32px !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #756643 !important;
    margin: 0 !important;
    padding: 0 !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    position: static !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.2s;
    opacity: 1 !important;
}

.related-rooms-nav .swiper-button-prev::after,
.related-rooms-nav .swiper-button-next::after {
    font-size: 28px !important;
    font-weight: 400 !important;
    color: currentColor !important;
}

.related-rooms-nav .swiper-button-prev::after {
    content: '←' !important;
}

.related-rooms-nav .swiper-button-next::after {
    content: '→' !important;
}

.related-rooms-nav .swiper-button-prev:hover,
.related-rooms-nav .swiper-button-next:hover {
    background: transparent !important;
    color: #5a4a33 !important;
}

.related-rooms-nav .swiper-button-prev:hover::after,
.related-rooms-nav .swiper-button-next:hover::after {
    color: #5a4a33;
}

.swiper-pagination {
    display: none;
}

.swiper-pagination-bullet {
    background: #ccc;
    opacity: 0.7;
}

.swiper-pagination-bullet-active {
    background: #007bff;
    opacity: 1;
}

/* Lightbox styles */
.lb-loader,
.lightbox {
    z-index: 9999;
}

/* ==============================================
Gallery page template styles
============================================== */
.pv-gallery-hero {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    min-height: 420px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.pv-gallery-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.45);
}

.pv-gallery-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    padding: 0 16px;
}

.pv-gallery-hero-tag {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.pv-gallery-hero h1 {
    margin: 0;
    color: #fff;
    font-size: 2.6rem;
    font-weight: 400;
}

.pv-gallery-page {
    padding: 40px 20px;
}

.pv-gallery-container {
    max-width: 1200px;
    margin: 0 auto;
}

.pv-gallery-content {
    margin: 0 auto 32px;
    max-width: 900px;
    text-align: center;
}

.pv-gallery-section {
    margin-bottom: 36px;
}

.pv-gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.pv-gallery-filter {
    border: 1px solid #cbb58c;
    background-color: #fff;
    color: #5a4a33;
    padding: 8px 14px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pv-gallery-filter:hover,
.pv-gallery-filter.is-active {
    background-color: #cbb58c;
    color: #fff;
}

.pv-gallery-grid.is-loading {
    opacity: 0.5;
    pointer-events: none;
}

.pv-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
}

.gallery-single .pv-gallery-grid {
    --border-block-end-width: 8px;
    --border-block-start-width: 8px;
    --border-inline-end-width: 8px;
    --border-inline-start-width: 8px;
    --border-color: #8b7a44;
    --border-style: solid;
    --border-radius: 0;
    border-block-end-width: var(--border-block-end-width);
    border-block-start-width: var(--border-block-start-width);
    border-color: var(--border-color);
    border-inline-end-width: var(--border-inline-end-width);
    border-inline-start-width: var(--border-inline-start-width);
    border-radius: var(--border-radius);
    border-style: var(--border-style);
    background-color: #dfd6c3;
    padding: 0;
    gap: 3px;
    box-sizing: border-box;
}

.pv-gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 0;
}

.pv-gallery-empty {
    margin: 10px 0;
    color: #666;
    font-style: italic;
}

@media (max-width: 768px) {
    .pv-gallery-hero {
        min-height: 300px;
    }

    .pv-gallery-hero h1 {
        font-size: 2rem;
    }

    .pv-gallery-page {
        padding: 24px 14px;
    }

    .pv-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .gallery-single .pv-gallery-grid {
        gap: 3px;
    }

    .rooms-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .rooms-grid .room-card-image {
        height: 220px;
    }
}

/* ==============================================
SIDEBARS / ROOM WIDGETS
============================================== */
#secondary,
.ast-right-sidebar,
.ast-left-sidebar,
.widget-area {
    background-color: var(--viridis-bg) !important;
    border: none !important;
    padding: 20px !important;
}

#secondary .widget,
.widget-area .widget {
    background-color: var(--viridis-bg) !important;
    border: none !important;
    box-shadow: none !important;
}

#secondary a,
.widget-area a {
    font-size: 20px !important;
    display: block !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid var(--viridis-border) !important;
}

#secondary h2,
#secondary h3,
.widget-area h2,
.widget-area h3 {
    font-family: var(--viridis-font) !important;
    color: var(--viridis-accent) !important;
    font-size: 22px !important;
    letter-spacing: 2px !important;
}

/* ==============================================
CUSTOM ROOM SHORTCODES
============================================== */
.custom-other-rooms-sidebar {
    background-color: var(--viridis-bg) !important;
    padding: 30px 20px;
    border-radius: 4px;
}

.custom-other-rooms-title,
.custom-sidebar-title {
    font-family: var(--viridis-font) !important;
    letter-spacing: 2px !important;
    font-weight: 400 !important;
    margin-top: 0 !important;
    text-transform: uppercase;
}

.custom-other-rooms-title {
    color: var(--viridis-accent) !important;
    font-size: 28px !important;
    margin-bottom: 20px !important;
}

.custom-other-rooms-title span {
    font-style: italic;
    text-transform: none;
}

.custom-other-rooms-list {
    display: flex;
    flex-direction: column;
}

.custom-room-link {
    margin: 0 !important;
    padding: 0 !important;
}

.custom-room-link a {
    font-family: var(--viridis-font) !important;
    font-size: 20px !important;
    color: var(--viridis-text) !important;
    display: block !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid var(--viridis-border) !important;
    text-decoration: none !important;
    font-weight: 400 !important;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.custom-room-link:last-child a {
    border-bottom: none !important;
}

.custom-room-link a:hover {
    color: var(--viridis-gold) !important;
    padding-left: 5px !important;
}

.custom-sidebar-container {
    background-color: #f6f5f1 !important;
    padding: 30px !important;
}

.custom-sidebar-title {
    color: #968c5b !important;
    font-size: 32px !important;
    margin-bottom: 25px !important;
    text-transform: none !important;
}

.custom-sidebar-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.custom-sidebar-list li {
    background-color: #ffffff !important;
    margin-bottom: 15px !important;
    padding: 0 !important;
    transition: all 0.3s ease !important;
}

.custom-sidebar-list li a {
    display: block !important;
    padding: 20px 25px !important;
    font-family: var(--viridis-font) !important;
    color: #1a2332 !important;
    font-size: 20px !important;
    text-decoration: underline !important;
    text-decoration-color: #1a2332 !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 4px !important;
    font-weight: 400 !important;
    transition: all 0.3s ease !important;
}

.custom-sidebar-list li:hover {
    background-color: var(--e-global-color-primary) !important;
}

.custom-sidebar-list li:hover a {
    color: #ffffff !important;
    text-decoration-color: #ffffff !important;
}


/* ==============================================
ACCESSIBILITY
============================================== */
.ast-site-title-wrap {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* ==============================================
MOBILE RESPONSIVE FIXES
============================================== */
@media (max-width: 768px) {

    h1 {
        font-size: 32px !important;
    }

    h2 {
        font-size: 26px !important;
    }

    h3 {
        font-size: 22px !important;
    }

    h4 {
        font-size: 18px !important;
    }

    body,
    p,
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        letter-spacing: 0.2px !important;
    }

    .e-con.e-flex.e-con-full.e-child {
        flex-direction: column !important;
        gap: 5px !important;
    }

    .elementor-widget-icon-list {
        background-color: transparent !important;
        padding: 0 !important;
    }

    .e-con {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .elementor-section,
    .e-container,
    .e-con,
    .elementor-top-section {
        padding-left: 16px !important;
        padding-right: 16px !important;
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }

    .elementor-widget-heading h1,
    .elementor-widget-heading h2 {
        font-size: 28px !important;
        line-height: 1.3 !important;
    }

    .elementor-widget-text-editor p,
    .elementor-widget-paragraph p {
        font-size: 15px !important;
        line-height: 1.6 !important;
        padding: 0 !important;
        margin-bottom: 12px !important;
    }

    .elementor-widget-button .elementor-button {
        white-space: nowrap !important;
        width: auto !important;
        min-width: 180px !important;
        max-width: 90% !important;
        display: inline-block !important;
        text-align: center !important;
        padding: 12px 28px !important;
        font-size: 14px !important;
    }

    .elementor-widget-button {
        text-align: center !important;
    }

    .elementor-column,
    .e-con-inner>.e-con {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 10px !important;
    }

    .elementor-widget-heading h3,
    .elementor-widget-heading h4 {
        font-size: 20px !important;
        line-height: 1.3 !important;
        margin-bottom: 8px !important;
    }

    .elementor-widget-text-editor,
    .elementor-widget-heading {
        margin-bottom: 8px !important;
    }

    .elementor-widget-text-editor {
        font-size: 15px !important;
        line-height: 1.6 !important;
    }

    .elementor-icon-list-items {
        padding: 0 !important;
    }

    .elementor-icon-list-item {
        margin-bottom: 4px !important;
        align-items: flex-start !important;
    }

    .elementor-icon-list-item .elementor-icon-list-text {
        font-size: 13px !important;
        line-height: 1.4 !important;
        white-space: normal !important;
        word-break: normal !important;
    }

    .elementor-icon-list-icon {
        margin-top: 2px !important;
        flex-shrink: 0 !important;
    }

    .elementor-widget-image img {
        width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
    }

    .elementor-widget-wrap {
        gap: 0 !important;
        padding: 10px !important;
    }

    .elementor-widget {
        margin-bottom: 10px !important;
    }

    .site-footer,
    .ast-footer-widget-area {
        padding: 30px 16px !important;
    }

    .site-footer .ast-builder-grid-row-container-inner {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .site-footer .ast-builder-footer-grid-columns,
    .site-footer .ast-builder-grid-row {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .site-footer .site-footer-section {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
    }

    .site-footer .site-footer-section,
    .site-footer .ast-builder-layout-element,
    .site-footer .ast-footer-copyright {
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
    }

    .site-footer .menu,
    .site-footer .ast-footer-navigation {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 8px !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .site-footer .menu-item {
        margin: 0 !important;
    }

    .site-footer p,
    .site-footer li,
    .site-footer a,
    .site-footer span,
    .site-footer .widget-title,
    .site-footer .ast-footer-copyright {
        font-size: 18px !important;
        line-height: 1.5 !important;
    }

    .footer__copyright {
        margin-top: 20px;
        padding-top: 14px;
    }

    .footer__copyright p {
        font-size: 14px;
    }

    .ast-footer-widget-area p {
        margin-bottom: 6px !important;
        line-height: 1.5 !important;
    }

    .ast-footer-html {
        padding: 20px !important;
    }

    .elementor-container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .ast-header-break-point .ast-mobile-popup-content,
    .ast-header-break-point .ast-mobile-header-content,
    .ast-header-break-point .main-header-bar-navigation,
    .ast-header-break-point .main-header-bar-navigation .main-header-menu,
    .ast-header-break-point .main-header-bar-navigation .sub-menu {
        background-color: var(--viridis-bg) !important;
    }

    .ast-header-break-point .ast-mobile-popup-content a,
    .ast-header-break-point .ast-mobile-header-content a,
    .ast-header-break-point .main-header-bar-navigation a,
    .ast-header-break-point .main-header-bar-navigation .menu-link,
    .ast-header-break-point .main-header-bar-navigation .ast-menu-toggle,
    .ast-header-break-point .main-header-bar-navigation .sub-menu a {
        color: var(--viridis-text) !important;
        font-family: var(--viridis-font) !important;
    }

    .ast-header-break-point .ast-mobile-popup-content a:hover,
    .ast-header-break-point .ast-mobile-popup-content a:focus,
    .ast-header-break-point .ast-mobile-header-content a:hover,
    .ast-header-break-point .ast-mobile-header-content a:focus,
    .ast-header-break-point .main-header-bar-navigation a:hover,
    .ast-header-break-point .main-header-bar-navigation a:focus,
    .ast-header-break-point .main-header-bar-navigation .menu-item:hover>.menu-link,
    .ast-header-break-point .main-header-bar-navigation .menu-item:focus-within>.menu-link,
    .ast-header-break-point .main-header-bar-navigation .menu-item:hover>.ast-menu-toggle,
    .ast-header-break-point .main-header-bar-navigation .menu-item:focus-within>.ast-menu-toggle,
    .ast-header-break-point .main-header-bar-navigation .menu-link:hover,
    .ast-header-break-point .main-header-bar-navigation .menu-link:focus,
    .ast-header-break-point .main-header-bar-navigation .ast-menu-toggle:hover,
    .ast-header-break-point .main-header-bar-navigation .ast-menu-toggle:focus,
    .ast-header-break-point .main-header-bar-navigation .sub-menu a:hover,
    .ast-header-break-point .main-header-bar-navigation .sub-menu a:focus {
        color: var(--viridis-gold) !important;
        background-color: var(--viridis-warm) !important;
    }

    .ast-header-break-point .main-header-bar-navigation .menu-item.current-menu-item>.menu-link,
    .ast-header-break-point .main-header-bar-navigation .menu-item.current-menu-ancestor>.menu-link,
    .ast-header-break-point .main-header-bar-navigation .menu-item.current-menu-item>.ast-menu-toggle,
    .ast-header-break-point .main-header-bar-navigation .menu-item.current-menu-ancestor>.ast-menu-toggle {
        color: var(--viridis-text) !important;
        background-color: var(--viridis-warm) !important;
    }

    .ast-header-break-point .ast-mobile-menu-buttons .menu-toggle,
    .ast-header-break-point .ast-mobile-menu-buttons .menu-toggle:hover,
    .ast-header-break-point .ast-mobile-menu-buttons .menu-toggle:focus,
    .ast-header-break-point .main-header-bar .menu-toggle,
    .ast-header-break-point .main-header-bar .menu-toggle:hover,
    .ast-header-break-point .main-header-bar .menu-toggle:focus {
        color: var(--viridis-text) !important;
        background: transparent !important;
        border-color: transparent !important;
    }

    .ast-header-break-point .ast-mobile-menu-buttons .menu-toggle .mobile-menu-toggle-icon,
    .ast-header-break-point .ast-mobile-menu-buttons .menu-toggle .mobile-menu-toggle-icon svg,
    .ast-header-break-point .main-header-bar .menu-toggle .mobile-menu-toggle-icon,
    .ast-header-break-point .main-header-bar .menu-toggle .mobile-menu-toggle-icon svg {
        fill: currentColor !important;
        stroke: currentColor !important;
        color: var(--viridis-text) !important;
    }

    .ast-header-break-point .ast-mobile-menu-buttons .menu-toggle .mobile-menu-toggle-icon svg path,
    .ast-header-break-point .main-header-bar .menu-toggle .mobile-menu-toggle-icon svg path {
        fill: currentColor !important;
        stroke: currentColor !important;
    }
}

@media (max-width: 640px) {
    .footer {
        padding: 22px 16px !important;
    }

    .site-footer,
    .ast-footer-widget-area {
        padding: 24px 14px !important;
    }

    .site-footer p,
    .site-footer li,
    .site-footer a,
    .site-footer span,
    .site-footer .widget-title,
    .site-footer .ast-footer-copyright {
        font-size: 16px !important;
    }

    .footer__copyright p {
        font-size: 13px;
    }

    .footer__inner {
        gap: 22px;
    }

    .footer__title,
    .footer__list li {
        font-size: 17px !important;
    }
}