/* ==========================================================================
   Quinta Snell Taiji - Theme & Palette Overrides
   Palette: #3E482D (Solid Deep Olive Green), #656E39 (Sage Olive), #8C9A5A (Accent)
   Fonts: Cormorant Garamond (Serif Taiji/Zen, logo style) + Plus Jakarta Sans
   ========================================================================== */

:root {
    --taiji-primary: #3E482D;
    --taiji-primary-rgb: 62, 72, 45;
    --taiji-secondary: #656E39;
    --taiji-secondary-rgb: 101, 110, 57;
    --taiji-accent: #8C9A5A;
    --taiji-light-sage: #C5D188;
    --taiji-cream: #FAF6E8;
    --taiji-light: #FAF8F5;
    --taiji-dark: #262B1E;
    --taiji-border: rgba(62, 72, 45, 0.15);
}

/* ================= Global Typography & Smooth Scroll ================= */
/* Fix per tag grassetto (b / strong): il template base impostava erroneamente b { color: #8C9A5A; font-weight: 400; } */
b, strong {
    font-weight: 700 !important;
    color: inherit !important;
}
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    color: #334155;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .section-title, .section-title span, .banner-header h1 {
    font-family: 'Cormorant Garamond', serif !important;
    letter-spacing: 0.5px;
}

/* Page Scroll Animation Transitions & Slider Text Animations */
.wow {
    visibility: hidden;
}

.animated {
    animation-duration: 0.9s;
    animation-fill-mode: both;
    -webkit-animation-duration: 0.9s;
    -webkit-animation-fill-mode: both;
}

.slider-fade .caption h4,
.slider-fade .caption h1,
.slider-fade .caption p,
.slider-fade .caption .butn-light,
.slider-fade .caption .admin-pulsing-btn {
    opacity: 0;
    visibility: hidden;
    animation-duration: 0.85s !important;
    animation-fill-mode: both !important;
}

.slider-fade .owl-item.active .caption .animated.fadeInUp {
    opacity: 1 !important;
    visibility: visible !important;
}

