:root {
    --primary-color: #FF0000; /* Đỏ - Năng động */
    --secondary-color: #000000; /* Đen - Chuyên nghiệp */
    --accent-color: #FFD700; /* Vàng kim - Sang trọng */
    --text-light: #FFFFFF;
    --text-dark: #333333;
    --bg-light: #F8F8F8;
    --bg-dark: #1A1A1A;
    --border-color: #E0E0E0;
}

/* General styles for the page content, ensuring contrast */
.page-index-latest-promotions {
    font-family: 'Arial', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
}

.page-index-latest-promotions a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-index-latest-promotions a:hover {
    color: var(--accent-color);
}

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

.page-index-latest-promotions-section {
    padding: 60px 0;
    text-align: center;
}

.page-index-latest-promotions-section:nth-child(odd) {
    background-color: var(--bg-light);
}

.page-index-latest-promotions-section:nth-child(even) {
    background-color: #f0f0f0; /* Slightly different light background for contrast */
}

.page-index-latest-promotions h1,
.page-index-latest-promotions h2 {
    color: var(--secondary-color);
    margin-bottom: 30px;
    font-size: 2.8em;
    font-weight: bold;
}

.page-index-latest-promotions h2 {
    font-size: 2.2em;
    margin-bottom: 25px;
}

.page-index-latest-promotions h3 {
    color: var(--primary-color);
    font-size: 1.8em;
    margin-bottom: 15px;
}

.page-index-latest-promotions h4 {
    color: var(--secondary-color);
    font-size: 1.4em;
    margin-bottom: 10px;
}

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

/* Hero Section */
.page-index-latest-promotions-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-index-latest-promotions-hero .page-index-latest-promotions-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.page-index-latest-promotions-hero-content {
    max-width: 800px;
}

.page-index-latest-promotions-hero h1 {
    color: var(--text-light);
    font-size: 3.5em;
    margin-bottom: 20px;
}

.page-index-latest-promotions-hero p {
    color: var(--text-light);
    font-size: 1.2em;
    margin-bottom: 30px;
}

.page-index-latest-promotions-hero p a {
    color: var(--accent-color);
}

.page-index-latest-promotions-hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* CTA Buttons */
.page-index-latest-promotions-cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--secondary-color);
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 1.3em;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-index-latest-promotions-cta-button:hover {
    background-color: #FFC107; /* Slightly darker gold */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-index-latest-promotions-cta-small {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 10px 25px;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-index-latest-promotions-cta-small:hover {
    background-color: #CC0000;
    transform: translateY(-2px);
}

.page-index-latest-promotions-card-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 0.95em;
    font-weight: bold;
    margin-top: 15px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-index-latest-promotions-card-button:hover {
    background-color: #CC0000;
    transform: translateY(-2px);
}

