:root{
    --card-bg: #0f0f12;
    --panel-bg: #161616;
    --accent: #e6ff00;
    --radius: 12px;
  }

  div#mainlayout {
    display: block;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    max-width: 800px;
    padding: 0 10px;
    width: 100%;
}

main#main-content {
  margin-bottom: 40px;
}
  .card{
    width:100%;
    border-radius:var(--radius);
    overflow:hidden;
    background: #0e212e;
    /* box-shadow: 0 8px 30px rgba(0,0,0,0.6); */
  }

  /* HERO IMAGE (cắt bằng object-fit) */
  .hero {
    position:relative;
    width:100%;
    height:340px; /* chỉnh cao/thấp để "cắt" ảnh khác nhau */
    overflow:hidden;
    background:#0f2538;
    margin-top: 0px;
    padding: 0;
  }

  .hero img{
    width:100%;
    height:100%;
    object-fit:cover; /* giữ tỉ lệ + cắt */
    display:block;
    transform-origin:center;
    /* nếu muốn phóng to 1 chút: */
    /* transform: scale(1.02); */
  }

  /* overlay gradient như ảnh */
  .hero::after{
    content:"";
    position:absolute;
    inset:0;
    /* background: linear-gradient(90deg, rgba(10,10,10,0.9) 0%, rgba(14,14,14,0.85) 45%, rgba(30,30,20,0.45) 100%); */
    pointer-events:none;
  }

  /* small tag left-top above image */
  .tag {
    position:absolute;
    top:16px;
    left:18px;
    z-index:3;
    display:inline-flex;
    gap:8px;
    align-items:center;
    font-size:14px;
    color:#cfcfcf;
    background: rgba(0,0,0,0.35);
    padding:6px 10px;
    border-radius:8px;
    backdrop-filter: blur(4px);
  }

  .tag .icon{
    width:18px;
    height:18px;
    background: linear-gradient(180deg,#ffd36f,#ffb84d);
    border-radius:3px;
    display:inline-block;
  }

  /* CONTENT */
  .content{
    padding:30px 20px;
    background: #0f2538;
    padding-bottom: 10px;
  }

  .meta{
    display:flex;
    gap:12px;
    align-items:center;
    color:#b9b9b9;
    font-size:14px;
    margin-bottom:14px;
  }

  .title{
    font-size:32px;
    line-height:1.2;
    font-weight:700;
    margin:0 0 14px 0;
    letter-spacing: -0.02em;
    color:#fff;
  }

  .footer-meta{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    color:#9b9b9b;
    padding-top:8px;
    border-top:1px solid rgba(255,255,255,0.02);
  }

  .small {
    font-size:13px;
  }

  .article-box {
  background: #0f2538;
  color: #ddd;
  padding: 10px 20px;
  border-radius: 12px;
  margin-top: 24px;
  line-height: 1.65;
  font-size: 17px;
}

figure {
  margin: auto;
  width: 100%;
  margin-bottom: 10pt;
}
/* Stats card */
.stats-card {
  background: #0f0f0f;
  border-radius: 10px;
  margin-top: 18px;
  padding: 20px 26px;
  border: 1px solid rgba(255,255,255,0.05);
}


.article-box h2, .article-box h2 span {
  font-weight: 700 !IMPORTANT;
  font-size: 20px !important;
  line-height: 32px !important;
  color: #fff !important;
  font-style: normal;
  margin: 12px 0 !important;
  /* display: initial; */
}

.article-box p, .article-box span {
  margin-bottom: 10px !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  text-align: justify !important;
  padding: 0 !IMPORTANT;
  color: #fff;
}

h3, .article-box h3 span {
  font-size: 20px !important;
  line-height: 32px !important;
  font-weight: 600 !important;
  margin-bottom: 12px !important;
  color: #fff !important;
  font-style: normal !important;
  text-align: left !important;
}

.article-box ul {
  padding: 0 !important;
  padding-left: 30px !important;
  list-style: disc;
  color: #fff;
}

.article-box ul li {
  line-height: 1.5 !important;
  white-space: unset !important;
}
.article-box li {
  margin-bottom: 10px;
  font-size: 15px !important;
  line-height: 1.5 !important;
  text-align: justify !important;
}

.stats-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 14px;
}

.logo {
  font-size: 13px;
  font-weight: 600;
  color: #aaa;
  text-transform: uppercase;
}

.stats-body {
  display: flex;
  justify-content: flex-start;
  gap: 40px;
  padding-top: 20px;
}

.stat-number {
  font-size: 34px;
  font-weight: 700;
  color: #ffffff;
}

.stat-label {
  font-size: 14px;
  color: #aaa;
}

  /* responsive */
  @media (max-width:800px){
    .hero { height:220px; }
    .title{ font-size:28px; }
    .content{ padding:20px; }
  }
  .main-container {
    display: flex;
    align-items: center;      /* căn giữa dọc */
    justify-content: center;  /* căn giữa ngang */
    min-height: 100vh;        /* chiếm toàn màn hình */
    margin: 0;
  }

.breadcrumb {
  padding:96px 0px 23.2px 0px;
}

.breadcrumb-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: max-content;
  border: 1px solid #b5974f;
  border-radius: 23px;
  background-color: transparent;
  margin: 32px auto;
  padding: 5px 10px;
  height: 45px;
}

.breadcrumb-group {
  display: flex;
  align-items: center;
  height: 100%;
}

.breadcrumb-link {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 18px;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-link:hover {
  color: #b5974f;
}

.breadcrumb-player {
  width: 60px;
}

.breadcrumb-current {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 18px;
  color: #b5974f;
}

.breadcrumb-icon {
  font-size: 16px;
  color: #ffffff;
  position: relative;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.breadcrumb-icon::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #ffffff;
  mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/></svg>')
    no-repeat center;
  -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/></svg>')
    no-repeat center;
}
@media (max-width: 799px) { 
  .breadcrumb-current { 
    font-size: 12px;
  }
  img {
    width: 100%;
    height: auto;
  }
}
@media (max-width: 500px) {  
  .breadcrumb-current { 
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 240px;
  }
 
}
.post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 16px;
  background-color: #0f2538;
  color: #b3b3b3;
  font-size: 14px;
  border-top: 1px solid #2a2a2a;
  border-bottom-right-radius: 12px;
  border-bottom-left-radius: 12px;
}

.post-meta .dot {
  margin: 0 6px;
  color: #777;
}

.post-meta .actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.post-meta button {
  background: transparent;
  border: none;
  color: #ccc;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
}

.post-meta button:hover {
  color: #fff; /* sáng hơn khi hover */
}