.services .item, .rooms2 figure, .rooms2 .content {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

/* ================= Section 1: Benvenuto - Slightly reduced size ================= */
.section-padding.bg-1 .section-title span {
    font-size: 38px !important;
    line-height: 1.25 !important;
    font-weight: 500;
}

.section-padding.bg-1 .section-subtitle span {
    font-size: 13.5px !important;
    letter-spacing: 3.5px !important;
}

/* ================= Dark Olive Green Sections (.bg-1) ================= */
.bg-1 {
    background-color: #3E482D !important;
    background-image: url(../../img/noise.jpg) !important;
    background-repeat: repeat !important;
    color: #e2e8d5;
}

.bg-1 .section-subtitle,
.bg-1 .section-subtitle span {
    color: #C5D188 !important;
}

.bg-1 .section-title,
.bg-1 .section-title span {
    color: #FAF6E8 !important;
}

.bg-1 p {
    color: #e2e8d5;
}

/* Light Sections (default body background) */
.section-subtitle {
    letter-spacing: 2.5px;
    font-weight: 600;
    color: #656E39 !important;
}

.section-subtitle span {
    color: #656E39 !important;
}

.section-title {
    color: #3E482D;
    font-size: 40px;
}

.star-rating {
    color: #8C9A5A !important;
}

/* ================= Template Services Structure (servizi0055.html inspired) ================= */
.taiji-content-section {
    background-color: #FAF8F5;
    background-image: url("../../img/body-bg.png") !important;
    background-repeat: repeat !important;
}

.taiji-content-section .section-title {
    color: #3E482D;
    font-size: 34px;
    margin-bottom: 24px;
    font-family: 'Cormorant Garamond', serif !important;
    font-weight: 600;
}

.taiji-content-section .content-body {
    font-size: 16px;
    line-height: 1.95;
    color: #475569;
}

.taiji-content-section .content-body p {
    color: #475569;
    font-size: 16px;
    line-height: 1.95;
    margin-bottom: 1.5rem;
}

/* ================= Gallery Grid Styling (Dimensioni Identiche & Hover Zen con Icona Zoom) ================= */
.gallery-items {
    margin-left: -15px;
    margin-right: -15px;
}

.gallery-masonry-wrapper {
    position: relative;
    margin-bottom: 30px;
    padding-left: 15px;
    padding-right: 15px;
    width: 33.33333333% !important;
    max-width: 33.33333333% !important;
    flex: 0 0 33.33333333% !important;
    box-sizing: border-box !important;
}

@media (max-width: 991px) {
    .gallery-masonry-wrapper {
        width: 50% !important;
        max-width: 50% !important;
        flex: 0 0 50% !important;
    }
}

@media (max-width: 767px) {
    .gallery-masonry-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
}

.gallery-masonry-item-img-link {
    display: block !important;
    width: 100% !important;
}

.gallery-masonry-wrapper .gallery-box {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    height: 280px !important;
    max-height: 280px !important;
    min-height: 280px !important;
    width: 100% !important;
    background: #262B1E;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.gallery-masonry-wrapper .gallery-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(62, 72, 45, 0.3);
}

.gallery-masonry-wrapper .gallery-img {
    height: 280px !important;
    max-height: 280px !important;
    min-height: 280px !important;
    width: 100% !important;
    overflow: hidden;
    position: relative;
    border-radius: 8px;
}

.gallery-masonry-wrapper .gallery-img img,
.gallery-masonry-wrapper .gallery-box img,
.gallery-items .single-item img {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    height: 280px !important;
    max-height: 280px !important;
    min-height: 280px !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    border-radius: 8px;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.4s ease;
}

.gallery-masonry-wrapper .gallery-box:hover .gallery-img img,
.gallery-masonry-wrapper .gallery-box:hover img {
    transform: scale(1.08);
}

/* Elegante overlay con icona di zoom all'hover per la galleria */
.gallery-masonry-wrapper .gallery-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(38, 43, 30, 0.45);
    opacity: 0;
    z-index: 2;
    border-radius: 8px;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.gallery-masonry-wrapper .gallery-box::after {
    content: '\f00e';
    font-family: 'Font Awesome 6 Free', 'FontAwesome';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    color: #FAF6E8;
    background: rgba(62, 72, 45, 0.9);
    border: 2px solid #C5D188;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    opacity: 0;
    z-index: 3;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
}

.gallery-masonry-wrapper .gallery-box:hover::before {
    opacity: 1;
}

.gallery-masonry-wrapper .gallery-box:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* ================= Header Hero Slider (Original Template Rules with Kenburns Zoom) ================= */
.slider-fade .owl-item {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.slider-fade .item {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 7s cubic-bezier(0.25, 1, 0.5, 1);
}

.slider-fade .owl-item.active .item {
    transform: scale(1.12);
}

/* ================= Inner Page Banner Header (Compact Height) ================= */
.banner-header {
    height: 48vh !important;
    min-height: 380px !important;
    max-height: 460px !important;
    padding-top: 100px !important;
    padding-bottom: 40px !important;
}

.banner-header h1 {
    font-size: 42px !important;
    line-height: 1.2 !important;
    margin-bottom: 10px !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6) !important;
}

.banner-header .section-subtitle,
.banner-header h4 {
    letter-spacing: 4px !important;
    font-size: 13px !important;
    margin-bottom: 12px !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7) !important;
}

@media screen and (max-width: 767px) {
    .banner-header {
        height: 40vh !important;
        min-height: 320px !important;
        padding-top: 90px !important;
    }
    .banner-header h1 {
        font-size: 32px !important;
    }
}

.header .caption h1 {
    color: #ffffff !important;
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 72px;
    font-weight: 500;
    line-height: 1.15;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.45);
    margin-bottom: 20px;
}

.header .caption h4 {
    color: #ffffff !important;
    text-transform: uppercase;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 13px;
    letter-spacing: 4.5px;
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    margin-bottom: 15px;
    opacity: 0.95;
}

