.journees-aidants {
    padding: clamp(3rem, 7vw, 6rem) 0;
    background: linear-gradient(180deg, #f4f9fc 0%, #fff 100%);
}

.journees-aidants--archive {
    min-height: 60vh;
}

.journees-aidants--archive .journees-aidants-archives {
    margin-top: 0;
}

.journees-aidants--archive .journees-aidants-card__media img {
    object-position: center;
}

.moduletable:has(> .journees-aidants) > h3 {
    display: none;
}

.journees-aidants__header {
    max-width: 780px;
    margin: 0 auto clamp(2rem, 4vw, 3.5rem);
    text-align: center;
}

.journees-aidants__eyebrow,
.journees-aidants-featured__label {
    margin: 0 0 .55rem;
    color: #258daf;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.journees-aidants__title {
    margin: 0;
    color: #04377c;
    font-family: var(--secondary-font-family);
    font-size: clamp(2rem, 1.55rem + 2vw, 3.25rem);
    font-weight: 700;
    line-height: 1.12;
}

.journees-aidants__lead {
    margin: 1rem 0 0;
    color: #4f5964;
    font-size: clamp(1rem, .95rem + .2vw, 1.125rem);
    line-height: 1.7;
}

.journees-aidants-featured {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    overflow: hidden;
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 22px 55px rgba(4, 55, 124, .12);
}

.journees-aidants-featured__media {
    min-height: 100%;
    background: #dceef5;
}

.journees-aidants-featured__media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
}

.journees-aidants-featured__content {
    padding: clamp(1.75rem, 4vw, 3.5rem);
}

.journees-aidants-featured__year {
    margin: 0 0 .4rem;
    color: #2babd4;
    font-family: var(--secondary-font-family);
    font-size: clamp(2.8rem, 2rem + 3vw, 4.7rem);
    font-weight: 800;
    line-height: 1;
}

.journees-aidants-featured__title {
    margin: 0 0 1.25rem;
    color: #04377c;
    font-family: var(--secondary-font-family);
    font-size: clamp(1.4rem, 1.15rem + .8vw, 2rem);
    font-weight: 700;
    line-height: 1.25;
}

.journees-aidants-featured__text {
    color: #414b55;
    line-height: 1.7;
}

.journees-aidants-featured__text > :last-child {
    margin-bottom: 0;
}

.journees-aidants__button,
.journees-aidants-card__link {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    text-decoration: none;
}

.journees-aidants__button {
    margin-top: 1.5rem;
    padding: .85rem 1.2rem;
    border-radius: 999px;
    background: #04377c;
    color: #fff;
    font-weight: 700;
    transition: background-color .2s ease, transform .2s ease;
}

.journees-aidants__button:hover,
.journees-aidants__button:focus-visible {
    background: #2babd4;
    color: #fff;
    transform: translateY(-2px);
}

.journees-aidants-archives {
    margin-top: clamp(2.75rem, 6vw, 5rem);
}

.journees-aidants-archives__title {
    margin: 0 0 1.5rem;
    color: #04377c;
    font-family: var(--secondary-font-family);
    font-size: clamp(1.55rem, 1.3rem + .8vw, 2.1rem);
    font-weight: 700;
}

.journees-aidants-archives__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2.5vw, 1.75rem);
}

.journees-aidants-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #dce7ed;
    border-radius: 1rem;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.journees-aidants-card:hover {
    border-color: #9bd5e8;
    box-shadow: 0 14px 32px rgba(4, 55, 124, .1);
    transform: translateY(-4px);
}

.journees-aidants-card__media {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #e8f2f6;
}

.journees-aidants-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.journees-aidants-card:hover .journees-aidants-card__media img {
    transform: scale(1.035);
}

.journees-aidants-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.35rem;
}

.journees-aidants-card__year {
    margin: 0 0 .45rem;
    color: #2babd4;
    font-family: var(--secondary-font-family);
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
}

.journees-aidants-card__title {
    margin: 0 0 .85rem;
    font-size: 1.15rem;
    line-height: 1.35;
}

.journees-aidants-card__title a {
    color: #04377c;
    text-decoration: none;
}

.journees-aidants-card__title a:hover,
.journees-aidants-card__title a:focus-visible {
    color: #258daf;
}

.journees-aidants-card__excerpt {
    margin: 0 0 1rem;
    color: #59636d;
    font-size: .95rem;
    line-height: 1.6;
}

.journees-aidants-card__link {
    margin-top: auto;
    color: #04377c;
    font-weight: 700;
}

