/* Aura Pro Blog — /blog/ sayfalarının ortak görünümü.
   Sayfaları api/blog/_render.php üretir; bu dosya statik siteyle (deploy-web.sh) yayınlanır.
   Değiştirince _render.php'deki BLOG_CSS_VERSION artırılır (önbellek); landing.css ile
   birlikte build-landing.py da bu dosyayı kullanır (oradaki ?v= de artırılır). /salonlar/ 14.11.2026’dan beri kendi salonlar.css’ini kullanır.
   14.11.2026 yeni stil (Behzat'ın "aurapro.tr · Ana Sayfa (v2)" tasarımı): başlıklar Prata TR,
   metin Manrope; koyu mürdüm üst/alt bölüm, krem sayfa, bakır vurgu, hap biçimli düğmeler. */

:root {
  /* Mürdüm */
  --plum: #3B1F33;          /* ana metin, koyu paneller */
  --plum-deep: #2E1828;     /* üst bölüm, hero, alt bölüm */
  --plum-2: #4A2B40;        /* koyu zeminde kart */
  --plum-line: #5A3A50;     /* koyu zeminde çizgi */
  --plum-line-2: #6B4560;
  /* Bakır */
  --gold: #B87445;          /* süs: halka, nokta, kenar, büyük rakam (metin değil) */
  --gold-btn: #A8653A;      /* beyaz yazılı düğme (4.5:1) */
  --gold-btn-hover: #8F5530;
  --gold-text: #8A4E26;     /* açık zeminde bağlantı / üst etiket */
  --gold-text-hover: #5E3218;
  --gold-soft: #E2B48F;     /* koyu zeminde vurgu */
  /* Açık zeminler */
  --paper: #F7F1EA;         /* sayfa (krem) */
  --paper-deep: #F1E3D6;    /* sıradaki bölüm (kum) */
  --slip: #FFFFFF;          /* kart */
  --soft: #FBF8F4;          /* yumuşak kart */
  --ink: #3B1F33;
  --ink-soft: #6E5566;
  --rule: #EADFD3;          /* kart kenarı */
  --field: #D9C3B0;         /* form alanı kenarı */
  /* Koyu zeminde yazı */
  --on-plum: #F7F1EA;
  --on-plum-soft: #E4D6DE;
  --on-plum-dim: #D8C6D1;
  --on-plum-faint: #B79AAC;
  --btn-line: #8F6D84;
  --serif: "Prata TR", Prata, Georgia, "Times New Roman", serif;
  --sans: Manrope, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1180px;
  --measure: 68ch;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  font-feature-settings: "kern";
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 3px; border-radius: 4px; }
.top :focus-visible, footer :focus-visible, .lp-hero :focus-visible, .lp-cta :focus-visible, .cta :focus-visible { outline-color: var(--gold-soft); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--slip); color: var(--ink); padding: 8px 14px; border-radius: 999px; font-weight: 700; z-index: 10; }
.skip:focus { left: 8px; }
.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { width: min(820px, 100% - 2 * var(--gutter)); }

