.paragraph-card {
    display: flex;
    width: 306px;
    height: 306px;
    padding: 32px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    background: #fff;
    border-radius: 16px;
    border: 1.5px solid #e9e9e9;
    box-shadow: 0px 0px 32px 0px rgba(0, 0, 0, 0.06);
}

.paragraph--type--card-component {
    border-radius: 16px;
}

.card {
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    display: flex;
}

.color-card .card-title {
    color: #fff;
}

.color-card .card-description {
    color: #fff;
    font-size: 14px;
    line-height: 20px;
    font-weight: 300;
}

.card-front,
.card-back {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex: 1 0 0;
    height: 100%;
}

.card-front,
.card-back {
    backface-visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    transition: transform 0.6s ease-in-out;
    transform-style: preserve-3d;
}

.card-front {
    opacity: 1;
    transition: opacity 0.2s linear;
    visibility: unset;
    z-index: 1;
    justify-content: flex-start;
}

.card-back {
    opacity: 0;
    gap: 16px;
    bottom: 0%;
    visibility: hidden;
    transition: visibility 0s 0.3s, opacity 0.5s linear;
    z-index: 0;
}

.card.flip .card-back {
    opacity: 1;
    transition: opacity 0.2s linear;
    visibility: unset;
    z-index: 1;
}

.card.flip .card-front {
    opacity: 0;
    transition: visibility 0s 0.3s, opacity 0.5s linear;
    visibility: hidden;
    z-index: 0;
}

.card-title {
    text-align: center;
    font-size: 24px;
    font-style: normal;
    font-weight: 300;
    line-height: 32px;
    color: #333;
}

.carousel-title {
    border-bottom: 1.5px solid #333;
    font-size: 24px;
    font-style: normal;
    font-weight: 300;
    line-height: 32px;
    width: fit-content;
    padding: 8px 0px;
    color: #333;
}

.card-description {
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    color: #333;
    margin-top: 32px;
    margin-bottom: 8px;
}

.card-link,
.card-back .card-video-button {
    color: #006dcc;
    text-align: center;
    font-size: 24px;
    font-style: normal;
    font-weight: 300;
    line-height: 32px;
    text-decoration-line: underline;
    border: none;
    margin: 0 0 16px 0;
    padding: 0;
    cursor: pointer;
}

.card-link:hover,
.card-back .card-video-button:hover,
.card-link:focus,
.card-back .card-video-button:focus {
    text-decoration-line: underline;
    background: none;
    padding: 0;
    color: #006dcc;
    outline: 0;
    border: none;
}

.paragraph-card-carousel {
    margin-bottom: 24px;
    border-bottom: 1.5px solid var(--primary-inactive, rgba(51, 51, 51, 0.2));
}

.paragraph--type--card-carousel .carousel-description {
    max-width: 100%;
    width: 100%;
    margin-bottom: 24px;
}

.paragraph--type--card-carousel .carousel-description p {
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    color: #3e3e3e;
}

.slick--field-paragraph-card .slick-card-slider .slick-dots {
    margin-top: 24px;
}

.slick--field-paragraph-card .slick-track .slick__slide {
    margin-right: 24px;
}

.paragraph-card .card-link-button {
    position: absolute;
    bottom: 0;
}

.card-link-button {
    /* display: flex;
    */
    height: 40px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 0;
    cursor: pointer;
}

.card-video-button {
    display: flex;
    padding: 12px 24px;
    justify-content: center;
    align-items: center;
    margin: 0;
    border-radius: 150px;
    border: 1px solid #006dcc;
}

.card-link-button a,
.card-link-button button {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: #006dcc;
    padding: 12px 24px;
    border-radius: 150px;
    border: 1px solid #006dcc;
}

.card-link-button a::after,
.hero-links.secondary a::after,
.card-link-button button::after {
    content: "";
    position: relative;
    background: url("../images/anchor_icon.svg") no-repeat;
    height: 16px;
    width: 16px;
    margin-left: 5px;
    display: inline-block;
    margin-bottom: -4px;
}

.card-front.primary .card-link-button a::after,
.card-front.primary .card-link-button button::after,
.hero-overlay-text .hero-links.primary a::after {
    content: "";
    position: relative;
    background: url("../images/anchor_icon_light.svg") no-repeat;
    height: 16px;
    width: 16px;
    margin-left: 5px;
    display: inline-block;
    margin-bottom: -4px;
}

