/* ─────────────────────────────────────────────────────────────
   blog.css — Blog liste & makale sayfası stilleri
───────────────────────────────────────────────────────────── */

/* Reading progress bar */
.read-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px; width: 0%;
  background: var(--gold, #C5A059);
  z-index: 1001;
  transition: width .1s linear;
  pointer-events: none;
}

/* ── Filtreler ─────────────────────────────────────────────── */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 2rem;
}
.filter {
  padding: .4rem 1.1rem;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 9999px;
  background: transparent;
  color: #9ca3af;
  font-size: .78rem;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
  font-family: inherit;
  letter-spacing: .02em;
}
.filter:hover {
  border-color: #C5A059;
  color: #C5A059;
}
.filter.is-active {
  background: #C5A059;
  border-color: #C5A059;
  color: #0a0a0a;
  font-weight: 600;
}

/* ── Featured Post ─────────────────────────────────────────── */
.blog-feat {
  border-radius: .875rem;
  overflow: hidden;
  border: 1px solid #1e1e1e;
  background: #0d0d0d;
  transition: border-color .3s;
}
.blog-feat:hover {
  border-color: rgba(197,160,89,.35);
}
.blog-feat__link {
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-decoration: none;
  min-height: 380px;
}
@media (max-width: 768px) {
  .blog-feat__link { grid-template-columns: 1fr; min-height: auto; }
}
.blog-feat__media {
  position: relative;
  min-height: 280px;
}
.blog-feat__media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}
.blog-feat:hover .blog-feat__media img { transform: scale(1.04); }
.blog-feat__badge {
  position: absolute;
  top: 1.25rem; left: 1.25rem;
  background: #C5A059; color: #0a0a0a;
  font-size: .65rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .22rem .65rem;
  border-radius: 9999px;
  z-index: 1;
}
.blog-feat__content {
  padding: clamp(1.75rem,4vw,3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}
.blog-feat__cat {
  font-size: .7rem;
  color: #C5A059;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-weight: 600;
}
.blog-feat__title {
  font-size: clamp(1.25rem,2.2vw,1.75rem);
  font-weight: 800;
  color: #f0f0f0;
  line-height: 1.25;
  letter-spacing: -.02em;
  transition: color .25s;
}
.blog-feat__link:hover .blog-feat__title { color: #fff; }
.blog-feat__excerpt {
  color: #9ca3af;
  line-height: 1.65;
  font-size: .875rem;
}
.blog-feat__meta {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  color: #6b7280;
}
.blog-feat__meta .dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: #444;
  display: inline-block;
}

/* ── Post Grid ─────────────────────────────────────────────── */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.5rem;
}
@media (max-width: 1100px) { .post-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px)  { .post-grid { grid-template-columns: 1fr; gap: 1rem; } }

.post {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: .75rem;
  overflow: hidden;
  border: 1px solid #1a1a1a;
  background: #0d0d0d;
  transition: transform .35s cubic-bezier(.25,.46,.45,.94), border-color .3s, box-shadow .35s;
}
.post:hover {
  transform: translateY(-5px);
  border-color: rgba(197,160,89,.3);
  box-shadow: 0 24px 56px rgba(0,0,0,.5);
}
.post.is-hidden { display: none; }

.post__media {
  position: relative;
  width: 100%;
  padding-top: 58%;
  flex-shrink: 0;
  overflow: hidden;
}
.post__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.post:hover .post__media img { transform: scale(1.05); }

.post__cat {
  position: absolute;
  top: .875rem; left: .875rem;
  background: rgba(10,10,10,.85);
  color: #C5A059;
  font-size: .63rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .2rem .55rem;
  border-radius: 9999px;
  border: 1px solid rgba(197,160,89,.25);
  z-index: 1;
}

.post__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: .5rem;
}
.post__title {
  font-size: .975rem;
  font-weight: 700;
  color: #e8e8e8;
  line-height: 1.35;
  letter-spacing: -.015em;
  transition: color .25s;
}
.post:hover .post__title { color: #fff; }
.post__excerpt {
  font-size: .8rem;
  color: #9ca3af;
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post__meta {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  color: #6b7280;
  margin-top: .25rem;
}
.post__meta .dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: #444;
  display: inline-block;
}
.post__arrow {
  margin-left: auto;
  color: #C5A059;
  opacity: 0;
  transition: opacity .25s;
  font-size: 1rem;
}
.post:hover .post__arrow { opacity: 1; }

.blog-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 0;
  color: #6b7280;
  font-size: .875rem;
}

