:root{
  --hbc-text:#0b1b2b;
  --hbc-muted:#6b7280;
  --hbc-border:#e5e7eb;
  --hbc-border-buttom:#031B75;
  --hbc-bg:#ffffff;
  --hbc-chip:#f59e0b;
  --hbc-primary:#0b2a63;
  --hbc-shadow: 0 10px 30px rgba(0,0,0,.08);
  --hbc-radius:5px;
  --hbc-line-height:150%;
  --hbc-button-bg:#1D9DD9;
  --hbc-font-family: var(--e-global-typography-primary-font-family);
  --hbc-font-size-button:16px;
  --hbc-border-title:#1D9DD9;
  --hbc-secondary-bg:#E8F6FF;
  --hbc-border-buttom-news:#1D9DD9;
}
html, body { margin: 0; padding: 0; }

.hbc-archive-wrap{
  margin:0 auto;
  padding: 26px 16px 56px;
  color: var(--hbc-text);
  padding-left: 8%;
  padding-right: 8%;
  border-bottom: 2px solid var(--hbc-border);
}

.hbc-archive-head{
  text-align:center;
  margin-bottom: 18px;
}

.hbc-archive-title{
  margin:0;
  font-size:28px;
  font-weight:800;
  line-height:1.2;
}

.hbc-archive-desc{
  max-width:760px;
  margin: 12px auto 0;
  color: var(--hbc-muted);
  line-height:1.7;
  font-size:14px;
}

.hbc-news-layout{ display:grid; gap:18px; }


.hbc-news-wrap{
  margin: 0 auto;
  padding: 28px 16px 36px;
  font-family: inherit;
  color: var(--hbc-text);
}

.hbc-news-title{
  margin: 0 0 18px;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 600;
  text-align: center;
  letter-spacing: .2px;
}

.hbc-news-layout{ display:grid; gap:50px; }

/* Featured */
.hbc-news-featured{
  display:grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap:7%;
  background:var(--hbc-bg);
  border-radius:var(--hbc-radius);
  overflow:hidden;
  align-items:stretch;
}
.hbc-news-featured__media{
  display:block;
  border-radius:var(--hbc-radius);
  overflow:hidden;
  background:#f3f4f6;
  min-height:210px;
}
.hbc-news-featured__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.hbc-news-featured__body{
  padding:8px 8px 10px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.hbc-news-badge{
  display:inline-flex;
  align-self:flex-start;
  font-size:12px;
  font-weight:800;
  color:var(--hbc-chip);
  letter-spacing:.3px;
}
.hbc-news-featured__title{
  margin:0;
  font-size:28px;
  line-height:150%;
  font-weight:600;
}
.hbc-news-featured__title a{ color:var(--hbc-text) !important; text-decoration:none; }
.hbc-news-featured__title a:hover{ text-decoration:underline; }
.hbc-news-featured__excerpt{
  margin:0;
  color:var(--hbc-muted);
  font-size:16px;
  line-height:1.6;
  text-decoration: none;
  text-align: justify;
}

.hbc-news-more{
  margin-top:auto;
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:600;
  font-size:16px;
  color:var(--hbc-border-title) !important;
  text-decoration:none;
}
.hbc-news-more:hover{ text-decoration:underline; }

/* Grid cards */
.hbc-news-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:16px;
  margin-top:6px;
}
.hbc-news-card{
  background:var(--hbc-bg);
  border-radius:var(--hbc-radius);
  /* box-shadow:var(--hbc-shadow); */
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
.hbc-news-card__media{
  display:block;
  height:100%;
  background:#f3f4f6;
}
.hbc-news-card__media img{
  width:100%;
  max-height:300px;
  object-fit:cover;
  display:block;
}
.hbc-news-card__body{
  padding:14px 0;
  display:flex;
  flex-direction:column;
  gap:8px;
  height:100%;
}
.hbc-news-card__title{
  margin:0;
  font-size:20px;
  line-height:var(--hbc-line-height);
  font-weight:600;
}
.hbc-news-card__title a{ color:var(--hbc-text); text-decoration:none; }
.hbc-news-card__title a:hover{ text-decoration:underline; }
.hbc-news-card__excerpt{
  margin:0;
  color:var(--hbc-muted);
  font-size:14px;
  line-height:var(--hbc-line-height);
}

.hbc-news-footer{
  display:flex;
  justify-content:center;
  margin-top:8px;
}
.hbc-news-btn{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  padding:12px 18px;
  border-radius:var(--hbc-radius) !important;
  background:var(--hbc-primary);
  color:#fff !important;
  font-weight:600;
  text-decoration:none;
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 10px 24px rgba(11,42,99,.22);
}
.hbc-news-btn:hover{ filter:brightness(1.05); }

/* Responsive */
@media (max-width: 980px){
  .hbc-news-featured{ grid-template-columns:1fr; }
  .hbc-news-featured__media{ min-height:220px; }
  .hbc-news-grid{ grid-template-columns:1fr; }
  .hbc-news-card__media{ height:180px; }
}

.comments-area a, .page-content a {
    text-decoration: none;
}



/* Pagination */
.hbc-archive-pagination{
  margin-top: 22px;
  display:flex;
  justify-content:center;
}
.hbc-archive-pagination ul{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  gap:8px;
}
.hbc-archive-pagination a,
.hbc-archive-pagination span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:38px;
  height:38px;
  padding:0 12px;
   border-radius:var(--hbc-radius) !important;
  border:1px solid var(--hbc-border);
  text-decoration:none;
  font-weight:400;
  color:var(--hbc-text);
  background:#fff;
}
.hbc-archive-pagination .current{
  background:#0b2a63;
  color:#fff;
  border-color:#0b2a63;
}

