/* Torvelan footer: scoped navigation, newsletter band and compact utility row. */
.tv-footer {
  --tv-footer-muted: #bdc8d5;
  --tv-footer-rule: rgba(255, 255, 255, 0.14);
}
.tv-footer .footer__inner {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "nav nav" "subscribe subscribe" "legal payments";
  align-items: center !important;
  gap: 0 !important;
  padding: 56px 0 24px !important;
}
.tv-footer .footer__inner > .footer__group {
  min-width: 0;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
.tv-footer .footer__inner > .footer__group:has(.footer__custom-text) {
  grid-area: nav;
  display: grid !important;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  align-items: start !important;
  gap: 32px !important;
  padding-bottom: 40px !important;
}
.tv-footer .footer__custom-text {
  min-width: 0;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  text-align: left;
}
.tv-footer .footer__custom-text-title {
  padding: 0 0 14px !important;
  margin: 0;
  font-family: "TorvelanSans", sans-serif;
  font-size: 18px !important;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.025em;
}
.tv-footer .footer__custom-text:first-child .footer__custom-text-title {
  font-family: "TorvelanDisplay", sans-serif;
  font-size: 32px !important;
  line-height: 1;
  letter-spacing: 0.02em;
}
.tv-footer .footer__custom-text-content {
  color: var(--tv-footer-muted);
  font-size: 14px !important;
  line-height: 1.8 !important;
}
.tv-footer .footer__custom-text-content p {
  margin: 0;
}
.tv-footer .footer__custom-text:first-child .footer__custom-text-content p + p {
  margin-top: 16px;
}
.tv-footer a,
.tv-footer a u {
  color: inherit;
  text-decoration: none !important;
  border-bottom: 0;
}
.tv-footer .footer__custom-text-content a {
  display: inline-block;
  padding-block: 3px;
}
.tv-footer a:hover,
.tv-footer a:hover u {
  color: #fff;
  text-decoration: underline !important;
  text-underline-offset: 4px;
}
.tv-footer a:focus-visible,
.tv-footer button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}
.tv-footer .footer__inner > .footer__group:has(.footer__email-subscribe) {
  grid-area: subscribe;
  border-top: 1px solid var(--tv-footer-rule);
  border-bottom: 1px solid var(--tv-footer-rule);
  padding: 28px 0 !important;
}
.tv-footer .footer__email-subscribe {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 32px;
  width: 100% !important;
  max-width: none;
  padding: 0 !important;
  text-align: left;
}
.tv-footer .footer__email-subscribe-title {
  margin: 0 !important;
  max-width: 440px;
  color: var(--tv-footer-muted);
  font-family: "TorvelanSans", sans-serif;
  font-size: 15px !important;
  font-weight: 400;
  line-height: 1.7 !important;
}
.tv-footer .footer__email-subscribe-title p {
  margin: 0;
}
.tv-footer .footer__email-subscribe-title::first-line,
.tv-footer .footer__email-subscribe-title p:first-child::first-line {
  color: #fff;
  font-family: "TorvelanDisplay", sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.35;
}
.tv-footer .block-subscription {
  width: 100% !important;
  padding: 0 !important;
}
.tv-footer .block-subscription__inline-form {
  display: flex;
  align-items: stretch;
  gap: 10px;
  width: 100%;
}
.tv-footer .block-subscription__inline-form .field {
  flex: 1;
  min-width: 0;
}
.tv-footer .block-subscription__inline-form .field__input {
  height: 48px;
  min-height: 48px;
  padding: 22px 16px 6px !important;
  border-radius: 3px;
  font-size: 14px;
}
.tv-footer .block-subscription__inline-form .field__label {
  font-size: 14px;
}
.tv-footer .block-subscription__inline-form .button {
  flex: none;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 3px;
  background: #f6f8fb;
  color: #16283c;
  font-size: 14px;
  font-weight: 600;
}
.tv-footer .footer__inner > .footer__group:has(.footer__copyright) {
  grid-area: legal;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  padding-top: 22px !important;
}
.tv-footer .footer__copyright {
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  gap: 0 !important;
  color: var(--tv-footer-muted);
  align-items: flex-start !important;
  justify-content: flex-start !important;
  text-align: left;
  font-size: 12px;
  line-height: 1.6;
}
.tv-footer .footer__inner > .footer__group:has(.footer__payment-icons) {
  grid-area: payments;
  align-items: flex-end !important;
  justify-content: flex-end !important;
  width: max-content !important;
  padding-top: 22px !important;
}
.tv-footer .footer__payment-icons {
  width: max-content !important;
  display: flex;
  flex-wrap: nowrap !important;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  padding: 0 !important;
  margin: 0 !important;
}
.tv-footer .footer__payment-icons > svg {
  flex: none;
  height: 22px;
  width: auto;
}
 .tv-footer .footer__copyright > * {
  text-align: left !important;
}
.tv-footer {
  display: block;
}
.tv-footer .tv-footer__menu-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
}
.tv-footer .tv-footer__menu-toggle::-webkit-details-marker {
  display: none;
}
.tv-footer .tv-footer__menu-icon {
  display: none;
}
.tv-footer .tv-footer__menu-toggle:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
@media (max-width: 959px) {
  .tv-footer {
    --tv-footer-space-xs: 0.5rem;
    --tv-footer-space-sm: 0.75rem;
    --tv-footer-space-md: 1rem;
    --tv-footer-space-lg: 1.5rem;
    --tv-footer-space-xl: 2rem;
    --tv-footer-menu-height: 3.5rem;
    --tv-footer-link-height: 2.75rem;
    --tv-footer-text-size: 0.875rem;
    --tv-footer-title-size: 0.9375rem;
    --tv-footer-newsletter-size: 1.125rem;
    --tv-footer-control-height: 3rem;
    --tv-footer-icon-size: 0.75rem;
  }
  /* Generated block settings use !important; these scoped overrides keep the mobile layout consistent. */
  .tv-footer .footer__inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "nav" "subscribe" "payments" "legal";
    padding: var(--tv-footer-space-xl) 0 var(--tv-footer-space-lg) !important;
  }
  .tv-footer .footer__inner > .footer__group:has(.footer__custom-text) {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: none;
    grid-template-rows: none;
    gap: 0 !important;
    padding-bottom: var(--tv-footer-space-xs) !important;
  }
  .tv-footer .footer__custom-text {
    grid-area: auto;
  }
  .tv-footer .footer__custom-text:first-child {
    padding-bottom: var(--tv-footer-space-lg) !important;
  }
  .tv-footer .footer__custom-text:first-child .footer__custom-text-content p + p {
    margin-top: var(--tv-footer-space-xs);
  }
  .tv-footer .footer__custom-text-title {
    padding: 0 0 var(--tv-footer-space-sm) !important;
    font-size: var(--tv-footer-title-size) !important;
  }
  .tv-footer .footer__custom-text-content {
    overflow-wrap: anywhere;
    font-size: var(--tv-footer-text-size) !important;
    line-height: 1.6 !important;
  }
  .tv-footer .footer__custom-text:first-child .footer__custom-text-content a {
    min-height: var(--tv-footer-link-height);
    align-content: center;
  }
  .tv-footer .tv-footer__menu {
    border-top: 1px solid var(--tv-footer-rule);
  }
  .tv-footer .tv-footer__menu-toggle {
    min-height: var(--tv-footer-menu-height);
    cursor: pointer;
  }
  .tv-footer .tv-footer__menu-toggle .footer__custom-text-title {
    padding: 0 !important;
    margin: 0;
  }
  .tv-footer .tv-footer__menu-icon {
    position: relative;
    display: block;
    flex: none;
    width: var(--tv-footer-icon-size);
    height: var(--tv-footer-icon-size);
    margin-inline: var(--tv-footer-space-xs);
  }
  .tv-footer .tv-footer__menu-icon::before,
  .tv-footer .tv-footer__menu-icon::after {
    position: absolute;
    inset-block-start: 50%;
    inset-inline-start: 0;
    width: 100%;
    height: 1px;
    content: "";
    background: currentColor;
  }
  .tv-footer .tv-footer__menu-icon::after {
    transform: rotate(90deg);
  }
  .tv-footer .tv-footer__menu[open] .tv-footer__menu-icon::after {
    transform: scaleY(0);
  }
  .tv-footer .tv-footer__menu .footer__custom-text-content {
    padding-block-end: var(--tv-footer-space-sm);
  }
  .tv-footer .tv-footer__menu .footer__custom-text-content a {
    display: inline-flex;
    align-items: center;
    min-height: var(--tv-footer-link-height);
    padding-block: 0;
  }
  .tv-footer .footer__inner > .footer__group:has(.footer__email-subscribe) {
    padding: var(--tv-footer-space-lg) 0 !important;
  }
  .tv-footer .footer__email-subscribe {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--tv-footer-space-md);
  }
  .tv-footer .footer__email-subscribe-title {
    max-width: none;
    font-size: var(--tv-footer-text-size) !important;
    line-height: 1.6 !important;
    text-wrap: pretty;
  }
  .tv-footer .footer__email-subscribe-title::first-line,
  .tv-footer .footer__email-subscribe-title p:first-child::first-line {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
  }
  .tv-footer .footer__email-subscribe-title strong {
    display: block;
    margin-block-end: var(--tv-footer-space-xs);
    color: rgb(var(--color-text));
    font-family: inherit;
    font-size: var(--tv-footer-newsletter-size);
    font-weight: 600;
    line-height: 1.35;
  }
  .tv-footer .footer__email-subscribe-title strong + br {
    display: none;
  }
  .tv-footer .block-subscription__inline-form {
    gap: var(--tv-footer-space-xs);
  }
  .tv-footer .block-subscription__inline-form .field__input,
  .tv-footer .block-subscription__inline-form .field__label {
    font-size: var(--tv-footer-space-md);
  }
  .tv-footer .block-subscription__inline-form .field__input {
    height: var(--tv-footer-control-height);
    min-height: var(--tv-footer-control-height);
    padding-inline: var(--tv-footer-space-sm) !important;
  }
  .tv-footer .block-subscription__inline-form .button {
    min-height: var(--tv-footer-control-height);
    padding-inline: var(--tv-footer-space-md);
    font-size: var(--tv-footer-text-size);
  }
  .tv-footer .footer__inner > .footer__group:has(.footer__payment-icons) {
    width: 100% !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    padding-top: var(--tv-footer-space-lg) !important;
  }
  .tv-footer .footer__payment-icons {
    display: flex;
    flex-wrap: wrap !important;
    max-width: 100%;
    justify-content: flex-start;
    gap: var(--tv-footer-space-xs);
  }
  .tv-footer .footer__payment-icons > svg {
    width: 36px;
    height: auto;
  }
  .tv-footer .footer__inner > .footer__group:has(.footer__copyright) {
    padding-top: var(--tv-footer-space-md) !important;
  }
}