/* ── Newsletter ────────────────────────────────────────────── */
.blog-news {
  background: #0d0d0d;
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
  padding: clamp(3rem,6vw,5rem) 0;
  margin-top: clamp(2rem,5vh,4rem);
}
.blog-news__inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 var(--container-pad,1.5rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (max-width: 640px) {
  .blog-news__inner { grid-template-columns: 1fr; gap: 1.5rem; }
}
.blog-news__title {
  font-size: clamp(1.2rem,2.5vw,1.6rem);
  font-weight: 800;
  color: #f0f0f0;
  letter-spacing: -.02em;
  line-height: 1.25;
  margin-bottom: .5rem;
}
.blog-news__sub {
  font-size: .84rem;
  color: #9ca3af;
  line-height: 1.65;
}
.blog-news__form {
  display: flex;
  gap: .5rem;
}
@media (max-width: 480px) {
  .blog-news__form { flex-direction: column; }
}
.blog-news__input {
  flex: 1;
  padding: .65rem 1rem;
  background: #111;
  border: 1px solid #2a2a2a;
  border-radius: .5rem;
  color: #f0f0f0;
  font-size: .875rem;
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
}
.blog-news__input::placeholder { color: #6b7280; }
.blog-news__input:focus { border-color: rgba(197,160,89,.4); }

/* ── Section head ──────────────────────────────────────────── */
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.sec-head__title {
  font-size: clamp(1.4rem,3vw,2.1rem);
  font-weight: 800;
  color: #f0f0f0;
  letter-spacing: -.03em;
  line-height: 1.15;
}

/* ── Article Hero ──────────────────────────────────────────── */
.article-hero {
  padding: clamp(5rem,10vh,8rem) 0 clamp(2rem,4vh,3.5rem);
}
.article-hero__cat {
  font-size: .7rem;
  color: #C5A059;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-weight: 600;
  margin-bottom: .875rem;
}
.article-hero__title {
  font-size: clamp(1.9rem,4.5vw,3.25rem);
  font-weight: 900;
  color: #f0f0f0;
  line-height: 1.1;
  letter-spacing: -.035em;
  margin-bottom: 1.1rem;
  max-width: 22ch;
}
.article-hero__lede {
  font-size: clamp(.9rem,1.4vw,1.0625rem);
  color: #9ca3af;
  line-height: 1.75;
  max-width: 60ch;
  margin-bottom: 2rem;
}

/* ── Byline ────────────────────────────────────────────────── */
.article-byline {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.article-byline__av {
  width: 42px; height: 42px;
  border-radius: 50%;
  flex-shrink: 0;
}
.article-byline__name {
  font-size: .875rem;
  font-weight: 600;
  color: #e0e0e0;
}
.article-byline__role {
  font-size: .72rem;
  color: #6b7280;
  margin-top: .1rem;
}
.article-byline__sep {
  width: 1px; height: 26px;
  background: #2a2a2a;
  margin: 0 .25rem;
}
.article-byline__meta {
  font-size: .75rem;
  color: #9ca3af;
  line-height: 1.65;
}

/* ── Article cover ─────────────────────────────────────────── */
.article-cover {
  border-radius: .875rem;
  width: 100%;
  padding-top: 44%;
  position: relative;
  overflow: hidden;
}
.article-cover img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ── Prose / Article body ──────────────────────────────────── */
.article-body {
  max-width: 68ch;
  margin: 0 auto;
}
.prose p {
  font-size: 1.0625rem;
  line-height: 1.82;
  color: #c8c8c8;
  margin-bottom: 1.4em;
}
.prose h2 {
  font-size: clamp(1.2rem,2.2vw,1.55rem);
  font-weight: 800;
  color: #f0f0f0;
  letter-spacing: -.025em;
  line-height: 1.2;
  margin: 2.5em 0 .65em;
}
.prose h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #e8e8e8;
  margin: 1.8em 0 .55em;
}
.prose ul,
.prose ol {
  padding-left: 1.5em;
  margin-bottom: 1.4em;
  color: #c8c8c8;
}
.prose li {
  font-size: 1.0625rem;
  line-height: 1.75;
  margin-bottom: .4em;
}
.prose blockquote {
  border-left: 3px solid #C5A059;
  padding: 1rem 1.5rem;
  margin: 2em 0;
  background: rgba(197,160,89,.05);
  border-radius: 0 .5rem .5rem 0;
  font-size: 1.05rem;
  color: #d0d0d0;
  line-height: 1.7;
  font-style: italic;
}
.prose hr {
  border: none;
  border-top: 1px solid #1e1e1e;
  margin: 3em 0;
}
.prose strong { color: #f0f0f0; font-weight: 700; }
.prose a { color: #C5A059; text-decoration: underline; text-decoration-color: rgba(197,160,89,.3); }
.prose a:hover { text-decoration-color: #C5A059; }
.prose figure { margin: 2.5em 0; }
.prose figcaption { font-size: .78rem; color: #6b7280; text-align: center; margin-top: .75rem; line-height: 1.55; }
.prose .visual { padding-top: 50%; }

.dropcap::first-letter {
  float: left;
  font-size: 4.25em;
  font-weight: 900;
  line-height: .8;
  margin-right: .12em;
  color: #C5A059;
  letter-spacing: -.03em;
}

.h-idx {
  display: block;
  font-size: .63rem;
  color: #C5A059;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: .4em;
}

/* ── Article tags ──────────────────────────────────────────── */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid #1e1e1e;
}
.article-tags a {
  padding: .28rem .75rem;
  border: 1px solid #2a2a2a;
  border-radius: 9999px;
  font-size: .73rem;
  color: #9ca3af;
  text-decoration: none;
  transition: border-color .2s, color .2s;
  letter-spacing: .02em;
}
.article-tags a:hover {
  border-color: rgba(197,160,89,.4);
  color: #C5A059;
}

/* ── Share ─────────────────────────────────────────────────── */
.article-share {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.article-share__k {
  font-size: .72rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
}
.article-share__btns { display: flex; gap: .5rem; }
.share-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid #2a2a2a;
  background: transparent;
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: border-color .2s, color .2s, background .2s;
}
.share-btn:hover {
  border-color: rgba(197,160,89,.4);
  color: #C5A059;
  background: rgba(197,160,89,.07);
}

/* ── Author card ───────────────────────────────────────────── */
.author-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.75rem;
  border: 1px solid #1e1e1e;
  border-radius: .875rem;
  background: #0d0d0d;
  margin-top: 2.5rem;
}
.author-card__av {
  width: 56px; height: 56px;
  border-radius: 50%;
  flex-shrink: 0;
}
.author-card__name { font-size: .95rem; font-weight: 700; color: #f0f0f0; margin-bottom: .15rem; }
.author-card__role { font-size: .75rem; color: #C5A059; margin-bottom: .55rem; }
.author-card__bio  { font-size: .82rem; color: #9ca3af; line-height: 1.65; margin: 0; }
