/* Shared footer based on the approved Global Script Publisher footer reference. */
footer.footer-approved {
  background: radial-gradient(ellipse 48% 30% at 78% 0%, rgba(32, 99, 193, .21), transparent 74%), linear-gradient(180deg, #102545 0%, #0b1d37 100%) !important;
  border-top: 0;
  color: #f5f8ff;
  font-family: 'IBM-Plex-Sans', sans-serif;
  padding: 35px 0 0;
  text-align: left;
}
footer.footer-approved * { box-sizing: border-box; }
footer.footer-approved .fp-container {
  max-width: 1820px;
  width: calc(100% - 48px);
  padding: 0;
}
footer.footer-approved a { text-decoration: none; }
footer.footer-approved a:focus-visible {
  outline: 2px solid #91c0ff;
  outline-offset: 4px;
}

/* Invitation panel */
.footer-approved .fp-cta {
  align-items: center;
  background: radial-gradient(ellipse 56% 170% at 52% 0%, rgba(37, 106, 226, .23), transparent 67%), linear-gradient(125deg, #102748, #102447 68%, #112b53);
  border: 1px solid rgba(85, 148, 234, .46);
  border-radius: 17px;
  display: flex;
  gap: 32px;
  isolation: isolate;
  justify-content: space-between;
  min-height: 184px;
  overflow: hidden;
  padding: 30px 3%;
  position: relative;
}
.footer-approved .fp-cta::before {
  background-image: url('../images/unsplash-writing-research-wide.webp');
  background-position: right center;
  background-repeat: no-repeat;
  background-size: auto 100%;
  content: '';
  inset: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent calc(100% - 540px), #000 100%);
  -webkit-mask-repeat: no-repeat;
  mask-image: linear-gradient(90deg, transparent 0%, transparent calc(100% - 540px), #000 100%);
  mask-repeat: no-repeat;
  filter: blur(1.5px);
  opacity: .38;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}
.footer-approved .fp-cta-copy,
.footer-approved .fp-cta-actions { position: relative; z-index: 2; }
.footer-approved .fp-cta-copy { flex: 1 1 auto; min-width: 0; }
footer.footer-approved .fp-cta-eyebrow {
  align-items: center;
  color: #6da5ff;
  display: flex;
  font-family: 'IBM-Plex-Sans-SemiBold', sans-serif;
  font-size: clamp(10px, .76vw, 14px);
  gap: 20px;
  letter-spacing: .16em;
  line-height: 1.4;
  margin: 0 0 8px;
  text-transform: uppercase;
}
.footer-approved .fp-cta-eyebrow span { background: #6da5ff; display: inline-block; flex: 0 0 60px; height: 1px; opacity: .85; }
.footer-approved .fp-cta h2 {
  color: #f8faff;
  display: block;
  font-family: 'IBM-Plex-Sans-Bold', sans-serif;
  font-size: clamp(30px, 2.35vw, 48px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.08;
  margin: 0 0 11px;
  text-transform: none;
}
.footer-approved .fp-cta h2 span {
  background: linear-gradient(90deg, #8bc0ff, #4b88ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
footer.footer-approved .fp-cta-description {
  color: #b8c9e1;
  font-size: clamp(14px, 1vw, 20px);
  letter-spacing: .01em;
  line-height: 1.4;
  margin: 0;
}
.footer-approved .fp-cta-actions {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 22px;
  margin-right: clamp(120px, 14vw, 285px);
}
footer.footer-approved .fp-button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #fff;
  display: inline-flex;
  font-family: 'IBM-Plex-Sans-SemiBold', sans-serif;
  font-size: clamp(13px, .88vw, 18px);
  gap: 17px;
  justify-content: center;
  line-height: 1.2;
  min-height: 58px;
  padding: 15px 27px;
  text-align: center;
  white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.footer-approved .fp-button svg { flex: 0 0 auto; }
footer.footer-approved .fp-button-primary { background: linear-gradient(180deg, #348aff, #1761f4); box-shadow: 0 12px 26px rgba(11, 57, 150, .32); }
footer.footer-approved .fp-button-primary:hover { background: #1761ed; box-shadow: 0 13px 30px rgba(29, 104, 245, .4); color: #fff; transform: translateY(-2px); }
footer.footer-approved .fp-button-outline { background: rgba(8, 26, 55, .5); border-color: #aec4e5; }
footer.footer-approved .fp-button-outline:hover { background: rgba(54, 104, 181, .24); border-color: #d6e8ff; color: #fff; transform: translateY(-2px); }

/* Brand, directories and trust details */
.footer-approved .fp-main {
  border-top: 1px solid rgba(182, 207, 246, .22);
  display: grid;
  grid-template-columns: minmax(260px, 25%) minmax(0, 75%);
  margin-top: 25px;
  padding: 36px 0 27px;
}
.footer-approved .fp-brand {
  border-right: 1px solid rgba(182, 207, 246, .17);
  min-width: 0;
  padding: 0 clamp(26px, 3vw, 56px) 0 3px;
}
.footer-approved .fp-brand-link { display: inline-block; }
.footer-approved .fp-brand-link img {
  display: block;
  height: auto;
  max-width: 220px;
  width: clamp(160px, 12vw, 220px);
}
footer.footer-approved .fp-brand > p {
  color: #c4d0e2;
  font-size: clamp(13px, .84vw, 16px);
  line-height: 1.48;
  margin: 13px 0 20px;
  max-width: 390px;
}
.footer-approved .fp-contact { display: grid; gap: 10px; list-style: none; margin: 0; padding: 18px 0 0; }
.footer-approved .fp-contact li { min-width: 0; }
footer.footer-approved .fp-contact a {
  align-items: center;
  color: #f2f5fc;
  display: inline-flex;
  font-size: clamp(12px, .82vw, 15px);
  gap: 17px;
  line-height: 1.3;
  min-width: 0;
  overflow-wrap: anywhere;
}
footer.footer-approved .fp-contact a:hover { color: #89b7ff; }
.footer-approved .fp-contact svg {
  fill: none;
  flex: 0 0 18px;
  height: 18px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  width: 18px;
}
.footer-approved .fp-social { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 27px; }
.footer-approved .fp-social a {
  align-items: center;
  border: 1px solid rgba(192, 216, 246, .22);
  border-radius: 50%;
  color: #eaf3ff;
  display: inline-flex;
  font-family: Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
  height: 43px;
  justify-content: center;
  line-height: 1;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
  width: 43px;
}
.footer-approved .fp-social a:hover,
.footer-approved .fp-social a:focus-visible {
  background: rgba(75, 108, 255, .2);
  border-color: rgba(192, 216, 246, .6);
  color: #fff;
  transform: translateY(-2px);
}
.footer-approved .fp-social a:focus-visible { outline: 2px solid #8fb4ff; outline-offset: 3px; }
.footer-approved .fp-social a:nth-child(2) { font-size: 18px; }
.footer-approved .fp-social a:nth-child(4) { font-size: 24px; font-weight: 400; }
.footer-approved .fp-social a:nth-child(5) { font-size: 15px; }
.footer-approved .fp-content { min-width: 0; }
.footer-approved .fp-nav { display: grid; grid-template-columns: .97fr 1.1fr 1.18fr .9fr; min-height: 280px; }
.footer-approved .fp-nav-group { border-right: 1px solid rgba(182, 207, 246, .17); min-width: 0; padding: 0 clamp(17px, 2.65vw, 54px); }
.footer-approved .fp-nav-group:last-child { border-right: 0; padding-right: 0; }
.footer-approved .fp-nav-group h3 {
  color: #fff;
  display: block;
  font-family: 'IBM-Plex-Sans-Bold', sans-serif;
  font-size: clamp(11px, .75vw, 14px);
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.3;
  margin: 0 0 20px;
  text-transform: uppercase;
}
.footer-approved .fp-nav-group h3::after { background: #4c8eff; content: ""; display: block; height: 4px; margin-top: 12px; width: 35px; }
.footer-approved .fp-nav-group ul { list-style: none; margin: 0; padding: 0; }
.footer-approved .fp-nav-group li + li { margin-top: 8px; }
footer.footer-approved .fp-nav-group a {
  color: #c1cde1;
  display: block;
  font-size: clamp(12px, .82vw, 16px);
  line-height: 1.32;
  min-height: 24px;
  padding: 4px 22px 4px 0;
  position: relative;
}
footer.footer-approved .fp-nav-group a { transition: color .2s ease, transform .2s ease; }
footer.footer-approved .fp-nav-group a::after {
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  content: "";
  height: 8px;
  position: absolute;
  right: 5px;
  top: 12px;
  transform: rotate(45deg);
  width: 8px;
}
footer.footer-approved .fp-nav-group a:hover { color: #fff; transform: translateX(2px); }
.footer-approved .fp-trust {
  border-top: 1px solid rgba(182, 207, 246, .17);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-left: clamp(17px, 2.65vw, 54px);
  margin-top: 7px;
  padding-top: 18px;
}
.footer-approved .fp-trust-item {
  align-items: center;
  border-right: 1px solid rgba(182, 207, 246, .17);
  color: #f3f6ff;
  display: flex;
  font-family: 'IBM-Plex-Sans-Medium', sans-serif;
  font-size: clamp(11px, .74vw, 14px);
  gap: 18px;
  line-height: 1.35;
  min-width: 0;
  padding: 0 clamp(10px, 1.6vw, 32px);
}
.footer-approved .fp-trust-item:first-child { padding-left: 0; }
.footer-approved .fp-trust-item:last-child { border-right: 0; padding-right: 0; }
.footer-approved .fp-trust-icon {
  align-items: center;
  background: radial-gradient(circle at 32% 20%, #285087, #142f5b 72%);
  border-radius: 50%;
  color: #a4cbff;
  display: inline-flex;
  flex: 0 0 58px;
  height: 58px;
  justify-content: center;
  width: 58px;
}
.footer-approved .fp-trust-icon svg { display: block; height: 27px; width: 27px; }

/* Legal and payment details */
.footer-approved .fp-bottom {
  align-items: center;
  border-top: 1px solid rgba(182, 207, 246, .22);
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr auto 1fr;
  padding: 22px 0 27px;
}
.footer-approved .fp-legal { align-items: center; display: flex; flex-wrap: wrap; gap: 0; list-style: none; margin: 0; padding: 0; }
.footer-approved .fp-legal li + li::before { color: #acbad0; content: "|"; margin: 0 22px; }
footer.footer-approved .fp-legal a,
footer.footer-approved .fp-bottom > p {
  color: #abbad0;
  font-size: clamp(12px, .84vw, 16px);
  line-height: 1.4;
}
footer.footer-approved .fp-legal a:hover { color: #fff; }
footer.footer-approved .fp-bottom > p { margin: 0; text-align: center; }
.footer-approved .fp-payments { display: flex; gap: 13px; justify-content: flex-end; }
.footer-approved .fp-payments img { border-radius: 4px; display: block; height: 36px; object-fit: contain; width: auto; }

@media (max-width: 1599px) {
  .footer-approved .fp-cta-actions { gap: 12px; margin-right: 10%; }
  footer.footer-approved .fp-button { min-height: 50px; padding: 13px 18px; }
  .footer-approved .fp-trust-icon { flex-basis: 50px; height: 50px; width: 50px; }
  .footer-approved .fp-trust-icon svg { height: 24px; width: 24px; }
  .footer-approved .fp-trust-item { gap: 10px; }
}
@media (max-width: 1199px) {
  .footer-approved .fp-cta::before { display: none; }
  .footer-approved .fp-cta { align-items: flex-start; flex-direction: column; gap: 20px; }
  .footer-approved .fp-cta-actions { margin-right: 0; }
  .footer-approved .fp-main { grid-template-columns: 30% minmax(0, 70%); }
  .footer-approved .fp-brand { padding-right: 25px; }
  .footer-approved .fp-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 0; min-height: 0; }
  .footer-approved .fp-nav-group:nth-child(2) { border-right: 0; }
  .footer-approved .fp-nav-group { padding: 0 25px; }
  .footer-approved .fp-trust { gap: 18px 0; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-left: 25px; margin-top: 28px; }
  .footer-approved .fp-trust-item:nth-child(2) { border-right: 0; }
  .footer-approved .fp-bottom { grid-template-columns: 1fr auto; }
  footer.footer-approved .fp-bottom > p { grid-column: 1 / -1; grid-row: 2; text-align: left; }
}
@media (max-width: 767px) {
  footer.footer-approved { padding-top: 19px; text-align: left; }
  footer.footer-approved .fp-container { width: calc(100% - 36px); padding: 0; }
  .footer-approved .fp-cta { border-radius: 13px; min-height: 0; padding: 25px 22px 25px; }
  .footer-approved .fp-cta h2 { font-size: clamp(29px, 7.3vw, 39px); }
  footer.footer-approved .fp-cta-eyebrow { letter-spacing: .1em; margin-bottom: 24px; }
  .footer-approved .fp-cta-eyebrow span { display: none; }
  footer.footer-approved .fp-cta-description { font-size: 14px; letter-spacing: 0; line-height: 1.5; max-width: none; }
  .footer-approved .fp-cta-actions { align-items: stretch; flex-wrap: wrap; width: 100%; }
  footer.footer-approved .fp-button { flex: 1 1 160px; font-size: 14px; min-height: 48px; }
  .footer-approved .fp-main { display: block; margin-top: 22px; padding-top: 28px; }
  .footer-approved .fp-brand { border-right: 0; padding: 0 0 30px; text-align: center; }
  .footer-approved .fp-brand-link { display: block; }
  .footer-approved .fp-brand-link img { margin: 0 auto; width: 170px; }
  footer.footer-approved .fp-brand > p { font-size: 14px; margin: 15px auto 20px; }
  .footer-approved .fp-contact { gap: 9px; }
  .footer-approved .fp-contact li { text-align: center; }
  footer.footer-approved .fp-contact a { font-size: 13px; gap: 12px; justify-content: center; text-align: left; }
  .footer-approved .fp-contact svg { flex-basis: 14px; height: 14px; width: 14px; }
  .footer-approved .fp-social { gap: 9px; justify-content: center; margin-top: 20px; }
  .footer-approved .fp-social a { height: 36px; width: 36px; }
  .footer-approved .fp-content { border-top: 1px solid rgba(182, 207, 246, .17); padding-top: 28px; }
  .footer-approved .fp-nav { gap: 28px 12px; }
  .footer-approved .fp-nav-group,
  .footer-approved .fp-nav-group:last-child { border-right: 0; padding: 0 8px 0 0; }
  .footer-approved .fp-nav-group h3 { font-size: 12px; margin-bottom: 11px; }
  .footer-approved .fp-nav-group h3::after { margin-top: 8px; }
  .footer-approved .fp-nav-group li + li { margin-top: 2px; }
  footer.footer-approved .fp-nav-group a { font-size: 13px; min-height: 0; padding: 2px 15px 2px 0; }
  footer.footer-approved .fp-nav-group a::after { right: 2px; }
  .footer-approved .fp-trust { margin: 28px 0 0; padding-top: 24px; }
  .footer-approved .fp-trust-item { border-right: 0; font-size: 12px; padding: 0 6px 0 0; }
  .footer-approved .fp-trust-item:first-child { padding-left: 0; }
  .footer-approved .fp-trust-icon { flex-basis: 40px; height: 40px; width: 40px; }
  .footer-approved .fp-trust-icon svg { height: 20px; width: 20px; }
  .footer-approved .fp-bottom { gap: 18px; grid-template-columns: 1fr; padding: 20px 0 25px; }
  .footer-approved .fp-bottom { justify-items: center; text-align: center; }
  .footer-approved .fp-legal { justify-content: center; text-align: center; }
  .footer-approved .fp-legal li + li::before { margin: 0 16px; }
  footer.footer-approved .fp-bottom > p { grid-column: auto; grid-row: auto; max-width: 36ch; text-align: center; }
  .footer-approved .fp-payments { justify-content: center; width: 100%; }
  .footer-approved .fp-payments img { height: 29px; }
}
@media (max-width: 399px) {
  .footer-approved .fp-cta { padding-bottom: 25px; }
  .footer-approved .fp-cta-actions { gap: 9px; }
  footer.footer-approved .fp-button { flex-basis: 100%; }
  .footer-approved .fp-trust { grid-template-columns: 1fr; }
  .footer-approved .fp-trust-item { padding: 0; }
}
@media (prefers-reduced-motion: reduce) {
  footer.footer-approved .fp-button,
  footer.footer-approved .fp-nav-group a { transition: none; }
}
@media (forced-colors: active) {
  .footer-approved .fp-cta h2 span { color: CanvasText; }
  .footer-approved .fp-cta,
  .footer-approved .fp-button,
  .footer-approved .fp-social span { border: 1px solid CanvasText; }
}
