/* style/resources-ww88-slot-latest-promotions.css */

/* Base styles for the page content */
.page-resources-ww88-slot-latest-promotions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: var(--background-color, #FFFFFF); /* Use shared background, default to white */
    padding-top: 0; /* Handled by shared.css body padding, or by first section if not */
}

/* Ensure the first section accounts for the fixed header if shared.css doesn't apply to body */
.page-resources-ww88-slot-latest-promotions__hero-section {
    padding-top: var(--header-offset, 120px); /* Apply header offset */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    background-color: #26A9E0; /* Brand primary color */
    color: #ffffff; /* White text for dark background */
    text-align: center;
    overflow: hidden; /* Prevent image overflow */
}

.page-resources-ww88-slot-latest-promotions__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.3; /* Make it a subtle background */
}

.page-resources-ww88-slot-latest-promotions__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
    margin: 0 auto;
}

.page-resources-ww88-slot-latest-promotions__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff;
}

.page-resources-ww88-slot-latest-promotions__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-resources-ww88-slot-latest-promotions__cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-resources-ww88-slot-latest-promotions__btn-primary,
.page-resources-ww88-slot-latest-promotions__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box;
}

.page-resources-ww88-slot-latest-promotions__btn-primary {
    background-color: #26A9E0; /* Brand primary color */
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-resources-ww88-slot-latest-promotions__btn-primary:hover {
    background-color: #1a7fb3;
    border-color: #1a7fb3;
}

.page-resources-ww88-slot-latest-promotions__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0; /* Brand primary color */
    border: 2px solid #26A9E0;
}

.page-resources-ww88-slot-latest-promotions__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #1a7fb3;
    border-color: #1a7fb3;
}

.page-resources-ww88-slot-latest-promotions__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.page-resources-ww88-slot-latest-promotions__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand primary color */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-resources-ww88-slot-latest-promotions__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: #333333;
}

.page-resources-ww88-slot-latest-promotions__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.page-resources-ww88-slot-latest-promotions__promo-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-ww88-slot-latest-promotions__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-resources-ww88-slot-latest-promotions__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-resources-ww88-slot-latest-promotions__card-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-resources-ww88-slot-latest-promotions__card-text {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1; /* Push button to bottom */
}

.page-resources-ww88-slot-latest-promotions__card-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #EA7C07; /* Login/Action color */
    color: #ffffff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.page-resources-ww88-slot-latest-promotions__card-button:hover {
    background-color: #d16b06;
}

.page-resources-ww88-slot-latest-promotions__steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.page-resources-ww88-slot-latest-promotions__step-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-resources-ww88-slot-latest-promotions__step-image {
    width: 100%;
    height: 180px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-resources-ww88-slot-latest-promotions__step-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-resources-ww88-slot-latest-promotions__step-text {
    font-size: 1em;
    color: #555555;
}

.page-resources-ww88-slot-latest-promotions__advantage-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.page-resources-ww88-slot-latest-promotions__list-item {
    background-color: #f8f8f8;
    border-left: 5px solid #26A9E0;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}