/**
 * Hải Đại Phát - Custom Design System & Styles
 * Primary Color: #bf1f2b
 */

:root {
  --hdp-primary: #bf1f2b;
  --hdp-primary-hover: #9e1822;
  --hdp-primary-light: #fff5f5;
  --hdp-primary-border: #fbd5d8;
  --hdp-text-dark: #161922;
  --hdp-text-body: #4a5568;
  --hdp-text-muted: #718096;
  --hdp-bg-light: #f8f9fa;
  --hdp-border-color: #edf2f7;
  --hdp-radius-sm: 8px;
  --hdp-radius-md: 12px;
  --hdp-radius-lg: 16px;
  --hdp-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --hdp-shadow-md: 0 6px 20px rgba(0, 0, 0, 0.08);
  --hdp-shadow-hover: 0 12px 28px rgba(191, 31, 43, 0.12);
  --hdp-transition: all 0.3s ease;
}

/* ==========================================================================
   Section Headers (Shortcodes)
   ========================================================================== */
.hdp-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}
.hdp-section-header.text-center {
  justify-content: center;
  text-align: center;
}
.hdp-section-header .hdp-header-left {
  max-width: 800px;
}
.hdp-section-header .hdp-subtitle {
  color: var(--hdp-primary);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
  display: block;
}
.hdp-section-header .hdp-title {
  color: var(--hdp-text-dark);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}
.hdp-section-header .hdp-link-all {
  color: var(--hdp-primary);
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--hdp-transition);
  text-decoration: none;
  white-space: nowrap;
}
.hdp-section-header .hdp-link-all:hover {
  color: var(--hdp-primary-hover);
  transform: translateX(4px);
}
.hdp-section-header .hdp-link-all svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform 0.2s ease;
}
.hdp-section-header .hdp-link-all:hover svg {
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .hdp-section-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
  }
  .hdp-section-header .hdp-title {
    font-size: 22px;
  }
}

/* ==========================================================================
   Project Grid & Cards ([hdp_du_an])
   ========================================================================== */
.hdp-projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.hdp-projects-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.hdp-projects-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.hdp-project-card {
  background: #ffffff;
  border-radius: var(--hdp-radius-md);
  overflow: hidden;
  transition: var(--hdp-transition);
  display: flex;
  flex-direction: column;
  position: relative;
}
.hdp-project-card:hover {
  transform: translateY(-6px);
}
.hdp-project-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--hdp-radius-md);
  overflow: hidden;
  background: #f0f0f0;
}
.hdp-project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.hdp-project-card:hover .hdp-project-thumb img {
  transform: scale(1.06);
}
.hdp-project-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--hdp-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.hdp-project-content {
  padding: 14px 4px 6px;
}
.hdp-project-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 6px;
  color: var(--hdp-text-dark);
  transition: color 0.2s ease;
}
.hdp-project-card:hover .hdp-project-title {
  color: var(--hdp-primary);
}
.hdp-project-title a {
  color: inherit;
  text-decoration: none;
}
.hdp-project-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
  line-height: 1.4;
}
.hdp-project-meta svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  fill: var(--hdp-primary);
}

@media (max-width: 1024px) {
  .hdp-projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}
@media (max-width: 600px) {
  .hdp-projects-grid.cols-3{
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ==========================================================================
   News / Tin Tức Grid & Cards ([hdp_tin_tuc])
   ========================================================================== */
.hdp-news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.hdp-news-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.hdp-news-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.hdp-news-card {
  background: #ffffff;
  border-radius: var(--hdp-radius-md);
  overflow: hidden;
  transition: var(--hdp-transition);
  display: flex;
  flex-direction: column;
}
.hdp-news-card:hover {
  transform: translateY(-6px);
}
.hdp-news-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--hdp-radius-md);
  overflow: hidden;
  background: #f0f0f0;
}
.hdp-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.hdp-news-card:hover .hdp-news-thumb img {
  transform: scale(1.06);
}
.hdp-news-content {
  padding: 14px 4px 6px;
}
.hdp-news-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 8px;
  color: var(--hdp-text-dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}
.hdp-news-card:hover .hdp-news-title {
  color: var(--hdp-primary);
}
.hdp-news-title a {
  color: inherit;
  text-decoration: none;
}
.hdp-news-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: #64748b;
  font-weight: 500;
}
.hdp-news-meta svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  fill: var(--hdp-primary);
}

@media (max-width: 1024px) {
  .hdp-news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}
