/*
Theme Name: WMD Theme
*/

/*html :where(img){height:inherit;max-width:none;}*/

#header-logo img {
    width: 190px;
    height: auto;
}

#container {
    border-radius: 0 80px 0 0;
    -webkit-border-radius: 0 80px 0 0;
    -moz-border-radius: 0 80px 0 0;
    -khtml-border-radius: 0 80px 0 0;
}

table {
    margin-top: 10px;
    margin-bottom: 10px;
}

.new-template #content > .ptitle {
    display: inline-block;
    font-family: museo-slab-n7, museo-slab, serif;
    font-size: 19px;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    height: 34px;
    line-height: 34px;
    padding: 0 10px;
    background: rgba(0,0,0,0.8);
    -pie-background: rgba(0,0,0,0.8);
    border-radius: 10px;
    -moz-border-radius: 10px;
}
.new-template #content h1 {
    color: #fff !important;
    /* margin-top: 10px !important;
    margin-left: 0 !important;
    font-size: 24px !important; */
    font-family: arial !important;
}
.new-template #content h2 {
    font-size:20px !important;
}
.new-template #content h3 {
    font-size:17px !important;
}
.new-template #content {
    padding-top: 0
}
.new-template #container {
    padding: 44px 36px 36px;
    box-sizing: border-box;
}
.new-template #content.content-wide {
    width: 100%;
}
.new-template .casinos-list {
    margin: 0 0 15px 0;
}
.new-template .casinos-list a {
    color: #fff !important;
}

/* Desktop Menu Styles */
.new-template #header-menu li {
    position: relative;
}

.new-template #header-menu li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    z-index: 1000;
    padding: 10px 0;
}

.new-template #header-menu li ul li {
    display: block;
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.new-template #header-menu li ul li:last-child {
    border-bottom: none;
}

.new-template #header-menu li ul li a {
    padding: 10px 20px;
    white-space: nowrap;
    color: #000 !important;
    background: none !important;
    border: none !important;
    text-decoration: none;
    font-weight: normal;
    transition: background-color 0.2s ease;
}

.new-template #header-menu li ul li a:hover {
    background: rgba(0, 0, 0, 0.05) !important;
}

.new-template #header-menu li:hover > ul {
    display: block;
}

/* Mobile Menu - Hamburger Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    position: relative;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #000;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

#header-menu .sub-menu {
    box-shadow: none !important;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu-toggle .sub-menu {
    box-shadow: none !important;
}
#header-menu li a {
    font-family: arial;
}
.wp-block-separator {
    margin-top: 0px;
    margin-bottom: 14px;
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
    .new-template #wrap,
    .new-template #master,
    .new-template #container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px 15px;
        box-sizing: border-box;
    }
    
    .new-template #sidebar_left,
    .new-template #sidebar_right {
        width: 100% !important;
        float: none;
        margin: 0 0 20px 0;
    }
    
    .new-template #content,
    .new-template #content.content-wide {
        width: 100% !important;
        float: none;
    }
}

@media (max-width: 768px) {
    /* Force full width on all containers */
    .new-template body,
    .new-template #master,
    .new-template #wrap,
    .new-template #container {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    
    .new-template #container {
        padding: 15px 10px !important;
    }
    
    /* Hide desktop menu, show mobile toggle */
    .new-template .mobile-menu-toggle {
        display: flex;
        position: absolute;
        right: 20px;
        top: 20px;
    }
    
    .new-template #header-menu-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: #fff;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
        padding: 60px 20px 20px;
    }
    
    .new-template #header-menu-wrapper.active {
        right: 0;
    }
    
    .new-template #header-menu {
        display: flex;
        flex-direction: column;
        position: relative;
        padding-top: 50px;
        bottom: auto;
        left: auto;
    }
    
    .new-template #header-menu li {
        width: 100%;
        margin: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.15);
        list-style: none;
    }
    
    .new-template #header-menu li a {
        display: block;
        padding: 12px 0;
        color: #000 !important;
        text-decoration: none;
        text-align: left;
        background: none !important;
        border: none !important;
        font-weight: normal;
        font-family: arial;
    }
    
    .new-template #header-menu li ul {
        position: static;
        display: none;
        background: transparent;
        padding-left: 20px;
        padding-top: 5px;
    }
    
    .new-template #header-menu li:hover ul,
    .new-template #header-menu li.active ul {
        display: block;
    }
    
    /* Header adjustments */
    .new-template #header {
        position: relative;
        padding: 15px 20px;
        width: 100% !important;
        box-sizing: border-box;
        height: 75px;
    }
    
    .new-template #header-logo {
        max-width: 150px;
    }
    
    .new-template #header-logo img {
        max-width: 100%;
        height: auto;
    }
    
    .new-template #header-search {
        display: none;
    }
    
    /* Content */
    .new-template #content,
    .new-template #content.content-wide {
        width: 100% !important;
        float: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .new-template #content h1 {
        font-size: 20px !important;
    }
    
    .new-template #content h2 {
        font-size: 18px !important;
    }
    
    .new-template #content h3 {
        font-size: 16px !important;
    }
    
    .new-template .content-block {
        padding: 15px;
        width: 100% !important;
        box-sizing: border-box;
    }
    
    /* Sidebars stack on mobile */
    .new-template #sidebar_left,
    .new-template #sidebar_right {
        width: 100% !important;
        float: none !important;
        margin: 0 0 15px 0 !important;
    }
    
    /* Make tables responsive */
    .new-template table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100% !important;
    }
    
    /* Images responsive */
    .new-template img {
        max-width: 100%;
        height: auto;
    }
    
    /* Footer adjustments */
    .new-template #footer {
        width: 100% !important;
        box-sizing: border-box;
    }
    
    .new-template #footer .footer-column {
        width: 100%;
        float: none;
        margin-bottom: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .new-template #header-logo {
        max-width: 120px;
    }
    
    .new-template #content h1 {
        font-size: 21px !important;
    }
    
    .new-template .content-block {
        padding: 10px;
        border-top-right-radius: 60px;
    }
    
    .new-template #header-menu-wrapper {
        width: 90%;
    }
}

