.cards_module .items-top-content h2 {
    margin: 0 0 4.8rem;
    font-size: calc(var(--fontsize_h3) * var(--text-scaler));
    line-height: calc(var(--lineh_h3) * var(--text-scaler));
}
.cards_module .item {
    /* flex-basis: calc(25% - 3rem); */
    border-radius: var(--radius1);
    overflow: hidden;
    cursor: default;
}

.cards_module .item,
.cards_module .item > a,
.cards_module .item .item-card-inner,
.cards_module .item .item-card-inner .itemtext{
    height: 100%;
}

.cards_module .item .item-card-inner .itemtext{
    display: flex;
    flex-direction: column;
}

.cards_module .item .item-card-inner .media + .itemtext{
    height: calc(100% - 21rem);
}


.cards_module .call-to-action .item {
    position: relative;
    text-align: center;
}
.cards_module .call-to-action .item * {
    color: #fff;
}
.cards_module .call-to-action .item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(000, 000, 000, 0.2);
    -webkit-transition: background-color 100ms linear;
    -moz-transition: background-color 100ms linear;
    -o-transition: background-color 100ms linear;
    -ms-transition: background-color 100ms linear;
    transition: background-color 100ms linear;
    z-index: 2;
}
.cards_module .call-to-action .item:hover:before {
    background-color: rgba(000, 000, 000, 0);
}
.cards_module .item a {
    color: initial;
    text-decoration: none;
}
/* .cards_module .items-list { */
/* margin-top: 35px; */
/* display: grid; */
/* grid-template-columns: calc(25% - 3rem) calc(25% - 3rem) calc(25% - 3rem) calc(25% - 3rem); */
/* justify-content: space-between; */
/* column-gap: 25px; */
/* row-gap: 35px; */
/* flex-wrap: wrap; */
/* } */

.cards_module .item:not(.employee) .itemtext {
    padding: 3.2rem;
    border: none;
    background-color: var(--clr7, #f5f5f5);
    border-radius: 1.2rem;
    transition: var(--animtime1);
}

.cards_module .item:not(.employee) a .item-card-inner {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 1s;
    transition-timing-function: cubic-bezier(0.03, 0.98, 0.52, 0.99);
    will-change: transform;
    animation-duration: 1s;
    animation-timing-function: cubic-bezier(0.03, 0.98, 0.52, 0.99);
}

.cards_module .item:not(.employee) a .item-card-inner .arrow {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 1s;
    transition-timing-function: cubic-bezier(0.03, 0.98, 0.52, 0.99);
    will-change: transform;
    animation-duration: 1s;
    animation-timing-function: cubic-bezier(0.03, 0.98, 0.52, 0.99);
}

.cards_module .item:not(.employee) a:hover .item-card-inner {
    transform: translate(0, 0) rotate(0) skewX(0) skewY(0) scaleX(0.97)
        scaleY(0.97);
}

.cards_module .item:not(.employee) a:hover .item-card-inner .arrow {
    transform: translate(0, 0) rotate(0) skewX(0) skewY(0) scaleX(1.25)
        scaleY(1.25);
}

/* .cards_module .item:not(.employee) a:hover .itemtext, */
.cards_module .item:not(.employee) a:focus-visible .itemtext {
    background-color: var(--clr6, #ededed);
}

/* .cards_module .item:not(.employee) a:hover .arrow, */
.cards_module .item:not(.employee) a:focus-visible .arrow {
    background-color: var(--clr5, #dbdbdb);
}

.cards_module .item:not(.employee) {
    overflow: visible;
}

.cards_module .item:not(.employee) a:focus-visible {
    outline: auto;
}

.cards_module .employee .itemtext {
    padding: 0.8rem 0 0;
    border: none;
}

.cards_module .item:not(.employee).card_witharrow_withmedia .itemtext {
    border-radius: 0 0 1.2rem 1.2rem;
}

.cards_module .item:not(.employee) .itemtext h3 {
    font-size: calc(var(--fontsize_h4) * var(--text-scaler));
    line-height: calc(var(--lineh_h4) * var(--text-scaler));
    margin: 0 0 1.6rem;
}

.cards_module .employee .itemtext h3 {
    font-size: var(--Typeface-Size-Miscellaneous-SubH1, 2rem);
    line-height: var(--Typeface-Size-Line-height-SubH1, 2.8rem);
    margin: 0;
}

.cards_module .itemtext .employee_phone,
.cards_module .itemtext .employee_email {
    margin: 0;
}

.cards_module .itemtext .employee_phone a,
.cards_module .itemtext .employee_email a {
    background-image: linear-gradient(
        var(--Gray-100, #0a0a0a),
        var(--Gray-100, #0a0a0a)
    );
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: 100% 0%; /* start hidden */
    transition: background-size 0.3s ease, color 0.3s ease;
    text-underline-offset: 0.15em;
    text-decoration-color: #0a0a0a;
    text-decoration: underline;
}

.cards_module .itemtext .employee_phone a:hover,
.cards_module .itemtext .employee_email a:hover {
    background-size: 100% 100%;
    color: #fff;
}

.cards_module .itemtext h3 a:hover {
    text-decoration: underline;
}

.cards_module .itemtext p {
    margin: 0 0 1.6rem;
}

.cards_module .itemtext .arrow {
    height: 4.8rem;
    width: 4.8rem;
    border-radius: 50%;
    margin: auto 0 0 auto;
    background-color: var(--clr6, #ededed);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath fill='%230A0A0A' d='M1.824 8.27h11.772L9.978 4.634 12.012 2.6l5.886 5.904v2.61L12.012 17l-2.034-2.034 3.654-3.636H1.824V8.27Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 2rem 2rem;
    transition: var(--animtime1);
    cursor: pointer;
}
.cards_module .call-to-action .itemtext {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 1.5rem;
    z-index: 3;
    border: 0;
}
.cards_module .media,
.cards_module .media figure {
    width: 100%;
    height: 21rem;
}
.cards_module .call-to-action .media,
.cards_module .call-to-action .media figure {
    height: 40rem;
}
.cards_module .media img,
.cards_module .media video {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    object-fit: cover;
    object-position: center;
}
@media screen and (max-width: 1000px) {
    .cards_module .items-top-content h2 {
        margin: 0 0 2.4rem;
    }
    .cards_module .item {
        flex-basis: calc(100%);
    }
    .cards_module .items-list {
        column-gap: 0;
    }
}
