.app-policy-page-main {
  background-color: #f8fafc;
  min-height: 85vh;
  padding-top: 36px;
  padding-bottom: 60px;
  transition: background-color 0.3s ease;
}

html[data-theme="dark"] .app-policy-page-main {
  background-color: #0b0f19;
}

.app-policy-container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.app-policy-breadcrumb-nav {
  margin-bottom: 24px;
}

.app-policy-breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.88rem;
}

.app-policy-breadcrumb-item {
  display: inline-flex;
  align-items: center;
}

.app-policy-breadcrumb-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.app-policy-breadcrumb-link:hover {
  color: var(--app-primary);
}

.app-policy-breadcrumb-sep {
  color: #94a3b8;
  font-size: 0.8rem;
  user-select: none;
}

.app-policy-breadcrumb-text {
  color: #64748b;
}

.app-policy-breadcrumb-curr {
  color: #0f172a;
  font-weight: 700;
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  vertical-align: bottom;
}

html[data-theme="dark"] .app-policy-breadcrumb-link,
html[data-theme="dark"] .app-policy-breadcrumb-text {
  color: #94a3b8;
}

html[data-theme="dark"] .app-policy-breadcrumb-curr {
  color: #f8fafc;
}

.app-policy-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 32px;
  align-items: start;
}

.app-policy-article-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

html[data-theme="dark"] .app-policy-article-card {
  background-color: #111827;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.app-policy-article-header {
  margin-bottom: 24px;
}

.app-policy-badge-wrap {
  margin-bottom: 14px;
}

.app-policy-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  background-color: rgba(164, 31, 35, 0.08);
  color: var(--app-primary);
  border: 1px solid rgba(164, 31, 35, 0.2);
}

html[data-theme="dark"] .app-policy-badge {
  background-color: rgba(164, 31, 35, 0.2);
  color: #ff8589;
  border-color: rgba(164, 31, 35, 0.4);
}

.app-policy-article-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.32;
  margin: 0 0 16px 0;
  letter-spacing: -0.02em;
}

html[data-theme="dark"] .app-policy-article-title {
  color: #f8fafc;
}

.app-policy-meta-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.88rem;
  color: #64748b;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

html[data-theme="dark"] .app-policy-meta-strip {
  color: #94a3b8;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.app-policy-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.app-policy-meta-icon {
  color: var(--app-primary);
  flex-shrink: 0;
}

.app-policy-meta-dot {
  color: #cbd5e1;
}

.app-policy-summary-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 14px;
  background-color: #fdf4f4;
  border-left: 4px solid var(--app-primary);
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 28px;
}

html[data-theme="dark"] .app-policy-summary-box {
  background-color: rgba(164, 31, 35, 0.12);
  color: #cbd5e1;
}

.app-policy-summary-icon {
  color: var(--app-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.app-policy-body-content {
  color: #334155;
  font-size: 1.02rem;
  line-height: 1.85;
}

html[data-theme="dark"] .app-policy-body-content {
  color: #cbd5e1;
}

.app-policy-body-content p {
  margin-bottom: 16px;
}

.app-policy-body-content ul,
.app-policy-body-content ol {
  padding-left: 24px;
  margin-bottom: 18px;
}

.app-policy-body-content li {
  margin-bottom: 8px;
  line-height: 1.75;
}

.app-policy-body-content strong,
.app-policy-body-content b {
  color: #0f172a;
  font-weight: 700;
}

html[data-theme="dark"] .app-policy-body-content strong,
html[data-theme="dark"] .app-policy-body-content b {
  color: #f8fafc;
}

.app-policy-section-heading {
  font-family: var(--font-heading);
  font-size: 1.28rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 28px;
  margin-bottom: 12px;
  line-height: 1.4;
  padding-left: 12px;
  border-left: 3px solid var(--app-primary);
}

html[data-theme="dark"] .app-policy-section-heading {
  color: #f8fafc;
}

.app-policy-body-content a {
  color: var(--app-primary);
  text-decoration: underline;
  font-weight: 600;
}

.app-policy-body-content a:hover {
  color: var(--app-primary-hover);
}

.app-policy-body-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 16px 0;
}

.app-policy-guarantee-strip {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 36px;
  padding: 20px 24px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
}

html[data-theme="dark"] .app-policy-guarantee-strip {
  background-color: #1a2234;
  border-color: rgba(255, 255, 255, 0.08);
}

.app-policy-guarantee-icon {
  color: #16a34a;
  flex-shrink: 0;
  margin-top: 2px;
}

.app-policy-guarantee-info {
  flex-grow: 1;
}

.app-policy-guarantee-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}

