/* Disabling stylelint rule to allow grouping styles by variant type */
/* stylelint-disable no-descending-specificity */
/* stylelint-disable property-no-vendor-prefix */

/* || DEFAULT - CARD || */
/* -------------------- */
.teaser {
    border-radius: 0.3125rem;
    display: flex;
    flex-wrap: wrap;
}

.teaser-wrapper {
    width: 100%;
}

.teaser > div,
.teaser .teaser-text-container {
    width: 100%;
}

.teaser-background-image p > picture {
    z-index: -100 !important;
}

.teaser-background-image p {
    margin: 0;
}

.teaser-background-image picture {
    display: flex;
}

.teaser.block .teaser-text-container .teaser-thumbnail {
    display: flex;
    min-height: 12.5rem;
}

.teaser.block .teaser-thumbnail picture {
    position: relative;
}

.teaser.block .teaser-text-container {
    padding: 0 30px;
}

.teaser.block .teaser-text-container .button-container {
    padding: 0;
    margin: 0;
}

.section .bg-image .teaser-container {
    font-size: 0.875rem;
}

.teaser.block .teaser-text-container .button-container.teaser-cta {
    margin-top: 0;
}

.teaser.block .teaser-text-container .button-container a {
    color: #3d4e3c;
    font-size: 0.9375rem;
    line-height: 26.25px;
    font-weight: var(--fw-semi-bold);
    text-decoration: none;
    font-family: var(--ff-primary);
    padding: 15px 0;
    display: block;
}

.teaser.block .teaser-text-container .button-container:not(:last-child) a {
    border-bottom: 1px solid rgb(65 75 85 / 20%);
}

.teaser.block .teaser-text-container .button-container a:hover {
    text-decoration: underline;
}

.teaser.block .teaser-text-container .button-container a::after {
    content: url('../../icons/text-arrow.svg');
    padding-left: 10px;
    font-weight: 600;
    color: #3d4e3c;
    font-size: 0.9375rem;
    cursor: pointer;
}

.teaser-subtitle {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    padding: 4px 0 8px;
    height: 34.3984px;
    justify-content: flex-start;
    letter-spacing: 1.04px;
    line-height: 22.4px;
    font-family: var(--ff-primary);
    text-transform: uppercase;
    color: var(--c-brand-name);
}

.teaser-title {
    color: var(--c-secondary-copy);
    font-size: 2.5rem;
    text-decoration: none;
    letter-spacing: 0.8px;
    line-height: 42px;
    font-weight: 400;
    padding: 4px 0 8px;
    margin-bottom: 0;
}

.teaser .teaser-cta a {
    font-size: inherit;
}

.teaser .teaser-cta a:hover {
    text-decoration: none;
}

.teaser-cta a.secondary {
    font-family: var(--ff-secondary);
}

.teaser-desc {
    display: block;
    margin: 0;
    font-size: 0.938rem;
    padding-bottom: 15px;
    line-height: 21px;
    font-weight: var(--fw-regular);
    color: var(--c-body-copy);
    font-family: var(--ff-primary);
}

.teaser-container .default-content-wrapper p,
.teaser-container .default-content-wrapper p > a {
    color: var(--c-white);
    font-size: 0.8125rem;
    font-family: var(--ff-primary);
}

.teaser.block .teaser-text-container div:nth-child(2) {
    padding: 15px 30px 30px;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    background: #ffffff80;
}

@media (width >= 1025px) {
    .teaser.block .teaser-text-container {
        margin-bottom: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        position: relative;
    }

    .teaser.block .teaser-text-container div:nth-child(2) {
        display: flex;
        flex-direction: column;
        margin-left: auto;
        width: calc(30% + 60px);
        padding: 58px 65px 63px 58px;
    }

    .teaser.block .teaser-thumbnail picture {
        width: calc(70% - 60px);
        position: absolute;
    }

    .teaser.block .teaser-text-container .teaser-thumbnail {
        min-height: unset;
    }

    .teaser.block .teaser-text-container .teaser-subtitle {
        font-size: 1rem;
        margin: 0;
        padding: 4px 0 8px;
    }

    .teaser.block .teaser-text-container .teaser-title {
        padding-bottom: 0;
    }

    .teaser-subtitle {
        font-size: 0.813rem;
        font-weight: 600;
        position: relative;
        top: 7px;
    }

    .teaser-desc {
        padding-bottom: 43px;
    }
}

