/* ==========================================================================
   Statik sayfalar (kurumsal, sözleşmeler, iletişim) — yeni tasarım katmanı
   style.css ve single.css'ten SONRA yüklenir.
   ========================================================================== */

.main.contentpage {
    padding-bottom: 70px;
}

/* --- Belge kartı ----------------------------------------------------------- */

.main.contentpage .single {
    box-sizing: border-box;
    width: 100%;
    max-width: 880px;
    margin: 10px auto 0;
    background: #fff;
    border: 1px solid #ececf2;
    border-radius: 16px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
    padding: 38px 42px;
    font-size: 15px;
    color: var(--color-secondary);
}

.main.contentpage .single * {
    font-size: 15px;
    color: var(--color-secondary);
}

.main.contentpage .single p {
    line-height: 27px;
    margin-bottom: 14px;
}

.main.contentpage .single h1,
.main.contentpage .single h2,
.main.contentpage .single h3,
.main.contentpage .single h4 {
    color: var(--color-primary);
    font-weight: 800;
    margin: 26px 0 12px;
}

.main.contentpage .single > h1:first-child,
.main.contentpage .single > h2:first-child,
.main.contentpage .single > h3:first-child {
    margin-top: 0;
}

.main.contentpage .single h1 { font-size: 22px; line-height: 32px; }
.main.contentpage .single h2 { font-size: 19px; line-height: 29px; }
.main.contentpage .single h3 { font-size: 17px; line-height: 26px; }
.main.contentpage .single h4 { font-size: 15.5px; line-height: 24px; }

.main.contentpage .single h1 *,
.main.contentpage .single h2 *,
.main.contentpage .single h3 *,
.main.contentpage .single h4 *,
.main.contentpage .single strong,
.main.contentpage .single b {
    color: var(--color-primary);
}

.main.contentpage .single h1 * { font-size: 22px; }
.main.contentpage .single h2 * { font-size: 19px; }
.main.contentpage .single h3 * { font-size: 17px; }

.main.contentpage .single strong,
.main.contentpage .single b {
    font-weight: 700;
}

.main.contentpage .single a {
    color: var(--primary-color);
    font-weight: 600;
}

.main.contentpage .single ul,
.main.contentpage .single ol {
    margin: 0 0 16px 22px;
}

.main.contentpage .single li {
    line-height: 25px;
    margin-bottom: 8px;
    padding-left: 4px;
}

.main.contentpage .single hr {
    background: #ececf2;
    margin: 24px 0;
}

.main.contentpage .single img.content-image {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 22px;
}

/* Son güncelleme rozeti */
.main.contentpage .single .page-updated {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px dashed #e4e4ee;
    font-size: 12.5px;
    color: #64748B;
}

.main.contentpage .single .page-updated i {
    font-size: 13px;
    color: var(--primary-color);
    opacity: .7;
}

/* --- Kurumsal bilgi satırları (eski 3 kolonlu kutuları ezer) --------------- */

.main.contentpage .single .kurumsal .items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 18px;
}

.main.contentpage .single .kurumsal .items div {
    display: block;
    width: auto;
    min-height: 0;
    text-align: left;
    background: #fbfbfd;
    border: 1px solid #ececf2;
    border-radius: 10px;
    padding: 13px 16px;
    margin: 0;
    line-height: 23px;
    word-break: break-word;
}

.main.contentpage .single .kurumsal .items div strong,
.main.contentpage .single .kurumsal .items div b {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: #64748B;
    margin-bottom: 3px;
}

/* --- İletişim kartları ------------------------------------------------------ */

.main.contentpage .contact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    width: 100%;
    max-width: 880px;
    margin: 10px auto 22px;
}

.main.contentpage .contact-cards a,
.main.contentpage .contact-cards address {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: #fff;
    border: 1px solid #ececf2;
    border-radius: 14px;
    padding: 22px 14px;
    text-align: center;
    text-decoration: none;
    font-style: normal;
    margin: 0;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.main.contentpage .contact-cards a:hover {
    transform: translateY(-4px);
    border-color: var(--third-color);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.13);
}

