/* Ficha académica de Formación. Todo el refresh queda bajo este scope. */
.yg-formacion-detail {
    --yg-fd-ink: #2f332c;
    --yg-fd-muted: #686e64;
    --yg-fd-sage: #6f8f68;
    --yg-fd-sage-dark: #486343;
    --yg-fd-cream: #f7f2e8;
    --yg-fd-paper: #fffdf8;
    --yg-fd-line: #ddd8cc;
    --yg-fd-gold: #c49248;
    color: var(--yg-fd-ink);
    font-family: var(--yg-font-body, "DM Sans", sans-serif);
    padding: 1.5rem 1.25rem 5rem;
}

.yg-formacion-detail *,
.yg-formacion-detail *::before,
.yg-formacion-detail *::after { box-sizing: border-box; }
.yg-formacion-detail .yg-fd-shell { width: min(1160px, 100%); margin: 0 auto; }
.yg-formacion-detail h1,
.yg-formacion-detail h2,
.yg-formacion-detail h3 { font-family: var(--yg-font-title, "Fraunces", Georgia, serif); color: var(--yg-fd-ink); }

.yg-formacion-detail .yg-fd-header {
    position: relative;
    overflow: hidden;
    padding: clamp(2rem, 5vw, 4.25rem) clamp(1.35rem, 5vw, 4.6rem) clamp(1.55rem, 4vw, 2.6rem);
    border: 1px solid var(--yg-fd-line);
    border-radius: 24px;
    background:
        linear-gradient(90deg, rgba(111,143,104,.08) 1px, transparent 1px) 0 0 / 44px 44px,
        linear-gradient(rgba(111,143,104,.08) 1px, transparent 1px) 0 0 / 44px 44px,
        var(--yg-fd-cream);
}
.yg-formacion-detail .yg-fd-header::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 7px;
    background: linear-gradient(var(--yg-fd-sage), var(--yg-fd-gold));
}
.yg-formacion-detail .yg-fd-eyebrow,
.yg-formacion-detail .yg-fd-section-kicker {
    margin: 0 0 .55rem;
    color: var(--yg-fd-sage-dark);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}
