:root {
  --bg: #ffffff;
  --text: #15202b;
  --muted: #5d6b77;
  --border: #dfe5ea;
  --primary: #2424FF;
  --primary-dark: #005fd1;
  --accent: #ffb55c;
  --header: #455a64;
  --header-dark: #364851;
  --card: #f8fbfd;
  --success: #0b7a4b;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(0,0,0,.08);
  --container: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 18px/30px Inter, Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  left: 16px; top: 16px; width: auto; height: auto; z-index: 9999;
  background: #fff; padding: 10px 14px; border: 2px solid var(--primary); border-radius: 8px;
}

/* Container */
.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

/* ─── HEADER ─── */
.site-header {
  color: #fff;
  border-bottom: 2px solid rgb(217, 223, 223);
}
.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 700;
}
.brand img, .custom-logo { width: 150px; height: auto; }

/* WordPress custom-logo-link varsayılan margin:auto'yu sıfırla */
.custom-logo-link {
  display: inline-flex;
  align-items: center;
  margin: 0 !important;
  line-height: 0;
}

/* Brand yatay/dikey varyantları */
.brand--row {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
.brand--column {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

/* Başlık ve tagline metinleri */
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.site-title-text {
  font-weight: 700;
  font-size: 20px;
  color: #10212f;
}
.site-tagline-text {
  font-size: 0.8em;
  font-weight: 400;
  color: #5d6b77;
}
.header-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 700;
  line-height: 16px;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgb(237, 127, 0);
  font-weight: 700;
  transition: .2s ease;
  text-align: center;
}
.btn:hover, .btn:focus { text-decoration: none; transform: translateY(-1px); }
.btn-outline {
  background: rgb(241, 243, 243);
  color: #494848;
  border-color: rgba(255,255,255,.15);
}
.btn-primary {
  background: var(--accent);
  color: #273c46;
}
.btn-secondary {
  background: linear-gradient(90deg, var(--primary), #00c3ff);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,123,255,.25);
}
.btn-blue {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ─── HEADER NAV MENU ─── */
.brand,
.brand--row,
.brand--column {
  flex-shrink: 0;
}
.header-nav {
  display: flex;
  align-items: center;
  margin-left: auto;
}
.header-nav {
  display: flex;
  align-items: center;
}
.header-nav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
}
/* Menü linkleri — Prices butonu gibi (btn-outline) */
.header-nav-list li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgb(237, 127, 0);
  font-weight: 700;
  font-size: 14px;
  line-height: 16px;
  background: rgb(241, 243, 243);
  color: #494848;
  transition: .2s ease;
  text-decoration: none;
}
.header-nav-list li a:hover,
.header-nav-list li a:focus {
  text-decoration: none;
  transform: translateY(-1px);
}
.header-nav-list .current-menu-item > a {
  background: var(--accent);
  color: #273c46;
}
/* Menü item'a "menu-btn-primary" sınıfı eklenince Login/SignUp stili */
.header-nav-list li.menu-btn-primary > a {
  background: var(--accent);
  color: #273c46;
  border-color: rgb(237, 127, 0);
}
/* Menü item'a "menu-btn-outline" sınıfı eklenince Prices stili (zaten varsayılan ama explicit) */
.header-nav-list li.menu-btn-outline > a {
  background: rgb(241, 243, 243);
  color: #494848;
}

/* ─── HERO ─── */
.hero {
  padding: 42px 0 24px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--success);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .02em;
  text-transform: uppercase;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4 {
  line-height: 1.25;
  margin: 0 0 14px;
  color: #10212f;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 40px; }
h3 { font-size: 1.25rem; margin-top: 28px; }
h4 { font-size: 1.05rem; margin-top: 20px; }
p { margin: 0 0 16px; }
.lead {
  font-size: 1.08rem;
  color: #1c2f3d;
  max-width: 780px;
}
.muted { color: var(--muted); }

/* ─── CARDS ─── */
.search-card,
.card,
.toc,
.sidebar-card,
.notice-box,
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: none;
  padding: 20px;
}
.search-card { margin-top: 24px; }
.hero-side .card { overflow: hidden; }
.hero-side img { border-radius: var(--radius); }

/* ─── CONTENT LAYOUT ─── */
.content-wrap { padding: 32px 0 60px; }
.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}
.article { min-width: 0; }
.article figure { margin: 24px 0; }
.article figure img { border-radius: 12px; border: 1px solid var(--border); }
.article figcaption { margin-top: 10px; font-size: .95rem; color: var(--muted); }

/* ─── INFO BOX ─── */
.info-box {
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 24px 0;
}
.notice-box.warning { background: #fff8ea; border-color: #f1d79d; }

/* ─── TOC / SIDEBAR ─── */
.toc { position: sticky; top: 20px; }
.toc h2, .sidebar-card h2 { font-size: 1.05rem; margin-top: 0; }
.toc ul, .sidebar-card ul, .article ul, .article ol {
  margin: 0 0 16px 20px;
  padding: 0;
}
.toc li, .sidebar-card li, .article li { margin-bottom: 8px; }

/* ─── FEATURE GRID ─── */
.feature-grid,
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0;
}
.feature-item {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
}
.feature-badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 700;
  background: #eef6ff;
  color: var(--primary-dark);
}
.feature-card { padding: 22px; }

