/* ===== PAGE HERO ===== */
.page-hero {
  background: var(--secondary-color);
  padding: 60px 0 52px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-color) 50%,
    transparent
  );
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
  border-radius: 2px;
}

.hero-deco {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(
    circle,
    rgba(0, 200, 154, 0.07) 0%,
    transparent 70%
  );
}

.hero-deco.d1 {
  width: 480px;
  height: 480px;
  top: -200px;
  right: -80px;
}

.hero-deco.d2 {
  width: 280px;
  height: 280px;
  bottom: -120px;
  left: -50px;
}

/* Hero label — matches home page .news-subtitle */
.page-hero-label {
  font-family: var(--body-font);
  font-size: var(--text-sm);
  /* 13px */
  font-weight: 600;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 16px;
}

.page-hero-label::before,
.page-hero-label::after {
  content: "";
  width: 40px;
  height: 2px;
  background: var(--primary-color);
}

/* Hero h1 — matches home page .news-main-heading / .blog-latest-header h2 */
.page-hero h1 {
  font-family: var(--title-font);
  /* ClashDisplay */
  font-size: var(--heading-xl);
  /* 42px — matches home heading-xl */
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 14px;
}

.page-hero-desc {
  font-family: var(--body-font);
  font-size: var(--text-lg);
  /* 16px — matches home .news-description-text */
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  margin: 0 auto 26px;
  line-height: 1.8;
}

.page-hero-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

/* Hero badge — matches home .banner-meta-item */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--body-font);
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.hero-badge i {
  color: var(--primary-color);
  font-size: 13px;
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  justify-content: center;
  font-family: var(--body-font);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.4);
}

.page-breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s;
}

.page-breadcrumb a:hover {
  color: var(--primary-color);
}

.page-breadcrumb i {
  font-size: 9px;
  color: var(--primary-color);
}

.page-breadcrumb span {
  color: var(--primary-color);
  font-weight: 500;
}

/* ===== LAYOUT ===== */
.privacy-wrapper {
  padding: 60px 0;
}

/* ===== SIDEBAR — styled like home page .blog-sidebar-box ===== */
.sidebar-sticky {
  position: sticky;
  top: 24px;
}

/* TOC card — matches .blog-sidebar-box */
.toc-card {
  background: var(--white);
  border-radius: 12px;
  padding: var(--gap-20);
  margin-bottom: var(--gap-20);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid transparent;
  transition: box-shadow 0.3s ease;
}

.toc-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* TOC heading — matches .blog-sidebar-heading */
.toc-card-heading {
  font-family: var(--title-font);
  /* ClashDisplay */
  font-size: var(--text-lg);
  /* 16px */
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--gap-20);
  padding-bottom: 15px;
  border-bottom: 3px solid #e5e7eb;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc-card-heading i {
  color: var(--primary-color);
}

/* Gradient underline accent — matches .blog-sidebar-heading::after */
.toc-card-heading::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100px;
  height: 3px;
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
}

/* TOC list items — styled like .blog-category-items rows */
.toc-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.toc-list li a {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--body-font);
  font-size: var(--text-sm);
  /* 13px */
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.3s ease;
  background: var(--primary-light);
}

.toc-list li a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-light);
  flex-shrink: 0;
  transition: background 0.2s;
}

.toc-list li a:hover,
.toc-list li a.active {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

.toc-list li a:hover::before,
.toc-list li a.active::before {
  background: var(--white);
}

.toc-list li a.active {
  font-weight: 600;
}

/* Question / Contact card — matches .blog-sidebar-box dark variant */
.question-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  border-radius: 12px;
  padding: var(--gap-20);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}

.question-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.question-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(0, 200, 154, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.question-card-icon i {
  color: var(--primary-color);
  font-size: 17px;
}

/* Card heading — matches .blog-sidebar-heading inside dark card */
.question-card h4 {
  font-family: var(--title-font);
  /* ClashDisplay */
  font-size: var(--text-lg);
  /* 16px */
  font-weight: 700;
  color: var(--white);
  margin-bottom: 7px;
  padding-bottom: 15px;
  border-bottom: 3px solid rgba(255, 255, 255, 0.12);
  position: relative;
}

.question-card h4::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(
    to right,
    var(--secondary-color),
    var(--primary-color)
  );
  border-radius: 2px;
}

.question-card p {
  font-family: var(--body-font);
  font-size: var(--text-sm);
  /* 13px */
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.7;
  margin-bottom: 16px;
  margin-top: 12px;
}

/* Email button — matches .blog-ad-btn / .blog-loadmore-btn */
.question-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--body-font);
  font-size: var(--text-sm);
  /* 13px */
  font-weight: 600;
  color: var(--white);
  background: var(--primary-color);
  padding: 10px 24px;
  border-radius: 50px;
  border: 2px solid var(--primary-color);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 200, 154, 0.3);
  white-space: nowrap;
}

.question-card-link:hover {
  background: transparent;
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 200, 154, 0.4);
}

.question-card-link i {
  font-size: 11px;
}

/* ===== MAIN POLICY CARD ===== */
.policy-content-card {
  background: var(--white);
  border-radius: 20px;
  padding: 48px 52px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border);
}

.policy-section {
  margin-bottom: 44px;
  scroll-margin-top: 24px;
}

.policy-section:last-child {
  margin-bottom: 0;
}

.section-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--primary-light);
  margin-bottom: 11px;
}

.section-icon-badge i {
  color: var(--primary-color);
  font-size: 14px;
}

