/* style/gambling-laws-regulations.css */

:root {
    --primary-color: #007bff;
    --secondary-color: #ffc107;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: #050505;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
}

.page-gambling-laws-regulations {
    font-family: 'Arial', sans-serif;
    color: var(--text-light); /* Default text color for dark body background */
    line-height: 1.6;
    padding-top: 120px; /* Desktop padding for fixed header */
}

@media (max-width: 768px) {
    .page-gambling-laws-regulations {
        padding-top: 100px !important; /* Mobile padding for fixed header */
    }
}

.page-gambling-laws-regulations__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-gambling-laws-regulations__hero-banner {
    position: relative;
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), #0056b3); /* Darker gradient for hero */
    color: var(--text-light);
    padding-top: 180px; /* Desktop HERO padding */
}

@media (max-width: 768px) {
    .page-gambling-laws-regulations__hero-banner {
        padding-top: 140px !important; /* Mobile HERO padding */
        padding-bottom: 60px;
    }
}

.page-gambling-laws-regulations__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-gambling-laws-regulations__subtitle {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-gambling-laws-regulations__cta-button {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--text-dark);
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: none;
}

.page-gambling-laws-regulations__cta-button:hover {
    background: #e0a800;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-gambling-laws-regulations__secondary-button {
    display: inline-block;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--secondary-color);
    margin-left: 15px;
}

.page-gambling-laws-regulations__secondary-button:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-gambling-laws-regulations__section {
    padding: 60px 0;
}

.page-gambling-laws-regulations__content-area {
    color: var(--text-dark);
    background: var(--bg-light);
}

.page-gambling-laws-regulations__dark-section {
    background: #1a1a1a; /* Slightly lighter dark background for contrast with body */
    color: var(--text-light);
}

.page-gambling-laws-regulations__section-title {
    font-size: 2.2em;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
    color: var(--primary-color);
}

.page-gambling-laws-regulations__dark-section .page-gambling-laws-regulations__section-title {
    color: var(--secondary-color);
}

.page-gambling-laws-regulations__sub-section-title {
    font-size: 1.8em;
    font-weight: bold;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.page-gambling-laws-regulations__dark-section .page-gambling-laws-regulations__sub-section-title {
    color: var(--text-light);
}

.page-gambling-laws-regulations p {
    margin-bottom: 15px;
    font-size: 1.05em;
    line-height: 1.7;
}

.page-gambling-laws-regulations__dark-section p {
    color: #e0e0e0;
}

.page-gambling-laws-regulations ul,
.page-gambling-laws-regulations ol {
    margin-bottom: 15px;
    padding-left: 25px;
}

.page-gambling-laws-regulations li {
    margin-bottom: 10px;
    font-size: 1.05em;
    line-height: 1.6;
}

.page-gambling-laws-regulations__dark-section li {
    color: #e0e0e0;
}

.page-gambling-laws-regulations__image-full-width {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px 0;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    min-height: 300px; /* Ensure minimum size */
}

.page-gambling-laws-regulations__image-large {
    max-width: 80%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    min-height: 250px; /* Ensure minimum size */
}

.page-gambling-laws-regulations__image-medium {
    max-width: 60%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    min-height: 200px; /* Ensure minimum size */
}

.page-gambling-laws-regulations__text-center {
    text-align: center;
    margin-top: 30px;
}

.page-gambling-laws-regulations__button-group {
    text-align: center;
    margin-top: 40px;
}

.page-gambling-laws-regulations__cta-button--large {
    padding: 18px 45px;
    font-size: 1.2em;
}

.page-gambling-laws-regulations__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-gambling-laws-regulations__feature-card {
    background: rgba(255, 255, 255, 0.15); /* Semi-transparent white for dark section */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-light);
}

.page-gambling-laws-regulations__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-gambling-laws-regulations__feature-icon {
    width: 100px;
    height: auto;
    margin-bottom: 20px;
    object-fit: contain;
    min-width: 100px; /* Ensure minimum size */
    min-height: 100px; /* Ensure minimum size */
}

