/* ====================================
 * BBAdria Theme - Main Styles
 * Ultima pulizia: 6 Gennaio 2026
 * 
 * Contenuto:
 * 01. Typography & Reset
 * 02. Owl Carousel
 * 03. Section titles
 * 04. Navbar
 * 05. Blog Sidebar
 * 06. Post
 * 07. 404
 * 08. Buttons
 * 09. toTop Button
 * 10. Overlay Effects
 * 11. Responsive
 * 12. Contact Form 7
 * 13. Accordion Bootstrap
 * 
 * CSS SEPARATI:
 * - page-details.css → Singole pagine CPT
 * - hero-banner/style.css → Hero Banner + Banner Header
 * - rooms/, services/, attivita/, offerte/ → Widget archivi
 * - gallery-slider/ → Gallery Scroll
 * - booking-bar/, contacts/ → Widget globali
 * - footer.css → Footer
==================================== */

/* ======= Typography style ======= */
html,
body {
    -moz-osx-font-smoothing: grayscale;
    word-break: break-word;
    -webkit-font-smoothing: antialiased;
}
* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    outline: none;
    word-wrap: break-word;
}
html {
    overflow-x: hidden;
}
body {
    font-family: var(--font-body);
    font-size: var(--font-size-normal);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-relaxed);
    color: var(--color-text-main);
    overflow-x: hidden !important;
    letter-spacing: var(--letter-spacing-normal);
    max-width: 100vw;
}
p {
    font-family: var(--font-body);
    font-size: var(--font-size-normal);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-relaxed);
    color: var(--color-text-main);
    margin-bottom: var(--spacing-sm);
}
p b {
    color: var(--color-text-secondary);
    font-weight: 400;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-tight);
    margin: 0 0 var(--spacing-sm) 0;
    color: var(--color-text-secondary);
}
h1 {
    font-size: var(--font-size-h1);
}
h2 {
    font-size: var(--font-size-h2);
}
h3 {
    font-size: var(--font-size-h3);
}
h4 {
    font-size: var(--font-size-h4);
}
h5 {
    font-size: var(--font-size-h5);
}
h6 {
    font-size: var(--font-size-h6);
}
img {
    width: 100%;
    height: auto;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}
span,
a,
a:hover {
    text-decoration: none;
    color: inherit;
}
b {
    font-weight: 700;
}
.small,
small {
    font-size: var(--font-size-small);
}
/* text field */
button,
input,
optgroup,
select,
textarea {
    font-family: var(--font-body);
}
input[type="password"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="text"]:focus,
input[type="file"]:focus,
input[type="radio"]:focus,
input[type="checkbox"]:focus,
textarea:focus {
    outline: none;
}
input[type="password"],
input[type="email"],
input[type="number"],
input[type="text"],
input[type="file"],
textarea {
    max-width: 100%;
    padding: 14px 20px;
    height: auto;
    background-color: transparent;
    -webkit-box-shadow: none;
    box-shadow: none;
    display: block;
    width: 100%;
    line-height: 1.5em;
    font-family: "Urbanist", sans-serif;
    font-size: 17px;
    font-weight: 400;
    color: var(--color-text-main);
    background-image: none;
    border: none;
    border-radius: 5px;
    border: 1px solid rgba(32, 149, 174, 0.3);
}
.form-control {
    display: block;
    width: 100%;
        margin-bottom: 15px;

    padding: 15px 20px;
    font-family: "Urbanist", sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.5em;
    color: var(--color-text-main);
    background-color: transparent;
    background-clip: padding-box;
    border: 1px solid rgba(32, 149, 174, 0.3);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    outline: none;
}
input[type="submit"],
input[type="reset"],
input[type="button"],
button {
    text-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    line-height: 30px;
    -webkit-transition: background-color .15s ease-out;
    transition: background-color .15s ease-out;
    background: #fff;
    border: none;
}
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
button:hover {
    color: var(--color-text-main);
    border: none;
}
select {
    padding: 10px;
    border-radius: 5px;
}
textarea:focus,
textarea:active,
textarea::placeholder {
    color: var(--color-text-main);
}
table,
th,
tr,
td {
    border: 0px solid var(--color-text-main);
}
th,
tr,
td {
    padding: 10px;
}
select {
    max-width: 100%;
}
.form-select {
    display: block;
    width: 100%;
    -moz-padding-start: calc(0.75rem - 3px);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-text-main);
    background-repeat: no-repeat;
    background-position: right 1.5rem center;
    background-size: 11px 20px;
    border: none;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 30px;
    padding-left: 20px;
    padding-top: 14px;
    padding-bottom: 14px;
    margin-bottom: 15px;
    border: 1px solid rgba(32, 149, 174, 0.3);
    outline: none;
}

