/* ===============================
   CONTENT, SUPPORT & LEGAL PAGES
================================ */

.content-page {
  --content-red: #b3001b;
  --content-red-dark: #850014;
  --content-ink: #172033;
  --content-muted: #657084;
  --content-line: #e7e9ef;
  position: relative;
  min-height: 70vh;
  padding: clamp(48px, 7vw, 92px) 20px clamp(70px, 9vw, 120px);
  overflow: hidden;
  color: var(--content-ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(179, 0, 27, 0.09), transparent 24rem),
    radial-gradient(circle at 96% 30%, rgba(179, 0, 27, 0.045), transparent 28rem),
    #f7f7fa;
}

.content-page *,
.content-page *::before,
.content-page *::after {
  box-sizing: border-box;
}

.content-page .content-shell {
  position: relative;
  width: min(940px, 100%);
  max-width: 940px;
  margin: 0 auto;
  padding: clamp(38px, 6vw, 75px) clamp(25px, 7vw, 82px);
  border: 1px solid var(--content-line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(20, 27, 40, 0.1);
}

.content-page .content-shell::before {
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 25px;
  place-items: center;
  border-radius: 17px;
  color: #fff;
  background: linear-gradient(145deg, var(--content-red), var(--content-red-dark));
  box-shadow: 0 13px 27px rgba(179, 0, 27, 0.22);
  font-family: "Font Awesome 5 Free";
  font-size: 22px;
  font-weight: 900;
}

.cookie-page .content-shell::before {
  content: "\f563";
}

.help-page .content-shell::before {
  content: "\f059";
}

.claims-page .content-shell::before {
  content: "\f0e3";
}

.complaints-page .content-shell::before {
  content: "\f075";
}

.terms-page .content-shell::before {
  content: "\f15c";
}

.privacy-page .content-shell::before {
  content: "\f3ed";
}

.content-page .content-shell::after {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(25px, 7vw, 82px);
  width: 90px;
  height: 4px;
  border-radius: 0 0 6px 6px;
  background: var(--content-red);
}

.content-page h1 {
  margin: 0 0 13px;
  color: var(--content-ink);
  font-size: clamp(38px, 6vw, 58px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.content-page h1 + p {
  display: inline-flex;
  margin: 0 0 38px;
  padding: 7px 11px;
  border: 1px solid #f1cbd1;
  border-radius: 999px;
  color: var(--content-red-dark);
  background: #fff4f5;
  font-size: 12px;
  line-height: 1.3;
}

.help-page h1 + p,
.complaints-page h1 + p {
  display: block;
  margin-bottom: 16px;
  padding: 0;
  border: 0;
  color: #4e5869;
  background: transparent;
  font-size: 17px;
  line-height: 1.72;
}

.content-page h2 {
  position: relative;
  margin: 45px 0 14px;
  padding: 0 0 12px 19px;
  border-bottom: 1px solid var(--content-line);
  color: var(--content-ink);
  font-size: clamp(21px, 3vw, 27px);
  font-weight: 760;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.content-page h2::before {
  content: "";
  position: absolute;
  top: 2px;
  bottom: 12px;
  left: 0;
  width: 4px;
  border-radius: 99px;
  background: var(--content-red);
}

.content-page p {
  margin: 0 0 15px;
  color: var(--content-muted);
  font-size: 15px;
  line-height: 1.78;
}

.content-page p strong {
  color: #424b5c;
  font-weight: 720;
}

.content-page ul,
.content-page ol {
  display: grid;
  gap: 10px;
  margin: 18px 0 25px;
  padding: 18px 20px;
  border: 1px solid var(--content-line);
  border-radius: 16px;
  background: #fafafd;
  list-style: none;
}

.content-page li {
  position: relative;
  padding-left: 25px;
  color: #586274;
  font-size: 14px;
  line-height: 1.62;
}

.content-page li::before {
  content: "\2713";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--content-red);
  font-weight: 900;
}

.content-page li strong {
  color: #394252;
}

.content-page a {
  color: var(--content-red);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.content-page .content-shell > p:last-child {
  margin-bottom: 0;
}

.content-page .content-shell > h2:last-of-type ~ p {
  padding: 11px 14px;
  border-left: 3px solid var(--content-red);
  background: #fff7f8;
}

.content-page .content-shell > h2:last-of-type ~ p + p {
  margin-top: -15px;
}

@media (max-width: 680px) {
  .content-page {
    padding: 28px 14px 70px;
  }

  .content-page .content-shell {
    padding: 34px 21px 40px;
    border-radius: 21px;
  }

  .content-page .content-shell::before {
    width: 49px;
    height: 49px;
    margin-bottom: 22px;
    border-radius: 14px;
    font-size: 19px;
  }

  .content-page .content-shell::after {
    left: 21px;
  }

  .content-page h1 {
    font-size: clamp(36px, 12vw, 48px);
  }

  .content-page h2 {
    margin-top: 37px;
    padding-left: 16px;
    font-size: 21px;
  }

  .content-page p {
    font-size: 14px;
    line-height: 1.72;
  }

  .content-page ul,
  .content-page ol {
    padding: 16px;
  }
}
