/* Statik /sayfa/... şablonu */

.cms-page {
    box-sizing: border-box;
    padding-bottom: 36px;
}

.cms-head {
    margin: 0 0 22px;
    padding: 2px 0 16px;
    border-bottom: 1px solid #eceae6;
}

.cms-kicker {
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #011893;
}

.cms-head h1,
.cms-page .alt_sayfa-title,
.cms-head .cms-title {
    margin: 0;
    padding: 0;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.25;
    color: #111;
    text-transform: none;
}

.cms-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 28px;
    align-items: start;
}

.cms-body {
    background: #fff;
    border: 1px solid #eceae6;
    border-radius: 10px;
    padding: 28px 32px 32px;
    font-size: 15px;
    line-height: 1.75;
    color: #3a3a3a;
}

.cms-body p {
    margin: 0 0 1em;
    text-align: justify;
}

.cms-body p:last-child {
    margin-bottom: 0;
}

.cms-body br {
    line-height: 1.75;
}

.cms-body strong {
    color: #1a1a1a;
    font-weight: 700;
}

.cms-body a {
    color: #011893;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cms-body a:hover {
    color: #c81e3a;
}

.cms-body ul,
.cms-body ol {
    margin: 0 0 1em;
    padding-left: 1.25em;
}

.cms-body li {
    margin: 0 0 0.4em;
}

.cms-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* CMS içindeki eski mavi 20px başlıkları sakinleştir */
.cms-body span[style*="font-size:20px"],
.cms-body span[style*="font-size: 20px"] {
    display: block;
    color: #011893 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    line-height: 1.4;
    margin: 8px 0 14px;
}

.cms-body span[style*="color:rgb(0, 0, 255)"],
.cms-body span[style*="color: rgb(0, 0, 255)"],
.cms-body span[style*="color:blue"] {
    color: #011893 !important;
}

.cms-body u {
    text-decoration: none;
    color: #011893;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: inline-block;
    border-bottom: 1px solid #eceae6;
    padding-bottom: 4px;
    margin: 10px 0 6px;
}

.cms-side {
    background: #f7f6f2;
    border: 1px solid #eceae6;
    border-radius: 10px;
    padding: 18px 16px 16px;
    position: sticky;
    top: 16px;
}

.cms-side-title {
    margin: 0 0 12px;
    padding: 0 6px 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #6f6c64;
    border-bottom: 1px solid #eceae6;
}

.cms-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cms-nav-a {
    display: block;
    padding: 9px 10px;
    border-radius: 7px;
    color: #3d3d3d;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    transition: background 0.15s ease, color 0.15s ease;
}

.cms-nav-a:hover {
    background: #fff;
    color: #011893;
}

.cms-nav-a.is-on {
    background: #fff;
    color: #011893;
    box-shadow: 0 0 0 1px #eceae6;
}

.cms-side-cta {
    display: block;
    margin-top: 14px;
    padding: 12px 10px;
    border-radius: 8px;
    background: #011893;
    color: #fff !important;
    text-align: center;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.cms-side-cta:hover {
    background: #02136e;
}

@media (max-width: 960px) {
    .cms-head h1,
    .cms-head .cms-title {
        font-size: 20px;
        letter-spacing: 0.02em;
    }

    .cms-layout {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .cms-body {
        padding: 18px 16px 22px;
        font-size: 14.5px;
        line-height: 1.7;
        border-radius: 8px;
    }

    .cms-side {
        position: static;
        padding: 14px 12px;
    }

    .cms-nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }

    .cms-nav-a {
        font-size: 12px;
        padding: 8px;
    }

    .cms-side-cta {
        grid-column: 1 / -1;
    }
}
