/* ══════════════════════════════════════════════════════════════
   BLOG — Altitude Motion · Ortovox editoryal referans
   Prefix: bl-
   blog-n.php (liste) & blog-detay-n.php (detay) ortak stiller
   Dil: beyaz zemin, açık gri nötrler, keskin köşe (butonlar pill),
   uppercase Archivo display başlıklar, altı çizili metin linkleri.
   Tasarım sistemi token'ları: build/css/style.css (:root)
   ══════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════
   BASE
   ══════════════════════════════════════ */
.bl-body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body, sans-serif);
  background: var(--white);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.bl-body a { color: inherit; }
.bl-body img { max-width: 100%; height: auto; display: block; }

/* ── Header solid (açık zeminli sayfa — beyaz bar) ── */
.bl-body .site-header.site-header--solid {
  --header-progress: 1 !important;
  --header-bg: 1 !important;
  --header-border: 0.08 !important;
  --header-blur: 16px !important;
}

.bl-body .site-header.site-header--solid .main-nav {
  background: var(--white) !important;
  box-shadow: none;
  border-bottom: 1px solid var(--line);
}

.bl-body .site-header.site-header--solid .brand-logo::before {
  background-color: #000 !important;
}

/* ══════════════════════════════════════
   BREADCRUMB STRIP
   ══════════════════════════════════════ */
.bl-crumbbar {
  background: var(--white);
  padding: calc(4.75rem + 14px) var(--page-gutter) 10px;
}

.bl-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 1360px;
  margin: 0 auto;
  font-size: var(--text-xs);
  color: var(--muted);
  min-width: 0;
}

.bl-breadcrumb a {
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-smooth);
  white-space: nowrap;
}

.bl-breadcrumb a:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bl-breadcrumb span[aria-current="page"] {
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bl-crumb-sep {
  color: var(--line-strong);
  flex-shrink: 0;
}

/* ══════════════════════════════════════
   LIST HERO — EDITORIAL IMAGE BANNER
   ══════════════════════════════════════ */
.bl-hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(260px, 34vw, 420px);
  text-align: center;
}

.bl-hero-media {
  position: absolute;
  inset: 0;
}

.bl-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bl-hero--img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(10, 10, 10, 0.18), rgba(10, 10, 10, 0.38));
}

.bl-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  padding: var(--sp-16) var(--page-gutter);
}

.bl-hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.2rem + 2.8vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.15;
  margin: 0;
  color: var(--text);
}

.bl-hero--img .bl-hero-title,
.bl-hero--img .bl-hero-desc {
  color: var(--white);
}

.bl-hero-title span { font-weight: 700; }

.bl-hero-desc {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--muted);
  max-width: 520px;
  margin: var(--sp-4) auto 0;
}

.bl-hero--img .bl-hero-desc {
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
}

/* ══════════════════════════════════════
   MAIN LAYOUT
   ══════════════════════════════════════ */
.bl-main {
  flex: 1;
  background: var(--white);
}

.bl-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: var(--sp-12) var(--page-gutter) var(--sp-16);
}

/* ══════════════════════════════════════
   EDITORIAL TEASERS (ilk 3 yazı)
   ══════════════════════════════════════ */
.bl-teasers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8) var(--sp-6);
  max-width: 1120px;
  margin: 0 auto var(--sp-16);
}

.bl-featured {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
}

.bl-featured.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.bl-featured-link {
  display: block;
  text-decoration: none;
}

.bl-featured-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg);
}

.bl-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-reveal) var(--ease-out);
}

.bl-featured-link:hover .bl-featured-img img {
  transform: scale(1.04);
}

.bl-featured-body {
  padding: var(--sp-4) 0 0;
}

.bl-featured-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--sp-2);
}

.bl-featured-tag {
  font-weight: 600;
  color: var(--text);
}

.bl-featured-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 var(--sp-2);
  color: var(--text);
}

