/*******************************
 * Buttons
 ******************************/
/*
 * Applies the complete set of button styles with all desired style variations.
 * This mixin is normally applied to form buttons or links with
 * the desired button classes eg. .button.style-xxx.
 */
/*
 * Contains styles that all of the buttons have in common.
 * Some button styles might opt out or override some of these styles.
 * One benefit of this approach is that all of the buttons will be consistently
 * configurable with the CSS variables defined below.
 */
/*******************************
 * Button Styles
 *
 * Styles should define the way the buttons look. Depending on the project,
 * you may need to optimize each style based on the section / element that
 * a button is used in. For that purpose you can use the predefined CSS
 * variables to easily overwrite the desired colors based on your need.
 ******************************/
/*******************************
 * Inputs
 ******************************/
.popup-box {
  --element-spacing-sm: /* grow(16, 24) */ clamp(1rem, 0.8217054264rem + 0.7751937984vw, 1.5rem);
}
.popup-box .content-lead .popup-box-title {
  font-size: /* grow(20, 26) */ clamp(1.25rem, 1.1162790698rem + 0.5813953488vw, 1.625rem);
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}
.popup-box .content-lead .popup-box-description > :first-child, .popup-box .content-lead .popup-box-description > link:first-child + *, .popup-box .content-lead .popup-box-description > link:first-child + link + *, .popup-box .content-lead .popup-box-description > link:first-child + link + link + * {
  margin-top: 0;
}
.popup-box .content-lead .popup-box-description > :last-child {
  margin-bottom: 0;
}
.popup-box .content-lead .popup-box-description > :is(.lead-text, .lead-text-small):first-child > :first-child {
  margin-top: 0;
}
.popup-box .content-lead .popup-box-description > :is(.lead-text, .lead-text-small):last-child > :last-child {
  margin-bottom: 0;
}
.popup-box .content-lead .popup-box-description {
  margin-top: 1rem;
}

