/* Image et presentation, sans hauteur imposee au texte. */
.single-agenda .single-agenda-intro {
    margin-bottom: 32px;
    min-width: 0;
}
.single-agenda .single-agenda-intro > .single-agenda-image,
.single-agenda .single-agenda-intro > .single-agenda-section { margin: 0; min-width: 0; }
.single-agenda .single-agenda-intro .single-agenda-text { max-width: none; overflow-wrap: anywhere; }
.single-agenda .single-agenda-intro .single-agenda-image img {
    max-width: min(100%, 600px);
    max-height: 520px;
}
@media (min-width: 1025px) {
    .single-agenda .single-agenda-intro--split {
        display: grid;
        grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
        align-items: start;
        gap: 24px;
    }
    .single-agenda .single-agenda-intro--split .single-agenda-image img { max-height: 440px; }
}
@media (max-width: 1024px) {
    .single-agenda .single-agenda-main { display: contents; }
    .single-agenda .single-agenda-intro {
        display: grid;
        gap: 24px;
        margin: 0;
        order: 1;
    }
    .single-agenda .single-agenda-sidebar { order: 2; }
    .single-agenda .single-agenda-main > .single-agenda-section { order: 3; margin-bottom: 0; }
    .single-agenda .single-agenda-intro .single-agenda-image img { max-width: 100%; }
}

/* Dispositions conditionnelles et image independante du hero. */
.single-agenda .single-agenda-layout--main-only { grid-template-columns: minmax(0, 1fr); }
.single-agenda .single-agenda-layout--info-only {
    grid-template-columns: minmax(0, 1fr);
    max-width: 600px;
}
.single-agenda .single-agenda-layout--info-only .single-agenda-sidebar { position: static; }
.single-agenda .single-agenda-image { margin: 0 0 32px; }
.single-agenda .single-agenda-image img {
    display: block;
    width: auto;
    height: auto;
    max-width: min(100%, 640px);
    max-height: 640px;
    margin-inline: auto;
    border-radius: 18px;
    object-fit: contain;
}
.single-agenda .single-agenda-main > :last-child,
.single-agenda .single-agenda-text > :last-child { margin-bottom: 0; }
.single-agenda .single-agenda-hero h1:last-child { margin-bottom: 0; }
.single-agenda .single-agenda-hero h1 { overflow-wrap: anywhere; }
.single-agenda .single-agenda-info-card p:last-of-type { margin-bottom: 0; padding-bottom: 0; }
.single-agenda .single-agenda-info-card a.fisel-btn-primary {
    display: flex;
    margin-top: 22px;
    min-height: 48px;
    background: var(--fisel-orange);
    color: #fff;
}
.single-agenda .single-agenda-info-card a.fisel-btn-primary:hover {
    background: var(--fisel-teal-dark);
    color: #fff;
    transform: translateY(-2px);
}
.single-agenda a:focus-visible { outline: 3px solid var(--fisel-orange); outline-offset: 3px; }
@media (max-width: 768px) {
    .single-agenda .single-agenda-layout { gap: 28px; }
    .single-agenda .single-agenda-info-card a.fisel-btn-primary { width: 100%; max-width: none; }
}

/* ==========================================================
   SINGLE AGENDA
========================================================== */

.single-agenda {
    background: #fff;
}

.single-agenda .container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

/* HERO */

.single-agenda-hero {
    position: relative;
    min-height: 0;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: linear-gradient(135deg, #061f24 0%, var(--fisel-teal-dark) 100%);
}

.single-agenda-hero-image {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.single-agenda-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .55;
    filter: saturate(1.05) contrast(1.08);
}

.single-agenda-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        radial-gradient(circle at 80% 20%, rgba(245, 128, 32, .28), transparent 28%),
        linear-gradient(180deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,.85) 100%);
}

.single-agenda-hero-content {
    position: relative;
    z-index: 3;
    color: #fff;
    padding: 52px 0 40px;
}

.single-agenda-back {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--fisel-yellow);
    text-decoration: none;
    font-weight: 800;
}

.single-agenda-back:hover {
    color: #fff;
}

.single-agenda-hero h1 {
    max-width: 980px;
    color: #fff;
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    line-height: .95;
    margin: 0 0 24px;
    text-transform: uppercase;
    letter-spacing: .015em;
}

.single-agenda-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.single-agenda-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    backdrop-filter: blur(8px);
    color: #fff;
    font-weight: 900;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}

/* BODY */

.single-agenda-body {
    padding: 40px 0 56px;
    background:
        linear-gradient(180deg, #fff 0%, var(--fisel-light) 100%);
}

.single-agenda-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 28px;
    align-items: start;
}

/* CONTENT */