@media (max-width: 600px) {
  .hdp-news-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ==========================================================================
   Services Grid & Cards ([hdp_dich_vu])
   ========================================================================== */
.hdp-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.hdp-services-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.hdp-services-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.hdp-service-card {
  background: #ffffff;
  border: 1px solid #eef2f6;
  border-radius: var(--hdp-radius-md);
  padding: 30px 24px;
  transition: var(--hdp-transition);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--hdp-shadow-sm);
}
.hdp-service-card:hover {
  border-color: var(--hdp-primary-border);
  box-shadow: var(--hdp-shadow-hover);
  transform: translateY(-5px);
}
.hdp-service-icon-wrap {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 16px;
  color: var(--hdp-primary);
}
.hdp-service-icon-wrap svg {
  width: 38px;
  height: 38px;
  fill: currentColor;
}
.hdp-service-icon-wrap img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.hdp-service-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--hdp-text-dark);
  margin: 0 0 10px;
  line-height: 1.35;
}
.hdp-service-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.hdp-service-card:hover .hdp-service-title a {
  color: var(--hdp-primary);
}
.hdp-service-excerpt {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.6;
  margin: 0 0 16px;
  flex-grow: 1;
	text-align: justify;
}
.hdp-service-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--hdp-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: var(--hdp-transition);
  margin-top: auto;
}
.hdp-service-link svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: transform 0.2s ease;
}
.hdp-service-card:hover .hdp-service-link svg {
  transform: translateX(4px);
}

@media (max-width: 1024px) {
  .hdp-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .hdp-services-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Stats Counter Box ([hdp_thong_so])
   ========================================================================== */
.hdp-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 30px 0;
}
.hdp-stat-item {
  background: #ffffff;
  padding: 24px 20px;
  border-radius: var(--hdp-radius-md);
  border-top: 4px solid var(--hdp-primary);
  box-shadow: var(--hdp-shadow-sm);
  text-align: center;
  transition: var(--hdp-transition);
}
.hdp-stat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--hdp-shadow-md);
}
.hdp-stat-number {
  font-size: 38px;
  font-weight: 800;
  color: var(--hdp-primary);
  line-height: 1.1;
  margin-bottom: 6px;
  display: block;
}
.hdp-stat-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--hdp-text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
@media (max-width: 768px) {
  .hdp-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   Single Templates Shared Layout
   ========================================================================== */
.hdp-single-hero {
  background: linear-gradient(135deg, #2b0306 0%, #15161b 100%);
  color: #ffffff;
  padding: 50px 0 45px;
  position: relative;
  overflow: hidden;
  margin-bottom: 40px;
}
.hdp-single-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(191, 31, 43, 0.25) 0%, transparent 70%);
  pointer-events: none;
}
.hdp-single-hero .hdp-hero-badge {
  display: inline-block;
  background: var(--hdp-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 99px;
  margin-bottom: 14px;
  letter-spacing: 1px;
}
.hdp-single-hero h1 {
  color: #ffffff !important;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 16px;
}
.hdp-single-hero .hdp-breadcrumbs {
  font-size: 13px;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.hdp-single-hero .hdp-breadcrumbs a {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.85;
}
.hdp-single-hero .hdp-breadcrumbs a:hover {
  opacity: 1;
  color: var(--hdp-primary-border);
}
.hdp-single-hero .hdp-breadcrumbs .sep {
  opacity: 0.5;
}

/* Single Container & Layout
.hdp-single-wrap {
  margin-bottom: 60px;
} */
.hdp-single-layout {
  display: grid;
  grid-template-columns: 2.3fr 1fr;
  gap: 36px;
}
@media (max-width: 992px) {
  .hdp-single-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Specifications Grid (Single Dự Án) */
.hdp-specs-box {
  background: #ffffff;
  border: 1px solid var(--hdp-border-color);
  border-radius: var(--hdp-radius-md);
  padding: 24px;
  margin-bottom: 30px;
  box-shadow: var(--hdp-shadow-sm);
}
.hdp-specs-box .hdp-specs-heading {
  font-size: 18px;
  font-weight: 700;
  color: var(--hdp-text-dark);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--hdp-primary-light);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hdp-specs-box .hdp-specs-heading::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 18px;
  background: var(--hdp-primary);
  border-radius: 2px;
}
.hdp-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
}
.hdp-spec-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.hdp-spec-icon {
  width: 36px;
  height: 36px;
  background: var(--hdp-primary-light);
  color: var(--hdp-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hdp-spec-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.hdp-spec-info {
  display: flex;
  flex-direction: column;
}
.hdp-spec-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--hdp-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.hdp-spec-val {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--hdp-text-dark);
  margin-top: 2px;
}
@media (max-width: 600px) {
  .hdp-specs-grid {
    grid-template-columns: 1fr;
  }
}

/* Single Content Typography */
.hdp-single-content {
  font-size: 15.5px;
  line-height: 1.8;
  color: #334155;
	text-align: justify;
}
.hdp-single-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--hdp-text-dark);
  margin: 32px 0 16px;
  position: relative;
  padding-left: 14px;
}
.hdp-single-content h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background: var(--hdp-primary);
  border-radius: 2px;
}
.hdp-single-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--hdp-text-dark);
  margin: 24px 0 12px;
}
.hdp-single-content p {
  margin-bottom: 18px;
	text-align: justify;
}
.hdp-single-content img {
  border-radius: var(--hdp-radius-md);
  margin: 16px 0;
  max-width: 100%;
  height: auto;
}
.hdp-single-content ul, .hdp-single-content ol {
  margin: 0 0 20px 24px;
}
.hdp-single-content li {
  margin-bottom: 8px;
	text-align: justify;
}