/* placeholder */
::-webkit-input-placeholder {
    color: var(--color-text-main);
    font-family: "Urbanist", sans-serif;
    font-size: 17px;
    font-weight: 400;
}
:-moz-placeholder {
    color: var(--color-text-main);
}
::-moz-placeholder {
    color: var(--color-text-main);
    opacity: 1;
}
:-ms-input-placeholder {
    color: var(--color-text-main);
}
/* important */
.full-width {
    width: 100%;
}
.bg-img {
    background-size: cover;
    background-repeat: no-repeat;
        background-position: center;
}
.bg-fixed {
    background-attachment: fixed;
}
.bg-lightbrown {
    background-color: var(--color-bg-main);
}
.bg-gradient-lightbrown {
    background-image: linear-gradient(to bottom, var(--color-bg-main), var(--color-white));
}

.bg-white {
    background-color: var(--color-white);
}
.bg-darkgray {
    background-color: var(--color-text-secondary);
}
.count {
    font-family: "Urbanist", sans-serif;
}
.valign {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
hr {
    margin-top: 5px;
    margin-bottom: 15px;
    border: 0;
}
.mt-20 {
    margin-top: 20px !important;
}
.mt-30 {
    margin-top: 30px !important;
}
.mt-90 {
    margin-top: 90px !important;
}
.mb-20 {
    margin-bottom: 20px !important;
}
.mb-30 {
    margin-bottom: 30px !important;
}
.mb-60 {
    margin-bottom: 60px !important;
}
.mb-90 {
    margin-bottom: 90px !important;
}
/* list style */
.list {
    position: relative;
    display: block;
}
.list li {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.list li + li {
    margin-top: 10px;
}

/* ======= Owl-Theme & Custom style ======= */
.owl-theme .owl-nav.disabled + .owl-dots {
    margin-top: 0px;
    line-height: .7;
    display: block;
}
.owl-theme .owl-dots .owl-dot span {
    width: 13px;
    height: 13px;
    margin: 0 5px;
    border-radius: 50%;
    background: rgba(32, 149, 174, 0.5);
    border: 0px solid rgba(32, 149, 174, 0.5);
}
.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background: var(--color-cta-secondary);
    border: 0px solid var(--color-cta-secondary);
}
.owl-carousel .owl-nav button.owl-next,
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel button.owl-dot {
    outline: none;
}
.owl-theme .owl-dots .owl-dot {
    display: inline-block;
    zoom: 1;
    background: transparent;
}
/* owl-nav next and prev */
.owl-nav {
    position: absolute;
    bottom: 5%;
    right: 12%;
}
.owl-prev {
    float: left;
}
.owl-next {
    float: right;
}
/* owl-theme owl-nav */
.owl-theme .owl-nav {
    position: absolute !important;
    top: 35% !important;
    bottom: auto !important;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 100%;
}
.owl-theme .owl-prev {
    left: 10px !important
}
.owl-theme .owl-next {
    right: 10px !important
}
.owl-theme .owl-prev > span,
.owl-theme .owl-next > span {
    position: absolute;
    line-height: 0;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%)
}
.owl-theme .owl-nav [class*=owl-] {
    width: 50px;
    height: 50px;
    line-height: 50px;
    background: transparent;
    border-radius: 100%;
    color: var(--color-white);
    font-size: 14px;
    margin-right: 30px;
    margin-left: 30px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease-in-out;
    transform: scale(1.0);
}
.owl-theme .owl-nav [class*=owl-]:hover {
    background: var(--color-cta-secondary);
    border: 1px solid var(--color-cta-secondary);
    color: var(--color-white);
}
.owl-theme .owl-nav [class*=owl-] {
    opacity: 0;
}
.owl-theme:hover .owl-nav [class*=owl-] {
    opacity: 1;
}

