/* Blog list + article polish */
:root { --bx-muted:#6b7280; --bx-soft:#f7f7f5; --bx-r:16px; --bx-sh:0 10px 30px rgba(0,0,0,.07); --bx-sh-h:0 18px 40px rgba(0,0,0,.13); }

/* Page header */
#subheader { position:relative; isolation:isolate; padding:190px 0 70px !important; height:auto !important; }
#subheader::before { content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(0,0,0,.55),rgba(0,0,0,.75)); z-index:0; pointer-events:none; }
#subheader .center-y { position:relative !important; z-index:1; top:auto !important; transform:none !important; }
#subheader h1 { font-weight:800; max-width:900px; margin:0 auto 10px !important; line-height:1.25; letter-spacing:0 !important; font-size:clamp(28px,4vw,46px); text-shadow:0 2px 20px rgba(0,0,0,.4); }
@media (max-width:991px) { #subheader { padding:140px 0 50px !important; } }
#subheader h1::after { content:""; display:block; width:60px; height:4px; border-radius:4px; background:var(--primary-color); margin:18px auto 0; }
#subheader .lead { opacity:.9; }

/* Background for content area */
#section-news, #subheader + section, #subheader ~ section[aria-label="section"] { background:var(--bx-soft); padding-top:70px; padding-bottom:80px; }
#section-news.mt-50 { margin-top:0 !important; }

/* Blog list cards */
#section-news .bloglist {
  background:#fff; border-radius:var(--bx-r); overflow:hidden; box-shadow:var(--bx-sh);
  transition:transform .3s, box-shadow .3s; height:calc(100% - 30px); margin-bottom:30px;
}
#section-news .bloglist:hover { transform:translateY(-8px); box-shadow:var(--bx-sh-h); }
#section-news .post-image { overflow:hidden; position:relative; }
#section-news .post-image img { width:100%; aspect-ratio:3/2; object-fit:cover; transition:transform .6s; }
#section-news .bloglist:hover .post-image img { transform:scale(1.07); }
#section-news .date-box { border-radius:10px; z-index:2; }
#section-news .post-text { padding:24px 24px 28px; }
#section-news .post-text h4 { font-weight:700; line-height:1.35; }
#section-news .post-text h4 a { color:#111; transition:color .2s; }
#section-news .post-text h4 a:hover { color:#b89c00; }
#section-news .post-text p { color:var(--bx-muted); line-height:1.7; }
#section-news .btn-main, #section-news a.btn-main { border-radius:50px !important; padding:10px 26px !important; font-weight:700; }

/* Article */
.blog-read {
  background:#fff; border-radius:var(--bx-r); box-shadow:var(--bx-sh); overflow:hidden;
  padding:0 0 40px; font-size:17px; line-height:1.85; color:#3a3a3a;
}
.blog-read > img.img-fullwidth { width:100%; aspect-ratio:16/9; object-fit:cover; margin-bottom:0 !important; }
.blog-read .post-text { padding:30px 40px 0; }
.blog-read h3 { font-weight:800; font-size:28px; line-height:1.3; margin:10px 0 22px; color:#111; }
.blog-read b { color:#111; }
.blog-read .d-meta { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:10px; }
.blog-read .d-meta span {
  background:rgba(var(--primary-color-rgb),.18); color:#5a4b00; border-radius:50px;
  padding:4px 14px; font-size:13px; font-weight:600; margin:0 !important;
}
.blog-read .d-meta span::before { display:none; }

/* Sidebar */
#sidebar .widget {
  background:#fff; border-radius:var(--bx-r); box-shadow:var(--bx-sh); padding:26px; margin-bottom:28px;
}
#sidebar .widget h4 { font-weight:700; margin-bottom:8px; }
#sidebar .small-border { width:40px; height:3px; background:var(--primary-color); border-radius:3px; margin:0 0 18px; border:none; }
#sidebar .de-color-icons { display:flex; flex-wrap:wrap; gap:10px; }
#sidebar .de-color-icons span { margin:0 !important; border-radius:50% !important; transition:transform .2s; }
#sidebar .de-color-icons span:hover { transform:translateY(-3px); }
#sidebar .de-bloglist-type-1 li { display:flex; gap:14px; align-items:center; padding:12px 0; border-bottom:1px solid #eee; margin:0; }
#sidebar .de-bloglist-type-1 li:last-child { border-bottom:none; padding-bottom:0; }
#sidebar .de-bloglist-type-1 .d-image { flex:0 0 68px; position:static; }
#sidebar .de-bloglist-type-1 .d-image img { width:68px; height:68px; object-fit:cover; border-radius:12px; }
#sidebar .de-bloglist-type-1 .d-content { padding:0; margin:0; }
#sidebar .de-bloglist-type-1 h4 { font-size:15px; margin:0 0 4px; line-height:1.35; color:#111; transition:color .2s; }
#sidebar .de-bloglist-type-1 a:hover h4 { color:#b89c00; }
#sidebar .de-bloglist-type-1 .d-date { font-size:13px; color:var(--bx-muted); }
#sidebar .widget_tags li a { border-radius:50px !important; }

@media (max-width:767px) {
  .blog-read .post-text { padding:22px 20px 0; }
  .blog-read h3 { font-size:22px; }
  #sidebar { margin-top:30px; }
}