.card-link-button a:hover,
.card-link-button button:hover,
.card-video-button:hover {
    background: none;
    color: #006dcc;
    padding: 12px 24px;
    border-radius: 150px;
    border: 1px solid #006dcc;
}

.slick__arrow {
    display: none;
}

.card-flip-heading {
    position: absolute;
    top: 0;
}

.field.field--name-field-additional-links.field--type-entity-reference-revisions.field--label-hidden.field__items::-webkit-scrollbar {
    display: none;
}

.has-heading {
    margin-top: 40px;
}

/* space managed for card sections on small screens */
@media (max-width: 360px) {
    .paragraph.paragraph--type--card-component>.paragraph-card {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* bounce animation for card sections */
@media (min-width: 768px) {
    .paragraph--type--card-carousel {
        opacity: 0;
        -moz-transition: all 500ms ease-out;
        -webkit-transition: all 500ms ease-out;
        -o-transition: all 500ms ease-out;
        transition: all 500ms ease-out;
        -moz-transform: translate3d(0px, 200px, 0px);
        -webkit-transform: translate3d(0px, 200px, 0px);
        -o-transform: translate(0px, 200px);
        -ms-transform: translate(0px, 200px);
        transform: translate3d(0px, 200, 0px);
        -webkit-backface-visibility: hidden;
        -moz-backface-visibility: hidden;
        backface-visibility: hidden;
    }

    .paragraph--type--card-carousel.in-view {
        opacity: 1;
        -moz-transform: translate3d(0px, 0px, 0px);
        -webkit-transform: translate3d(0px, 0px, 0px);
        -o-transform: translate(0px, 0px);
        -ms-transform: translate(0px, 0px);
        transform: translate3d(0px, 0px, 0px);
    }
}

@media screen and (min-width: 1169px) {
    
    .paragraph--type--card-carousel .carousel-description {
        max-width: 50%;
        width: 100%;
        margin-bottom: 8px;
    }
}

@media screen and (max-width: 1023px) {
    .slick--field-paragraph-card .slick-track .slick__slide:has(.paragraph--type--card-component) {
        margin-right: 24px;
    }

    .paragraph-card-carousel {
        margin: 0;
        border-bottom: none;
    }

    .card-title {
        text-align: center;
        font-size: 20px;
        font-style: normal;
        font-weight: 500;
        line-height: 28px;
        color: #333;
    }

    .card-front,
    .card-back {
        padding: 0;
        gap: 16px;
    }

    .card-link,
    .card-back .card-video-button {
        color: #006dcc;
        text-align: center;
        font-size: 20px;
        font-weight: 500;
        line-height: 28px;
        text-decoration-line: underline;
        border: none;
        margin: 0 0 16px 0;
        padding: 0;
    }

    .card-link:hover,
    .card-back .card-video-button:hover {
        text-decoration-line: underline;
        background: none;
        padding: 0;
        color: #006dcc;
    }
}

@media screen and (max-width: 767px) {

    .paragraph-card {
        display: flex;
        height: 328px;
        padding: 32px;
        justify-content: center;
        align-items: center;
        box-shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.06);
    }

    .carousel-title {
        font-size: 14px;
        font-weight: 300;
        line-height: 20px;
        position: relative;
        width: auto;
        padding: 16px 0;
        border-bottom: 1.5px solid var(--primary-inactive, rgba(51, 51, 51, 0.2));
    }

    .carousel-title::after {
        content: "";
        position: absolute;
        background: url("../images/caret_close.svg") right 0 no-repeat;
        width: 18px;
        height: 11px;
        right: 0;
        top: 20px;
    }

    .carousel-title.active::after {
        content: "";
        position: absolute;
        background: url("../images/caret_open.svg") right 0 no-repeat;
        width: 19px;
        height: 11px;
        right: 0;
        top: 20px;
    }

    .paragraph-card .card-link-button {
        margin-top: 16px;
        position: unset;
    }

    .card-front {
        justify-content: center;
    }
}

@media screen and (max-width: 435px) {
    .paragraph-card {
        min-width: auto;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .paragraph-card {
        width: 300px;
        height: 324px;
        box-shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.06);
    }

    .carousel-title {
        border-bottom: 1.5px solid #333;
        font-size: 24px;
        font-style: normal;
        font-weight: 300;
        line-height: 32px;
        width: fit-content;
        padding: 0 0 8px 0px;
        color: #333;
    }

    .paragraph-card-carousel {
        padding: 0px;
        margin: 0;
        border-bottom: 1.5px solid var(--primary-inactive, rgba(51, 51, 51, 0.2));
    }

    .carousel-title::after {
        content: "";
        background: none;
    }

    .slick--field-paragraph-card {
        padding: 0;
    }

    .card-description {
        margin-top: 32px;
    }

    .card-front,
    .card-back {
        padding: 0;
        gap: 32px;
    }
}

@media (min-width: 1024px) and (max-width: 1439px) {
    .carousel-title {
        font-size: 20px !important;
    }

    .paragraph-card {
        width: 296px;
        height: 296px;
        box-shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.06);
    }
}