html[data-theme="dark"] .app-policy-guarantee-title {
  color: #f8fafc;
}

.app-policy-guarantee-desc {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #64748b;
}

html[data-theme="dark"] .app-policy-guarantee-desc {
  color: #94a3b8;
}

.app-policy-hotline-inline {
  color: var(--app-primary);
  text-decoration: none;
}

.app-policy-hotline-inline:hover {
  text-decoration: underline;
}

.app-policy-sidebar-col {
  position: relative;
}

.app-policy-sticky-container {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.app-policy-menu-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

html[data-theme="dark"] .app-policy-menu-card {
  background-color: #111827;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.app-policy-sidebar-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}

html[data-theme="dark"] .app-policy-sidebar-header {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.app-policy-sidebar-icon {
  color: var(--app-primary);
  flex-shrink: 0;
}

.app-policy-sidebar-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.01em;
}

html[data-theme="dark"] .app-policy-sidebar-title {
  color: #f8fafc;
}

.app-policy-nav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.app-policy-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  color: #334155;
  transition: all 0.2s ease;
}

html[data-theme="dark"] .app-policy-nav-item {
  background-color: #1a2234;
  border-color: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
}

.app-policy-nav-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #94a3b8;
  transition: color 0.2s ease;
}

.app-policy-nav-text {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
  flex-grow: 1;
}

.app-policy-nav-arrow {
  color: #cbd5e1;
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.app-policy-nav-item:hover {
  background-color: #fdf4f4;
  border-color: rgba(164, 31, 35, 0.3);
  color: var(--app-primary);
  transform: translateX(3px);
}

.app-policy-nav-item:hover .app-policy-nav-indicator,
.app-policy-nav-item:hover .app-policy-nav-arrow {
  color: var(--app-primary);
}

.app-policy-nav-item.is-current {
  background-color: rgba(164, 31, 35, 0.08);
  border-color: var(--app-primary);
  color: var(--app-primary);
  font-weight: 700;
}

html[data-theme="dark"] .app-policy-nav-item.is-current {
  background-color: rgba(164, 31, 35, 0.2);
  border-color: var(--app-primary);
  color: #ff8589;
}

.app-policy-nav-item.is-current .app-policy-nav-indicator {
  color: var(--app-primary);
}

.app-policy-nav-item.is-current .app-policy-nav-arrow {
  color: var(--app-primary);
}

.app-policy-support-card {
  background: linear-gradient(135deg, #111827 0%, #1e293b 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 26px 22px;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.app-policy-support-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 14px auto;
  border-radius: 50%;
  background-color: rgba(164, 31, 35, 0.25);
  color: #ff8589;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(164, 31, 35, 0.4);
}

.app-policy-support-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff;
}

.app-policy-support-desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #cbd5e1;
  margin-bottom: 18px;
}

.app-policy-support-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.app-policy-btn-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 9999px;
  background-color: var(--app-primary);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(164, 31, 35, 0.4);
}

.app-policy-btn-call:hover {
  background-color: var(--app-primary-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(164, 31, 35, 0.5);
}

.app-policy-btn-zalo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
}

.app-policy-btn-zalo:hover {
  background-color: #0068ff;
  border-color: #0068ff;
  color: #ffffff;
  transform: translateY(-2px);
}

.app-policy-news-section {
  margin-top: 60px;
  padding-top: 48px;
  padding-bottom: 20px;
  border-top: 1px solid #e2e8f0;
}

html[data-theme="dark"] .app-policy-news-section {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.app-policy-news-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px auto;
}

.app-policy-news-heading {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: #0f172a;
  margin: 8px 0 10px 0;
  letter-spacing: -0.01em;
}

html[data-theme="dark"] .app-policy-news-heading {
  color: #f8fafc;
}

.app-policy-news-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}

html[data-theme="dark"] .app-policy-news-desc {
  color: #94a3b8;
}

.app-policy-news-slider-wrap {
  position: relative;
  padding-bottom: 40px;
}

.app-policy-news-swiper {
  width: 100%;
  overflow: hidden;
  padding: 8px 4px 16px 4px;
}

.app-policy-news-swiper .swiper-slide {
  height: auto;
}

