/* DAOFest — accueil pérenne v2.4 */
body.dha-daofest-home header.wp-block-template-part {
    margin: 0 !important;
    padding: 0 !important;
    background: #fff;
}

body.dha-daofest-home header.wp-block-template-part > .wp-block-group,
body.dha-daofest-home header.wp-block-template-part > .wp-block-group.alignwide {
    max-width: 1280px !important;
    margin-inline: auto !important;
    padding: 16px 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
}

body.dha-daofest-home header.wp-block-template-part .wp-block-navigation {
    margin: 0 0 0 auto !important;
}

body.dha-daofest-home main.wp-block-group > .wp-block-group:first-child,
body.dha-daofest-home .wp-block-post-title,
body.dha-daofest-home .entry-title,
body.dha-daofest-home .page-title {
    display: none !important;
}

body.dha-daofest-home main.wp-block-group,
body.dha-daofest-home .wp-block-post-content,
body.dha-daofest-home .entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.dha-home {
    --dha-blue: #124cff;
    --dha-ink: #101114;
    --dha-paper: #f4f2ed;
    --dha-line: rgba(16, 17, 20, .18);
    color: var(--dha-ink);
    background: var(--dha-paper);
    font-family: Arial, Helvetica, sans-serif;
    margin: 0 calc(50% - 50vw) !important;
    width: 100vw !important;
    max-width: none !important;
    position: relative;
    overflow: hidden;
}

/* Le thème Twenty Twenty-Two contraint par défaut les enfants de la zone de contenu.
   Cette règle fait sortir l’accueil de cette colonne et rétablit le plein viewport. */
body.dha-daofest-home .wp-block-post-content > .dha-home.alignfull,
body.dha-daofest-home .entry-content > .dha-home.alignfull,
body.dha-daofest-home .dha-home.alignfull {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
}