@media (width >= 1075px) {
    .teaser-wrapper,
    .teaser-container .default-content-wrapper {
        max-width: 768px !important;
    }

    .teaser.block .teaser-text-container .teaser-desc {
        margin: 0;
        padding-bottom: 43px;
    }
}

@media (width >= 1400px) {
    .teaser-wrapper,
    .teaser-container .default-content-wrapper {
        max-width: 1232px !important;
    }

    .teaser.block .teaser-text-container .teaser-title {
        padding-bottom: 0;
    }

    .teaser.block .teaser-text-container div:nth-child(2) {
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-left: auto;
        min-height: 32.938rem;
        width: calc(30% + 60px);
        padding: 58px 65px 63px 58px;
    }
}

@media (width <= 440px) {
    .teaser.block .teaser-text-container {
        padding: 0 28px;
        margin-bottom: 20px;
    }

    .teaser-title {
        font-size: 1.75rem;
        font-weight: var(--fw-regular);
        line-height: 32px;
        letter-spacing: 0.56px;
        padding: 4px 0;
    }

    .teaser-subtitle {
        font-size: 0.813rem;
        line-height: 18.2px;
        position: relative;
        top: 10px;
    }

    .teaser-desc {
        padding-bottom: 15px;
        font-size: 0.813rem;
        line-height: 18.2px;
        position: relative;
    }

    .teaser.block .teaser-text-container .button-container:not(:last-child) a {
        line-height: 22.5px;
    }

    .teaser.block .teaser-text-container .button-container:last-child a {
        line-height: 22.5px;
    }
}

/* || OVERLAY CARD || */
/* ------------------ */
.teaser-overlay {
    display: block;
    position: relative;
}

.teaser-overlay picture img {
    display: block;
}

.teaser-overlay .teaser-content {
    height: 100%;
    justify-content: center;
    left: 0;
    margin: initial;
    max-width: initial;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 100%;
}

.teaser-overlay .teaser-content:hover {
    background: rgb(0 0 0 / 75%);
    transition: all 0.3s ease;
}

.teaser-overlay .teaser-title {
    font-size: var(--heading-font-size-m);
}

.teaser-overlay .teaser-subtitle,
.teaser-overlay .teaser-desc,
.teaser-overlay .teaser-cta {
    opacity: 0;
}

.teaser-overlay .teaser-content:hover .teaser-subtitle,
.teaser-overlay .teaser-content:hover .teaser-desc,
.teaser-overlay .teaser-content:hover .teaser-cta {
    opacity: 1;
}

.teaser-overlay .teaser-title a:hover,
.teaser-overlay .teaser-cta a:hover {
    color: var(--c-gray);
}

/* || NO IMAGE || */
/* -------------- */
.teaser-no-img .teaser-cta a:hover {
    background: var(--c-white);
    color: var(--c-banner-drk);
}

/* || SHARED STYLES || */
/* ------------------- */
.teaser-container:has(.teaser-left),
.teaser-container:has(.teaser-right),
.teaser-container:has(.teaser-left-rounded),
.teaser-container:has(.teaser-right-rounded),
.teaser-container:has(.teaser-no-img) {
    padding: 0;
}

.teaser-container:has(.teaser-left) .teaser-wrapper,
.teaser-container:has(.teaser-right) .teaser-wrapper,
.teaser-container:has(.teaser-left-rounded) .teaser-wrapper,
.teaser-container:has(.teaser-right-rounded) .teaser-wrapper,
.teaser-container:has(.teaser-no-img) .teaser-wrapper {
    max-width: unset;
}

.teaser-overlay,
.teaser-left,
.teaser-right,
.teaser-left-rounded,
.teaser-right-rounded,
.teaser-no-img {
    border-radius: initial;
    box-shadow: none;
}

.teaser-left > div:last-child,
.teaser-right > div:last-child,
.teaser-no-img {
    background: var(--c-banner-drk);
}

