/* style/blog-latest-juan-promotions.css */

/* Custom Color Variables */
:root {
    --juan-primary: #F2C14E;
    --juan-secondary: #FFD36B;
    --juan-card-bg: #111111;
    --juan-background: #0A0A0A;
    --juan-text-main: #FFF6D6;
    --juan-border: #3A2A12;
    --juan-glow: #FFD36B;
    /* Default text color for light backgrounds, ensuring contrast */
    --juan-dark-text: #333333; 
    /* Default text color for dark backgrounds, ensuring contrast */
    --juan-light-text: #ffffff;
}

/* Base styles for the page content, ensuring contrast with body background */
/* Assuming body background is dark (from shared.css or --juan-background) */
.page-blog-latest-juan-promotions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--juan-light-text); /* Light text for dark body background */
    background-color: var(--juan-background); /* Dark background for main content sections */
}

/* Hero Section */
.page-blog-latest-juan-promotions__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden; /* Ensure image doesn't spill */
}

.page-blog-latest-juan-promotions__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.page-blog-latest-juan-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-blog-latest-juan-promotions__hero-content {
    max-width: 960px; /* Constrain content width */
    width: 100%;
    padding: 20px;
    text-align: center;
    margin-top: -80px; /* Adjust as needed for visual overlap, but no text on image */
    position: relative; /* Ensure content is above any background elements */
    z-index: 1;
}

.page-blog-latest-juan-promotions__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
    color: var(--juan-secondary); /* Use a bright color for H1 */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-blog-latest-juan-promotions__lead-text {
    font-size: 1.2rem;
    color: var(--juan-text-main);
    max-width: 800px;
    margin: 0 auto 30px auto;
}

/* CTA Buttons */
.page-blog-latest-juan-promotions__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-blog-latest-juan-promotions__btn-primary,
.page-blog-latest-juan-promotions__btn-secondary,
.page-blog-latest-juan-promotions__card-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}