/* ======= Section style ======= */
.section-title {
    font-family: "Rufina", serif;
    font-weight: 400;
    font-size: 45px;
    line-height: 55px;
    color: var(--color-text-secondary);
    position: relative;
    margin-bottom: 15px;
}

[data-overlay-dark] .section-title span,
.section-title span {
    color: var(--color-cta-secondary);
}
.section-title.white {
    color: var(--color-white);
}
.section-subtitle {
    font-family: "Urbanist", sans-serif;
    font-weight: 400;
    margin-bottom: 5px;
    color: var(--color-cta-secondary);
    font-size: 14px;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.section-subtitle.text-white {
    color: var(--color-white);
}
.section-subtitle .icon {
    background-color: var(--color-bg-main);
    margin-right: 10px;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    color: var(--color-cta-secondary);
    font-size: 17px;
    text-align: center;
    vertical-align: middle;
    justify-content: center;
    align-items: center;
    display: flex;
}
.section-subtitle .icon span {
    align-items: center;
    justify-content: center;
}
.section-subtitle .icon img {
    width: 20px;
}
/* section-info */
.section-info {
    position: relative;
    display: contents;
}
.section-info .icons {
    margin-right: 10px;
    padding: 0 20px;
    border-radius: 30px;
    background-color: var(--color-cta-secondary);
    color: var(--color-white);
    text-transform: uppercase;
    font-size: 12px;
    display: inline-block !important;
    vertical-align: middle !important;
    letter-spacing: 1px;
}
.section-info .tag {
    margin-right: 10px;
    padding: 4px 24px;
    border-radius: 30px;
    background-color: var(--color-cta-secondary);
    color: var(--color-white);
    font-family: "Urbanist", sans-serif;
    font-size: 17px;
    font-weight: 400;
    display: inline-block !important;
    vertical-align: middle !important;
}
.section-info .desc {
    margin: 0;
    color: var(--color-text-secondary);
    display: inline-block;
    vertical-align: middle;
    display: inherit;
}
.section-info .text-decoration-line-bottom {
    border-bottom: 1px solid var(--color-cta-secondary);
    line-height: 1.5em;
}
.text-decoration-line-bottom {
    border-bottom: 1px solid rgba(32, 149, 174, 0.4);
    line-height: 1.5em;
}
.section-info.bg {
    background: var(--color-cta-secondary);
}
@media screen and (max-width: 991px) {
    .section-title {
        font-size: 36px;
        line-height: 36px;
    }
    .section-info {
        display: block;
    }
}

/* ======= Navbar style ======= */
.navbar-toggler-icon {
    background-image: none;
}
.navbar .navbar-toggler-icon,
.navbar .icon-bar {
    color: var(--color-text-secondary);
}
.navbar .navbar-nav .nav-link {
    font-family: "Rufina", serif;
    font-size: 17px;
    font-weight: 400;
    color: var(--color-text-secondary);
    margin: 1px;
    -webkit-transition: all .4s;
    transition: all .4s;
}
.navbar .navbar-nav .nav-link.nav-color {
    color: var(--color-text-secondary);
}
.navbar .navbar-nav .nav-link:hover {
    color: var(--color-cta-secondary) !important;
}
.navbar .navbar-nav .nav-link:hover i {
    color: var(--color-cta-secondary) !important;
}
.navbar .navbar-nav .active {
    color: var(--color-cta-secondary) !important;
}
.navbar .navbar-nav .active i {
    color: var(--color-cta-secondary) !important;
}
.nav-scroll {
    background: var(--color-white);
    padding: 0 0 0 0;
    position: fixed;
    top: -85px;
    left: 0;
    width: 100%;
    z-index: 9999;
    -webkit-transition: -webkit-transform .5s;
    transition: -webkit-transform .5s;
    transition: transform .5s;
    transition: transform .5s, -webkit-transform .5s;
    -webkit-transform: translateY(85px);
    transform: translateY(85px);
    border: none;
    -webkit-box-shadow: 0 0 50px 0 rgba(0, 0, 0, .1);
    box-shadow: 0 0 50px 0 rgba(0, 0, 0, .1);
}
.nav-scroll .navbar-toggler-icon,
.nav-scroll .icon-bar {
    color: var(--color-text-secondary);
}
.nav-scroll .navbar-nav .nav-link {
    color: var(--color-text-secondary);
}
.nav-scroll .navbar-nav .active {
    color: var(--color-cta-secondary) !important;
}
/* logo */
.nav-scroll .logo-wrapper .logo-img,
 .custom-logo-link img  {
    width: 140px;
    margin-bottom: 0px;
}
.nav-scroll .logo-wrapper .logo h2 {
    display: block;
    width: 100%;
    color: var(--color-cta-secondary);
    position: relative;
    margin-bottom: 0;
    padding: 0;
}
.nav-scroll .logo-wrapper .logo span {
    color: var(--color-cta-secondary);
}
.logo-wrapper {
    float: left;
}
.logo-wrapper .logo {
    padding: 0;
}
.logo-wrapper .logo-img,
 .custom-logo-link img  {
    width: 140px;
    text-align: center;
    box-shadow: none;
}
.logo-wrapper .logo h2 {
    font-family: "Urbanist", sans-serif;
    font-size: 32px;
    display: block;
    width: 100%;
    position: relative;
    color: var(--color-white);
    margin-bottom: 0;
    padding: 0;
    line-height: 1.25em;
}
.logo-wrapper .logo h2 span {
    color: var(--color-cta-secondary);
}
/* dropdown */
.dropdown .nav-link i {
    padding-left: 0px;
    font-size: 12px;
    color: var(--color-text-secondary);
}
.nav-scroll .dropdown .nav-link i {
    color: var(--color-text-secondary);
}
.nav-scroll .navbar-nav .active i {
    color: var(--color-cta-secondary) !important;
}
.navbar .dropdown-menu .dropdown-item {
    padding: 10px 0;
    font-family: "Urbanist", sans-serif;
    font-size: 17px;
    font-weight: 400;
    color: var(--color-text-secondary);
    position: relative;
    background-color: transparent;
    -webkit-transition: all .4s;
    -o-transition: all .4s;
    transition: all .4s;
    white-space: normal;
    word-wrap: break-word;
}
.navbar .dropdown-menu .dropdown-item span {
    display: block;
    cursor: pointer;
}
.navbar .dropdown-menu .dropdown-item i {
    padding: 13px 0 0 5px;
    font-size: 12px;
    float: right;
    color: #091532;
}
.navbar .dropdown-menu .dropdown:hover > .dropdown-item,
.navbar .dropdown-menu .dropdown-item.active,
.navbar .dropdown-menu .dropdown-item:hover {
    color: var(--color-cta-secondary) !important;
}
.navbar .dropdown-toggle::after {
    display: none;
}
.navbar .dropdown-menu {
    box-shadow: 0 45px 45px 0 rgba(0, 0, 0, .05);
}
.navbar .dropdown-menu li:last-child {
    border-bottom: none;
}
/* li hover */
.navbar .dropdown-menu li {
    position: relative;
    display: block;
    -webkit-transition: all 500ms ease;
    transition: all 500ms ease;
    border-bottom: 1px solid rgba(32, 149, 174, 0.1);
}
.navbar .dropdown-menu li:hover {
    padding-left: 5px;
}
.navbar .dropdown-menu .dropdown-menu.pull-left {
    top: 0;
    left: auto;
    right: 100%;
}

/* navbar media query */
@media screen and (min-width: 992px) {
    .navbar .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        -webkit-transform: translateY(20px);
        transform: translateY(20px);
        min-width: 220px;
        max-width: 350px;
        width: auto;
        padding: 20px 25px;
        border-radius: 5px;
        border: 0;
        background-color: #fff;
        -webkit-transition: all .3s;
        transition: all .3s;
    }
    .navbar .dropdown-menu .dropdown-menu {
        left: calc(100% + 5px);
        top: -17px;
        right: auto;
        min-width: 220px;
        transform: translateY(0);
    }
    .navbar .dropdown:hover > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}