/* Gallery Slider / Grid */
.hdp-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0 32px;
}
.hdp-gallery-item {
  border-radius: var(--hdp-radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.hdp-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
  margin: 0 !important;
}
.hdp-gallery-item:hover img {
  transform: scale(1.08);
}
@media (max-width: 600px) {
  .hdp-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Sidebar Styling */
.hdp-sidebar-box {
  background: #ffffff;
  border: 1px solid var(--hdp-border-color);
  border-radius: var(--hdp-radius-md);
  padding: 24px;
  margin-bottom: 28px;
  box-shadow: var(--hdp-shadow-sm);
}
.hdp-sidebar-box.hdp-box-primary {
  background: linear-gradient(135deg, #bf1f2b 0%, #8f121b 100%);
  color: #ffffff;
  border: none;
}
.hdp-sidebar-box.hdp-box-primary h3,
.hdp-sidebar-box.hdp-box-primary p,
.hdp-sidebar-box.hdp-box-primary span {
  color: #ffffff !important;
}
.hdp-sidebar-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--hdp-text-dark);
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--hdp-primary-light);
}
.hdp-sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hdp-sidebar-list li {
  padding: 10px 0;
  border-bottom: 1px dashed #e2e8f0;
}
.hdp-sidebar-list li:last-child {
  border-bottom: none;
}
.hdp-sidebar-list a {
  color: var(--hdp-text-dark);
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  transition: var(--hdp-transition);
}
.hdp-sidebar-list a:hover {
  color: var(--hdp-primary);
  transform: translateX(4px);
}
.hdp-sidebar-list a.active {
  color: var(--hdp-primary);
  font-weight: 700;
}

/* Hotline & CTA Box in Sidebar */
.hdp-contact-cta {
  text-align: center;
  padding: 28px 20px;
}
.hdp-contact-cta .hdp-cta-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.hdp-contact-cta .hdp-cta-icon svg {
  width: 28px;
  height: 28px;
  fill: #ffffff;
}
.hdp-contact-cta .hdp-cta-phone {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  display: block;
  margin: 8px 0 14px;
  text-decoration: none;
  letter-spacing: 0.5px;
}
.hdp-btn-white {
  display: inline-block;
  background: #ffffff;
  color: var(--hdp-primary) !important;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 99px;
  text-decoration: none;
  transition: var(--hdp-transition);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.hdp-btn-white:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.hdp-btn-primary {
  display: inline-block;
  background: var(--hdp-primary);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 26px;
  border-radius: 99px;
  text-decoration: none;
  transition: var(--hdp-transition);
  border: none;
  cursor: pointer;
}
.hdp-btn-primary:hover {
  background: var(--hdp-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(191, 31, 43, 0.3);
}

/* Service Workflow Steps */
.hdp-process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 28px 0 36px;
}
.hdp-step-card {
  background: #ffffff;
  border: 1px solid var(--hdp-border-color);
  border-radius: var(--hdp-radius-md);
  padding: 20px;
  position: relative;
  transition: var(--hdp-transition);
}
.hdp-step-card:hover {
  border-color: var(--hdp-primary-border);
  transform: translateY(-4px);
}
.hdp-step-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--hdp-primary);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 8px;
}
.hdp-step-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--hdp-text-dark);
  margin-bottom: 6px;
}
.hdp-step-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 768px) {
  .hdp-process-steps {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .hdp-process-steps {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Page Template: Tổng quan công ty
   ========================================================================== */
.hdp-overview-section {
  padding: 40px 0 70px;
}

/* 1. Về chúng tôi & Thông tin doanh nghiệp */
.hdp-overview-about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 50px;
}

.hdp-section-subtitle {
  color: var(--hdp-primary);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  display: block;
  margin-bottom: 6px;
}

.hdp-section-heading {
  font-size: 28px;
  font-weight: 800;
  color: #161922;
  margin: 6px 0 18px;
  line-height: 1.35;
}

.hdp-about-content {
  font-size: 15px;
  line-height: 1.8;
  color: #475569;
  text-align: justify;
  text-justify: inter-word;
}

.hdp-about-content p {
  margin-bottom: 14px;
  text-align: justify;
  text-justify: inter-word;
}

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

/* Box Thông Tin Doanh Nghiệp (Ảnh 1) */
.hdp-company-info-card {
  background: #ffffff;
  border: 1px solid var(--hdp-border-color);
  border-radius: var(--hdp-radius-lg);
  padding: 28px 24px;
  box-shadow: var(--hdp-shadow-md);
  transition: var(--hdp-transition);
}

.hdp-company-info-card:hover {
  box-shadow: var(--hdp-shadow-hover);
  border-color: var(--hdp-primary-border);
}

.hdp-info-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--hdp-primary);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--hdp-primary-light);
}

