/* ================================================================
   ZNA Law Company – Kinh nghiệm Bài viết (Blog Post Detail)
   Primary: #07568e  |  Accent: #fdeb01  |  Dark text: #454545
================================================================ */

/* ── HEADER CTA ──────────────────────────────────── */
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 55px;
  padding: 0 42px;
  background: #fdeb01;
  color: #07568e;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 900;
  border: 2px solid #07568e;
  transition: background .2s, color .2s;
}
.header-cta:hover {
  background: #07568e;
  color: #fff;
}
.nav a[aria-current="page"] {
  color: #07568e;
}

/* ── PAGE WRAPPER ─────────────────────────────────── */
.bp-page {
  padding: 40px 0 80px;
  background: #fff;
}

/* ── TWO-COLUMN LAYOUT ───────────────────────────── */
.bp-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

/* ── SIDEBAR ─────────────────────────────────────── */
.bp-sidebar {
  flex: 0 0 450px;
  width: 450px;
}

.bp-sidebar-photo {
  width: 100%;
  overflow: hidden;
}
.bp-sidebar-photo img {
  width: 100%;
  height: 592px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Service list */
.bp-svc-nav {
  margin-top: 32px;
}
.bp-svc-line {
  border: none;
  border-top: 1px solid #8d8d8d;
  margin: 0;
}
.bp-svc-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
}
.bp-svc-row h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 30px;
  font-weight: 600;
  color: #000;
  line-height: 1.5;
  margin: 0;
}
.bp-svc-row h3 a {
  color: inherit;
  text-decoration: none;
}
.bp-svc-row h3 a:hover {
  color: #07568e;
}
.bp-xem-them {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  color: #959595;
  white-space: nowrap;
  text-decoration: none;
  padding-top: 8px;
  flex-shrink: 0;
}
.bp-xem-them:hover {
  color: #07568e;
}

/* ── RIGHT CONTENT ───────────────────────────────── */
.bp-content {
  flex: 1;
  min-width: 0;
}

/* ── BREADCRUMB ─────────────────────────────────── */
.bp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  color: #454545;
  flex-wrap: wrap;
}
.bp-breadcrumb a {
  color: #454545;
  text-decoration: none;
}
.bp-breadcrumb a:hover {
  color: #07568e;
}
.bp-bc-sep {
  color: #a9a9a9;
  font-size: 12px;
}

/* ── ARTICLE INTRO BOX ──────────────────────────── */
.bp-intro-box {
  background: #fff;
  border: 1px solid #e8e8e8;
  padding: 32px 36px;
  margin-bottom: 32px;
}
.bp-intro-title {
  font-family: 'Roboto', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #000;
  line-height: 1.4;
  margin: 0 0 20px;
}
.bp-intro-text {
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #454545;
  line-height: 1.6;
  margin: 0;
}

/* ── ARTICLE BODY ───────────────────────────────── */
.bp-body {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #454545;
  line-height: 1.72;
  margin-bottom: 28px;
}
.bp-body p {
  margin: 0 0 20px;
}
.bp-body p:last-child {
  margin-bottom: 0;
}
.bp-body h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #000;
  margin: 28px 0 12px;
}
.bp-body h2:first-child {
  margin-top: 0;
}
.bp-body ul {
  padding-left: 24px;
  margin: 0 0 20px;
}
.bp-body ul li {
  margin-bottom: 8px;
}

/* ── FIGURES / IMAGES ───────────────────────────── */
.bp-figure {
  margin: 0 0 16px;
  width: 100%;
}
.bp-figure img {
  width: 100%;
  height: 485px;
  object-fit: cover;
  display: block;
}

/* ── CAPTION ────────────────────────────────────── */
.bp-caption {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #000;
  text-align: center;
  margin: 0 0 28px;
}

/* ── DIVIDER ────────────────────────────────────── */
.bp-divider {
  border: none;
  border-top: 1px solid #000;
  margin: 32px 0;
}

/* ── CONTACT BLOCK ──────────────────────────────── */
.bp-contact-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 32px 0;
}
.bp-contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.bp-contact-icon {
  font-size: 18px;
  color: #959595;
  width: 22px;
  text-align: center;
  flex-shrink: 0;
}
.bp-contact-link {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #07568e;
  text-decoration: none;
}
.bp-contact-link:hover {
  text-decoration: underline;
}

/* ── RELATED ARTICLES ───────────────────────────── */
.bp-related {
  margin-top: 40px;
}
.bp-related-title {
  font-family: 'Roboto', sans-serif;
  font-size: 40px;
  font-weight: 400;
  color: #000;
  line-height: 1.3;
  margin: 0 0 32px;
}
.bp-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.bp-rel-card {
  display: flex;
  flex-direction: column;
}
.bp-rel-img {
  width: 100%;
  overflow: hidden;
  margin-bottom: 12px;
}
.bp-rel-img img {
  width: 100%;
  height: 201px;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}
.bp-rel-card:hover .bp-rel-img img {
  transform: scale(1.04);
}
.bp-rel-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.bp-rel-cat {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #000;
}
.bp-rel-date {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  color: #454545;
}
.bp-rel-title {
  font-family: 'Roboto', sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: #000;
  line-height: 1.3;
  margin: 0 0 12px;
  flex: 1;
}
.bp-rel-excerpt {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  color: #444;
  line-height: 1.7;
  margin: 0 0 12px;
}
.bp-doc-tiep {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #000;
  text-decoration: none;
}
.bp-doc-tiep:hover {
  color: #07568e;
}

/* ── PAGINATION ─────────────────────────────────── */
.bp-pagination {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 48px;
}
.bp-page-btn {
  width: 39px;
  height: 39px;
  border-radius: 50%;
  border: none;
  background: #8d8d8d;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background .2s;
}
.bp-page-btn--active {
  background: #07568e;
}
.bp-page-btn:hover {
  background: #07568e;
}

/* ── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 1200px) {
  .bp-layout {
    gap: 28px;
  }
  .bp-sidebar {
    flex: 0 0 360px;
    width: 360px;
  }
  .bp-svc-row h3 {
    font-size: 24px;
  }
}

@media (max-width: 900px) {
  .bp-layout {
    flex-direction: column;
  }
  .bp-sidebar {
    flex: none;
    width: 100%;
  }
  .bp-sidebar-photo img {
    height: 400px;
  }
  .bp-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .bp-intro-title {
    font-size: 20px;
  }
  .bp-intro-text {
    font-size: 16px;
  }
  .bp-body {
    font-size: 16px;
  }
  .bp-figure img {
    height: 240px;
  }
  .bp-related-grid {
    grid-template-columns: 1fr;
  }
  .bp-related-title {
    font-size: 28px;
  }
  .bp-svc-row h3 {
    font-size: 20px;
  }
  .bp-contact-link {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .bp-intro-box {
    padding: 20px;
  }
  .bp-rel-img img {
    height: 160px;
  }
  .bp-rel-title {
    font-size: 20px;
  }
}