/* ── Üst bölüm ───────────────────────────────────────────── */
.top { background: var(--plum-deep); color: var(--on-plum); }
.bar { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; text-decoration: none; margin-right: auto; }
.brand img { width: auto; height: 58px; }
.brand span { font: 400 1.45rem/1 var(--serif); letter-spacing: 0.01em; }
.nav { display: flex; align-items: center; gap: 26px; font: 600 0.95rem/1.2 var(--sans); }
.nav > a { text-decoration: none; color: var(--on-plum-soft); }
.nav > a:hover, .nav > a.is-here { color: var(--on-plum); }
.nav > a.is-here { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.login { position: relative; }
.login summary { list-style: none; cursor: pointer; color: var(--on-plum-soft); }
.login summary:hover { color: var(--on-plum); }
.login summary::-webkit-details-marker { display: none; }
.login summary::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-3px) rotate(45deg); }
.login[open] summary { color: var(--on-plum); }
.login ul { position: absolute; right: 0; top: calc(100% + 14px); margin: 0; padding: 6px; list-style: none; background: var(--slip); color: var(--ink); border: 1px solid var(--rule); border-radius: 16px; min-width: 220px; box-shadow: 0 22px 44px -18px rgba(46, 24, 40, 0.55); z-index: 5; font-weight: 700; }
.login li a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; }
.login li a:hover { background: var(--paper); }
.login li small { display: block; color: var(--ink-soft); font-size: 0.8rem; font-weight: 500; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; font: 700 0.9375rem/1.2 var(--sans); text-align: center; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease; }
.btn-gold { background: var(--gold-btn); color: #FFFFFF; }
.btn-gold:hover { background: var(--gold-btn-hover); }
.btn-line { border-color: var(--btn-line); color: var(--on-plum); background: transparent; }
.btn-line:hover { border-color: var(--gold-soft); color: #FFFFFF; }
.btn-ink { background: var(--plum); color: var(--on-plum); }
.btn-ink:hover { background: var(--plum-deep); }
.bar .btn { padding: 0 22px; }

/* ── Ortak parçalar ───────────────────────────────────────── */
.kicker { margin: 0 0 12px; font: 800 0.8125rem/1.3 var(--sans); letter-spacing: 2px; text-transform: uppercase; color: var(--gold-text); }
.kicker a { text-decoration: none; }
.kicker a:hover { text-decoration: underline; text-underline-offset: 3px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0 0 22px; padding: 0; list-style: none; font-size: 0.88rem; color: var(--ink-soft); }
.crumbs li + li::before { content: "/"; margin: 0 8px; opacity: 0.5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { display: inline-block; max-width: 34ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.meta, .byline { color: var(--ink-soft); font-size: 0.92rem; }

/* ── Blog ana sayfası, kategori, yazar ──────────────────── */
.blog-hero { background: var(--paper-deep); padding: clamp(28px, 5vw, 56px) 0 clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--rule); }
.blog-hero h1 { margin: 0 0 14px; font: 400 clamp(2.1rem, 4.8vw, 3.4rem)/1.1 var(--serif); letter-spacing: -0.01em; text-wrap: balance; }
.blog-hero .intro { margin: 0; max-width: 60ch; color: var(--ink-soft); font-size: 1.08rem; }
.blog-hero .meta { margin: 12px 0 0; }
.cats ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.cats a { display: inline-block; padding: 8px 16px; border: 1px solid var(--field); border-radius: 999px; background: var(--slip); text-decoration: none; font-size: 0.92rem; font-weight: 600; }
.cats a:hover { border-color: var(--gold); }
.cats a[aria-current] { background: var(--plum); border-color: var(--plum); color: var(--on-plum); }
.list { padding: clamp(32px, 5vw, 56px) 0 clamp(56px, 8vw, 96px); }
.list-title { margin: 0 0 22px; font: 400 1.9rem/1.15 var(--serif); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 32px); margin: 0; padding: 0; list-style: none; }
.card { display: flex; flex-direction: column; background: var(--slip); border: 1px solid var(--rule); border-radius: 22px; overflow: hidden; }
.card-img { display: block; aspect-ratio: 16 / 9; background: var(--paper-deep); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .card-img img { transform: scale(1.03); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.card h2, .card h3 { margin: 0 0 10px; font: 400 1.3rem/1.25 var(--serif); text-wrap: balance; }
.card h2 a, .card h3 a { text-decoration: none; }
.card h2 a:hover, .card h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.card p { margin: 0 0 12px; color: var(--ink-soft); font-size: 0.97rem; }
.card .meta { margin: auto 0 0; font-size: 0.86rem; }
.card p.kicker { margin: 0 0 8px; font-size: 0.8125rem; color: var(--gold-text); }
.card.feature { grid-column: 1 / -1; display: grid; grid-template-columns: 7fr 5fr; }
.card.feature .card-img { aspect-ratio: auto; min-height: 100%; }
.card.feature .card-body { padding: clamp(22px, 3vw, 40px); justify-content: center; }
.card.feature h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); line-height: 1.15; }
.card.feature p { font-size: 1.05rem; }
.empty { grid-column: 1 / -1; padding: 40px; text-align: center; color: var(--ink-soft); background: var(--slip); border: 1px dashed var(--field); border-radius: 22px; }
.pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; margin-top: 40px; font-size: 0.95rem; }
.pager a { text-decoration: none; color: var(--gold-text); font-weight: 700; }
.pager a:hover { color: var(--gold-text-hover); }
.pager a[rel="next"] { justify-self: end; }
.pager .count { color: var(--ink-soft); }

/* ── Yazı ─────────────────────────────────────────────────── */
.post-head { padding: clamp(24px, 4vw, 48px) 0 clamp(24px, 3vw, 36px); }
.post-head h1 { margin: 0 0 18px; font: 400 clamp(2rem, 4.6vw, 3.3rem)/1.1 var(--serif); letter-spacing: -0.01em; text-wrap: balance; }
.post-head .lead p { margin: 0 0 12px; font-size: clamp(1.1rem, 1.6vw, 1.2rem); line-height: 1.6; color: var(--plum-2); }
.post-head .byline { margin: 18px 0 0; }
.post-head .byline a { color: var(--ink); font-weight: 700; text-decoration: none; }
.post-head .byline a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cover { margin-top: 0; margin-bottom: clamp(28px, 4vw, 48px); }
.cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 22px; background: var(--paper-deep); }

