/* =========================================================
   Legal pages, breadcrumb trail, cookie banner, footer legal links
========================================================= */

/* ---- Legal pages ---- */
.yg-legal{ padding-top: 70px; }
.yg-legal-wrap{ max-width: 860px; margin: 0 auto; }
.yg-legal-meta{
    display: inline-block;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--theme, #FF471C);
    margin-bottom: 14px;
}
.yg-legal-lead{
    font-size: 18px;
    line-height: 1.7;
    color: #d6d6d6;
    margin-bottom: 30px;
}
.yg-legal-toc{
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px;
    padding: 22px 26px;
    margin: 0 0 36px;
    background: rgba(255,255,255,.02);
}
.yg-legal-toc strong{
    display: block;
    font-size: 12.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 10px;
}
.yg-legal-toc ol{
    list-style: none;
    margin: 0;
    padding: 0;
    columns: 2;
    column-gap: 30px;
}
.yg-legal-toc li{ break-inside: avoid; }
.yg-legal-toc a{
    display: inline-block;
    font-size: 14.5px;
    line-height: 2;
    color: #b1b1b1;
    text-decoration: none;
    transition: color .25s ease;
}
.yg-legal-toc a:hover{ color: var(--theme, #FF471C); }
.yg-legal-wrap h2{
    font-size: 26px;
    line-height: 1.25;
    color: #fff;
    margin: 42px 0 14px;
    scroll-margin-top: 110px;
}
.yg-legal-wrap p,
.yg-legal-wrap li{
    font-size: 16px;
    line-height: 1.8;
    color: #b1b1b1;
}
.yg-legal-wrap p{ margin-bottom: 14px; }
.yg-legal-wrap ul{ margin: 8px 0 16px; padding-left: 22px; list-style: disc; }
.yg-legal-wrap ul li{ list-style: disc; }
.yg-legal-wrap li::marker{ color: var(--theme, #FF471C); }
.yg-legal-wrap li{ margin-bottom: 8px; }
.yg-legal-wrap strong{ color: #fff; font-weight: 600; }
.yg-legal-wrap a{
    color: var(--theme, #FF471C);
    text-decoration: underline;
    text-underline-offset: 3px;
    word-break: break-word;
}
.yg-legal-wrap code{
    background: rgba(255,255,255,.08);
    padding: 1px 7px;
    border-radius: 6px;
    font-size: .9em;
    color: #fff;
}
@media (max-width: 575px){
    .yg-legal{ padding-top: 50px; }
    .yg-legal-toc ol{ columns: 1; }
    .yg-legal-wrap h2{ font-size: 22px; margin-top: 34px; }
    .yg-legal-lead{ font-size: 16.5px; }
}

/* ---- Visible breadcrumb trail ---- */
.yg-crumbs{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #b1b1b1;
}
.yg-crumbs a{ color: #fff; text-decoration: none; }
.yg-crumbs a:hover{ color: var(--theme, #FF471C); }
.yg-crumbs span[aria-hidden]{ opacity: .5; }

/* ---- Footer legal links ---- */
.yg-footer-legal{
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
}
.yg-footer-legal li a{
    color: inherit;
    text-decoration: none;
    opacity: .85;
    transition: color .25s ease, opacity .25s ease;
}
.yg-footer-legal li a:hover{ color: var(--theme, #FF471C); opacity: 1; }
@media (max-width: 767px){
    .yg-footer-legal{ justify-content: center; }
}

/* ---- Cookie banner ---- */
.yg-consent{
    position: fixed;
    left: 20px;
    bottom: 20px;
    width: min(410px, calc(100% - 40px));
    z-index: 9998;
    background: #171717;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    padding: 18px 20px 16px;
    box-shadow: 0 24px 50px -18px rgba(0,0,0,.85);
    color: #d0d0d0;
    font-size: 13.5px;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(18px);
    visibility: hidden;
    transition: opacity .45s cubic-bezier(.22,1,.36,1), transform .45s cubic-bezier(.22,1,.36,1), visibility 0s linear .45s;
}
.yg-consent.is-open{
    opacity: 1;
    transform: none;
    visibility: visible;
    transition-delay: 0s;
}
.yg-consent-title{
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14.5px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
}
.yg-consent-title i{
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--theme, #FF471C);
    display: inline-block;
}
.yg-consent p{ margin: 0 0 14px; font-size: 13.5px; line-height: 1.6; color: #b9b9b9; }
.yg-consent p a{ color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.yg-consent-actions{ display: flex; flex-wrap: wrap; gap: 10px; }
.yg-consent button{
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    padding: 11px 18px;
    border-radius: 999px;
    cursor: pointer;
    transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease;
}
.yg-consent-accept{
    background: var(--theme, #FF471C);
    border: 1px solid var(--theme, #FF471C);
    color: #fff;
}
.yg-consent-accept:hover{ transform: translateY(-2px); }
.yg-consent-reject{
    background: transparent;
    border: 1px solid rgba(255,255,255,.28);
    color: #fff;
}
.yg-consent-reject:hover{ border-color: #fff; }
@media (max-width: 575px){
    .yg-consent{ left: 12px; right: 12px; bottom: 12px; width: auto; padding: 16px; }
    .yg-consent-actions button{ flex: 1 1 auto; text-align: center; }
}
@media (prefers-reduced-motion: reduce){
    .yg-consent{ transition: none; transform: none; }
}

/* keep the footer legal links clear of the floating WhatsApp / sound buttons */
@media (min-width: 768px){
    .yg-footer-legal{ padding-right: 92px; }
}
@media (max-width: 767px){
    .footer-bottom-wrapper{ padding-bottom: 72px; }
}
