/* rulmanarama.com — Rehber (blog) sayfaları ortak stil */
:root {
  --bg: #ffffff;
  --surface-2: #f4f6fb;
  --ink: #0f172a;
  --ink-2: #475569;
  --ink-3: #94a3b8;
  --line: #e2e8f0;
  --line-2: #cbd5e1;
  --accent: #E30A17;
  --accent-ink: #b80d12;
  --accent-soft: #fff0f0;
  --accent2: #003F9A;
  --accent2-ink: #002d73;
  --accent2-soft: #e8f0fc;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: var(--accent2); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: 100%; max-width: 820px; margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: 1100px; }

/* marka şeridi */
.brand-stripe { height: 4px; display: flex; }
.brand-stripe .s-red { flex: 1; background: var(--accent); }
.brand-stripe .s-blue { flex: 1; background: var(--accent2); }

/* header */
.site-head { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 20; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; max-width: 1100px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo:hover { text-decoration: none; }
.logo-mark { color: var(--accent); display: flex; }
.logo-txt { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--ink); letter-spacing: -0.01em; }
.logo-txt .dim { color: var(--ink-3); font-weight: 500; }
.head-nav { display: flex; align-items: center; gap: 22px; }
.head-nav a { font-family: var(--font-display); font-weight: 600; font-size: 14.5px; color: var(--ink-2); }
.head-cta {
  background: var(--accent2); color: #fff !important; padding: 9px 18px; border-radius: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
}
.head-cta:hover { background: var(--accent2-ink); text-decoration: none; }
@media (max-width: 640px) { .head-nav a.nav-link { display: none; } }

/* breadcrumb */
.crumb { font-size: 13.5px; color: var(--ink-3); margin: 22px 0 0; font-family: var(--font-mono); }
.crumb a { color: var(--ink-2); }
.crumb span { margin: 0 7px; }

/* article */
.article { padding: 8px 0 56px; }
.eyebrow { font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin: 22px 0 0; }
.article h1 {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 4.6vw, 40px);
  line-height: 1.12; letter-spacing: -0.02em; margin: 12px 0 0; text-wrap: balance;
}
.article-meta { display: flex; gap: 16px; align-items: center; margin: 16px 0 0; font-size: 13.5px; color: var(--ink-3); font-family: var(--font-mono); }
.article-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-3); }
.lede { font-size: 19px; color: var(--ink-2); margin: 26px 0 0; line-height: 1.6; }
.article h2 {
  font-family: var(--font-display); font-weight: 700; font-size: 25px; letter-spacing: -0.01em;
  margin: 40px 0 0; padding-top: 4px;
}
.article h3 { font-family: var(--font-display); font-weight: 600; font-size: 19px; margin: 28px 0 0; }
.article p { margin: 16px 0 0; }
.article ul, .article ol { margin: 16px 0 0; padding-left: 22px; }
.article li { margin: 8px 0 0; }
.article strong { font-weight: 700; color: var(--ink); }
.article img { max-width: 100%; border-radius: 12px; border: 1px solid var(--line); margin: 26px 0 0; }

