/* ===== 768px breakpoint checklist covered ===== */
.page-privacy-policy {
  color: #F3F8FF;
  background-color: #08162B;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
}

/* ===== Hero Section: Image on top (normal flow), then Text ===== */
.page-privacy-policy__hero-section {
  padding-top: 10px;
  padding-bottom: 0;
  background: linear-gradient(155deg, #08162B 0%, #10233F 50%, #08162B 100%);
}

.page-privacy-policy__hero-image {  
  width: 100%; 
  justify-content: center;
  display: flex;
  margin-bottom: 0;
}

.page-privacy-policy__hero-image img {
  display: block;
  width: 100%;
  max-width: 1200px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
}

.page-privacy-policy__hero-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  padding: 16px 16px 28px;
  background: transparent;
  z-index: 1; /* No overlapping the image, just in normal flow */
  display: block; 
  position: relative; 
}

.page-privacy-policy__hero-title {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.5px;
  color: #F3F8FF;
  max-width: 700px;
  margin: 16px auto 8px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.page-privacy-policy__hero-description {
  color: #AFC4E8;
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto 20px;
  line-height: 1.7;
}

/* ===== Buttons ===== */
.page-privacy-policy__btn-register {
  display: inline-block;
  padding: 14px 36px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50px;
  text-decoration: none;
  border: 2px solid #f2c14e;
  box-shadow: 0 0 12px rgba(47, 128, 237, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin: 8px 6px;
  text-align: center;
  box-sizing: border-box;
}

.page-privacy-policy__btn-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(79, 168, 255, 0.4);
}

.page-privacy-policy__btn-ghost {
  display: inline-block;
  padding: 14px 28px;
  background: transparent;
  color: #F3F8FF;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  border: 2px solid #4FA8FF;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  margin: 8px 6px;
  box-sizing: border-box;
}

.page-privacy-policy__btn-ghost:hover {
  background-color: rgba(79, 168, 255, 0.2);
  color: #ffffff;
}

/* ===== Main Content Container ===== */
.page-privacy-policy__content-section {
  background-color: #08162B;
  padding: 20px 0 36px;
  border-top: 1px solid #1B3357;
}

.page-privacy-policy__container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-privacy-policy__lead-text {
  font-size: 1.1rem;
  color: #AFC4E8;
  border-left: 4px solid #F2C14E;
  padding-left: 18px;
  margin-bottom: 32px;
  background-color: rgba(79, 168, 255, 0.05);
  border-radius: 0 8px 8px 0;
  padding: 18px;
}

/* ===== Feature Card (2 columns) ===== */
.page-privacy-policy__feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.page-privacy-policy__feature-card {
  background-color: #10233F;
  border: 1px solid #244D84;
  border-radius: 14px;
  padding: 22px 20px;
  transition: transform 0.2s ease-in-out;
}

.page-privacy-policy__feature-card:hover {
  transform: translateY(-4px);
}

.page-privacy-policy__feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-privacy-policy__feature-description {
  color: #AFC4E8;
  font-size: 0.95rem;
}

/* ===== Detail Blocks ===== */
.page-privacy-policy__detail-blocks {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.page-privacy-policy__info-block {
  background-color: #10233F;
  border: 1px solid #244D84;
  border-radius: 14px;
  padding: 24px 22px;
}

.page-privacy-policy__heading-secondary {
  font-size: 1.35rem;
  color: #F3F8FF;
  font-weight: 700;
  margin-bottom: 12px;
}

.page-privacy-policy__paragraph {
  color: #AFC4E8;
  line-height: 1.8;
}

.page-privacy-policy__list {
  margin-left: 20px;
  margin-bottom: 10px;
  list-style-type: disc;
}

.page-privacy-policy__list-item {
  color: #AFC4E8;
  line-height: 1.7;
  margin-bottom: 4px;
}

/* ===== Guide / FAQ ===== */
.page-privacy-policy__guide-section {
  background-color: #08162B;
  padding: 30px 0 50px;
  border-top: 1px solid #1B3357;
}

.page-privacy-policy__guide-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 16px 16px 48px;
}

.page-privacy-policy__guide-title {
  text-align: center;
  color: #F2C14E;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
}

.page-privacy-policy__guide-subtitle {
  text-align: center;
  color: #AFC4E8;
  font-size: 1rem;
  margin-bottom: 32px;
}

.page-privacy-policy__guide-block {
  margin: 0;
  display: flex;
  justify-content: center;
}

.page-privacy-policy__guide-image {
  width: 100%;
  max-width: 800px;
  aspect-ratio: 2/1;
  object-fit: cover;
  border-radius: 12px;
}

.page-privacy-policy__faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.page-privacy-policy__faq-item {
  background-color: #10233F;
  border: 1px solid #244D84;
  border-radius: 12px;
  padding: 2px 12px;
  transition: border-color 0.2s ease;
  max-width: 100%;
  box-sizing: border-box;
}

.page-privacy-policy__faq-item[open] {
  border-color: #4FA8FF;
}

.page-privacy-policy__faq-question {
  cursor: pointer;
  font-weight: 700;
  color: #F3F8FF;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  padding: 15px 0;
  gap: 10px;
}

.page-privacy-policy__faq-question::-webkit-details-marker {
  display: none;
}

.page-privacy-policy__faq-answer {
  color: #AFC4E8;
  padding-bottom: 16px;
  line-height: 1.8;
}

/* ===== CTA Section ===== */
.page-privacy-policy__cta-section {
  padding: 0;
}

.page-privacy-policy__cta-inner {
  background: linear-gradient(180deg, #10233F, #08162B);
  border-top: 1px solid #244D84;
  border-bottom: 1px solid #244D84;
  padding: 32px 20px;
  text-align: center;
}

.page-privacy-policy__cta-title {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  color: #F3F8FF;
  font-weight: 800;
  margin-bottom: 10px;
}

.page-privacy-policy__cta-text {
  color: #AFC4E8;
  font-size: 1rem;
  max-width: 700px;
  margin: 0 auto 15px;
}

.page-privacy-policy__cta-text a {
  color: #F2C14E;
  font-weight: 700;
  text-decoration: underline;
}

.page-privacy-policy__cta-btn-group {
  margin-top: 14px;
}

/* ===== Remove margins from direct p tags inside link block ===== */
.page-privacy-policy__cta-text p {
  margin: 0;
}

/* ===== Links ===== */
.page-privacy-policy a {
  color: #4FA8FF;
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-privacy-policy a:hover {
  color: #7abaff;
}

/* ===== Ensure text inside links is visible (high contrast) ===== */
.page-privacy-policy__container a,
.page-privacy-policy__guide-inner a {
  color: #4FA8FF;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ===== Responsive Styles (Desktop First) ===== */
@media (max-width: 1024px) {
  .page-privacy-policy__feature-grid {
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy__hero-image {
    width: 100%;
    padding: 0 8px;
    justify-content: center;
  }

  .page-privacy-policy__hero-image img {
    max-width: 100%;
    height: auto;
    aspect-ratio: 21/9;
    object-fit: cover;
    border-radius: 12px;
  }

  .page-privacy-policy__feature-grid {
    grid-template-columns: 1fr;
  }

  /* Ensure generic content images never exceed viewport */
  .page-privacy-policy img,
  .page-privacy-policy__guide-image,
  .page-privacy-policy__hero-image img {
    max-width: 100% !important;
    height: auto !important;
  }

  .page-privacy-policy__btn-register,
  .page-privacy-policy__btn-ghost {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    width: auto;
    margin: 8px auto;
    padding: 12px 20px;
  }

  .page-privacy-policy__cta-btn-group {
    display: block;
  }
}

.page-privacy-policy .page-privacy-policy__faq-grid a {
  color: #F3F8FF;
  text-decoration: underline;
}

/* Removed any descendant selectors that do not follow BEM */