@import url('/public/css/bootstrap.min.css');
@import url('/public/css/all.min.css');
@import url('/public/css/fonts.css');

:root {
  --color-navy: #070e5b;
  --color-navy-dark: #050b44;
  --color-blue: #1d40af;
  --color-ink: #0f172a;
  --color-bg: #f1f5f9;
  --color-topbar: #1a1a1a;
  --header-height: 126px;
}

@media (min-width: 1400px) {
  :root {
    --header-height: 113px;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg);
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* Header top */
.header-top {
  padding: 8px 0;
  background-color: var(--color-topbar);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.header-top a {
  color: inherit;
  text-decoration: none;
}

.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
}

.header-top-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 28px;
}

.header-top-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-top-item i {
  flex-shrink: 0;
}

a.header-top-item {
  transition: opacity 0.2s;
}

a.header-top-item:hover {
  opacity: 0.75;
}

.header-top-social {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.header-top-social-label {
  margin-right: 4px;
}

.header-top-social a,
.site-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid #fff;
  border-radius: 50%;
  background-color: #fff;
  color: var(--color-topbar);
  transition: background-color 0.2s, color 0.2s;
}

.header-top-social a:hover,
.site-footer-social a:hover {
  background-color: transparent;
  color: #fff;
}

@media (max-width: 991.98px) {
  .header-top {
    display: none;
  }
}

/* Navbar */
.navbar {
  padding: 0.6rem 0;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}