.page-gambling-laws-regulations__card-title {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.page-gambling-laws-regulations__numbered-list {
    list-style-type: decimal;
    padding-left: 25px;
    margin-bottom: 20px;
}

.page-gambling-laws-regulations__numbered-list li {
    margin-bottom: 10px;
    font-size: 1.05em;
    line-height: 1.6;
    color: var(--text-dark);
}

/* FAQ Section */
.page-gambling-laws-regulations__faq-section {
    background: var(--bg-light);
    padding: 60px 0;
    color: var(--text-dark);
}

.page-gambling-laws-regulations__faq-list {
    margin-top: 40px;
}

.page-gambling-laws-regulations__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.page-gambling-laws-regulations__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    padding: 0 15px;
    opacity: 0;
}

.page-gambling-laws-regulations__faq-item.active .page-gambling-laws-regulations__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
}

.page-gambling-laws-regulations__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-gambling-laws-regulations__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-gambling-laws-regulations__faq-question:active {
    background: #eeeeee;
}

.page-gambling-laws-regulations__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--text-dark);
}

.page-gambling-laws-regulations__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #666;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-gambling-laws-regulations__faq-item.active .page-gambling-laws-regulations__faq-toggle {
    color: var(--primary-color);
    transform: rotate(45deg);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-gambling-laws-regulations__main-title {
        font-size: 2.5em;
    }

    .page-gambling-laws-regulations__subtitle {
        font-size: 1.1em;
    }

    .page-gambling-laws-regulations__section-title {
        font-size: 2em;
    }

    .page-gambling-laws-regulations__sub-section-title {
        font-size: 1.6em;
    }

    .page-gambling-laws-regulations__feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-gambling-laws-regulations__container {
        padding: 0 15px;
    }

    .page-gambling-laws-regulations__main-title {
        font-size: 2em;
    }

    .page-gambling-laws-regulations__subtitle {
        font-size: 1em;
    }

    .page-gambling-laws-regulations__cta-button,
    .page-gambling-laws-regulations__secondary-button {
        padding: 12px 25px;
        font-size: 1em;
        margin-left: 0;
        margin-bottom: 15px;
    }

    .page-gambling-laws-regulations__button-group {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .page-gambling-laws-regulations__section {
        padding: 40px 0;
    }

    .page-gambling-laws-regulations__section-title {
        font-size: 1.8em;
    }

    .page-gambling-laws-regulations__sub-section-title {
        font-size: 1.4em;
        margin-top: 30px;
    }

    .page-gambling-laws-regulations p,
    .page-gambling-laws-regulations li {
        font-size: 0.95em;
    }

    .page-gambling-laws-regulations img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .page-gambling-laws-regulations__image-large,
    .page-gambling-laws-regulations__image-medium {
        max-width: 100% !important;
        width: 100% !important;
    }

    .page-gambling-laws-regulations__feature-grid {
        grid-template-columns: 1fr;
    }

    .page-gambling-laws-regulations__feature-icon {
        width: 80px;
        height: auto;
        min-width: 80px !important;
        min-height: 80px !important;
    }

    .page-gambling-laws-regulations__feature-card {
        padding: 25px;
    }

    .page-gambling-laws-regulations__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }

    .page-gambling-laws-regulations__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }

    .page-gambling-laws-regulations__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }

    .page-gambling-laws-regulations__faq-answer {
        padding: 0 15px;
    }

    .page-gambling-laws-regulations__faq-item.active .page-gambling-laws-regulations__faq-answer {
        padding: 15px !important;
    }
}

@media (max-width: 480px) {
    .page-gambling-laws-regulations__main-title {
        font-size: 1.7em;
    }

    .page-gambling-laws-regulations__section-title {
        font-size: 1.6em;
    }

    .page-gambling-laws-regulations__sub-section-title {
        font-size: 1.2em;
    }
    
    .page-gambling-laws-regulations__cta-button,
    .page-gambling-laws-regulations__secondary-button {
        width: 100%;
    }
}