.hdp-info-list {
  list-style-type: disc !important;
  list-style-position: outside !important;
  margin: 0 !important;
  padding-left: 18px !important; /* Lùi lề trái 15-18px để thẳng hàng với tiêu đề */
  font-size: 14px;
  color: #334155;
  line-height: 1.75;
}

.hdp-info-list li {
  margin-bottom: 10px;
  display: list-item !important;
  text-align: justify;
  text-justify: inter-word;
  word-break: break-word;
}

.hdp-info-list li::marker {
  color: var(--hdp-primary);
  font-size: 1.05em;
}

.hdp-info-list li:last-child {
  margin-bottom: 0;
}

.hdp-info-list strong {
  color: #1e293b;
  font-weight: 700;
}

.hdp-highlight-code {
  color: var(--hdp-primary);
  font-weight: 700;
}

.hdp-phone-link {
  color: var(--hdp-primary);
  font-weight: 700;
  text-decoration: none;
  transition: var(--hdp-transition);
}

.hdp-phone-link:hover,
.hdp-email-link:hover,
.hdp-web-link:hover {
  color: var(--hdp-primary-hover);
  text-decoration: underline;
}

.hdp-email-link,
.hdp-web-link {
  color: #334155;
  text-decoration: none;
  word-break: break-all;
}

/* 2. Định hướng chiến lược & Trụ cột giá trị */
.hdp-strategy-section {
  margin: 60px 0;
}

.hdp-section-header-center {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 35px;
}

.hdp-strategy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 30px;
}

.hdp-strategy-card {
  background: #ffffff;
  border: 1px solid var(--hdp-border-color);
  border-radius: 14px;
  padding: 30px;
  box-shadow: var(--hdp-shadow-sm);
  transition: var(--hdp-transition);
}

.hdp-strategy-card:hover {
  border-color: var(--hdp-primary-border);
  box-shadow: var(--hdp-shadow-md);
  transform: translateY(-3px);
}

.hdp-strategy-card-header {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 14px !important;
}

/* Icon Tầm nhìn & Sứ mệnh (Ảnh 2) */
.hdp-strategy-icon {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  max-width: 40px !important;
  background: var(--hdp-primary-light) !important;
  color: var(--hdp-primary) !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.hdp-strategy-icon svg,
.hdp-strategy-icon .hdp-icon,
.hdp-strategy-card svg {
  width: 20px !important;
  height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  fill: currentColor !important;
  display: block !important;
}

.hdp-strategy-title {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--hdp-text-dark) !important;
  margin: 0 !important;
  letter-spacing: 0.5px;
  line-height: 1.2 !important;
}

.hdp-strategy-desc {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.7;
  margin: 0;
  text-align: justify;
  text-justify: inter-word;
}

/* 3 Trụ Cột Giá Trị Cốt Lõi */
.hdp-vision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.hdp-vision-card {
  background: #ffffff;
  border-radius: var(--hdp-radius-md);
  padding: 30px 24px;
  border: 1px solid var(--hdp-border-color);
  box-shadow: var(--hdp-shadow-sm);
  text-align: center;
  transition: var(--hdp-transition);
}

.hdp-vision-card:hover {
  transform: translateY(-6px);
  border-color: var(--hdp-primary-border);
  box-shadow: var(--hdp-shadow-hover);
}

.hdp-vision-icon {
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  max-width: 46px !important;
  background: var(--hdp-primary-light) !important;
  color: var(--hdp-primary) !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 12px !important;
  padding: 0 !important;
}

.hdp-vision-icon svg,
.hdp-vision-icon .hdp-icon {
  width: 20px !important;
  height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  fill: currentColor !important;
  display: block !important;
}

