/* style/resources-13win-asia-advantages.css */

/* Base Styles */
.page-resources-13win-asia-advantages {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: var(--background-color, #FFFFFF); /* Inherit from shared or default to white */
}

.page-resources-13win-asia-advantages__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-resources-13win-asia-advantages__section {
    padding: 60px 0;
    text-align: center;
}

.page-resources-13win-asia-advantages__dark-bg {
    background-color: #017439;
    color: #ffffff;
}

.page-resources-13win-asia-advantages__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-resources-13win-asia-advantages__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    font-weight: bold;
    color: inherit; /* Inherits from section background */
}

.page-resources-13win-asia-advantages__sub-title {
    font-size: 1.8em;
    margin-bottom: 20px;
    font-weight: bold;
    color: inherit;
}

.page-resources-13win-asia-advantages__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: inherit;
}

.page-resources-13win-asia-advantages__list {
    list-style: none;
    padding: 0;
    margin: 0 auto 30px auto;
    max-width: 800px;
    text-align: left;
}

.page-resources-13win-asia-advantages__list li {
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
    font-size: 1.1em;
    color: inherit;
}

.page-resources-13win-asia-advantages__list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #017439;
}

/* Hero Section */
.page-resources-13win-asia-advantages__hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.page-resources-13win-asia-advantages__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
}

.page-resources-13win-asia-advantages__hero-section .page-resources-13win-asia-advantages__container {
    position: relative;
    z-index: 1;
    color: #ffffff;
}

.page-resources-13win-asia-advantages__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff;
}

.page-resources-13win-asia-advantages__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-resources-13win-asia-advantages__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-resources-13win-asia-advantages__btn-primary,
.page-resources-13win-asia-advantages__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-13win-asia-advantages__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

.page-resources-13win-asia-advantages__btn-primary:hover {
    background-color: #a30606;
    border-color: #a30606;
}

.page-resources-13win-asia-advantages__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-resources-13win-asia-advantages__btn-secondary:hover {
    background-color: #ffffff;
    color: #017439;
}

/* Grid Layout for Games Showcase */
.page-resources-13win-asia-advantages__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-13win-asia-advantages__card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    color: #333333;
}

.page-resources-13win-asia-advantages__card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 15px;
}

.page-resources-13win-asia-advantages__card-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #017439;
    padding: 0 15px;
}

.page-resources-13win-asia-advantages__card-title a {
    color: #017439;
    text-decoration: none;
}

.page-resources-13win-asia-advantages__card-title a:hover {
    text-decoration: underline;
}

.page-resources-13win-asia-advantages__card-description {
    font-size: 1em;
    color: #555555;
    padding: 0 15px;
    flex-grow: 1;
}

.page-resources-13win-asia-advantages__card-link {
    display: inline-block;
    margin-top: 15px;
    color: #017439;
    text-decoration: none;
    font-weight: bold;
}

.page-resources-13win-asia-advantages__card-link:hover {
    text-decoration: underline;
}

.page-resources-13win-asia-advantages__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-13win-asia-advantages__flex-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-top: 40px;
    text-align: left;
}

.page-resources-13win-asia-advantages__flex-container .page-resources-13win-asia-advantages__text-content {
    flex: 1;
}

.page-resources-13win-asia-advantages__flex-container .page-resources-13win-asia-advantages__content-image {
    flex: 1;
    margin: 0;
}

.page-resources-13win-asia-advantages__content-image--right {
    order: 2;
}

/* FAQ Section */
.page-resources-13win-asia-advantages__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
    text-align: left;
}

.page-resources-13win-asia-advantages__faq-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-resources-13win-asia-advantages__faq-question {
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #017439;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #e8f5e9;
    transition: background-color 0.3s ease;
}

.page-resources-13win-asia-advantages__faq-question:hover {
    background-color: #dcedc8;
}

.page-resources-13win-asia-advantages__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-resources-13win-asia-advantages__faq-item.active .page-resources-13win-asia-advantages__faq-toggle {
    transform: rotate(0deg); /* Explicitly set for '-' */
}

.page-resources-13win-asia-advantages__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background-color: #ffffff;
    color: #555555;
}

.page-resources-13win-asia-advantages__faq-item.active .page-resources-13win-asia-advantages__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px 25px 25px;
}

.page-resources-13win-asia-advantages__faq-answer p {
    margin: 0;
    font-size: 1em;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-13win-asia-advantages__hero-title {
        font-size: 3em;
    }

    .page-resources-13win-asia-advantages__hero-description {
        font-size: 1.2em;
    }

    .page-resources-13win-asia-advantages__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-resources-13win-asia-advantages__hero-section {
        min-height: 500px;
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-resources-13win-asia-advantages__hero-title {
        font-size: 2.2em;
    }

    .page-resources-13win-asia-advantages__hero-description {
        font-size: 1em;
    }

    .page-resources-13win-asia-advantages__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-resources-13win-asia-advantages__btn-primary,
    .page-resources-13win-asia-advantages__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-resources-13win-asia-advantages__section {
        padding: 40px 0;
    }

    .page-resources-13win-asia-advantages__section-title {
        font-size: 1.8em;
    }

    .page-resources-13win-asia-advantages__text-block,
    .page-resources-13win-asia-advantages__list li {
        font-size: 0.95em;
    }

    .page-resources-13win-asia-advantages__grid {
        grid-template-columns: 1fr;
    }

    .page-resources-13win-asia-advantages__card-image {
        height: 200px;
    }

    .page-resources-13win-asia-advantages__flex-container {
        flex-direction: column;
        gap: 30px;
    }

    .page-resources-13win-asia-advantages__content-image--right {
        order: initial;
    }

    .page-resources-13win-asia-advantages__content-image {
        margin: 30px auto !important;
    }

    /* Mobile image/video/button adaptation */
    .page-resources-13win-asia-advantages img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-resources-13win-asia-advantages__section,
    .page-resources-13win-asia-advantages__card,
    .page-resources-13win-asia-advantages__container,
    .page-resources-13win-asia-advantages__cta-buttons,
    .page-resources-13win-asia-advantages__flex-container,
    .page-resources-13win-asia-advantages__faq-list,
    .page-resources-13win-asia-advantages__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }

    .page-resources-13win-asia-advantages__faq-item.active .page-resources-13win-asia-advantages__faq-answer {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-resources-13win-asia-advantages__faq-question {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-resources-13win-asia-advantages__faq-list {
        padding-left: 0;
        padding-right: 0;
    }

    .page-resources-13win-asia-advantages__list {
        padding-left: 15px; /* Adjust for mobile list items */
        padding-right: 15px;
    }

    .page-resources-13win-asia-advantages__list li {
        padding-left: 25px;
    }
}

@media (max-width: 480px) {
    .page-resources-13win-asia-advantages__hero-title {
        font-size: 1.8em;
    }

    .page-resources-13win-asia-advantages__hero-description {
        font-size: 0.9em;
    }

    .page-resources-13win-asia-advantages__section-title {
        font-size: 1.5em;
    }

    .page-resources-13win-asia-advantages__text-block,
    .page-resources-13win-asia-advantages__list li,
    .page-resources-13win-asia-advantages__card-description {
        font-size: 0.9em;
    }

    .page-resources-13win-asia-advantages__card-title {
        font-size: 1.3em;
    }
}