.popup-box-popup:is(*, #increase-specificity) {
  --popup-top-additional-offset: 0px;
}
.popup-box-popup:is(*, #increase-specificity) .transparent-header {
  all: revert;
}
.popup-box-popup:is(*, #increase-specificity) .popup-content {
  display: grid;
  grid-template-rows: auto auto;
  max-width: 856px;
  overflow: auto;
}
@media (width >= 992px /* md */) {
  .popup-box-popup:is(*, #increase-specificity) .popup-content {
    overflow: initial;
    max-width: min(100vw - /* grow(16, 32, $to: md) */ clamp(1rem, 0.4102564103rem + 2.5641025641vw, 2rem), 1700px);
    grid-template-rows: auto;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 1rem 1.5rem rgba(0, 0, 0, 0.1);
  }
}
.popup-box-popup:is(*, #increase-specificity) .popup-content .popup-box-popup-image {
  position: relative;
  min-height: 0;
}
.popup-box-popup:is(*, #increase-specificity) .popup-content .popup-box-popup-image .popup-box-popup-image-slider {
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: var(--rounded) var(--rounded) 0 0;
  overflow: hidden;
}
@media (width >= 992px /* md */) {
  .popup-box-popup:is(*, #increase-specificity) .popup-content .popup-box-popup-image .popup-box-popup-image-slider {
    border-radius: var(--rounded) 0 0 var(--rounded);
  }
}
.popup-box-popup:is(*, #increase-specificity) .popup-content .popup-box-popup-image .popup-box-popup-image-slider *:not(.swiper-pagination):not(.swiper-pagination *) {
  height: 100%;
}
.popup-box-popup:is(*, #increase-specificity) .popup-content .popup-box-popup-image .popup-box-popup-image-slider img {
  border-radius: 0;
}
.popup-box-popup:is(*, #increase-specificity) .popup-content .popup-box-popup-image .image-placeholder {
  display: block;
  max-width: 100%;
  height: /* grow(200, 350, $to: md) */ clamp(12.5rem, 6.9711538462rem + 24.0384615385vw, 21.875rem);
  object-fit: cover;
  aspect-ratio: auto 850/800;
}
@media (width >= 992px /* md */) {
  .popup-box-popup:is(*, #increase-specificity) .popup-content .popup-box-popup-image .image-placeholder {
    height: 100%;
  }
}
.popup-box-popup:is(*, #increase-specificity) .popup-content .popup-box-popup-image img {
  object-fit: cover;
  border-top-left-radius: var(--rounded);
  border-top-right-radius: var(--rounded);
  height: /* grow(200, 350, $to: md) */ clamp(12.5rem, 6.9711538462rem + 24.0384615385vw, 21.875rem);
}
@media (width >= 992px /* md */) {
  .popup-box-popup:is(*, #increase-specificity) .popup-content .popup-box-popup-image img {
    height: 100%;
    border-top-right-radius: 0;
    border-bottom-left-radius: var(--rounded);
  }
}
.popup-box-popup:is(*, #increase-specificity) .popup-content .transparent-header {
  display: none;
  grid-column: 2/-1;
  grid-row: 1/span 1;
}
.popup-box-popup:is(*, #increase-specificity) .popup-content .popup-box-popup-content {
  --padding: /* grow(20, 32, $to: md) */ clamp(1.25rem, 0.8076923077rem + 1.9230769231vw, 2rem);
  --additional-side-padding: 0px;
  background-color: var(--white);
  border-bottom-left-radius: var(--rounded);
  border-bottom-right-radius: var(--rounded);
  padding: var(--padding) calc(var(--padding) + var(--additional-side-padding)) var(--padding) var(--padding);
  overflow: auto;
}
.popup-box-popup:is(*, #increase-specificity) .popup-content .popup-box-popup-content > :first-child, .popup-box-popup:is(*, #increase-specificity) .popup-content .popup-box-popup-content > link:first-child + *, .popup-box-popup:is(*, #increase-specificity) .popup-content .popup-box-popup-content > link:first-child + link + *, .popup-box-popup:is(*, #increase-specificity) .popup-content .popup-box-popup-content > link:first-child + link + link + * {
  margin-top: 0;
}
.popup-box-popup:is(*, #increase-specificity) .popup-content .popup-box-popup-content > :last-child {
  margin-bottom: 0;
}
.popup-box-popup:is(*, #increase-specificity) .popup-content .popup-box-popup-content > :is(.lead-text, .lead-text-small):first-child > :first-child {
  margin-top: 0;
}
.popup-box-popup:is(*, #increase-specificity) .popup-content .popup-box-popup-content > :is(.lead-text, .lead-text-small):last-child > :last-child {
  margin-bottom: 0;
}
@media (width >= 992px /* md */) {
  .popup-box-popup:is(*, #increase-specificity) .popup-content .popup-box-popup-content {
    --padding: /* grow(32, 64, $from: md) */ clamp(2rem, -2.862745098rem + 7.8431372549vw, 4rem);
    --additional-side-padding: /* grow(32, 64, $from: md) */ clamp(2rem, -2.862745098rem + 7.8431372549vw, 4rem);
    position: relative;
    max-height: min(800px, 100vh - 4rem);
    border-top-right-radius: var(--rounded);
    border-bottom-left-radius: 0;
  }
}
.popup-box-popup:is(*, #increase-specificity) .popup-content .popup-box-popup-content .close-button {
  position: absolute;
  right: /* grow(16, 44, $from: md) */ clamp(1rem, -3.2549019608rem + 6.862745098vw, 2.75rem);
  top: /* grow(16, 24, $from: md) */ clamp(1rem, -0.2156862745rem + 1.9607843137vw, 1.5rem);
}
.popup-box-popup:is(*, #increase-specificity) .popup-content .popup-box-popup-title {
  font-size: /* grow(24, 32) */ clamp(1.5rem, 1.3217054264rem + 0.7751937984vw, 2rem);
  font-weight: 700;
  line-height: 1.35;
}