.bl-featured-excerpt {
  font-size: var(--text-sm);
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 var(--sp-3);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bl-featured-more,
.bl-card-more {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  transition: color var(--dur-fast) var(--ease-smooth);
}

.bl-featured-link:hover .bl-featured-more,
.bl-card-link:hover .bl-card-more {
  color: var(--muted);
}

/* ══════════════════════════════════════
   FILTER TILES + SEARCH TOOLBAR
   ══════════════════════════════════════ */
.bl-filters {
  border-top: 1px solid var(--line);
  padding-top: var(--sp-8);
  margin-bottom: var(--sp-12);
}

.bl-filters-inner {
  display: flex;
  justify-content: center;
  gap: var(--sp-2);
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.bl-filters-inner::-webkit-scrollbar { display: none; }

.bl-filter {
  position: relative;
  flex: 0 0 auto;
  width: clamp(130px, 15vw, 190px);
  aspect-ratio: 16 / 9;
  padding: 0;
  border: none;
  background: var(--panel);
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.bl-filter-media {
  position: absolute;
  inset: 0;
}

.bl-filter-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.6);
  opacity: 0.55;
  transition: filter var(--dur-base) var(--ease-smooth),
              opacity var(--dur-base) var(--ease-smooth);
}

.bl-filter::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.35));
  opacity: 0.5;
  transition: opacity var(--dur-base) var(--ease-smooth);
}

.bl-filter-label {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
  padding: 0 var(--sp-2) var(--sp-3);
  line-height: 1.3;
}

.bl-filter:hover .bl-filter-media img,
.bl-filter.is-active .bl-filter-media img {
  filter: grayscale(0);
  opacity: 1;
}

.bl-filter:hover::after,
.bl-filter.is-active::after {
  opacity: 1;
}

.bl-filter.is-active {
  box-shadow: inset 0 -3px 0 0 var(--text);
}

.bl-toolbar {
  display: flex;
  justify-content: center;
  margin-top: var(--sp-6);
}

.bl-hero-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(320px, 100%);
  border-bottom: 1px solid var(--line-strong);
  padding: 6px 2px;
  color: var(--muted);
  transition: border-color var(--dur-base) var(--ease-smooth);
}

.bl-hero-search:focus-within {
  border-color: var(--text);
  color: var(--text);
}

.bl-hero-search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--text);
  padding: 4px 0;
}

.bl-hero-search-input::placeholder {
  color: var(--muted);
}

/* ══════════════════════════════════════
   POST GRID
   ══════════════════════════════════════ */
.bl-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-12) var(--sp-6);
}

.bl-card {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
}

.bl-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.bl-card-link {
  display: block;
  text-decoration: none;
}

.bl-card-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg);
}

.bl-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-reveal) var(--ease-out);
}

.bl-card-link:hover .bl-card-img img {
  transform: scale(1.04);
}

.bl-img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  background: var(--panel);
}

.bl-card-body {
  padding: var(--sp-3) 0 0;
}

.bl-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--sp-2);
}

.bl-card-tag {
  font-weight: 600;
  color: var(--text);
}

.bl-meta-sep {
  color: var(--line-strong);
}

.bl-card-title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 var(--sp-2);
  color: var(--text);
}

.bl-card-excerpt {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 var(--sp-3);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ══════════════════════════════════════
   PAGINATION
   ══════════════════════════════════════ */
.bl-load-more {
  margin-top: var(--sp-16);
}

.bl-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

.bl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--dur-base) var(--ease-smooth),
              color var(--dur-base) var(--ease-smooth),
              border-color var(--dur-base) var(--ease-smooth);
}

.bl-btn--outline {
  min-width: 40px;
  height: 40px;
  padding: 0 var(--sp-3);
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--text);
}

.bl-btn--outline:hover {
  background: var(--panel);
}

.bl-btn--outline.is-active {
  background: var(--text);
  border-color: var(--text);
  color: var(--white);
  pointer-events: none;
}

.bl-page-ellipsis {
  pointer-events: none;
  border-color: transparent;
  background: transparent;
  color: var(--muted);
}

/* ══════════════════════════════════════
   NEWSLETTER
   ══════════════════════════════════════ */
.bl-newsletter {
  background: var(--bg);
  padding: clamp(48px, 7vw, 88px) var(--page-gutter);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
}

.bl-newsletter.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.bl-newsletter-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.bl-newsletter-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 var(--sp-2);
  color: var(--text);
}

.bl-newsletter-desc {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 var(--sp-6);
}

.bl-newsletter-input-wrap {
  display: flex;
  gap: var(--sp-2);
}

.bl-newsletter-input {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 var(--sp-4);
  border: 1px solid var(--line-strong);
  background: var(--white);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--text);
  outline: none;
  transition: border-color var(--dur-base) var(--ease-smooth);
}

