/* Additive styles for inner pages (Leadership Development, Culture & Performance,
   The Equity Collective, About, Insights). Reuses colors/type scale from style.css,
   never overrides existing homepage rules. */

.page-hero {
    min-height: 60vh;
}

/* Safety margin so headline text never touches the viewport edge, on any page
   (home included) — belt-and-suspenders alongside manual <br> line breaks. */
.hero-content {
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Subtitles get a wider side margin (~5-6cm on desktop, scaling down on
   smaller screens) so paragraphs never run edge-to-edge. */
.subtitle {
    padding-left: clamp(1rem, 8vw, 200px);
    padding-right: clamp(1rem, 8vw, 200px);
}

.page-hero .hero-content {
    padding-top: 6rem;
}

/* One consistent headline size across every page, home included — the
   original 104-146px scale (tuned for a single short word per line) was
   too large once real sentences were dropped in. */
h1 {
    font-size: clamp(40px, 4.5vw, 88px) !important;
}

/* Language switcher */
.lang-switch {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.lang-switch a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.lang-switch a.active {
    color: #fff;
}

.lang-switch a:hover {
    color: #fff;
}

.lang-switch .sep {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.85rem;
}

/* Generic content section: tagline + heading + body, reused for intros */
.content-section {
    background: white;
    padding: 6rem 4rem;
    position: relative;
}

.content-section .section-body {
    max-width: 900px;
}

.content-section h2 {
    font-weight: 500;
    font-size: clamp(40px, 3.2vw, 64px);
    line-height: 110%;
    color: #000;
    margin-bottom: 1.5rem;
}

.content-section p {
    font-weight: 400;
    font-size: clamp(18px, 1.3vw, 24px);
    line-height: 140%;
    color: #000;
    margin-bottom: 1.25rem;
}

.content-section p:last-child {
    margin-bottom: 0;
}

.content-section p.lead {
    font-weight: 600;
}

/* Tag pills, used for "domaines d'expertise" and countries list */
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.tag-pill {
    background: #f5f3f0;
    color: #000;
    border-radius: 999px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
}

/* Format / offering cards grid */
.format-section {
    background: white;
    padding: 2rem 4rem 6rem;
}

.format-section .format-kicker {
    font-weight: 600;
    font-size: clamp(24px, 1.75vw, 32px);
    color: #000;
    margin-bottom: 2.5rem;
}

.format-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.format-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.format-card {
    padding: 2.5rem;
    border-radius: 16px;
    background: #f5f3f0;
    color: #000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.format-card.pink { background: #FF9EF9; }
.format-card.orange { background: #FF8E38; }
.format-card.red { background: #F03E5A; color: #fff; }
.format-card.blue { background: #81B2FC; }
.format-card.black { background: #000; color: #fff; }

.format-card .format-number {
    font-weight: 300;
    font-size: 2rem;
    opacity: 0.5;
}

.format-card h3 {
    font-weight: 600;
    font-size: 1.5rem;
    line-height: 120%;
}

.format-card p {
    font-weight: 400;
    font-size: 1.05rem;
    line-height: 140%;
}

.format-link {
    align-self: flex-start;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: underline;
    color: inherit;
}

/* Team / facilitator cards */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.team-card {
    background: #f5f3f0;
    border-radius: 16px;
    padding: 2rem;
}

.team-card h3 {
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
    color: #000;
}

.team-card p {
    font-weight: 400;
    font-size: 1rem;
    color: #444;
}

.note-pending {
    display: inline-block;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #999;
    font-style: italic;
}

/* Simple CTA banner, reused where the black stat-card pattern doesn't fit */
.cta-banner {
    background: #000;
    color: #fff;
    border-radius: 24px;
    margin: 0 4rem 6rem;
    padding: 3rem 3.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    text-decoration: none;
}

.cta-banner .cta-text {
    font-weight: 500;
    font-size: clamp(24px, 2vw, 36px);
}

.cta-banner .arrow_wrrpr {
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .format-grid,
    .format-grid.cols-2 {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .content-section,
    .format-section {
        padding: 3rem 2rem;
    }

    .cta-banner {
        flex-direction: column;
        align-items: flex-start;
        margin: 0 2rem 3rem;
    }
}
