/* =========================================================
   blog.css — Blog index + long-form article pages
   Self-contained; complements style.css (header/footer/container)
   Bilingual visibility mirrors the site's .ct-tr / .ct-en system
   ========================================================= */

:root {
  --ow-teal: #0e6b65;
  --ow-teal-dark: #0a4f4a;
  --ow-ink: #23201c;
  --ow-muted: #6b6459;
  --ow-line: #e5ddd0;
  --ow-paper: #fbf8f2;
  --ow-paper-2: #f4eee3;
  --ow-gold: #b8894a;
}

/* ---------- Bilingual show / hide ---------- */
.ct-en, .ct-tr { }
body.lang-tr .ct-en { display: none !important; }
body.lang-en .ct-tr { display: none !important; }
/* block-level language wrappers */
body.lang-tr .lang-en-block { display: none !important; }
body.lang-en .lang-tr-block { display: none !important; }

/* ---------- Page canvas ---------- */
body.blog-page {
  background: var(--ow-paper);
  color: var(--ow-ink);
}

.blog-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

/* ---------- Breadcrumb ---------- */
.blog-breadcrumb {
  max-width: 820px;
  margin: 24px auto 0;
  padding: 0 20px;
  font-size: 0.82rem;
  color: var(--ow-muted);
  letter-spacing: .02em;
}
.blog-breadcrumb a { color: var(--ow-teal); text-decoration: none; }
.blog-breadcrumb a:hover { text-decoration: underline; }
.blog-breadcrumb span[aria-current] { color: var(--ow-ink); }

/* ---------- Article header ---------- */
.article-hero {
  max-width: 820px;
  margin: 8px auto 0;
  padding: 28px 20px 8px;
  text-align: center;
}
.article-eyebrow {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 0.72rem;
  color: var(--ow-gold);
  margin: 0 0 14px;
  font-weight: 600;
}
.article-hero h1 {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--ow-ink);
}
.article-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.45;
  font-style: italic;
  color: var(--ow-teal-dark);
  max-width: 34ch;
  margin: -2px auto 18px;
}

.article-meta {
  font-size: 0.82rem;
  color: var(--ow-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  justify-content: center;
  margin-bottom: 8px;
}
.article-meta span::before { content: "·"; margin-right: 14px; color: var(--ow-line); }
.article-meta span:first-child::before { content: ""; margin: 0; }

.article-lead {
  font-size: 1.12rem;
  line-height: 1.7;
  color: #443f38;
  border-left: 3px solid var(--ow-teal);
  padding: 4px 0 4px 20px;
  margin: 26px 0 10px;
  text-align: left;
}

/* ---------- Featured figure ---------- */
.article-figure {
  margin: 30px auto;
  text-align: center;
}
.article-figure img {
  max-width: 100%;
  width: 420px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.article-figure figcaption {
  font-size: 0.82rem;
  color: var(--ow-muted);
  margin-top: 12px;
  font-style: italic;
  line-height: 1.5;
}

/* ---------- Article body ---------- */
/* literary pull-quote */
.article-pullquote {
  max-width: 32ch;
  margin: 40px auto;
  padding: 22px 0;
  text-align: center;
  font-size: clamp(1.3rem, 2.8vw, 1.75rem);
  line-height: 1.42;
  font-style: italic;
  color: var(--ow-teal-dark);
  border-top: 1px solid var(--ow-line);
  border-bottom: 1px solid var(--ow-line);
}
.article-pullquote strong { font-weight: 600; font-style: normal; }

.article-body {
  font-size: 1.03rem;
  line-height: 1.78;
  color: #2c2822;
}
.article-body .lede-para:first-letter {
  float: left;
  font-size: 3.1rem;
  line-height: 0.82;
  padding: 6px 10px 0 0;
  color: var(--ow-gold);
  font-weight: 600;
}
.article-body h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  margin: 44px 0 6px;
  color: var(--ow-teal-dark);
  line-height: 1.25;
}
.article-body h3 {
  font-size: 1.12rem;
  margin: 26px 0 4px;
  color: var(--ow-ink);
}
.article-body p { margin: 14px 0; }
.article-body a { color: var(--ow-teal); }

.article-body .section-rule {
  border: none;
  border-top: 1px solid var(--ow-line);
  margin: 40px 0 0;
}

/* callout / short answer box */
.article-callout {
  background: var(--ow-paper-2);
  border: 1px solid var(--ow-line);
  border-radius: 10px;
  padding: 18px 22px;
  margin: 26px 0;
}
.article-callout p { margin: 6px 0; }
.article-callout .callout-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ow-gold);
  font-weight: 700;
}

