/* ==========================================================================
   Havendaxa - Privacy Policy Page Styles
   Clean, Normal Text Reading Layout (No images, no icons, no PDF styling)
   Full-Width Responsive & Ultra-Wide Safe (360px - 2560px+)
   ========================================================================== */

/* Wrapper covering full viewport */
.privacy-page-wrapper {
  background-color: var(--bg-page, #F6FAE3);
  width: 100%;
  min-height: calc(100vh - 120px);
  padding: clamp(36px, 4vw, 64px) 0 clamp(72px, 7vw, 120px);
  box-sizing: border-box;
}

/* Centered reading container with optimal line measure */
.privacy-container {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 clamp(20px, 3.5vw, 44px);
  box-sizing: border-box;
}

/* Document Header */
.privacy-header {
  margin-bottom: clamp(28px, 3.5vw, 44px);
  padding-bottom: clamp(16px, 2vw, 24px);
  border-bottom: 1.5px solid rgba(25, 66, 80, 0.15);
}

.privacy-main-title {
  font-family: var(--font-serif, 'Playfair Display', Georgia, serif);
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 700;
  color: var(--color-primary, #194250);
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.01em;
}

/* Document Body & Typography */
.privacy-body {
  width: 100%;
  box-sizing: border-box;
}

/* Paragraphs with Justified Text Alignment */
.privacy-body p {
  font-family: var(--font-sans, 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif);
  font-size: clamp(15px, 1.02vw, 16.5px);
  line-height: 1.85;
  color: #263831;
  margin: 0 0 clamp(16px, 1.8vw, 22px) 0;
  letter-spacing: 0.005em;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  word-break: break-word;
}

/* Major Section Headings */
.privacy-body h2 {
  font-family: var(--font-sans, 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif);
  font-size: clamp(17px, 1.25vw, 21px);
  font-weight: 700;
  color: var(--color-primary, #194250);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-top: clamp(32px, 3.2vw, 48px);
  margin-bottom: clamp(12px, 1.2vw, 16px);
  line-height: 1.35;
}

/* Subsection Headings */
.privacy-body h3 {
  font-family: var(--font-sans, 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif);
  font-size: clamp(15.5px, 1.1vw, 18px);
  font-weight: 600;
  color: #204C5A;
  margin-top: clamp(20px, 2vw, 28px);
  margin-bottom: clamp(8px, 1vw, 12px);
  line-height: 1.4;
}

/* Unordered Lists */
.privacy-body ul {
  margin: 0 0 clamp(18px, 2vw, 26px) 0;
  padding-left: clamp(22px, 2.5vw, 32px);
  list-style-type: disc;
}

.privacy-body li {
  font-family: var(--font-sans, 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif);
  font-size: clamp(14.5px, 0.98vw, 16px);
  line-height: 1.8;
  color: #263831;
  margin-bottom: clamp(6px, 0.7vw, 10px);
  text-align: justify;
  text-justify: inter-word;
}

.privacy-body li::marker {
  color: var(--color-primary, #194250);
}

/* Hyperlinks */
.privacy-body a {
  color: var(--color-primary, #194250);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.privacy-body a:hover {
  color: #7A8450;
}

/* ==========================================================================
   Bottom Tagline & Decorative Divider (Matching About Us page)
   ========================================================================== */
.privacy-slogan-wrap {
  width: 100%;
  max-width: 1280px;
  margin: clamp(48px, 5vw, 76px) auto 0;
  padding: 0 clamp(20px, 3.5vw, 44px);
  box-sizing: border-box;
  text-align: center;
}

.comm-divider-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0;
  margin-bottom: clamp(16px, 2vw, 24px);
  width: 100%;
}

.comm-divider {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: min(100%, 280px);
  color: #1A1A1A;
}

.comm-divider__dotl,
.comm-divider__dotr {
  width: 3.5px;
  height: 3.5px;
  background-color: #1A1A1A;
  border-radius: 50%;
  flex-shrink: 0;
}

.comm-divider__line {
  flex: 1;
  height: 1px;
  background-color: #1A1A1A;
  margin: 0 6px 0 0;
}

.comm-divider__line:last-of-type {
  margin: 0 0 0 6px;
}

.comm-divider__sqr {
  width: 4px;
  height: 4px;
  background-color: #1A1A1A;
  transform: rotate(45deg);
  flex-shrink: 0;
  margin: 0 4px;
}

.comm-divider__diamond {
  font-size: 13px;
  line-height: 1;
  color: #1A1A1A;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0 1px;
}

.privacy-page-wrapper .comm-slogan,
.privacy-container .comm-slogan,
.privacy-slogan-wrap .comm-slogan,
h3.comm-slogan {
  font-family: "Rosarivo", Georgia, serif !important;
  font-style: italic !important;
  font-weight: 600 !important;
  font-size: clamp(22px, 2.6vw, 32px) !important;
  color: #000000 !important;
  line-height: 1.25 !important;
  text-align: center !important;
  margin-top: 20px !important;
  margin-bottom: 0 !important;
  letter-spacing: 0.01em !important;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .privacy-page-wrapper {
    padding: 28px 0 60px;
  }

  .privacy-container {
    padding: 0 18px;
  }

  .privacy-header {
    margin-bottom: 24px;
    padding-bottom: 14px;
  }

  .privacy-main-title {
    font-size: 28px;
  }

  .privacy-body p {
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 16px;
    /* Maintain clean justification with hyphenation on mobile */
    text-align: justify;
    text-justify: inter-word;
  }

  .privacy-body h2 {
    font-size: 17px;
    margin-top: 28px;
    margin-bottom: 12px;
  }

  .privacy-body h3 {
    font-size: 15.5px;
    margin-top: 20px;
    margin-bottom: 8px;
  }

  .privacy-body ul {
    padding-left: 20px;
    margin-bottom: 18px;
  }

  .privacy-body li {
    font-size: 14.5px;
    margin-bottom: 6px;
  }
}

/* Extra small mobile (max-width: 420px) */
@media (max-width: 420px) {
  .privacy-container {
    padding: 0 15px;
  }

  .privacy-main-title {
    font-size: 26px;
  }
}

/* Medium-Large Displays (1600px - 1999px) */
@media (min-width: 1600px) and (max-width: 1999px) {
  .privacy-container {
    max-width: 1100px;
  }

  .privacy-main-title {
    font-size: 52px;
  }

  .privacy-body h2 {
    font-size: 24px;
    margin-top: 44px;
  }

  .privacy-body h3 {
    font-size: 20px;
    margin-top: 28px;
  }

  .privacy-body p {
    font-size: 18px;
    line-height: 1.95;
    margin-bottom: 22px;
  }

  .privacy-body li {
    font-size: 17.5px;
    line-height: 1.9;
  }
}

/* Large Screens Above 2000px (2000px+ / Ultra-Wide 2560px & 4K) */
@media (min-width: 2000px) {
  .privacy-page-wrapper {
    padding: 72px 0 140px;
  }

  .privacy-container {
    max-width: 1420px;
    padding: 0 48px;
  }

  .privacy-header {
    margin-bottom: 52px;
    padding-bottom: 28px;
    border-bottom: 2px solid rgba(25, 66, 80, 0.2);
  }

  .privacy-main-title {
    font-size: 64px;
    letter-spacing: -0.015em;
  }

  .privacy-body h2 {
    font-size: 30px;
    letter-spacing: 0.8px;
    margin-top: 56px;
    margin-bottom: 20px;
    line-height: 1.4;
  }

  .privacy-body h3 {
    font-size: 24px;
    margin-top: 36px;
    margin-bottom: 16px;
    line-height: 1.45;
  }

  .privacy-body p {
    font-size: 22px;
    line-height: 2.05;
    margin-bottom: 28px;
    text-align: justify;
    text-justify: inter-word;
    letter-spacing: 0.01em;
  }

  .privacy-body ul {
    margin: 0 0 34px 0;
    padding-left: 48px;
  }

  .privacy-body li {
    font-size: 21px;
    line-height: 2.0;
    margin-bottom: 12px;
    text-align: justify;
    text-justify: inter-word;
  }

  .privacy-slogan-wrap {
    margin-top: 88px;
    margin-bottom: 24px;
  }

  .comm-divider {
    width: 440px;
  }

  .comm-divider__diamond {
    font-size: 18px;
  }

  .comm-divider__sqr {
    width: 6px;
    height: 6px;
  }

  .comm-divider__dotl,
  .comm-divider__dotr {
    width: 5px;
    height: 5px;
  }

  .privacy-page-wrapper .comm-slogan,
  .privacy-container .comm-slogan,
  .privacy-slogan-wrap .comm-slogan,
  h3.comm-slogan {
    font-size: 38px !important;
    margin-top: 35px !important;
  }
}

/* 4K Screens (3200px+) */
@media (min-width: 3200px) {
  .privacy-container {
    max-width: 1750px;
  }

  .privacy-main-title {
    font-size: 76px;
  }

  .privacy-body h2 {
    font-size: 36px;
  }

  .privacy-body h3 {
    font-size: 28px;
  }

  .privacy-body p {
    font-size: 26px;
    line-height: 2.1;
  }

  .privacy-body li {
    font-size: 25px;
    line-height: 2.05;
  }

  .comm-divider {
    width: 540px;
  }

  .comm-divider__diamond {
    font-size: 22px;
  }

  .privacy-page-wrapper .comm-slogan,
  .privacy-container .comm-slogan,
  .privacy-slogan-wrap .comm-slogan,
  h3.comm-slogan {
    font-size: 46px !important;
    margin-top: 45px !important;
  }
}