/* class for custom spacing on cards for mobile view */
@media (max-width: 767px) {
    .card-spacing.rich-copy {
        margin-top: 64px;
        margin-bottom: 10px;
    }

    /* Unset margin for topic flow component. */
    .topic-flow-component .card-spacing.rich-copy {
        margin: unset;
    }

}

/* class for custom spacing on cards */
@media (min-width: 768px) {
    .card-spacing {
        margin-top: 64px;
        margin-bottom: 10px;
    }

}

@media (min-width: 1024px) {
    .card-spacing {
        margin-top: 128px;
        margin-bottom: 10px;
    }

    .paragraph-card:hover {
        border: 1.5px solid #006dcc;
    }
}

.paragraph-card:focus {
    outline: #fff;
}

.slick__slide:focus,
.paragraph--type--card-component:focus {
    outline: none;
}

.card-layouts-v2 h2 {
    font-weight: 300;
    font-size: 48px;
    line-height: 56px;
}

.card-layouts-v2 h3 {
    font-weight: 300;
    font-size: 40px;
    line-height: 48px;
}

.card-layouts-v2 h4 {
    font-weight: 300;
    font-size: 32px;
    line-height: 40px;
}

.card-layouts-v2 h5 {
    font-weight: 300;
    font-size: 24px;
    line-height: 32px;
}

.card-layouts-v2 h6 {
    font-weight: 300;
    font-size: 20px;
    line-height: 28px;
}

.card-layouts-v2 .card-front.primary .card-link-button a:hover,
.card-layouts-v2 .card-front.primary .card-link-button button:hover {
    background-color: #006dcc !important;
    color: #fff !important;
    border: 1px solid #006dcc !important;
}
.hero-overlay-text .hero-links.primary .hero-link-button button:hover {
    background-color: #006dcc !important;
    color: #fff !important;
    border: 1px solid #006dcc !important;
}
.hero-overlay-text .hero-links.secondary .hero-link-button button:hover {
    color: #006dcc;
    background-color: #fff;
    border: 1px solid #006dcc;
}
.hero-overlay-text .hero-links.primary a.hero-link-button {
    padding: 12px 24px;
    border-radius: 150px;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    background-color: #006dcc;
    color: #fff;
    border: 1px solid #006dcc;
}

.hero-overlay-text .hero-links.secondary a.hero-link-button {
    padding: 12px 24px;
    border-radius: 150px;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: #006dcc;
    background-color: #fff;
    border: 1px solid #006dcc;
}

.card-layouts-v2 .icon-tile-card-style .paragraph-card {
    height: 400px;
    box-shadow: none;
}

.card-layouts-v2 .icon-tile-card-style .card-front {
    align-items: flex-start;
    text-align: left;
}

.card-layouts-v2 .icon-tile-card-style .card-front .card-content {
    margin-top: auto;
    margin-bottom: 68px;
    height: auto !important;
}

.card-layouts-v2 .icon-tile-card-style .card-front .card-content .card-title {
    color: #3e3e3e;
    text-align: left;
}

.card-layouts-v2 .icon-tile-card-style .card-front .card-content .card-description {
    margin-top: 16px;
    margin-bottom: 0px;
}

.card-layouts-v2 .icon-tile-card-style .card-front picture {
    height: 64px;
}

.card-layouts-v2 .icon-tile-card-style .card-front picture img {
    width: 100%;
    height: auto;
}