.bl-newsletter-input:focus {
  border-color: var(--text);
}

.bl-newsletter-btn {
  height: 46px;
  padding: 0 var(--sp-6);
  border: none;
  border-radius: var(--r-pill);
  background: var(--text);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color var(--dur-base) var(--ease-smooth);
}

.bl-newsletter-btn:hover {
  background: #000;
}

.bl-newsletter-note {
  font-size: var(--text-xs);
  color: var(--muted);
  margin: var(--sp-3) 0 0;
}

.bl-newsletter-form.is-busy .bl-newsletter-btn,
.bl-newsletter-form.is-done .bl-newsletter-btn {
  opacity: 0.6;
  cursor: default;
}

.nl-msg--blog {
  text-align: left;
}

.bl-newsletter-success {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--success);
  margin: var(--sp-4) 0 0;
}

/* ══════════════════════════════════════
   EMPTY STATE
   ══════════════════════════════════════ */
.bl-empty {
  text-align: center;
  padding: var(--sp-24) 0;
  color: var(--muted);
}

.bl-empty-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  margin: var(--sp-4) 0 var(--sp-1);
}

.bl-empty-desc {
  font-size: var(--text-sm);
  margin: 0;
}

.bl-empty svg {
  margin: 0 auto;
  color: var(--line-strong);
}

/* ══════════════════════════════════════
   DETAIL — HERO
   ══════════════════════════════════════ */
.bl-detail-hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(300px, 44vw, 560px);
  text-align: center;
}

.bl-detail-hero-media {
  position: absolute;
  inset: 0;
}

.bl-detail-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bl-detail-hero--img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(10, 10, 10, 0.12), rgba(10, 10, 10, 0.42));
}

.bl-detail-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
  padding: var(--sp-16) var(--page-gutter);
}

.bl-detail-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1rem + 3.4vw, 3.4rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.18;
  margin: 0;
  color: var(--text);
}

.bl-detail-hero--img .bl-detail-title {
  color: var(--white);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

/* ── Meta strip (hero altı) ── */
.bl-detail-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: var(--sp-4) var(--page-gutter);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.bl-detail-tag {
  font-weight: 700;
  color: var(--text);
}

.bl-detail-info-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.bl-detail-author {
  font-weight: 600;
  color: var(--text);
}

/* ══════════════════════════════════════
   DETAIL — LAYOUT (tek ortalanmış kolon)
   ══════════════════════════════════════ */
.bl-detail-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--sp-12) var(--page-gutter) var(--sp-16);
}

.bl-article {
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
  min-width: 0;
}

/* ══════════════════════════════════════
   DETAIL — ARTICLE CONTENT
   ══════════════════════════════════════ */
.bl-content {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--text);
}

.bl-lead {
  font-size: var(--text-lg);
  line-height: 1.75;
  color: var(--muted);
  margin: 0 0 var(--sp-6);
}

.bl-content p {
  margin: 0 0 var(--sp-4);
}

.bl-content h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-align: center;
  color: var(--text);
  margin: var(--sp-12) 0 var(--sp-6);
  scroll-margin-top: 110px;
}

.bl-content h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  margin: var(--sp-8) 0 var(--sp-3);
  scroll-margin-top: 110px;
}

.bl-content h4 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text);
  margin: var(--sp-6) 0 var(--sp-2);
  scroll-margin-top: 110px;
}

.bl-content img {
  width: 100%;
  margin: var(--sp-8) 0;
}

.bl-content ul,
.bl-content ol {
  margin: 0 0 var(--sp-4);
  padding-left: 1.4em;
}

.bl-content li {
  margin-bottom: var(--sp-1);
}

.bl-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color var(--dur-fast) var(--ease-smooth);
}

.bl-content a:hover {
  color: var(--muted);
}

.bl-content strong { font-weight: 700; }

/* ══════════════════════════════════════
   DETAIL — GÖRSEL YERLEŞİMLERİ (Ortovox)
   Editör sınıfları: img-sol / img-sag / img-genis / img-tam
   Aynı paragraftaki 2+ görsel otomatik galeri olur.
   ══════════════════════════════════════ */
.bl-figure {
  margin: var(--sp-8) 0;
}

.bl-figure img {
  width: 100%;
  margin: 0;
  display: block;
}

