/**
 * Archive Page Specific Styles
 * Additional styling for the Archive page
 *
 * @package BMCA_Theme
 * @since 1.0.0
 */

/* ==========================================================================
   Archive Hero Section Styling
   ========================================================================== */

.bmca-hero-section {
    position: relative;
    min-height: 350px; /* Default min-height for hero */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%); /* Fallback background */
    z-index: 1; /* Ensure content is above pseudo-elements */
}

/* Pseudo-element for pattern/effect similar to hero-section::before */
.bmca-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    z-index: 2;
    pointer-events: none;
}

/* Simulate hero-background and hero-overlay with ::after pseudo-element */
.bmca-hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.9) 0%, rgba(53, 122, 189, 0.9) 50%, rgba(46, 95, 143, 0.9) 100%); /* Default overlay color */
    z-index: 3;
}

.bmca-hero-section .container {
    position: relative;
    z-index: 4; /* Ensure content is above overlays */
    text-align: center;
    max-width: 1000px; /* Matching standard hero-content container width */
}

/* Title Styling */
.bmca-hero-section .bmca-hero__title {
    font-family: var(--font-heading);
    font-size: var(--font-size-4xl); /* Matching default hero-title */
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    color: var(--color-white);
    margin-bottom: var(--spacing-3);
    text-shadow: var(--text-shadow-md);
}

/* Subtitle Styling */
.bmca-hero-section .bmca-hero-section__subtitle {
    font-family: var(--font-body);
    font-size: var(--font-size-lg); /* Matching default hero-subtitle */
    font-weight: var(--font-weight-normal);
    line-height: 1.6;
    color: var(--color-white);
    margin-bottom: var(--spacing-6);
    text-shadow: var(--text-shadow-sm);
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Page-specific hero class overrides (if any, copy from components.css) */
/* Example for events-hero or articles-hero styling */
.bmca-hero-section.events-hero .bmca-hero__title,
.bmca-hero-section.articles-hero .bmca-hero__title {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    margin-bottom: var(--spacing-3);
}
.bmca-hero-section.events-hero .bmca-hero-section__subtitle,
.bmca-hero-section.articles-hero .bmca-hero-section__subtitle {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-normal);
    color: var(--color-white);
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

/* ==========================================================================
   Responsive Adjustments for Archive Hero
   ========================================================================== */

@media (max-width: 1024px) {
    .bmca-hero-section {
        min-height: 300px;
    }
    .bmca-hero-section .bmca-hero__title {
        font-size: var(--font-size-3xl);
    }
    .bmca-hero-section .bmca-hero-section__subtitle {
        font-size: var(--font-size-base);
    }
}

@media (max-width: 768px) {
    .bmca-hero-section {
        min-height: 280px;
    }
    .bmca-hero-section .bmca-hero__title {
        font-size: var(--font-size-2xl);
    }
    .bmca-hero-section .bmca-hero-section__subtitle {
        font-size: var(--font-size-sm);
        padding: 0 var(--spacing-4);
    }
}

@media (max-width: 480px) {
    .bmca-hero-section {
        min-height: 250px;
    }
    .bmca-hero-section .bmca-hero__title {
        font-size: var(--font-size-xl);
    }
    .bmca-hero-section .bmca-hero-section__subtitle {
        font-size: var(--font-size-xs);
        padding: 0 var(--spacing-2);
    }
}

/* ==========================================================================
   Archive Grid Section Styling
   ========================================================================== */

.archive-grid-section {
    padding: var(--spacing-20) 0; /* Consistent with other content sections */
    background-color: var(--color-white); /* Or whatever background is appropriate */
}

.archive-grid-section .container {
    max-width: 1200px; /* Or match custom component width */
}