.teaser-left > div:last-child,
.teaser-right > div:last-child,
.teaser-left-rounded > div:last-child,
.teaser-right-rounded > div:last-child {
    align-items: center;
    display: flex;
    justify-content: center;
}

.teaser-left .teaser-content,
.teaser-right .teaser-content,
.teaser-no-img .teaser-content {
    margin: var(--spacing-large) auto;
}

.teaser-left-rounded .teaser-content,
.teaser-right-rounded .teaser-content {
    margin: 0 auto var(--spacing-large);
}

.teaser-overlay .teaser-content a,
.teaser-overlay .teaser-content p,
.teaser-left .teaser-content a,
.teaser-left .teaser-content p,
.teaser-right .teaser-content a,
.teaser-right .teaser-content p,
.teaser-no-img .teaser-content a,
.teaser-no-img .teaser-content p {
    color: var(--c-white);
}

.teaser-left .teaser-title,
.teaser-right .teaser-title,
.teaser-left-rounded .teaser-title,
.teaser-right-rounded .teaser-title,
.teaser-no-img .teaser-title {
    font-size: var(--heading-font-size-xl);
}

.teaser-left .teaser-subtitle,
.teaser-right .teaser-subtitle,
.teaser-left-rounded .teaser-subtitle,
.teaser-right-rounded .teaser-subtitle,
.teaser-no-img .teaser-subtitle {
    display: none;
}

.teaser-left .teaser-desc,
.teaser-right .teaser-desc,
.teaser-left-rounded .teaser-desc,
.teaser-right-rounded .teaser-desc,
.teaser-no-img .teaser-desc {
    line-height: 2;
    margin-bottom: var(--spacing-medium);
}

.teaser-left .teaser-cta,
.teaser-right .teaser-cta,
.teaser-left-rounded .teaser-cta,
.teaser-right-rounded .teaser-cta {
    margin: 0;
}

.teaser-left .teaser-cta a:hover,
.teaser-right .teaser-cta a:hover,
.teaser-left-rounded .teaser-cta a:hover,
.teaser-right-rounded .teaser-cta a:hover {
    color: var(--c-white);
    text-decoration: none;
}

.teaser-overlay .teaser-cta a,
.teaser-left-rounded .teaser-cta a,
.teaser-right-rounded .teaser-cta a,
.teaser-no-img .teaser-cta a {
    padding: var(--spacing-xsmall) var(--spacing-small);
}

.teaser-overlay .teaser-cta a,
.teaser-no-img .teaser-cta a {
    background: transparent;
    border: 1px solid var(--c-white);
}

.teaser-right,
.teaser-right-rounded {
    flex-direction: row-reverse;
}

.teaser-left-rounded,
.teaser-right-rounded {
    background: var(--c-banner-lt-striping);
}

.teaser-left-rounded picture,
.teaser-right-rounded picture {
    justify-content: center;
}

.teaser-left-rounded img,
.teaser-right-rounded img {
    border-radius: 40px;
    margin: 50px;
    width: 80%;
}

/* || Teaser - CARD || */
/* -------------------- */

.teaser-container:has(.teaser-card) .teaser.teaser-card .teaser-content {
    display: grid;
    grid-template-columns: 8fr 1fr;
    margin: 0;
    width: 100%;
    max-width: unset;
    min-height: 0;
    padding: 1.25rem 0;
}

.teaser.teaser-card .teaser-text-container::after {
    content: none;
}

.teaser.teaser-card .teaser-content::after {
    content: '';
    background-image: url('../../icons/arrow-circle-right-brown.svg');
    background-repeat: no-repeat;
    background-size: 100%;
    margin-left: auto;
    grid-column: 2;
    grid-row: 1;
    width: 40px;
    height: 40px;
}

.teaser.teaser-card .teaser-text-container:hover .teaser-content::after,
.teaser.teaser-card .teaser-text-container:focus .teaser-content::after {
    background-image: url('../../icons/arrow-circle-right-brown-hover.svg');
}

.teaser-content.no-subtitle .teaser-subtitle,
.teaser-content.no-title .teaser-title {
    display: none;
}

