/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.1.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}

/* ==========================================================================
   CLONE WEBSITE BACKGROUND LUCK8.EE FOR LUCKYWIN.NOW
   ========================================================================== */
html {
    -webkit-tap-highlight-color: transparent;
    background-attachment: fixed !important;
    background-color: #4d4d4d !important;
    background-image: url('/wp-content/uploads/2026/11/banne-layout-luckywin.png') !important;
    background-position: top center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    overflow-x: hidden;
}

body {
    background-color: transparent !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
}

#wrapper {
    max-width: 1170px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    background-color: #ffffff !important;
    position: relative !important;
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.45) !important;
}

body .header-wrapper,
body header#header,
body .footer-wrapper,
#main {
    max-width: 1170px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Ensure sticky header stays inside the 1170px container */
.stuck,
.header-wrapper.stuck,
#header.stuck {
    max-width: 1170px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin: 0 auto !important;
}

@media (max-width: 1170px) {
    #wrapper,
    #main,
    .header-wrapper,
    #header,
    .footer-wrapper {
        max-width: 100% !important;
        box-shadow: none !important;
    }
}

/* Single post: enforce strictly 1 top image at the beginning of the article */
.single-post .entry-content figure.post-editorial-photo,
.single-post .entry-content figure.article-featured-illustration,
.single-post .entry-content figure[class*=article-section-illustration],
.single-post .entry-content > figure:first-child,
.single-post .entry-content > p:first-child img {
    display: none !important;
}

/* ==========================================================================
   MENU & BUTTON TONE COLOR MATCHING LUCK8.EE
   ========================================================================== */
/* 1. Header Buttons Tone (Royal Blue #0033cc with border-radius 10px) */
.header-button .button,
.header-button a.button,
.header-button-1 .button,
.header-button-2 .button,
.header-button-1 a,
.header-button-2 a {
    background-color: #0033cc !important;
    background: #0033cc !important;
    border-color: #0033cc !important;
    border: 1px solid #0033cc !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
    padding: 7px 20px !important;
    min-height: auto !important;
    line-height: 24px !important;
    box-shadow: 0 4px 12px rgba(0, 51, 204, 0.35) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.25s ease-in-out !important;
}

.header-button .button span,
.header-button a.button span,
.header-button-1 a span,
.header-button-2 a span {
    color: #ffffff !important;
}

.header-button .button:hover,
.header-button a.button:hover,
.header-button-1 .button:hover,
.header-button-2 .button:hover,
.header-button-1 a:hover,
.header-button-2 a:hover {
    background-color: #002699 !important;
    background: #002699 !important;
    border-color: #002699 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 16px rgba(0, 51, 204, 0.5) !important;
    transform: translateY(-1px) !important;
}

/* 2. Menu Links Tone (Bold Black with Vibrant Red #dd3333 Active/Hover) */
.header-nav > li > a,
.header-nav-main > li > a,
.nav-top-link {
    color: #000000 !important;
    font-weight: 700 !important;
    font-size: 14.5px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.02em !important;
    transition: color 0.2s ease-in-out !important;
}

.header-nav > li.active > a,
.header-nav > li.current-menu-item > a,
.header-nav > li.current_page_item > a,
.header-nav-main > li.active > a,
.header-nav-main > li.current-menu-item > a,
.header-nav-main > li.current_page_item > a,
.nav-top-link.active,
.header-nav > li > a:hover,
.header-nav-main > li > a:hover,
.nav-top-link:hover {
    color: #dd3333 !important;
}

/* 3. General Site Buttons Tone */
.button.primary,
button.primary,
input[type="submit"].button.primary,
.submit-button {
    background-color: #0033cc !important;
    border-color: #0033cc !important;
    color: #ffffff !important;
    border-radius: 10px !important;
}

.button.primary:hover,
button.primary:hover,
input[type="submit"].button.primary:hover,
.submit-button:hover {
    background-color: #002699 !important;
    border-color: #002699 !important;
    color: #ffffff !important;
}

/* 4. Dropdown Menu Tone */
.nav-dropdown {
    border-top: 3px solid #dd3333 !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
}
.nav-dropdown > li > a {
    color: #222222 !important;
    font-weight: 600 !important;
}
.nav-dropdown > li > a:hover,
.nav-dropdown > li.active > a {
    color: #dd3333 !important;
    background-color: #fff8f8 !important;
}
/* Header Navigation: Ensure single line zero wrap */
#masthead .header-inner {
    flex-wrap: nowrap !important;
}

#logo img {
    max-height: 52px !important;
    width: auto !important;
}

.header-nav-main {
    flex-wrap: nowrap !important;
}

.header-nav-main > li > a,
.nav-top-link {
    padding-left: 7px !important;
    padding-right: 7px !important;
    font-size: 13px !important;
    white-space: nowrap !important;
}

.header-button .button,
.header-button a.button,
.header-button-1 a,
.header-button-2 a {
    padding: 6px 14px !important;
    font-size: 12.5px !important;
    white-space: nowrap !important;
}
