/* Site footer — inc/site-footer.inc.php. Koyu zemin (eski footer'ın #302f30 paleti; site token'larında koyu set yok, renkler burada).
   ieo-header'ın eşi. style.new.css * ve a kuralları burada sıfırlanır. */

.ieo-footer {
    --ieo-f-bg: #302f30;
    --ieo-f-ink: #c8c8c8;
    --ieo-f-heading: #fff;
    --ieo-f-icon: #9a9a9a;
    --ieo-f-line: rgba(255, 255, 255, .1);
    --ieo-f-link: #fff;
    --ieo-f-soft: rgba(255, 255, 255, .07);
    --ieo-f-font: var(--site-page-font);
    border-top: 1px solid var(--ieo-f-line);
    background: var(--ieo-f-bg);
    color: var(--ieo-f-ink);
    font: 400 15px/1.5 var(--ieo-f-font);
}
.ieo-footer *,
.ieo-footer *::before,
.ieo-footer *::after { box-sizing: border-box; }
.ieo-footer p,
.ieo-footer h2,
.ieo-footer address { margin: 0; }
.ieo-footer a { color: var(--ieo-f-ink); text-decoration: none; }
.ieo-footer a:hover { color: var(--ieo-f-link); text-decoration: underline; }
.ieo-footer a:focus-visible {
    outline: 2px solid var(--ieo-f-link);
    outline-offset: 2px;
    border-radius: 8px;
}
.ieo-footer img { display: block; height: 38px; width: auto; }

.ieo-footer--auth .ieo-footer__inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    flex-wrap: wrap;
}
.ieo-footer__nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.ieo-footer__nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-weight: 500;
}
.ieo-footer--auth .ieo-footer__copy {
    margin: 0;
    padding: 16px 32px;
    border-top: 1px solid var(--ieo-f-line);
    text-align: center;
}

.ieo-footer__main {
    max-width: 1320px;
    margin: 0 auto;
    padding: 24px 16px 8px;
    display: grid;
    gap: 16px;
}
.ieo-footer__brand-block { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.ieo-footer--site .ieo-footer__brand img { height: 48px; }
.ieo-footer__social { display: flex; flex-wrap: wrap; gap: 8px; }
.ieo-footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--ieo-f-line);
    border-radius: 8px;
    background: var(--ieo-f-soft);
    font-size: 16px;
}
.ieo-footer__social a:hover {
    background: var(--ieo-f-soft);
    text-decoration: none;
    color: var(--ieo-f-link);
}
.ieo-footer__contact {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    font-style: normal;
}
.ieo-footer__line {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 8px;
    border-radius: 8px;
}
a.ieo-footer__line:hover {
    background: var(--ieo-f-soft);
    color: var(--ieo-f-link);
    text-decoration: none;
}
.ieo-footer__line > i {
    flex: 0 0 20px;
    color: var(--ieo-f-icon);
    text-align: center;
}
a.ieo-footer__line:hover > i { color: var(--ieo-f-link); }
.ieo-footer__sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
.ieo-footer__quick {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px 20px;
    grid-column: 1 / -1;
    margin: 0;
    padding-top: 8px;
    border-top: 1px solid var(--ieo-f-line);
}
.ieo-footer__quick h2 {
    margin: 0;
    font: 600 15px/1.4 var(--ieo-f-font);
    color: var(--ieo-f-heading);
}
.ieo-footer__quick a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-weight: 500;
}
.ieo-footer__legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 24px;
    margin: 0;
    padding: 8px 16px 16px;
    border-top: 1px solid var(--ieo-f-line);
}
.ieo-footer__legal nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.ieo-footer__legal a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-weight: 500;
}
.ieo-footer--site .ieo-footer__legal { justify-content: center; }
.ieo-footer--site .ieo-footer__copy { padding: 8px 0; border: 0; text-align: center; }

@media (min-width: 768px) {
    .ieo-footer__main {
        padding: 24px 24px 8px;
        grid-template-columns: auto auto;
        justify-content: center;
        column-gap: 72px;
        align-items: center;
    }
    .ieo-footer__contact {
        display: grid;
        grid-template-columns: repeat(2, max-content);
        justify-content: center;
        gap: 0 48px;
    }
    .ieo-footer__line--wide { grid-column: 1 / -1; }
    .ieo-footer__quick { padding-top: 8px; }
    .ieo-footer__legal { padding: 8px 24px 12px; }
}
@media (min-width: 1024px) {
    .ieo-footer__main { padding: 24px 32px 8px; }
    .ieo-footer__legal {
        padding-top: 8px;
        padding-bottom: 16px;
        padding-left: max(32px, calc((100% - 1320px) / 2 + 32px));
        padding-right: max(32px, calc((100% - 1320px) / 2 + 32px));
    }
}
@media (max-width: 640px) {
    .ieo-footer--auth .ieo-footer__inner { flex-direction: column; align-items: flex-start; padding: 24px 16px; }
    .ieo-footer--auth .ieo-footer__copy { padding: 16px; }
}