.journees-aidants-card__link:hover,
.journees-aidants-card__link:focus-visible {
    color: #258daf;
}

.journees-aidants-detail__hero {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.5rem 0 2rem;
}

.journees-aidants-detail__container {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
    padding: clamp(1rem, 3vw, 2rem) 0 clamp(3rem, 7vw, 6rem);
}

.journees-aidants-detail__header {
    max-width: 850px;
    margin-bottom: clamp(1.5rem, 4vw, 3rem);
}

.journees-aidants-detail__eyebrow {
    margin: 0 0 .6rem;
    color: #2babd4;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.journees-aidants-detail__header h1 {
    margin: 0;
    color: #04377c;
    font-family: var(--secondary-font-family);
    font-size: clamp(2.15rem, 1.65rem + 2.2vw, 3.7rem);
    font-weight: 750;
    line-height: 1.1;
}

.journees-aidants-detail__hero--single {
    grid-template-columns: minmax(0, 820px);
}

.journees-aidants-detail__hero figure {
    margin: 0;
    overflow: hidden;
    border-radius: 1rem;
    background: #e8f2f6;
}

.journees-aidants-detail__hero img {
    display: block;
    width: 100%;
    height: auto;
}

.journees-aidants-detail__hero--gallery img {
    height: 100%;
    min-height: 320px;
    object-fit: cover;
}

.journees-aidants-detail__content {
    max-width: 900px;
    color: #414b55;
    font-size: clamp(1rem, .96rem + .2vw, 1.1rem);
    line-height: 1.8;
}

.journees-aidants-detail__content > :last-child {
    margin-bottom: 0;
}

.journees-aidants-detail__section {
    margin-top: clamp(2rem, 5vw, 4rem);
}

.journees-aidants-detail__section h2 {
    margin-bottom: 1.25rem;
    color: #04377c;
}

.journees-aidants-videos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.journees-aidants-video {
    overflow: hidden;
    border: 1px solid #dce7ed;
    border-radius: .9rem;
    background: #fff;
}

.journees-aidants-video__text {
    padding: 1rem 1.15rem;
}

.journees-aidants-video__text h3 {
    margin: 0 0 .65rem;
    color: #04377c;
    font-size: 1.05rem;
    line-height: 1.35;
}

.journees-aidants-video__text a {
    display: inline-flex;
    margin-top: .75rem;
    color: #04377c;
    font-weight: 700;
}

.journees-aidants-video__text > :last-child {
    margin-bottom: 0;
}

.journees-aidants-video .youtube_player {
    width: 100% !important;
    min-height: 230px;
    background: #e8f2f6;
}

.journees-aidants-downloads {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem;
    padding: 0;
    list-style: none;
}

.journees-aidants-download {
    display: flex;
    align-items: center;
    gap: .9rem;
    min-height: 100%;
    padding: 1rem 1.15rem;
    border: 1px solid #dce7ed;
    border-radius: .8rem;
    color: #04377c;
    font-weight: 700;
    text-decoration: none;
}

.journees-aidants-download:hover,
.journees-aidants-download:focus-visible {
    border-color: #2babd4;
    color: #258daf;
    background: #f4fafd;
}

.journees-aidants-detail__back {
    margin-top: clamp(2.5rem, 6vw, 5rem);
    padding-top: 1.5rem;
    border-top: 1px solid #dce7ed;
}

.journees-aidants-detail__back a {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    color: #04377c;
    font-weight: 750;
    text-decoration: none;
}

.journees-aidants-detail__back a:hover,
.journees-aidants-detail__back a:focus-visible {
    color: #258daf;
}

.journees-aidants-pagination {
    margin-top: clamp(2.5rem, 5vw, 4rem);
    text-align: center;
}

.journees-aidants-pagination .pagination {
    justify-content: center;
}

@media (prefers-reduced-motion: reduce) {
    .journees-aidants__button,
    .journees-aidants-card,
    .journees-aidants-card__media img {
        transition: none;
    }
}

@media (max-width: 991.98px) {
    .journees-aidants-featured {
        grid-template-columns: 1fr;
    }

    .journees-aidants-featured__media img {
        min-height: 0;
        max-height: 520px;
    }

    .journees-aidants-archives__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .journees-aidants-videos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .journees-aidants-archives__grid,
    .journees-aidants-detail__hero,
    .journees-aidants-videos,
    .journees-aidants-downloads {
        grid-template-columns: 1fr;
    }

    .journees-aidants-video .youtube_player {
        min-height: 230px;
    }
}
