.titleMain {
    strong {
        color: #00a0ff;
        font-style: italic;
    }
}

.titleMainSecondary {
    strong {
        color: #011c2f;
        font-style: italic;
    }
}

@media (max-width: 768px) {
    br {
        display: none;
    }
}

.menu-foote {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;

    a {
        font-size: 14px !important;
        font-weight: 400 !important;
        line-height: 25px !important;
        color: #011c2f !important;

        &:hover {
            color: #02a1ff !important;
        }
    }
}

/* Header styles */

.custom-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: transparent; /* transparent by default */
    transition:
        background 0.25s ease,
        box-shadow 0.25s ease;
    z-index: 9999;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 15px;
    transition: padding 0.22s ease;
}

@media (max-width: 1200px) {
    .header-inner {
        max-width: 90%;
    }
}

.brand .site-logo {
    height: 60px;
    width: 100%;
    display: block;
    object-fit: contain;
    transition: height 0.22s ease;
}

/* when scrolled: dark background and subtle shadow */
.custom-header.scrolled {
    background: #011c2f;
    box-shadow: 0px 0px 18px #08314d;
}

.custom-header.scrolled .header-inner {
    padding: 1rem 0;
}

.custom-header.scrolled .site-logo {
    height: 36px;
}

/* when mobile menu is open, make header look like scrolled but without shadow */
.custom-header.nav-open {
    background: #011c2f;
    box-shadow: none !important;
}

.custom-header.nav-open .header-inner {
    padding: 1rem 0;
}

.custom-header.nav-open .site-logo {
    height: 36px;
}

/* Desktop: menu inline (side-by-side) */
.main-nav .menu-foote {
    display: flex;
    gap: 24px;
    align-items: center;
    margin: 0;
    padding: 0;
    flex-direction: row;
}

@media (max-width: 800px) {
    .main-nav .menu-foote {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

/* header-specific link colors (override other rules) */
.custom-header .menu-foote a {
    color: #ffffff !important;
}

.custom-header .menu-foote a:hover {
    color: #00a0ff !important;
}

.custom-header .header-toggle {
    color: #ffffff;
}

.main-nav .menu-foote li {
    list-style: none;
}

.main-nav .menu-foote li a {
    text-decoration: none;
    color: #011c2f;
    font-weight: 500;
}

.header-toggle {
    display: none;
    background: transparent;
    border: 0;
    font-size: 22px;
    color: #011c2f;
    cursor: pointer;
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        background: #011c2f;
        width: 100%;
        max-width: 100%;
        padding: 1rem;
        left: 0;
        border-bottom: 2px solid #02a1ff;
    }

    .main-nav.open {
        display: block;
    }

    .header-toggle {
        display: block;
    }

    .menu-foote {
        flex-direction: column;
        gap: 12px;
    }

    .main-nav .menu-foote a {
        color: #ffffff !important;
        padding: 8px 4px;
    }
}

.ct-search-form-inner {
    display: none !important;
}