/* ─── TABLE ─── */
.table-wrap {
  overflow: auto;
  margin: 18px 0 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
}
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
th { background: #f4f8fb; font-weight: 700; }

/* ─── CTA ─── */
.cta-section {
  margin: 36px 0;
  padding: 24px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #f4faff 0%, #ffffff 100%);
  border: 1px solid var(--border);
}
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

/* ─── FAQ ─── */
.faq { margin-top: 24px; }
.faq details {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  background: #fff;
  margin-bottom: 12px;
}
.faq summary { cursor: pointer; font-weight: 700; }

/* ─── BREADCRUMBS ─── */
.breadcrumbs {
  font-size: .92rem;
  color: var(--muted);
  margin: 0 0 20px;
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: #8fa0ad;
}

/* ─── TOC INLINE (içerik içinde) ─── */
.toc--inline {
  position: static;
  margin: 28px 0;
  max-width: 480px;
}
.toc--inline h2 {
  font-size: 1.05rem;
  margin-top: 0;
}

/* ─── RELATED PAGES ─── */
.related-pages {
  margin-top: 40px;
  padding: 20px;
  background: #f5f9fc;
  border-radius: 10px;
}
.related-pages ul { line-height: 1.8; }

/* ─── ARCHIVE / POST GRID ─── */
.archive-header {
  padding: 40px 0 24px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}
.archive-header h1 { margin-top: 0; }
.archive-description { color: var(--muted); font-size: 1rem; max-width: 680px; }
.archive-wrap { padding: 40px 0 60px; }
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.post-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,.11);
}
.post-card-thumbnail img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.post-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.post-card-meta {
  font-size: .82rem;
  color: var(--muted);
  margin-bottom: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.post-card-category {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  background: #eef6ff;
  color: var(--primary-dark);
  text-decoration: none;
}
.post-card-category:hover { text-decoration: underline; }
.post-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #10212f;
  line-height: 1.3;
  margin: 0 0 10px;
}
.post-card-title a { color: inherit; }
.post-card-title a:hover { color: var(--primary); text-decoration: none; }
.post-card-excerpt {
  font-size: .95rem;
  color: var(--muted);
  flex: 1;
  margin-bottom: 16px;
}
.post-card-footer { margin-top: auto; }
.post-card-link {
  font-size: .9rem;
  font-weight: 700;
  color: var(--primary);
}
.post-card-link:hover { text-decoration: underline; }

/* Archive no-thumbnail variant */
.posts-list { margin-top: 24px; }
.post-list-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.post-list-item:last-child { border-bottom: none; }

/* ─── PAGINATION ─── */
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: .95rem;
  color: var(--primary);
  background: #fff;
  transition: background .15s, color .15s;
}
.pagination .current,
.pagination a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  text-decoration: none;
}

/* ─── SINGLE POST HERO (without search card) ─── */
.post-hero {
  padding: 42px 0 24px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}
.post-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  align-items: center;
}
.post-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}
.post-category-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  background: #eef6ff;
  color: var(--primary-dark);
  text-decoration: none;
}
.post-date { font-size: .88rem; color: var(--muted); }

/* ─── 404 ─── */
.error-404 {
  padding: 80px 0;
  text-align: center;
}
.error-404 h1 { font-size: 6rem; color: var(--border); margin-bottom: 0; }
.error-404 h2 { margin-top: 0; }

/* ─── FOOTER ─── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0 40px;
  color: var(--muted);
  font-size: .95rem;
  background: #fbfdff;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-copy { flex: 1 1 320px; }
.footer-copy p { margin-bottom: 6px; }
.footer-widgets {
  flex: 0 1 auto;
  text-align: right;
}
.footer-widget-title {
  font-size: .95rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--muted);
}
/* Footer widget içindeki nav/liste linkleri — copyright rengiyle aynı */
.footer-widgets ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  justify-content: flex-end;
}
.footer-widgets ul li { margin: 0; }
.footer-widgets ul li a,
.footer-widgets a {
  color: var(--muted);
  font-size: .95rem;
  text-decoration: none;
}
.footer-widgets ul li a:hover,
.footer-widgets a:hover {
  text-decoration: underline;
  color: var(--text);
}
@media (max-width: 640px) {
  .footer-inner { flex-direction: column; }
  .footer-widgets { text-align: left; }
  .footer-widgets ul { justify-content: flex-start; }
}

/* ─── UTILITIES ─── */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.box {
  background: #f8fbfd;
  padding: 20px;
  border-radius: 10px;
  margin: 20px 0;
  border: 1px solid var(--border);
}

/* ─── GOOGLE CSE ─── */
form.gsc-search-box { margin: 0 !important; max-width: 100% !important; }
.gsc-input { padding: 0 !important; }

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  .hero-grid,
  .post-hero-grid,
  .content-layout,
  .feature-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }
  .toc { position: static; }
  .brand img, .custom-logo { width: 150px; }
  .posts-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.35rem; }
}