/* Section h2 — matches home page .blog-latest-header heading style */
.policy-section h2 {
  font-family: var(--title-font);
  /* ClashDisplay */
  font-size: var(--heading-md);
  /* 26px — matches .blog-latest-header .blog-latest-heading */
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 14px;
  padding-bottom: 18px;
  border-bottom: 3px solid #e5e7eb;
  position: relative;
  letter-spacing: -0.5px;
  /* matches home headings */
}

/* Gradient underline — matches .blog-latest-header::after */
.policy-section h2::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100px;
  height: 3px;
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
}

/* Sub-heading h3 — matches home .blog-sidebar-heading style */
.policy-section h3 {
  font-family: var(--title-font);
  /* ClashDisplay */
  font-size: 15px;
  /* matches home sidebar heading size */
  font-weight: 600;
  color: var(--secondary-color);
  margin: 20px 0 9px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.policy-section h3::before {
  content: "";
  width: 4px;
  height: 16px;
  border-radius: 2px;
  background: var(--primary-color);
  flex-shrink: 0;
}

/* Body text — matches home .news-content-excerpt / .news-description-text */
.policy-section p {
  font-family: var(--body-font);
  font-size: var(--text-md);
  /* 15px */
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 13px;
}

.policy-section p:last-child {
  margin-bottom: 0;
}

.policy-section a {
  color: var(--primary-color);
  font-weight: 500;
  border-bottom: 1px solid rgba(0, 200, 154, 0.3);
  transition: border-color 0.3s;
}

.policy-section a:hover {
  border-color: var(--primary-color);
}

/* Definition cards */
.definition-grid {
  display: grid;
  gap: 11px;
  margin: 16px 0;
}

.definition-item {
  background: var(--smoke);
  border-radius: 11px;
  padding: 14px 17px;
  border-left: 4px solid var(--primary-color);
  transition: box-shadow 0.3s;
}

.definition-item:hover {
  box-shadow: 0 4px 16px rgba(0, 200, 154, 0.1);
}

.definition-term {
  font-family: var(--title-font);
  /* ClashDisplay */
  font-size: var(--text-sm);
  /* 13px */
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.definition-term i {
  color: var(--primary-color);
  font-size: 11px;
}

.definition-desc {
  font-family: var(--body-font);
  font-size: var(--text-sm);
  /* 13px */
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

/* Bullet list — matches home .blog-post-info / body text lists */
.policy-list {
  list-style: none;
  padding: 0;
  margin: 13px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.policy-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-family: var(--body-font);
  font-size: var(--text-md);
  /* 15px */
  color: var(--text-secondary);
  line-height: 1.7;
}

.policy-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary-color);
  flex-shrink: 0;
  margin-top: 8px;
}

/* Cookie grid */
.cookie-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
  margin: 14px 0;
}

.cookie-item {
  background: var(--smoke);
  border-radius: 11px;
  padding: 14px 15px;
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.cookie-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 4px 14px rgba(0, 200, 154, 0.1);
}

.cookie-item-name {
  font-family: var(--title-font);
  /* ClashDisplay */
  font-size: var(--text-sm);
  /* 13px */
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.cookie-item-name i {
  color: var(--primary-color);
  font-size: 11px;
}

.cookie-item-desc {
  font-family: var(--body-font);
  font-size: 12.5px;
  color: var(--text-light);
  line-height: 1.6;
}

/* Rights grid */
.rights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
  margin: 16px 0;
}

.right-item {
  background: var(--smoke);
  border-radius: 12px;
  padding: 17px;
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.right-item:hover {
  border-color: var(--primary-color);
  background: var(--primary-light);
  transform: translateY(-2px);
}

.right-item-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 9px;
}

.right-item-icon i {
  color: var(--primary-color);
  font-size: 13px;
}

.right-item-title {
  font-family: var(--title-font);
  /* ClashDisplay */
  font-size: var(--text-sm);
  /* 13px */
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 4px;
}

.right-item-desc {
  font-family: var(--body-font);
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.6;
}

/* Contact info box */
.contact-info-box {
  background: var(--smoke);
  border-radius: 14px;
  padding: 26px 28px;
  border: 1px solid var(--border);
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon i {
  color: var(--primary-color);
  font-size: 20px;
}

.contact-info-text p {
  font-family: var(--body-font);
  font-size: var(--text-sm);
  color: var(--text-light);
  margin-bottom: 4px;
}

.contact-info-text a {
  font-family: var(--title-font);
  /* ClashDisplay */
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-color);
  border-bottom: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s;
}

.contact-info-text a:hover {
  gap: 12px;
}

/* Divider */
.policy-divider {
  height: 1px;
  background: var(--secondary-extra-light);
  margin: 38px 0;
}

/* Intro text — same font/size as body */
.policy-section#intro p {
  font-family: var(--body-font);
  font-size: var(--text-md);
  color: var(--text-secondary);
  line-height: 1.85;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .cookie-grid,
  .rights-grid {
    grid-template-columns: 1fr;
  }

  .policy-content-card {
    padding: 34px 28px;
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 48px 0 38px;
  }

  .page-hero h1 {
    font-size: var(--heading-lg);
  }

  /* 32px */
  .policy-content-card {
    padding: 24px 16px;
  }

  .privacy-wrapper {
    padding: 60px 0px;
  }

  .policy-section h2 {
    font-size: var(--heading-sm);
  }

  /* 22px */
}

@media (max-width: 576px) {
  .page-hero h1 {
    font-size: var(--heading-md);
  }

  /* 26px */
  .page-hero-label {
    font-size: 11px;
    letter-spacing: 2px;
    gap: 12px;
  }

  .page-hero-label::before,
  .page-hero-label::after {
    width: 15px;
  }
}