.card-layouts-v2 .icon-tile-card-style .card-front.primary .card-link-button a,
.card-layouts-v2 .icon-tile-card-style .card-front.primary .card-link-button button {
    background-color: #006dcc;
    color: #fff;
    border: 1px solid #006dcc;
}

.card-layouts-v2 .icon-tile-card-style .card-front.secondary .card-link-button a,
.card-layouts-v2 .icon-tile-card-style .card-front.secondary .card-link-button button {
    color: #006dcc;
    background-color: #fff;
    border: 1px solid #006dcc;
}

.card-layouts-v2 .heavy-content-card-style .paragraph-card {
    height: 400px;
    box-shadow: none;
}

.card-layouts-v2 .heavy-content-card-style .card-front {
    align-items: flex-start;
    text-align: left;
    gap: 0;
}

.card-layouts-v2 .heavy-content-card-style .card-front .card-content {
    margin-bottom: auto;
}

.card-layouts-v2 .heavy-content-card-style .card-front .card-content .card-title {
    color: #3e3e3e;
    text-align: left;
    margin-bottom: 16px;
}

.card-layouts-v2 .heavy-content-card-style .card-front .card-content .card-description {
    color: #3e3e3e;
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
    margin-top: 0;
}

.card-layouts-v2 .heavy-content-card-style .color-card .card-front .card-content .card-title {
    color: #fff;
}

.card-layouts-v2 .heavy-content-card-style .color-card .card-front .card-content .card-description {
    color: #fff;
}

.card-layouts-v2 .heavy-content-card-style .card-front.primary .card-link-button a,
.card-layouts-v2 .heavy-content-card-style .card-front.primary .card-link-button button {
    background-color: #006dcc;
    color: #fff;
    border: 1px solid #006dcc;
}

.card-layouts-v2 .heavy-content-card-style .card-front.secondary .card-link-button a,
.card-layouts-v2 .heavy-content-card-style .card-front.secondary .card-link-button button {
    color: #006dcc;
    background-color: #fff;
    border: 1px solid #006dcc;
}

.card-layouts-v2 .image-centered-card-style .paragraph-card {
    height: 360px;
    box-shadow: none;
}

.card-layouts-v2 .image-centered-card-style .card-front {
    align-items: center;
    text-align: center;
    gap: 16px;
}

.card-layouts-v2 .image-centered-card-style .card-front .card-content {
    margin-top: 0;
    height: auto !important;
}

.card-layouts-v2 .image-centered-card-style .card-front .card-content .card-title {
    color: #3e3e3e;
    text-align: center;
}

.card-layouts-v2 .image-centered-card-style .card-front picture {
    height: 144px;
}

.card-layouts-v2 .image-centered-card-style .card-front picture img {
    width: 100%;
    height: auto;
}

.card-layouts-v2 .image-centered-card-style .card-front.primary .card-link-button a,
.card-layouts-v2 .image-centered-card-style .card-front.primary .card-link-button button {
    background-color: #006dcc;
    color: #fff;
    border: 1px solid #006dcc;
}

.card-layouts-v2 .image-centered-card-style .card-front.secondary .card-link-button a,
.card-layouts-v2 .image-centered-card-style .card-front.secondary .card-link-button button {
    color: #006dcc;
    background-color: #fff;
    border: 1px solid #006dcc;
}

.card-layouts-v2 .card-link-button {
    height: unset;
}

.card-layouts-v2 .card-back {
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
}

.card-layouts-v2 .card-back .card-title {
    text-align: left;
}

.card-layouts-v2 .card-back .card-video-button,
.card-layouts-v2 .card-back .card-link {
    text-align: left;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    border-bottom: 1px solid #006dcc;
    border-radius: unset;
    text-decoration: none;
    min-width: auto;
    background-color: transparent;
    display: inline-block;
}

.card-layouts-v2 .card-back .card-link-button {
    height: auto;
    bottom: 0px;
    margin-top: auto;
    position: absolute;
}

.card-layouts-v2 .card-back .card-link-button .btn {
    background-color: #006dcc !important;
    padding: 10px 14px;
    font-size: 12px;
    text-align: center;
    min-width: min-content;
    width: 44px;
    height: 44px;
    color: #006dcc;
    border-radius: 125px;
    border: none;
    margin-top: 16px;
}

.card-layouts-v2 .card-back .card-link-button .btn:hover {
    color: #fff;
}

