/* =========================================================
   FOOTER
   ========================================================= */

html,
body {
    margin-bottom: 0;
    padding-bottom: 0;
}

.site-footer {
    position: relative;
    width: 100%;
    margin: 70px 0 0;
    color: #302D55;
    background: transparent;
    isolation: isolate;
}

/* Footer'ın başladığı yerde belli belirsiz tek çizgi. */
.site-footer::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    height: 1px;
    transform: translateX(-50%);
    background: rgba(48, 45, 85, .045);
    pointer-events: none;
}

.site-footer__inner {
    display: grid;
    /* Logo | telif (tam ortada) | sosyal ikonlar */
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: min(1180px, calc(100% - 64px));
    min-height: 64px;
    margin: 0 auto;
    padding: 8px 0 0;
}

.site-footer__logo {
    justify-self: start;
    display: flex;
    align-items: center;
    color: #302D55;
    font-size: 23px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .09em;
    text-decoration: none;
    transform: translateY(3px);
}

.site-footer__logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 210px;
    max-height: 56px;
    object-fit: contain;
}

.site-footer__copy {
    justify-self: center;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    opacity: .68;
    transform: translateY(3px);
}

.site-footer__copy a {
    color: inherit;
    text-decoration: none;
}

.site-footer__copy a:hover {
    text-decoration: underline;
}

.site-footer__copy > span {
    margin: 0 4px;
}

.yuri-newsletter__privacy a {
    color: inherit;
    text-decoration: underline;
}

.site-footer__socials {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: translateY(3px);
}

.site-footer__socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: .5px solid rgba(48, 45, 85, .18);
    border-radius: 50%;
    background: rgba(255, 255, 255, .34);
    color: #302D55;
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: transform .18s ease;
}

.site-footer__socials a:hover {
    transform: translateY(-2px);
}

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1180px, calc(100% - 64px));
    min-height: 25px;
    margin: 0 auto;
    padding: 0 0 9px;
    font-size: 11px;
    font-weight: 500;
    opacity: .68;
}

.site-footer__bottom > span {
    width: 180px;
}

.site-footer__bottom-links {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    width: 180px;
    margin-left: auto;
}

.site-footer__bottom-links a {
    color: inherit;
    text-decoration: none;
}

@media (max-width: 900px) {
    .site-footer__inner,
    .site-footer__bottom {
        width: calc(100% - 48px);
    }

    .site-footer__bottom > span,
    .site-footer__bottom-links {
        width: auto;
    }
}

/* Mobil: logo, sosyal ikonlar, telif ve linkler alt alta, ortalı ve ferah. */
@media (max-width: 800px) {
    .site-footer {
        margin-top: 45px;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
        justify-items: center;
        row-gap: 18px;
        width: calc(100% - 32px);
        padding: 30px 0 22px;
    }

    .site-footer__logo,
    .site-footer__socials,
    .site-footer__copy {
        justify-self: center;
        transform: none;
    }

    /* Mobilde sıra: logo, sosyal ikonlar, telif. */
    .site-footer__copy {
        order: 3;
    }

    .site-footer__socials {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .site-footer__bottom {
        flex-direction: column;
        justify-content: center;
        gap: 10px;
        width: calc(100% - 32px);
        padding: 0 0 18px;
        text-align: center;
    }

    .site-footer__bottom-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 20px;
        margin-left: 0;
    }
}


/* =========================================================
   YURI BÜLTEN — MASAÜSTÜNDE SOL ALTTA SABİT
   ========================================================= */

.yuri-newsletter {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 10050;
    width: 245px;
    height: 150px;
    pointer-events: none;
}

.yuri-newsletter__mascot {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 245px;
    height: 150px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    pointer-events: auto;
}

.yuri-newsletter__mascot img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: contain;
    object-position: left bottom;
    pointer-events: none;
}

.yuri-newsletter__panel {
    position: absolute;
    left: 215px;
    bottom: 58px;
    width: 330px;
    padding: 22px;
    border: 1px solid rgba(48, 45, 85, .10);
    border-radius: 18px;
    background: rgba(255, 255, 255, .94);
    color: #302D55;
    box-shadow: 0 18px 50px rgba(32, 35, 62, .16);
    backdrop-filter: blur(22px) saturate(130%);
    -webkit-backdrop-filter: blur(22px) saturate(130%);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(.97);
    transform-origin: left bottom;
    pointer-events: none;
    transition: opacity .18s ease, transform .22s ease, visibility 0s linear .22s;
}

.yuri-newsletter.is-open .yuri-newsletter__panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    transition: opacity .18s ease, transform .22s ease;
}

.yuri-newsletter__close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(48, 45, 85, .58);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.yuri-newsletter__title {
    display: block;
    padding-right: 24px;
    font-size: 21px;
    line-height: 1.16;
    letter-spacing: -.02em;
}

.yuri-newsletter__text {
    display: block;
    margin-top: 8px;
    color: rgba(48, 45, 85, .66);
    font-size: 12px;
    line-height: 1.45;
}

.yuri-newsletter__form {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.yuri-newsletter__form input {
    width: 100%;
    height: 42px;
    box-sizing: border-box;
    padding: 0 13px;
    border: 1px solid rgba(48, 45, 85, .14);
    border-radius: 10px;
    outline: 0;
    background: rgba(255, 255, 255, .88);
    color: #302D55;
    font: inherit;
    font-size: 12px;
}

.yuri-newsletter__form input:focus {
    border-color: rgba(48, 45, 85, .34);
    box-shadow: 0 0 0 3px rgba(48, 45, 85, .05);
}

.yuri-newsletter__form button {
    height: 42px;
    border: 0;
    border-radius: 10px;
    background: #302D55;
    color: #fff;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .16s ease, opacity .16s ease;
}

.yuri-newsletter__form button:hover {
    transform: translateY(-1px);
    opacity: .92;
}

.yuri-newsletter__form button:disabled {
    opacity: .6;
    cursor: wait;
}

.yuri-newsletter__status {
    display: block;
    margin-top: 9px;
    font-size: 11px;
    font-weight: 700;
}

.yuri-newsletter__status.is-success {
    color: #24764a;
}

.yuri-newsletter__privacy {
    display: block;
    margin-top: 11px;
    color: rgba(48, 45, 85, .48);
    font-size: 9px;
    line-height: 1.4;
}

/* Mobil: sabit değil, sayfanın en sonunda; panel maskotun altında açılır. */
@media (max-width: 800px) {
    .yuri-newsletter {
        position: relative;
        left: auto;
        bottom: auto;
        z-index: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        height: auto;
        margin: 18px 0 0;
        pointer-events: auto;
    }

    .yuri-newsletter__mascot {
        position: static;
        width: 190px;
        height: 122px;
    }

    .yuri-newsletter__mascot img {
        object-position: center bottom;
    }

    .yuri-newsletter__panel,
    .yuri-newsletter.is-open .yuri-newsletter__panel {
        position: relative;
        left: auto;
        bottom: auto;
        width: 100%;
        max-width: 420px;
        box-sizing: border-box;
        margin-top: 10px;
        transform: none;
    }

    .yuri-newsletter__panel {
        display: none;
    }

    .yuri-newsletter.is-open .yuri-newsletter__panel {
        display: block;
    }
}


/* =========================================================
   BAŞA DÖN — MOBİLDE GÖSTERİLMEZ
   ========================================================= */

@media (max-width: 800px) {
    .back-to-top {
        display: none !important;
    }
}