/* promotions.css */
.page-promotions {
    background-color: #F4F7FB;
    color: #1F2D3D;
    font-family: Arial, sans-serif;
}

.page-promotions__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-promotions__hero-section {
    position: relative;
    background-color: #2F6BFF;
    padding-top: 10px; /* Small top padding */
    padding-bottom: 40px;
    text-align: center;
    overflow: hidden;
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-height: 600px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-width: 200px; /* Min size constraint */
    min-height: 200px; /* Min size constraint */
}

.page-promotions__hero-content {
    color: #FFFFFF;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-promotions__main-title {
    font-size: clamp(2em, 4vw, 2.8em); /* Using clamp for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.page-promotions__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-promotions__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    min-width: 200px; /* Ensure button is not too small */
}

.page-promotions__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__promotions-grid {
    padding: 60px 0;
    background-color: #F4F7FB;
}

.page-promotions__section-title {
    font-size: 2.2em;
    color: #1F2D3D;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-promotions__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-promotions__promotion-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-promotions__promotion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.page-promotions__card-image {
    width: 100%;
    height: 225px; /* Fixed height for consistency, will be object-fit */
    object-fit: cover;
    display: block;
    min-width: 200px; /* Min size constraint */
    min-height: 200px; /* Min size constraint */
}

.page-promotions__card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-promotions__card-title {
    font-size: 1.4em;
    color: #1F2D3D;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-promotions__card-description {
    font-size: 0.95em;
    color: #1F2D3D;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-promotions__card-button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    align-self: flex-start;
    min-width: 150px; /* Ensure button is not too small */
}

.page-promotions__card-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-promotions__terms-faq {
    padding: 60px 0;
    background-color: #FFFFFF;
    border-top: 1px solid #D6E2FF;
}

.page-promotions__description {
    font-size: 1em;
    line-height: 1.7;
    color: #1F2D3D;
    margin-bottom: 30px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__terms-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 30px auto;
    max-width: 800px;
}

.page-promotions__terms-list li {
    background-color: #F4F7FB;
    border-left: 4px solid #2F6BFF;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 4px;
    font-size: 0.95em;
    color: #1F2D3D;
}

.page-promotions__secondary-button {
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 12px 25px;
    border-radius: 8px;
    background-color: #6FA3FF;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease;
    border: 1px solid #D6E2FF;
    cursor: pointer;
}

.page-promotions__secondary-button:hover {
    background-color: #2F6BFF;
}

.page-promotions__cta-section {
    background-color: #2F6BFF;
    padding: 80px 20px;
    text-align: center;
    color: #FFFFFF;
}

.page-promotions__cta-title {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.page-promotions__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.page-promotions__cta-button--large {
    padding: 18px 35px;
    font-size: 1.2em;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-promotions__container {
        padding: 20px 30px;
    }
    .page-promotions__hero-image-wrapper {
        max-height: 500px;
    }
    .page-promotions__main-title {
        font-size: clamp(1.8em, 5vw, 2.5em);
    }
    .page-promotions__section-title {
        font-size: 2em;
    }
    .page-promotions__cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-promotions__container {
        padding: 15px 20px;
    }
    .page-promotions__hero-image-wrapper {
        max-height: 400px;
    }
    .page-promotions__hero-image {
        max-width: 100%;
        height: auto; /* Ensure image scales down */
    }
    .page-promotions__main-title {
        font-size: clamp(1.5em, 6vw, 2.2em);
    }
    .page-promotions__hero-description {
        font-size: 1em;
    }
    .page-promotions__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-promotions__section-title {
        font-size: 1.8em;
    }
    .page-promotions__grid {
        grid-template-columns: 1fr;
    }
    .page-promotions__card-image {
        height: 200px; /* Adjust height for smaller screens */
    }
    .page-promotions__card-title {
        font-size: 1.2em;
    }
    .page-promotions__card-description {
        font-size: 0.9em;
    }
    .page-promotions__card-button {
        padding: 8px 15px;
        font-size: 0.85em;
    }
    .page-promotions__terms-list li {
        padding: 12px 15px;
        font-size: 0.9em;
    }
    .page-promotions__cta-title {
        font-size: 2em;
    }
    .page-promotions__cta-description {
        font-size: 1em;
    }
    .page-promotions__cta-button--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    /* Ensure all content area images are responsive */
    .page-promotions img {
        max-width: 100%;
        height: auto; /* IMPORTANT: for mobile overflow prevention */
    }
}

@media (max-width: 480px) {
    .page-promotions__hero-image-wrapper {
        max-height: 300px;
    }
    .page-promotions__main-title {
        font-size: clamp(1.3em, 7vw, 1.8em);
    }
    .page-promotions__cta-title {
        font-size: 1.8em;
    }
}