@media screen and (max-width: 991px) {
    .logo-wrapper {
        float: left;
        padding: 10px 15px;
    }
    .nav-scroll .logo-wrapper {
        padding: 10px 15px;
        background-color: transparent;
    }
    .nav-scroll .logo-img,
     .custom-logo-link img  {
        width: 100px;
        max-width: 100px;
        height: auto;
    }
    .navbar .logo {
        text-align: left;
        margin-left: 0px;
    }
    .logo-img,
    .custom-logo-link img {  
        margin-bottom: 0px;
        width: 100px;
        max-width: 100px;
        height: auto;
        padding: 0;
    }
    .navbar button {
        margin-right: 0px;
        outline: none !important;
        background: transparent;
        margin-top: 10px;
        border: none;
    }
    .navbar button:hover {
        background: transparent;
    }
    .navbar button:active,
    .navbar button:focus,
    .navbar button:hover {
        background: transparent;
        outline: none;
        color: transparent !important;
    }
    .navbar .container {
        max-width: 100%;
        padding: 0;
    }
    .navbar .nav-link {
        margin: 0px auto !important;
    }
    .navbar .navbar-nav .nav-link {
        color: #091532;
    }
    .nav-scroll .navbar-collapse .nav-link {
        color: #091532 !important;
    }
    .nav-scroll .navbar-collapse .active {
        color: var(--color-cta-secondary) !important;
    }
    .navbar .dropdown-menu .dropdown-item {
        color: #091532;
        padding: 10px 15px;
        font-size: 17px;
    }
    .navbar .dropdown-menu .dropdown-item.dropdown-toggle {
        font-weight: 400;
    }
    .navbar .dropdown-submenu .dropdown-toggle::after {
        right: 15px;
        font-size: 12px;
    }
    .navbar .dropdown-submenu:hover > .dropdown-toggle::after {
        transform: rotate(0deg);
    }
    .navbar .dropdown-submenu .dropdown-toggle.show::after {
        transform: rotate(90deg);
    }
    .navbar .dropdown-menu {
        border: none;
        padding: 0;
        border-radius: 0;
        margin: 0;
        background: #fff;
        box-shadow: none;
    }
    .navbar .dropdown-submenu .dropdown-menu {
        margin: 0;
        padding: 0 0 0 20px;
    }
    .navbar .dropdown-menu li a {
        padding: 0 15px;
    }
    .navbar .navbar-nav .nav-link {
        padding-right: 0px;
        padding-left: 0px;
    }
    .navbar .navbar-nav {
        padding: 20px;
    }
    .navbar .navbar-collapse {
        max-height: 500px;
        overflow: auto;
        background: #fff;
        text-align: left;
    }
    .dropdown .nav-link i {
        color: #091532;
    }
    .nav-scroll .dropdown .nav-link i {
        color: #091532;
    }
    .nav-scroll .dropdown .nav-link.active i {
        color: var(--color-cta-secondary) !important;
    }
    .navbar .dropdown-menu .dropdown-item i {
        color: #091532;
    }
    /* Mobile dropdown - display none by default, toggle with JS */
    .navbar .dropdown-menu {
        display: none;
    }
    .navbar .dropdown.show > .dropdown-menu {
        display: block;
    }
}