.hdp-vision-title {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--hdp-text-dark);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.hdp-vision-text {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
  text-align: justify;
  text-justify: inter-word;
}

/* 3. Chính Sách Hoạt Động & Văn Hóa Doanh Nghiệp */
.hdp-policy-culture-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 50px;
}

.hdp-policy-card,
.hdp-culture-card {
  background: #ffffff;
  border: 1px solid var(--hdp-border-color);
  border-radius: 14px;
  padding: 30px;
  box-shadow: var(--hdp-shadow-sm);
}

.hdp-card-heading {
  font-size: 20px;
  font-weight: 700;
  color: var(--hdp-primary);
  margin: 0 0 16px;
}

.hdp-card-content {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.75;
}

.hdp-card-content p {
  text-align: justify;
  text-justify: inter-word;
}

.hdp-bullet-list {
  margin: 0;
  padding-left: 20px;
}

.hdp-bullet-list li {
  margin-bottom: 10px;
  text-align: justify;
  text-justify: inter-word;
}

.hdp-bullet-list li:last-child {
  margin-bottom: 0;
}

.hdp-sub-heading {
  margin: 0 0 8px;
  color: #1e293b;
}

.hdp-culture-quote {
  background: var(--hdp-primary-light);
  border-left: 4px solid var(--hdp-primary);
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 18px;
  font-style: italic;
  color: #334155;
  text-align: justify;
  text-justify: inter-word;
}