.card-layouts-v2 .card-back .card-link-button button::after {
    content: "";
    position: relative;
    background: url("../images/close_icon_white.svg") no-repeat;
    height: 20px;
    width: 20px;
    margin-left: -4px;
    display: inline-block;
    margin-bottom: 0;
}

.card-layouts-v2 .card-back .card-link::after {
    content: "";
    position: relative;
    background: url("../images/anchor_icon.svg") no-repeat;
    height: 16px;
    width: 16px;
    margin-left: 5px;
    display: inline-block;
    margin-bottom: -4px;
}

.card-layouts-v2 .card-back .card-video-button::after {
    content: none;
}

.card-layouts-v2 .card-back .card-description {
    margin: 0;
    color: #3e3e3e;
}

.card-layouts-v2 .card-back .card-flip-heading {
    position: relative;
}

.card-layouts-v2 .card-back .has-heading {
    margin: 0;
}

@media screen and (max-width: 1024px) {
    .card-layouts-v2 .card-back .card-link-button .btn {
        background-color: #006dcc !important;
    }

    .paragraph--type--card-carousel .carousel-description {
        margin-top: 24px;
        margin-bottom: 0;
    }
}

@media screen and (max-width: 767px) {
    .card-layouts-v2 h2 {
        font-weight: 300;
        font-size: 28px;
        line-height: 36px;
    }

    .card-layouts-v2 h3 {
        font-weight: 300;
        font-size: 24px;
        line-height: 32px;
    }

    .card-layouts-v2 h4 {
        font-weight: 500;
        font-size: 20px;
        line-height: 28px;
    }

    .card-layouts-v2 h5 {
        font-weight: 300;
        font-size: 20px;
        line-height: 28px;
    }

    .card-layouts-v2 h6 {
        font-weight: 300;
        font-size: 18px;
        line-height: 24px;
    }

    .paragraph--type--card-component {
        min-height: 220px;
    }

    .paragraph--type--card-carousel .carousel-description {
        margin-top: 32px;
        margin-bottom: 0;
    }
}

@media screen and (max-width: 767px) {
    .card-front .card-content {
        margin: 0;
        height: auto;
    }

    .card-front .card-content .card-title {
        margin-bottom: 0;
    }

    .card-front .card-content .card-description {
        margin: 0;
    }

    .card-front {
        height: auto;
    }

    .card-back {
        height: revert-layer;
    }

    .paragraph-card {
        transition: height 0.2s ease-out;
        height: revert-layer;
        padding: 24px;
    }

    .paragraph-card .card-link-button {
        margin: 0;
    }

    .card-layouts-v2 .icon-tile-card-style .card-front .card-content,
    .card-layouts-v2 .image-centered-card-style .card-front .card-content {
        margin: 0;
        flex-direction: column;
        display: flex;
        justify-content: flex-end;
        height: 100% !important;
    }

    .card-layouts-v2 .icon-tile-card-style .paragraph-card .card-link-button,
    .card-layouts-v2 .image-centered-card-style .paragraph-card .card-link-button {
        margin-top: auto;
    }

    .card-layouts-v2 .heavy-content-card-style .card-front .card-content {
        margin: 0;
        height: auto;
    }

    .card-layouts-v2 .heavy-content-card-style .card-front .card-content .card-title {
        margin-bottom: 16px;
    }

    .card-layouts-v2 .heavy-content-card-style .card-front .card-content .card-description {
        margin-bottom: 16px;
    }

    .card-layouts-v2 .heavy-content-card-style .paragraph-card .card-link-button {
        margin-top: auto;
    }

    .card-layouts-v2 .card-front {
        height: auto;
        justify-content: flex-start;
    }

    .card-layouts-v2 .card-back {
        height: fit-content;
        align-self: flex-start;
        justify-content: center;
    }

    .card-layouts-v2 .card-back .card-link-button {
        position: relative;
    }

    .card-layouts-v2 .card-back .card-link-button .btn {
        margin: 0;
    }

    .card-layouts-v2 .card-back div:has(.paragraph--type--additional-links)+div:last-child a {
        margin: 0;
    }
}

.indicator-section {
    padding-bottom: 0;
}

.indicator-section span {
    font-size: 14px;
    font-weight: 300;
    line-height: 24px;
    margin-right: 8px;
    color: #9b9b9b;
}

.indicator-section span.highlight {
    font-weight: 700;
    color: #3e3e3e;
}