/* ======= WPML Language Switcher ======= */
.navbar-nav .wpml-ls-menu-item {
    display: flex;
    align-items: center;
}
.navbar-nav .wpml-ls-menu-item > a.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
}
.navbar-nav .wpml-ls-flag {
    width: 24px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.navbar-nav .wpml-ls-native {
    font-size: 15px;
}
/* WPML dropdown menu - stili specifici */
.navbar-nav .wpml-ls-menu-item .dropdown-menu {
    min-width: 70px;
    padding: 10px;
}
.navbar-nav .wpml-ls-menu-item .dropdown-menu li {
    border-bottom: none;
    margin-bottom: 5px;
}
.navbar-nav .wpml-ls-menu-item .dropdown-menu li:last-child {
    margin-bottom: 0;
}
.navbar-nav .wpml-ls-menu-item .dropdown-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}
.navbar-nav .wpml-ls-menu-item .dropdown-item:hover {
    background-color: rgba(32, 149, 174, 0.1);
}
.navbar-nav .wpml-ls-menu-item .dropdown-item span {
    display: flex;
    align-items: center;
}
@media screen and (max-width: 991px) {
    .navbar-nav .wpml-ls-menu-item {
        width: 100%;
    }
    .navbar-nav .wpml-ls-menu-item > a.nav-link {
        padding: 10px 0;
    }
    .navbar-nav .wpml-ls-menu-item .dropdown-menu {
        background: transparent;
        box-shadow: none;
        padding: 5px 0 5px 20px;
    }
    .navbar-nav .wpml-ls-menu-item .dropdown-item {
        justify-content: flex-start;
        padding: 8px 15px;
    }
}