.bl-figure figcaption {
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--muted);
  margin-top: var(--sp-2);
}

.bl-figure--wide figcaption,
.bl-figure--full figcaption {
  text-align: center;
}

.bl-figure--full figcaption {
  padding: 0 var(--page-gutter);
}

/* Sol / sağ yüzen görsel — metin dolanır; geniş ekranda kolondan taşar */
.bl-figure--left,
.bl-figure--right {
  width: min(58%, 480px);
  margin-top: var(--sp-2);
  margin-bottom: var(--sp-4);
}

.bl-figure--left {
  float: left;
  margin-right: var(--sp-8);
}

.bl-figure--right {
  float: right;
  margin-left: var(--sp-8);
}

@media (min-width: 1140px) {
  .bl-figure--left { margin-left: -140px; }
  .bl-figure--right { margin-right: -140px; }
}

/* Yüzen görsellerden sonra başlıklar dolanmayı keser */
.bl-content h2,
.bl-content h3 {
  clear: both;
}

.bl-tags,
.bl-author-bio {
  clear: both;
}

/* Geniş görsel — okuma kolonundan taşar (breakout) */
.bl-figure--wide {
  width: min(calc(100vw - 2 * var(--page-gutter)), 1080px);
  margin-left: 50%;
  transform: translateX(-50%);
  clear: both;
}

/* Tam genişlik — ekran kenarına dayanır */
.bl-figure--full {
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  clear: both;
}

.bl-figure--full img {
  max-height: 70vh;
  object-fit: cover;
}

/* ── Boyut standartları (küçük/orta/büyük) ──
   Editör sınıfları: img-kucuk / img-orta / img-buyuk
   Genişlik orana göre sabitlenir, yükseklik otomatik korunur.
   Geniş/Tam konumda boyut uygulanmaz (kolondan taşma kendi ölçüsünde). */
.bl-figure--sm:not(.bl-figure--left):not(.bl-figure--right):not(.bl-figure--wide):not(.bl-figure--full) {
  width: min(44%, 380px);
  margin-left: auto;
  margin-right: auto;
}

.bl-figure--md:not(.bl-figure--left):not(.bl-figure--right):not(.bl-figure--wide):not(.bl-figure--full) {
  width: min(72%, 620px);
  margin-left: auto;
  margin-right: auto;
}

.bl-figure--lg:not(.bl-figure--left):not(.bl-figure--right):not(.bl-figure--wide):not(.bl-figure--full) {
  width: 100%;
}

/* Yüzen (sol/sağ) görsellerde boyut, yüzen kolon genişliğini ölçekler */
.bl-figure--left.bl-figure--sm,
.bl-figure--right.bl-figure--sm {
  width: min(34%, 300px);
}

.bl-figure--left.bl-figure--md,
.bl-figure--right.bl-figure--md {
  width: min(46%, 400px);
}

.bl-figure--left.bl-figure--lg,
.bl-figure--right.bl-figure--lg {
  width: min(58%, 480px);
}

/* Galeri grid'i — Ortovox foto dizisi (okuma kolonundan taşar) */
.bl-gallery {
  display: grid;
  gap: var(--sp-3);
  margin: var(--sp-8) 0;
  clear: both;
  width: min(calc(100vw - 2 * var(--page-gutter)), 1080px);
  margin-left: 50%;
  transform: translateX(-50%);
}

.bl-gallery--2 { grid-template-columns: repeat(2, 1fr); }
.bl-gallery--3 { grid-template-columns: repeat(3, 1fr); }

.bl-gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin: 0;
  display: block;
}

/* ── Alıntı (Ortovox: ortalanmış, tırnaklı, sade) ── */
.bl-quote {
  margin: var(--sp-12) 0;
  padding: 0 var(--sp-6);
  border: none;
  text-align: center;
}

.bl-quote p {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  line-height: 1.5;
  color: var(--text);
  margin: 0;
}

.bl-quote p::before { content: "\201C"; }
.bl-quote p::after { content: "\201D"; }

/* ── Bilgi kutusu (rota vb.) ── */
.bl-route-box,
.bl-gear-box {
  background: var(--bg);
  padding: var(--sp-6);
  margin: var(--sp-8) 0;
}

.bl-route-box-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 var(--sp-4);
}

.bl-route-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--sp-4);
}