.navbar-brand {
  padding-top: 0;
  padding-bottom: 0;
  color: var(--color-ink);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.navbar-logo {
  display: block;
  width: auto;
  height: 48px;
}

.navbar .navbar-nav .nav-link {
  position: relative;
  padding: 0.5rem 1rem;
  color: var(--color-ink);
  font-weight: 600;
  transition: color 0.25s ease;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: var(--color-navy);
}

.navbar .navbar-nav .nav-link.active::before {
  content: "";
  position: absolute;
  right: 1rem;
  bottom: 0.15rem;
  left: 1rem;
  height: 2px;
  border-radius: 2px;
  background-color: var(--color-navy);
}

@media (max-width: 991.98px) {
  .navbar .navbar-nav .nav-link.active::before {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .navbar-logo {
    height: 44px;
  }
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  padding: 64px 0 112px;
  background-color: var(--color-navy);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  color: #fff;
  text-align: center;
}

.hero-title {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4.8vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero-lead {
  max-width: 41em;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: 500;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 20px;
  border: 1px solid #fff;
  border-radius: 10px;
  background-color: #fff;
  color: var(--color-navy);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

.hero-btn:hover {
  background-color: transparent;
  color: #fff;
}

.hero-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

.hero-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.hero-feature-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.08);
  font-size: 17px;
}

.hero-feature-title {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.hero-feature-text {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.4;
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.hero-scroll:hover {
  opacity: 1;
}

.hero-scroll i {
  font-size: 18px;
  animation: hero-scroll-bounce 1.6s ease-in-out infinite;
}

@keyframes hero-scroll-bounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-scroll i {
    animation: none;
  }
}

@media (max-width: 575.98px) {
  .hero-actions {
    flex-direction: column;
  }
}

@media (min-width: 576px) {
  .hero-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .hero {
    min-height: calc(100vh - var(--header-height));
    padding-top: clamp(56px, 11vh, 112px);
  }

  .hero-features {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Section */
.section-title {
  margin-bottom: 20px;
  color: var(--color-navy);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.section-lead {
  margin-bottom: 32px;
  color: #000;
  font-weight: 500;
  line-height: 1.7;
}

/* About */
.about {
  padding: 56px 0;
}

.about-content p {
  margin-bottom: 16px;
  color: #000;
  line-height: 1.7;
}

.about-content p:last-child {
  margin-bottom: 0;
}

@media (min-width: 992px) {
  .about {
    padding: 80px 0;
  }
}

/* ID card */
.id-card {
  max-width: 380px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background-color: #fff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
}

.id-card-header {
  padding: 12px 16px 14px;
  background-color: var(--color-navy);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
}

.id-card-slot {
  display: block;
  width: 56px;
  height: 10px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background-color: var(--color-bg);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.45);
}

.id-card-profile {
  padding: 28px 24px 24px;
  border-bottom: 1px solid #e9edf3;
  text-align: center;
}

.id-card-photo {
  display: block;
  width: 150px;
  height: 200px;
  margin: 0 auto 18px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  object-fit: cover;
}

.id-card-name {
  margin-bottom: 2px;
  color: var(--color-blue);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
}

.id-card-role {
  margin-bottom: 0;
  color: #000;
  font-size: 14px;
  font-weight: 600;
}

.id-card-list {
  padding: 4px 24px;
}

.id-card-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
}

.id-card-row + .id-card-row {
  border-top: 1px solid #e9edf3;
}

.id-card-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: linear-gradient(rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08)) var(--color-navy);
  color: #fff;
  font-size: 15px;
}

.id-card-label {
  display: block;
  color: var(--color-blue);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.id-card-value {
  display: block;
  margin-top: 3px;
  color: var(--color-ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

@media (min-width: 992px) {
  .id-card {
    margin-right: 0;
  }
}

/* Services */
.services {
  padding: 56px 0;
  background-color: #fff;
}

.services .section-title,
.posts .section-title,
.areas .section-title {
  margin-bottom: 12px;
}

.services .section-title,
.services .section-lead,
.posts .section-title,
.posts .section-lead,
.areas .section-title,
.areas .section-lead {
  text-align: center;
}

.service-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  height: 100%;
  padding: 24px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background-color: var(--color-bg);
}

.service-card-icon,
.area-card-icon,
.mission-card-icon,
.process-card-number,
.contact-card-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08)) var(--color-navy);
  color: #fff;
  font-size: 17px;
}

.service-card-body {
  display: flex;
  flex-direction: column;
  align-self: stretch;
}

.service-card-title {
  margin-bottom: 6px;
  color: var(--color-navy);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.service-card-text {
  margin-bottom: 14px;
  color: #000;
  font-size: 14px;
  line-height: 1.6;
}

.service-card-link,
.post-card-more {
  align-self: flex-start;
  margin-top: auto;
  color: var(--color-blue);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.service-card-link i,
.post-card-more i {
  margin-left: 6px;
  font-size: 12px;
  transition: transform 0.2s;
}

.service-card-link:hover,
.post-card:hover .post-card-more {
  color: var(--color-navy);
}

.service-card-link:hover i,
.post-card:hover .post-card-more i {
  transform: translateX(3px);
}

@media (min-width: 992px) {
  .services {
    padding: 80px 0;
  }
}

/* Posts */
.posts {
  padding: 56px 0;
}

.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background-color: #fff;
  transition: box-shadow 0.2s, transform 0.2s;
}

.post-card:hover {
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
  transform: translateY(-4px);
}

.post-card-cover {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  background-color: var(--color-navy);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  color: rgba(255, 255, 255, 0.25);
  font-size: 56px;
}

.post-card-cover img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card-category,
.article-category {
  position: absolute;
  bottom: 14px;
  left: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  background-color: #fff;
  color: var(--color-navy);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.post-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 24px 24px;
}

.post-card-meta,
.article-meta {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: #000;
  font-size: 14px;
  font-weight: 500;
}

.post-card-meta i,
.article-meta i {
  margin-right: 6px;
  color: var(--color-blue);
}

.post-card-title {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.post-card-title a {
  color: var(--color-navy);
  text-decoration: none;
  transition: color 0.2s;
}

.post-card:hover .post-card-title a {
  color: var(--color-blue);
}

.post-card-text {
  margin-bottom: 14px;
  color: #000;
  font-size: 14px;
  line-height: 1.6;
}

.posts-action {
  margin-top: 40px;
  text-align: center;
}

.posts-more {
  color: var(--color-blue);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.posts-more i {
  margin-left: 4px;
  font-size: 12px;
  transition: transform 0.2s;
}

.posts-more:hover {
  color: var(--color-navy);
}

.posts-more:hover i {
  transform: translateX(3px);
}

@media (min-width: 992px) {
  .posts {
    padding: 80px 0;
  }
}

/* Areas */
.areas {
  padding: 56px 0;
  background-color: #fff;
}

/* As many cards in a row as fit: two on a phone, six on a wide screen. */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

.area-card {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background-color: var(--color-bg);
}

.area-card > div {
  min-width: 0;
}

.area-card-icon {
  width: 30px;
  height: 30px;
  font-size: 13px;
}

.area-card-title {
  margin-bottom: 0;
  color: var(--color-navy);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.area-card-text {
  margin-bottom: 0;
  color: #000;
  font-size: 13px;
  line-height: 1.4;
}

/* Narrow phones: the longest district names still fit on one line. */
@media (max-width: 379.98px) {
  .area-card {
    padding: 10px 8px;
  }

  .area-card-title {
    font-size: 13px;
  }
}

@media (min-width: 576px) {
  .areas-grid {
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  }

  .area-card {
    gap: 10px;
    padding: 12px 14px;
  }

  .area-card-icon {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }

  .area-card-title {
    font-size: 15px;
  }
}

@media (min-width: 992px) {
  .areas {
    padding: 80px 0;
  }
}

/* Footer */
.site-footer {
  padding-top: 56px;
  background-color: var(--color-navy-dark);
  color: #fff;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer-brand {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.site-footer-logo {
  display: block;
  width: auto;
  height: 48px;
}

.site-footer-text {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  line-height: 1.7;
}

.site-footer-social {
  display: flex;
  gap: 8px;
}

.site-footer-social a {
  color: var(--color-navy);
  font-size: 13px;
}

.site-footer-title {
  margin-bottom: 18px;
  font-size: 16px;
  font-weight: 700;
}

.site-footer-links li + li {
  margin-top: 10px;
}

.site-footer-links a {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.site-footer-links i {
  flex-shrink: 0;
  font-size: 11px;
}

.site-footer-links a,
.site-footer-contact a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  transition: color 0.2s;
}

.site-footer-links a:hover,
.site-footer-contact a:hover {
  color: #fff;
}

.site-footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  line-height: 1.6;
}

.site-footer-contact li + li {
  margin-top: 12px;
}

.site-footer-contact a {
  overflow-wrap: anywhere;
}

.site-footer-contact i {
  flex-shrink: 0;
  width: 16px;
  margin-top: 4px;
  color: #fff;
  text-align: center;
}

.site-footer-bottom {
  margin-top: 48px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(0, 0, 0, 0.25);
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
}

.site-footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.site-footer-copy {
  margin-bottom: 0;
  color: #fff;
}

.site-footer-label {
  color: #fff;
  font-weight: 700;
}

.site-footer-registry a:hover {
  color: #fff;
  text-decoration: underline;
}

@media (min-width: 768px) {
  .site-footer-registry {
    display: flex;
  }

  .site-footer-registry li + li {
    margin-left: 12px;
    padding-left: 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
  }
}

@media (min-width: 992px) {
  .site-footer {
    padding-top: 72px;
  }
}

@media (min-width: 1200px) {
  .site-footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* Page header */
.page-header {
  padding: 24px 0;
  background-color: var(--color-navy);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  color: #fff;
}

.page-header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 24px;
}

.page-header-title {
  margin-bottom: 0;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.page-header-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

.page-header-breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-header-breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.page-header-breadcrumb a:hover {
  color: #fff;
}

.page-header-breadcrumb i {
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
}

/* Mission */
.mission {
  padding: 56px 0;
  background-color: #fff;
}

.mission .section-title {
  margin-bottom: 32px;
  text-align: center;
}

.mission-card {
  height: 100%;
  padding: 28px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background-color: var(--color-bg);
}

.mission-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.mission-card-title {
  margin-bottom: 0;
  color: var(--color-navy);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
}

.mission-card-text {
  margin-bottom: 18px;
  color: #000;
  line-height: 1.7;
}

.mission-card-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: #000;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

.mission-card-list li + li {
  margin-top: 10px;
}

.mission-card-list i {
  flex-shrink: 0;
  color: var(--color-blue);
  font-size: 14px;
}

@media (min-width: 992px) {
  .mission {
    padding: 80px 0;
  }
}

/* Process */
.process {
  padding: 56px 0;
}

.process .section-title {
  margin-bottom: 12px;
}

.process .section-title,
.process .section-lead {
  text-align: center;
}

.process-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  height: 100%;
  padding: 24px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background-color: #fff;
}

.process-card-number {
  font-size: 15px;
  font-weight: 800;
}

.process-card-title {
  margin-bottom: 6px;
  color: var(--color-navy);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.process-card-text {
  margin-bottom: 0;
  color: #000;
  font-size: 14px;
  line-height: 1.6;
}

@media (min-width: 992px) {
  .process {
    padding: 80px 0;
  }
}

/* Contact */
.contact {
  padding: 56px 0;
}

.contact-list {
  display: grid;
  gap: 16px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 24px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background-color: #fff;
}

.contact-card-title {
  margin-bottom: 4px;
  color: var(--color-navy);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.contact-card-text {
  margin-bottom: 0;
  color: #000;
  font-size: 14px;
  line-height: 1.6;
}

.contact-card-text a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-card-text a:hover {
  color: var(--color-blue);
}

.contact-map {
  height: 100%;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background-color: #fff;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

@media (min-width: 992px) {
  .contact {
    padding: 80px 0;
  }
}

/* Detail */
.detail {
  padding: 56px 0;
}

.article {
  padding: 28px 24px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background-color: #fff;
}

.article h2 {
  margin: 32px 0 12px;
  color: var(--color-navy);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
}

.article p {
  margin-bottom: 16px;
  color: #000;
  line-height: 1.7;
}

.article p a,
.article li a {
  color: var(--color-blue);
}

.article-checklist {
  margin-bottom: 0;
}

.article-checklist li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: #000;
  font-weight: 500;
  line-height: 1.5;
}

.article-checklist li + li {
  margin-top: 10px;
}

.article-checklist i {
  flex-shrink: 0;
  color: var(--color-blue);
  font-size: 14px;
}

.article .article-note {
  margin: 28px 0 0;
  padding-top: 20px;
  border-top: 1px solid #e9edf3;
  font-size: 14px;
  line-height: 1.6;
}

.sidebar {
  display: grid;
  gap: 24px;
}

.sidebar-card {
  padding: 24px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background-color: #fff;
}

.sidebar-card-title {
  margin-bottom: 12px;
  color: var(--color-navy);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
}

.sidebar-card-links li + li {
  border-top: 1px solid #e9edf3;
}

.sidebar-card-links a {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 0;
  color: #000;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.sidebar-card-links a:hover {
  color: var(--color-blue);
}

.sidebar-card-links i {
  flex-shrink: 0;
  color: var(--color-blue);
  font-size: 11px;
}

.sidebar-card-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #000;
  font-size: 15px;
  line-height: 1.6;
}

.sidebar-card-contact li + li {
  margin-top: 10px;
}

.sidebar-card-contact i {
  flex-shrink: 0;
  width: 16px;
  margin-top: 5px;
  color: var(--color-blue);
  text-align: center;
}

.sidebar-card-contact a {
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.2s;
}

.sidebar-card-contact a:hover {
  color: var(--color-blue);
}

@media (min-width: 992px) {
  .detail {
    padding: 80px 0;
  }

  .article {
    padding: 40px;
  }

  .sidebar {
    position: sticky;
    top: 24px;
  }
}

.article .article-updated {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e9edf3;
  font-size: 14px;
  font-weight: 500;
}

/* Lists and tables of the content that comes from the database. The content carries no classes. */
.article-content ul {
  margin-bottom: 16px;
  padding-left: 20px;
  color: #000;
  line-height: 1.7;
}

.article-content li + li {
  margin-top: 4px;
}

.article-content table {
  width: 100%;
  margin-bottom: 16px;
  border-collapse: collapse;
  color: #000;
  font-size: 15px;
  line-height: 1.5;
}

.article-content th,
.article-content td {
  padding: 10px 14px;
  border: 1px solid #e5e7eb;
  vertical-align: top;
}

.article-content thead th {
  background-color: var(--color-navy);
  color: #fff;
  font-weight: 700;
}

.article-content tbody th {
  background-color: var(--color-bg);
  font-weight: 700;
}

.article-faq {
  --bs-accordion-border-color: #e5e7eb;
  --bs-accordion-border-radius: 12px;
  --bs-accordion-inner-border-radius: 11px;
  --bs-accordion-btn-padding-x: 18px;
  --bs-accordion-btn-padding-y: 14px;
  --bs-accordion-btn-color: var(--color-navy);
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-active-color: var(--color-navy);
  --bs-accordion-active-bg: var(--color-bg);
  --bs-accordion-body-padding-x: 18px;
  --bs-accordion-body-padding-y: 14px;
}

.article-faq .accordion-button {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.article-faq .accordion-body {
  color: #000;
  line-height: 1.7;
}

.article-sources {
  margin-bottom: 0;
  padding-left: 20px;
  line-height: 1.7;
}

.article-sources a {
  color: var(--color-blue);
  overflow-wrap: anywhere;
}

.article-content thead th:last-child,
.article-content td:last-child {
  white-space: nowrap;
}

.article-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 0 0 20px;
  overflow: hidden;
  border-radius: 12px;
  background-color: var(--color-navy);
}

.article-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-meta {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e9edf3;
}

.article .article-lead {
  font-size: 17px;
  font-weight: 500;
}

.article-back {
  display: inline-block;
  margin-top: 20px;
  color: var(--color-blue);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s;
}

.article-back i {
  margin-right: 6px;
  font-size: 12px;
  transition: transform 0.2s;
}

.article-back:hover {
  color: var(--color-navy);
}

.article-back:hover i {
  transform: translateX(-3px);
}

.sidebar-card-posts li + li {
  border-top: 1px solid #e9edf3;
}

.sidebar-post {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  color: #000;
  text-decoration: none;
}

.sidebar-post-thumb {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
}

.sidebar-post-title {
  display: block;
  color: var(--color-navy);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  transition: color 0.2s;
}

.sidebar-post:hover .sidebar-post-title {
  color: var(--color-blue);
}

.sidebar-post-date {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 500;
}

.sidebar-post-date i {
  margin-right: 6px;
  color: var(--color-blue);
}
