/* =====================================================================
   Ustaloji — site.css
   Referans tasarımdaki tüm ölçü, renk ve boşluk değerleri BİREBİR korunmuştur.
   Dosya yalnızca okunabilir hale getirilmiş, değişkenlere bağlanmış ve
   unicode karakterlerin yerini alan SVG ikonlar için kurallar eklenmiştir.
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. Tasarım değişkenleri
   --------------------------------------------------------------------- */
:root {
    /* Renk ailesi — referans tasarımdan */
    --primary:        #0964e8;   /* ana mavi (link, vurgu) */
    --primary-strong: #0b72ff;   /* aktif menü çizgisi */
    --secondary:      #06275f;   /* lacivert (logo, başlık) */
    --accent:         #ff4b0a;   /* turuncu (CTA, vurgu kelime) */
    --accent-grad:    linear-gradient(135deg, #ff6700, #f04406);
    --success:        #05926e;   /* yeşil buton */

    --text:   #09265d;
    --muted:  #536b91;
    --line:   #e2e9f2;
    --border: #dce4ef;

    /* Yüzeyler */
    --bg:          #fff;
    --bg-soft:     #f6f8fc;
    --bg-hero:     #f7faff;
    --bg-warm:     #fff7eb;

    /* Ölçü sistemi */
    --container: 1200px;         /* ana içerik genişliği */
    --gutter:    92px;           /* masaüstü kenar boşluğu */
    --radius:    8px;
    --radius-sm: 6px;
    --radius-lg: 9px;

    /* Gölgeler */
    --shadow-sm: 0 2px 7px #06275f0b;
    --shadow-md: 0 3px 10px #183c7117;
    --shadow-lg: 0 4px 16px #12346b20;

    /* Tipografi — public site Rosario; admin panel kendi fontunu kullanır */
    --font: "Rosario", Arial, sans-serif;

    /* Linkli içerik başlıklarının hover rengi (buton/nav/UI bileşenleri hariç) */
    --title-hover: #9f1d20;
}

/* Rosario — self-host, yalnızca kullanılan 400/700 ağırlıkları,
   Türkçe dahil Latin alt kümesi (SIL OFL, lisans: assets/fonts/OFL.txt) */
@font-face {
    font-family: "Rosario"; font-style: normal; font-weight: 400; font-display: swap;
    src: url("../fonts/rosario-400.woff2") format("woff2");
}
@font-face {
    font-family: "Rosario"; font-style: normal; font-weight: 700; font-display: swap;
    src: url("../fonts/rosario-700.woff2") format("woff2");
}

/* ---------------------------------------------------------------------
   2. Temel
   --------------------------------------------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
    margin: 0;
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    -webkit-text-size-adjust: 100%;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { max-width: 100%; }

.shell { width: min(var(--container), calc(100% - var(--gutter))); margin-inline: auto; }

/* Erişilebilirlik */
.visually-hidden {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 60;
    background: var(--secondary); color: #fff; padding: 10px 16px;
    border-radius: var(--radius-sm); font-weight: 700; font-size: 13px;
    transition: top .15s;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--primary-strong); outline-offset: 2px; border-radius: 3px; }

/* SVG ikon sistemi — unicode karakterlerin yerini alır */
.icon { width: 1em; height: 1em; display: inline-block; vertical-align: middle; flex: 0 0 auto; }

/* ---------------------------------------------------------------------
   3. Header
   --------------------------------------------------------------------- */
.site-header {
    height: 60px; background: #fff; border-bottom: 1px solid #e6ebf2;
    position: sticky; top: 0; z-index: 20;
}
.nav-wrap { height: 100%; display: flex; align-items: center; }
.brand img { display: block; width: 131px; height: 37px; }

.nav {
    margin-left: auto; display: flex; height: 100%; gap: 24px;
    align-items: center; font-size: 14px;
}
.nav-item { position: relative; height: 100%; display: flex; align-items: center; }
.nav > a, .nav-item > a {
    height: 100%; display: flex; align-items: center; gap: 7px;
    white-space: nowrap; position: relative;
}
.nav-link { transition: color .2s ease; }
.nav-link:hover { color: var(--primary-strong); }
.nav a.active { font-weight: 700; }
.nav a.active::after {
    content: ""; position: absolute; height: 2px; left: 0; right: 0; bottom: 0;
    background: var(--primary-strong);
}
.nav-icon { display: grid; place-items: center; color: var(--muted); transition: color .2s ease; }
.nav-icon .icon { width: 16px; height: 16px; }
.nav-link:hover .nav-icon, .nav-link.active .nav-icon { color: var(--primary-strong); }

