/* =========================================================
   SINEM / BLOG
   Blog cards, archive and single post views
========================================================= */

/* =========================
   BLOG CARD / GENERAL
========================= */

.blog-card,
.archive-grid-posts .mini-post,
.blog-archive-grid .mini-post{
  background:linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(255,252,249,.98) 100%);
  border:1px solid rgba(234,223,215,.95);
  border-radius:28px;
  box-shadow:var(--shadow-sm);
}

/* =========================
   ARCHIVE BLOG GRID
========================= */

.archive-grid-posts,
.blog-archive-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:24px;
}

.archive-header{
  margin-bottom:32px;
}

.archive-header .page-title{
  margin-bottom:12px;
}

.archive-description{
  max-width:760px;
  color:var(--color-text-soft);
}

/* =========================
   MINI POST (HOME SIDEBAR + BLOG LISTS)
========================= */

.mini-post{
  position:relative;
  display:flex;
  align-items:center;
  gap:16px;
  padding:14px;
  margin-bottom:14px;
  background:linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(255,253,250,.96) 100%);
  border:1px solid rgba(234,223,215,.95);
  border-radius:22px;
  box-shadow:var(--shadow-xs);
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    border-color var(--transition-base);
}

.mini-post:last-child{
  margin-bottom:0;
}

.mini-post:hover{
  transform:translateY(-3px);
  box-shadow:0 18px 30px rgba(122,96,73,.10);
  border-color:#dccabd;
}

.mini-post-thumb{
  width:84px;
  height:84px;
  flex:0 0 84px;
  overflow:hidden;
  border-radius:18px;
  background:#f0e4dc;
  box-shadow:inset 0 0 0 1px rgba(234,223,215,.7);
}

.mini-post-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform var(--transition-slow);
}

.mini-post:hover .mini-post-thumb img{
  transform:scale(1.04);
}

.mini-post-text{
  min-width:0;
}

.mini-post-text h3{
  margin:0 0 6px;
  font-size:15px;
  line-height:1.35;
  font-family:var(--font-body);
  font-weight:700;
  letter-spacing:0;
  color:#6f5544;
}

.mini-post-text h3 a{
  color:inherit;
  text-decoration:none;
}

.mini-post-text h3 a:hover{
  color:var(--color-accent-2);
}

.mini-post-date{
  color:#b19d90;
  font-size:12px;
  line-height:1.4;
}

/* =========================
   SINGLE POST
========================= */

.single-post-article,
.single-post-layout{
  padding:30px;
  border-radius:34px;
}

.single-post-article .entry-header,
.single-post-layout .entry-header{
  margin-bottom:26px;
}

.single-post-article .page-title,
.single-post-layout .page-title{
  margin-bottom:12px;
  font-size:clamp(2rem, 3vw, 3.2rem);
  line-height:1.08;
}

.post-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  color:var(--color-text-soft);
  font-size:14px;
}

.post-separator{
  opacity:.7;
}

.single-featured{
  margin-bottom:24px;
  overflow:hidden;
  border-radius:26px;
  background:#efe4dc;
}

.single-featured img,
.single-post-image{
  width:100%;
  height:auto;
  object-fit:cover;
}

.single-post-layout .entry-content,
.single-post-article .entry-content{
  font-size:1.06rem;
  line-height:1.85;
  color:var(--color-text);
}

.single-post-layout .entry-footer,
.single-post-article .entry-footer{
  margin-top:28px;
  padding-top:18px;
  border-top:1px solid rgba(234,223,215,.72);
}

.post-tags a{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 12px;
  margin:0 8px 8px 0;
  border-radius:999px;
  background:rgba(255,255,255,.78);
  border:1px solid var(--color-line);
  color:var(--color-text);
  font-size:13px;
}

.post-tags a:hover{
  background:#fff;
  border-color:#dccabd;
  color:var(--color-accent-2);
}

/* =========================
   POST NAVIGATION
========================= */

.post-navigation{
  margin-top:32px;
}

.post-navigation .nav-links{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.post-navigation .nav-previous a,
.post-navigation .nav-next a{
  display:block;
  padding:18px 20px;
  border-radius:22px;
  background:rgba(255,255,255,.78);
  border:1px solid rgba(234,223,215,.92);
  box-shadow:var(--shadow-xs);
}

.post-navigation .nav-previous a:hover,
.post-navigation .nav-next a:hover{
  background:#fff;
  border-color:#dccabd;
  box-shadow:var(--shadow-sm);
}

/* =========================
   COMMENTS POLISH
========================= */

.comments-area{
  margin-top:40px;
  padding:28px;
  border-radius:30px;
}

.comments-title{
  margin-bottom:20px;
}

.comment-list{
  display:grid;
  gap:20px;
}

.comment-list li{
  padding-bottom:18px;
  border-bottom:1px solid rgba(234,223,215,.72);
}

.comment-author{
  font-weight:700;
  color:var(--color-text-strong);
}

.comment-meta,
.comment-metadata{
  margin:6px 0 10px;
  font-size:13px;
  color:var(--color-text-soft);
}

/* =========================
   SIDEBAR AREA
========================= */

.sidebar-area{
  padding:24px;
}

.widget-title{
  margin-bottom:14px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width:1024px){
  .archive-grid-posts,
  .blog-archive-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width:780px){
  .single-post-article,
  .single-post-layout{
    padding:22px;
    border-radius:28px;
  }

  .single-featured{
    border-radius:22px;
  }

  .post-navigation .nav-links{
    grid-template-columns:1fr;
  }

  .comments-area{
    padding:22px;
    border-radius:24px;
  }
}

@media (max-width:520px){
  .mini-post{
    gap:12px;
    padding:12px;
    border-radius:18px;
  }

  .mini-post-thumb{
    width:74px;
    height:74px;
    flex:0 0 74px;
    border-radius:16px;
  }

  .single-post-article,
  .single-post-layout{
    padding:18px;
    border-radius:24px;
  }

  .single-featured{
    border-radius:18px;
  }

  .comments-area{
    padding:18px;
    border-radius:22px;
  }
}