/*
Theme Name: Sahabet Editorial
Description: Sahabet giriş yayını için sakin, editoryal MH Magazine child theme.
Author: Site Editorial Team
Template: mh-magazine
Version: 1.0.1
Text Domain: sahabet-editorial
*/

:root {
    --saha-ink: #17251f;
    --saha-green: #24594b;
    --saha-green-dark: #153a31;
    --saha-copper: #a84d22;
    --saha-cream: #fbf7ef;
    --saha-paper: #fffdf9;
    --saha-line: #ded7ca;
    --saha-focus: #ffbd59;
}

html { scroll-behavior: smooth; }
body {
    background: var(--saha-cream);
    color: var(--saha-ink);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.72;
}

a { color: #1c6351; text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: #963f19; }
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid var(--saha-focus);
    outline-offset: 3px;
}

.mh-container-outer {
    box-sizing: border-box;
    background: var(--saha-paper);
    border: 1px solid var(--saha-line);
    box-shadow: 0 18px 55px rgba(23, 37, 31, .09);
}
.mh-header { background: var(--saha-paper); }
.mh-site-logo { padding-block: 30px 24px; }
.mh-header-title {
    color: var(--saha-green-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 5vw, 3.25rem);
    letter-spacing: -.035em;
}
.mh-header-tagline { color: #51645b; font-size: .96rem; letter-spacing: .02em; }

.mh-main-nav-wrap { background: var(--saha-green-dark); border-bottom: 4px solid var(--saha-copper); }
.mh-main-nav li a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding-inline: 18px;
    color: #fff;
    font-size: .9rem;
    font-weight: 750;
    letter-spacing: .035em;
}
.mh-main-nav li:hover > a,
.mh-main-nav .current-menu-item > a { background: var(--saha-copper); color: #fff; }

.mh-wrapper { padding-top: 34px; }
.entry-content { font-size: 1.04rem; overflow-wrap: anywhere; }
.entry-content h1,
.entry-content h2,
.entry-content h3,
.page-header {
    color: var(--saha-green-dark);
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.2;
    text-wrap: balance;
}
.entry-content h2 {
    margin-top: 2.1em;
    padding-bottom: .35em;
    border-bottom: 2px solid var(--saha-line);
}
.entry-content p { margin-bottom: 1.25em; }
.entry-content ul,
.entry-content ol { margin: 0 0 1.5em 1.2em; }
.entry-content li { margin-bottom: .55em; }
.entry-content img { display: block; max-width: 100%; height: auto; border-radius: 10px; }

.saha-lead {
    margin: 0 0 1.7rem;
    padding: 1.25rem 1.35rem;
    background: #edf4f0;
    border-left: 5px solid var(--saha-green);
    border-radius: 0 10px 10px 0;
    font-size: 1.06rem;
}
.saha-checks {
    margin: 1.6rem 0;
    padding: 1.25rem 1.4rem;
    background: #fff7ec;
    border: 1px solid #ecd3bb;
    border-radius: 12px;
}
.saha-checks strong { color: #7b3518; }
.saha-related {
    margin-top: 2.3rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--saha-line);
}
.saha-related a,
.saha-related a:visited { color: #185143 !important; }
.saha-related a:hover { color: #7b3518 !important; }
.entry-access-cta-wrap { margin: 2rem auto 2.75rem; text-align: center; }
.entry-content a.entry-access-cta,
.entry-content a.entry-access-cta:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: .78rem 1.45rem;
    border-radius: 999px;
    background: var(--saha-copper);
    color: #fff !important;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(184, 95, 45, .22);
}
.entry-content a.entry-access-cta:hover,
.entry-content a.entry-access-cta:focus { background: #8f3e1b; color: #fff !important; transform: translateY(-1px); }

.mh-breadcrumb,
.mh-breadcrumb a,
.mh-breadcrumb a:visited,
.mh-breadcrumb span[itemprop="name"],
.entry-meta-date,
.entry-meta-categories,
.entry-meta-categories a,
.entry-meta-categories a:visited { color: #555f5a !important; }
.mh-ticker-title,
.mh-image-caption { background: var(--saha-green-dark) !important; color: #fff !important; }

.mh-sidebar .mh-widget {
    padding: 1.05rem;
    border: 1px solid var(--saha-line);
    border-radius: 12px;
    background: #fff;
}
.mh-widget-title { border-bottom-color: var(--saha-green); }
.mh-widget-title-inner { background: var(--saha-green); color: #fff; border-radius: 4px 4px 0 0; }
.tagcloud a { border-radius: 999px; }
.search-field { min-height: 44px; border: 1px solid #9baca4; }
.search-submit { min-height: 44px; background: var(--saha-copper); color: #fff; }
.mh-footer { background: #102b24; color: #e9f0ec; border-top: 5px solid var(--saha-copper); }
.mh-footer a { color: #fff4e7; }
.mh-footer .tablolu-footer-links {
    padding: .85rem;
    background: #102b24;
    color: #e9f0ec;
}
.mh-footer .tablolu-footer-links a,
.mh-footer .tablolu-footer-links a:visited { color: #fff4e7 !important; }
.mh-copyright-wrap { background: #102b24; color: #e9f0ec; }
.mh-copyright-wrap .mh-copyright { background: #102b24; color: #e9f0ec; }
.mh-copyright-wrap a,
.mh-copyright-wrap a:visited { color: #fff4e7 !important; }

@media (max-width: 767px) {
    .mh-container-inner { width: auto; padding-inline: 16px; }
    .mh-wrapper { padding-top: 22px; }
    .mh-header-title { font-size: clamp(1.85rem, 10vw, 2.6rem); }
    .mh-main-nav li a { min-height: 48px; }
    .entry-content { font-size: 1rem; line-height: 1.7; }
    .saha-lead,
    .saha-checks { padding: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
