.acf-block-activity-hero {
    position: relative;
    display: flex;
    padding-bottom: 98px;
    max-width: 1217px;
    margin: 0 auto;
}

/* Image — positioned right, behind content */
.activity-hero__image {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    z-index: 1;
}

.activity-hero__image img {
    width: 100%;
    height: 371px;
    object-fit: cover;
    display: block;
}

/* Content — overlaps image from left */
.activity-hero__content {
    position: relative;
    z-index: 2;
    width: 54%;
    background: rgba(238, 249, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 0 0 0 48px;
    padding: 64px;
    margin-top: 80px;
}

.activity-hero__frame {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.activity-hero__title {
    font-family: var(--fc-font, "Poppins", sans-serif);
    font-size: 38px;
    font-weight: 600;
    line-height: 1.39;
    color: var(--fc-primary-dark, #1B1B7D);
    margin: 0;
}

.activity-hero__description {
    font-family: var(--fc-font, "Poppins", sans-serif);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.79;
    color: var(--fc-primary-dark, #1B1B7D);
    margin: 0;
}

/* Ancre — bouton rond flèche vers le bas */
.activity-hero__anchor {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--fc-primary, #4545C4);
    color: #ffffff;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
    align-self: flex-start;
}

a.activity-hero__anchor,
a.activity-hero__anchor:hover,
a.activity-hero__anchor:focus,
a.activity-hero__anchor:active {
    color: #ffffff !important;
    text-decoration: none !important;
}

a.activity-hero__anchor:hover {
    background: var(--fc-primary-dark, #1B1B7D);
    transform: translateY(3px);
}

.activity-hero__anchor svg {
    transition: transform 0.2s ease;
}

.activity-hero__anchor:hover svg {
    transform: translateY(2px);
}

/* Bouton lien classique */
.activity-hero__button {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    font-family: var(--fc-font, "Poppins", sans-serif);
    font-size: 14px;
    font-weight: 700;
    line-height: 25.2px;
    padding: 16px 24px;
    border-radius: 8px;
    background: var(--fc-primary, #4545C4);
    color: #ffffff;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.activity-hero__button:hover {
    background: var(--fc-primary-dark, #1B1B7D);
    transform: translateY(-2px);
}

/* Responsive — tablette et mobile */
@media (max-width: 1024px) {
    .acf-block-activity-hero {
        flex-direction: column;
    }

    .activity-hero__image {
        position: static;
        width: 100%;
    }

    .activity-hero__image img {
        height: 300px;
    }

    .activity-hero__content {
        width: 100%;
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .activity-hero__image img {
        height: 240px;
    }

    .activity-hero__content {
        padding: 32px 20px;
    }

    .activity-hero__title {
        font-size: 28px;
    }
}