/* ========================================
   Template 3 Mobile Responsive Styles
   ======================================== */

@media (max-width: 1024px) {
    body.template-3 #master,
    body.template-3 #wrap,
    body.template-3 #container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px 15px;
        box-sizing: border-box;
    }
    
    body.template-3 #sidebar_left,
    body.template-3 #sidebar_right {
        width: 100% !important;
        float: none !important;
        margin: 0 0 20px 0 !important;
    }
    
    body.template-3 #content {
        width: 100% !important;
        float: none !important;
    }
}

@media (max-width: 768px) {
    /* Force full width on all containers */
    body.template-3,
    body.template-3 #master,
    body.template-3 #wrap,
    body.template-3 #container {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    
    body.template-3 #container {
        padding: 15px 10px !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    /* Header adjustments */
    body.template-3 #header {
        position: relative;
        padding: 15px 20px;
        width: 100% !important;
        box-sizing: border-box;
        height: 80px;
    }
    
    body.template-3 #header-logo {
        max-width: 150px;
    }
    
    body.template-3 #header-logo img {
        max-width: 100%;
        height: auto;
    }
    
    body.template-3 #header-search {
        display: none;
    }
    
    /* Mobile menu toggle button */
    body.template-3 .mobile-menu-toggle {
        display: flex;
        position: absolute;
        right: 20px;
        top: 20px;
    }
    
    /* Mobile menu wrapper */
    body.template-3 #header-menu-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: #fff;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
        padding: 60px 20px 20px;
    }
    
    body.template-3 #header-menu-wrapper.active {
        right: 0;
    }
    
    body.template-3 #header-menu {
        display: flex;
        flex-direction: column;
        position: relative;
        padding-top: 20px;
        left: 0;
    }
    
    body.template-3 #header-menu li {
        width: 100%;
        margin: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.15);
        list-style: none;
    }
    
    body.template-3 #header-menu li a {
        display: block;
        padding: 12px 0;
        color: #000 !important;
        text-decoration: none;
        text-align: left;
        background: none !important;
        border: none !important;
        font-weight: normal;
    }
    
    body.template-3 #header-menu li ul {
        position: static;
        display: none;
        background: transparent;
        padding-left: 20px;
        padding-top: 5px;
    }
    
    body.template-3 #header-menu li:hover ul,
    body.template-3 #header-menu li.active ul {
        display: block;
    }
    
    /* Content - force full width and remove float */
    body.template-3 #content,
    body.template-3 #content.content-wide,
    body.template-3 #content.content-widest {
        width: 100% !important;
        float: none !important;
        padding: 0 !important;
        margin: 0 !important;
        display: block !important;
        order: 1 !important;
    }
    
    body.template-3 #content h1 {
        font-size: 20px !important;
    }
    
    body.template-3 #content h2 {
        font-size: 18px !important;
    }
    
    body.template-3 #content h3 {
        font-size: 16px !important;
    }
    
    body.template-3 .content-block {
        padding: 15px;
        width: 100% !important;
        box-sizing: border-box;
    }
    
    /* Sidebars - force full width, remove float, stack below content */
    body.template-3 #sidebar_left,
    body.template-3 #sidebar_right {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        padding: 15px !important;
        margin: 15px 0 0 0 !important;
        display: block !important;
        order: 2 !important;
        box-sizing: border-box !important;
    }
    
    body.template-3 #sidebar_left {
        order: 2 !important;
    }
    
    body.template-3 #sidebar_right {
        order: 3 !important;
    }
    
    /* Make tables responsive */
    body.template-3 table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100% !important;
    }
    
    /* Images responsive */
    body.template-3 img {
        max-width: 100%;
        height: auto;
    }
    
    /* Footer adjustments */
    body.template-3 #footer {
        width: 100% !important;
        box-sizing: border-box;
    }
    
    body.template-3 #footer .footer-column {
        width: 100%;
        float: none;
        margin-bottom: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    body.template-3 #header-logo {
        max-width: 120px;
    }
    
    body.template-3 #content h1 {
        font-size: 18px !important;
    }
    
    body.template-3 .content-block {
        padding: 10px;
    }
}