/* Detail new */
.hbc-single-wrap{
  margin: 0 auto;
  padding: 4% 8%;
  color: var(--hbc-text);
  border-bottom: 2px solid var(--hbc-border);
}

.hbc-single-head{
  display:flex;
  flex-direction:column;
  gap: 10px;
}

.hbc-badge{
  font-size: 12px;
  font-weight: 800;
  color: var(--hbc-chip);
  letter-spacing: .3px;
}

.hbc-single-title{
  margin: 0;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--hbc-text) !important;
}

.hbc-single-excerpt{
  margin: 0;
  color: var(--hbc-muted);
  font-size: 14px;
  line-height: var(--hbc-line-height);
}

.hbc-single-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size: 12px;
  color: var(--hbc-muted);
  margin-top: 2px;
}

.hbc-single-cover{
  margin-top: 18px;
   border-radius:var(--hbc-radius) !important;
  overflow:hidden;
  background:#f3f4f6;
}

.hbc-single-cover img{
  width:100%;
  height:auto;
  display:block;
}

/* content typography */
.hbc-single-content{
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.9;
  color: #1f2937;
}

.hbc-single-content p{ margin: 0 0 16px; }
.hbc-single-content h2, 
.hbc-single-content h3{
  margin: 77px 0 44px;
  line-height: 1.3;
  font-size: 32px !important;
  font-weight: 600 !important;
  color: var(--hbc-text) !important;
}

.hbc-single-content img{
  max-width:100%;
  height:auto;
   border-radius:var(--hbc-radius) !important;
}

.hbc-single-content a{
  color:#2563eb;
  text-decoration:none;
  font-weight:700;
}
.hbc-single-content a:hover{ text-decoration:underline; }

@media (max-width: 768px){
  .hbc-single-title{ font-size: 24px; }
  .hbc-single-meta{ gap: 12px; flex-direction:column; align-items:flex-start; }
}
/* Related posts */
.hbc-related{
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}

.hbc-related-title{
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 900;
  color: var(--hbc-text);
  background: var(--hbc-secondary-bg);
  padding: 10px 14px;
  border-left: 4px solid var(--hbc-border-title);
}

.hbc-related-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.hbc-related-card{
  background:#fff;
   border-radius:var(--hbc-radius) !important;
  overflow:hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  border: 1px solid #e5e7eb;
  display:flex;
  flex-direction: column;
}

.hbc-related-media{
  display:block;
  height: auto;
  background:#f3f4f6;
}
.hbc-related-media img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}
.hbc-related-placeholder{ width:100%; height:150px; background:#eef3f7; }

.hbc-related-body{
  padding: 14px 14px 16px;
  display:flex;
  flex-direction: column;
  gap: 10px;
  height:100%;
}

.hbc-related-card-title{
  margin:0;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
 
}
.hbc-related-card-title a{  color: var(--hbc-text) !important; text-decoration:none; }
.hbc-related-card-title a:hover{ text-decoration:underline; }

.hbc-related-excerpt{
  margin:0;
  color:#6b7280;
  font-size: 13px;
  line-height: 1.7;
}

.hbc-related-more{
  margin-top:auto;
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-weight: 400;
  font-size: var(--hbc-font-size-button) !important;
  color:var(--hbc-button-bg) !important;
  text-decoration:none;
}
.hbc-related-more:hover{ text-decoration:underline; }

.hbc-related-footer{
  display:flex;
  justify-content:center;
  margin-top: 6%;
}
.hbc-related-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width: 120px;
  height: 38px;
  padding: 0 18px;
   border-radius:var(--hbc-radius) !important;
  border: 1px solid var(--hbc-border-buttom-news);
  background: #fff;
  color: var(--hbc-border-buttom);
  font-weight: 900;
  text-decoration:none;
}
.hbc-related-btn:hover{
  background: var(--hbc-border-buttom);
  color:#fff;
}

