/* =============================================
   Custom Overrides — Cascone Theme
   ============================================= */

/* Header Top — sfondo blu */
.main-header .header-top {
    background-color: #00a5bb;
    max-height: 30px;
}

.main-header .header-top,
.main-header .header-top .list-style-one li,
.main-header .header-top .list-style-one li a,
.main-header .header-top .list-style-one li i,
.main-header .header-top .social-icon-one li a,
.main-header .header-top .useful-links li a,
.main-header .header-top .top-right *,
.main-header .header-top .top-left *,
.main-header .header-top .top-center * {
    color: #ffffff !important;
}

.main-header .header-top .list-style-one li a:hover {
    color: #c8a97e !important;
}

/* Divider (pipe) nell'outer-box */
.main-header .outer-box .divider {
    width: 1px;
    height: 25px;
    background-color: rgba(0, 0, 0, 0.15);
    margin: 0 15px;
}

/* Logo grande che sfora verso il body */
.main-header .header-lower .logo-box {
    height: auto;
    overflow: visible;
    z-index: 10;
}

.main-header .logo {
    position: relative;
    z-index: 10;
}

.main-header .logo img {
    max-height: 80px !important;
    height: auto;
    width: auto;
}

/* Assicura che l'header non tagli il logo */
.main-header .header-lower {
    overflow: visible;
}

.main-header .main-box {
    overflow: visible;
}

/* =============================================
   Feature Blocks — allineamento mobile
   ============================================= */
@media (max-width: 575.98px) {
    .feature-block .inner-box {
        padding: 30px 20px 40px 20px;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }

    .feature-block:first-child .inner-box {
        padding: 30px 20px 40px 20px;
    }

    .feature-block .inner-box .box-number {
        margin-right: 20px;
        margin-bottom: 0;
        min-width: auto;
    }

    .feature-block .inner-box .icon-box {
        margin-right: 0;
        margin-bottom: 0;
        min-width: auto;
        top: 0;
        left: 0;
    }

    .feature-block .inner-box .content-box {
        width: 100%;
        margin-top: 15px;
    }

    .feature-block .inner-box .content-box .bg-image {
        left: auto !important;
        right: 0 !important;
        top: 50%;
        transform: translateY(-50%) rotate(16deg) !important;
    }
}

/* Button style override */
.theme-btn.btn-style-three.hover-dark {
    background-color: #00a5bb;
}
