/* MOBILE/RESPONSIVE: menu always dark background, white text */
@media (max-width: 991px) {
    .site-header {
        background-color: #191919;
    }

    /* main nav background + links */
    #mainnav,
    #mainnav .menu,
    #mainnav .menu-item,
    #mainnav .menu-item a {
        background-color: #191919;
        color: #ffffff !important;
    }

    /* submenus */
    #mainnav .sub-menu li,
    #mainnav .sub-menu a {
        background-color: #191919;
        color: #ffffff !important;
    }

    #mainnav .sub-menu li:hover {
        background-color: #EADD5B;
        color: #ffffff !important;
    }
}


/* DESKTOP: header + menu behavior */
@media (min-width: 992px) {
    /* Default menu color on transparent/white header */
    .site-header:not(.float-header) {
        background-color: #ffffff;
    }

    .site-header:not(.float-header) .menu-item a {
        background-color: transparent;
        color: #000000 !important;
    }

    /* Menu color when header becomes sticky (scroll) */
    .site-header.float-header {
        background-color: #191919;
    }

    .site-header.float-header .menu-item a {
        background-color: transparent;
        color: #ffffff !important;
    }
}


/* Desktop sub-menu: always dark background + white text */
@media (min-width: 992px) {
    .site-header .mainnav ul ul.sub-menu {
        background-color: #191919;
    }

    .site-header .mainnav ul ul.sub-menu li,
    .site-header .mainnav ul ul.sub-menu li a {
        background-color: #191919;
        color: #ffffff !important;
    }

    .site-header .mainnav ul ul.sub-menu li:hover,
    .site-header .mainnav ul ul.sub-menu li:hover > a {
        background-color: #EADD5B;
        color: #ffffff !important;
    }
}

/* Mobile sub-menu: same look */
@media (max-width: 991px) {
    #mainnav ul ul.sub-menu,
    #mainnav ul ul.sub-menu li,
    #mainnav ul ul.sub-menu li a {
        background-color: #191919;
        color: #ffffff !important;
    }

    #mainnav ul ul.sub-menu li:hover,
    #mainnav ul ul.sub-menu li:hover > a {
        background-color: #EADD5B;
        color: #ffffff !important;
    }
}

/* Sticky footer */
.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #191919;   /* dark background */
    color: #ffffff;              /* white text */
    padding: 15px 0;
    z-index: 999;                /* above content */
}

/* Avoid footer overlapping content */
body {
    padding-bottom: 70px;        /* adjust to footer height */
}

/* Footer links */
.site-footer a {
    color: #ffffff;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

/* 1. Header should take up normal layout space, not overlay content */
.site-header {
    position: relative !important; 
}

/* Keep sticky behaviour when .float-header is added */
.site-header.float-header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
}

/* 2. Make the header a bit less tall on desktop */
@media (min-width: 992px) {
    .site-header .header-wrap {
        padding-top: 15px !important;
        padding-bottom: 15px !important;
    }

    .site-logo {
        max-height: 70px;
        height: auto;
        width: auto;
    }

    /* 3. Give content a little breathing room below the header */
    .page-wrap {
        padding-top: 30px;
    }
}

/* Center footer text + spacing between items */
.site-footer .footer-text {
    margin: 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;          /* space between the two text elements */
    flex-wrap: wrap;    /* wrap nicely on small screens */
}

.site-footer .footer-text a {
    color: #ffffff;
    text-decoration: none;
}

.site-footer .footer-text a:hover {
    text-decoration: underline;
}

/* Other CSS components */

.site-title { font-size:32px; }
.site-description { font-size:16px; }
#mainnav ul li a { font-size:14px; }
h1 { font-size:52px; }
h2 { font-size:42px; }
h3 { font-size:32px; }
h4 { font-size:25px; }
h5 { font-size:20px; }
h6 { font-size:18px; }
body { font-size:16px; }

.roll-button, .maintitle.after {
    background-color: #191919 !important;
    border: 1px solid #191919 !important;
}

.text-slider .maintitle, .text-slider .subtitle { color:#ffffff}
body { color:#47425d}

.site-info{
	visibility: hidden;
}

li a {
	border-color:#EADD5B;
}