/**
 * Refund and Returns Policy — match privacy-policy.css layout and hero/content styling.
 * Targets page ID 640 and/or slug refund-and-returns-policy (WordPress body classes).
 * (No :is() — some WP CSS tools reject it.)
 */
body.page-id-640,
body.page-refund-and-returns-policy {
  --jp-returns-bg: #151a25;
  --jp-returns-shell: #f4f1ea;
  --jp-returns-ink: #222;
  --jp-returns-muted: rgba(31, 31, 31, 0.72);
  --jp-returns-gold: #c6a853;
  --jp-returns-link: #265f87;
  --jp-returns-rule: rgba(0, 0, 0, 0.1);
  background: linear-gradient(180deg, #121722 0%, var(--jp-returns-bg) 100%);
}

body.page-id-640 .entry-hero.page-hero-section,
body.page-refund-and-returns-policy .entry-hero.page-hero-section {
  background: linear-gradient(180deg, #151a25 0%, #111318 100%);
  border-top: 1px solid rgba(198, 168, 83, 0.25);
}

body.page-id-640 .entry-hero .hero-container,
body.page-refund-and-returns-policy .entry-hero .hero-container {
  max-width: 1100px;
  padding: 0;
}

body.page-id-640 .entry-hero .entry-header,
body.page-refund-and-returns-policy .entry-hero .entry-header {
  position: relative;
  text-align: left !important;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 1rem;
  align-items: center;
  padding-top: clamp(1rem, 2vw, 1.35rem);
  padding-bottom: clamp(0.95rem, 2vw, 1.35rem);
}

body.page-id-640 .entry-hero .entry-header::before,
body.page-refund-and-returns-policy .entry-hero .entry-header::before {
  content: "";
  position: relative;
  width: clamp(4rem, 7vw, 5.5rem);
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(198, 168, 83, 0.7) 0%,
    rgba(198, 168, 83, 0) 100%
  );
}

body.page-id-640 .entry-hero .entry-header::after,
body.page-refund-and-returns-policy .entry-hero .entry-header::after {
  content: "";
  grid-column: 2;
  height: 2px;
  align-self: center;
  width: 100%;
  background: linear-gradient(
    90deg,
    rgba(198, 168, 83, 0) 0%,
    rgba(198, 168, 83, 0.7) 100%
  );
}

/* Match privacy-policy: hero title (same treatment as #inner-wrap .entry-hero .entry-title there) */
body.page-id-640 .entry-hero .entry-title,
body.page-refund-and-returns-policy .entry-hero .entry-title {
  font-family: "HaboroContrast", Sans-Serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
  letter-spacing: 0.3rem;
  color: #fff;
  margin: 0;
  flex-shrink: 0;
  line-height: 1.05;
  text-align: left !important;
  padding-top: 0;
  grid-column: 1;
}

body.page-id-640 .content-container.site-container,
body.page-refund-and-returns-policy .content-container.site-container {
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

body.page-id-640 .site-main .content-wrap,
body.page-refund-and-returns-policy .site-main .content-wrap {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

body.page-id-640 .site-main article.page .entry-content-wrap,
body.page-refund-and-returns-policy .site-main article.page .entry-content-wrap {
  background: var(--jp-returns-shell);
  border: 1px solid rgba(198, 168, 83, 0.22);
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.32);
  padding: clamp(1.5rem, 3vw, 2.75rem) clamp(1.25rem, 3vw, 2.5rem);
  margin-bottom: 0;
}

body.page-id-640 .entry-content.single-content,
body.page-refund-and-returns-policy .entry-content.single-content {
  max-width: 68ch;
  margin: 0 auto;
  padding: 3rem;
  color: var(--jp-returns-ink);
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
}

body.page-id-640 .entry-content.single-content .wp-block-heading,
body.page-refund-and-returns-policy .entry-content.single-content .wp-block-heading,
body.page-id-640 .entry-content.single-content h2,
body.page-refund-and-returns-policy .entry-content.single-content h2 {
  margin: 2rem 0 0.85rem;
  color: var(--jp-returns-gold);
  font-family: "HaboroContrast", sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.15;
}

body.page-id-640 .entry-content.single-content .wp-block-heading:first-child,
body.page-refund-and-returns-policy .entry-content.single-content .wp-block-heading:first-child,
body.page-id-640 .entry-content.single-content h2:first-child,
body.page-refund-and-returns-policy .entry-content.single-content h2:first-child {
  margin-top: 0;
}

body.page-id-640 .entry-content.single-content h2 strong,
body.page-refund-and-returns-policy .entry-content.single-content h2 strong {
  color: inherit;
  font-weight: 600;
}

/* Returns page — subheads (no equivalent in privacy; keeps hierarchy) */
body.page-id-640 .entry-content.single-content h3,
body.page-refund-and-returns-policy .entry-content.single-content h3,
body.page-id-640 .entry-content.single-content h3.wp-block-heading,
body.page-refund-and-returns-policy .entry-content.single-content h3.wp-block-heading {
  margin: 1.65rem 0 0.7rem;
  color: var(--jp-returns-link);
  font-family: "HaboroContrast", sans-serif;
  font-size: clamp(1.08rem, 1.9vw, 1.28rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.2;
}

body.page-id-640 .entry-content.single-content h3 strong,
body.page-refund-and-returns-policy .entry-content.single-content h3 strong,
body.page-id-640 .entry-content.single-content h3.wp-block-heading strong,
body.page-refund-and-returns-policy .entry-content.single-content h3.wp-block-heading strong {
  color: inherit;
  font-weight: 600;
}

body.page-id-640 .entry-content.single-content p,
body.page-refund-and-returns-policy .entry-content.single-content p {
  margin: 0 0 1rem;
  color: var(--jp-returns-muted);
}

body.page-id-640 .entry-content.single-content p:last-child,
body.page-refund-and-returns-policy .entry-content.single-content p:last-child {
  margin-bottom: 0;
}

body.page-id-640 .entry-content.single-content a,
body.page-refund-and-returns-policy .entry-content.single-content a {
  color: var(--jp-returns-link);
  text-decoration: underline;
  text-decoration-color: rgba(38, 95, 135, 0.45);
  text-underline-offset: 0.15em;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

body.page-id-640 .entry-content.single-content a:hover,
body.page-refund-and-returns-policy .entry-content.single-content a:hover,
body.page-id-640 .entry-content.single-content a:focus-visible,
body.page-refund-and-returns-policy .entry-content.single-content a:focus-visible {
  color: #1a4a6a;
  text-decoration-color: rgba(38, 95, 135, 0.85);
}

body.page-id-640 .entry-content.single-content strong,
body.page-refund-and-returns-policy .entry-content.single-content strong {
  color: var(--jp-returns-ink);
  font-weight: 600;
}

body.page-id-640 .entry-hero-container-inner,
body.page-refund-and-returns-policy .entry-hero-container-inner {
  background: #151a25;
}

body.page-id-640 #main,
body.page-refund-and-returns-policy #main {
  margin-top: 0;
}

@media (max-width: 767px) {
  body.page-id-640 .site-main article.page .entry-content-wrap,
  body.page-refund-and-returns-policy .site-main article.page .entry-content-wrap {
    padding: 1.35rem 1.1rem;
  }
}