.yg-formacion-detail .yg-fd-title {
    max-width: 980px;
    margin: 0;
    font-size: clamp(2.45rem, 6vw, 5rem);
    line-height: .99;
    letter-spacing: -.035em;
    text-wrap: balance;
}
.yg-formacion-detail .yg-fd-byline { margin: 1rem 0 0; color: var(--yg-fd-muted); font-size: 1.02rem; }
.yg-formacion-detail .yg-fd-byline a { color: var(--yg-fd-sage-dark); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.yg-formacion-detail .yg-fd-summary {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem 1.4rem;
    margin: clamp(1.65rem, 4vw, 2.7rem) 0 0;
    padding: 1rem 0 0;
    border-top: 1px solid rgba(72,99,67,.28);
    list-style: none;
}
.yg-formacion-detail .yg-fd-summary li { display: grid; gap: .12rem; min-width: 125px; }
.yg-formacion-detail .yg-fd-summary span { color: var(--yg-fd-muted); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.yg-formacion-detail .yg-fd-summary strong { font-size: .98rem; }
.yg-formacion-detail .yg-fd-summary__location { opacity: .82; }

.yg-formacion-detail .yg-fd-status {
    margin-top: 1rem;
    padding: 1rem 1.2rem;
    border-left: 4px solid var(--yg-fd-gold);
    border-radius: 10px;
    background: #fff8e8;
}
.yg-formacion-detail .yg-fd-status h2 { margin: 0 0 .25rem; font-size: 1.15rem; }
.yg-formacion-detail .yg-fd-status p { margin: 0; color: var(--yg-fd-muted); }

.yg-formacion-detail .yg-fd-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 356px);
    grid-template-areas:
        "intro enquiry"
        "nav enquiry"
        "content enquiry";
    column-gap: clamp(1.3rem, 3.5vw, 3rem);
    align-items: start;
    margin-top: clamp(1.4rem, 3vw, 2.3rem);
}
.yg-formacion-detail .yg-fd-intro { grid-area: intro; min-width: 0; }
.yg-formacion-detail .yg-fd-requirements {
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid #cfd9ca;
    border-radius: 18px;
    background: #f3f7f0;
}
.yg-formacion-detail .yg-fd-requirements h2 { margin: 0 0 .65rem; font-size: clamp(1.65rem, 3vw, 2.2rem); }
.yg-formacion-detail .yg-fd-classification { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }
.yg-formacion-detail .yg-fd-classification > div { padding: .72rem .9rem; border: 1px solid var(--yg-fd-line); border-radius: 10px; background: var(--yg-fd-paper); }
.yg-formacion-detail .yg-fd-classification span { display: block; color: var(--yg-fd-muted); font-size: .7rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.yg-formacion-detail .yg-fd-classification p { margin: .15rem 0 0; font-weight: 600; }
.yg-formacion-detail .yg-fd-classification__audience { opacity: .8; }

.yg-formacion-detail .yg-fd-enquiry {
    grid-area: enquiry;
    position: sticky;
    top: 1.2rem;
    padding: 1.35rem;
    border: 1px solid #ccd6c8;
    border-radius: 18px;
    background: var(--yg-fd-paper);
    box-shadow: 0 16px 36px rgba(47,51,44,.1);
}
.yg-formacion-detail .yg-fd-price { display: grid; gap: .18rem; padding-bottom: 1rem; border-bottom: 1px solid var(--yg-fd-line); }
.yg-formacion-detail .yg-fd-price > span { color: var(--yg-fd-muted); font-size: .75rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.yg-formacion-detail .yg-fd-price del { color: var(--yg-fd-muted); font-size: .95rem; }
.yg-formacion-detail .yg-fd-price > strong { font-family: var(--yg-font-title, "Fraunces", Georgia, serif); font-size: 2rem; line-height: 1.05; }
.yg-formacion-detail .yg-fd-price > small { color: var(--yg-fd-muted); }
.yg-formacion-detail .yg-fd-enquiry__meta { display: grid; gap: .75rem; margin: 1rem 0; }
.yg-formacion-detail .yg-fd-enquiry__meta div { display: grid; gap: .12rem; }
.yg-formacion-detail .yg-fd-enquiry__meta dt { color: var(--yg-fd-muted); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.yg-formacion-detail .yg-fd-enquiry__meta dd { margin: 0; font-weight: 650; line-height: 1.35; }
.yg-formacion-detail a.yg-fd-primary-cta,
.yg-formacion-detail a.yg-fd-mobile-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    padding: .75rem 1rem;
    border-radius: 999px;
    background: var(--yg-fd-sage-dark);
    color: #fff;
    font-weight: 750;
    text-align: center;
    text-decoration: none;
}
.yg-formacion-detail a.yg-fd-primary-cta:hover,
.yg-formacion-detail a.yg-fd-mobile-cta:hover { background: #344b31; color: #fff; }
.yg-formacion-detail a.yg-fd-primary-cta:focus-visible,
.yg-formacion-detail a.yg-fd-mobile-cta:focus-visible { outline: 3px solid var(--yg-fd-gold); outline-offset: 3px; }
.yg-formacion-detail .yg-fd-enquiry__note { margin: .85rem 0 0; color: var(--yg-fd-muted); font-size: .88rem; line-height: 1.5; }
.yg-formacion-detail .yg-fd-direct-actions { display: flex; gap: .65rem; margin-top: .8rem; }
.yg-formacion-detail .yg-fd-direct-actions a { color: var(--yg-fd-sage-dark); font-size: .87rem; font-weight: 700; text-underline-offset: 3px; }

.yg-formacion-detail .yg-fd-nav {
    grid-area: nav;
    display: flex;
    gap: 1rem;
    align-items: center;
    margin: clamp(1.5rem, 4vw, 2.75rem) 0 0;
    padding: .85rem 1rem;
    border-block: 1px solid var(--yg-fd-line);
}
.yg-formacion-detail .yg-fd-nav > span { flex: 0 0 auto; color: var(--yg-fd-muted); font-size: .74rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.yg-formacion-detail .yg-fd-nav ul { display: flex; flex-wrap: wrap; gap: .3rem .9rem; margin: 0; padding: 0; list-style: none; }
.yg-formacion-detail .yg-fd-nav a { color: var(--yg-fd-sage-dark); font-size: .9rem; font-weight: 650; text-decoration: none; }
.yg-formacion-detail .yg-fd-nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.yg-formacion-detail .yg-fd-nav a:focus-visible,
.yg-formacion-detail .yg-fd-text-link:focus-visible,
.yg-formacion-detail .yg-fd-edition summary:focus-visible,
.yg-formacion-detail .yg-fd-gallery a:focus-visible,
.yg-formacion-detail .yg-fd-gallery summary:focus-visible { outline: 3px solid var(--yg-fd-gold); outline-offset: 3px; }

.yg-formacion-detail .yg-fd-content { grid-area: content; width: 100%; min-width: 0; margin: 0; }
.yg-formacion-detail .yg-fd-section,
.yg-formacion-detail .yg-fd-contact-section { scroll-margin-top: 6.5rem; }
.yg-formacion-detail .yg-fd-section { padding: clamp(1.55rem, 2.2vw, 1.8rem) 0; border-bottom: 1px solid var(--yg-fd-line); }
.yg-formacion-detail .yg-fd-section h2 { margin: 0 0 1rem; font-size: clamp(2rem, 4.5vw, 3.25rem); line-height: 1.08; letter-spacing: -.025em; }
.yg-formacion-detail .yg-fd-prose { max-width: 72ch; color: #43473f; font-size: 1.03rem; line-height: 1.75; }
.yg-formacion-detail .yg-fd-prose > :first-child { margin-top: 0; }
.yg-formacion-detail .yg-fd-prose > :last-child { margin-bottom: 0; }
.yg-formacion-detail .yg-fd-prose h2,
.yg-formacion-detail .yg-fd-prose h3 { margin-top: 1.8em; font-size: 1.45rem; }
.yg-formacion-detail .yg-fd-prose a { color: var(--yg-fd-sage-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.yg-formacion-detail .yg-fd-prose ul,
.yg-formacion-detail .yg-fd-prose ol { padding-left: 1.35rem; }

.yg-formacion-detail .yg-fd-teachers { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: .85rem; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.yg-formacion-detail .yg-fd-teacher { display: flex; gap: 1rem; align-items: center; min-height: 98px; padding: 1rem; border: 1px solid var(--yg-fd-line); border-radius: 14px; background: var(--yg-fd-paper); }
.yg-formacion-detail .yg-fd-teacher__image,
.yg-formacion-detail .yg-fd-teacher__fallback { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 50%; }
.yg-formacion-detail .yg-fd-teacher__image { display: block; object-fit: cover; }
.yg-formacion-detail .yg-fd-teacher__fallback { display: grid; place-items: center; background: #dfe9da; color: var(--yg-fd-sage-dark); font-family: var(--yg-font-title, "Fraunces", Georgia, serif); font-size: 1.8rem; }
.yg-formacion-detail .yg-fd-teacher h3 { margin: 0; font-size: 1.2rem; }
.yg-formacion-detail .yg-fd-teacher p { margin: .25rem 0 0; color: var(--yg-fd-muted); font-size: .92rem; }
.yg-formacion-detail .yg-fd-certification { margin-inline: -1.2rem; padding-inline: 1.2rem; border-radius: 18px; background: linear-gradient(135deg, #f7f3e9, #f1f6ee); }
.yg-formacion-detail .yg-fd-section-note { margin: -.35rem 0 1.1rem; color: var(--yg-fd-muted); }

.yg-formacion-detail .yg-fd-editions { display: grid; gap: .8rem; }
.yg-formacion-detail .yg-fd-editions--undated { margin-top: .8rem; }
.yg-formacion-detail .yg-fd-edition { overflow: hidden; border: 1px solid var(--yg-fd-line); border-radius: 14px; background: var(--yg-fd-paper); }
.yg-formacion-detail .yg-fd-edition summary,
.yg-formacion-detail .yg-fd-edition--single > header { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1rem 1.1rem; }
.yg-formacion-detail .yg-fd-edition summary { cursor: pointer; }
.yg-formacion-detail .yg-fd-edition summary::-webkit-details-marker { display: none; }
.yg-formacion-detail .yg-fd-edition summary span,
.yg-formacion-detail .yg-fd-edition--single > header span { display: grid; gap: .2rem; }
.yg-formacion-detail .yg-fd-edition small { color: var(--yg-fd-muted); font-size: .7rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.yg-formacion-detail .yg-fd-edition strong { font-family: var(--yg-font-title, "Fraunces", Georgia, serif); font-size: 1.2rem; }
.yg-formacion-detail .yg-fd-edition b { flex: 0 0 auto; color: var(--yg-fd-sage-dark); }
.yg-formacion-detail .yg-fd-edition dl { display: grid; gap: .75rem; margin: 0; padding: 1rem 1.1rem; border-top: 1px solid var(--yg-fd-line); background: #fbfaf6; }
.yg-formacion-detail .yg-fd-edition dl div { display: grid; grid-template-columns: minmax(110px, .34fr) 1fr; gap: .75rem; }
.yg-formacion-detail .yg-fd-edition dt { color: var(--yg-fd-muted); font-size: .82rem; font-weight: 700; }
.yg-formacion-detail .yg-fd-edition dd { margin: 0; white-space: pre-line; }
.yg-formacion-detail .yg-fd-date-state { padding: 1.1rem; border: 1px solid #cfd9ca; border-radius: 14px; background: #f3f7f0; }
.yg-formacion-detail .yg-fd-date-state strong,
.yg-formacion-detail .yg-fd-date-state span { display: block; }
.yg-formacion-detail .yg-fd-date-state span { margin-top: .25rem; font-family: var(--yg-font-title, "Fraunces", Georgia, serif); font-size: 1.25rem; }
.yg-formacion-detail .yg-fd-date-state p { margin: .55rem 0 0; color: var(--yg-fd-muted); }

.yg-formacion-detail .yg-fd-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; }
.yg-formacion-detail .yg-fd-gallery > a { display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 12px; background: #ece8df; }
.yg-formacion-detail .yg-fd-gallery > a:first-child { grid-column: span 2; grid-row: span 2; }
.yg-formacion-detail .yg-fd-gallery__image { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.yg-formacion-detail .yg-fd-gallery a:hover .yg-fd-gallery__image { transform: scale(1.025); }
.yg-formacion-detail .yg-fd-gallery__all { grid-column: 1 / -1; }
.yg-formacion-detail .yg-fd-gallery__all summary { width: max-content; margin-top: .35rem; padding: .55rem .85rem; border-radius: 999px; background: #edf3e9; color: var(--yg-fd-sage-dark); cursor: pointer; font-weight: 700; list-style: none; }
.yg-formacion-detail .yg-fd-gallery__all summary::-webkit-details-marker { display: none; }
.yg-formacion-detail .yg-fd-gallery__all:not([open]) > div { display: none; }
.yg-formacion-detail .yg-fd-gallery__all > div { display: grid; gap: .35rem; margin-top: .55rem; }
.yg-formacion-detail .yg-fd-place { color: var(--yg-fd-muted); }
.yg-formacion-detail .yg-fd-text-link { color: var(--yg-fd-sage-dark); font-weight: 700; text-underline-offset: 3px; }

.yg-formacion-detail .yg-fd-organizer { padding: 1.25rem; border: 1px solid var(--yg-fd-line); border-radius: 16px; background: var(--yg-fd-paper); }
.yg-formacion-detail .yg-fd-organizer__head { display: flex; gap: 1rem; align-items: center; margin-bottom: .9rem; }
.yg-formacion-detail .yg-fd-organizer__image { width: 74px; height: 74px; border-radius: 14px; object-fit: cover; }
.yg-formacion-detail .yg-fd-organizer h3 { margin: 0; font-size: 1.55rem; }

.yg-formacion-detail .yg-fd-contact-section {
    width: 100%;
    margin: 0 0 1.5rem;
    padding: clamp(1.25rem, 4vw, 2.35rem);
    border: 1px solid #cfd9ca;
    border-radius: 20px;
    background: #f3f7f0;
    box-shadow: none;
}
.yg-formacion-detail .yg-fd-contact-section:focus { outline: none; }
.yg-formacion-detail .yg-fd-contact-section__eyebrow { margin: 0 0 .3rem; color: var(--yg-fd-sage-dark); font-size: .75rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.yg-formacion-detail .yg-fd-contact-section h2 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); }
.yg-formacion-detail .yg-fd-contact-section__org { margin: .45rem 0 1.2rem; color: var(--yg-fd-muted); }
.yg-formacion-detail .yg-fd-contact-section .yg-lead__form { display: grid; gap: .45rem; }
.yg-formacion-detail .yg-fd-contact-section .yg-lead__label { margin-top: .65rem; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.yg-formacion-detail .yg-fd-contact-section .yg-lead__input { width: 100%; min-height: 46px; padding: .72rem .8rem; border: 1px solid #c7cec3; border-radius: 9px; background: #fff; font: inherit; }
.yg-formacion-detail .yg-fd-contact-section textarea.yg-lead__input { min-height: 132px; resize: vertical; }
.yg-formacion-detail .yg-fd-contact-section .yg-lead__input:focus { border-color: var(--yg-fd-sage-dark); outline: 3px solid rgba(111,143,104,.18); }
.yg-formacion-detail .yg-fd-contact-section .yg-lead__info,
.yg-formacion-detail .yg-fd-contact-section .yg-lead__legal-note { font-size: .82rem; line-height: 1.5; }
.yg-formacion-detail .yg-fd-contact-section .yg-lead__consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; line-height: 1.5; }
.yg-formacion-detail .yg-fd-contact-section .yg-lead__submit { width: max-content; min-width: 190px; min-height: 48px; margin-top: .6rem; padding: .7rem 1.2rem; border: 0; border-radius: 999px; background: var(--yg-fd-sage-dark); color: #fff; font: inherit; font-weight: 750; cursor: pointer; }
.yg-formacion-detail .yg-fd-contact-section .yg-lead__submit:focus-visible { outline: 3px solid var(--yg-fd-gold); outline-offset: 3px; }
.yg-formacion-detail .yg-lead__hp { position: absolute; left: -9999px; }

.yg-formacion-detail .yg-share { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; width: min(820px, 100%); margin: 1.5rem auto 0; }
.yg-formacion-detail .yg-share__btn,
.yg-formacion-detail .yg-share__opt { display: inline-flex; gap: .45rem; align-items: center; min-height: 42px; padding: .55rem .85rem; border: 1px solid var(--yg-fd-line); border-radius: 999px; background: #fff; color: var(--yg-fd-sage-dark); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.yg-formacion-detail .yg-share__panel { display: flex; gap: .45rem; }
.yg-formacion-detail .yg-share__panel[hidden] { display: none; }
.yg-formacion-detail .yg-share__msg { flex-basis: 100%; min-height: 1.3em; margin: 0; color: var(--yg-fd-muted); font-size: .85rem; }
.yg-formacion-detail a.yg-fd-mobile-cta { display: none; }

body.single-formacion .yg-assistant__launcher,
body.single-formacion .yg-whatsapp-help { justify-content: center; width: 52px; min-width: 52px; height: 52px; padding: 0; overflow: hidden; border-radius: 50%; }
body.single-formacion .yg-assistant__launcher > span:last-child,
body.single-formacion .yg-whatsapp-help > span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
body.single-formacion .yg-whatsapp-help__icon { margin: 0; }

@media (max-width: 820px) {
    .yg-formacion-detail { padding-inline: 1rem; }
    .yg-formacion-detail .yg-fd-intro-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "intro"
            "enquiry"
            "nav"
            "content";
    }
    .yg-formacion-detail .yg-fd-enquiry { position: static; margin-top: clamp(1.3rem, 3.5vw, 3rem); }
    .yg-formacion-detail .yg-fd-nav { display: block; overflow-x: auto; }
    .yg-formacion-detail .yg-fd-nav > span { display: block; margin-bottom: .55rem; }
    .yg-formacion-detail .yg-fd-nav ul { flex-wrap: nowrap; width: max-content; padding-bottom: .2rem; }
}

@media (max-width: 600px) {
    .yg-formacion-detail { padding-bottom: 6.2rem; }
    .yg-formacion-detail.is-mobile-cta-hidden { padding-bottom: 2.2rem; }
    .yg-formacion-detail .yg-fd-header { padding: 1.7rem 1.15rem 1.25rem; border-radius: 17px; }
    .yg-formacion-detail .yg-fd-title { font-size: clamp(2.15rem, 11.8vw, 3.35rem); }
    .yg-formacion-detail .yg-fd-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
    .yg-formacion-detail .yg-fd-summary li { min-width: 0; }
    .yg-formacion-detail .yg-fd-section { padding: 1.05rem 0; }
    .yg-formacion-detail .yg-fd-section h2 { font-size: clamp(1.9rem, 9vw, 2.6rem); }
    .yg-formacion-detail .yg-fd-certification { margin-inline: -.65rem; padding-inline: .65rem; }
    .yg-formacion-detail .yg-fd-teachers { grid-template-columns: 1fr; }
    .yg-formacion-detail .yg-fd-edition summary,
    .yg-formacion-detail .yg-fd-edition--single > header { align-items: flex-start; }
    .yg-formacion-detail .yg-fd-edition dl div { grid-template-columns: 1fr; gap: .18rem; }
    .yg-formacion-detail .yg-fd-gallery { grid-template-columns: repeat(2, 1fr); }
    .yg-formacion-detail .yg-fd-gallery > a:first-child { grid-row: auto; }
    .yg-formacion-detail .yg-fd-contact-section .yg-lead__submit { width: 100%; }
    .yg-formacion-detail a.yg-fd-mobile-cta {
        position: fixed;
        right: .75rem;
        bottom: max(.65rem, env(safe-area-inset-bottom));
        left: .75rem;
        z-index: 70;
        display: flex;
        width: auto;
        min-height: 52px;
        box-shadow: 0 10px 28px rgba(47,51,44,.26);
        transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    }
    .yg-formacion-detail .yg-fd-mobile-cta.is-hidden { opacity: 0; transform: translateY(120%); visibility: hidden; pointer-events: none; }
    .single-formacion .yg-whatsapp-help { bottom: max(5rem, calc(env(safe-area-inset-bottom) + 4.4rem)); }
    .single-formacion .yg-assistant { bottom: max(9.25rem, calc(env(safe-area-inset-bottom) + 8.65rem)); }
}

@media (prefers-reduced-motion: reduce) {
    .yg-formacion-detail .yg-fd-gallery__image,
    .yg-formacion-detail .yg-fd-mobile-cta { transition: none; }
}
