/* ================================
   KMobile Blog Archive (Fastcare-like)
================================ */
.km-blog-archive { padding: 0px; }
.km-breadcrumb { font-size: 13px; color:#777; margin: 10px 0 6px; }
.km-title { font-size: 22px; font-weight: 700; color:#111; margin: 6px 0 12px; line-height: 1.2; }

/* Tabs */
.km-tabs {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    border-bottom: 1px solid #eee;
    padding: 10px;
    font-weight: bold;
}
.km-tab{
  color:#333;
  text-decoration:none;
  font-size:14px;
  padding:6px 0;
  position:relative;
  white-space:nowrap;
}
.km-tab:hover{ color:#f36b21; }
.km-tab.is-active{ color:#f36b21; font-weight:700; }
.km-tab.is-active:after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:-11px;
  height:2px;
  background:#f36b21;
}
.post-top-fc {
    background: #fff;
    border-radius: 10px;
    background-image: linear-gradient(359deg, #fff4eb .31%, #e57a3329 -52.57%, #fff 100.31%);
}
/* Group */
.km-blog-group{
  margin-top:22px;
  padding-top:18px;
  border-top:1px solid #f2f2f2;
}
.km-blog-group__label{
  font-size:12px;
  color:#000;
  font-weight:800;
  margin-bottom:12px;
  text-transform:uppercase;
  letter-spacing:.4px;
}

/* TOP layout: left featured + right list */
.km-blog-top{
  display:grid;
  grid-template-columns: 1fr 320px;
  gap:22px;
  align-items:start;
      margin-bottom: 20px;
}

/* Featured card: image cover + title overlay orange */
.km-post-featured{
  position:relative;
  display:block;
  text-decoration:none;
  color:#111;
  border-radius:12px;
  overflow:hidden;
  background:#f6f6f6;
}
.km-post-featured__thumb{
  position:relative;
  aspect-ratio: 16 / 9;
  overflow:hidden;
}
.km-post-featured__thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition: transform .25s ease;
}
.km-post-featured__title{
  position:absolute;
  left:0; right:0; bottom:0;
  margin:0;
  padding:12px 14px;
  background:#f36b21;
  color:#fff;
  font-size:16px;
  font-weight:800;
  line-height:1.25;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.km-post-featured:hover .km-post-featured__thumb img{ transform:scale(1.03); }

/* Right list */
.km-post-side{
  border-left:1px solid #eee;
  padding-left:18px;
  display:flex;
  flex-direction:column;
}
.km-post-side__item {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    text-decoration: none;
    color: #111;
    border-bottom: 1px solid #f1f1f1;
    align-content: center;
    align-items: center;
}
.km-post-side__item:last-child{ border-bottom:0; }
.km-post-side__thumb{ flex:0 0 64px; }
.km-post-side__thumb img{
  width:64px;
  height:64px;
  object-fit:cover;
  border-radius:10px;
  display:block;
}
.km-post-side__title{
  font-size:13px;
  line-height:1.35;
  font-weight:700;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* Mini grid (4 cards) - overlay title */
.km-post-mini-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:14px;
  margin-top:14px;
}
.km-post-mini{
  position:relative;
  display:block;
  text-decoration:none;
  color:#111;
  border-radius:10px;
  overflow:hidden;
  background:#f6f6f6;
}
.km-post-mini__thumb{
  aspect-ratio: 4 / 3;
  overflow:hidden;
}
.km-post-mini__thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition: transform .25s ease;
}
.km-post-mini__title{
  position:absolute;
  left:0; right:0; bottom:0;
  margin:0;
  padding:8px 10px;
  background:#f36b21;
  color:#fff;
  font-size:12px;
  font-weight:800;
  line-height:1.25;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.km-post-mini:hover .km-post-mini__thumb img{ transform:scale(1.04); }

/* TAB view */
.km-tabname{
  margin:18px 0 10px;
  font-weight:800;
  color:#000;
  text-transform:uppercase;
  font-size:12px;
  letter-spacing:.4px;
}
.km-tablist{ border-top:1px solid #f1f1f1; }

.km-post-row {
    display: flex;
    gap: 12px;
    padding: 14px 0;
    border-top: 1px solid #f1f1f1;
    align-content: center;
    align-items: center;
}
.km-post-row:first-child{ border-top:0; }
.km-post-row__thumb img{
  width:160px;
  height:100px;
  object-fit:cover;
  border-radius:12px;
  display:block;
}
.km-post-row__title{
  display:block;
  text-decoration:none;
  color:#111;
  font-weight:800;
  margin-bottom:6px;
  line-height:1.25;
  font-size: 16px;
}
.km-post-row__excerpt{
  color:#666;
  font-size:13px;
  line-height:1.45;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* Buttons */
.km-more-wrap{ text-align:center; margin-top:18px; }
.km-btn-more, .km-btn-loadmore{
  border:1px solid #f36b21;
  color:#f36b21;
  background:#fff;
  padding:10px 18px;
  border-radius:10px;
  cursor:pointer;
  font-weight:800;
  font-size:14px;
  min-width:140px;
  transition: all .2s ease;
}
.km-btn-more:hover, .km-btn-loadmore:hover{
  background:#f36b21;
  color:#fff;
}
.km-empty{ padding:18px 0; color:#777; }

/* Loading state */
.km-btn-loadmore.is-loading,
.km-btn-more.is-loading{
  opacity:.6;
  pointer-events:none;
}
.km-breadcrumb a {
    font-size: 16px;
    font-weight: bold;
}
.km-breadcrumb span {
    font-size: 16px;
}



/* Responsive */
@media (max-width: 991px){
  .km-blog-top{
    grid-template-columns: 1fr;
    gap:14px;
  }
  .km-post-side{
    border-left:0;
    padding-left:0;
  }
  .km-post-mini-grid{ grid-template-columns: repeat(2, 1fr); }
  .km-post-row__thumb img{
    width:120px;
    height:80px;
    border-radius:10px;
  }
}


