/* style/resources-ok-365-safe-gaming-guide.css */

.page-resources-ok-365-safe-gaming-guide {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.page-resources-ok-365-safe-gaming-guide__hero {
    background: linear-gradient(135deg, #002060 0%, #002060 70%, #FFD700 100%);
    color: #ffffff;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-resources-ok-365-safe-gaming-guide__hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-resources-ok-365-safe-gaming-guide__hero h1 {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-resources-ok-365-safe-gaming-guide__hero p {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.page-resources-ok-365-safe-gaming-guide__container {
    display: flex;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    gap: 30px;
}

.page-resources-ok-365-safe-gaming-guide__toc {
    flex: 0 0 250px;
    background-color: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    align-self: flex-start;
    position: sticky;
    top: 20px; /* Adjust based on header height */
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    border: 1px solid #eee;
}

.page-resources-ok-365-safe-gaming-guide__toc h2 {
    font-size: 1.8em;
    color: #002060;
    margin-bottom: 20px;
    border-bottom: 2px solid #FFD700;
    padding-bottom: 10px;
}

.page-resources-ok-365-safe-gaming-guide__toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-resources-ok-365-safe-gaming-guide__toc li {
    margin-bottom: 12px;
}

.page-resources-ok-365-safe-gaming-guide__toc a {
    text-decoration: none;
    color: #002060;
    font-size: 1.1em;
    transition: color 0.3s ease, transform 0.2s ease;
    display: block;
    padding: 5px 0;
}

.page-resources-ok-365-safe-gaming-guide__toc a:hover,
.page-resources-ok-365-safe-gaming-guide__toc a.active {
    color: #FFD700;
    transform: translateX(5px);
    font-weight: bold;
}

.page-resources-ok-365-safe-gaming-guide__article-content {
    flex: 1;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee;
}

.page-resources-ok-365-safe-gaming-guide__article-content h2 {
    font-size: 2.2em;
    color: #002060;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 3px solid #FFD700;
    padding-bottom: 10px;
}

.page-resources-ok-365-safe-gaming-guide__article-content h3 {
    font-size: 1.6em;
    color: #002060;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-resources-ok-365-safe-gaming-guide__article-content p {
    margin-bottom: 1em;
    font-size: 1.1em;
    color: #333;
}

.page-resources-ok-365-safe-gaming-guide__article-content ul {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 1.5em;
    font-size: 1.1em;
    color: #333;
}

.page-resources-ok-365-safe-gaming-guide__article-content ul li {
    margin-bottom: 8px;
}

.page-resources-ok-365-safe-gaming-guide__article-content strong {
    color: #002060;
    font-weight: bold;
}

.page-resources-ok-365-safe-gaming-guide__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-ok-365-safe-gaming-guide__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    font-size: 1.1em;
    text-align: center;
}

.page-resources-ok-365-safe-gaming-guide__btn--primary {
    background-color: #FFD700;
    color: #002060;
    border: 2px solid #FFD700;
}

.page-resources-ok-365-safe-gaming-guide__btn--primary:hover {
    background-color: #e6c200;
    color: #001a4d;
    transform: translateY(-2px);
}

.page-resources-ok-365-safe-gaming-guide__btn--secondary {
    background-color: transparent;
    color: #002060;
    border: 2px solid #002060;
}

.page-resources-ok-365-safe-gaming-guide__btn--secondary:hover {
    background-color: #002060;
    color: #FFD700;
    transform: translateY(-2px);
}

.page-resources-ok-365-safe-gaming-guide__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-resources-ok-365-safe-gaming-guide__container {
        flex-direction: column;
    }

    .page-resources-ok-365-safe-gaming-guide__toc {
        position: static;
        max-height: none;
        overflow-y: visible;
        width: 100%;
        margin-bottom: 30px;
    }

    .page-resources-ok-365-safe-gaming-guide__article-content {
        padding: 30px;
    }

    .page-resources-ok-365-safe-gaming-guide__hero h1 {
        font-size: 2.5em;
    }

    .page-resources-ok-365-safe-gaming-guide__hero p {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-resources-ok-365-safe-gaming-guide__hero {
        padding: 80px 15px;
    }

    .page-resources-ok-365-safe-gaming-guide__hero h1 {
        font-size: 2em;
    }

    .page-resources-ok-365-safe-gaming-guide__article-content h2 {
        font-size: 1.8em;
    }

    .page-resources-ok-365-safe-gaming-guide__article-content h3 {
        font-size: 1.4em;
    }

    .page-resources-ok-365-safe-gaming-guide__article-content {
        padding: 20px;
    }

    .page-resources-ok-365-safe-gaming-guide__cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .page-resources-ok-365-safe-gaming-guide__btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .page-resources-ok-365-safe-gaming-guide__hero h1 {
        font-size: 1.8em;
    }

    .page-resources-ok-365-safe-gaming-guide__hero p {
        font-size: 1em;
    }

    .page-resources-ok-365-safe-gaming-guide__article-content h2 {
        font-size: 1.6em;
    }

    .page-resources-ok-365-safe-gaming-guide__article-content h3 {
        font-size: 1.2em;
    }

    .page-resources-ok-365-safe-gaming-guide__toc h2 {
        font-size: 1.5em;
    }

    .page-resources-ok-365-safe-gaming-guide__toc a {
        font-size: 1em;
    }
}