/* KVKK cerez onay banner'i ve tercih penceresi */
:root {
    --cc-bg: #ffffff;
    --cc-text: #1A1A1A;
    --cc-muted: #5b6470;
    --cc-border: #dfe3e8;
    --cc-primary: #3F5260;
    --cc-primary-text: #ffffff;
    --cc-radius: 10px;
}

.cc-banner[hidden],
.cc-modal[hidden] {
    display: none !important;
}

.cc-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 100000;
    max-width: 1100px;
    margin: 0 auto;
    background: var(--cc-bg);
    color: var(--cc-text);
    border: 1px solid var(--cc-border);
    border-radius: var(--cc-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, .18);
    padding: 20px 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
    font-family: var(--body-font, "Fira Sans", sans-serif);
    font-size: 15px;
    line-height: 1.55;
}

.cc-banner__text {
    flex: 1 1 420px;
    margin: 0;
    color: var(--cc-muted);
}

.cc-banner__text strong {
    display: block;
    color: var(--cc-text);
    font-family: var(--title-font, "Exo", sans-serif);
    font-size: 17px;
    margin-bottom: 4px;
}

.cc-banner__text a,
.cc-modal a {
    color: var(--cc-primary);
    text-decoration: underline;
}

.cc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Kabul ve Reddet ayni gorsel agirlikta: KVKK Cerez Rehberi, reddetmenin kabul etmek kadar kolay olmasini bekler. */
.cc-btn {
    appearance: none;
    border: 2px solid var(--cc-primary);
    border-radius: 6px;
    padding: 10px 20px;
    min-width: 130px;
    font: 600 15px/1.2 var(--title-font, "Exo", sans-serif);
    cursor: pointer;
    background: var(--cc-primary);
    color: var(--cc-primary-text);
    transition: opacity .15s ease;
}

.cc-btn:hover {
    opacity: .88;
}

.cc-btn:focus-visible,
.cc-switch input:focus-visible + span {
    outline: 3px solid #8fb3cc;
    outline-offset: 2px;
}

.cc-btn--link {
    background: transparent;
    color: var(--cc-primary);
}

/* ---------- Tercih penceresi ---------- */

html.cc-modal-open {
    overflow: hidden;
}

.cc-modal {
    position: fixed;
    inset: 0;
    z-index: 100001;
    background: rgba(15, 23, 30, .55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    font-family: var(--body-font, "Fira Sans", sans-serif);
}

.cc-modal__dialog {
    background: var(--cc-bg);
    color: var(--cc-text);
    border-radius: var(--cc-radius);
    width: 100%;
    max-width: 640px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}

.cc-modal__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 8px;
}

.cc-modal__title {
    margin: 0;
    font-size: 21px;
    font-family: var(--title-font, "Exo", sans-serif);
    color: var(--cc-text);
}

.cc-close {
    background: none;
    border: 0;
    font-size: 26px;
    line-height: 1;
    color: var(--cc-muted);
    cursor: pointer;
    padding: 0 4px;
}

.cc-modal__intro {
    color: var(--cc-muted);
    font-size: 15px;
    margin: 0 0 16px;
}

.cc-category {
    border: 1px solid var(--cc-border);
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 12px;
}

.cc-category__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.cc-category__name {
    font-weight: 600;
    font-family: var(--title-font, "Exo", sans-serif);
    color: var(--cc-text);
    margin: 0;
    font-size: 16px;
}

.cc-category__desc {
    color: var(--cc-muted);
    font-size: 14px;
    margin: 6px 0 0;
}

.cc-always {
    font-size: 13px;
    color: var(--cc-primary);
    font-weight: 600;
    white-space: nowrap;
}

.cc-switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 26px;
    flex: 0 0 auto;
}

.cc-switch input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer;
    z-index: 1;
}

.cc-switch span {
    position: absolute;
    inset: 0;
    background: #c4cad1;
    border-radius: 26px;
    transition: background .15s ease;
}

.cc-switch span::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform .15s ease;
}

.cc-switch input:checked + span {
    background: var(--cc-primary);
}

.cc-switch input:checked + span::before {
    transform: translateX(20px);
}

.cc-modal__foot {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px;
}

/* ---------- Harici medya yer tutucusu ---------- */

.cc-media-placeholder {
    width: 300px;
    max-width: 100%;
    min-height: 200px;
    background: #eef1f4;
    border: 1px dashed #b9c1ca;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    padding: 16px;
    font-size: 14px;
    color: var(--cc-muted);
}

.video-container .cc-media-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    min-height: 0;
}

.cc-media-placeholder .cc-btn {
    min-width: 0;
    padding: 8px 14px;
    font-size: 14px;
}

/* ---------- Form onay metinleri ---------- */

.kvkk-note {
    font-size: 13px;
    line-height: 1.5;
    color: #6c737c;
    margin: 6px 0 0;
}

.kvkk-note a {
    text-decoration: underline;
}

.footer-newsletter-consent {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    max-width: 520px;
    margin: 12px auto 0;
    font-size: 13px;
    line-height: 1.5;
}

.footer-newsletter-consent input {
    margin-top: 3px;
    flex: 0 0 auto;
}

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 18px;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
}

.footer-legal-links a {
    color: inherit;
    opacity: .85;
}

.footer-legal-links a:hover {
    opacity: 1;
}

@media (max-width: 575px) {
    .cc-banner {
        left: 8px;
        right: 8px;
        bottom: 8px;
        padding: 16px;
    }

    .cc-actions,
    .cc-btn {
        width: 100%;
    }
}

/* ---------- Yasal metin sayfalari ---------- */

.legal-content h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.legal-content h3 {
    font-size: 20px;
    margin: 28px 0 12px;
}

.legal-content table {
    display: block;
    overflow-x: auto;
    font-size: 14px;
}
