:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-color-dark: #333333;
    --text-color-light: #FFFFFF;
    --background-light: #FFFFFF;
    --background-dark: #26A9E0; /* Using primary color for dark background sections */
    --button-login-color: #EA7C07;
}

.page-index-latest-promotions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark);
    background-color: var(--background-light); /* Assuming body background is light from shared.css */
}

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

.page-index-latest-promotions__section-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
}

.page-index-latest-promotions__section-title--white {
    color: var(--text-color-light);
}

.page-index-latest-promotions__section-description {
    font-size: 18px;
    color: var(--text-color-dark);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-latest-promotions__section-description--white {
    color: var(--text-color-light);
}

/* --- Hero Section --- */
.page-index-latest-promotions__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #3a7bd5 100%); /* Adjusted gradient */
    color: var(--text-color-light);
    /* Fixed header offset */
    padding-top: var(--header-offset, 120px);
}

.page-index-latest-promotions__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-index-latest-promotions__hero-image {
    width: 100%;
    margin-bottom: 30px;
    overflow: hidden; /* Ensure image doesn't overflow container */
}

.page-index-latest-promotions__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-index-latest-promotions__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

.page-index-latest-promotions__main-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 15px;
    color: var(--text-color-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-index-latest-promotions__hero-description {
    font-size: 22px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-latest-promotions__hero-cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%; /* Ensure container takes full width for wrapping */
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px; /* Add padding to prevent overflow */
}

.page-index-latest-promotions__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-index-latest-promotions__cta-button--primary {
    background: var(--button-login-color); /* Use login color for primary action */
    color: var(--text-color-light);
    border: 2px solid var(--button-login-color);
}

.page-index-latest-promotions__cta-button--primary:hover {
    background: #e06c00;
    border-color: #e06c00;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-index-latest-promotions__cta-button--secondary {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-index-latest-promotions__cta-button--secondary:hover {
    background: #f0f0f0;
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* --- General Button Styles (for other sections) --- */
.page-index-latest-promotions__btn-primary,
.page-index-latest-promotions__btn-secondary,
.page-index-latest-promotions__btn-small {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-index-latest-promotions__btn-primary {
    background: var(--primary-color);
    color: var(--text-color-light);
    border: 1px solid var(--primary-color);
}

.page-index-latest-promotions__btn-primary:hover {
    background: #1e87c0;
    border-color: #1e87c0;
}

.page-index-latest-promotions__btn-secondary {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.page-index-latest-promotions__btn-secondary:hover {
    background: #e0f2f7;
    border-color: var(--primary-color);
}

.page-index-latest-promotions__btn-small {
    padding: 8px 20px;
    font-size: 14px;
    background: var(--primary-color);
    color: var(--text-color-light);
    border: 1px solid var(--primary-color);
    margin-top: 10px;
}

.page-index-latest-promotions__btn-small:hover {
    background: #1e87c0;
    border-color: #1e87c0;
}

/* --- Intro Section --- */
.page-index-latest-promotions__intro-section {
    padding: 60px 0;
    background-color: var(--background-light);
}

.page-index-latest-promotions__intro-grid {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.page-index-latest-promotions__intro-text {
    flex: 1;
    min-width: 300px;
}

.page-index-latest-promotions__intro-text p {
    margin-bottom: 20px;
    font-size: 17px;
    color: var(--text-color-dark);
}

.page-index-latest-promotions__intro-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-index-latest-promotions__intro-text a:hover {
    text-decoration: underline;
}

.page-index-latest-promotions__intro-image {
    flex: 1;
    min-width: 400px;
    text-align: center;
}

.page-index-latest-promotions__intro-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* --- Quick Access Section --- */
.page-index-latest-promotions__quick-access-section {
    padding: 60px 0;
    background-color: var(--background-dark);
    color: var(--text-color-light);
}