/* Header Overlap Fix */
@media (min-width: 981px) and (max-width: 1350px) {
    #logo {
        max-height: 60px !important;
    }
    #main-header {
        padding: 10px 0 !important;
    }
}
@media (max-width: 1350px) {
    #et_mobile_nav_menu {
        display: block !important;
    }
    #top-menu-nav {
        display: none !important;
    }
}

/* Stats Color Discrepancy Fix */
.et_pb_section_5 {
    background-blend-mode: multiply !important;
}

/* Cookies Notification Bar */
.rrc-cookies-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(30, 30, 30, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 999999;
    padding: 20px;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    color: #fff;
    font-family: 'Inter', sans-serif;
}

.rrc-cookies-banner.show {
    transform: translateY(0);
}

.rrc-cookies-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.rrc-cookies-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    flex: 1 1 300px;
}

.rrc-cookies-actions {
    display: flex;
    gap: 10px;
}

.rrc-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rrc-btn-primary {
    background: #e28e6e;
    color: #fff;
}
.rrc-btn-primary:hover {
    background: #d17b5b;
}

.rrc-btn-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
}
.rrc-btn-secondary:hover {
    background: rgba(255,255,255,0.1);
}

/* Legal Modal Dialog */
.rrc-modal {
    padding: 0;
    border: none;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    width: 90%;
    max-width: 800px;
    height: 80vh;
    background: #fff;
    overflow: hidden;
    position: relative;
}

.rrc-modal::backdrop {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.rrc-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: #333;
    color: #fff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}
.rrc-modal-close:hover {
    background: #111;
}

.rrc-modal-content {
    width: 100%;
    height: 100%;
    position: relative;
}

.rrc-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: sans-serif;
    color: #888;
}

#rrc-modal-iframe {
    width: 100%;
    height: 100%;
    border: none;
    position: relative;
    z-index: 5;
    background: transparent;
}

/* Injected Footer Links */
.rrc-legal-link {
    color: inherit;
    text-decoration: underline;
    margin: 0 5px;
}
.rrc-legal-link:hover {
    color: #2ea3f2;
}