@media (max-width: 980px){
  .hbc-related-grid{ grid-template-columns: 1fr; }
  .hbc-related-media{ height: 180px; }
  .hbc-related-placeholder{ height: 180px; }
}

/* ===================================================
   HBC IMAGE SLIDER BLOCK - Editor Styles
   ================================================ */
.hbc-slider-block-editor{
  border: 2px dashed var(--hbc-border);
  padding: 20px;
  border-radius: var(--hbc-radius);
  background: #f9fafb;
}

.hbc-slider-edit-wrap h3{
  margin: 0 0 15px;
  font-size: 16px;
  font-weight: 600;
  color: var(--hbc-text);
}

.hbc-slider-images{
  margin-bottom: 15px;
}

.hbc-slider-image-item{
  position: relative;
  transition: all 0.2s ease;
}

.hbc-slider-image-item:hover{
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ===================================================
   HBC IMAGE SLIDER BLOCK - Frontend Styles
   ================================================ */
.hbc-image-slider-block{
  margin: 32px 0;
  width: 100%;
  clear: both;
}

/* Hide default Swiper navigation */
.hbc-slider-container .swiper-button-prev,
.hbc-slider-container .swiper-button-next{
  display: none !important;
}

.hbc-slider-container .swiper-pagination{
  display: none !important;
}

.hbc-slider-container{
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: var(--hbc-radius);
  background: #f3f4f6;
  box-shadow: var(--hbc-shadow);
}

/* Swiper wrapper và slides */
.hbc-slider-container .swiper-wrapper{
  display: flex !important;
  position: relative;
}

.hbc-slider-container .swiper-slide{
  position: relative;
  width: 100%;
  flex-shrink: 0;
}

.hbc-slider-container .swiper-slide img{
  width: 100%;
  height: auto;
  max-height: 750px;
  min-height: 300px;
  object-fit: cover;
  display: block;
}

/* Navigation Buttons */
.hbc-slider-btn{
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: rgba(255, 255, 255, 0.95) !important;
  border: none !important;
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 100 !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15) !important;
  padding: 0 !important;
  margin: 0 !important;
  outline: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.hbc-slider-btn:hover{
  background: rgba(255, 255, 255, 1) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
  transform: translateY(-50%) scale(1.1) !important;
}

.hbc-slider-btn:active{
  transform: translateY(-50%) scale(0.95) !important;
}

.hbc-slider-btn:focus{
  outline: 2px solid var(--hbc-primary) !important;
  outline-offset: 2px !important;
}

.hbc-slider-btn svg{
  color: var(--hbc-primary) !important;
  width: 24px !important;
  height: 24px !important;
  display: block !important;
  pointer-events: none !important;
  fill: none !important;
}

.hbc-slider-prev{
  left: 16px !important;
  right: auto !important;
}

.hbc-slider-next{
  right: 16px !important;
  left: auto !important;
}

/* Pagination Dots */
.hbc-slider-dots{
  position: absolute !important;
  bottom: 20px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  display: flex !important;
  gap: 10px !important;
  z-index: 100 !important;
  padding: 8px 16px !important;
  background: transparent !important;
  border-radius: 20px !important;
  justify-content: center !important;
}

.hbc-slider-dot{
  width: 12px !important;
  height: 12px !important;
  min-width: 12px !important;
  border-radius: 50% !important;
  border: 2px solid rgba(255, 255, 255, 0.9) !important;
  background: rgba(255, 255, 255, 0.5) !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
  transition: all 0.3s ease !important;
}

.hbc-slider-dot:hover{
  background: rgba(255, 255, 255, 0.8) !important;
  transform: scale(1.2) !important;
}

.hbc-slider-dot.active,
.hbc-slider-dot.swiper-pagination-bullet-active{
  background: var(--hbc-primary) !important;
  border-color: var(--hbc-primary) !important;
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
}

/* Responsive */
@media (max-width: 768px){
  .hbc-slider-btn{
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
  }
  
  .hbc-slider-btn svg{
    width: 20px !important;
    height: 20px !important;
  }
  
  .hbc-slider-prev{
    left: 10px !important;
  }
  
  .hbc-slider-next{
    right: 10px !important;
  }
  
  .hbc-slider-container .swiper-slide img{
    max-height: 750px;
    min-height: 300px;
  }
  
  .hbc-slider-dots{
    bottom: 12px !important;
    gap: 8px !important;
    padding: 6px 12px !important;
  }
  
  .hbc-slider-dot{
    width: 10px !important;
    height: 10px !important;
    min-width: 10px !important;
  }
  
  .hbc-slider-dot.active,
  .hbc-slider-dot.swiper-pagination-bullet-active{
    width: 12px !important;
    height: 12px !important;
    min-width: 12px !important;
  }
}