/* Alt menü açma düğmesi (ok) */
.sub-toggle {
    background: none; border: 0; padding: 4px 2px; margin-left: 2px; cursor: pointer;
    color: var(--muted); display: grid; place-items: center; border-radius: 4px;
}
.sub-toggle .icon { width: 12px; height: 12px; transition: transform .2s ease; }
.nav-item.open > .sub-toggle .icon { transform: rotate(180deg); }

/* Dropdown paneli — masaüstü */
.sub-menu {
    position: absolute; top: 100%; left: -14px; min-width: 210px; z-index: 30;
    background: #fff; border: 1px solid #e6ebf2; border-radius: var(--radius);
    box-shadow: var(--shadow-lg); padding: 7px;
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}
/* Panel ile menü arasında fare boşluğu oluşmasın diye görünmez köprü */
.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav-item.open > .sub-menu {
    opacity: 1; visibility: visible; transform: translateY(0);
    transition: opacity .18s ease, transform .18s ease, visibility 0s;
}
.sub-menu a {
    display: block; padding: 8px 11px; border-radius: var(--radius-sm);
    font-size: 13.5px; white-space: nowrap; transition: background .15s ease, color .15s ease;
}
.sub-menu a:hover, .sub-menu a:focus-visible { background: var(--bg-soft); color: var(--primary-strong); }

.nav-actions { display: flex; gap: 13px; align-items: center; }
.icon-button {
    background: none; border: 0; color: var(--secondary); line-height: 1;
    padding: 4px; cursor: pointer; display: grid; place-items: center;
}
.icon-button .icon { width: 21px; height: 21px; }
.menu-toggle {
    display: none; border: 0; background: #fff; color: var(--secondary);
    padding: 4px; cursor: pointer;
}
.menu-toggle .icon { width: 25px; height: 25px; }

/* Header arama (ikon ile açılan) */
.header-search { display: none; border-top: 1px solid #e6ebf2; background: #fff; padding: 12px 0; }
.header-search.open { display: block; }
.header-search form { display: flex; gap: 8px; }
.header-search input {
    flex: 1; height: 42px; border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 0 14px; min-width: 0;
}
.header-search button {
    background: var(--accent-grad); color: #fff; border: 0;
    border-radius: var(--radius-sm); padding: 0 20px; font-weight: 700; cursor: pointer;
}

/* ---------------------------------------------------------------------
   4. Hero
   --------------------------------------------------------------------- */
.hero {
    /* Görsel ve geçiş, viewport yüzdesine değil içerik ızgarasına bağlanır;
       böylece 1440px ve üzerinde kompozisyon 1200px düzenle aynı kalır. */
    --shell-w: min(var(--container), calc(100% - var(--gutter)));
    --shell-x: calc((100% - var(--shell-w)) / 2);
    height: 360px; position: relative; overflow: hidden;
    background: linear-gradient(90deg, #f7faff 0%, #f5f8fb 53%, transparent 67%);
}
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg,
        #f7faff 0%,
        #f7faff calc(var(--shell-x) + var(--shell-w) * .42),
        rgba(247,250,255,.82) calc(var(--shell-x) + var(--shell-w) * .53),
        rgba(247,250,255,0) calc(var(--shell-x) + var(--shell-w) * .69));
}
/* Görsel <picture> ile basılır; object-fit sayesinde daha yüksek çözünürlüklü
   bir dosyayla değiştirildiğinde crop ve ölçüler bozulmaz. */
.hero-image { position: absolute; inset: 0 0 0 calc(var(--shell-x) + var(--shell-w) * .47); }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