/* Grid Layout for Cards */
.page-index-latest-promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index-latest-promotions-card {
    background-color: var(--text-light);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

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

.page-index-latest-promotions-card img {
    max-width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    width: 100%;
}

.page-index-latest-promotions-card h3 {
    margin-top: 0;
    font-size: 1.5em;
    color: var(--secondary-color);
}

.page-index-latest-promotions-card h3 a {
    color: var(--secondary-color);
}

.page-index-latest-promotions-card h3 a:hover {
    color: var(--primary-color);
}

.page-index-latest-promotions-card p {
    color: var(--text-dark);
    font-size: 0.95em;
    flex-grow: 1;
}

/* Featured Promotions Grid */
.page-index-latest-promotions-featured-grid {
    grid-template-columns: 1fr;
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-index-latest-promotions-featured-card {
    background-color: var(--text-light);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-index-latest-promotions-featured-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-index-latest-promotions-featured-card h3 {
    font-size: 1.8em;
    color: var(--secondary-color);
    margin-top: 0;
}

.page-index-latest-promotions-featured-card h3 a {
    color: var(--secondary-color);
}

.page-index-latest-promotions-featured-card h3 a:hover {
    color: var(--primary-color);
}

.page-index-latest-promotions-featured-card p {
    color: var(--text-dark);
    font-size: 1em;
}

/* How-to-claim Steps */
.page-index-latest-promotions-steps {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.page-index-latest-promotions-steps li {
    background-color: var(--text-light);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: left;
    position: relative;
    counter-increment: step-counter;
    display: flex;
    flex-direction: column;
}

.page-index-latest-promotions-steps li::before {
    content: counter(step-counter);
    position: absolute;
    top: -15px;
    left: -15px;
    background-color: var(--primary-color);
    color: var(--text-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-index-latest-promotions-steps li h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--secondary-color);
    font-size: 1.5em;
}

.page-index-latest-promotions-steps li h4 a {
    color: var(--secondary-color);
}

.page-index-latest-promotions-steps li h4 a:hover {
    color: var(--primary-color);
}

.page-index-latest-promotions-steps li p {
    font-size: 0.95em;
    color: var(--text-dark);
}

/* Terms & Conditions List */
.page-index-latest-promotions-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-latest-promotions-list li {
    background-color: var(--text-light);
    border-left: 5px solid var(--primary-color);
    margin-bottom: 15px;
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-size: 1em;
    color: var(--text-dark);
}

/* FAQ Section */
.page-index-latest-promotions-faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--text-light);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f5f5f5;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.25em;
    color: var(--secondary-color);
    text-align: left;
    flex-grow: 1;
}

.faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    margin-left: 15px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background: #fcfcfc;
    color: var(--text-dark);
    text-align: left;
}

.faq-answer p {
    margin: 0 0 15px 0;
    padding-top: 15px;
    font-size: 1em;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Adjust as needed for content */
    padding: 15px 25px;
    border-top: 1px solid var(--border-color);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--primary-color);
}

/* Contact Section */
.page-index-latest-promotions-contact {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 80px 0;
}

.page-index-latest-promotions-contact h2 {
    color: var(--text-light);
}

.page-index-latest-promotions-contact p {
    color: #E0E0E0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

.page-index-latest-promotions-contact a {
    color: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-latest-promotions-hero h1 {
        font-size: 3em;
    }
    .page-index-latest-promotions h2 {
        font-size: 2em;
    }
    .page-index-latest-promotions h3 {
        font-size: 1.6em;
    }
    .page-index-latest-promotions-hero .page-index-latest-promotions-container {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .page-index-latest-promotions-section {
        padding: 40px 0;
    }
    .page-index-latest-promotions-hero {
        padding: 60px 0;
    }
    .page-index-latest-promotions-hero h1 {
        font-size: 2.5em;
    }
    .page-index-latest-promotions-hero p {
        font-size: 1.1em;
    }
    .page-index-latest-promotions-cta-button {
        padding: 12px 30px;
        font-size: 1.1em;
    }
    .page-index-latest-promotions-grid {
        grid-template-columns: 1fr;
    }
    .page-index-latest-promotions-steps {
        grid-template-columns: 1fr;
    }
    .page-index-latest-promotions-steps li::before {
        top: -10px;
        left: 10px;
        width: 35px;
        height: 35px;
        font-size: 1.3em;
    }
    .faq-question {
        padding: 15px 20px;
    }
    .faq-question h3 {
        font-size: 1.1em;
    }
    .faq-toggle {
        font-size: 20px;
    }
    .faq-answer {
        padding: 0 20px;
    }
    .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-index-latest-promotions-hero h1 {
        font-size: 2em;
    }
    .page-index-latest-promotions h2 {
        font-size: 1.8em;
    }
    .page-index-latest-promotions h3 {
        font-size: 1.4em;
    }
    .page-index-latest-promotions p {
        font-size: 0.95em;
    }
    .page-index-latest-promotions-card img {
        height: 180px;
    }
    .page-index-latest-promotions-featured-card h3 {
        font-size: 1.5em;
    }
}