/* 4. CTA Banner Cuối Trang */
.hdp-overview-cta {
  background: linear-gradient(135deg, #bf1f2b 0%, #7b0d15 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 45px 35px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(191, 31, 43, 0.2);
}

.hdp-cta-title {
  color: #ffffff !important;
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.3;
}

.hdp-cta-desc {
  max-width: 650px;
  margin: 0 auto 24px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.hdp-btn-white {
  display: inline-block;
  background: #ffffff;
  color: var(--hdp-primary) !important;
  font-size: 14.5px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: var(--hdp-transition);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.hdp-btn-white:hover {
  background: #fff5f5;
  color: var(--hdp-primary-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.hdp-btn-primary {
  display: inline-block;
  background: var(--hdp-primary);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 8px;
  text-decoration: none;
  transition: var(--hdp-transition);
  box-shadow: 0 4px 12px rgba(191, 31, 43, 0.25);
}

.hdp-btn-primary:hover {
  background: var(--hdp-primary-hover);
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* ==========================================================================
   Responsive: Mobile & Tablet Optimization cho Tổng Quan Công Ty
   ========================================================================== */
@media (max-width: 992px) {
  .hdp-overview-about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .hdp-overview-section {
    padding: 24px 0 50px;
  }
  .hdp-single-hero {
    padding: 35px 0 30px;
    margin-bottom: 28px;
  }
  .hdp-single-hero h1,
  .hdp-hero-title {
    font-size: 24px !important;
    margin-bottom: 10px;
  }
  .hdp-hero-desc {
    font-size: 13.5px;
    line-height: 1.5;
  }
  .hdp-overview-about-grid {
    gap: 24px;
    margin-bottom: 35px;
  }
  .hdp-section-heading {
    font-size: 22px;
    margin-bottom: 14px;
  }

  /* Ảnh 1: Lùi lề trái 15px cho thẳng hàng, text căn đều */
  .hdp-company-info-card {
    padding: 20px 16px 20px 18px;
    border-radius: 12px;
  }
  .hdp-info-list {
    padding-left: 15px !important;
    font-size: 13.5px;
    line-height: 1.7;
  }
  .hdp-info-list li {
    margin-bottom: 8px;
    text-align: justify !important;
    text-justify: inter-word !important;
  }

  /* Ảnh 2: Icon Tầm nhìn & Sứ mệnh nhỏ gọn vừa mắt, tiêu đề thẳng hàng */
  .hdp-strategy-section {
    margin: 40px 0;
  }
  .hdp-strategy-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 20px;
  }
  .hdp-strategy-card {
    padding: 20px 18px;
  }
  .hdp-strategy-card-header {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 10px !important;
  }
  .hdp-strategy-icon {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    border-radius: 8px !important;
  }
  .hdp-strategy-icon svg,
  .hdp-strategy-card svg {
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
  }
  .hdp-strategy-title {
    font-size: 17px !important;
  }
  .hdp-strategy-desc {
    font-size: 13.5px;
    line-height: 1.65;
    text-align: justify !important;
    text-justify: inter-word !important;
  }

  /* 3 Trụ Cột Giá Trị */
  .hdp-vision-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .hdp-vision-card {
    padding: 20px 16px;
  }
  .hdp-vision-icon {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    margin-bottom: 10px !important;
  }
  .hdp-vision-icon svg {
    width: 18px !important;
    height: 18px !important;
  }
  .hdp-vision-title {
    font-size: 16px;
    margin-bottom: 6px;
  }
  .hdp-vision-text {
    font-size: 13.5px;
    text-align: justify !important;
    text-justify: inter-word !important;
  }

  /* Chính sách & Văn hóa */
  .hdp-policy-culture-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 35px;
  }
  .hdp-policy-card,
  .hdp-culture-card {
    padding: 20px 16px;
    border-radius: 12px;
  }
  .hdp-card-heading {
    font-size: 18px;
    margin-bottom: 12px;
  }
  .hdp-card-content,
  .hdp-card-content p,
  .hdp-bullet-list li,
  .hdp-culture-quote {
    text-align: justify !important;
    text-justify: inter-word !important;
    font-size: 13.5px;
    line-height: 1.65;
  }

  /* CTA Banner */
  .hdp-overview-cta {
    padding: 30px 18px;
    border-radius: 12px;
  }
  .hdp-cta-title {
    font-size: 20px;
  }
  .hdp-cta-desc {
    font-size: 13px;
    margin-bottom: 18px;
    text-align: center;
  }
  .hdp-btn-white {
    width: 100%;
    max-width: 280px;
    padding: 12px 18px;
  }
}

@media (max-width: 480px) {
  .hdp-single-hero h1,
  .hdp-hero-title {
    font-size: 21px !important;
  }
  .hdp-section-heading {
    font-size: 19px;
  }
  .hdp-info-list {
    padding-left: 14px !important;
  }
}

/* ==========================================================================
   Page Template: Bộ máy nhân sự & Sơ đồ tổ chức
   ========================================================================== */
.hdp-personnel-section {
  padding: 20px 0 70px;
}

.hdp-org-desc {
  font-size: 15px;
  color: #475569;
  line-height: 1.75;
  margin-top: 10px;
  text-align: justify;
  text-justify: inter-word;
}

.hdp-org-desc p {
  text-align: justify;
  text-justify: inter-word;
  margin-bottom: 10px;
}

.hdp-org-chart-wrap {
  background: #ffffff;
  border: 1px solid var(--hdp-border-color);
  border-radius: var(--hdp-radius-lg);
  padding: 36px 20px;
  text-align: center;
  margin: 30px 0 45px;
  box-shadow: var(--hdp-shadow-sm);
  overflow-x: auto;
}

.hdp-org-tree {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hdp-org-level {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 20px;
  position: relative;
}

.hdp-org-node {
  display: inline-block;
  background: #ffffff;
  border: 2px solid var(--hdp-primary);
  color: var(--hdp-text-dark);
  border-radius: 8px;
  padding: 12px 24px;
  font-weight: 700;
  font-size: 14.5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  position: relative;
  min-width: 160px;
}

.hdp-org-node.top-leader {
  background: var(--hdp-primary);
  color: #ffffff;
  font-size: 16px;
  padding: 14px 30px;
}

.hdp-org-node.deputy-leader {
  background: #fff5f5;
  border-color: var(--hdp-primary);
  color: var(--hdp-primary);
}

.hdp-org-node.direct-pmo {
  background: #f8fafc;
  border-color: #cbd5e1;
  min-width: 320px;
  font-weight: 600;
}

/* 2. Năng lực kỹ thuật & Lực lượng bảo vệ */
.hdp-qual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 28px 0;
}

.hdp-qual-card {
  background: #ffffff;
  border: 1px solid var(--hdp-border-color);
  border-radius: var(--hdp-radius-md);
  padding: 28px 24px;
  box-shadow: var(--hdp-shadow-sm);
  transition: var(--hdp-transition);
}

.hdp-qual-card:hover {
  border-color: var(--hdp-primary-border);
  box-shadow: var(--hdp-shadow-md);
}

/* Ảnh 2: Tiêu đề & Icon to lên, chữ ở ngay bên cạnh icon */
.hdp-qual-card h3,
.hdp-qual-card .hdp-qual-title {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 14px !important;
  font-size: 19px !important;
  font-weight: 700 !important;
  color: var(--hdp-primary) !important;
  margin: 0 0 16px !important;
  line-height: 1.35 !important;
  text-align: left !important;
}

.hdp-qual-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  background: var(--hdp-primary-light) !important;
  color: var(--hdp-primary) !important;
  border-radius: 10px !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
}

.hdp-qual-icon svg,
.hdp-qual-card h3 svg,
.hdp-qual-icon .hdp-icon {
  width: 24px !important;
  height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  fill: currentColor !important;
  display: block !important;
}

.hdp-qual-desc {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 14px;
  text-align: justify !important;
  text-justify: inter-word !important;
}

.hdp-qual-content {
  font-size: 14.5px;
  color: #334155;
  line-height: 1.7;
  text-align: justify !important;
  text-justify: inter-word !important;
}

/* Ảnh 1: Lùi vào 10px, text căn đều 2 bên */
.hdp-qual-list,
.hdp-qual-card ul {
  list-style-type: disc !important;
  list-style-position: outside !important;
  margin: 0 0 0 10px !important; /* Lùi vào 10px */
  padding-left: 20px !important;
}

.hdp-qual-list li,
.hdp-qual-card li {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.75;
  margin-bottom: 10px;
  display: list-item !important;
  text-align: justify !important;
  text-justify: inter-word !important;
  word-break: break-word;
}

.hdp-qual-list li::marker,
.hdp-qual-card li::marker {
  color: var(--hdp-primary);
  font-size: 1.05em;
}

.hdp-qual-list li:last-child,
.hdp-qual-card li:last-child {
  margin-bottom: 0;
}

/* 3. Công Tác Tuyển Dụng & Đào Tạo Định Kỳ */
.hdp-training-box {
  background: #ffffff;
  border: 1px solid var(--hdp-border-color);
  border-radius: 14px;
  padding: 35px 30px;
  margin: 40px 0;
  box-shadow: var(--hdp-shadow-sm);
}

.hdp-training-header {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 18px !important;
}

.hdp-training-icon {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  background: var(--hdp-primary-light);
  color: var(--hdp-primary);
  border-radius: 10px;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.hdp-training-icon svg {
  width: 22px !important;
  height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  fill: currentColor;
  display: block;
}

.hdp-training-title {
  font-size: 22px;
  font-weight: 700;
  color: #161922;
  margin: 0;
}

.hdp-training-content {
  font-size: 15px;
  color: #475569;
  line-height: 1.8;
}

.hdp-training-content p {
  text-align: justify !important;
  text-justify: inter-word !important;
  margin-bottom: 14px;
}

.hdp-training-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.hdp-training-item {
  background: var(--hdp-bg-light);
  border-radius: 10px;
  padding: 20px;
  border-left: 3px solid var(--hdp-primary);
}

.hdp-training-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: #161922;
  margin: 0 0 8px;
}

.hdp-training-item p {
  font-size: 13.5px;
  color: #64748b;
  margin: 0;
  line-height: 1.6;
  text-align: justify !important;
  text-justify: inter-word !important;
}

/* 4. Thư Viện Hình Ảnh Hoạt Động */
.hdp-gallery-section {
  margin-top: 45px;
}

.hdp-gallery-heading {
  font-size: 22px;
  font-weight: 700;
  color: #161922;
  margin-bottom: 20px;
  text-align: center;
}

.hdp-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.hdp-gallery-item {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--hdp-shadow-sm);
  aspect-ratio: 4 / 3;
}

.hdp-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.hdp-gallery-item:hover img {
  transform: scale(1.05);
}

/* Responsive: Bộ Máy Nhân Sự */
@media (max-width: 768px) {
  .hdp-personnel-section {
    padding: 15px 0 45px;
  }
  .hdp-org-desc {
    font-size: 13.5px;
    line-height: 1.65;
    text-align: justify !important;
    text-justify: inter-word !important;
  }
  .hdp-org-chart-wrap {
    padding: 24px 12px;
    border-radius: 12px;
    margin: 20px 0 35px;
  }
  .hdp-org-node {
    padding: 10px 16px;
    font-size: 13px;
    min-width: 130px;
  }
  .hdp-org-node.top-leader {
    font-size: 14.5px;
    padding: 12px 20px;
  }
  .hdp-org-node.direct-pmo {
    min-width: unset;
    width: 100%;
    font-size: 12.5px;
  }
  .hdp-qual-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 20px 0;
  }
  .hdp-qual-card {
    padding: 22px 18px;
    border-radius: 12px;
  }

  /* Ảnh 2 trên Mobile: Tiêu đề & Icon to lên, chữ ở ngay bên cạnh icon */
  .hdp-qual-card h3,
  .hdp-qual-card .hdp-qual-title {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    font-size: 17px !important;
    margin-bottom: 14px !important;
  }
  .hdp-qual-icon {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    border-radius: 8px !important;
  }
  .hdp-qual-icon svg,
  .hdp-qual-card h3 svg {
    width: 22px !important;
    height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
  }

  .hdp-qual-desc,
  .hdp-qual-content {
    font-size: 13.5px;
    line-height: 1.65;
    text-align: justify !important;
    text-justify: inter-word !important;
  }

  /* Ảnh 1 trên Mobile: Lùi vào 10px, text căn đều */
  .hdp-qual-list,
  .hdp-qual-card ul {
    margin: 0 0 0 10px !important; /* Lùi vào 10px */
    padding-left: 18px !important;
  }
  .hdp-qual-list li,
  .hdp-qual-card li {
    font-size: 13.5px !important;
    line-height: 1.65 !important;
    margin-bottom: 8px !important;
    text-align: justify !important;
    text-justify: inter-word !important;
  }

  .hdp-training-box {
    padding: 22px 16px;
    border-radius: 12px;
    margin: 28px 0;
  }
  .hdp-training-title {
    font-size: 19px;
  }
  .hdp-training-content {
    font-size: 13.5px;
    line-height: 1.65;
  }
  .hdp-training-content p {
    text-align: justify !important;
    text-justify: inter-word !important;
  }
  .hdp-training-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 16px;
  }
  .hdp-training-item {
    padding: 16px 14px;
  }
  .hdp-training-item p {
    text-align: justify !important;
    text-justify: inter-word !important;
  }
  .hdp-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .hdp-gallery-heading {
    font-size: 19px;
  }
}

