/* ==========================================================================
   HOCO REDESIGN — 75 BLOG (archive + single post)
   Clean modern editorial look matching /test. RTL + responsive.
   Scope: blog archive (.wd-blog-holder) + single post (.post-single-page).
   Touches ONLY blog/post markup — no header/footer/shop.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Page title ("Blog") — align to editorial feel on archive/single
   -------------------------------------------------------------------------- */
.blog .page-title .entry-title.title,
.single-post .page-title .entry-title.title{
  font-weight:800;
  color:var(--hoco-ink);
}

/* ==========================================================================
   BLOG ARCHIVE
   ========================================================================== */
.wd-blog-holder{
  margin-block:8px 40px;
}

/* ---- Post card ---- */
.wd-blog-holder .blog-post-loop .article-inner{
  background:var(--hoco-surface);
  border:1px solid var(--hoco-line);
  border-radius:var(--hoco-radius);
  overflow:hidden;
  height:100%;
  display:flex;
  flex-direction:column;
  transition:box-shadow .22s ease,transform .22s ease,border-color .22s ease;
}
.wd-blog-holder .blog-post-loop:hover .article-inner{
  box-shadow:var(--hoco-shadow);
  transform:translateY(-4px);
  border-color:#e6d8ea;
}

/* ---- Featured image ---- */
.wd-blog-holder .entry-header{
  position:relative;
}
.wd-blog-holder .entry-thumbnail,
.wd-blog-holder .post-img-wrapp,
.wd-blog-holder .post-img-wrapp a{
  display:block;
  margin:0;
}
.wd-blog-holder .post-img-wrapp{
  aspect-ratio:16/10;
  overflow:hidden;
  background:var(--hoco-bg);
}
.wd-blog-holder .post-img-wrapp img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .4s ease;
}
.wd-blog-holder .blog-post-loop:hover .post-img-wrapp img{
  transform:scale(1.05);
}

/* ---- Date badge (over image) ---- */
.wd-blog-holder .post-date.wd-post-date{
  position:absolute;
  inset-block-start:12px;
  inset-inline-start:12px;
  z-index:2;
  background:var(--hoco-brand);
  color:#fff;
  border-radius:var(--hoco-radius-sm);
  padding:7px 11px;
  text-align:center;
  line-height:1.05;
  box-shadow:0 4px 14px rgba(84,4,87,.28);
}
.wd-blog-holder .post-date .post-date-day{
  display:block;
  font-size:19px;
  font-weight:800;
}
.wd-blog-holder .post-date .post-date-month{
  display:block;
  font-size:11.5px;
  font-weight:500;
  opacity:.92;
}

/* ---- Body ---- */
.wd-blog-holder .article-body-container{
  padding:16px 18px 18px;
  display:flex;
  flex-direction:column;
  flex:1;
}

/* category chip — neutralize Woodmart's fixed-height/overflow/bg wrapper */
.wd-blog-holder .meta-categories-wrapp{
  position:static;
  height:auto;
  line-height:normal;
  overflow:visible;
  margin-bottom:10px;
}
.wd-blog-holder .meta-post-categories.wd-style-with-bg{
  display:inline-block;
  height:auto;
  line-height:normal;
  overflow:visible;
  padding:0;
  background:transparent;
  border-radius:0;
}
.wd-blog-holder .meta-post-categories.wd-style-with-bg a{
  display:inline-block;
  background:rgba(84,4,87,.08);
  color:var(--hoco-brand);
  font-weight:700;
  font-size:12.5px;
  padding:4px 12px;
  border-radius:999px;
  transition:.2s;
}
.wd-blog-holder .meta-post-categories.wd-style-with-bg a:hover{
  background:var(--hoco-brand);
  color:#fff;
}

/* title */
.wd-blog-holder .post-title.wd-entities-title{
  margin:0 0 10px;
  font-size:18px;
  line-height:1.45;
  font-weight:800;
}
.wd-blog-holder .post-title.wd-entities-title a{
  color:var(--hoco-ink);
  transition:color .2s;
}
.wd-blog-holder .post-title.wd-entities-title a:hover{
  color:var(--hoco-brand);
}

/* meta list */
.wd-blog-holder .entry-meta .entry-meta-list{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px;
  margin:0 0 12px;
  padding:0;
  list-style:none;
  font-size:13px;
  color:var(--hoco-muted);
}
.wd-blog-holder .entry-meta .entry-meta-list li{
  margin:0;
  display:flex;
  align-items:center;
  gap:6px;
}
.wd-blog-holder .entry-meta .entry-meta-list a{
  color:var(--hoco-muted);
}
.wd-blog-holder .entry-meta .entry-meta-list a:hover{
  color:var(--hoco-brand);
}
.wd-blog-holder .entry-meta .meta-author img.avatar{
  width:24px;
  height:24px;
  border-radius:50%;
}

/* excerpt */
.wd-blog-holder .article-body-container p{
  color:#4a444e;
  line-height:1.8;
  font-size:14.5px;
}
.wd-blog-holder .read-more-section{
  margin:auto 0 0;
  padding-top:14px;
}

