/* style/promotions-weekly-offers.css */
:root {
    --primary-color: #003366;
    --secondary-color: #FFD700;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f1f3f5;
    --bg-white: #ffffff;
    --border-light: #e0e0e0;
}

.page-promotions-weekly-offers {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Ensure content is not hidden by fixed header */
.page-promotions-weekly-offers__hero-banner {
    padding-top: 120px; /* Desktop: Adjust based on shared header height */
}

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

.page-promotions-weekly-offers__dark-section {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-promotions-weekly-offers__light-bg {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.page-promotions-weekly-offers__card {
    background-color: var(--bg-white);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-promotions-weekly-offers__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-promotions-weekly-offers__section-title {
    font-size: 32px;
    font-weight: bold;
    color: inherit; /* Inherit color from parent section */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
}

.page-promotions-weekly-offers__paragraph {
    font-size: 16px;
    margin-bottom: 20px;
    text-align: center;
}

.page-promotions-weekly-offers__link-inline {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-promotions-weekly-offers__link-inline:hover {
    color: #FFC107; /* Slightly darker gold */
    text-decoration: underline;
}

/* HERO Banner */
.page-promotions-weekly-offers__hero-banner {
    position: relative;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.page-promotions-weekly-offers__hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.page-promotions-weekly-offers__hero-title {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.2;
}

.page-promotions-weekly-offers__hero-description {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--text-light);
}

.page-promotions-weekly-offers__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-promotions-weekly-offers__btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.page-promotions-weekly-offers__btn-primary:hover {
    background-color: #FFC107;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions-weekly-offers__btn-secondary {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: 1px solid var(--secondary-color);
}

.page-promotions-weekly-offers__btn-secondary:hover {
    background-color: #004488;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Intro Section */
.page-promotions-weekly-offers__intro-section {
    padding: 60px 0;
}

.page-promotions-weekly-offers__grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.page-promotions-weekly-offers__card-image {
    width: 100%;
    max-width: 300px; /* Ensure images are not too wide in cards */
    height: auto;
    margin-bottom: 20px;
    border-radius: 4px;
    object-fit: cover;
}

.page-promotions-weekly-offers__card-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-promotions-weekly-offers__card-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-dark);
}

/* Offer Types Section */
.page-promotions-weekly-offers__offer-types-section {
    padding: 60px 0;
}

.page-promotions-weekly-offers__offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-promotions-weekly-offers__offer-card {
    padding: 30px;
}

/* Tips Section */
.page-promotions-weekly-offers__tips-section {
    padding: 60px 0;
}

.page-promotions-weekly-offers__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions-weekly-offers__list-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.7;
    text-align: left;
}

.page-promotions-weekly-offers__list-icon {
    flex-shrink: 0;
    width: 60px;
    height: auto;
    margin-right: 20px;
    border-radius: 4px;
}

.page-promotions-weekly-offers__list-item strong {
    color: var(--primary-color);
}

/* News Section */
.page-promotions-weekly-offers__news-section {
    padding: 60px 0;
}

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

.page-promotions-weekly-offers__news-card {
    padding: 25px;
    text-align: left;
    align-items: flex-start;
}

.page-promotions-weekly-offers__news-card .page-promotions-weekly-offers__card-image {
    margin-bottom: 15px;
    max-width: 100%;
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
}

.page-promotions-weekly-offers__news-card .page-promotions-weekly-offers__card-title {
    font-size: 20px;
    text-align: left;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-promotions-weekly-offers__news-card .page-promotions-weekly-offers__card-link {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.page-promotions-weekly-offers__news-card .page-promotions-weekly-offers__card-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-promotions-weekly-offers__news-card .page-promotions-weekly-offers__card-text {
    font-size: 14px;
    text-align: left;
    margin-bottom: 15px;
}

.page-promotions-weekly-offers__read-more {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-promotions-weekly-offers__read-more:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* FAQ Section */
.page-promotions-weekly-offers__faq-section {
    padding: 60px 0 80px 0;
}

.page-promotions-weekly-offers__faq-list {
    margin-top: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions-weekly-offers__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.page-promotions-weekly-offers__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 15px;
    opacity: 0;
}

.page-promotions-weekly-offers__faq-item.active .page-promotions-weekly-offers__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
}

.page-promotions-weekly-offers__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-promotions-weekly-offers__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-promotions-weekly-offers__faq-question:active {
    background: #eeeeee;
}

.page-promotions-weekly-offers__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--text-dark);
}

.page-promotions-weekly-offers__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #666;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-promotions-weekly-offers__faq-item.active .page-promotions-weekly-offers__faq-toggle {
    color: var(--primary-color);
    transform: rotate(45deg);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions-weekly-offers__hero-title {
        font-size: 36px;
    }
    .page-promotions-weekly-offers__section-title {
        font-size: 28px;
    }
    .page-promotions-weekly-offers__grid-layout, .page-promotions-weekly-offers__offer-grid, .page-promotions-weekly-offers__news-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .page-promotions-weekly-offers__hero-banner {
        padding-top: 100px; /* Mobile: Adjust based on shared header height */
        min-height: 300px;
    }
    .page-promotions-weekly-offers__hero-title {
        font-size: 28px;
    }
    .page-promotions-weekly-offers__hero-description {
        font-size: 16px;
    }
    .page-promotions-weekly-offers__cta-button {
        padding: 12px 25px;
        font-size: 16px;
    }
    .page-promotions-weekly-offers__section-title {
        font-size: 24px;
        margin-bottom: 30px;
        padding-top: 30px;
    }
    .page-promotions-weekly-offers__intro-section, .page-promotions-weekly-offers__offer-types-section, .page-promotions-weekly-offers__tips-section, .page-promotions-weekly-offers__news-section, .page-promotions-weekly-offers__faq-section {
        padding: 40px 0;
    }
    .page-promotions-weekly-offers__container {
        padding: 0 15px;
    }
    .page-promotions-weekly-offers__card {
        padding: 20px;
    }
    .page-promotions-weekly-offers__card-title {
        font-size: 20px;
    }
    .page-promotions-weekly-offers__card-text {
        font-size: 14px;
    }
    .page-promotions-weekly-offers__list-item {
        font-size: 15px;
    }
    .page-promotions-weekly-offers__list-icon {
        width: 50px;
        margin-right: 15px;
    }
    .page-promotions-weekly-offers__news-card .page-promotions-weekly-offers__card-image {
        height: 160px;
    }
    .page-promotions-weekly-offers__faq-question {
        padding: 15px;
    }
    .page-promotions-weekly-offers__faq-question h3 {
        font-size: 15px;
    }
    .page-promotions-weekly-offers__faq-toggle {
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-promotions-weekly-offers__faq-item.active .page-promotions-weekly-offers__faq-answer {
        padding: 15px !important;
    }

    /* Mobile image and container responsiveness */
    .page-promotions-weekly-offers img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-promotions-weekly-offers__section,
    .page-promotions-weekly-offers__card,
    .page-promotions-weekly-offers__container,
    .page-promotions-weekly-offers__hero-banner,
    .page-promotions-weekly-offers__intro-section,
    .page-promotions-weekly-offers__offer-types-section,
    .page-promotions-weekly-offers__tips-section,
    .page-promotions-weekly-offers__news-section,
    .page-promotions-weekly-offers__faq-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}