.post-grid { display: grid; grid-template-columns: minmax(200px, 250px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding-bottom: clamp(48px, 7vw, 88px); }
.toc { position: sticky; top: 24px; font-size: 0.92rem; }
.toc-title { margin: 0 0 10px; font: 800 0.8125rem/1.3 var(--sans); letter-spacing: 2px; text-transform: uppercase; color: var(--gold-text); }
.toc ol { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--rule); }
.toc li a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--ink-soft); text-decoration: none; line-height: 1.4; }
.toc li a:hover { color: var(--ink); border-left-color: var(--gold); }

.prose { max-width: var(--measure); }
.prose section { scroll-margin-top: 20px; }
.prose h2 { margin: 2.2em 0 0.6em; font: 400 clamp(1.6rem, 2.5vw, 2rem)/1.15 var(--serif); letter-spacing: -0.005em; text-wrap: balance; }
.prose section:first-child h2 { margin-top: 0; }
.prose h3 { margin: 1.6em 0 0.4em; font: 700 1.12rem/1.4 var(--sans); }
.prose p { margin: 0 0 1.05em; }
.prose a:not(.btn) { color: var(--gold-text); text-underline-offset: 3px; }
.prose a:not(.btn):hover { color: var(--gold-text-hover); }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.25em; }
.prose li { margin: 0.35em 0; padding-left: 0.2em; }
.prose li::marker { color: var(--gold); }
.prose ol li::marker { font-weight: 700; }
.prose strong { font-weight: 700; color: var(--plum-deep); }
.tip { margin: 1.4em 0; padding: 16px 20px; background: var(--paper-deep); border-left: 3px solid var(--gold); border-radius: 0 14px 14px 0; }
.tip p { margin: 0; }
.tip b { display: block; margin-bottom: 4px; font-size: 0.8125rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-text); }
.table { margin: 1.4em 0 1.6em; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--rule); border-radius: 18px; background: var(--slip); }
.table table { width: 100%; border-collapse: collapse; font-size: 0.95rem; line-height: 1.45; }
.table th, .table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
.table thead th { background: var(--plum); color: var(--on-plum); font-weight: 700; }
.table tbody tr:last-child > * { border-bottom: 0; }
.table tbody th { font-weight: 700; }

/* SSS: her soru beyaz, yuvarlak bir kart */
.faq { margin-top: 2.4em; }
.faq details { margin: 0 0 12px; padding: 0 22px; background: var(--slip); border: 1px solid var(--rule); border-radius: 18px; }
.faq details:last-of-type { margin-bottom: 0; }
.faq details[open] { border-color: var(--field); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; cursor: pointer; list-style: none; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border: 1.5px solid var(--gold); border-radius: 50%; font: 400 1.2rem/1 var(--sans); color: var(--gold-text); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -4px 0 20px; color: var(--plum-2); }
.faq a:not(.btn) { color: var(--gold-text); text-underline-offset: 3px; }
.faq a:not(.btn):hover { color: var(--gold-text-hover); }

.tags, .prose .tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 2em 0 0; padding: 0; list-style: none; }
.prose .tags li { margin: 0; }
.tags li { padding: 5px 14px; border-radius: 999px; background: var(--paper-deep); color: var(--ink-soft); font-size: 0.85rem; font-weight: 600; }

