/*
 * Admin Rhythm v4
 * Ortak yönetim paneli başlık ve açıklama ritmi.
 * Bu dosya tüm sayfa-özel stillerden sonra yüklenir.
 */

/* Sayfa başlıkları — üst etiket, ana başlık ve açıklama birbirine yapışmasın. */
.admin-page-head > div:first-child,
.home-admin-head > div:first-child,
.page-head > div:first-child,
.request-page-head > div:first-child,
.seo-page-head > div:first-child {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.admin-page-head .admin-eyebrow,
.admin-page-head .admin-page-eyebrow,
.home-admin-head .admin-kicker,
.page-head .eyebrow,
.request-page-head .admin-eyebrow,
.request-page-head .admin-page-eyebrow,
.seo-page-head .admin-eyebrow,
.seo-page-head .admin-page-eyebrow {
    margin: 0 0 10px !important;
}

.admin-page-head h1,
.home-admin-head h1,
.page-head h1,
.request-page-head h1,
.seo-page-head h1 {
    margin: 0 0 11px !important;
    line-height: 1.16 !important;
}

.admin-page-head p,
.home-admin-head p,
.page-head p,
.request-page-head p,
.seo-page-head p {
    margin: 0 !important;
    line-height: 1.72 !important;
}

.admin-page-head,
.home-admin-head,
.page-head,
.request-page-head,
.seo-page-head {
    margin-bottom: 30px !important;
}

/* Kart/bölüm başlıkları — başlık ile açıklama arasında net nefes alanı. */
.admin-settings-section > header h2,
.admin-section-card > header h2,
.blog-section-head h2,
.content-section-head h2,
.cm-tab-intro h2,
.home-section-title h2,
.home-selection-head h3,
.seo-section-title h2,
.section-head h2,
.process-form-group__head strong,
.content-subhead h3 {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
    line-height: 1.28 !important;
}

.admin-settings-section > header p,
.admin-section-card > header p,
.blog-section-head p,
.content-section-head p,
.cm-tab-intro p,
.home-section-title p,
.home-selection-head p,
.seo-section-title p,
.section-head p,
.process-form-group__head p,
.content-subhead p {
    margin: 0 !important;
    line-height: 1.68 !important;
}

/* Küçük bölüm etiketi ile başlık arasına ayrı bir ritim koy. */
.admin-settings-section > header > div > span,
.admin-section-card > header > span:first-child,
.admin-section-card > header > div:not(.cm-section-index) > span:first-child {
    display: block;
    margin-bottom: 9px !important;
}

/* Bölüm başlıklarının kart gövdesinden de ayrılması. */
.admin-settings-section > header,
.admin-section-card > header,
.section-head {
    padding-top: 24px !important;
    padding-bottom: 22px !important;
}

.blog-section-head,
.content-section-head,
.home-section-title {
    padding-bottom: 21px !important;
    margin-bottom: 27px !important;
}

.cm-tab-intro {
    padding-top: 23px !important;
    padding-bottom: 23px !important;
}

.seo-section-title {
    padding-top: 23px !important;
    padding-bottom: 23px !important;
}

/* Form kartları arasında bölüm hissini güçlendir. */
.admin-settings-main,
.admin-section-stack {
    gap: 22px !important;
}

/* Küçük ekranlarda da dikey ayrım korunsun. */
@media (max-width: 760px) {
    .admin-page-head,
    .home-admin-head,
    .page-head,
    .request-page-head,
    .seo-page-head {
        margin-bottom: 24px !important;
    }

    .admin-settings-section > header,
    .admin-section-card > header,
    .section-head {
        padding-top: 20px !important;
        padding-bottom: 19px !important;
    }
}