.dha-home *, .dha-home *::before, .dha-home *::after { box-sizing: border-box; }
.dha-home p { font-size: 17px; line-height: 1.6; }
.dha-home a { text-underline-offset: 4px; }
.dha-hero {
    max-width: 1440px;
    margin: 0 auto;
    min-height: 590px;
    padding: clamp(38px, 6vw, 88px) clamp(24px, 6vw, 92px);
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
    align-items: center;
    gap: clamp(36px, 6vw, 92px);
    border-bottom: 1px solid var(--dha-line);
}
.dha-hero__copy { max-width: 760px; }
.dha-eyebrow {
    margin: 0 0 18px;
    font-family: "Courier New", Courier, monospace;
    font-size: 13px !important;
    font-weight: 700;
    letter-spacing: .2em;
    line-height: 1.4 !important;
    text-transform: uppercase;
}
.dha-hero h1 {
    margin: 0 0 22px !important;
    max-width: 900px;
    font-size: clamp(42px, 5vw, 80px) !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-weight: 850 !important;
    line-height: .94 !important;
    letter-spacing: -.065em !important;
}
.dha-lead {
    max-width: 680px;
    margin: 0 0 12px;
    font-size: clamp(20px, 2vw, 25px) !important;
    line-height: 1.35 !important;
    font-weight: 600;
}
.dha-body { max-width: 650px; margin: 0; }
.dha-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 26px; }
.dha-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 18px;
    border: 1px solid var(--dha-ink);
    background: transparent;
    color: var(--dha-ink) !important;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.3;
}
.dha-button:hover, .dha-button:focus-visible { background: var(--dha-ink); color: white !important; }
.dha-button--blue { background: var(--dha-blue); border-color: var(--dha-blue); color: white !important; }
.dha-button--blue:hover, .dha-button--blue:focus-visible { background: #0034db; }
.dha-motto {
    max-width: 720px;
    margin: 0;
    font-family: "Courier New", Courier, monospace;
    font-size: 12px !important;
    font-weight: 700;
    letter-spacing: .075em;
    line-height: 1.8 !important;
}
.dha-hero__panel {
    min-height: 390px;
    padding: 24px;
    background: var(--dha-blue);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.dha-hero__panel strong {
    display: block;
    font-size: clamp(94px, 14vw, 190px);
    line-height: .72;
    letter-spacing: -.11em;
    font-weight: 900;
}
.dha-panel__top, .dha-panel__bottom {
    font-family: "Courier New", Courier, monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .13em;
    line-height: 1.5;
}
.dha-intro {
    max-width: 1100px;
    margin: 0 auto;
    padding: 82px 28px 74px;
}
.dha-intro h2, .dha-islands h2, .dha-join h2 {
    margin: 0 0 18px !important;
    font-size: clamp(34px, 4.5vw, 58px) !important;
    line-height: 1 !important;
    letter-spacing: -.055em !important;
}
.dha-intro > p:last-child { max-width: 830px; margin-bottom: 0; font-size: 20px; }
.dha-pillars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--dha-line);
    border-bottom: 1px solid var(--dha-line);
}
.dha-card { min-height: 320px; padding: 32px clamp(22px, 3vw, 48px); border-right: 1px solid var(--dha-line); }
.dha-card:last-child { border-right: 0; }
.dha-card__number { font-family: "Courier New", monospace; color: var(--dha-blue); font-weight: 700; }
.dha-card h2 { margin: 56px 0 12px !important; font-size: 24px !important; line-height: 1.1 !important; letter-spacing: -.035em !important; }
.dha-card p { min-height: 112px; margin: 0 0 20px; }
.dha-card a, .dha-text-link {
    color: var(--dha-ink);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .07em;
    text-decoration-thickness: 1px;
}
.dha-card a:hover, .dha-text-link:hover { color: var(--dha-blue); }
.dha-islands {
    max-width: 1240px;
    margin: 0 auto;
    padding: 82px 28px;
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 48px;
}
.dha-islands p:not(.dha-eyebrow) { margin: 0 0 24px; font-size: 19px; }
.dha-join {
    padding: 72px 28px 80px;
    text-align: center;
    background: var(--dha-ink);
    color: white;
}
.dha-join .dha-eyebrow { color: #b8c8ff; }
.dha-join h2 { max-width: 780px; margin-inline: auto !important; }
.dha-join > p:not(.dha-eyebrow) { max-width: 620px; margin: 0 auto 26px; }
.dha-button--light { border-color: white; color: white !important; }
.dha-button--light:hover, .dha-button--light:focus-visible { background: white; color: var(--dha-ink) !important; }

@media (max-width: 1100px) {
    body.dha-daofest-home header.wp-block-template-part > .wp-block-group,
    body.dha-daofest-home header.wp-block-template-part > .wp-block-group.alignwide { flex-wrap: wrap !important; padding: 14px 18px !important; gap: 12px; }
    body.dha-daofest-home header.wp-block-template-part .wp-block-navigation { width: 100%; margin-left: 0 !important; }
    .dha-home .dha-hero { grid-template-columns: minmax(0, 1fr) !important; min-height: 0; max-width: 860px; }
    .dha-home .dha-hero__copy { width: 100%; max-width: none; }
    .dha-home .dha-hero h1 { font-size: clamp(42px, 8vw, 72px) !important; line-height: .98 !important; }
    .dha-hero__panel { min-height: 270px; }
    .dha-pillars { grid-template-columns: 1fr; }
    .dha-card { min-height: 0; border-right: 0; border-bottom: 1px solid var(--dha-line); }
    .dha-card:last-child { border-bottom: 0; }
    .dha-card h2 { margin-top: 28px !important; }
    .dha-card p { min-height: 0; }
    .dha-islands { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 520px) {
    .dha-hero { padding: 34px 20px; }
    .dha-hero h1 { font-size: clamp(38px, 11vw, 54px) !important; }
    .dha-actions { align-items: stretch; flex-direction: column; }
    .dha-button { width: 100%; }
    .dha-intro, .dha-islands { padding: 56px 20px; }
    .dha-card { padding: 26px 20px; }
    .dha-join { padding: 56px 20px 62px; }
}
