section.hover-cards {
    padding: 80px 0;
    background: var(--dark-blue);
}

/*titles*/

.hover-cards__pre-title,
.hover-cards__title {
    color: var(--white);
}
.hover-cards__title {
    font-size: 26px;
}

/*cards*/

.hover-cards__cards {
    margin-top: 60px;

    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: start;
    align-items: stretch;
}

/*card*/

.hover-cards__card {
    position: relative;
    min-height: 400px;

    flex: 0 0 calc(33% - 18px);
    max-width: calc(33% - 18px);
    overflow: hidden;

    transition: all 0.2s ease;
}
.hover-cards__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/*background*/

.hover-cards__card__background {
    position: absolute;
    z-index: 1;
    inset: 0;
    width: 100%;
    height: 100%;
}
.hover-cards__card__background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
}

.hover-cards__card__background__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #002d3de6, #002d3d55);
}

.hover-cards__card__background__overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 38, 51, 0.1) 0%, rgba(0, 38, 51, 0.8) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.hover-cards__card:hover .hover-cards__card__background__overlay::after {
    opacity: 1;
}

/*content*/

.hover-cards__card__content {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 35px;

    display: flex;
    gap: 15px;
    flex-direction: column;
    justify-content: end;
    align-items: stretch;
}

h3.hover-cards__card__title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
}

.hover-cards__card__blurb {
    font-size: 15px;
    color: var(--white);
}

a.hover-cards__card__link-text {
    width: fit-content;
    border-bottom: 1px solid transparent;

    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;

    display: flex;
    justify-content: start;
    align-items: center;

    cursor: pointer;
    transition: all 0.2s ease;
}
a.hover-cards__card__link-text:hover {
    letter-spacing: 0.6px;
    color: var(--orange);
    border-bottom: 1px solid var(--orange);
}

a.hover-cards__card__link-text .icon {
    transform: rotate(180deg);
}
a.hover-cards__card__link-text .icon svg path {
    fill: none;
    stroke-width: 4px;
    stroke: var(--orange);
}

@media (max-width: 992px) {
    .hover-cards__card {
        flex: 0 0 calc(50% - 30px);
        max-width: calc(50% - 30px);
    }
}

@media (max-width: 768px) {
    section.hover-cards {
        padding: 60px 20px;
    }

    .hover-cards__card {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
