:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #f8f8f8; /* A very light grey for contrast with dark body bg */
    --background-dark-card: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark bg */
    --link-color: #FFFF00; /* For highlight */
    --button-register-login: #C30808;
}

/* Ensure main content text color is light due to dark body background */
.page-resources-latest-promotions-analysis {
    color: var(--text-light); /* Default text color for dark sections */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: transparent; /* Body bg from shared.css */
}

.page-resources-latest-promotions-analysis__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-resources-latest-promotions-analysis__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding: 80px 0; 
    background-color: var(--primary-color); /* Use primary color for hero background */
    overflow: hidden;
}

.page-resources-latest-promotions-analysis__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-resources-latest-promotions-analysis__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Make image subtle behind text */
}

.page-resources-latest-promotions-analysis__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
    border-radius: 10px;
}

.page-resources-latest-promotions-analysis__hero-title {
    font-size: 3.5em;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-latest-promotions-analysis__hero-description {
    font-size: 1.3em;
    color: var(--text-light);
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Section Styling */
.page-resources-latest-promotions-analysis__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-light); /* Default for dark sections */
}

.page-resources-latest-promotions-analysis__intro-section,
.page-resources-latest-promotions-analysis__guide-section,
.page-resources-latest-promotions-analysis__faq-section,
.page-resources-latest-promotions-analysis__conclusion-section {
    padding: 80px 0;
    background-color: var(--primary-color); /* Dark section uses primary color */
    color: var(--text-light);
}

.page-resources-latest-promotions-analysis__promotion-types,
.page-resources-latest-promotions-analysis__optimization-tips {
    padding: 80px 0;
    background-color: var(--background-light); /* Light section for contrast */
    color: var(--text-dark);
}

.page-resources-latest-promotions-analysis__promotion-types .page-resources-latest-promotions-analysis__section-title,
.page-resources-latest-promotions-analysis__optimization-tips .page-resources-latest-promotions-analysis__section-title {
    color: var(--primary-color); /* Dark text on light background */
}

.page-resources-latest-promotions-analysis__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

/* Grid for promotion types */
.page-resources-latest-promotions-analysis__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Card Styling */
.page-resources-latest-promotions-analysis__card {
    background-color: var(--secondary-color); /* White background for cards */
    color: var(--text-dark); /* Dark text on white cards */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-latest-promotions-analysis__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-latest-promotions-analysis__card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistent card image size */
    object-fit: cover;
    display: block;
}

.page-resources-latest-promotions-analysis__card-title {
    font-size: 1.5em;
    color: var(--primary-color);
    padding: 20px 20px 10px;
}

.page-resources-latest-promotions-analysis__card-text {
    padding: 0 20px 20px;
    flex-grow: 1;
}