.teaser.teaser-card .teaser-content .teaser-subtitle,
.teaser.teaser-card .teaser-content .teaser-title,
.teaser.teaser-card .teaser-content .teaser-desc {
    grid-column: 1;
    text-align: left;
}

.teaser.teaser-card .teaser-content .teaser-subtitle {
    margin: auto 0;
    padding: 0;
    height: fit-content;
    top: 0;
}

.teaser.teaser-card .teaser-content .teaser-title {
    margin: auto 0;
    padding: 0;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: unset;
    line-height: 1.1;
    font-family:
        soleil,
        -apple-system,
        BlinkMacSystemFont,
        sans-serif;
}

.teaser.teaser-card .teaser-content .teaser-desc {
    margin: auto 0;
    padding: 0;
}

.teaser.teaser-card a.button.teaser-text-container {
    all: unset;
    cursor: pointer;
    width: 100%;
}

.teaser.teaser-card .teaser-text-container .teaser-thumbnail picture,
.teaser.teaser-card .teaser-text-container .teaser-thumbnail div {
    width: 100%;
    height: fit-content;
    position: relative;
    display: block;
    line-height: 0;
}

.teaser.teaser-card .teaser-text-container .teaser-thumbnail img {
    object-fit: cover;
    max-width: 100%;
    width: 100%;
}

/* Add support for inline background image via style attribute */
.teaser-background-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -1;
  pointer-events: none;
}

/* Ensure teaser has relative positioning */
.teaser.block {
  position: relative;
  overflow: hidden;
}

.teaser.block .teaser-text-container.no-frosted-glass .teaser-content {
    background: transparent;
    backdrop-filter: none;
}

.teaser.block .teaser-text-container .teaser-content .teaser-desc p {
    margin-bottom: 0;
     margin-top: 10px;
}

.teaser.block.teaser-card .teaser-text-container .teaser-content .teaser-desc > div {
    padding-top: 5px;
}

.teaser.block.teaser-card .teaser-text-container .teaser-content .teaser-desc h1,
.teaser.block.teaser-card .teaser-text-container .teaser-content .teaser-desc h2,
.teaser.block.teaser-card .teaser-text-container .teaser-content .teaser-desc h3,
.teaser.block.teaser-card .teaser-text-container .teaser-content .teaser-desc h4,
.teaser.block.teaser-card .teaser-text-container .teaser-content .teaser-desc h5,
.teaser.block.teaser-card .teaser-text-container .teaser-content .teaser-desc h6 {
    margin-bottom: 0;
}

.teaser-container .teaser.block.teaser-card .teaser-content {
    padding: 1.25rem 1.875rem;
}

@media screen and (width >= 768px) {
    .teaser.teaser-card .teaser-content .teaser-title {
        font-size: 1.25rem;
        letter-spacing: -0.2px;
        line-height: 24px;
    }
}
/* End Teaser Card */

@media screen and (width >= 768px) and (width <= 1024px) {
    .teaser.block .teaser-text-container div:nth-child(2) {
        display: flex;
        flex-direction: column;
        margin-left: auto;
        padding: 40px;
    }

    .teaser.block .teaser-text-container .button-container a {
        line-height: 26.25px;
    }

    .teaser-title {
        font-size: 2.5rem;
        padding-bottom: 6px;
    }

    .teaser.block .teaser-text-container {
        padding: 0 56px;
    }
}

@media (width >= 1200px) {
    .teaser-title {
        padding-bottom: 6px;
    }

    .teaser-left,
    .teaser-right,
    .teaser-left-rounded,
    .teaser-right-rounded {
        flex-wrap: nowrap;
    }

    .teaser-left .teaser-content,
    .teaser-right .teaser-content,
    .teaser-left-rounded .teaser-content,
    .teaser-right-rounded .teaser-content {
        letter-spacing: 0.0625em;
        margin: auto;
        max-width: 750px;
        padding: 0 5rem;
        text-align: left;
    }

    .teaser-no-img .teaser-content {
        padding: 5rem 1.5rem;
        margin: auto;
        max-width: 750px;
        width: 50%;
    }

    main .teaser.block .teaser-text-container .teaser-thumbnail img {
        max-width: 100%;
    }

}