.bl-route-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bl-route-label {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.bl-route-value {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text);
}

/* ── Etiketler ── */
.bl-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-8);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--line);
}

.bl-tags-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.bl-tag {
  font-size: var(--text-sm);
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color var(--dur-fast) var(--ease-smooth);
}

.bl-tag:hover { color: var(--muted); }

/* ── Yazar (Ortovox: dairesel profil, ortalanmış) ── */
.bl-author-bio {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-3);
  margin-top: var(--sp-12);
  padding-top: var(--sp-8);
  border-top: 1px solid var(--line);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
}

.bl-author-bio.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.bl-author-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--panel);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.bl-author-avatar--lg {
  width: 92px;
  height: 92px;
  font-size: 26px;
}

.bl-author-bio-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0;
}

.bl-author-bio-desc {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  max-width: 420px;
}

.bl-author-name {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text);
}

.bl-author-role {
  display: block;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ══════════════════════════════════════
   DETAIL — İLGİLİ ÜRÜNLER
   ══════════════════════════════════════ */
.bl-products {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: clamp(48px, 7vw, 88px) var(--page-gutter);
}

.bl-products-inner {
  max-width: 980px;
  margin: 0 auto;
}

.bl-products-head {
  text-align: center;
  margin-bottom: var(--sp-8);
}

.bl-products-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 var(--sp-2);
  color: var(--text);
}

.bl-products-desc {
  font-size: var(--text-sm);
  color: var(--muted);
  margin: 0;
}

.bl-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.bl-product-card {
  display: block;
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color var(--dur-base) var(--ease-smooth);
}

.bl-product-card:hover {
  border-color: var(--line-strong);
}

.bl-product-img {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--white);
  overflow: hidden;
}

.bl-product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--sp-4);
  box-sizing: border-box;
  transition: transform var(--dur-slow) var(--ease-out);
}

.bl-product-card:hover .bl-product-img img {
  transform: scale(1.03);
}

.bl-product-badge {
  position: absolute;
  top: var(--sp-3);
  left: var(--sp-3);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 3px 8px;
}

.bl-product-body {
  padding: var(--sp-4);
  border-top: 1px solid var(--line);
}

.bl-product-cat {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.bl-product-name {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
  margin: 0 0 var(--sp-3);
}

.bl-product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
}

.bl-product-price {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text);
}

.bl-product-action {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

/* ══════════════════════════════════════
   DETAIL — İLGİLİ YAZILAR
   ══════════════════════════════════════ */
.bl-related {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: clamp(48px, 7vw, 88px) var(--page-gutter);
}

.bl-related-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.bl-related-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  margin: 0 0 var(--sp-8);
  color: var(--text);
}

.bl-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

/* ══════════════════════════════════════
   DETAIL — YORUMLAR
   ══════════════════════════════════════ */
.bl-comments {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: clamp(48px, 7vw, 88px) var(--page-gutter);
}

.bl-comments .bl-related-inner {
  max-width: 760px;
}

.bl-comments .bl-related-title {
  margin-bottom: var(--sp-2);
}

.bl-comments-sub {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--muted);
  margin: 0 0 var(--sp-8);
}

.bl-comment-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
}

.bl-comment {
  display: flex;
  gap: var(--sp-3);
  background: var(--white);
  border: 1px solid var(--line);
  padding: var(--sp-4);
}

.bl-comment-body {
  flex: 1;
  min-width: 0;
}

.bl-comment-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-2);
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.bl-comment-name {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text);
}

.bl-comment-date {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.bl-comment-title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text);
  margin: 0 0 4px;
}

.bl-comment-text {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

/* ── Yorum formu ── */
.bl-comment-form {
  background: var(--white);
  border: 1px solid var(--line);
  padding: var(--sp-6);
}

.bl-comment-form-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 var(--sp-1);
  color: var(--text);
}

.bl-comment-form-desc {
  font-size: var(--text-sm);
  color: var(--muted);
  margin: 0 0 var(--sp-6);
}

.bl-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  margin-bottom: var(--sp-4);
}

.bl-form-field {
  margin-bottom: var(--sp-4);
}

.bl-form-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 6px;
}

.bl-req { color: var(--error); }

.bl-form-input,
.bl-form-textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line-strong);
  background: var(--white);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--text);
  padding: 11px var(--sp-3);
  outline: none;
  transition: border-color var(--dur-base) var(--ease-smooth);
}