/* ======= Blog Sidebar style ======= */
.blog-sidebar .widget {
    background: #fff;
    padding: 30px;
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 5px;
    border: none;
}
.blog-sidebar .widget ul {
    margin-bottom: 0;
    padding: 0;
}
.blog-sidebar .widget ul li {
    font-size: 17px;
    line-height: 1.5em;
    margin-bottom: 15px;
}
.blog-sidebar .widget ul li a {
    color: #676977;
}
.blog-sidebar .widget ul li a.active {
    color: #676977;
}
.blog-sidebar .widget ul li a:hover {
    color: var(--color-cta-secondary);
}
.blog-sidebar .widget ul li:last-child {
    margin-bottom: 0;
}
.blog-sidebar .widget ul li i {
    font-size: 10px;
    margin-right: 10px;
    color: var(--color-cta-secondary);
}
.blog-sidebar .widget .recent li {
    display: block;
    overflow: hidden;
}
.blog-sidebar .widget .recent .thum {
    width: 130px;
    overflow: hidden;
    float: left;
    border-radius: 5px;
}
.blog-sidebar .widget .recent a {
    display: block;
}
.blog-sidebar .widget-title {
    margin-bottom: 15px;
}
.blog-sidebar .widget-title h6 {
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(32, 149, 174, 0.2);
    font-size: 24px;
    margin-bottom: 15px;
    color: #091532;
}
.blog-sidebar .search form {
    position: relative;
}
.blog-sidebar .search form input {
    width: 100%;
    padding: 17px 20px;
    border: 0;
    background: #f4f5f8;
    margin-bottom: 0;
    border: none;
    color: #676977;
}
.blog-sidebar .search form input::placeholder {
    color: #676977;
}
.blog-sidebar .search form button {
    height: 50px;
    width: 50px;
    line-height: 50px;
    border: none;
    background-color: var(--color-cta-secondary);
    font-size: 17px;
    font-weight: 400;
    color: #fff;
    outline: none;
    padding: 0px 16px;
    cursor: pointer;
    display: inline-block;
    position: absolute;
    top: 5px;
    right: 5px;
    border-radius: 5px;
    outline: none;
}
.blog-sidebar button[type="submit"] i {
    margin-right: 0px;
    color: #fff;
}
.blog-sidebar .search:hover form button {
    background-color: #091532;
    color: #fff;
    outline: none;
}
.blog-sidebar .tags li {
    margin: 4px !important;
    padding: 8px 24px;
    background-color: var(--color-cta-secondary);
    color: var(--color-cta-secondary);
    float: left;
    border-radius: 5px;
}
.blog-sidebar ul.tags li a {
    font-size: 14px;
    color: #fff;
}
.blog-sidebar ul.tags li:hover,
.blog-sidebar ul.tags li:hover a {
    background-color: #091532;
    color: #fff;
}

/* ======= Post style ======= */
.post {
    position: relative;
}
.post h3 {
    font-size: 27px;
}

.post .comment-section {
   position: relative;
}
.post .comment-section h4 {
    font-size: 24px;
    color: #091532;
    margin-bottom: 15px;
}
.post .comment-section h4 span {
    font-family: "Urbanist", sans-serif;
    font-size: 17px;
    color: #676977;
    margin-left: 15px;
}
.post .comment-section .wrap {
    display: flex;
}
.post .comment-section .wrap .img {
    margin-right: 20px;
    flex: 0 0 auto;
}
.post .comment-section .wrap .img img {
    border-radius: 100%;
    width: 100px;
}

