/* ================================================================
   ZNA Law Company – About Page Styles
   Figma node 4257:782 (Tầm nhìn, Sứ mệnh và Giới thiệu)
   Design baseline: 1920px
================================================================ */

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

/* ── PAGE LAYOUT ─────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.about-page {
  padding: 40px 0 80px;
}

.about-layout {
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

/* ── SIDEBAR ─────────────────────────────────────── */
.about-sidebar {
  flex: 0 0 450px;
  max-width: 450px;
  position: sticky;
  top: 150px;
  align-self: flex-start;
}

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

/* Sidebar nav */
.sidebar-nav {
  margin-top: 0;
}
.sidebar-nav hr {
  border: none;
  border-top: 1px solid #8d8d8d;
  margin: 0;
}
.sidebar-nav-item {
  padding: 22px 0;
}

/* Tab links */
.sidebar-tab-link {
  display: block;
  font-family: 'Roboto', sans-serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.5;
  color: #959595;
  text-decoration: none;
  transition: color .15s;
}
.sidebar-tab-link:hover {
  color: #07568e;
}
.sidebar-nav-item.active .sidebar-tab-link,
.sidebar-tab-link[aria-selected="true"] {
  color: #000000;
}

/* "Xem thêm..." under each item */
.sidebar-nav-more {
  display: block;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: #959595;
  margin-top: 4px;
  text-align: right;
  text-decoration: none;
}
.sidebar-nav-more:hover {
  color: #07568e;
}

/* ── BREADCRUMB ──────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 30px;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: #454545;
  text-decoration: none;
}
.breadcrumb a:hover { color: #07568e; }
.bc-sep {
  color: #a9a9a9;
  font-size: 12px;
}
.bc-current {
  display: inline-block;
  background: #07568e;
  color: #fff;
  font-size: 16px;
  line-height: 28px;
  padding: 0 14px;
  border-radius: 6px;
}

/* ── PANELS ──────────────────────────────────────── */
.about-panels {
  flex: 1;
  min-width: 0;
}

.about-panel[hidden] {
  display: none;
}
.about-panel.is-active {
  display: block;
  animation: panelFadeIn .2s forwards;
}

@keyframes panelFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── PANEL HEADING & INTRO ───────────────────────── */
.panel-heading {
  font-family: 'Roboto', sans-serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.3;
  color: #000000;
  margin-bottom: 20px;
}

.panel-intro {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.72;
  color: #454545;
  margin-bottom: 18px;
}
.panel-intro:last-of-type {
  margin-bottom: 28px;
}