/* ========================================
   Homepage (Default Template) Mobile Responsive Styles
   ======================================== */

@media (max-width: 1024px) {
    body.template-default #master,
    body.template-default #wrap,
    body.template-default #container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px 15px;
        box-sizing: border-box;
    }
    
    body.template-default #sidebar_left,
    body.template-default #sidebar_right {
        width: 100% !important;
        float: none !important;
        margin: 0 0 20px 0 !important;
    }
    
    body.template-default #content {
        width: 100% !important;
        float: none !important;
    }
}

@media (max-width: 768px) {
    /* Force full width on all containers */
    body.template-default,
    body.template-default #master,
    body.template-default #wrap,
    body.template-default #container {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    
    body.template-default #container {
        padding: 15px 10px !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    /* Header adjustments */
    body.template-default #header {
        position: relative;
        padding: 15px 20px;
        width: 100% !important;
        box-sizing: border-box;
        height: 80px;
    }
    
    body.template-default #header-logo {
        max-width: 150px;
    }
    
    body.template-default #header-logo img {
        max-width: 100%;
        height: auto;
    }
    
    body.template-default #header-search {
        display: none;
    }
    
    /* Mobile menu toggle button */
    body.template-default .mobile-menu-toggle {
        display: flex;
        position: absolute;
        right: 20px;
        top: 20px;
    }
    
    /* Mobile menu wrapper */
    body.template-default #header-menu-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: #fff;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
        padding: 60px 20px 20px;
    }
    
    body.template-default #header-menu-wrapper.active {
        right: 0;
    }
    
    body.template-default #header-menu {
        display: flex;
        flex-direction: column;
        position: relative;
        padding-top: 20px;
        left: 0;
    }
    
    body.template-default #header-menu li {
        width: 100%;
        margin: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.15);
        list-style: none;
    }
    
    body.template-default #header-menu li a {
        display: block;
        padding: 12px 0;
        color: #000 !important;
        text-decoration: none;
        text-align: left;
        background: none !important;
        border: none !important;
        font-weight: normal;
    }
    
    body.template-default #header-menu li ul {
        position: static;
        display: none;
        background: transparent;
        padding-left: 20px;
        padding-top: 5px;
    }
    
    body.template-default #header-menu li:hover ul,
    body.template-default #header-menu li.active ul {
        display: block;
    }
    
    /* Content - force full width and remove float */
    body.template-default #content,
    body.template-default #content.content-wide,
    body.template-default #content.content-widest {
        width: 100% !important;
        float: none !important;
        padding: 0 !important;
        margin: 0 !important;
        display: block !important;
        order: 1 !important;
    }
    
    body.template-default #content h1 {
        font-size: 20px !important;
    }
    
    body.template-default #content h2 {
        font-size: 18px !important;
    }
    
    body.template-default #content h3 {
        font-size: 16px !important;
    }
    
    body.template-default .content-block {
        padding: 15px;
        width: 100% !important;
        box-sizing: border-box;
    }
    
    /* Sidebars - force full width, remove float, stack below content */
    body.template-default #sidebar_left,
    body.template-default #sidebar_right {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        padding: 15px !important;
        margin: 15px 0 0 0 !important;
        display: block !important;
        order: 2 !important;
        box-sizing: border-box !important;
    }
    
    body.template-default #sidebar_left {
        order: 2 !important;
    }
    
    body.template-default #sidebar_right {
        order: 3 !important;
    }
    
    /* Make tables responsive */
    body.template-default table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100% !important;
    }
    
    /* Images responsive */
    body.template-default img {
        max-width: 100%;
        height: auto;
    }
    
    /* Footer adjustments */
    body.template-default #footer {
        width: 100% !important;
        box-sizing: border-box;
    }
    
    body.template-default #footer .footer-column {
        width: 100%;
        float: none;
        margin-bottom: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    body.template-default #header-logo {
        max-width: 120px;
    }
    
    body.template-default #content h1 {
        font-size: 18px !important;
    }
    
    body.template-default .content-block {
        padding: 10px;
    }
}
/* Fixed background at top */
body {
    background-position: top center !important;
    background-attachment: fixed !important;
}

/* Mobile responsive tables */
@media (max-width: 768px) {
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
        max-width: 100%;
    }
    
    /* Nice scrollbar styling */
    table::-webkit-scrollbar {
        height: 8px;
    }
    
    table::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 4px;
    }
    
    table::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 4px;
    }
    
    table::-webkit-scrollbar-thumb:hover {
        background: #555;
    }
}