.bl-form-input:focus,
.bl-form-textarea:focus {
  border-color: var(--text);
}

.bl-form-input[readonly] {
  background: var(--bg-soft);
  color: var(--muted);
}

.bl-form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.bl-form-msg {
  display: none;
  font-size: var(--text-sm);
  margin-bottom: var(--sp-3);
  padding: var(--sp-3);
}

.bl-form-msg.is-error {
  display: block;
  background: #fdf1ee;
  color: var(--error);
}

.bl-form-msg.is-ok {
  display: block;
  background: #eef6f1;
  color: var(--success);
}

.bl-form-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 var(--sp-8);
  border: none;
  border-radius: var(--r-pill);
  background: var(--text);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color var(--dur-base) var(--ease-smooth),
              opacity var(--dur-base) var(--ease-smooth);
}

.bl-form-submit:hover { background: #000; }
.bl-form-submit:disabled { opacity: 0.6; cursor: default; }

/* ══════════════════════════════════════
   READING PROGRESS
   ══════════════════════════════════════ */
.bl-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 120;
  background: transparent;
  pointer-events: none;
}

.bl-progress-bar {
  width: 0;
  height: 100%;
  background: var(--text);
  transition: width 80ms linear;
}

/* ══════════════════════════════════════
   RESPONSIVE — DESKTOP DAR (< 1280px)
   ══════════════════════════════════════ */
@media (max-width: 1280px) {
  .bl-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ══════════════════════════════════════
   RESPONSIVE — TABLET (< 1024px)
   ══════════════════════════════════════ */
@media (max-width: 1024px) {
  .bl-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-8) var(--sp-4);
  }

  .bl-teasers {
    gap: var(--sp-6) var(--sp-4);
  }
}

/* ══════════════════════════════════════
   RESPONSIVE — MOBILE (< 768px)
   ══════════════════════════════════════ */
@media (max-width: 768px) {
  /* Header */
  .bl-body .site-header .nav-links,
  .bl-body .site-header .nav-actions {
    display: none;
  }

  .bl-body .menu-toggle {
    display: flex;
  }

  .bl-crumbbar {
    padding-top: calc(4.75rem + 10px);
  }

  .bl-hero {
    min-height: 220px;
  }

  .bl-teasers {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
    margin-bottom: var(--sp-12);
  }

  .bl-featured-excerpt { -webkit-line-clamp: 3; }

  .bl-filters-inner {
    justify-content: flex-start;
  }

  .bl-products-grid,
  .bl-related-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .bl-form-grid {
    grid-template-columns: 1fr;
  }

  .bl-detail-meta {
    row-gap: 4px;
  }

  .bl-newsletter-input-wrap {
    flex-direction: column;
  }

  .bl-newsletter-btn { width: 100%; }

  .bl-comment { flex-direction: column; gap: var(--sp-2); }

  /* Görsel yerleşimleri: dar ekranda yüzenler tam genişliğe düşer */
  .bl-figure--left,
  .bl-figure--right {
    float: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  /* Boyutlar dar ekranda sadeleşir: küçük ortalanmış kalır, orta/büyük tam kolon */
  .bl-figure--sm:not(.bl-figure--wide):not(.bl-figure--full) {
    width: min(70%, 380px);
    margin-left: auto;
    margin-right: auto;
  }

  .bl-figure--md:not(.bl-figure--wide):not(.bl-figure--full),
  .bl-figure--lg:not(.bl-figure--wide):not(.bl-figure--full) {
    width: 100%;
  }

  .bl-gallery--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Mobil alt bar payı */
  .bl-main { padding-bottom: var(--mob-bar-content-height); }
}

/* ══════════════════════════════════════
   RESPONSIVE — KÜÇÜK MOBİL (< 560px)
   ══════════════════════════════════════ */
@media (max-width: 560px) {
  .bl-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .bl-card-excerpt { -webkit-line-clamp: 2; }

  .bl-content { font-size: 15px; }
}

/* ══════════════════════════════════════
   REDUCED MOTION
   ══════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .bl-card,
  .bl-featured,
  .bl-newsletter,
  .bl-author-bio {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .bl-card-img img,
  .bl-featured-img img,
  .bl-product-img img,
  .bl-filter-media img {
    transition: none;
  }
}
