.action-section {
    padding: 0 0 80px;
}

.action-section.full-width .action-title {
    display: block;
}

.action-section .action-intro {
    display: flex;
}

.action-section .action-intro h2+p {
    margin-top: 20px;
}

.action-section .action-title {
    display: none;
}

.action-section.full-width .action-intro {
    display: none;
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.action-card {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    max-height: 340px;
}

.action-card:before {
    content: "";
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 26.62%, rgba(0, 0, 0, 0.8) 100%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 0;
    transition: 0.3s ease-in;
    transform: translateY(100%);
}

.action-card:hover:before {
    transform: translateY(0);
}

.action-card:hover:before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 100%);
}

.action-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hover-overlay {
    position: absolute;
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    border-radius: 14px;
    padding: 20px;
    overflow: hidden;
    transform: translateY(0);
}

.action-card .hover-overlay p {
    display: none;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.8);
    /* display: -webkit-box; */
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hover-overlay h4 {
    font-family: 'Aeonik';
    font-weight: 700;
    font-size: 22px;
    line-height: 26px;
    color: var(--white);
}

.hover-overlay .icon {
    width: 60px;
    height: 60px;
    display: block;
    margin-bottom: 10px;
}

.action-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.action-title {
    text-align: center;
}

.action-grid+.extra-content {
    margin-top: 40px;
}

.page_content+.action-section {
    margin-top: -30px;
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 15px 20px;
    margin-top: 40px;
}

@media (max-width: 991px) {
    .action-grid {
        grid-template-columns: 1fr;
        grid-template-columns: repeat(2, 1fr);
    }
    .action-section {
        padding: 0 0 60px;
    }
    .action-card {
        border-radius: 15px;
    }
}

@media (max-width: 768px) {
    .page_content+.action-section {
        margin-top: 0;
    }
    .action-section {
        padding: 0 0 40px;
    }
    .action-grid {
        grid-template-columns: 1fr;
    }
    .hover-overlay {
        padding: 15px;
    }
    .hover-overlay h4 {
        font-size: 18px;
        line-height: 22px;
    }
    .hover-overlay .icon {
        width: 40px;
        height: 40px;
    }
    .action-card {
        border-radius: 10px;
    }
    .action-grid+.extra-content {
        margin-top: 20px;
    }
    .action-intro {
        text-align: center;
    }
    .action-section .action-intro h2+p {
        margin-top: 10px;
    }
    .action-buttons {
        gap: 10px;
        margin-top: 20px;
    }
}

@media (max-width: 360px) {
    .action-card {
        border-radius: 10px;
        min-height: 300px;
    }
}

@media screen and (min-width: 991px) and (max-width: 1250px) {
    .action-card {
        min-height: 420px;
    }
}