/* Ottimizzazione Mobile per Slider Hero (Testi proporzionati & leggibili) */
@media screen and (max-width: 767px) {
    .header, 
    .slider-fade, 
    .slider-fade .owl-item,
    .slider-fade .item {
        height: 100vh !important;
        min-height: 580px !important;
    }
    .header .caption.v-middle {
        top: 60% !important;
        transform: translate(0%, -50%) !important;
        -webkit-transform: translate(0%, -50%) !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    .header .caption h1 {
        font-size: 26px !important;
        line-height: 1.25 !important;
        margin-bottom: 12px !important;
        letter-spacing: 0.5px !important;
        word-break: normal !important;
    }
    .header .caption h4 {
        font-size: 10.5px !important;
        letter-spacing: 1.5px !important;
        line-height: 1.45 !important;
        margin-bottom: 8px !important;
        word-break: normal !important;
    }
    .header .caption .mt-30 {
        margin-top: 14px !important;
    }
    .header .caption .butn-light a {
        padding: 7px 16px !important;
        font-size: 12px !important;
    }
    .header .caption .admin-pulsing-btn {
        padding: 7px 14px !important;
        font-size: 11.5px !important;
    }
}

/* Navigation - Protective contrast gradient over Hero, Solid Deep Olive ONLY on scroll */
.navbar {
    background: linear-gradient(180deg, rgba(18, 24, 12, 0.90) 0%, rgba(32, 40, 22, 0.65) 60%, rgba(0, 0, 0, 0) 100%) !important;
    background-image: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    padding-top: 10px !important;
    padding-bottom: 25px !important;
    transition: all 0.4s ease;
}

.nav-scroll {
    background: #3E482D !important;
    background-image: none !important;
    border-bottom: none !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
}

.navbar .navbar-nav .nav-link,
.nav-scroll .navbar-nav .nav-link {
    color: #ffffff !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 600;
    letter-spacing: 1.5px;
    font-size: 14.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75), 0 0 2px rgba(0, 0, 0, 0.9);
    transition: color 0.25s ease;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.nav-scroll .navbar-nav .nav-link:hover,
.nav-scroll .navbar-nav .nav-link.active {
    color: #D6E48E !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

.navbar .logo-wrapper img,
.navbar .logo-img {
    height: 52px !important;
    max-height: 52px !important;
    width: auto !important;
    display: block !important;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 3px rgba(0, 0, 0, 0.95));
}

.footer-logo-img {
    height: 64px !important;
    max-height: 64px !important;
    width: auto !important;
    display: block !important;
}

/* Mobile Navbar Collapse & Logo alignment */
@media screen and (max-width: 991px) {
    .navbar {
        background: #3E482D !important;
        background-image: none !important;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }
    .navbar .container {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .logo-wrapper {
        float: none !important;
        padding: 0 !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
    }
    .nav-scroll .logo-wrapper {
        padding: 0 !important;
    }
    .navbar .logo {
        display: inline-flex !important;
        align-items: center !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .navbar .logo-wrapper img,
    .navbar .logo-img {
        height: 42px !important;
        max-height: 42px !important;
        width: auto !important;
        min-width: 0 !important;
    }
    .navbar .navbar-toggler {
        margin: 0 !important;
        padding: 6px 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        align-self: center !important;
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
    }
    .navbar .navbar-collapse {
        background: #3E482D !important;
        background-image: none !important;
        padding: 15px 20px;
        border-top: 1px solid rgba(250, 246, 232, 0.1);
        margin-top: 10px;
    }
    .navbar .navbar-toggler-icon i {
        color: #FAF6E8 !important;
        font-size: 22px !important;
    }
}

@media screen and (max-width: 480px) {
    .navbar .logo-wrapper img,
    .navbar .logo-img {
        height: 38px !important;
        max-height: 38px !important;
    }
}

/* Dropdown menus (Solid deep olive, clean) */
.navbar .dropdown-menu {
    background-color: #3E482D !important;
    background-image: none !important;
    border-top: 3px solid #656E39 !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25) !important;
    border-radius: 0 0 6px 6px;
}

.navbar .dropdown-menu .dropdown-item {
    color: #FAF6E8 !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    transition: all 0.2s ease;
}

.navbar .dropdown-menu .dropdown-item span,
.navbar .dropdown-menu .dropdown-item strong {
    color: #FAF6E8 !important;
}

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item.active {
    background-color: #4a5636 !important;
    color: #C5D188 !important;
}

.navbar .dropdown-menu .dropdown-item:hover span,
.navbar .dropdown-menu .dropdown-item:hover strong {
    color: #C5D188 !important;
}

/* Buttons */
.butn-dark2 {
    background: #3E482D !important;
    border-color: #3E482D !important;
    color: #FAF6E8 !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    transition: all 0.3s ease;
}

.butn-dark2 span {
    color: #FAF6E8 !important;
}

.butn-dark2:hover {
    background: #656E39 !important;
    border-color: #656E39 !important;
    color: #fff !important;
}

.butn-light a,
a.butn-light {
    background: #656E39 !important;
    border: none !important;
    color: #ffffff !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    transition: all 0.3s ease !important;
}

.butn-light a:after,
a.butn-light:after {
    display: none !important;
    content: none !important;
}

.butn-light a span,
a.butn-light span {
    color: #ffffff !important;
    transition: color 0.3s ease !important;
}

.butn-light a:hover,
a.butn-light:hover {
    background: #3E482D !important;
    color: #FAF6E8 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35) !important;
}

.butn-light a:hover span,
a.butn-light:hover span {
    color: #FAF6E8 !important;
}

/* ================= Services (Courses) Cards ================= */
.services .item {
    margin-bottom: 30px;
}

.services .item .item-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.services .item .item-wrap .img {
    height: 380px;
    overflow: hidden;
    position: relative;
}

.services .item .item-wrap .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.services .item:hover .item-wrap .img img {
    transform: scale(1.08);
}

.services .item .item-wrap .con {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    background: transparent !important;
    padding: 0 !important;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    border: none !important;
    box-shadow: none !important;
    box-sizing: border-box;
    z-index: 10;
}

.services .item .con .title-box {
    margin: 0;
    flex: 1;
    padding-right: 12px;
}

.services .item .con .title-box h3 {
    margin: 0;
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 25px !important;
    line-height: 1.2;
    font-weight: 600;
}

.services .item .con .title-box h3 a {
    color: #FAF6E8 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 4px 16px rgba(0, 0, 0, 0.7) !important;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease, transform 0.3s ease;
}

.services .item .con .title-box h3 a:hover {
    color: #C5D188 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 1) !important;
}

.services .item .con .arrow {
    flex-shrink: 0;
    margin-bottom: 2px;
}

.services .item .con .arrow a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(62, 72, 45, 0.85);
    border: 1.5px solid #C5D188;
    color: #FAF6E8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.services .item .con .arrow a:hover {
    background: #656E39;
    color: #fff;
    border-color: #FAF6E8;
    transform: scale(1.12);
}

/* Distanziamento verticale schede Maestri & Filosofia */
.taiji-section-card {
    margin-bottom: 70px !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.taiji-section-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(62, 72, 45, 0.1) !important;
}

/* ================= Rooms2 (News & Events) Cards ================= */
.rooms2 .item-wrap,
.rooms2 figure {
    margin: 0;
    height: 200px;
    overflow: hidden;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.rooms2 figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.rooms2 .admin-editable-container:hover figure img {
    transform: scale(1.06);
}

.rooms2 .news-card {
    background: #ffffff !important;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(62, 72, 45, 0.08);
    border: 1px solid rgba(62, 72, 45, 0.12);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.rooms2 .news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(62, 72, 45, 0.15);
}

.rooms2 .content {
    background: #ffffff !important;
    background-image: none !important;
    padding: 22px !important;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.rooms2 .news-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
    color: #656E39 !important;
    margin-bottom: 10px;
}

.rooms2 .news-meta .news-date,
.rooms2 .news-meta .news-date i {
    color: #656E39 !important;
}

.rooms2 .content h3 {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 22px !important;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 12px;
}

.rooms2 .content h3 a {
    color: #262B1E !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.rooms2 .content h3 a:hover {
    color: #656E39 !important;
}

.rooms2 .content p.news-desc {
    color: #475569 !important;
    font-size: 14.5px !important;
    line-height: 1.65 !important;
    margin-bottom: 18px !important;
}

/* Pagination Styling */
.taiji-pagination .page-link {
    color: #3E482D;
    background-color: #FAF8F5;
    border: 1px solid rgba(62, 72, 45, 0.2);
    padding: 8px 16px;
    font-weight: 600;
    border-radius: 6px;
    margin: 0 4px;
    transition: all 0.25s ease;
}

.taiji-pagination .page-item.active .page-link {
    background-color: #3E482D !important;
    border-color: #3E482D !important;
    color: #FAF6E8 !important;
}

.taiji-pagination .page-link:hover {
    background-color: #656E39;
    border-color: #656E39;
    color: #ffffff;
}

.rooms2 .content .book .butn-light a {
    padding: 7px 18px;
    font-size: 13px;
    border-radius: 3px;
}

/* Callout Phone Button */
.video-wrapper .vid {
    display: inline-block;
}

.video-wrapper .vid .vid-butn {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.video-wrapper .vid .vid-butn .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.85);
    background: rgba(62, 72, 45, 0.65);
    color: #ffffff;
    font-size: 34px;
    line-height: 1;
    transition: all 0.35s ease;
}

.video-wrapper .vid:hover .vid-butn .icon {
    background: #3E482D;
    border-color: #C5D188;
    color: #C5D188;
    transform: scale(1.08);
}

/* Overlay & Parallax styling */
[data-overlay-dark="5"]:before {
    background: rgba(30, 36, 22, 0.58) !important;
}

[data-overlay-dark="4"]:before {
    background: rgba(30, 36, 22, 0.45) !important;
}

/* Footer Styling - Solid Deep Olive without patterns */
.footer {
    background-color: #3E482D !important;
    background-image: none !important;
    color: #e2e8d5;
    border-top: none !important;
}

.footer .top {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .top .item h3 {
    font-family: 'Cormorant Garamond', serif !important;
    color: #FAF6E8 !important;
}

.footer .top .item p,
.footer .top .item a {
    color: #e2e8d5 !important;
}

.footer .top .item a:hover {
    color: #C5D188 !important;
}

.footer .bottom {
    background: #323a24 !important;
    background-image: none !important;
    padding: 20px 0;
    color: #C5D188;
}

.footer .social a {
    background: rgba(255, 255, 255, 0.1);
    color: #FAF6E8;
    transition: all 0.3s ease;
}

.footer .social a:hover {
    background: #656E39;
    color: #fff;
}

/* Admin Editable Container Enhancements */
.admin-editable-container {
    position: relative;
    transition: outline 0.2s ease;
}

/* Rimosso outline tratteggiato verde all'hover su richiesta utente */
body.admin-mode-active .admin-editable-container:hover {
    outline: none !important;
}

.admin-section-edit-badge {
    position: absolute;
    top: 15px;
    right: 25px;
    z-index: 100;
}

/* Custom In-Page action buttons */
.admin-entity-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 90;
    display: flex;
    gap: 6px;
}

/* ================= Taiji Blog / News Sidebar ================= */
.blog-sidebar .widget {
    background: #ffffff !important;
    border-radius: 12px !important;
    padding: 24px !important;
    margin-bottom: 30px !important;
    box-shadow: 0 6px 20px rgba(62, 72, 45, 0.07) !important;
    border: 1px solid rgba(62, 72, 45, 0.12) !important;
}

.blog-sidebar .widget-title {
    margin-bottom: 20px !important;
    border-bottom: 2px solid var(--taiji-secondary) !important;
    padding-bottom: 10px !important;
}

.blog-sidebar .widget-title h6 {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 22px !important;
    font-weight: 600 !important;
    color: #262B1E !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

.blog-sidebar .search form {
    position: relative;
}

.blog-sidebar .search form input {
    width: 100% !important;
    padding: 12px 45px 12px 16px !important;
    background: #FAF8F5 !important;
    border: 1px solid rgba(62, 72, 45, 0.2) !important;
    border-radius: 8px !important;
    color: #262B1E !important;
    font-size: 14px !important;
    transition: all 0.25s ease !important;
}

.blog-sidebar .search form input:focus {
    outline: none !important;
    border-color: #656E39 !important;
    box-shadow: 0 0 0 3px rgba(101, 110, 57, 0.15) !important;
}

.blog-sidebar .search form button {
    position: absolute !important;
    right: 6px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: none !important;
    border: none !important;
    color: #656E39 !important;
    font-size: 16px !important;
    padding: 8px 12px !important;
    cursor: pointer !important;
    transition: color 0.2s ease !important;
}

.blog-sidebar .search form button:hover {
    color: #3E482D !important;
}

.blog-sidebar .widget .recent {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Struttura semplificata Sidebar Ultime News: Immagine + Titolo Semplice */
.blog-sidebar .widget .recent li,
.sidebar-recent-list li {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 12px 0 !important;
    margin: 0 !important;
    border-bottom: 1px solid rgba(62, 72, 45, 0.1) !important;
    background: transparent !important;
}

.blog-sidebar .widget .recent li:first-child,
.sidebar-recent-list li:first-child {
    padding-top: 0 !important;
}

.blog-sidebar .widget .recent li:last-child,
.sidebar-recent-list li:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.blog-sidebar .widget .recent .thum,
.sidebar-recent-list .thum {
    width: 80px !important;
    min-width: 80px !important;
    max-width: 80px !important;
    height: 65px !important;
    flex-shrink: 0 !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    display: block !important;
    background: #e2e8d5 !important;
}

.blog-sidebar .widget .recent .thum img,
.sidebar-recent-list .thum img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    border-radius: 6px !important;
    transition: transform 0.35s ease !important;
}

.blog-sidebar .widget .recent li:hover .thum img,
.sidebar-recent-list li:hover .thum img {
    transform: scale(1.08) !important;
}

.blog-sidebar .widget .recent .recent-info,
.sidebar-recent-list .recent-info {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 4px !important;
}

.blog-sidebar .widget .recent .recent-title,
.sidebar-recent-list .recent-title {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    color: #262B1E !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.blog-sidebar .widget .recent .recent-title:hover,
.sidebar-recent-list .recent-title:hover {
    color: #656E39 !important;
}

.blog-sidebar .widget .recent .recent-date,
.sidebar-recent-list .recent-date {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    font-size: 11.5px !important;
    font-weight: 500 !important;
    color: #656E39 !important;
    letter-spacing: 0.3px !important;
}

.blog-sidebar .widget .recent .recent-date i,
.sidebar-recent-list .recent-date i {
    font-size: 11px !important;
}
/* Spazio verticale maggiorato tra le card news */
.rooms2 .news-card {
    margin-bottom: 25px;
}

.rooms2 .col-md-6.mb-40,
.rooms2 .col-md-4.mb-40 {
    margin-bottom: 45px !important;
}

/* ================= Contact Form & Input Consistency ================= */
.contact input.form-control,
.contact textarea.form-control,
.contact select.form-control,
.form-control {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 14.5px !important;
    color: #262B1E !important;
}

.contact input.form-control::placeholder,
.contact textarea.form-control::placeholder {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 14px !important;
    color: #888888 !important;
    font-weight: 400 !important;
}

.contact label,
.contact .form-label {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 13px !important;
    letter-spacing: 0.2px;
}