/* read more button */
.wd-blog-holder .btn-read-more.more-link{
  display:inline-flex;
  align-items:center;
  gap:6px;
  background:var(--hoco-brand);
  color:#fff !important;
  font-weight:700;
  font-size:14px;
  padding:9px 20px;
  border-radius:10px;
  transition:.2s;
  border:0;
}
.wd-blog-holder .btn-read-more.more-link:hover{
  background:var(--hoco-brand-dark);
}
.wd-blog-holder .btn-read-more.more-link::after{
  content:"\2190"; /* left arrow for RTL */
  font-size:15px;
  line-height:1;
}

/* pagination */
.blog .woocommerce-pagination ul,
.blog .wd-pagination{
  margin-top:8px;
}

/* ==========================================================================
   SINGLE POST
   ========================================================================== */
.single-post .post-single-page .article-inner{
  background:var(--hoco-surface);
  border:1px solid var(--hoco-line);
  border-radius:var(--hoco-radius);
  padding:26px 30px 30px;
  box-shadow:0 4px 18px rgba(40,10,50,.05);
}

/* category chip — neutralize Woodmart's fixed-height/overflow/bg wrapper */
.single-post .post-single-page .meta-post-categories.wd-style-with-bg{
  display:inline-block;
  height:auto;
  line-height:normal;
  overflow:visible;
  padding:0;
  background:transparent;
  border-radius:0;
  margin-bottom:14px;
}
.single-post .post-single-page .meta-post-categories.wd-style-with-bg a{
  display:inline-block;
  background:rgba(84,4,87,.08);
  color:var(--hoco-brand);
  font-weight:700;
  font-size:13px;
  padding:5px 14px;
  border-radius:999px;
  transition:.2s;
}
.single-post .post-single-page .meta-post-categories.wd-style-with-bg a:hover{
  background:var(--hoco-brand);
  color:#fff;
}

/* title */
.single-post .post-single-page .post-title.wd-entities-title{
  font-size:30px;
  line-height:1.35;
  font-weight:800;
  color:var(--hoco-ink);
  margin:0 0 14px;
}

/* meta */
.single-post .post-single-page .entry-meta .entry-meta-list{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:14px;
  margin:0 0 22px;
  padding:0 0 18px;
  list-style:none;
  border-bottom:1px solid var(--hoco-line);
  font-size:13.5px;
  color:var(--hoco-muted);
}
.single-post .post-single-page .entry-meta .entry-meta-list li{
  margin:0;
  display:flex;
  align-items:center;
  gap:7px;
}
.single-post .post-single-page .entry-meta .meta-author img.avatar{
  width:28px;
  height:28px;
  border-radius:50%;
}
.single-post .post-single-page .entry-meta a{
  color:var(--hoco-muted);
}
.single-post .post-single-page .entry-meta a:hover{
  color:var(--hoco-brand);
}

/* featured image — rounded */
.single-post .post-single-page .entry-header{
  margin:0 0 26px;
}
.single-post .post-single-page .entry-thumbnail{
  margin:0;
  border-radius:var(--hoco-radius);
  overflow:hidden;
}
.single-post .post-single-page .entry-thumbnail img{
  width:100%;
  height:auto;
  display:block;
  border-radius:var(--hoco-radius);
}

/* readable body */
.single-post .post-single-page .entry-content{
  font-size:16.5px;
  line-height:2;
  color:#2b2530;
}
.single-post .post-single-page .entry-content p{
  margin:0 0 18px;
}
.single-post .post-single-page .entry-content h2{
  font-size:23px;
  font-weight:800;
  color:var(--hoco-ink);
  margin:30px 0 14px;
  padding-inline-start:12px;
  border-inline-start:5px solid var(--hoco-brand);
  line-height:1.4;
}
.single-post .post-single-page .entry-content h3{
  font-size:19px;
  font-weight:700;
  color:var(--hoco-ink);
  margin:24px 0 12px;
}
.single-post .post-single-page .entry-content ul,
.single-post .post-single-page .entry-content ol{
  margin:0 0 18px;
  padding-inline-start:22px;
}
.single-post .post-single-page .entry-content li{
  margin-bottom:8px;
  line-height:1.9;
}
.single-post .post-single-page .entry-content ul li::marker{
  color:var(--hoco-brand);
}
.single-post .post-single-page .entry-content img{
  border-radius:var(--hoco-radius);
  height:auto;
}
.single-post .post-single-page .entry-content a{
  color:var(--hoco-brand);
  font-weight:700;
  text-decoration:underline;
  text-underline-offset:3px;
}
.single-post .post-single-page .entry-content blockquote{
  border-inline-start:4px solid var(--hoco-brand);
  background:var(--hoco-bg);
  border-radius:0 var(--hoco-radius-sm) var(--hoco-radius-sm) 0;
  margin:22px 0;
  padding:16px 20px;
  color:#3a3340;
}

/* comments heading spacing */
.single-post #comments{
  margin-top:34px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width:768px){
  .single-post .post-single-page .article-inner{
    padding:20px 18px 22px;
  }
  .single-post .post-single-page .post-title.wd-entities-title{
    font-size:25px;
  }
  .single-post .post-single-page .entry-content{
    font-size:16px;
    line-height:1.95;
  }
  .single-post .post-single-page .entry-content h2{ font-size:21px; }
}

@media (max-width:576px){
  .wd-blog-holder .article-body-container{ padding:14px 15px 16px; }
  .wd-blog-holder .post-title.wd-entities-title{ font-size:17px; }
  .single-post .post-single-page .post-title.wd-entities-title{ font-size:22px; }
}