.app-news-card {
  height: 100%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

html[data-theme="dark"] .app-news-card {
  background: #111827;
  border-color: rgba(255, 255, 255, 0.08);
}

.app-news-card:hover {
  transform: translateY(-5px);
  border-color: rgba(164, 31, 35, 0.4);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

html[data-theme="dark"] .app-news-card:hover {
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
}

.app-news-thumb-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  background-color: #f1f5f9;
}

html[data-theme="dark"] .app-news-thumb-frame {
  background-color: #1e293b;
}

.app-news-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.app-news-card:hover .app-news-img {
  transform: scale(1.06);
}

.app-news-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.app-news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 10px;
}

.app-news-meta span:last-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}

.app-news-title-wrap {
  margin: 0 0 10px 0;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.4;
}

.app-news-title-link {
  font-family: var(--font-heading);
  color: #0f172a;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

html[data-theme="dark"] .app-news-title-link {
  color: #f8fafc;
}

.app-news-title-link:hover {
  color: var(--app-primary);
}

.app-news-excerpt {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.55;
  margin: 0 0 16px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

html[data-theme="dark"] .app-news-excerpt {
  color: #94a3b8;
}

.app-news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--app-primary);
  text-decoration: none;
  margin-top: auto;
  transition: gap 0.2s ease;
}

.app-news-read-more:hover {
  gap: 10px;
  color: var(--app-primary-hover);
}

.app-policy-news-prev,
.app-policy-news-next {
  position: absolute;
  top: calc(50% - 30px);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  transition: all 0.2s ease;
}

html[data-theme="dark"] .app-policy-news-prev,
html[data-theme="dark"] .app-policy-news-next {
  background-color: #1e293b;
  border-color: rgba(255, 255, 255, 0.1);
  color: #f8fafc;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.app-policy-news-prev {
  left: -20px;
}

.app-policy-news-next {
  right: -20px;
}

.app-policy-news-prev:hover,
.app-policy-news-next:hover {
  background-color: var(--app-primary);
  border-color: var(--app-primary);
  color: #ffffff;
  transform: scale(1.08);
}

.app-policy-news-prev.swiper-button-disabled,
.app-policy-news-next.swiper-button-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.app-policy-news-pagination {
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.app-policy-news-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background-color: #cbd5e1;
  opacity: 1;
  transition: all 0.25s ease;
}

html[data-theme="dark"] .app-policy-news-pagination .swiper-pagination-bullet {
  background-color: #334155;
}

.app-policy-news-pagination .swiper-pagination-bullet-active {
  width: 24px;
  background-color: var(--app-primary);
}

@media (max-width: 1200px) {
  .app-policy-news-prev {
    left: -10px;
  }
  .app-policy-news-next {
    right: -10px;
  }
}

@media (max-width: 991px) {
  .app-policy-layout-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .app-policy-sticky-container {
    position: relative;
    top: 0;
  }

  .app-policy-news-prev,
  .app-policy-news-next {
    display: none;
  }
}

@media (max-width: 768px) {
  .app-policy-page-main {
    padding-top: 20px;
    padding-bottom: 40px;
  }

  .app-policy-container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .app-policy-article-card {
    padding: 16px;
    border-radius: 14px;
  }

  .app-policy-article-title {
    font-size: 1.45rem;
    margin-bottom: 12px;
  }

  .app-policy-meta-strip {
    font-size: 0.8rem;
    gap: 8px;
  }

  .app-policy-summary-box {
    padding: 12px 14px;
    font-size: 0.88rem;
    margin-bottom: 20px;
  }

  .app-policy-body-content {
    font-size: 0.95rem;
    line-height: 1.75;
  }

  .app-policy-section-heading {
    font-size: 1.15rem;
    margin-top: 22px;
    margin-bottom: 10px;
  }

  .app-policy-guarantee-strip {
    padding: 14px;
    gap: 12px;
    margin-top: 24px;
    border-radius: 12px;
  }

  .app-policy-menu-card {
    padding: 16px;
    border-radius: 14px;
  }

  .app-policy-support-card {
    padding: 20px 16px;
    border-radius: 14px;
  }

  .app-policy-news-section {
    margin-top: 40px;
    padding-top: 32px;
  }

  .app-policy-news-heading {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .app-policy-container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .app-policy-article-card {
    padding: 12px;
  }

  .app-policy-article-title {
    font-size: 1.3rem;
  }

  .app-policy-breadcrumb-curr {
    max-width: 140px;
  }

  .app-news-body {
    padding: 14px;
  }

  .app-policy-guarantee-strip {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

