/* =========================================================
   BLOG LIST PAGE + SINGLE BLOG PAGE (COMPLETE CSS)
   Works with:
   - Blog list section: .blog-section-ui, .blog-grid-ui, .blog-card-ui ...
   - Single page: .single-post-ui, .single-title-ui, .single-content-ui ...
   ========================================================= */

/* ---------- BLOG LIST PAGE (SECTION BACKGROUND) ---------- */
.blog-section-ui{
  background:
    radial-gradient(circle at 20% 10%, rgba(255,255,255,.10), transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(255,255,255,.08), transparent 45%),
    linear-gradient(180deg, #5a1d3b 0%, #3b0f27 60%, #2a081a 100%);
  padding: 72px 0 92px;
  overflow: hidden;
}

/* Optional heading styles (if you add heading) */
.blog-section-ui .blog-heading{
  text-align:center;
  color:#fff;
  margin-bottom: 34px;
}
.blog-section-ui .blog-heading h2{
  font-size: clamp(28px, 3.2vw, 52px);
  font-weight: 900;
  margin-bottom: 10px;
  text-shadow: 0 10px 18px rgba(0,0,0,.35);
}
.blog-section-ui .blog-heading p{
  color: rgba(255,255,255,.85);
  font-weight: 700;
}

/* ---------- BLOG GRID ---------- */
.blog-grid-ui{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px 28px;
}

/* ---------- BLOG CARD ---------- */
.blog-card-ui{
  color:#fff;
  transform: translateY(0);
  transition: transform .25s ease, filter .25s ease;
}
.blog-card-ui:hover{
  transform: translateY(-6px);
}

/* Image wrapper with gold border */
.blog-img-ui{
  display:block;
  border-radius: 18px;
  overflow:hidden;
  border: 3px solid #d4af37; /* gold */
  background: rgba(0,0,0,.25);
  box-shadow: 0 18px 34px rgba(0,0,0,.35);
  position: relative;
}

/* subtle glow */
.blog-img-ui::after{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(circle at 50% 0%, rgba(255,255,255,.14), transparent 45%);
  opacity: .6;
  pointer-events:none;
}

.blog-img-ui img{
  width:100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display:block;
  transform: scale(1.01);
  transition: transform .35s ease, filter .35s ease;
}
.blog-card-ui:hover .blog-img-ui img{
  transform: scale(1.08);
  filter: brightness(1.03);
}

/* Content area */
.blog-body-ui{
  padding-top: 18px;
}

/* meta line */
.blog-meta-ui{
  font-size: 15px;
  font-weight: 800;
  color: rgba(255,255,255,.82);
  margin-bottom: 10px;
}

/* title */
.blog-title-ui{
  font-size: 34px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: .2px;
  margin: 0 0 22px;
  text-shadow: 0 10px 18px rgba(0,0,0,.25);
}
.blog-title-ui a{
  color:#fff;
  text-decoration:none;
}
.blog-title-ui a:hover{
  text-decoration: underline;
}

/* Read Article button */
.blog-read-ui{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 30px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 18px;
  border: 2px solid #d4af37;
  color:#fff;
  background: rgba(0,0,0,.08);
  box-shadow: 0 10px 18px rgba(0,0,0,.20);
  transition: transform .2s ease, filter .2s ease, background .2s ease, color .2s ease;
  position: relative;
  z-index: 5; /* click safe */
}
.blog-read-ui:hover{
  background: linear-gradient(180deg, #baff5a, #3f8c0f);
  color:#113a00;
  border-color: transparent;
  transform: translateY(-2px);
  filter: brightness(1.02);
}
.blog-read-ui:active{
  transform: translateY(0);
}

/* Explore More */
.blog-explore{
  margin-top: 54px;
  text-align:center;
}
.blog-explore-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 16px 56px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 18px;
  border: 2px solid rgba(255,255,255,.9);
  color:#fff;
  background: rgba(0,0,0,.08);
  box-shadow: 0 14px 26px rgba(0,0,0,.25);
  transition: all .2s ease;
}
.blog-explore-btn:hover{
  background:#fff;
  color:#5a1d3b;
}

/* ---------- BLOG LIST RESPONSIVE ---------- */
@media (max-width: 1100px){
  .blog-grid-ui{ grid-template-columns: repeat(2, 1fr); }
  .blog-title-ui{ font-size: 30px; }
}
@media (max-width: 640px){
  .blog-section-ui{ padding: 56px 0 70px; }
  .blog-grid-ui{ grid-template-columns: 1fr; gap: 34px; }
  .blog-title-ui{ font-size: 28px; }
  .blog-read-ui{ font-size: 16px; padding: 12px 24px; }
  .blog-explore-btn{ padding: 14px 40px; }
}

/* =========================================================
   SINGLE BLOG PAGE (CUSTOM single-blog.php)
   ========================================================= */
.single-post-ui{
  background:
    radial-gradient(circle at 10% 10%, rgba(90,29,59,.15), transparent 40%),
    linear-gradient(180deg, #f5f4f8 0%, #ffffff 55%, #f2f2f7 100%);
  padding: 72px 0 92px;
}

/* main article box */
.single-post-ui .container{
  max-width: 900px;
  background:#fff;
  padding: 44px 40px;
  border-radius: 22px;
  box-shadow: 0 20px 46px rgba(0,0,0,.12);
  border: 1px solid rgba(0,0,0,.06);
}

/* meta */
.single-meta-ui{
  font-weight: 900;
  color:#7b7b86;
  margin-bottom: 12px;
  letter-spacing: .2px;
}

/* title */
.single-title-ui{
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 20px;
  color:#17131c;
}

/* featured image */
.single-hero-ui{
  width:100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 18px;
  margin: 18px 0 30px;
  border: 3px solid #d4af37; /* gold */
  box-shadow: 0 18px 34px rgba(0,0,0,.20);
}

/* content typography */
.single-content-ui{
  font-size: 18px;
  line-height: 1.85;
  color:#23202b;
}
.single-content-ui p{
  margin-bottom: 18px;
}
.single-content-ui a{
  color:#5a1d3b;
  font-weight: 900;
  text-decoration: underline;
}
.single-content-ui a:hover{
  filter: brightness(0.9);
}

/* headings inside post */
.single-content-ui h2{
  font-size: 28px;
  margin: 34px 0 14px;
  font-weight: 900;
  color:#17131c;
}
.single-content-ui h3{
  font-size: 22px;
  margin: 28px 0 12px;
  font-weight: 900;
  color:#17131c;
}

/* lists */
.single-content-ui ul,
.single-content-ui ol{
  margin: 0 0 18px 22px;
}
.single-content-ui li{
  margin: 8px 0;
}

/* images inside content */
.single-content-ui img{
  max-width:100%;
  height:auto;
  border-radius: 14px;
  margin: 22px 0;
  box-shadow: 0 12px 26px rgba(0,0,0,.12);
}

/* blockquote */
.single-content-ui blockquote{
  margin: 24px 0;
  padding: 18px 18px;
  border-left: 5px solid #d4af37;
  background: #fbf6e7;
  border-radius: 12px;
  color:#2b2320;
  font-weight: 700;
}

/* responsive single */
@media (max-width: 768px){
  .single-post-ui{ padding: 56px 0 70px; }
  .single-post-ui .container{
    padding: 30px 22px;
    border-radius: 18px;
  }
  .single-content-ui{ font-size: 17px; }
}