.salon-note { margin: 2.2em 0; padding: 24px 26px; background: var(--slip); border: 1px solid var(--rule); border-radius: 22px; box-shadow: 0 14px 30px -24px rgba(46, 24, 40, 0.5); }
.salon-note p { margin: 0 0 12px; }
.salon-note .kicker { margin-bottom: 8px; }
.salon-note .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 4px 0 0; }
.salon-note .actions a:not(.btn) { color: var(--gold-text); font-weight: 700; text-decoration: none; }
.salon-note .actions a:not(.btn):hover { color: var(--gold-text-hover); text-decoration: underline; text-underline-offset: 3px; }

.author-box { display: grid; grid-template-columns: 56px 1fr; gap: 18px; margin: 2.6em 0 0; padding: 22px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.avatar { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--plum); color: var(--gold-soft); box-shadow: inset 0 0 0 1.5px var(--gold); font: 400 1.2rem/1 var(--serif); letter-spacing: 0.04em; }
.author-box p { margin: 0 0 6px; font-size: 0.97rem; color: var(--ink-soft); }
.author-box .name { margin: 0; font-weight: 700; color: var(--ink); }
.author-box .name a { color: inherit; text-decoration: none; }
.author-box .name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.author-box .role { font-size: 0.86rem; }

.cta { margin: 2.4em 0 0; padding: clamp(24px, 4vw, 40px); background: var(--plum); color: var(--on-plum); border-radius: 22px; }
.cta-title { margin: 0 0 12px; font: 400 clamp(1.6rem, 3vw, 2.1rem)/1.15 var(--serif); color: var(--on-plum); }
.cta p { margin: 0 0 16px; color: var(--on-plum-soft); }
.cta .actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 6px 0 0; }

.related { padding: clamp(48px, 7vw, 88px) 0; background: var(--paper-deep); border-top: 1px solid var(--rule); }
.related h2 { margin: 0 0 24px; font: 400 clamp(1.8rem, 3vw, 2.4rem)/1.1 var(--serif); }

/* ── Alt bölüm ─────────────────────────────────────────── */
footer { background: var(--plum-deep); color: var(--on-plum-dim); padding: 64px 0 40px; font-size: 0.95rem; }
.foot { display: grid; grid-template-columns: 2fr repeat(5, 1fr); gap: 32px; }
.foot h4 { margin: 0 0 14px; color: var(--gold-soft); font: 800 0.8125rem/1.3 var(--sans); letter-spacing: 2px; text-transform: uppercase; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 8px 0; }
.foot a { color: var(--on-plum-soft); text-decoration: none; }
.foot h4 a { color: inherit; }
.foot a:hover { color: var(--on-plum); text-decoration: underline; text-underline-offset: 3px; }
.foot-brand img { width: auto; height: 60px; margin-bottom: 16px; }
.foot-brand p { margin: 0; max-width: 30ch; }
.legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--plum-line); font-size: 0.85rem; color: var(--on-plum-faint); }
.legal p { margin: 0 0 8px; max-width: 80ch; }
.legal a { color: var(--on-plum-dim); text-decoration: none; white-space: nowrap; }
.legal a:hover { color: var(--on-plum); text-decoration: underline; text-underline-offset: 3px; }
.legal .fine { opacity: 1; }

/* ── Küçük ekranlar ─────────────────────────────────────── */
@media (max-width: 1000px) {
  .post-grid { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; padding: 18px 20px; background: var(--slip); border: 1px solid var(--rule); border-radius: 18px; }
  .toc ol { border-left: 0; }
  .toc li a { padding: 5px 0; border-left: 0; margin: 0; }
  .prose { max-width: none; }
}
@media (max-width: 900px) {
  .nav > a:not(.is-here) { display: none; }
  .cards { grid-template-columns: 1fr 1fr; }
  .card.feature { grid-template-columns: 1fr; }
  .card.feature .card-img { aspect-ratio: 16 / 9; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .bar { gap: 16px; min-height: 72px; }
  .bar .btn { display: none; }
  .brand img { height: 46px; }
  .brand span { font-size: 1.3rem; }
  .nav { gap: 18px; }
  .cards { grid-template-columns: 1fr; }
  .cover { width: 100%; }
  .cover img { border-radius: 0; }
  .pager { grid-template-columns: 1fr 1fr; }
  .pager .count { display: none; }
  .faq details { padding: 0 18px; }
  .foot { grid-template-columns: 1fr; }
}
@media print {
  .top, footer, .toc, .cta, .salon-note, .related { display: none; }
  body { background: #fff; }
}