.single-agenda-main {
    min-width: 0;
}

.single-agenda-section {
    margin-bottom: 32px;
}

.single-agenda-section h2,
.single-agenda-info-card h2 {
    position: relative;
    color: var(--fisel-teal-dark);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    line-height: 1.05;
    margin: 0 0 20px;
}

.single-agenda-section h2::before {
    content: "";
    display: block;
    width: 48px;
    height: 4px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: var(--fisel-orange);
}

.single-agenda-text {
    max-width: 760px;
    color: #35454a;
    font-size: 1.12rem;
    line-height: 1.9;
}

.single-agenda-text p {
    margin: 0 0 1.5em;
}

.single-agenda-text a {
    color: var(--fisel-teal);
    font-weight: 800;
}

.single-agenda-text img {
    border-radius: 20px;
}

/* ARTISTES */

.single-agenda-related-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.single-agenda-related-card {
    display: block;
    position: relative;
    overflow: hidden;
    background: #fff;
    border-radius: 24px;
    text-decoration: none;
    box-shadow: 0 18px 45px rgba(0,0,0,.09);
    transition: .35s ease;
}

.single-agenda-related-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 60px rgba(0,0,0,.16);
}

.single-agenda-related-card img,
.single-agenda-related-placeholder {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--fisel-teal-dark);
    color: #fff;
    font-weight: 900;
    text-align: center;
    padding: 20px;
}

.single-agenda-related-card img {
    display: block;
    transition: .5s ease;
}

.single-agenda-related-card:hover img {
    transform: scale(1.06);
}

.single-agenda-related-content {
    padding: 24px;
}

.single-agenda-related-content h3 {
    margin: 0 0 8px;
    color: var(--fisel-teal-dark);
    font-size: 1.35rem;
}

.single-agenda-related-content span {
    color: var(--fisel-orange);
    font-weight: 900;
}

/* PARTENAIRES */

.single-agenda-partners {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
}

.single-agenda-partner {
    min-height: 140px;
    padding: 28px;
    border-radius: 22px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--fisel-teal-dark);
    font-weight: 900;
    box-shadow: 0 14px 35px rgba(0,0,0,.07);
    transition: .3s ease;
}

.single-agenda-partner:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 50px rgba(0,0,0,.13);
}

.single-agenda-partner img {
    max-width: 100%;
    max-height: 86px;
    object-fit: contain;
    transition: .3s ease;
}

.single-agenda-partner:hover img {
    transform: scale(1.04);
}

/* SIDEBAR */

.single-agenda-sidebar {
    position: sticky;
    top: 110px;
}

.single-agenda-info-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border-radius: 28px;
    padding: 26px;
    box-shadow: 0 20px 55px rgba(0,0,0,.1);
}

.single-agenda-info-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 7px;
    background: linear-gradient(90deg, var(--fisel-orange), var(--fisel-yellow), var(--fisel-teal));
}

.single-agenda-info-card h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.single-agenda-info-card p {
    margin: 0 0 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(0,0,0,.08);
}

.single-agenda-info-card p:last-of-type {
    border-bottom: 0;
}

.single-agenda-info-card strong {
    display: block;
    color: var(--fisel-orange);
    text-transform: uppercase;
    letter-spacing: .07em;
    font-size: .78rem;
    margin-bottom: 8px;
}

.single-agenda-info-card span,
.single-agenda-info-card a {
    color: var(--fisel-teal-dark);
    font-weight: 800;
    text-decoration: none;
}

.single-agenda-info-card a:hover {
    color: var(--fisel-orange);
}

.single-agenda-booking {
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin-top: 34px;
    padding: 17px 30px;
    border-radius: 999px;
    background: var(--fisel-orange);
    color: #fff !important;
    font-weight: 900;
    text-decoration: none;
    transition: .3s ease;
}

.single-agenda-booking:hover {
    background: var(--fisel-teal-dark);
    color: #fff !important;
    transform: translateY(-4px);
}

/* RESPONSIVE */

@media (max-width: 1024px) {
    .single-agenda .single-agenda-image img {
        max-width: 100%;
        max-height: none;
    }

    .single-agenda-layout {
        grid-template-columns: 1fr;
    }

    .single-agenda-sidebar {
        position: static;
    }

    .single-agenda-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .single-agenda-hero {
        min-height: 0;
    }

    .single-agenda-hero-content {
        padding: 36px 0 28px;
    }

    .single-agenda-body {
        padding: 28px 0 40px;
    }

    .single-agenda-meta span {
        width: 100%;
        justify-content: center;
    }

    .single-agenda-related-grid {
        grid-template-columns: 1fr;
    }

    .single-agenda-info-card {
        padding: 22px;
    }
}
