/* Plant — Sekizsoft CMS ortak kalıp teması. Şablonlar kalıptan (varsayilan) gelir; bu dosya yalnızca görünümü verir.
   Renkler panelden: --c-primary, --c-accent, --c-text, --c-heading (kalıp layout'u <head>'e basar). Diğer tonlar bunlardan türetilir.
   Yazı tipi: Plus Jakarta Sans (SIL OFL 1.1, assets/fonts/OFL.txt). */

@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(../fonts/pjs-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(../fonts/pjs-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
    --c-primary: #1f6b47;
    --c-accent: #f2b134;
    --c-text: #27352d;
    --c-heading: #0f241a;
    /* türetilen tonlar: ana renk değişince hepsi uyar */
    --c-deep: color-mix(in srgb, var(--c-primary) 45%, #06120c);
    --c-tint: color-mix(in srgb, var(--c-primary) 9%, #fff);
    --c-tint-2: color-mix(in srgb, var(--c-primary) 16%, #fff);
    --c-muted: color-mix(in srgb, var(--c-text) 62%, #fff);
    --c-border: color-mix(in srgb, var(--c-text) 12%, #fff);
    --c-bg: #fbfcf8;
    --c-soft: #f1f5ee;
    --radius: 18px;
    --radius-sm: 12px;
    --radius-lg: 32px;
    --container: 1200px;
    --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --shadow: 0 1px 2px rgba(15, 36, 26, .05), 0 12px 32px -16px rgba(15, 36, 26, .18);
    --shadow-lg: 0 2px 4px rgba(15, 36, 26, .04), 0 28px 60px -28px rgba(15, 36, 26, .35);
    --ease: cubic-bezier(.2, .7, .2, 1);
    --leaf: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.5 3.5c-7.6-.4-13.4 2.2-15.4 7.7-1 2.6-.6 5.2.6 7.1L3 21l1.3 1 2.6-2.6c1.9 1.2 4.4 1.5 7 .5 5.5-2 8-7.8 7.6-15.4ZM8.3 17.1l6.4-6.4-1.1-1.1-6.4 6.4c-.6-1.4-.7-3 0-4.6 1.4-3.9 5.3-6 11.2-6.3-.3 5.9-2.4 9.8-6.3 11.2-1.4.6-2.9.6-3.8-.2Z'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.7; color: var(--c-text); background: var(--c-bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; }
a { color: var(--c-primary); text-decoration-thickness: .08em; text-underline-offset: .22em; }
a:hover { color: var(--c-deep); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--c-accent) 85%, #000); outline-offset: 2px; border-radius: 6px; }
::selection { background: color-mix(in srgb, var(--c-accent) 55%, #fff); color: var(--c-heading); }
h1, h2, h3, h4 { color: var(--c-heading); line-height: 1.18; margin: 0 0 .55em; font-weight: 800; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.05rem); }
h3 { font-size: 1.25rem; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-wide { width: 100%; padding: 0 24px; }
.section { padding: 64px 24px; }
.container.section { padding-left: 24px; padding-right: 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--c-heading); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- düğmeler */
.btn, .cms-auth button[type=submit] {
    display: inline-flex; align-items: center; gap: .5em; background: var(--c-primary); color: #fff; padding: 13px 24px; border-radius: 999px;
    text-decoration: none; border: 0; cursor: pointer; font: inherit; font-weight: 700; line-height: 1.2;
    box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--c-primary) 80%, transparent); transition: transform .2s var(--ease), background .2s, box-shadow .2s;
}
.btn:hover, .cms-auth button[type=submit]:hover { color: #fff; background: var(--c-deep); transform: translateY(-2px); box-shadow: 0 16px 30px -14px color-mix(in srgb, var(--c-primary) 90%, transparent); }
.btn:active, .cms-auth button[type=submit]:active { transform: translateY(0) scale(.98); }
.btn-accent { background: var(--c-accent); color: var(--c-heading); box-shadow: 0 10px 26px -12px color-mix(in srgb, var(--c-accent) 90%, transparent); }
.btn-accent:hover { background: color-mix(in srgb, var(--c-accent) 85%, #fff); color: var(--c-heading); }
.btn-accent::after { content: ""; width: 1em; height: 1em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h9M8.5 4l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h9M8.5 4l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .2s var(--ease); }
.btn-accent:hover::after { transform: translateX(3px); }

/* ---------- üst bilgi */
.site-header { z-index: 50; background: color-mix(in srgb, var(--c-bg) 88%, transparent); backdrop-filter: saturate(1.5) blur(14px); -webkit-backdrop-filter: saturate(1.5) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-sticky { position: sticky; top: 0; border-bottom-color: var(--c-border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.brand { font-weight: 800; font-size: 1.3rem; letter-spacing: -.035em; color: var(--c-heading); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.brand:hover { color: var(--c-heading); }
.brand img { display: block; max-height: 48px; width: auto; }
/* logo yüklenmemişse: site adının önünde yaprak simgesi */
.brand > span::before { content: ""; display: inline-block; vertical-align: -.28em; width: 1.5em; height: 1.5em; margin-right: .45em; border-radius: 10px; background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--c-accent) 55%, transparent), transparent 60%), var(--c-primary); }
.brand > span { position: relative; }
.brand > span::after { content: ""; position: absolute; left: .25em; top: 50%; width: 1em; height: 1em; transform: translateY(-58%); background: #fff; -webkit-mask: var(--leaf) center / contain no-repeat; mask: var(--leaf) center / contain no-repeat; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav > ul { display: flex; gap: 2px; align-items: center; }
.site-nav li { position: relative; }
.site-nav a { display: block; padding: 9px 15px; color: var(--c-text); text-decoration: none; border-radius: 999px; font-weight: 600; font-size: .96rem; transition: background .2s, color .2s; }
.site-nav a:hover, .site-nav li.active > a { color: var(--c-primary); background: var(--c-tint); }
.site-nav li.active > a { background: var(--c-tint-2); }
.site-nav .sub { position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 8px; box-shadow: var(--shadow-lg); display: none; }
.site-nav .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.site-nav .sub a { border-radius: 10px; font-weight: 500; }
.site-nav .sub .sub { top: -9px; left: 100%; }
.site-nav li.has-sub > a { padding-right: 30px; }
.site-nav li.has-sub > a::after { content: ""; position: absolute; right: 13px; top: 50%; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); opacity: .6; }
.site-nav li.has-sub:hover > .sub, .site-nav li.has-sub:focus-within > .sub { display: block; animation: plant-in .18s var(--ease); }
.sub-toggle { display: none; }
.nav-toggle { display: none; background: var(--c-tint); border: 0; width: 46px; height: 46px; padding: 13px 12px; border-radius: 14px; cursor: pointer; }
.nav-toggle span:not(.sr) { display: block; height: 2px; border-radius: 2px; background: var(--c-heading); margin: 4px 0; transition: transform .25s var(--ease), opacity .2s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@keyframes plant-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- ana sayfa kapağı: kenarlardan ayrık, yuvarlak köşeli büyük kart; yaprak damarı deseni */
.hero {
    position: relative; overflow: hidden; isolation: isolate; color: #fff; margin: 16px; border-radius: var(--radius-lg);
    padding: clamp(72px, 11vw, 150px) 0 clamp(64px, 9vw, 120px);
    background:
        radial-gradient(60% 80% at 92% 8%, color-mix(in srgb, var(--c-accent) 45%, transparent), transparent 62%),
        radial-gradient(70% 90% at 0% 100%, color-mix(in srgb, var(--c-primary) 70%, #9be36b 30%), transparent 65%),
        linear-gradient(150deg, var(--c-primary), var(--c-deep));
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .16; background-image: radial-gradient(rgba(255, 255, 255, .9) 1px, transparent 1.4px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(115deg, #000 10%, transparent 70%); mask-image: linear-gradient(115deg, #000 10%, transparent 70%); }
.hero::after { content: ""; position: absolute; z-index: -1; right: -6%; bottom: -22%; width: min(56vw, 640px); aspect-ratio: 1; background: rgba(255, 255, 255, .08); -webkit-mask: var(--leaf) center / contain no-repeat; mask: var(--leaf) center / contain no-repeat; transform: rotate(-12deg); }
.hero.has-image { background: linear-gradient(100deg, color-mix(in srgb, var(--c-deep) 92%, transparent) 0%, color-mix(in srgb, var(--c-deep) 55%, transparent) 55%, transparent 100%), var(--hero-img) center / cover no-repeat; }
.hero.has-image::after { opacity: .5; }
.hero-inner { max-width: 820px; margin-left: max(24px, calc((100% - var(--container)) / 2 + 24px)); padding: 0 24px 0 0; animation: plant-up .7s var(--ease) both; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5.6vw, 4.1rem); line-height: 1.06; letter-spacing: -.04em; margin-bottom: .35em; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); max-width: 40em; color: rgba(255, 255, 255, .86); margin-bottom: 1.8em; }
@keyframes plant-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- iç sayfa başlığı */
.page-hero { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(180deg, var(--c-tint), var(--c-bg)); padding: clamp(48px, 7vw, 88px) 0 clamp(32px, 4vw, 48px); }
.page-hero::after { content: ""; position: absolute; z-index: -1; right: max(-40px, calc((100% - var(--container)) / 2 - 60px)); top: -30px; width: 260px; aspect-ratio: 1; background: color-mix(in srgb, var(--c-primary) 9%, transparent); -webkit-mask: var(--leaf) center / contain no-repeat; mask: var(--leaf) center / contain no-repeat; transform: rotate(18deg); }
.page-hero h1 { margin: 0; max-width: 22em; }
.page-hero .meta { color: var(--c-muted); margin-top: .7em; font-size: .97rem; }
.page-hero .meta a { color: var(--c-primary); font-weight: 600; text-decoration: none; }
.page-hero .meta a:hover { text-decoration: underline; }

/* ---------- içerik */
/* Metin satırları okunaklı genişlikte; harita, açılır kutu, gömme, tablo ve görseller kapsayıcının tamamını kullanır */
.prose { max-width: none; font-size: 1.04rem; }
.prose > :is(p, ul, ol, h2, h3, h4, h5, h6, blockquote, pre, dl, hr) { max-width: 46rem; }
.prose > p:has(> img:only-child) { max-width: none; }
.prose-wide > * { max-width: none !important; }
.layout-sidebar .prose > * { max-width: none; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 1.7em; padding-top: .1em; }
.prose h2::before { content: ""; display: block; width: 36px; height: 4px; border-radius: 4px; margin-bottom: .55em; background: linear-gradient(90deg, var(--c-primary), var(--c-accent)); }
.prose h3 { margin-top: 1.5em; }
.prose :is(h1, h2, h3, h4, h5, h6) { color: var(--c-heading); }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li { margin: .3em 0; }
.prose ul > li::marker { color: var(--c-primary); }
.prose img { border-radius: var(--radius); }
.prose figure { margin: 2em 0; }
.prose figcaption { color: var(--c-muted); font-size: .9rem; margin-top: .6em; text-align: center; }
.prose blockquote { margin: 1.8em 0; padding: 1.1em 1.4em; border: 0; border-left: 4px solid var(--c-accent); background: var(--c-soft); border-radius: 0 var(--radius) var(--radius) 0; font-size: 1.08rem; color: var(--c-heading); }
.prose blockquote > :last-child { margin-bottom: 0; }
.prose table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 1.8em 0; display: block; overflow-x: auto; border: 1px solid var(--c-border); border-radius: var(--radius-sm); font-size: .96rem; }
.prose th, .prose td { border-bottom: 1px solid var(--c-border); padding: 11px 14px; text-align: left; }
.prose th { background: var(--c-tint); color: var(--c-heading); font-weight: 700; }
.prose tr:last-child td { border-bottom: 0; }
.prose pre { background: var(--c-heading); color: #e7efe9; padding: 1.1em 1.3em; border-radius: var(--radius-sm); overflow-x: auto; font-size: .92rem; }
.prose code { font-size: .92em; }
.prose :not(pre) > code { background: var(--c-tint); padding: .12em .4em; border-radius: 6px; }
.prose hr { border: 0; height: 1px; background: var(--c-border); margin: 2.4em 0; }
.prose mark { background: color-mix(in srgb, var(--c-accent) 40%, #fff); padding: 0 .2em; border-radius: 4px; }

/* açılır kutu (ör. "İlçe Seçiniz"; temel 1.50.0 details/summary) */
.prose details, details.plant-acilir { margin: 1.4em 0; border: 1px solid var(--c-border); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.prose details > summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; font-weight: 700; color: var(--c-heading); cursor: pointer; list-style: none; transition: background .2s; }
.prose details > summary::-webkit-details-marker { display: none; }
.prose details > summary:hover { background: var(--c-tint); }
.prose details > summary::after { content: ""; flex: none; width: 9px; height: 9px; margin: 0 8px; border-right: 2.5px solid var(--c-primary); border-bottom: 2.5px solid var(--c-primary); transform: translateY(-30%) rotate(45deg); transition: transform .25s var(--ease); }
.prose details[open] > summary { border-bottom: 1px solid var(--c-border); }
.prose details[open] > summary::after { transform: translateY(30%) rotate(-135deg); }
.prose details > :not(summary) { margin: 0; padding: 1rem 1.25rem 1.25rem; }
.prose details > ul { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: 6px; max-height: 26rem; overflow: auto; }
.prose details > ul > li { margin: 0; padding: .55rem .75rem; border-radius: 10px; background: var(--c-soft); color: var(--c-muted); font-size: .95rem; }
.prose details > ul > li:has(a) { background: var(--c-tint-2); color: var(--c-heading); font-weight: 700; }
.prose details > ul > li a { color: inherit; text-decoration: none; display: block; }
.prose details > ul > li:has(a):hover { background: var(--c-primary); }
.prose details > ul > li:has(a):hover a { color: #fff; }

/* Haritalar paketi: tıklanabilir harita ve gömülü sayfa çerçevesi */
.prose .harita, .harita { margin: 2em 0; padding: 12px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--c-border); box-shadow: var(--shadow); }
/* harita.css gövdede, bu dosyadan sonra yüklenir: seçiciler .harita ile bir düzey güçlü */
.harita .harita__svg { border-radius: calc(var(--radius-lg) - 12px); overflow: hidden; }
.harita .harita__baslik { padding: 6px 8px 12px; color: var(--c-heading); }
.harita .harita__liste { padding: 14px 4px 4px; margin: 0; }
.harita .harita__liste a { border: 0; background: var(--c-tint); color: var(--c-primary); font-weight: 700; }
.harita .harita__liste a:hover, .harita .harita__liste a:focus-visible { background: var(--c-primary); color: #fff; }
.harita .harita__ipucu { background: var(--c-heading); border-radius: 10px; font-weight: 600; box-shadow: var(--shadow); }
.gomme iframe { border-radius: var(--radius) !important; border: 1px solid var(--c-border) !important; background: var(--c-soft) !important; }
.gomme-baglanti { display: inline-flex; align-items: center; gap: .4em; padding: .55em 1em; border-radius: 999px; background: var(--c-tint); font-weight: 700; text-decoration: none; }

/* ---------- iletişim */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 1.6em 0; display: grid; gap: 10px; }
.contact-list li { padding: 16px 18px; border: 1px solid var(--c-border); border-radius: var(--radius); background: #fff; display: grid; grid-template-columns: 100px 1fr; gap: 12px; align-items: center; transition: border-color .2s, box-shadow .2s; }
.contact-list li:hover { border-color: color-mix(in srgb, var(--c-primary) 35%, transparent); box-shadow: var(--shadow); }
.contact-list span { color: var(--c-muted); font-size: .88rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.contact-list a { font-weight: 700; text-decoration: none; }
.contact-list address { font-style: normal; }
.map { position: sticky; top: 100px; padding: 10px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.map iframe { display: block; width: 100%; aspect-ratio: 4 / 3.4; border: 0; border-radius: calc(var(--radius-lg) - 10px); }

/* ---------- 404 */
.error-page { text-align: center; padding: clamp(80px, 12vw, 140px) 24px; }
.error-code { font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; line-height: 1; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 2px var(--c-primary); background: linear-gradient(180deg, transparent 55%, var(--c-tint-2) 55%); -webkit-background-clip: text; background-clip: text; margin-bottom: .2em; }
.error-page p { color: var(--c-muted); }

/* ---------- kartlar, etiketler, sayfalama (paketler kullanır) */
.grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card { border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(15, 36, 26, .04); transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s; }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.card-img { aspect-ratio: 16 / 10; background: var(--c-soft); overflow: hidden; display: block; margin: 8px 8px 0; border-radius: calc(var(--radius) - 6px); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 18px 20px 22px; flex: 1; }
.card-title { font-size: 1.18rem; line-height: 1.3; margin: 0 0 .45em; letter-spacing: -.02em; }
.card-title a { color: var(--c-heading); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .35s var(--ease), color .2s; }
.card-title a:hover { color: var(--c-primary); background-size: 100% 1.5px; }
.card-meta { color: var(--c-muted); font-size: .86rem; font-weight: 600; margin-bottom: .6em; }
.card-body p { color: var(--c-muted); font-size: .97rem; margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 1.8em 0 0; }
.tags a { display: inline-block; padding: 6px 15px; border-radius: 999px; background: #fff; border: 1px solid var(--c-border); color: var(--c-text); text-decoration: none; font-size: .9rem; font-weight: 600; transition: all .2s; }
.tags a:hover { border-color: var(--c-primary); color: var(--c-primary); }
.tags a.active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 48px; list-style: none; padding: 0; flex-wrap: wrap; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--c-border); border-radius: 999px; text-decoration: none; color: var(--c-text); font-weight: 700; background: #fff; transition: all .2s; }
.pagination a:hover { border-color: var(--c-primary); color: var(--c-primary); }
.pagination .current { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.blog-search input { border-radius: 999px !important; padding: 12px 20px !important; border-color: var(--c-border) !important; background: #fff; }
.blog-search input:focus { outline: 3px solid var(--c-tint-2); border-color: var(--c-primary) !important; }

/* yazı sayfası */
.layout-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.layout-sidebar > aside { position: sticky; top: 100px; }
.sidebar-box { border: 1px solid var(--c-border); border-radius: var(--radius); padding: 22px; margin-bottom: 20px; background: #fff; }
.sidebar-box:last-child { background: linear-gradient(160deg, var(--c-primary), var(--c-deep)); border: 0; color: rgba(255, 255, 255, .85); }
.sidebar-box:last-child h2 { color: #fff; }
.sidebar-box:last-child .btn { background: var(--c-accent); color: var(--c-heading); box-shadow: none; }
.sidebar-box h2 { font-size: 1.02rem; letter-spacing: -.01em; }
.sidebar-box ul { list-style: none; padding: 0; margin: 0; }
.sidebar-box li { padding: 7px 0; border-bottom: 1px dashed var(--c-border); }
.sidebar-box li:last-child { border-bottom: 0; }
.sidebar-box a:not(.btn) { color: var(--c-text); text-decoration: none; font-weight: 600; }
.sidebar-box a:not(.btn):hover { color: var(--c-primary); }
.sidebar-box small { color: var(--c-muted); }
.cover { border-radius: var(--radius-lg); margin-bottom: 2.2em; aspect-ratio: 16 / 8.5; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.blog-toc { background: var(--c-tint); border: 0 !important; border-radius: var(--radius) !important; }
.blog-toc a { text-decoration: none; font-weight: 600; }
.blog-toc a:hover { text-decoration: underline; }
.blog-author { background: #fff; box-shadow: var(--shadow); border-color: transparent !important; border-radius: var(--radius) !important; }
.blog-author img { border-radius: 50%; width: 64px; height: 64px; object-fit: cover; }

/* ---------- üyelik formları ve uyarılar */
.cms-auth { max-width: 480px; margin: 48px auto; padding: 40px 36px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.cms-auth form { display: grid; gap: 16px; margin-top: 1.2em; }
.cms-auth label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.cms-auth input:not([type=checkbox]) { font: inherit; padding: 12px 16px; border: 1px solid var(--c-border); border-radius: 12px; width: 100%; background: var(--c-bg); transition: border-color .2s, box-shadow .2s; }
.cms-auth input:focus { outline: 0; border-color: var(--c-primary); box-shadow: 0 0 0 4px var(--c-tint-2); background: #fff; }
.cms-auth button[type=submit] { justify-content: center; }
.cms-auth .cms-check { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; }
.cms-auth-links { margin-top: 1.2em; font-size: .95rem; }
.cms-link { background: none; border: 0; color: var(--c-primary); cursor: pointer; padding: 0; font: inherit; font-weight: 600; }
.invalid-feedback { color: #b42318; font-size: .85rem; font-weight: 500; }
.cms-alert { padding: 13px 18px; border-radius: 14px; margin: 1em 0; font-weight: 500; }
.cms-alert-success { background: #ecfdf3; color: #05603a; }
.cms-alert-danger { background: #fef3f2; color: #912018; }
.cms-alert-info, .cms-alert-warning { background: #fffaeb; color: #93370d; }
.cf-btn { box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--c-primary) 80%, transparent); }

/* ---------- alt bilgi: koyu yeşil, yaprak deseni */
.site-footer { position: relative; overflow: hidden; isolation: isolate; background: var(--c-deep); color: rgba(255, 255, 255, .72); margin: 80px 16px 16px; border-radius: var(--radius-lg); padding-top: 64px; font-size: .96rem; }
.site-footer::before { content: ""; position: absolute; z-index: -1; left: -80px; bottom: -120px; width: 420px; aspect-ratio: 1; background: rgba(255, 255, 255, .05); -webkit-mask: var(--leaf) center / contain no-repeat; mask: var(--leaf) center / contain no-repeat; transform: rotate(-30deg); }
.site-footer::after { content: ""; position: absolute; z-index: -1; right: -10%; top: -40%; width: 60%; height: 120%; background: radial-gradient(closest-side, color-mix(in srgb, var(--c-accent) 22%, transparent), transparent); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--c-accent); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-brand { font-size: 1.5rem; font-weight: 800; letter-spacing: -.035em; color: #fff; margin-bottom: .5em; }
.footer-grid p { max-width: 30em; }
.footer-title { color: #fff; font-weight: 700; margin-bottom: 1em; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.social { list-style: none; padding: 0; margin: 1.4em 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.social a { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: .88rem; font-weight: 600; transition: background .2s; }
.social a:hover { background: var(--c-accent); color: var(--c-heading); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 24px; font-size: .87rem; color: rgba(255, 255, 255, .55); }
.footer-bottom a, .footer-bottom button { color: rgba(255, 255, 255, .75); }
.cms-credit { text-align: center; font-size: .82rem; color: var(--c-muted); padding: 0 16px 20px; }
.cms-credit a { color: inherit; }
.wa-float { position: fixed; right: 20px; bottom: 20px; width: 58px; height: 58px; border-radius: 20px; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7); z-index: 60; transition: transform .25s var(--ease), border-radius .25s; }
.wa-float:hover { color: #fff; transform: translateY(-3px); border-radius: 50%; }

/* ---------- mobil */
@media (max-width: 900px) {
    body { font-size: 16.5px; }
    .header-inner { min-height: 68px; }
    .nav-toggle { display: block; }
    .site-nav { position: fixed; inset: 68px 12px auto 12px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); max-height: calc(100vh - 90px); overflow-y: auto; display: none; padding: 10px; box-shadow: var(--shadow-lg); }
    .nav-open .site-nav { display: block; animation: plant-in .2s var(--ease); }
    .site-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
    .site-nav a { padding: 12px 16px; border-radius: 12px; }
    .site-nav li.has-sub { display: grid; grid-template-columns: 1fr 44px; }
    .site-nav li.has-sub > a { padding-right: 16px; }
    .site-nav li.has-sub > a::after { display: none; }
    .site-nav .sub { position: static; display: none; box-shadow: none; border: 0; padding: 0 0 0 14px; grid-column: 1 / -1; min-width: 0; }
    .site-nav .sub::before { display: none; }
    .site-nav li.sub-open > .sub { display: block; }
    .site-nav li.has-sub:hover > .sub { display: none; }
    .site-nav li.sub-open:hover > .sub { display: block; }
    .sub-toggle { display: block; background: var(--c-tint); border: 0; border-radius: 12px; font-size: 1rem; cursor: pointer; color: var(--c-heading); }
    .hero { margin: 10px; border-radius: 24px; }
    .hero-inner { margin-left: 24px; }
    .contact-grid, .layout-sidebar { grid-template-columns: 1fr; gap: 36px; }
    .layout-sidebar > aside, .map { position: static; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .site-footer { margin: 56px 10px 10px; border-radius: 24px; }
    .section { padding: 44px 24px; }
    .contact-list li { grid-template-columns: 1fr; gap: 2px; }
    .cms-auth { margin: 24px 12px; padding: 28px 22px; }
}
@media (max-width: 520px) {
    .container, .container.section, .section, .container-wide { padding-left: 16px; padding-right: 16px; }
    .hero-inner { margin-left: 16px; padding-right: 16px; }
    .prose details > ul { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
    .site-header, .site-footer, .wa-float, .hero::after, .page-hero::after { display: none !important; }
    .hero { color: #000; background: none; margin: 0; }
    .hero h1 { color: #000; }
}