.hero-inner { position: relative; z-index: 2; padding-top: 38px; }
.hero-copy { width: 65%; }
.eyebrow {
    display: inline-block; background: #dce8f8; padding: 6px 12px;
    border-radius: 10px; font-size: 12px; font-weight: 700;
}
.hero h1 { font-size: 39px; line-height: 1.05; letter-spacing: -1.3px; margin: 12px 0 8px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { font-size: 16px; line-height: 1.5; margin: 0 0 16px; }

.hero-search {
    height: 55px; background: #fff; border-radius: var(--radius-lg);
    display: flex; align-items: center; box-shadow: var(--shadow-lg);
    border: 1px solid #edf0f5; padding-left: 17px;
}
.search-icon { margin-right: 12px; color: #0b2f66; display: grid; place-items: center; }
.search-icon .icon { width: 21px; height: 21px; }
.hero-search input {
    flex: 1; border: 0; outline: 0; color: #48648c; font-size: 13px;
    min-width: 0; background: transparent;
}
.hero-search button, .newsletter button {
    align-self: stretch; background: var(--accent-grad); color: #fff; border: 0;
    border-radius: 7px; padding: 0 24px; font-weight: 700; margin: 6px; cursor: pointer;
}
.hero-search button:hover, .newsletter button:hover { filter: brightness(1.05); }

.popular {
    display: flex; align-items: center; gap: 9px; margin-top: 13px;
    font-size: 12px; white-space: nowrap;
}
.popular b { flex: 0 0 auto; }
.popular a {
    border: 0; background: #fff; color: var(--text); font-weight: 700;
    border-radius: 17px; padding: 8px 12px; box-shadow: var(--shadow-md);
}
.popular a:hover { color: var(--primary); }

/* ---------------------------------------------------------------------
   5. Cihaz kategorileri
   --------------------------------------------------------------------- */
.category-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; padding-top: 13px; }
.category {
    height: 138px; border-radius: var(--radius); display: flex; flex-direction: column;
    align-items: center; justify-content: center; position: relative; text-align: center;
    /* alt padding, iki satırlık başlığın alttaki ok butonuyla çakışmasını engeller */
    padding: 8px 8px 34px;
    transition: transform .15s ease, box-shadow .15s ease;
}
.category:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.category strong { font-size: 14px; line-height: 1.12; color: var(--secondary); }
.category .device-icon { margin-bottom: 8px; display: grid; place-items: center; }
.category .device-icon .icon { width: 46px; height: 46px; }
/* Yatay, ince pill ok butonu */
.category .go {
    position: absolute; bottom: 11px; left: 50%; transform: translateX(-50%);
    width: 42px; height: 22px; border-radius: 11px; background: #fff;
    display: grid; place-items: center; box-shadow: 0 1px 5px #183c711c;
    transition: background .2s ease, transform .2s ease;
}
.category .go .icon { width: 13px; height: 13px; }
.category:hover .go { background: currentColor; transform: translateX(-50%) translateX(2px); }
.category:hover .go .icon { color: #fff; }

/* Pastel renk aileleri — referans sınıfları */
.c1, .c4, .c7 { background: #eef8ff; color: #0073f5; }
.c2 { background: #f2efff; color: #6630f4; }
.c3 { background: #fff0f0; color: #ff3947; }
.c5 { background: #fff7ea; color: #ff7a00; }
.c6 { background: #edf9f6; color: #00a779; }

/* ---------------------------------------------------------------------
   6. İçerik ızgarası: yazı listesi + sağ kolon
   --------------------------------------------------------------------- */
.content-grid {
    display: grid; grid-template-columns: minmax(0, 2.35fr) minmax(260px, .9fr);
    gap: 42px; padding-top: 22px;
}
.section-head, .brands-head { display: flex; align-items: center; justify-content: space-between; }
.section-head h2 { font-size: 25px; margin: 0 0 13px; position: relative; }
.section-head h2::after {
    content: ""; position: absolute; width: 26px; height: 3px;
    background: #0c71ff; left: 0; bottom: -7px; border-radius: 2px;
}
.section-head a, .brands-head a { font-size: 12px; color: #006deb; display: inline-flex; align-items: center; gap: 6px; }
.section-head a .icon, .brands-head a .icon { width: 13px; height: 13px; }

/* Yatay yazı kartı: görsel solda, içerik sağda */
.article {
    display: grid; grid-template-columns: 200px 1fr; gap: 20px;
    padding: 0 0 10px; margin-bottom: 12px; border-bottom: 1px solid var(--line);
    min-height: 116px;
}
.article:last-child { border-bottom: 0; }
.article img { width: 200px; height: 104px; object-fit: cover; border-radius: 7px; background: var(--bg-soft); }
.article h3 { font-size: 18px; margin: 5px 0 7px; line-height: 1.15; transition: color .22s ease; }
.article a:hover h3 { color: var(--title-hover); }
.article p { font-size: 13px; color: var(--muted); line-height: 1.45; margin: 0 0 7px; }
.article .meta { font-size: 12px; color: #43638f; display: flex; align-items: center; gap: 6px; }
.article .meta .sep { width: 18px; }
.article .meta .icon { width: 13px; height: 13px; }

.tag { display: inline-block; font-weight: 700; font-size: 11px; padding: 4px 6px; border-radius: 4px; }
.tag.blue, .tag.sky { background: #d8ecff; color: #0862cc; }
.tag.green  { background: #d7f6e6; color: #008c59; }
.tag.orange { background: #ffe0cb; color: #f45c00; }
.tag.violet { background: #eadcff; color: #6929e5; }

/* ---------------------------------------------------------------------
   7. Sağ kolon bileşenleri
   --------------------------------------------------------------------- */
.sidebar { padding-top: 5px; }
.info-card { border-radius: var(--radius); margin-bottom: 14px; padding: 17px; }

.solution { display: grid; grid-template-columns: 49px 1fr; background: linear-gradient(135deg, #effcf7, #ecfaf5); }
.solution .bulb { color: #f2a71b; }
.solution .bulb .icon { width: 30px; height: 30px; }
.solution h3 { margin: 0; font-size: 19px; line-height: 1.16; }
.solution p { font-size: 13px; line-height: 1.55; color: var(--muted); margin: 8px 0 14px; }
.solution .cta {
    grid-column: 1 / -1; background: var(--success); color: #fff; text-align: center;
    border-radius: var(--radius-sm); padding: 12px; font-weight: 700; font-size: 13px;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.solution .cta .icon { width: 14px; height: 14px; }

.searched { background: var(--bg-soft); }
.searched h3, .newsletter h3 { font-size: 17px; margin: 0 0 14px; display: flex; align-items: center; gap: 8px; }
.searched h3 .icon { width: 19px; height: 19px; color: #ff5b1f; }
.newsletter h3 .icon { width: 20px; height: 20px; color: var(--accent); }

.searched ol { counter-reset: item; list-style: none; padding: 0; margin: 0; }
.searched li { counter-increment: item; font-size: 13px; margin: 0 0 13px; display: flex; align-items: center; }
.searched li:last-child { margin-bottom: 0; }
.searched li::before {
    content: counter(item); background: #0c2d64; color: #fff; border-radius: 50%;
    width: 25px; height: 25px; display: grid; place-items: center; margin-right: 11px;
    font-weight: 700; font-size: 12px; flex: 0 0 auto;
}
.searched li a { transition: color .22s ease; }
.searched li a:hover { color: var(--title-hover); }

.newsletter { background: var(--bg-warm); }
.newsletter p { font-size: 12px; color: var(--muted); line-height: 1.5; margin: 0 0 12px; }
.newsletter form { display: flex; height: 42px; }
.newsletter input { min-width: 0; flex: 1; border: 1px solid #d8e0ea; border-radius: var(--radius-sm); padding: 0 12px; }
.newsletter button { margin: 0 0 0 8px; padding: 0 15px; }
.newsletter small { font-size: 11px; color: #5c7193; display: block; margin-top: 11px; }
.newsletter .form-message { font-size: 12px; margin-top: 10px; font-weight: 700; }
.newsletter .form-message.ok { color: #05926e; }
.newsletter .form-message.error { color: #d92b2b; }

.brands { margin-top: 27px; }
.brands-head h3 { margin: 0 0 12px; font-size: 18px; display: flex; align-items: center; gap: 8px; }
.brands-head h3 .icon { width: 20px; height: 20px; color: #e23a2e; }
.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.brand-grid a {
    height: 48px; border: 1px solid #e1e8f0; border-radius: 7px; display: grid;
    place-items: center; background: #fff; box-shadow: 0 2px 5px #06275f0a;
    font-size: 14px; font-weight: 700; padding: 6px; text-align: center;
}
.brand-grid a:hover { border-color: #c9d6e6; }
.brand-grid img { max-height: 30px; width: auto; object-fit: contain; }

/* ---------------------------------------------------------------------
   8. Reklam alanları
   Reklam yoksa hiçbir kapsayıcı basılmaz (PHP tarafında boş string döner),
   dolayısıyla boş beyaz alan oluşmaz.
   --------------------------------------------------------------------- */
.ad-zone { margin-top: 8px; margin-bottom: 12px; position: relative; }
.ad-zone--labelled { padding-top: 16px; }
.ad-label {
    position: absolute; top: 0; left: 0; font-size: 10px; letter-spacing: .4px;
    text-transform: uppercase; color: #8496af; font-weight: 700;
}
.ad-zone a, .ad-zone img { display: block; }
.ad-zone img { width: 100%; height: 80px; object-fit: cover; border-radius: 7px; }
/* Mobil kreatif yüklendiğinde <picture> media sorgusuyla devreye girer ve
   masaüstü bannerının okunmaz hale gelmesini önler. */
.ad-zone--has-mobile img { height: auto; }
/* Sağ kolon reklamları kırpılmaz (ör. 300x250); sınıf adları AdService'in
   ürettiği ad-zone--{zone} biçimine uyar. */
.ad-zone--sidebar_top img, .ad-zone--sidebar_middle img { height: auto; }
/* AdService her alanı geniş banner için .shell ile sarar (100% - kenar boşluğu);
   sağ kolonda bu, reklamı daraltıyordu. Kolon içinde tam genişlik kullanılır. */
.sidebar .ad-zone { width: 100%; margin: 0 0 14px; }

/* ---------------------------------------------------------------------
   9. Footer
   --------------------------------------------------------------------- */
footer {
    background: radial-gradient(circle at 76% 0, #18354a, #071d2d 65%);
    color: #d4dde5; padding: 28px 0 16px;
}
.footer-grid { display: grid; grid-template-columns: 1.45fr .8fr .9fr 1.45fr; gap: 40px; align-items: start; }
.footer-logo { color: #fff; font-size: 27px; font-weight: 700; line-height: 1; display: flex; align-items: flex-start; gap: 11px; }
.footer-logo .mark { color: #fff; }
.footer-logo .mark .icon { width: 34px; height: 34px; }
.footer-logo b { color: var(--accent); }
.footer-logo small { display: block; font-size: 9px; font-weight: 400; margin: 5px 0 0; }
.footer-brand p { font-size: 12px; line-height: 1.5; }
.footer-grid h4 { color: #fff; font-size: 12px; margin: 0 0 12px; }
.footer-grid .links a { display: block; font-size: 12px; line-height: 1.7; color: #aebbc7; }
.footer-grid .links a:hover { color: #fff; }
.socials { display: flex; gap: 18px; margin-top: 15px; }
.socials a { color: #fff; display: grid; place-items: center; }
.socials .icon { width: 20px; height: 20px; }
/* Footer newsletter — koyu zemine uyarlanmış */
.footer-newsletter p { font-size: 12px; line-height: 1.5; color: #aebbc7; margin: 0 0 12px; }
.footer-newsletter form { display: flex; height: 42px; gap: 8px; }
.footer-newsletter input {
    flex: 1; min-width: 0; border-radius: var(--radius-sm); padding: 0 12px;
    background: #ffffff12; border: 1px solid #ffffff2e; color: #fff;
}
.footer-newsletter input::placeholder { color: #9fb0c2; }
.footer-newsletter input:focus { outline: 0; border-color: #ffffff66; background: #ffffff1a; }
.footer-newsletter button {
    background: var(--accent-grad); color: #fff; border: 0; border-radius: var(--radius-sm);
    padding: 0 16px; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.footer-newsletter button:hover { filter: brightness(1.06); }
.footer-newsletter small { display: block; font-size: 11px; color: #8fa2b5; margin-top: 10px; }
.footer-newsletter .form-message { font-size: 12px; font-weight: 700; margin: 8px 0 0; }
.footer-newsletter .form-message:empty { display: none; }
.footer-newsletter .form-message.ok { color: #5fe0b4; }
.footer-newsletter .form-message.error { color: #ff9a9a; }
.footer-note { padding-top: 10px; text-align: center; }
.footer-note svg { width: 100%; max-width: 190px; height: auto; }
.copyright {
    display: flex; justify-content: space-between; margin-top: 20px;
    color: #98aabc; font-size: 11px;
}

/* ---------------------------------------------------------------------
   10. Arama sonuçları / boş durumlar / hata sayfası
   --------------------------------------------------------------------- */
.page-head { padding-top: 26px; }
.page-head h1 { font-size: 29px; margin: 0 0 8px; letter-spacing: -.6px; }
.page-head p { color: var(--muted); font-size: 14px; margin: 0; }
.page-search { max-width: 640px; margin: 18px 0 6px; }
.empty-state {
    background: var(--bg-soft); border-radius: var(--radius); padding: 28px;
    text-align: center; color: var(--muted); font-size: 14px; line-height: 1.6;
}
.empty-state strong { display: block; color: var(--text); font-size: 16px; margin-bottom: 6px; }
.error-page { text-align: center; padding: 60px 0 30px; }
.error-page .code { font-size: 64px; font-weight: 700; color: var(--primary); line-height: 1; letter-spacing: -2px; }
.error-page h1 { font-size: 27px; margin: 12px 0 8px; }
.error-page p { color: var(--muted); margin: 0 auto 22px; max-width: 520px; line-height: 1.6; }

/* Toast bildirimi */
#toast {
    position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 80px);
    opacity: 0; background: #082c5e; color: #fff; padding: 11px 18px;
    border-radius: 7px; transition: .25s; z-index: 40; font-size: 13px; pointer-events: none;
}
#toast.show { transform: translate(-50%, 0); opacity: 1; }


/* ---------------------------------------------------------------------
   12. Breadcrumb
   --------------------------------------------------------------------- */
.breadcrumb { padding: 14px 0 0; font-size: 12px; color: var(--muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; padding: 0; }
.breadcrumb li { display: flex; align-items: center; gap: 6px; }
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep .icon { width: 10px; height: 10px; color: #9fb0c8; }
.breadcrumb [aria-current] { color: var(--text); font-weight: 700; }

/* ---------------------------------------------------------------------
   13. İçerik detay sayfası
   --------------------------------------------------------------------- */
.post { padding-top: 4px; }
.post > h1 { font-size: 32px; line-height: 1.15; letter-spacing: -.8px; margin: 10px 0 14px; }

/* GEO: "cevap önce" kutusu */
.quick-answer {
    background: linear-gradient(135deg, #eff7ff, #f4f9ff);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius); padding: 15px 17px; margin-bottom: 16px;
}
.quick-answer strong {
    display: block; font-size: 11px; letter-spacing: .6px; text-transform: uppercase;
    color: var(--primary); margin-bottom: 6px;
}
.quick-answer p { margin: 0; font-size: 15px; line-height: 1.6; }

.post-meta {
    display: flex; flex-wrap: wrap; align-items: center; gap: 7px;
    font-size: 12px; color: #43638f; margin-bottom: 16px;
}
.post-meta .icon { width: 13px; height: 13px; }
.post-meta .dot { color: #b6c4d6; }

.post-image { margin: 0 0 18px; }
.post-image img {
    width: 100%; height: auto; max-height: 360px; object-fit: cover;
    border-radius: var(--radius); display: block; background: var(--bg-soft);
}

/* İçindekiler */
.toc { background: var(--bg-soft); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 20px; }
.toc h2 { font-size: 14px; margin: 0 0 10px; }
.toc ol { margin: 0; padding-left: 18px; }
.toc li { font-size: 13px; line-height: 1.9; }
.toc li.level-3 { margin-left: 14px; font-size: 12.5px; }
.toc a { color: var(--primary); }
.toc a:hover { text-decoration: underline; }

/* Gövde tipografisi */
.post-body { font-size: 15px; line-height: 1.72; }
.post-body h2 { font-size: 22px; margin: 28px 0 10px; letter-spacing: -.4px; scroll-margin-top: 76px; }
.post-body h3 { font-size: 18px; margin: 22px 0 8px; scroll-margin-top: 76px; }
.post-body p { margin: 0 0 14px; }
.post-body ul, .post-body ol { margin: 0 0 16px; padding-left: 22px; }
.post-body li { margin-bottom: 7px; }
.post-body a { color: var(--primary); text-decoration: underline; }
.post-body img { max-width: 100%; height: auto; border-radius: 7px; }
.post-body blockquote {
    margin: 0 0 16px; padding: 12px 16px; border-left: 4px solid var(--line);
    background: var(--bg-soft); border-radius: 0 var(--radius) var(--radius) 0; color: var(--muted);
}
.post-body table { width: 100%; border-collapse: collapse; margin-bottom: 16px; font-size: 14px; }
.post-body th, .post-body td { border: 1px solid var(--line); padding: 9px 11px; text-align: left; }
.post-body th { background: var(--bg-soft); font-size: 13px; }
.table-scroll { overflow-x: auto; }

/* Bilgi / uyarı kutuları */
.callout {
    display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start;
    border-radius: var(--radius); padding: 15px 17px; margin: 18px 0; font-size: 14px; line-height: 1.6;
}
.callout p { margin: 0; }
.callout strong { display: block; margin-bottom: 4px; }
.callout .icon { width: 22px; height: 22px; }
.callout--info    { background: #eff7ff; color: #0d3f7d; }
.callout--info .icon { color: #f2a71b; }
.callout--warning { background: #fff4ed; color: #8a3b10; }
.callout--warning .icon { color: #f4601c; }
.callout--success { background: #edfaf4; color: #0a6249; }
.callout--success .icon { color: #05926e; }

/* SSS */
.faq { margin: 26px 0; }
.faq h2 { font-size: 22px; margin: 0 0 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 9px; background: #fff; }
.faq summary {
    cursor: pointer; padding: 13px 16px; font-weight: 700; font-size: 14px;
    list-style: none; display: flex; justify-content: space-between; gap: 10px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--primary); font-size: 19px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 16px 14px; font-size: 14px; line-height: 1.65; color: var(--muted); }

/* Entity linkleri, kaynaklar, ilgili içerikler */
.entity-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 24px 0; }
.entity-links h3 { font-size: 13px; margin: 0 0 8px; }
.entity-links a {
    display: inline-block; font-size: 12px; font-weight: 700; color: var(--primary);
    background: #eff5ff; border-radius: 15px; padding: 5px 11px; margin: 0 5px 5px 0;
}
.entity-links a:hover { background: #e2edff; }
.sources { margin: 22px 0; font-size: 13px; color: var(--muted); }
.sources h2 { font-size: 16px; color: var(--text); margin: 0 0 6px; }
.related { margin-top: 28px; }
.related .section-head h2 { font-size: 22px; }
.disclaimer {
    display: flex; align-items: flex-start; gap: 9px; background: var(--bg-soft);
    border-radius: var(--radius); padding: 11px 14px; font-size: 12px; color: var(--muted);
    line-height: 1.55; margin: 14px 0 0;
}
.disclaimer .icon { width: 16px; height: 16px; color: #f4601c; flex: 0 0 auto; margin-top: 1px; }

/* ---------------------------------------------------------------------
   14. Cihaz / marka sayfaları
   --------------------------------------------------------------------- */
.device-head { display: flex; align-items: center; gap: 16px; }
.device-badge { width: 58px; height: 58px; border-radius: var(--radius); display: grid; place-items: center; flex: 0 0 auto; }
.device-badge .icon { width: 30px; height: 30px; }
.device-section { margin-bottom: 26px; }
.device-section .section-head h2 { font-size: 21px; }

.chip-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip-list a {
    font-size: 12px; font-weight: 700; background: #fff; border: 1px solid var(--border);
    border-radius: 17px; padding: 8px 13px; box-shadow: var(--shadow-sm);
}
.chip-list a:hover { border-color: var(--primary); color: var(--primary); }

.card-list { display: grid; gap: 10px; padding: 18px 0 8px; }
.link-card {
    display: grid; grid-template-columns: 58px 1fr 18px; gap: 16px; align-items: center;
    border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; background: #fff;
}
.link-card:hover { border-color: #c9d9ee; box-shadow: var(--shadow-sm); }
.link-card h2 { font-size: 17px; margin: 0 0 4px; transition: color .22s ease; }
.link-card:hover h2 { color: var(--title-hover); }
.link-card p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.5; }
.link-card > .icon { width: 16px; height: 16px; color: #9fb0c8; }
.brand-mark {
    height: 48px; border: 1px solid var(--line); border-radius: 7px; display: grid;
    place-items: center; font-weight: 700; font-size: 13px; text-align: center; padding: 4px;
}
.brand-mark img { max-height: 28px; width: auto; object-fit: contain; }

/* ---------------------------------------------------------------------
   15. Sayfalama ve formlar
   --------------------------------------------------------------------- */
.pagination { display: flex; flex-wrap: wrap; gap: 7px; padding: 18px 0 4px; }
.pagination a {
    min-width: 36px; height: 36px; display: grid; place-items: center; padding: 0 10px;
    border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 13px; font-weight: 700;
}
.pagination a.current { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination a:not(.current):hover { border-color: var(--primary); color: var(--primary); }

.form { margin-top: 20px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 16px; }
.form-row { margin-bottom: 14px; display: flex; flex-direction: column; }
.form-row label { font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.form-row input, .form-row select, .form-row textarea {
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    padding: 11px 13px; font-size: 14px; background: #fff; color: var(--text); width: 100%;
}
.form-row textarea { resize: vertical; min-height: 110px; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--primary); outline: none; }
.form-row em { font-style: normal; color: #d92b2b; font-size: 12px; margin-top: 5px; }
.btn-primary {
    background: var(--accent-grad); color: #fff; border: 0; border-radius: var(--radius-sm);
    padding: 13px 26px; font-weight: 700; cursor: pointer; font-size: 14px;
}
.btn-primary:hover { filter: brightness(1.05); }

/* ---------------------------------------------------------------------
   16. Detay sayfaları için responsive ek kurallar
   --------------------------------------------------------------------- */
@media (max-width: 900px) {
    .entity-links { grid-template-columns: 1fr; gap: 14px; }
    .card-list { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
    .post > h1 { font-size: 24px; }
    .post-body { font-size: 14.5px; }
    .post-body h2 { font-size: 19px; }
    .post-body h3 { font-size: 16px; }
    .quick-answer p { font-size: 14px; }
    .form-grid { grid-template-columns: 1fr; }
    .link-card { grid-template-columns: 46px 1fr; }
    .link-card > .icon { display: none; }
    .device-badge { width: 46px; height: 46px; }
    .device-badge .icon { width: 24px; height: 24px; }
    .breadcrumb { font-size: 11px; }
}

/* ---------------------------------------------------------------------
   11. Responsive — mobil ayrı düşünülmüştür, küçültülmüş masaüstü değildir
   --------------------------------------------------------------------- */
/* Hamburger eşiğinin hemen üstü (901–1023px): ikonlu 7 öğelik menü logoya
   çarpmasın diye yalnızca bu aralıkta sıkılaştırılır; masaüstü görünüm aynı. */
@media (min-width: 901px) and (max-width: 1023px) {
    .nav { gap: 12px; font-size: 13.5px; }
    .nav-link { gap: 5px; }
    .nav-icon .icon { width: 14px; height: 14px; }
}
@media (max-width: 900px) {
    .shell { width: min(100% - 28px, var(--container)); }
    .site-header { height: 58px; }
    .brand img { width: 128px; height: 36px; }

    .menu-toggle { display: block; margin-left: auto; order: 3; }
    .nav-actions { order: 2; margin-left: auto; }
    .nav {
        display: none; position: absolute; top: 58px; left: 0; right: 0;
        background: #fff; height: auto; flex-direction: column; align-items: stretch;
        gap: 0; padding: 10px 20px; box-shadow: 0 12px 20px #06275f1c;
    }
    .nav.open { display: flex; }
    .nav > a, .nav-item > a { padding: 13px 0; height: auto; }
    .nav a.active::after { display: none; }
    /* Mobil/tablet: alt menü dokunma ile açılır, akış içinde görünür */
    .nav-item { height: auto; flex-wrap: wrap; border-bottom: 1px solid #eef2f7; }
    .nav-item:last-child { border-bottom: 0; }
    .nav-item > .nav-link { flex: 1; }
    .sub-toggle { padding: 10px 8px; margin: 0; }
    .sub-toggle .icon { width: 15px; height: 15px; }
    .sub-menu {
        position: static; flex-basis: 100%; min-width: 0; display: none;
        opacity: 1; visibility: visible; transform: none; transition: none;
        border: 0; box-shadow: none; padding: 0 0 10px 23px; background: transparent;
    }
    .sub-menu::before { display: none; }
    .nav-item.open > .sub-menu { display: block; }

    .hero { height: auto; min-height: 460px; background: var(--bg-hero); }
    .hero::before {
        background: linear-gradient(#f7faff 0%, #f7faff 54%, rgba(247,250,255,.78) 78%, rgba(247,250,255,.1));
    }
    .hero-image { inset: 220px 0 0 0; }
    .hero-image img { object-position: center top; }
    .hero-inner { padding: 24px 0 28px; }
    .hero-copy { width: 100%; }
    .hero h1 { font-size: 34px; }
    .hero p br { display: none; }
    .hero-search { margin-top: 180px; }
    .popular { overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .popular::-webkit-scrollbar { display: none; }

    .category-grid { grid-template-columns: repeat(4, 1fr); }
    .content-grid { grid-template-columns: 1fr; gap: 28px; }
    .sidebar { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 0; align-items: start; }
    .info-card { margin: 0; }
    .brands { margin: 0; }

    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-newsletter { grid-column: 1 / -1; max-width: 520px; }
    .footer-note { display: none; }
    /* Tablet/mobilde sağ kolon reklamı standart ölçüyü (~336px) aşıp
       satır boyunca yayılmasın; ortalanır. */
    .sidebar .ad-zone { grid-column: 1 / -1; width: 100%; max-width: 360px; justify-self: center; margin: 0; }
}

@media (max-width: 620px) {
    .hero h1 { font-size: 29px; }
    .hero p { font-size: 14px; }
    .hero-search { height: 52px; }
    .hero-search input { font-size: 12px; }
    .hero-search button { padding: 0 17px; }

    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .category { height: 134px; padding-bottom: 36px; }
    .category .device-icon .icon { width: 42px; height: 42px; }

    .article { grid-template-columns: 125px 1fr; gap: 12px; }
    .article img { width: 125px; height: 105px; }
    .article h3 { font-size: 15px; }
    .article p {
        font-size: 12px; display: -webkit-box; -webkit-line-clamp: 2;
        -webkit-box-orient: vertical; overflow: hidden;
    }
    .article .meta { font-size: 10px; }
    .article .meta .sep { width: 8px; }

    .sidebar { grid-template-columns: 1fr; }
    .ad-zone img { height: 72px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-newsletter { max-width: none; }
    .copyright { gap: 15px; flex-direction: column; }
    .popular b { display: none; }
    .page-head h1 { font-size: 23px; }
}
