.advCont {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 24px;
}

.advCont {
    margin: 60px auto 40px auto;
}

.advCard {
    position: relative;
}

.advCard a {
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 5;
}

.advCardText {
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 5;
}

.advCard img {
    width: 100%;
}

.advCardText h3 {
    color: #2A2B2E;
    font-size: 20px;
    font-weight: 700;
    line-height: 150%;
}

.advCardText span {
    display: flex;
    align-items: center;
    margin-top: 6px;
    color: #0175E8;
    font-size: 14px;
    font-weight: 400;
    line-height: 150%;
}

.advCardText span::after {
    content: '';
    background-image: url(./arrow.svg);
    width: 24px;
    height: 24px;
    background-size: cover;
    display: block;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.advCard:hover .advCardText span::after {
    transform: translateX(10px);
}

@media screen and (max-width: 451px) {
    .advCont {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 24px;
    }
    .advCardText {
        padding-right: 100px;
    }
    .advCont {
        margin-top: 40px;
    }
}