/*
  main footer component

  general styling
  subscribe
  navigation
  copyright
  mobile
  responsivity
*/

/* general styling
============================================================================ */
.bg-footer {
  background: var(--pos-color-panel-background, #fff);
}

.pos-footer-navigation {
  position: relative;
  z-index: 10;
  font-family: var(--pos-font-default);
  padding: 40px var(--pos-gap-content-footer, 40px);
  max-width: 1440px;
  margin: 0 auto;
}

.ul-border {
  border-top: 1px solid var(--pos-color-divider-lines, #e2e8f0);
  border-bottom: 1px solid var(--pos-color-divider-lines, #e2e8f0);
}

/* subscribe
============================================================================ */
.pos-subscribe {
  border: 1px solid var(--pos-color-divider-lines, #e2e8f0);
  background: var(--pos-color-page-background, #f7f8fa);
  padding: 48px 48px;
  margin: 40px auto;
  max-width: 1920px;
}

.subscribe-left {
  display: flex;
  align-items: center;
  gap: 20px
}

.subscribe-left svg {
  min-width: 49px;
  min-height: 48px;
  border-radius: var(--pos-corner-panel, 4px);
  background: var(--pos-color-page-background, #f7f8fa);
}

.subscribe-left svg>path {
  stroke: #405568;
}

.subscribe-left h2 {
  color: var(--pos-color-prominent, #141414);
  font-size: 1rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.25em;
}

.subscribe-left p {
  color: var(--pos-color-supplementary, #6b7280);
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.25em;
}

.subscribe-left p>a {
  color: var(--pos-color-supplementary, #6b7280);
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.25em;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: none;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}

.subscribe-right {
  display: flex;
  align-items: center;
  gap: var(--pos-gap-s-button, 8px);
  margin-left: 12px;
}

.subscribe-right label {
  color: var(--pos-color-supplementary, #6b7280);
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.25em;
  text-align: right;
}

.subscribe-right input {
  padding: 8px;
  border: none;
  width: 310px;
}

.input-field {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 60px;
  width: 374px;
  border: 1px solid var(--pos-color-input-field-border, #6b7280);
  background: var(--pos-color-input-field-background, #fff);
  padding: 8px 8px 8px 16px;
}

.subscribe-right .mobile-button {
  display: none;
}

.subscribe-right a {
  padding: 12px 36px;
}


/* navigation
============================================================================ */
.pos-footer-nav {
  max-width: 1920px;
  margin: 0 auto;
  padding: 40px 0;
}

.gradient-arrow {
  display: none;
}

.pos-footer-nav nav>ul {
  display: flex;
  padding-right: 24px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.pos-footer-nav nav>ul>li {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.pos-footer-nav nav>ul>li>svg {
  display: none;
}

.pos-footer-nav nav>ul>li>ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  align-self: stretch;
}

.pos-footer-nav a>svg {
  margin-bottom: -2px;
}

.pos-footer-nav a:hover {
  text-decoration: underline;
  color: var(--pos-color-interactive, #2173c4);
}

.pos-footer-modal .pos-footer-toggle {
  display: none;
}

.pos-footer-ul-toggle {
  display: none !important;
}


.pos-footer-nav a>svg:nth-of-type(1) {
  display: none;
}


.pos-footer-nav label {
  color: var(--pos-color-prominent, #141414);
  font-size: var(--pos-headline-4, 1.25rem);
  font-style: normal;
  font-weight: 700;
  line-height: var(--pos-headline-4-line-height, 1.5em);
}


/* copyright
============================================================================ */
.pos-footer-copyright {
  padding: 24px 0px;
}

.label {
  display: none;
}

.copyright {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright h2 {
  margin-bottom: -8px;
}

.copy-links {
  display: flex;
}

.copyright p {
  padding-left: 20px;
  padding-right: 8px;
  color: var(--pos-color-supplementary, #6b7280);
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.25em;
}

.copyright>div>div>a {
  border-left: 1px solid var(--pos-color-divider-lines, #e2e8f0);
  padding: 0 8px;
  cursor: pointer;
  color: var(--pos-color-supplementary, #6b7280);
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.25em;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: none;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}

.social {
  display: flex;
  align-items: flex-start;
  gap: 26px;
}

.pos-theme-dark .pos-footer-nav nav>ul>li>ul>li>a {
  color: var(--pos-color-prominent);
}

.full-logo-path {
  fill: var(--pos-color-prominent);
}

/* mobile
============================================================================ */
@media (max-width: 900px) {
  .pos-footer-navigation {
    padding: var(--pos-padding-cards-boxes, 24px);
    z-index: 0;
  }

  .pos-subscribe {
    margin: 0;
  }

  .pos-subscribe>.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .subscribe-left {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .subscribe-left p {
    font-size: 1rem;
  }

  .subscribe-right {
    margin-left: 0;
  }

  .subscribe-right label {
    text-align: center;
    align-self: stretch;
  }

  .subscribe-right input {
    max-width: 180px;
  }

  .subscribe-right .input-field {
    max-width: 260px;
  }

  .input-field>.button {
    display: none;
  }

  .subscribe-right .mobile-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
  }

  .subscribe-right .mobile-button svg {
    width: 24px;
    height: 24px;
    stroke: var(--pos-color-prominent, #141414);
    fill: none;
  }

  .subscribe-right .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .pos-footer-nav {
    padding: 0;
  }

  .gradient-arrow {
    display: block;
    width: 14px;
    height: 14px;
  }

  .pos-footer-nav nav {
    width: 100%;
    background-color: var(--pos-color-panel-background, #fff);
    display: none;
    flex-direction: column;
  }

  .pos-footer-nav nav {
    display: flex;
  }

  .pos-footer-nav nav>ul {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 16px 0;
    gap: 0;
  }

  .pos-footer-nav nav>ul>li {
    gap: 0;
  }

  .pos-footer-nav nav>ul>li>svg {
    display: block;
    position: absolute;
    right: 0;
    top: 24px;
  }

  .pos-footer-nav a>svg:nth-of-type(1) {
    display: block;
    border-radius: var(--pos-corner-panel, 4px);
    background: var(--pos-color-page-background, #f7f8fa);
  }

  .pos-footer-nav a>svg:nth-of-type(2) {
    margin-left: auto;
  }

  .pos-footer-modal {
    width: 100%;
    align-items: start;
    justify-content: baseline;
    position: relative;
  }

  .pos-footer-ul-toggle {
    display: block !important;
  }

  .pos-footer-ul-toggle a>svg:nth-of-type(1) {
    background: none !important;
  }



  .pos-footer-modal label {
    width: 100%;
    padding: 16px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: var(--pos-color-panel-background, #fff);
    pointer-events: auto;

    color: var(--pos-color-normal, #374151);

    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.25em;
  }

  .pos-footer-modal:has(.pos-footer-toggle:checked) label {
    font-weight: 700;
    color: var(--pos-color-interactive, #2173c4);
  }

  .pos-footer-nav nav>ul>li>ul {
    all: unset;
    display: none;
    width: 100%;
    flex-direction: column;
    background-color: var(--pos-color-panel-background, #fff);
    transition: max-height 0.3s ease-in-out;
    z-index: 20;
  }

  .pos-footer-modal .pos-footer-toggle:checked+ul {
    display: flex;
  }

  .pos-footer-modal>ul:before {
    display: none;
  }

  .pos-header nav>ul.mobile-subheader-links {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--pos-color-divider-lines, #e2e8f0);
    padding: 16px 0;
  }

  .pos-header nav>ul.mobile-subheader-links>li>a {
    display: flex;
    height: 48px;
    align-items: center;
    padding: 0px var(--pos-padding-cards-boxes, 24px);
    width: 100%;
  }

  .pos-header nav>ul.mobile-subheader-links>li>a>svg {
    margin-left: auto;
  }

  .pos-footer-modal a {
    padding: 12px 0px 12px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    align-self: stretch;
    min-width: 307px;
    text-decoration: none;
    color: var(--pos-color-prominent, #141414);
  }

  .pos-footer-modal a:hover {
    background: var(--pos-color-highlighted-background, #eff2f6);
    color: var(--pos-color-prominent, #141414);
    font-size: 1rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.25em;
  }

  .pos-footer-modal .menu-indent {
    padding-left: 48px;
  }

  .pos-footer-copyright .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .copyright {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }

  .copy-links>div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
}




.pos-theme-dark .mobile-button {
  border: 1px solid black;
}

.pos-theme-dark .pos-footer-modal a {
  color: white !important;
}

.pos-theme-dark .social svg path {
  fill: var(--pos-color-dark-supplementary, #9da3ad) !important;
}

.pos-theme-dark a#x-icon svg path:last-of-type {
  fill: #000000 !important;
}

.pos-theme-dark .copyright .logo-name {
  fill: var(--pos-color-dark-prominent, #fff);
}

/* responsivity
============================================================================ */
@media screen and (max-width: 1250px) {
  .pos-subscribe {
    padding: 24px;
  }

  .subscribe-right {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .copy-links {
    flex-direction: column;
  }

  .copy-links>div {
    padding-left: 12px;
  }

  .copy-links>div>a:first-child {
    border-left: none;
  }
}

.svg-indent {
  display: flex;
}