/* ======= 404 style ======= */
.not-found h1 {
    font-family: "Urbanist", sans-serif;
    font-size: 180px;
    line-height: 180px;
    font-weight: 700;
    color: var(--color-cta-secondary);
}
.not-found h3 {
    color: #091532;
    font-size: 24px;
    line-height: 1.25em;
}
.not-found p {
    color: #676977;
}
.not-found .search-form {
    position: relative;
    margin: 20px auto 0;
}
.not-found .search-form form {
    position: relative;
}
.not-found .search-form .form-group {
    position: relative;
    margin: 0;
}
.not-found .search-form .form-group input[type="text"],
.not-found .search-form .form-group input[type="search"],
.not-found .search-form .form-group input[type="email"] {
    position: relative;
    width: 100%;
    line-height: 30px;
    padding: 10px 100px 10px 20px;
    height: 60px;
    display: block;
    font-size: 17px;
    background: transparent;
    color: #fff;
    border-radius: 0px;
    border: 1px solid var(--color-cta-secondary);
    transition: all 300ms ease;
    border-radius: 30px;
}
.not-found .search-form .form-group input[type="text"]:focus,
.not-found .search-form .form-group input[type="email"]:focus,
.not-found .search-form .form-group input[type="search"]:focus {
    border-color: var(--color-cta-secondary);
}
.not-found .search-form .form-group input::-webkit-input-placeholder {
    color: #676977;
}
.not-found .search-form .form-group input[type="search"]:focus {
    color: #676977;
}
.not-found .search-form .form-group .search-button {
    height: 50px;
    width: 50px;
    line-height: 50px;
    border: none;
    background: var(--color-cta-secondary);
    font-size: 17px;
    font-weight: 400;
    color: #fff;
    outline: none;
    padding: 0px 16px;
    cursor: pointer;
    display: inline-block;
    position: absolute;
    top: 5px;
    right: 5px;
    border-radius: 100%;
    outline: none;
}
.not-found .search-form .form-group .search-button span {
    outline: none;
}
.not-found .search-form:hover .form-group .search-button {
    background: var(--color-cta-secondary);
    color: #fff;
    outline: none;
    -webkit-transition: all 0.7s linear;
    -o-transition: all 0.7s linear;
    transition: all 0.7s linear;
}
.not-found .quick-links {
    margin-top: 50px;
}
.not-found .quick-links h5 {
    color: #091532;
    font-size: 18px;
    margin-bottom: 20px;
}
.not-found .quick-links ul {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}
.not-found .quick-links ul li a {
    color: var(--color-cta-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}
.not-found .quick-links ul li a:hover {
    color: var(--color-cta-secondary);
}
@media screen and (max-width: 991px) {
    .not-found h1 {
        font-size: 120px;
        line-height: 120px;
    }
}

/* ======= Button style ======= */
/* button 1 */
.button-1 {
    display: inline-block;
    height: auto;
    padding: 12px 27px;
    border: 1px solid #fff;
    border-radius: 5px;
    background-color: #fff;
    color: #091532;
    text-align: center;
    font-size: 17px;
    font-weight: 400;
    line-height: 30px;
    transition: border-color 300ms ease, transform 300ms ease, background-color 300ms ease, color 300ms ease;
    transform-style: preserve-3d;
}
.button-1:hover {
    border: 1px solid var(--color-cta-secondary);
    background-color: var(--color-cta-secondary);
    color: #fff;
    transform: translate3d(0px, -6px, 0.01px);
}
/* button 2 */
.button-2 {
    display: inline-block;
    height: auto;
    padding: 12px 27px;
    border: 1px solid var(--color-cta-primary);
    border-radius: 5px;
    background-color: var(--color-cta-primary);
    color: #fff;
    text-align: center;
    font-size: 17px;
    font-weight: 400;
    line-height: 30px;
    transition: border-color 300ms ease, transform 300ms ease, background-color 300ms ease, color 300ms ease;
    transform-style: preserve-3d;
}
.button-2:hover {
    border: 1px solid var(--color-cta-primary-hover);
    background-color: var(--color-cta-primary-hover);
    color: #fff;
    transform: translate3d(0px, -6px, 0.01px);
}

/* ======= toTop Button style ======= */
.progress-wrap {
    position: fixed;
    bottom: 30px;
    right: 30px;
    height: 50px;
    width: 50px;
    cursor: pointer;
    display: block;
    border-radius: 50px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translateY(20px);
    -ms-transform: translateY(20px);
    transform: translateY(20px);
    -webkit-transition: all 400ms linear;
    -o-transition: all 400ms linear;
    transition: all 400ms linear;
}
.progress-wrap.active-progress {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}
.progress-wrap::after {
    position: absolute;
    font-family: "Font Awesome 6 Pro";
    content: '\f062';
    font-weight: 400;
    text-align: center;
    line-height: 50px;
    font-size: 14px;
    left: 0;
    top: 0;
    height: 50px;
    width: 50px;
    cursor: pointer;
    display: block;
    z-index: 1;
    -webkit-transition: all 400ms linear;
    -o-transition: all 400ms linear;
    transition: all 400ms linear;
}
.progress-wrap svg path {
    fill: none;
}
.progress-wrap svg.progress-circle path {
    stroke: var(--color-cta-secondary);
    stroke-width: 3;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 400ms linear;
    -o-transition: all 400ms linear;
    transition: all 400ms linear;
}
.progress-wrap::after {
    color: var(--color-cta-secondary);
}
.progress-wrap svg.progress-circle path {
    stroke: var(--color-cta-secondary);
}

/* ======= Overlay Effect Bg Image style ======= */
[data-overlay-dark] {
    position: relative;
}
[data-overlay-dark] .container {
    position: relative;
    z-index: 2;
}
[data-overlay-dark]:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}
[data-overlay-dark]:before {
    background: #091532;
}
[data-overlay-dark] h1,
[data-overlay-dark] h2,
[data-overlay-dark] h3,
[data-overlay-dark] h4,
[data-overlay-dark] h5,
[data-overlay-dark] h6,
[data-overlay-dark] span {
    color: #fff;
}
[data-overlay-dark] p {
    color: #676977;
}
[data-overlay-dark="0"]:before {
    opacity: 0;
}
[data-overlay-dark="1"]:before {
    opacity: 0.1;
}
[data-overlay-dark="2"]:before {
    opacity: 0.2;
}
[data-overlay-dark="3"]:before {
    opacity: 0.3;
}
[data-overlay-dark="4"]:before {
    opacity: 0.4;
}
[data-overlay-dark="5"]:before {
    opacity: 0.5;
}
[data-overlay-dark="6"]:before {
    opacity: 0.6;
}
[data-overlay-dark="7"]:before {
    opacity: 0.7;
}
[data-overlay-dark="8"]:before {
    opacity: 0.8;
}
[data-overlay-dark="9"]:before {
    opacity: 0.9;
}
[data-overlay-dark="10"]:before {
    opacity: 1;
}

