
:root {
    --evkaf-size-display: clamp(2.375rem, 1.75rem + 2.2vw, 3.75rem);
    --evkaf-size-h1: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem);
    --evkaf-size-h2: clamp(1.5625rem, 1.2rem + 1.2vw, 2.125rem);
    --evkaf-size-h3: clamp(1.25rem, 1.05rem + .65vw, 1.5rem);
    --evkaf-size-h4: clamp(1.125rem, 1rem + .35vw, 1.25rem);
    --evkaf-size-h5: 1rem;
    --evkaf-size-h6: .9375rem;
    --evkaf-size-body: 1rem;
    --evkaf-size-input: 1rem;
    --evkaf-size-lead: clamp(.9375rem, .9rem + .15vw, 1rem);
    --evkaf-size-card: clamp(1.0625rem, 1rem + .2vw, 1.125rem);
    --evkaf-size-control: .8125rem;
    --evkaf-size-small: .875rem;
    --evkaf-size-label: .75rem;
    --evkaf-size-year: clamp(3rem, 2.4rem + 2vw, 4rem);
    --evkaf-weight-regular: 400;
    --evkaf-weight-medium: 500;
    --evkaf-weight-semibold: 600;
    --evkaf-weight-bold: 700;
    --evkaf-leading-body: 1.7;
    --evkaf-leading-heading: 1.22;
    --evkaf-leading-card: 1.45;
    --evkaf-leading-control: 1.45;
    --evkaf-tracking-heading: -.025em;
}

html,
body {
    background: #fff;
    color: #1e2d24;
}

body {
    font-size: var(--evkaf-size-body);
    font-weight: var(--evkaf-weight-regular);
    line-height: var(--evkaf-leading-body);
}

body :is(.page-prose, .evkaf-post-detail, .history-page, .contact-page) :is(p, li, dt, dd, td, th) {
    font-size: var(--evkaf-size-body);
    font-weight: var(--evkaf-weight-regular);
    line-height: var(--evkaf-leading-body);
    letter-spacing: normal;
}

body .custom-page-title-wrapper :is(p, .custom-site-slogan__text, .custom-site-slogan__attr) {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: normal;
}

body :is(.page-prose, .evkaf-post-detail, .history-page, .contact-page) :is(h1, h2, h3, h4, h5, h6) {
    font-weight: var(--evkaf-weight-semibold);
    line-height: var(--evkaf-leading-heading);
    letter-spacing: var(--evkaf-tracking-heading);
    overflow-wrap: break-word;
}
body :is(.page-prose, .evkaf-post-detail, .history-page, .contact-page) h1 { font-size: var(--evkaf-size-h1); }
body :is(.page-prose, .evkaf-post-detail, .history-page, .contact-page) h2 { font-size: var(--evkaf-size-h2); }
body :is(.page-prose, .evkaf-post-detail, .history-page, .contact-page) h3 { font-size: var(--evkaf-size-h3); }
body :is(.page-prose, .evkaf-post-detail, .history-page, .contact-page) h4 { font-size: var(--evkaf-size-h4); }
body :is(.page-prose, .evkaf-post-detail, .history-page, .contact-page) h5 { font-size: var(--evkaf-size-h5); }
body :is(.page-prose, .evkaf-post-detail, .history-page, .contact-page) h6 { font-size: var(--evkaf-size-h6); }

body .personeller-content h3.personel-name {
    font-size: 1rem !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    letter-spacing: -0.015em !important;
    color: #182c22;
}
body .personeller-content h2.personel-kategori-title {
    font-size: 1.375rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: -0.02em !important;
    color: #153d25;
}
@media (max-width: 767px) {
    body .personeller-content h2.personel-kategori-title {
        font-size: 1.2rem !important;
    }
}

body .yayinlar-modal h3.yayinlar-modal-title {
    font-size: 16px !important;
    line-height: 1.4 !important;
    min-width: 0;
    overflow-wrap: anywhere;
}
body :is(.yayinlar-modal, .yayinlar-lightbox) :is(.yayinlar-modal-close, .yayinlar-lightbox-close) {
    font-size: 32px !important;
    line-height: 1 !important;
    width: 44px;
    height: 44px;
    min-width: 44px;
    padding: 0;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

body :is(p, li, td, th) > :where(a, span) {
    font-size: inherit;
    line-height: inherit;
}
body :is(strong, b, th) { font-weight: var(--evkaf-weight-bold) !important; }
body .evkaf-design :is(strong, b) { font-weight: 600 !important; }
body .evkaf-design .legacy > strong { font-weight: 400 !important; }
body :is(h1, h2, h3, h4, h5, h6) :where(a, span, strong, b) {
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
}

body :is(.cms-form, .cms-search, .evkaf-search) :is(button, .button) {
    font-size: var(--evkaf-size-control);
    font-weight: var(--evkaf-weight-semibold);
    line-height: var(--evkaf-leading-control);
    letter-spacing: normal;
}
body :is(input, textarea, select) {
    font-size: var(--evkaf-size-input) !important;
    font-weight: var(--evkaf-weight-regular) !important;
    line-height: 1.5 !important;
}
body label {
    font-size: var(--evkaf-size-control) !important;
    font-weight: var(--evkaf-weight-medium) !important;
    line-height: 1.5 !important;
}
body :is(.page-prose, .evkaf-post-detail) :is(small, figcaption) {
    font-size: var(--evkaf-size-small);
    font-weight: var(--evkaf-weight-regular);
    line-height: 1.6;
}

body .site-footer,
body .site-footer :is(h2, p, li, a) {
    color: #111 !important;
}

body .site-footer h2 {
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: 0 !important;
}

body .site-footer :is(li, a) {
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    letter-spacing: normal !important;
}

body .site-footer p.site-footer__quote {
    font-size: 28px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.03em !important;
}

body .site-footer p.site-footer__attr {
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
}

body .site-footer .site-footer__base,
body .site-footer .site-footer__base p,
body .site-footer .site-footer__base a {
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
}

body .evkaf-type-body,
body .evkaf-type-body p {
    font-size: var(--evkaf-size-body) !important;
    font-weight: var(--evkaf-weight-regular) !important;
    line-height: var(--evkaf-leading-body) !important;
}
body .evkaf-type-small,
body .evkaf-type-small p {
    font-size: var(--evkaf-size-small) !important;
    font-weight: var(--evkaf-weight-regular) !important;
    line-height: 1.6 !important;
}

@media (max-width: 767px) {
    :root {
        --evkaf-size-display: 2.375rem;
        --evkaf-size-h1: 1.75rem;
        --evkaf-size-h2: 1.5625rem;
        --evkaf-size-h3: 1.25rem;
        --evkaf-size-h4: 1.125rem;
        --evkaf-size-card: 1.0625rem;
    }

    body .evkaf-design .modern-hero {
        height: auto !important;
        min-height: 585px;
    }
    body .evkaf-design .hero-inner {
        height: auto;
        min-height: inherit;
        display: flex;
        flex-direction: column;
        gap: 36px;
        padding-bottom: 24px;
    }
    body .evkaf-design .hero-bottom {
        position: static;
        margin-top: auto;
        flex-wrap: wrap;
        gap: 12px;
    }
    body .evkaf-design .slide-count { white-space: nowrap; }
}