/* ── PANEL SOCIAL ICONS ──────────────────────────── */
.panel-social {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}
.panel-social .social-link {
  font-size: 30px;
  color: #000000;
  line-height: 1;
}
.panel-social .social-link:hover { color: #07568e; }

/* ── VISION & MISSION ────────────────────────────── */
.vision-image {
  margin-bottom: 28px;
  background: #f1f1f1;
}
.vision-image img {
  width: 100%;
  height: 305px;
  object-fit: cover;
  display: block;
}

.vision-bilingual {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 36px;
}
.vision-bilingual p {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.72;
  color: #454545;
}

/* Blue quote box */
.vision-quote-box {
  background: #07568e;
  padding: 51px 46px 36px;
  margin-bottom: 40px;
  min-height: 299px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.vision-quote-text {
  font-family: 'Roboto', sans-serif;
  font-size: 33px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.72;
  color: #fff;
  text-align: center;
  border: none;
  margin: 0 0 30px;
  padding: 0;
}
.vision-quote-author {
  font-family: 'Roboto', sans-serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  text-align: right;
  margin: 0;
}

/* ── INFO CARDS ──────────────────────────────────── */
.info-cards {
  display: flex;
  flex-direction: column;
  margin-bottom: 56px;
}
.info-card {
  border: 1px solid #000000;
  background: #ffffff;
}
.info-card + .info-card {
  border-top: none;
}
.info-card-header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
}
.info-card-icon {
  width: 55px;
  height: 55px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #000000;
  background: #ffffff;
}
.info-card-header h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 30px;
  font-weight: 400;
  color: #000000;
  line-height: 1.3;
}
.info-card-body {
  padding: 0 24px 24px 97px;
}
.info-card-body p {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #454545;
  line-height: 1.7;
  margin-bottom: 14px;
}
.info-card-body-dark p {
  color: #000000;
}
.info-card-body .link-grey {
  display: block;
  text-align: right;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  color: #959595;
  text-decoration: none;
}
.info-card-body .link-grey:hover { color: #07568e; }

/* ── NEWS SECTION ────────────────────────────────── */
.about-news {
  padding-bottom: 20px;
}
.about-news-title {
  font-family: 'Roboto', sans-serif;
  font-size: 45px;
  font-weight: 400;
  color: #000000;
  line-height: 1.3;
  margin-bottom: 16px;
}
.about-news-headline {
  font-family: 'Roboto', sans-serif;
  font-size: 30px;
  font-weight: 400;
  color: #000000;
  line-height: 1.3;
  margin-bottom: 10px;
}
.about-news-divider {
  border: none;
  border-top: 1px solid #8d8d8d;
  margin-bottom: 18px;
}
.about-news-excerpt {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #454545;
  line-height: 1.72;
  margin-bottom: 28px;
}
.about-news-image {
  margin-bottom: 30px;
  background: #f1f1f1;
}
.about-news-image img {
  width: 100%;
  height: 305px;
  object-fit: cover;
  display: block;
}

/* News cards */
.about-news-cards {
  display: flex;
  gap: 0;
  margin-bottom: 30px;
}
.about-nc {
  flex: 1;
  border: 1px solid #000000;
  display: flex;
  flex-direction: column;
}
.about-nc + .about-nc {
  border-left: none;
}
.about-nc.highlighted {
  background: #000000;
  border-color: #000000;
}
.about-nc-thumb img {
  width: 100%;
  height: 176px;
  object-fit: cover;
  display: block;
}
.about-nc-date {
  display: block;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #454545;
  padding: 16px 24px 0;
  line-height: 17px;
}
.about-nc.highlighted .about-nc-date { color: #fff; }
.about-nc h5 {
  font-family: 'Roboto', sans-serif;
  font-size: 30px;
  font-weight: 400;
  color: #111111;
  line-height: 1.3;
  padding: 10px 24px 0;
  margin: 0;
}
.about-nc.highlighted h5 { color: #fff; }
.about-nc p {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #454545;
  line-height: 1.72;
  padding: 16px 24px 0;
  flex: 1;
  margin: 0;
}
.about-nc.highlighted p { color: #959595; }
.about-nc .link-grey {
  display: block;
  padding: 10px 24px 24px;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #959595;
  text-decoration: none;
  min-height: 44px;
}
.about-nc .link-grey.link-white { color: #fff; }
.about-nc .link-grey:hover { color: #07568e; }

/* Pagination */
.about-news-pagination {
  display: flex;
  justify-content: center;
  gap: 21px;
}
.pag-dot {
  width: 39px;
  height: 39px;
  border-radius: 50%;
  border: none;
  background: #8d8d8d;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  min-width: 44px;
  min-height: 44px;
}
.pag-dot.active,
.pag-dot:hover {
  background: #07568e;
}

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 1200px) {
  .about-layout {
    flex-direction: column;
    gap: 40px;
  }
  .about-sidebar {
    flex: none;
    max-width: 100%;
    width: 100%;
    position: static;
  }
  .sidebar-photo {
    display: none;
  }
  .sidebar-nav {
    display: flex;
    align-items: stretch;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-bottom: 2px solid #8d8d8d;
    gap: 0;
    scrollbar-width: none;
  }
  .sidebar-nav::-webkit-scrollbar { display: none; }
  .sidebar-nav hr { display: none; }
  .sidebar-nav-item {
    flex: 0 0 auto;
    padding: 14px 20px;
    border-right: 1px solid #e0e0e0;
    position: relative;
    white-space: nowrap;
  }
  .sidebar-nav-item:last-child { border-right: none; }
  .sidebar-tab-link {
    font-size: 18px;
    line-height: 1.3;
  }
  .sidebar-tab-link br { display: none; }
  .sidebar-nav-more { display: none; }
  .sidebar-nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 3px;
    background: #07568e;
  }
  .vision-quote-text { font-size: 24px; }
}

@media (max-width: 900px) {
  .header-cta { display: none; }
  .sidebar-tab-link { font-size: 15px; }
  .panel-heading { font-size: 22px; }
  .panel-intro { font-size: 16px; }
  .vision-quote-text { font-size: 20px; }
  .vision-quote-box { min-height: auto; padding: 32px 24px; }
  .about-news-title { font-size: 28px; }
  .about-news-headline { font-size: 20px; }
  .info-card-header h3 { font-size: 22px; }
  .info-card-body { padding-left: 24px; }
  .about-nc h5 { font-size: 22px; }
  .about-news-cards {
    flex-direction: column;
  }
  .about-nc + .about-nc {
    border-left: 1px solid #000000;
    border-top: none;
  }
  .vision-image img { height: auto; }
  .about-news-image img { height: auto; }
}

@media (max-width: 700px) {
  .about-page { padding: 24px 0 60px; }
  .panel-heading { font-size: 20px; }
  .panel-intro { font-size: 15px; }
  .vision-quote-text { font-size: 18px; }
  .vision-quote-author { font-size: 22px; }
  .about-news-title { font-size: 24px; }
  .about-news-headline { font-size: 18px; }
  .info-card-header h3 { font-size: 20px; }
  .info-card-body p { font-size: 16px; }
  .about-nc h5 { font-size: 20px; }
  .about-nc p { font-size: 16px; }
  .sidebar-nav-item { padding: 10px 14px; }
  .sidebar-tab-link { font-size: 13px; }
}

@media (max-width: 480px) {
  .about-page { padding: 24px 0 48px; }
  .sidebar-tab-link { font-size: 13px; }
  .info-card-icon { width: 44px; height: 44px; }
  .info-card-header { gap: 12px; padding: 14px 16px; }
  .info-card-body { padding: 0 16px 16px; }
  .about-nc-thumb img { height: 140px; }
  .about-nc h5 { font-size: 18px; }
  .about-nc p { font-size: 15px; }
  .vision-quote-text { font-size: 18px; }
  .vision-quote-author { font-size: 20px; }
  .bc-current { font-size: 14px; padding: 0 10px; }
}