/* comparison table */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
  font-size: 0.95rem;
}
.compare-table th, .compare-table td {
  border: 1px solid var(--ow-line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.compare-table thead th {
  background: var(--ow-teal);
  color: #fff;
  font-weight: 600;
}
.compare-table tbody th {
  background: var(--ow-paper-2);
  font-weight: 600;
  width: 30%;
}

/* CTA to the gallery card */
.article-cta {
  margin: 40px 0 10px;
  text-align: center;
  background: linear-gradient(180deg, #ffffff, var(--ow-paper-2));
  border: 1px solid var(--ow-line);
  border-radius: 12px;
  padding: 28px 24px;
}
.article-cta h2 { margin: 0 0 10px; border: none; }
.article-cta p { margin: 0 auto 18px; max-width: 46ch; color: var(--ow-muted); }
.btn-primary {
  display: inline-block;
  background: var(--ow-teal);
  color: #fff !important;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: .02em;
  transition: background .15s ease;
}
.btn-primary:hover { background: var(--ow-teal-dark); }

/* sources / references */
.article-sources {
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid var(--ow-line);
  font-size: 0.86rem;
  color: var(--ow-muted);
}
.article-sources h2 { font-size: 1.1rem; color: var(--ow-ink); margin-bottom: 8px; }
.article-sources ul { margin: 0; padding-left: 20px; }
.article-sources li { margin: 6px 0; word-break: break-word; }
.article-sources a { color: var(--ow-teal); }

.article-disclaimer {
  font-size: 0.8rem;
  color: var(--ow-muted);
  font-style: italic;
  margin-top: 22px;
  line-height: 1.55;
}

/* ---------- Blog index ---------- */
.blog-index-hero {
  text-align: center;
  padding: 40px 20px 10px;
  max-width: 760px;
  margin: 0 auto;
}
.blog-index-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin: 8px 0 12px;
  color: var(--ow-ink);
}
.blog-index-hero p { color: var(--ow-muted); font-size: 1.05rem; line-height: 1.6; }

.post-list {
  max-width: 760px;
  margin: 20px auto 0;
  padding: 0 20px;
  display: grid;
  gap: 22px;
}
.post-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  border: 1px solid var(--ow-line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .18s ease, transform .18s ease;
}
.post-card:hover { box-shadow: 0 12px 30px rgba(0,0,0,.12); transform: translateY(-2px); }
.post-card-thumb { background: var(--ow-paper-2); }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card-body { padding: 18px 20px 18px 0; }
.post-card-tag {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: .14em;
  color: var(--ow-gold); font-weight: 700;
}
.post-card-body h2 { font-size: 1.22rem; margin: 6px 0 8px; color: var(--ow-teal-dark); line-height: 1.3; }
.post-card-body p { font-size: 0.92rem; color: var(--ow-muted); margin: 0; line-height: 1.55; }
.post-card-date { font-size: 0.78rem; color: var(--ow-muted); margin-top: 10px; }

@media (max-width: 560px) {
  .post-card { grid-template-columns: 1fr; }
  .post-card-thumb { height: 180px; }
  .post-card-body { padding: 0 18px 18px; }
  .compare-table tbody th { width: auto; }
}
