/* Dedicated author, partner and event profiles. */
.cdf-cpt-hero {
    position: relative;
    overflow: hidden;
    background: var(--cdf-yellow);
}

.cdf-cpt-hero--partenaire {
    background: var(--cdf-paper);
}

.cdf-cpt-hero--evenement {
    background: var(--cdf-navy);
    color: var(--cdf-ivory);
}

.cdf-cpt-hero__inner {
    display: grid;
    min-height: 470px;
    align-items: center;
    padding-block: 26px 64px;
    grid-template-columns: minmax(240px, 370px) minmax(0, 1fr);
    gap: clamp(36px, 7vw, 100px);
}

.cdf-cpt-hero__inner--without-media {
    grid-template-columns: minmax(0, 900px);
}

.cdf-cpt-hero__breadcrumbs {
    align-self: start;
    grid-column: 1 / -1;
}

.cdf-cpt-hero--evenement .cdf-breadcrumbs,
.cdf-cpt-hero--evenement .cdf-breadcrumbs a,
.cdf-cpt-hero--evenement .cdf-breadcrumb.cdf-breadcrumb,
.cdf-cpt-hero--evenement .cdf-breadcrumb.cdf-breadcrumb a,
.cdf-cpt-hero--evenement .cdf-breadcrumb.cdf-breadcrumb [aria-current="page"],
.cdf-cpt-hero--evenement .cdf-breadcrumb.cdf-breadcrumb .breadcrumb-item:not(:last-child)::after {
    color: var(--cdf-ivory);
}

.cdf-cpt-hero__media {
    width: 100%;
    margin: 0;
    overflow: hidden;
    border-radius: var(--cdf-radius);
    background: var(--cdf-paper);
    box-shadow: var(--cdf-shadow);
}

.cdf-cpt-hero__media img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.cdf-cpt-hero--auteur .cdf-cpt-hero__media img {
    aspect-ratio: 4 / 5;
}

.cdf-cpt-hero__media--logo {
    padding: clamp(20px, 4vw, 42px);
}

.cdf-cpt-hero__media--logo img {
    aspect-ratio: 1;
    object-fit: contain;
}

.cdf-cpt-hero__content {
    max-width: 820px;
}

.cdf-cpt-hero__content h1 {
    margin: 0;
    font-size: clamp(3rem, 6vw, 6.5rem);
    line-height: .88;
    overflow-wrap: anywhere;
    text-transform: uppercase;
}

.cdf-cpt-hero--evenement .cdf-cpt-hero__content h1,
.cdf-cpt-hero--evenement .cdf-eyebrow {
    color: var(--cdf-ivory);
}

.cdf-cpt-hero__summary {
    max-width: 700px;
    margin: 24px 0 0;
    font-family: var(--cdf-serif);
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    font-weight: 600;
    line-height: 1.35;
}

.cdf-cpt-layout {
    display: grid;
    align-items: start;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    gap: clamp(36px, 6vw, 82px);
}

.cdf-cpt-layout--single {
    grid-template-columns: minmax(0, 900px);
}

.cdf-cpt-layout--shop-only {
    grid-template-columns: minmax(260px, 340px);
    justify-content: end;
}

.cdf-cpt-content > h2:first-child {
    margin-top: 0;
}

.cdf-cpt-facts {
    padding: 26px;
    border-radius: var(--cdf-radius);
    background: var(--cdf-paper);
    box-shadow: var(--cdf-shadow);
}

.cdf-cpt-facts h2 {
    margin: 0 0 22px;
    color: var(--cdf-red);
    font-family: var(--cdf-ui);
    font-size: 1.1rem;
    line-height: 1.2;
    text-transform: uppercase;
}

.cdf-cpt-facts dl {
    display: grid;
    gap: 20px;
    margin: 0;
}

.cdf-cpt-facts dl > div {
    padding-top: 18px;
    border-top: 1px solid rgba(33, 10, 5, .16);
}

.cdf-cpt-facts dl > div:first-child {
    padding-top: 0;
    border-top: 0;
}

.cdf-cpt-facts dt {
    margin-bottom: 5px;
    color: rgba(33, 10, 5, .68);
    font-family: var(--cdf-ui);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.cdf-cpt-facts dd {
    margin: 0;
    font-weight: 600;
    line-height: 1.45;
}

.cdf-cpt-facts address {
    display: grid;
    gap: 2px;
    font-style: normal;
}

.cdf-cpt-facts a {
    color: var(--cdf-red);
}

.cdf-cpt-status {
    display: inline-flex;
    margin: 22px 0 0;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    color: var(--cdf-ivory);
    font-family: var(--cdf-ui);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.cdf-cpt-status.is-upcoming {
    background: var(--cdf-yellow);
    color: var(--cdf-dark);
}

.cdf-cpt-status.is-current {
    background: var(--cdf-red);
}

.cdf-cpt-status.is-past {
    background: rgba(255, 255, 255, .18);
}

.cdf-cpt-related {
    background: var(--cdf-paper);
}

.cdf-cpt-empty {
    margin: 0;
}

.cdf-cpt-back {
    padding-bottom: clamp(42px, 6vw, 90px);
}

@media (max-width: 900px) {
    .cdf-cpt-hero__inner {
        min-height: 400px;
        grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
        gap: 34px;
    }

    .cdf-cpt-hero__inner--without-media {
        grid-template-columns: 1fr;
    }

    .cdf-cpt-layout,
    .cdf-cpt-layout--single {
        grid-template-columns: 1fr;
    }

    .cdf-cpt-facts {
        width: min(100%, 640px);
    }
}

@media (max-width: 620px) {
    .cdf-cpt-hero__inner,
    .cdf-cpt-hero__inner--without-media {
        min-height: 0;
        padding-block: 20px 42px;
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .cdf-cpt-hero__media {
        width: min(100%, 300px);
    }

    .cdf-cpt-hero__content h1 {
        font-size: clamp(2.3rem, 14vw, 3.8rem);
    }

    .cdf-cpt-hero__summary {
        margin-top: 16px;
        font-size: 1.05rem;
    }

    .cdf-cpt-facts {
        padding: 22px 20px;
    }
}
