﻿/* ==========================================================================
   Vetra Ambalaj — site teması (v2)
   Eski sitedeki sınıf adları korunmuştur. Eski style.css dosyanızı birebir
   kullanmak isterseniz: Admin > Ayarlar > Tema > "Ek CSS dosyaları".
   ========================================================================== */

:root {
  --primary: #1a2a6c;
  --primary-2: #2a6cb0;
  --accent: #f4a300;
  --text: #2b2f3a;
  --muted: #5d6475;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --border: #e3e7ef;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(26, 42, 108, .07);
  --shadow-lg: 0 12px 32px rgba(26, 42, 108, .14);
  --container: 1200px;
  --gradient: linear-gradient(90deg, var(--primary), var(--primary-2));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Tahoma, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-2); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .6em; color: var(--primary); }
p { margin: 0 0 1em; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: saturate(160%) blur(8px);
  box-shadow: 0 2px 14px rgba(0, 0, 0, .06);
}
.header-container {
  max-width: var(--container); margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.logo { display: flex; align-items: center; font-weight: 800; font-size: 1.4rem; color: var(--primary); }
.logo img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.nav-menu > li { position: relative; }
.nav-menu > li > a { display: block; padding: 10px 12px; color: var(--text); font-weight: 600; border-radius: 8px; white-space: nowrap; }
.nav-menu > li > a:hover { color: var(--primary); background: var(--bg-soft); }
.nav-menu .nav-cta { color: #fff !important; padding: 10px 20px; margin-inline-start: 6px; }
.caret { font-size: .75em; opacity: .7; }
.dropdown {
  list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; inset-inline-start: 0; min-width: 240px;
  background: #fff; border-radius: 10px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; padding: 8px 12px; color: var(--text); border-radius: 6px; font-size: .95rem; }
.dropdown a:hover { background: var(--bg-soft); color: var(--primary); }
.lang-switch { display: flex; gap: 2px; border: 1px solid var(--border); border-radius: 20px; padding: 3px; }
.lang-switch a { padding: 3px 10px; border-radius: 16px; font-size: .82rem; font-weight: 700; color: var(--muted); }
.lang-switch a.active { background: var(--primary); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; margin: 5px 0; background: var(--primary); border-radius: 2px; transition: .25s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 13px 30px; border-radius: 8px; font-weight: 700;
  background: var(--gradient); color: #fff; border: 2px solid transparent; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(26, 42, 108, .3); }
.btn-primary { background: var(--gradient); color: #fff; }
.btn-outline { background: transparent; border-color: #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--primary); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; text-align: center;
  padding: 130px 20px 120px;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, .10), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(42, 108, 176, .55), transparent 45%),
    linear-gradient(135deg, #14215a 0%, var(--primary) 45%, var(--primary-2) 100%);
  overflow: hidden;
}
.hero-content { position: relative; max-width: 860px; margin: 0 auto; }
.hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; margin-bottom: 20px; }
.hero p { font-size: clamp(1.05rem, 2vw, 1.25rem); opacity: .92; margin-bottom: 34px; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero .btn-primary { background: #fff; color: var(--primary); }
.hero .btn-primary:hover { color: var(--primary); }

/* ---------- Stats ---------- */
.stats { background: #fff; margin-top: -50px; position: relative; z-index: 2; padding: 0 20px; }
.stats-grid {
  max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden;
}
.stat-item { text-align: center; padding: 30px 16px; border-inline-end: 1px solid var(--border); }
.stat-item:last-child { border-inline-end: 0; }
.stat-item h3 { font-size: 2.3rem; font-weight: 800; margin: 0; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-item p { margin: 4px 0 0; color: var(--muted); font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 80px 20px; }
.section > * { max-width: var(--container); margin-left: auto; margin-right: auto; }
.section-header { text-align: center; max-width: 760px !important; margin-bottom: 50px !important; }
.section-header h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin-bottom: 12px; }
.section-header p { color: var(--muted); font-size: 1.1rem; margin: 0; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.service-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 34px 28px;
  box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-icon { font-size: 2.6rem; margin-bottom: 14px; }
.service-card p { color: var(--muted); }
.service-card a { font-weight: 700; }

/* Products */
.products { background: var(--bg-soft); }
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 26px; }
.product-card {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); color: var(--text); transition: transform .25s, box-shadow .25s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--text); }
.product-image {
  aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; font-size: 4rem;
  background: linear-gradient(135deg, #eef2fb, #dfe7f7); overflow: hidden;
}
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; font-size: .9rem; color: var(--muted); }
.product-card:hover .product-image img { transform: scale(1.05); }
.product-content { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.product-content h3 { font-size: 1.2rem; margin-bottom: 8px; }
.product-content p { color: var(--muted); font-size: .97rem; flex: 1; }
.product-link { color: var(--primary-2); font-weight: 700; margin-top: 6px; }

/* Why us */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; }
.feature { text-align: center; padding: 26px 20px; border-radius: var(--radius); transition: background .25s; }
.feature:hover { background: var(--bg-soft); }
.feature-icon { font-size: 2.6rem; margin-bottom: 12px; }
.feature p { color: var(--muted); margin: 0; }

/* Contact */
.contact { background: var(--bg-soft); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.contact-item { background: #fff; padding: 28px; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-item h4 { font-size: 1.1rem; margin-bottom: 10px; }
.contact-item p { margin: 0; color: var(--muted); }
.contact-item a { font-weight: 600; word-break: break-word; }

/* ---------- Alt sayfalar ---------- */
.breadcrumb { background: var(--bg-soft); border-bottom: 1px solid var(--border); font-size: .92rem; }
.breadcrumb-container { max-width: var(--container); margin: 0 auto; padding: 12px 20px; color: var(--muted); }
.breadcrumb a { color: var(--primary-2); }
.breadcrumb span { color: var(--text); font-weight: 600; }

.product-hero {
  text-align: center; color: #fff; padding: 80px 20px 70px;
  background: linear-gradient(135deg, #14215a 0%, var(--primary) 50%, var(--primary-2) 100%);
}
.product-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 14px; }
.product-hero p { max-width: 760px; margin: 0 auto; font-size: 1.15rem; opacity: .92; }

.content-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.content-text h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); }
.content-text p { color: var(--muted); font-size: 1.04rem; }
.content-text .list-title { color: var(--primary); margin: 30px 0 20px; }
.content-text ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.content-text li { position: relative; padding-inline-start: 30px; }
.content-text li::before {
  content: "✓"; position: absolute; inset-inline-start: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--gradient); color: #fff; font-size: .72rem; display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.image-placeholder {
  min-height: 340px; display: flex; align-items: center; justify-content: center; font-size: 7rem;
  background: linear-gradient(135deg, #eef2fb, #dfe7f7); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow);
}
.image-placeholder img { width: 100%; height: 100%; object-fit: cover; }

.features { background: var(--bg-soft); padding: 80px 20px; }
.features-container { max-width: var(--container); margin: 0 auto; }
.features-container > h2 { text-align: center; font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 44px; }
.feature-card {
  background: #fff; padding: 30px 26px; border-radius: var(--radius); box-shadow: var(--shadow);
  text-align: center; transition: transform .25s, box-shadow .25s;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.feature-card h3 { font-size: 1.15rem; }
.feature-card p { color: var(--muted); margin: 0; }

.specs-container { max-width: 900px !important; }
.specs-container > h2 { text-align: center; font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 34px; }
.specs-table { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.specs-table table { width: 100%; border-collapse: collapse; background: #fff; }
.specs-table th { background: var(--gradient); color: #fff; text-align: start; padding: 16px 22px; font-weight: 700; }
.specs-table td { padding: 14px 22px; border-bottom: 1px solid var(--border); vertical-align: top; }
.specs-table tr:last-child td { border-bottom: 0; }
.specs-table tbody tr:nth-child(even) { background: #fafbfe; }
.specs-table td:first-child { width: 34%; color: var(--primary); }

.cta-section { background: var(--gradient); color: #fff; text-align: center; padding: 70px 20px; }
.cta-section + .cta-section { border-top: 1px solid rgba(255, 255, 255, .15); }
.cta-content { max-width: 760px; margin: 0 auto; }
.cta-content h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.cta-content p { opacity: .92; font-size: 1.08rem; margin-bottom: 28px; }
.cta-section .btn { background: #fff; color: var(--primary); }
.cta-section .btn:hover { color: var(--primary); }
.cta-section .btn[style] { color: #fff; }

.text-container { max-width: 900px !important; }
.rich-text { color: var(--muted); font-size: 1.04rem; }
.rich-text h3 { margin-top: 1.4em; }

/* ---------- Teklif formu ---------- */
.quote-section { background: #fff; }
.quote-section .section-header { margin-top: 0 !important; }
.quote-container { display: flex; justify-content: center; align-items: center; }
.contact-form {
  background: #fff; padding: 40px; border-radius: var(--radius); box-shadow: 0 4px 20px rgba(0, 0, 0, .05);
  width: 100%; max-width: 600px; margin: 0 auto; border: 1px solid var(--border);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; }
.form-group label { font-weight: 600; margin-bottom: 6px; color: var(--primary); }
.form-group input, .form-group select, .form-group textarea {
  padding: 10px 14px; border: 1px solid #ccc; border-radius: 6px; font: inherit; font-size: 15px;
  background: #fff; transition: border-color .3s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); outline: none; }
.contact-form .btn-primary {
  background: var(--gradient); color: #fff; border: none; padding: 12px 24px; border-radius: 8px;
  font-weight: 600; font-size: 1rem; cursor: pointer; margin-top: 20px; transition: transform .2s, box-shadow .2s;
}
.contact-form .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(26, 42, 108, .3); }
.hp-field { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; }
.alert { text-align: center; padding: 12px; margin: 0 auto 20px; border-radius: 8px; max-width: 600px; font-weight: 500; }
.alert.success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert.error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* ---------- Footer ---------- */
.footer { background: #0f1a45; color: rgba(255, 255, 255, .78); padding: 60px 20px 0; }
.footer-container { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer h3, .footer h4 { color: #fff; }
.footer h4 { font-size: 1.05rem; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: rgba(255, 255, 255, .78); }
.footer a:hover { color: #fff; }
.footer-logo { height: 54px; width: auto; margin-bottom: 16px; border-radius: 6px; background: #fff; padding: 4px 8px; }
.footer-social { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-bottom { max-width: var(--container); margin: 40px auto 0; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .12); text-align: center; font-size: .9rem; }
.footer-bottom p { margin: 0; }

.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 99; width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}
.draft-notice { background: #fff3cd; color: #856404; text-align: center; padding: 8px; font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 14px;
    background: #fff; padding: 16px 20px 24px; box-shadow: 0 12px 24px rgba(0, 0, 0, .1);
    max-height: calc(100vh - 76px); overflow-y: auto;
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .2s;
  }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav-menu { flex-direction: column; align-items: stretch; }
  .nav-menu .nav-cta { margin: 8px 0 0; text-align: center; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0; padding-inline-start: 14px; display: none; }
  .has-dropdown.open .dropdown { display: block; }
  .lang-switch { align-self: flex-start; }
  .content-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-container { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-inline-end: 0; }
  .stat-item:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .section, .features { padding: 60px 18px; }
  .hero { padding: 90px 18px 100px; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 26px 20px; }
  .footer-container { grid-template-columns: 1fr; }
  .image-placeholder { min-height: 240px; font-size: 5rem; }
}

/* ---------- Sağdan sola (Arapça) ---------- */
[dir="rtl"] body { font-family: "Segoe UI", Tahoma, "Noto Sans Arabic", "Geeza Pro", Arial, sans-serif; line-height: 1.8; }
[dir="rtl"] .whatsapp-float { right: auto; left: 20px; }
[dir="rtl"] .specs-table td:first-child { width: 38%; }
[dir="rtl"] .hero h1, [dir="rtl"] .product-hero h1 { line-height: 1.45; }
a[dir="ltr"] { unicode-bidi: isolate; display: inline-block; }

/* ==========================================================================
   Blog
   ========================================================================== */
.blog-hero { padding: 70px 20px 60px; }
.blog-cats { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px !important; }
.blog-cats a { padding: 8px 18px; border-radius: 30px; border: 1px solid var(--border); color: var(--text); font-weight: 600; font-size: .95rem; background: #fff; }
.blog-cats a:hover { border-color: var(--primary-2); color: var(--primary); }
.blog-cats a.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.blog-empty { text-align: center; color: var(--muted); font-size: 1.1rem; }

.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.post-card-image { aspect-ratio: 16 / 9; background: linear-gradient(135deg, #eef2fb, #dfe7f7); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-card-image img { transform: scale(1.05); }
.post-card-ph { font-size: 3.4rem; }
.post-card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-card-body h3 { font-size: 1.2rem; margin: 10px 0 10px; line-height: 1.35; }
.post-card-body h3 a { color: var(--primary); }
.post-card-body h3 a:hover { color: var(--primary-2); }
.post-card-body p { color: var(--muted); font-size: .97rem; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: .86rem; color: var(--muted); }
.post-cat { display: inline-block; background: #e8eefb; color: var(--primary); padding: 3px 12px; border-radius: 20px; font-weight: 700; font-size: .8rem; }
.post-cat.light { background: rgba(255, 255, 255, .16); color: #fff; margin-bottom: 14px; }
.post-meta.light { color: rgba(255, 255, 255, .85); justify-content: center; }

.pagination { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 44px !important; }
.pagination a, .pagination span { min-width: 42px; padding: 9px 14px; text-align: center; border-radius: 8px; border: 1px solid var(--border); background: #fff; color: var(--text); font-weight: 600; }
.pagination a:hover { border-color: var(--primary-2); }
.pagination .current { background: var(--primary); border-color: var(--primary); color: #fff; }

.post-hero { padding: 70px 20px 60px; }
.post-hero h1 { max-width: 900px; margin-left: auto; margin-right: auto; }
.post-layout { max-width: var(--container); margin: 0 auto; padding: 50px 20px 60px; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 50px; align-items: start; }
.post-layout:not(:has(.post-aside)) { grid-template-columns: minmax(0, 820px); justify-content: center; }
.post-cover { margin: 0 0 30px; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.post-cover img { width: 100%; }
.post-toc { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 30px; }
.post-toc strong { color: var(--primary); display: block; margin-bottom: 8px; }
.post-toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; counter-reset: toc; }
.post-toc li.lvl-2 { counter-increment: toc; }
.post-toc li.lvl-2::before { content: counter(toc) ". "; color: var(--muted, #667); font-variant-numeric: tabular-nums; }
.post-toc li.lvl-3 { padding-inline-start: 24px; }
.post-toc li.lvl-3::before { content: "– "; color: var(--muted, #667); }
.post-toc a { color: var(--text); }
.post-toc a:hover { color: var(--primary-2); }

.post-body { color: #353b48; font-size: 1.08rem; line-height: 1.8; }
.post-body h2 { font-size: 1.6rem; margin: 1.8em 0 .6em; scroll-margin-top: 100px; }
.post-body h3 { font-size: 1.25rem; margin: 1.5em 0 .5em; scroll-margin-top: 100px; }
.post-body p { margin: 0 0 1.1em; }
.post-body ul, .post-body ol { padding-inline-start: 24px; margin: 0 0 1.2em; }
.post-body li { margin-bottom: .4em; }
.post-body a { text-decoration: underline; text-underline-offset: 3px; }
.post-body img { border-radius: 10px; margin: 1.2em 0; }
.post-body figure { margin: 1.4em 0; }
.post-body figcaption { color: var(--muted); font-size: .9rem; text-align: center; }
.post-body blockquote { margin: 1.5em 0; padding: 16px 22px; border-inline-start: 4px solid var(--primary-2); background: var(--bg-soft); border-radius: 0 10px 10px 0; color: var(--text); font-style: italic; }
[dir="rtl"] .post-body blockquote { border-radius: 10px 0 0 10px; }
.post-body table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .97rem; display: block; overflow-x: auto; }
.post-body th, .post-body td { border: 1px solid var(--border); padding: 10px 14px; text-align: start; }
.post-body th { background: var(--bg-soft); color: var(--primary); }

.post-share { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--border); }
.post-share span { font-weight: 700; color: var(--primary); }
.post-share a { padding: 6px 14px; border: 1px solid var(--border); border-radius: 20px; font-size: .9rem; color: var(--text); }
.post-share a:hover { border-color: var(--primary-2); color: var(--primary); }

.post-aside { position: sticky; top: 100px; display: grid; gap: 14px; }
.post-aside h2 { font-size: 1.1rem; margin: 0 0 4px; }
.aside-product { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 10px; color: var(--text); transition: border-color .2s, box-shadow .2s; }
.aside-product:hover { border-color: var(--primary-2); box-shadow: var(--shadow); color: var(--text); }
.aside-product img { width: 70px; height: 70px; object-fit: cover; border-radius: 8px; flex: none; }
.aside-product span { display: flex; flex-direction: column; gap: 2px; }
.aside-product b { color: var(--primary); font-size: .97rem; }
.aside-product small { color: var(--muted); font-size: .82rem; line-height: 1.4; }

.blog-related { background: var(--bg-soft); }
.blog-latest { background: #fff; }
.blog-latest-more { text-align: center; margin-top: 36px !important; }

@media (max-width: 960px) {
  .post-layout { grid-template-columns: 1fr; gap: 30px; padding-top: 30px; }
  .post-aside { position: static; }
}
@media (max-width: 700px) {
  .posts-grid { grid-template-columns: 1fr; }
  .post-body { font-size: 1.02rem; }
  .post-body h2 { font-size: 1.35rem; }
}

/* ==========================================================================
   Çerez bildirimi
   ========================================================================== */
.footer-legal { margin-top: 8px !important; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.footer-legal a, .footer-legal .linklike { color: rgba(255, 255, 255, .78); font: inherit; font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 0; cursor: pointer; }
.footer-legal a:hover, .footer-legal .linklike:hover { color: #fff; }

.cookie-banner {
  position: fixed; z-index: 1000; left: 16px; right: 16px; bottom: 16px; max-width: 1200px; margin: 0 auto;
  background: #fff; border-radius: 16px; box-shadow: 0 12px 40px rgba(15, 26, 69, .22); border: 1px solid var(--border);
  transform: translateY(24px); opacity: 0; transition: transform .3s ease, opacity .3s ease;
}
.cookie-banner.show { transform: none; opacity: 1; }
.cookie-banner-inner { padding: 22px 26px; }
.cookie-banner h2, .cookie-dialog h2 { font-size: 1.2rem; margin: 0 0 6px; color: var(--primary); }
.cookie-banner p { margin: 0 0 16px; color: var(--muted); font-size: .97rem; line-height: 1.6; }
.cookie-banner p a, .cookie-lead a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cookie-btn { font: inherit; font-weight: 700; font-size: .95rem; padding: 12px 24px; border-radius: 10px; border: 0; cursor: pointer; transition: filter .2s, transform .2s; }
.cookie-btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.cookie-btn.primary { background: var(--primary); color: #fff; }
.cookie-btn.soft { background: #e8eefb; color: var(--primary); }
.cookie-link { background: none; border: 0; padding: 8px 4px; font: inherit; font-weight: 700; font-size: .95rem; color: var(--primary); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.cookie-btn:focus-visible, .cookie-link:focus-visible, .cookie-switch input:focus-visible + span { outline: 3px solid var(--primary-2); outline-offset: 2px; }

.cookie-modal { position: fixed; inset: 0; z-index: 1001; background: rgba(15, 26, 69, .55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.cookie-modal[hidden] { display: none; }
.cookie-modal-open, .cookie-modal-open body { overflow: hidden; }
.cookie-dialog { background: #fff; border-radius: 18px; width: min(680px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: 28px 30px; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); outline: none; }
.cookie-dialog h2 { font-size: 1.45rem; }
.cookie-lead { color: var(--muted); margin: 0 0 18px; font-size: .97rem; }
.cookie-cat { border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; margin-bottom: 12px; }
.cookie-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.cookie-cat h3 { font-size: 1.05rem; margin: 0; color: var(--text); }
.cookie-cat p { margin: 0; color: var(--muted); font-size: .92rem; }
.cookie-always { color: #1e9e55; font-weight: 700; font-size: .88rem; white-space: nowrap; }
.cookie-dialog .cookie-actions { margin-top: 20px; }

.cookie-switch { position: relative; display: inline-block; width: 54px; height: 30px; flex: none; cursor: pointer; }
.cookie-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.cookie-switch span { position: absolute; inset: 0; background: #cfd6e4; border-radius: 30px; transition: background .2s; }
.cookie-switch span::before { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s; }
.cookie-switch input:checked + span { background: var(--primary); }
.cookie-switch input:checked + span::before { transform: translateX(24px); }
[dir="rtl"] .cookie-switch input:checked + span::before { transform: translateX(-24px); }

@media (max-width: 600px) {
  .cookie-banner { left: 8px; right: 8px; bottom: 8px; }
  .cookie-banner-inner { padding: 18px; }
  .cookie-banner .cookie-actions .cookie-btn { flex: 1 1 calc(50% - 6px); }
  .cookie-banner .cookie-link { width: 100%; text-align: center; }
  .cookie-dialog { padding: 22px 18px; }
  .cookie-dialog .cookie-btn { flex: 1 1 100%; }
  .cookie-dialog .cookie-link { width: 100%; text-align: center; }
}
.rich-text table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: .95rem; display: block; overflow-x: auto; }
.rich-text th, .rich-text td { border: 1px solid var(--border); padding: 10px 14px; text-align: start; vertical-align: top; }
.rich-text th { background: var(--bg-soft); color: var(--primary); }
.rich-text ul { padding-inline-start: 22px; }
.rich-text li { margin-bottom: .4em; }
.rich-text code { background: var(--bg-soft); padding: 1px 6px; border-radius: 4px; font-size: .9em; }

/* ==========================================================================
   Kariyer
   ========================================================================== */
.career-cta-wrap { padding-top: 40px; padding-bottom: 40px; }
.career-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  background: linear-gradient(120deg, #14215a 0%, var(--primary) 55%, var(--primary-2) 100%);
  border-radius: 28px; padding: 48px 60px; color: #fff; box-shadow: var(--shadow-lg);
}
.career-cta h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; margin: 0 0 8px; }
.career-cta p { margin: 0; opacity: .85; font-size: 1.05rem; }
.career-cta-btn {
  display: inline-block; background: var(--accent); color: #14215a; font-weight: 800; letter-spacing: .03em;
  text-transform: uppercase; font-size: .92rem; padding: 18px 40px; border-radius: 14px; white-space: nowrap;
  transition: transform .2s, box-shadow .2s, filter .2s;
}
.career-cta-btn:hover { color: #14215a; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, .25); filter: brightness(1.05); }

.jobs-list { display: grid; gap: 16px; max-width: 980px !important; }
.job-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 24px 28px; box-shadow: var(--shadow); transition: border-color .2s, transform .2s; }
.job-card:hover { border-color: var(--primary-2); transform: translateY(-2px); }
.job-card h3 { margin: 0 0 6px; font-size: 1.2rem; }
.job-meta { display: flex; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: .92rem; margin-bottom: 6px; }
.job-card p { margin: 0; color: var(--muted); }
.job-apply { flex: none; background: var(--primary); color: #fff; font-weight: 700; padding: 12px 26px; border-radius: 10px; }
.job-apply:hover { color: #fff; background: var(--primary-2); }

.career-form-section { padding-top: 30px; }
.career-card { max-width: 760px !important; background: #fff; border-radius: 22px; padding: 44px 48px; box-shadow: 0 10px 40px rgba(26, 42, 108, .10); border: 1px solid var(--border); scroll-margin-top: 100px; }
.career-card h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; color: #1c1f2b; margin: 0 0 6px; }
.career-lead { color: var(--muted); margin: 0 0 28px; }
.career-card .alert { max-width: none; margin-bottom: 20px; }
.career-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.cf-full { grid-column: 1 / -1; }
.cf-group { display: flex; flex-direction: column; }
.cf-group label { font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--primary); margin-bottom: 8px; }
.cf-group input, .cf-group select, .cf-group textarea {
  font: inherit; font-size: 1rem; padding: 14px 16px; border: 2px solid transparent; border-radius: 12px; background: #f3f5fa; color: var(--text);
  transition: border-color .2s, background .2s;
}
.cf-group textarea { resize: vertical; min-height: 110px; }
.cf-group input:focus, .cf-group select:focus, .cf-group textarea:focus { outline: none; border-color: var(--primary-2); background: #fff; }
.cv-drop {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center;
  margin: 28px 0 18px; padding: 30px 20px; border: 2px dashed var(--primary-2); border-radius: 16px; background: #f8faff; cursor: pointer;
  transition: background .2s, border-color .2s;
}
.cv-drop input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.cv-drop-text { font-weight: 800; font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; color: var(--primary); }
.cv-drop-hint { font-size: .85rem; color: var(--muted); }
.cv-drop:hover, .cv-drop.drag { background: #eef3ff; border-color: var(--primary); }
.cv-drop.has-file { border-style: solid; border-color: #1e9e55; background: #f1faf4; }
.cv-drop.has-file .cv-drop-text { color: #1e7b45; text-transform: none; letter-spacing: 0; }
.cv-drop.has-error { border-color: #d64545; background: #fdf3f3; }
.cv-drop.has-error .cv-drop-text { color: #b42318; text-transform: none; letter-spacing: 0; }
.cv-drop:focus-within { outline: 3px solid var(--primary-2); outline-offset: 2px; }
.cf-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--muted); margin-bottom: 22px; cursor: pointer; }
.cf-consent input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--primary); }
.career-submit {
  width: 100%; border: 0; cursor: pointer; font: inherit; font-weight: 800; font-size: 1rem; letter-spacing: .05em; text-transform: uppercase;
  padding: 18px; border-radius: 14px; color: #fff; background: var(--gradient); transition: transform .2s, box-shadow .2s, opacity .2s;
}
.career-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(26, 42, 108, .3); }
.career-submit.loading { opacity: .6; pointer-events: none; }
[dir="rtl"] .cf-group label, [dir="rtl"] .cv-drop-text, [dir="rtl"] .career-submit, [dir="rtl"] .career-cta-btn { letter-spacing: 0; }

@media (max-width: 760px) {
  .career-cta { padding: 34px 26px; border-radius: 22px; }
  .career-cta-btn { width: 100%; text-align: center; }
  .job-card { flex-direction: column; align-items: flex-start; }
  .career-card { padding: 30px 20px; border-radius: 18px; }
  .career-grid { grid-template-columns: 1fr; }
}

@media (min-width: 1101px) and (max-width: 1280px) {
  .nav { gap: 12px; }
  .nav-menu > li > a { padding: 10px 8px; font-size: .93rem; }
  .nav-menu .nav-cta { padding: 10px 14px; }
}
