.page-resources-th777-slot-strategy {
    color: #333333; /* Dark text for light body background */
    line-height: 1.6;
    font-family: Arial, sans-serif;
}

.page-resources-th777-slot-strategy__hero-section {
    background-color: #000000; /* Main color for hero background */
    color: #FFFFFF;
    padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-resources-th777-slot-strategy__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for aesthetic */
    overflow: hidden;
}

.page-resources-th777-slot-strategy__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    opacity: 0.7; /* Slightly dim image to make text pop */
}

.page-resources-th777-slot-strategy__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    max-width: 800px;
    padding: 20px;
    text-align: center;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
    border-radius: 10px;
}

.page-resources-th777-slot-strategy__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FCBC45; /* Login color for highlight */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

.page-resources-th777-slot-strategy__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #FFFFFF;
}

.page-resources-th777-slot-strategy__hero-cta-button {
    display: inline-block;
    background-color: #FFFFFF; /* Register color */
    color: #000000;
    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;
}

.page-resources-th777-slot-strategy__hero-cta-button:hover {
    background-color: #FCBC45; /* Login color on hover */
    color: #FFFFFF;
}

.page-resources-th777-slot-strategy__content-area {
    max-width: 800px; /* Content width for comfortable reading */
    margin: 40px auto;
    padding: 20px;
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-resources-th777-slot-strategy__article {
    font-size: 1.1em;
    color: #333333;
}

.page-resources-th777-slot-strategy__article p {
    margin-bottom: 1em;
}

.page-resources-th777-slot-strategy__section-title {
    font-size: 2em;
    color: #000000;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid #FCBC45;
    padding-bottom: 10px;
}

.page-resources-th777-slot-strategy__sub-section-title {
    font-size: 1.5em;
    color: #000000;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-resources-th777-slot-strategy__list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 1em;
}

.page-resources-th777-slot-strategy__list li {
    margin-bottom: 0.5em;
}

.page-resources-th777-slot-strategy__image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-resources-th777-slot-strategy__image--centered {
    margin-left: auto;
    margin-right: auto;
}

.page-resources-th777-slot-strategy__cta-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    margin-top: 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-resources-th777-slot-strategy__cta-button--register {
    background-color: #FFFFFF;
    color: #000000;
    border: 2px solid #000000;
    margin-right: 15px;
}

.page-resources-th777-slot-strategy__cta-button--register:hover {
    background-color: #FCBC45;
    color: #FFFFFF;
    border-color: #FCBC45;
}

.page-resources-th777-slot-strategy__cta-button--login {
    background-color: #FCBC45;
    color: #FFFFFF;
    border: 2px solid #FCBC45;
}

.page-resources-th777-slot-strategy__cta-button--login:hover {
    background-color: #000000;
    color: #FFFFFF;
    border-color: #000000;
}

.page-resources-th777-slot-strategy__cta-group {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-resources-th777-slot-strategy__related-resources {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.page-resources-th777-slot-strategy__related-title {
    font-size: 1.8em;
    color: #000000;
    margin-bottom: 20px;
}

.page-resources-th777-slot-strategy__resource-list {
    list-style-type: none;
    padding: 0;
}

.page-resources-th777-slot-strategy__resource-list li {
    margin-bottom: 10px;
}

.page-resources-th777-slot-strategy__resource-list a {
    color: #FCBC45;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-resources-th777-slot-strategy__resource-list a:hover {
    color: #000000;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-resources-th777-slot-strategy__hero-title {
        font-size: 2em;
    }

    .page-resources-th777-slot-strategy__hero-description {
        font-size: 1em;
    }

    .page-resources-th777-slot-strategy__hero-cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-resources-th777-slot-strategy__content-area {
        margin: 20px auto;
        padding: 15px;
    }

    .page-resources-th777-slot-strategy__section-title {
        font-size: 1.6em;
    }

    .page-resources-th777-slot-strategy__sub-section-title {
        font-size: 1.3em;
    }

    .page-resources-th777-slot-strategy__article {
        font-size: 1em;
    }

    .page-resources-th777-slot-strategy__cta-group {
        flex-direction: column;
        align-items: center;
    }

    .page-resources-th777-slot-strategy__cta-button--register {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .page-resources-th777-slot-strategy__hero-content {
        padding: 15px;
        width: 90%;
    }

    .page-resources-th777-slot-strategy__image {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-resources-th777-slot-strategy__hero-title {
        font-size: 1.8em;
    }

    .page-resources-th777-slot-strategy__hero-description {
        font-size: 0.9em;
    }

    .page-resources-th777-slot-strategy__hero-cta-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .page-resources-th777-slot-strategy__section-title {
        font-size: 1.4em;
    }

    .page-resources-th777-slot-strategy__sub-section-title {
        font-size: 1.2em;
    }
}