/* Shared marketing-page components: hero, CTA buttons, feature cards,
   and the green final-CTA band. Intended for new landing pages (careers
   onward) so they don't copy-paste these rules.

   NOT yet a deduplication: partners-page.css and employers-page.css still
   carry their own byte-identical copies of ~27 of these rule bodies. They
   were never migrated. Migrating them is a follow-up — until then, a change
   here must be mirrored in those two files or the pages will drift. */

.eh-page-container {
    width: 100%;
    overflow-x: hidden;
}

/* ========================================
   Hero
   ======================================== */
.eh-hero-section {
    background: linear-gradient(135deg, #f8faf8 0%, #eef5ee 50%, #e8f4fd 100%);
    padding: 100px 40px 80px;
    text-align: center;
}

.eh-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.eh-hero-badge {
    display: inline-block;
    background-color: rgba(67, 160, 71, 0.1);
    color: #43A047;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.eh-hero-content h1 {
    font-size: 3.2rem;
    color: #1B1B1B;
    margin-bottom: 24px;
    line-height: 1.2;
    font-weight: bold;
}

.eh-hero-subtitle {
    font-size: 1.25rem;
    color: #4A4A4A;
    margin-bottom: 48px;
    line-height: 1.6;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   CTA Buttons
   ======================================== */
.eh-cta-button {
    display: inline-block;
    background-color: #43A047;
    color: white;
    padding: 16px 36px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.eh-cta-button:hover {
    background-color: #388E3C;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(67, 160, 71, 0.3);
}

/* White-on-green variant for use on the final CTA band */
.eh-cta-button--inverse {
    background-color: white;
    color: #43A047;
}

.eh-cta-button--inverse:hover {
    background-color: #F5F5F5;
    color: #43A047;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* ========================================
   Sections
   ======================================== */
.eh-section {
    background-color: white;
    padding: 80px 40px;
}

.eh-section--alt {
    background-color: #FAFAFA;
}

.eh-section-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.eh-section-container h2 {
    font-size: 2.5rem;
    color: #1B1B1B;
    margin-bottom: 20px;
    font-weight: bold;
}

.eh-section-intro {
    font-size: 1.15rem;
    color: #4A4A4A;
    line-height: 1.7;
    max-width: 780px;
    margin: 0 auto 60px;
}

/* ========================================
   Feature Cards
   ======================================== */
.eh-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.eh-feature-card {
    background-color: #FAFAFA;
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid #EEEEEE;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.eh-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.eh-feature-icon {
    margin-bottom: 20px;
}

.eh-feature-card h3 {
    font-size: 1.3rem;
    color: #1B1B1B;
    margin-bottom: 12px;
    font-weight: 600;
}

.eh-feature-card p {
    font-size: 1rem;
    color: #4A4A4A;
    line-height: 1.6;
}

/* ========================================
   Final CTA Band
   ======================================== */
.eh-final-cta-section {
    background-color: #43A047;
    padding: 80px 40px;
    text-align: center;
}

.eh-final-cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.eh-final-cta-container h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 16px;
    font-weight: bold;
}

.eh-final-cta-container p {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 40px;
    line-height: 1.5;
    opacity: 0.9;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .eh-feature-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .eh-hero-section {
        padding: 70px 24px 56px;
    }

    .eh-hero-content h1 {
        font-size: 2.2rem;
    }

    .eh-hero-subtitle {
        font-size: 1.1rem;
    }

    .eh-section,
    .eh-final-cta-section {
        padding: 56px 24px;
    }

    .eh-section-container h2,
    .eh-final-cta-container h2 {
        font-size: 1.9rem;
    }
}

@media (max-width: 480px) {
    .eh-hero-content h1 {
        font-size: 1.85rem;
    }
}