@media (max-width: 480px) {
  .hdp-gallery-grid {
    grid-template-columns: 1fr;
  }
  .hdp-qual-list,
  .hdp-qual-card ul {
    margin: 0 0 0 8px !important;
    padding-left: 16px !important;
  }
}

/* ==========================================================================
   Page Template: Hồ sơ pháp lý & Giấy chứng nhận
   ========================================================================== */
.hdp-certs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 30px 0;
}
.hdp-cert-card {
  background: #ffffff;
  border: 1px solid var(--hdp-border-color);
  border-radius: var(--hdp-radius-md);
  overflow: hidden;
  box-shadow: var(--hdp-shadow-sm);
  transition: var(--hdp-transition);
  display: flex;
  flex-direction: column;
}
.hdp-cert-card:hover {
  transform: translateY(-5px);
  border-color: var(--hdp-primary-border);
  box-shadow: var(--hdp-shadow-hover);
}
.hdp-cert-thumb {
  width: 100%;
  overflow: hidden;
  background: #f8fafc;
  cursor: pointer;
  position: relative;
}
button.hdp-modal-close {
    margin: 0;
}
.hdp-cert-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.hdp-cert-card:hover .hdp-cert-thumb img {
  transform: scale(1.05);
}
.hdp-cert-body {
  padding: 18px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.hdp-cert-title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--hdp-text-dark);
  margin: 0 0 8px;
  line-height: 1.4;
}
.hdp-cert-org {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 14px;
}
.hdp-cert-action {
  margin-top: auto;
  display: flex;
  gap: 10px;
}
.hdp-btn-cert {
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--hdp-transition);
}
.hdp-btn-cert.view {
  background: var(--hdp-primary-light);
  color: var(--hdp-primary);
  margin: 0;
}
.hdp-btn-cert.view:hover {
  background: var(--hdp-primary);
  color: #ffffff;
}
.hdp-qual-card svg {
  width: 25px;
}
ul.hdp-sidebar-list svg {
  width: 20px;
}
.hdp-main-column svg {
  width: 36px;
}
.hdp-btn-cert.download {
  background: #f1f5f9;
  color: #334155;
}
.hdp-btn-cert.download:hover {
  background: #334155;
  color: #ffffff;
}

@media (max-width: 992px) {
  .hdp-certs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .hdp-certs-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Filter Tabs (Trang Danh Mục Dự Án / Dịch Vụ)
   ========================================================================== */
.hdp-filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 35px;
}
.hdp-filter-btn {
  background: #ffffff;
  border: 1px solid var(--hdp-border-color);
  color: var(--hdp-text-dark);
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 99px;
  text-decoration: none;
  transition: var(--hdp-transition);
}
.hdp-filter-btn:hover,
.hdp-filter-btn.active {
  background: var(--hdp-primary);
  border-color: var(--hdp-primary);
  color: #ffffff;
}

/* Pagination */
.hdp-pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.hdp-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--hdp-border-color);
  background: #ffffff;
  color: var(--hdp-text-dark);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: var(--hdp-transition);
}
.hdp-pagination .page-numbers:hover,
.hdp-pagination .page-numbers.current {
  background: var(--hdp-primary);
  border-color: var(--hdp-primary);
  color: #ffffff;
}