/* ======= Responsive style ======= */
@media screen and (max-width: 991px) {
    .bg-fixed {
        background-attachment: scroll !important;
    }
    .footer .top-120 {
        padding: 0px 0 0 0;
    }
    .mt--240 {
        margin-top: 30px !important;
    }
    .contact .item {
        margin-bottom: 30px;
    }
    .contact .item .contents .title {
        font-size: 21px;
    }
}


/* ======= Contact Form 7 - Campi Condizionali ======= */
.wpcf7-form [data-class="wpcf7cf_group"] {
    display: none !important;
}
.wpcf7-form [data-class="wpcf7cf_group"].wpcf7cf-visible {
    display: block !important;
}

/* Sezione condizionale */
.wpcf7-form .conditional-section {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 25px;
    margin: 20px 0;
}
.wpcf7-form .conditional-section h5 {
    color: #333;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--theme-color, #c9a227);
}

/* Spaziatura campi form */
.wpcf7-form .row > div[class*="col-"] {
    margin-bottom: 15px;
}
.wpcf7-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

/* Nascondi errori di validazione al caricamento */
.wpcf7-form.init .wpcf7-not-valid-tip {
    display: none !important;
}
.wpcf7-form.init .wpcf7-not-valid {
    border-color: #ced4da !important;
}
.wpcf7-form.init .screen-reader-response ul {
    display: none !important;
}

/* ======= Accordion Bootstrap Override ======= */
/* Cambia icona freccia da blu a oro */
.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23b08d57'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23b08d57'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:focus {
    border-color: var(--color-cta-secondary);
    box-shadow: 0 0 0 0.25rem rgba(176, 141, 87, 0.25);
}

.accordion-button:not(.collapsed) {
    color: var(--color-cta-secondary);
    background-color: rgba(176, 141, 87, 0.1);
}