/* tablo */
.tbl-wrap { margin: 26px 0 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
table.spec { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.spec th, table.spec td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.spec thead th { background: var(--surface-2); font-family: var(--font-display); font-weight: 600; color: var(--ink); }
table.spec tbody tr:last-child td { border-bottom: none; }
table.spec td.code { font-family: var(--font-mono); font-weight: 600; color: var(--accent2); }
table.spec tbody tr:hover { background: var(--accent2-soft); }

/* bilgi kutusu */
.callout {
  margin: 28px 0 0; padding: 18px 20px; border-radius: 12px;
  background: var(--accent2-soft); border: 1px solid color-mix(in srgb, var(--accent2) 20%, transparent);
}
.callout.red { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 22%, transparent); }
.callout p { margin: 0; }
.callout .ct-title { font-family: var(--font-display); font-weight: 700; font-size: 15px; margin: 0 0 6px; color: var(--accent2); display: flex; align-items: center; gap: 8px; }
.callout.red .ct-title { color: var(--accent); }

/* CTA arama kutusu */
.cta-search {
  margin: 40px 0 0; padding: 28px; border-radius: 16px;
  background: linear-gradient(135deg, #fff, var(--accent2-soft));
  border: 1px solid var(--line); text-align: center;
}
.cta-search h3 { font-family: var(--font-display); font-weight: 700; font-size: 22px; margin: 0; }
.cta-search p { margin: 8px 0 0; color: var(--ink-2); }
.cta-btn {
  display: inline-flex; align-items: center; gap: 9px; margin: 18px 0 0;
  background: var(--accent); color: #fff !important; padding: 13px 26px; border-radius: 12px;
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
}
.cta-btn:hover { background: var(--accent-ink); text-decoration: none; }

/* ilgili makaleler */
.related { margin: 48px 0 0; padding-top: 36px; border-top: 1px solid var(--line); }
.related h2 { font-family: var(--font-display); font-weight: 700; font-size: 22px; margin: 0; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin: 20px 0 0; }
.related-card {
  display: block; padding: 18px; border-radius: 12px; border: 1px solid var(--line); background: #fff;
  transition: border-color .15s, box-shadow .15s, transform .1s;
}
.related-card:hover { border-color: var(--accent2); box-shadow: 0 8px 20px -12px rgba(0,63,154,.3); transform: translateY(-2px); text-decoration: none; }
.related-card .rc-tag { display: block; font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.06em; }
.related-card .rc-title { display: block; font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--ink); margin: 8px 0 0; line-height: 1.3; }

/* footer */
.site-foot { border-top: 1px solid var(--line); background: var(--surface-2); margin-top: 64px; }
.site-foot .wrap { max-width: 1100px; padding-top: 32px; padding-bottom: 32px; display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.site-foot .f-links { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; }
.site-foot .f-links a { color: var(--ink-2); }
.site-foot .f-copy { font-size: 13px; color: var(--ink-3); font-family: var(--font-mono); }

/* ===== Rehber hub ===== */
.hub-hero { padding: 48px 0 8px; text-align: center; }
.hub-hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 5vw, 46px); letter-spacing: -0.02em; margin: 14px 0 0; }
.hub-hero p { font-size: 18px; color: var(--ink-2); margin: 14px auto 0; max-width: 56ch; }
.hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; padding: 36px 0 56px; }
.hub-card {
  display: flex; flex-direction: column; padding: 24px; border-radius: 16px;
  border: 1px solid var(--line); background: #fff;
  transition: border-color .15s, box-shadow .15s, transform .1s;
}
.hub-card:hover { border-color: var(--accent2); box-shadow: 0 14px 32px -18px rgba(0,63,154,.35); transform: translateY(-3px); text-decoration: none; }
.hub-card .hc-tag { font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.07em; }
.hub-card .hc-title { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--ink); margin: 12px 0 0; line-height: 1.25; }
.hub-card .hc-desc { font-size: 15px; color: var(--ink-2); margin: 10px 0 0; flex: 1; }
.hub-card .hc-more { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--accent2); margin: 16px 0 0; display: inline-flex; align-items: center; gap: 6px; }


/* ===== Tip (kategori) sayfası ===== */
.type-hero { display: grid; grid-template-columns: 300px 1fr; gap: 36px; align-items: start; padding: 26px 0 0; }
@media (max-width: 760px) { .type-hero { grid-template-columns: 1fr; gap: 20px; } }
.type-figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.type-figure img { width: 100%; height: 220px; object-fit: contain; display: block; }
.type-figure figcaption { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); text-align: center; margin-top: 14px; }
.type-head h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px,4.2vw,38px); letter-spacing: -.02em; line-height: 1.12; margin: 10px 0 0; }
.type-head .lede { font-size: 18px; }
.type-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; }
.btn-primary { display: inline-flex; align-items: center; gap: 9px; background: var(--accent); color: #fff !important; padding: 13px 24px; border-radius: 12px; font-family: var(--font-display); font-weight: 600; font-size: 15.5px; }
.btn-primary:hover { background: var(--accent-ink); text-decoration: none; }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--accent2) !important; padding: 13px 22px; border-radius: 12px; font-family: var(--font-display); font-weight: 600; font-size: 15px; border: 1px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--accent2); text-decoration: none; }
.type-stats { display: flex; flex-wrap: wrap; gap: 22px; margin: 22px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); }
.type-stats .st b { font-family: var(--font-display); font-size: 22px; color: var(--accent2); display: block; white-space: nowrap; }
.type-stats .st span { font-size: 13px; color: var(--ink-3); }
.alltypes { margin: 44px 0 0; padding-top: 32px; border-top: 1px solid var(--line); }
.alltypes h2 { font-family: var(--font-display); font-weight: 700; font-size: 20px; margin: 0; }
.alltypes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 10px; margin: 18px 0 0; }
.alltypes-grid a { display: flex; justify-content: space-between; gap: 10px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 14px; color: var(--ink); font-weight: 500; }
.alltypes-grid a:hover { border-color: var(--accent2); color: var(--accent2); text-decoration: none; }
.alltypes-grid a.cur { background: var(--accent2); color: #fff; border-color: var(--accent2); }
.alltypes-grid a .c { color: var(--ink-3); font-family: var(--font-mono); font-size: 12px; }
.alltypes-grid a.cur .c { color: rgba(255,255,255,.7); }
.hub-figmini { width: 54px; height: 54px; object-fit: contain; flex-shrink: 0; }
