/* terms_and_conditions.css */
/* Used by About Us, Terms and Conditions, and Privacy Policy */

/*
  Font file needed:
  static/fonts/HV Harietta Bold.otf
*/

@font-face {
  font-family: "HV Harietta";
  src: url("/static/fonts/HV%20Harietta%20Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-size: 100%;
}

/* PAGE WRAPPER */

.terms-page,
.about-page,
.privacy-page {
  padding: 18px 16px 56px;
}

/* CONTENT CONTAINER */

.terms-container {
  max-width: 920px;
  margin: 0 auto;
  color: #2f2f2f;
}

/* MAIN TITLE */

.terms-title {
  font-family: "HV Harietta", "Cormorant Garamond", Georgia, serif !important;
  text-align: center;
  color: #2b2b2b;
  margin: 8px 0 28px;
  font-size: clamp(1.7rem, 2.3vw, 2.3rem);
  line-height: 1.08;
  letter-spacing: 2px;
  font-weight: 700 !important;
  text-transform: uppercase;
}

/* BODY CONTENT */

.terms-body,
.about-body,
.privacy-body {
  font-family: "HV Harietta", "Cormorant Garamond", Georgia, serif !important;
  font-weight: 700 !important;
  text-align: justify;
  color: #2f2f2f;
  font-size: 1rem;
  line-height: 1.75;
}

/* Force admin content to use same font */

.terms-body *,
.about-body *,
.privacy-body * {
  font-family: "HV Harietta", "Cormorant Garamond", Georgia, serif !important;
  font-weight: 700 !important;
  max-width: 100%;
  box-sizing: border-box;
}

/* Paragraphs */

.terms-body p,
.about-body p,
.privacy-body p {
  font-size: 1rem !important;
  line-height: 1.75 !important;
  margin: 0 0 16px !important;
  color: #2f2f2f !important;
}

/* Headings from admin editor */

.terms-body h1,
.terms-body h2,
.terms-body h3,
.terms-body h4,
.terms-body h5,
.terms-body h6,
.about-body h1,
.about-body h2,
.about-body h3,
.about-body h4,
.about-body h5,
.about-body h6,
.privacy-body h1,
.privacy-body h2,
.privacy-body h3,
.privacy-body h4,
.privacy-body h5,
.privacy-body h6,
.terms-heading {
  font-family: "HV Harietta", "Cormorant Garamond", Georgia, serif !important;
  font-weight: 700 !important;
  color: #d9d9d9 !important;
  line-height: 1.2;
  margin: 28px 0 12px;
  letter-spacing: 1.2px;
}

.terms-body h1,
.about-body h1,
.privacy-body h1 {
  font-size: 1.65rem !important;
}

.terms-body h2,
.about-body h2,
.privacy-body h2,
.terms-heading {
  font-size: 1.35rem !important;
}

.terms-body h3,
.about-body h3,
.privacy-body h3 {
  font-size: 1.18rem !important;
}

.terms-body h4,
.about-body h4,
.privacy-body h4 {
  font-size: 1.05rem !important;
}

/* Lists */

.terms-body ul,
.terms-body ol,
.about-body ul,
.about-body ol,
.privacy-body ul,
.privacy-body ol {
  margin: 10px 0 18px 1.35rem !important;
  padding: 0 !important;
}

.terms-body li,
.about-body li,
.privacy-body li {
  font-size: 1rem !important;
  line-height: 1.7 !important;
  margin: 7px 0 !important;
  color: #2f2f2f !important;
}

/* Links */

.terms-body a,
.about-body a,
.privacy-body a {
  color: #635E5D !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.terms-body a:hover,
.about-body a:hover,
.privacy-body a:hover {
  color: #2b2b2b !important;
}

/* Strong / bold from admin */

.terms-body strong,
.terms-body b,
.about-body strong,
.about-body b,
.privacy-body strong,
.privacy-body b {
  font-weight: 700 !important;
  color: #1f1f1f !important;
}

/* Italic */

.terms-body em,
.terms-body i,
.about-body em,
.about-body i,
.privacy-body em,
.privacy-body i {
  font-style: italic !important;
}

/* Horizontal lines from admin */

.terms-body hr,
.about-body hr,
.privacy-body hr {
  border: none !important;
  border-top: 1px solid #999 !important;
  margin: 34px 0 !important;
}

/* Tables from admin */

.terms-body table,
.about-body table,
.privacy-body table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 20px 0 !important;
}

.terms-body th,
.terms-body td,
.about-body th,
.about-body td,
.privacy-body th,
.privacy-body td {
  border: 1px solid #ddd !important;
  padding: 10px 12px !important;
  text-align: left !important;
  vertical-align: top !important;
}

.terms-body th,
.about-body th,
.privacy-body th {
  background: #f7f4ee !important;
  color: #2b2b2b !important;
}

/* Images / media from admin */

.terms-body img,
.about-body img,
.privacy-body img {
  max-width: 100% !important;
  height: auto !important;
  margin: 22px auto !important;
  border-radius: 8px;
}

.terms-body iframe,
.about-body iframe,
.privacy-body iframe,
.terms-body video,
.about-body video,
.privacy-body video {
  max-width: 100% !important;
}

/* Updated date */

.terms-updated {
  font-family: "HV Harietta", "Cormorant Garamond", Georgia, serif !important;
  font-weight: 700 !important;
  color: #777;
  font-size: 0.95rem;
  margin-top: 18px;
}

/* Privacy link used on Terms page */

.terms-privacy-link {
  text-align: center;
  margin-bottom: 30px;
}

.terms-privacy-link a {
  font-family: "HV Harietta", "Cormorant Garamond", Georgia, serif !important;
  font-weight: 700 !important;
  color: #89817E !important;
  text-decoration: none !important;
  font-size: 0.95rem;
}

.terms-privacy-link a:hover {
  text-decoration: underline !important;
}

/* RESPONSIVE */

@media (max-width: 992px) {
  .terms-container {
    max-width: 820px;
  }

  .terms-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .terms-page,
  .about-page,
  .privacy-page {
    padding: 14px 14px 42px;
  }

  .terms-container {
    max-width: 720px;
  }

  .terms-title {
    font-size: 1.55rem;
    letter-spacing: 1.4px;
    margin-bottom: 22px;
  }

  .terms-body,
  .about-body,
  .privacy-body {
    text-align: left;
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .terms-body p,
  .about-body p,
  .privacy-body p {
    font-size: 0.98rem !important;
    line-height: 1.65 !important;
    margin-bottom: 14px !important;
  }

  .terms-body h2,
  .about-body h2,
  .privacy-body h2,
  .terms-heading {
    font-size: 1.22rem !important;
  }

  .terms-body h3,
  .about-body h3,
  .privacy-body h3 {
    font-size: 1.08rem !important;
  }

  .terms-body ul,
  .terms-body ol,
  .about-body ul,
  .about-body ol,
  .privacy-body ul,
  .privacy-body ol {
    margin-left: 1.1rem !important;
  }
}

@media (max-width: 380px) {
  .terms-title {
    font-size: 1.42rem;
  }

  .terms-body p,
  .about-body p,
  .privacy-body p,
  .terms-body li,
  .about-body li,
  .privacy-body li {
    font-size: 0.95rem !important;
  }
}