.main.contentpage .contact-cards i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: var(--third-color);
    color: var(--primary-color);
    font-size: 19px;
    margin-bottom: 8px;
}

.main.contentpage .contact-cards strong {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--color-primary);
}

.main.contentpage .contact-cards span {
    font-size: 13px;
    line-height: 20px;
    color: var(--color-muted);
}

/* Aynı konteynerdeki ardışık kart ızgaraları alt alta gelsin */
.main.contentpage .container {
    flex-wrap: wrap;
}

/* Geniş kartlar (adres, çalışma saatleri): 2 kolon */
.main.contentpage .contact-cards.contact-cards-wide {
    grid-template-columns: 1fr 1fr;
    margin-top: 0;
}

/* --- Responsive ------------------------------------------------------------ */

@media (max-width: 900px) {
    .main.contentpage .single {
        margin: 10px 16px 0;
        width: auto;
        padding: 28px 22px;
    }

    .main.contentpage .contact-cards {
        grid-template-columns: 1fr 1fr;
        margin: 10px 16px 20px;
        width: auto;
    }
}

@media (max-width: 560px) {
    .main.contentpage .single .kurumsal .items {
        grid-template-columns: 1fr;
    }

    .main.contentpage .contact-cards,
    .main.contentpage .contact-cards.contact-cards-wide {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================================
   SABİT SAYFALAR — YÜZEY DİLİ (v6 "Yumuşak Kağıt")
   Kurumsal, sözleşmeler, KVKK, iletişim. Belge kartı ve iletişim kutuları
   yumuşak gölgeli yüzeylere geçer.
   ========================================================================== */

.main.contentpage {
    background: var(--paper);
}

.main.contentpage .container.title h1 {
    letter-spacing: -0.015em;
}

/* --- Belge kartı ---------------------------------------------------------- */

.main.contentpage .single {
    border: 1px solid var(--rule-soft);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    padding: 44px 50px;
}

.main.contentpage .single * {
    font-size: 15px;
}

.main.contentpage .single p {
    line-height: 1.8;
}

.main.contentpage .single li {
    line-height: 1.75;
}

.main.contentpage .single h1,
.main.contentpage .single h2,
.main.contentpage .single h3,
.main.contentpage .single h4 {
    color: var(--ink);
    letter-spacing: -0.008em;
}

.main.contentpage .single a {
    color: var(--brand);
}

.main.contentpage .single hr {
    background: var(--rule-soft);
}

.main.contentpage .single img.content-image {
    border-radius: var(--r-md);
    box-shadow: var(--shadow-xs);
}

.main.contentpage .single .page-updated {
    border-top: 1px dashed var(--rule);
    color: var(--muted);
}

/* --- Kurumsal bilgi satırları --------------------------------------------- */

.main.contentpage .single .kurumsal .items div {
    background: var(--brand-soft);
    border: none;
    border-radius: var(--r-md);
    padding: 16px 18px;
}

.main.contentpage .single .kurumsal .items div strong,
.main.contentpage .single .kurumsal .items div b {
    letter-spacing: .06em;
    color: var(--brand);
}

/* --- İletişim kartları ---------------------------------------------------- */

.main.contentpage .contact-cards a,
.main.contentpage .contact-cards address {
    border: 1px solid var(--rule-soft);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    padding: 26px 22px;
    transition: box-shadow .3s var(--ease), transform .3s var(--ease),
                border-color .3s var(--ease);
}

.main.contentpage .contact-cards a:hover {
    border-color: var(--rule);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.main.contentpage .contact-cards i {
    border-radius: var(--r-md);
    background: var(--brand-soft);
    color: var(--brand);
}

.main.contentpage .contact-cards strong {
    color: var(--ink);
}

@media (max-width: 620px) {
    .main.contentpage .single {
        padding: 26px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .main.contentpage .contact-cards a:hover {
        transform: none;
    }
}
