/* =========================================
   GRID
   Columns + Gap are controlled by Elementor
   ========================================= */
.vhrt-grid {
    width: 100%;


    

}



/* =========================================
   CARD
   ========================================= */

.vhrt-grid .card {
    width: 100%;
    min-height: 620px;
    height:100%;

    position: relative;
    display: flex;
    flex-direction: column;

    overflow: hidden;

    background: #ffffff;
    border: 1px solid #d8d8d8;

    box-sizing: border-box;
    min-width: 0;
}


/* =========================================
   IMAGE
   ========================================= */

.vhrt-grid .card .vhr-card__image {
    width: 100%;
    height: 330px;

    flex: 0 0 330px;

    overflow: hidden;
    box-sizing: border-box;
}

.vhrt-grid .card .vhr-card__image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* =========================================
   CONTENT
   ========================================= */

.vhrt-grid .card .card-content {
    width: 100%;
    flex: 1 1 auto;

    padding: 32px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    box-sizing: border-box;
    min-width: 0;
}


/* =========================================
   TITLE
   ========================================= */

.vhrt-grid .card .card-title {
    margin: 0 0 14px;

    color: #12366f;

    font-size: 24px;
    line-height: 1.3;
    font-weight: 600;
}


/* =========================================
   PRIMARY TEXT
   ========================================= */

.vhrt-grid .card .card-primary-text {
    margin: 0;

    color: #56606e;

    font-size: 16px;
    line-height: 1.6;
}


/* =========================================
   SHOW MORE
   ========================================= */

.vhrt-grid .card .show-more-trigger {
    display: inline-block;

    margin-top: auto;

    color: #12366f;

    font-size: 16px;
    font-weight: 600;

    cursor: pointer;

    position: relative;
    z-index: 20;
}


/* =========================================
   FULL CARD OVERLAY
   ========================================= */

.vhrt-grid .card .card-secondary-text {
    position: absolute;

    inset: 0;

    width: 100%;
min-height: 620px;
    height:100%;
    box-sizing: border-box;

    padding: 35px;

    background: #f5f5f5;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    overflow-y: auto;
    overflow-x: hidden;

    transform: translateY(100%);
    opacity: 0;

    pointer-events: none;

    z-index: 50;

    transition:
        transform 0.45s cubic-bezier(0.25, 1, 0.5, 1),
        opacity 0.3s ease;
}

/* =========================================
   HOVER
   ========================================= */

.vhrt-grid .card .show-more-trigger:hover + .card-secondary-text,
.vhrt-grid .card .card-secondary-text:hover {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}


/* =========================================
   OVERLAY TEXT
   ========================================= */

.vhrt-grid .card .card-secondary-text p {
    margin: 0 0 18px;

    color: #56606e;

    font-size: 16px;
    line-height: 1.6;
}

.vhrt-grid .card .card-secondary-text ul,
.vhrt-grid .card .card-secondary-text ol {
    margin: 0 0 20px;
    padding-left: 20px;
}

.vhrt-grid .card .card-secondary-text li {
    margin-bottom: 10px;

    color: #56606e;

    font-size: 16px;
    line-height: 1.5;
}


/* =========================================
   BUTTON
   ========================================= */

.vhrt-grid .card .card-secondary-text a {
    display: inline-block;

    align-self: flex-start;

    margin-top: auto;

    padding: 12px 22px;

    background: #12366f;
    color: #ffffff !important;

    font-size: 15px;
    line-height: 1.2;
    font-weight: 600;

    text-decoration: none;

    border-radius: 0;

    transition:
        background-color 0.3s ease,
        transform 0.3s ease;
}

.vhrt-grid .card .card-secondary-text a:hover {
    transform: translateY(-2px);
}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 1024px) {

    .vhrt-grid .card {
        height: 560px;
    }

    .vhrt-grid .card .vhr-card__image {
        height: 280px;
        flex-basis: 280px;
    }

    .vhrt-grid .card .card-content {
        padding: 28px;
    }

    .vhrt-grid .card .card-title {
        font-size: 22px;
    }

    .vhrt-grid .card .card-primary-text,
    .vhrt-grid .card .card-secondary-text p,
    .vhrt-grid .card .card-secondary-text li {
        font-size: 15px;
    }

    .vhrt-grid .card .card-secondary-text {
        padding: 28px;
    }
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 767px) {

    .vhrt-grid .card {
        height: auto;
        min-height: 520px;
    }

    .vhrt-grid .card .vhr-card__image {
        height: 260px;
        flex-basis: 260px;
    }

    .vhrt-grid .card .card-content {
        min-height: 260px;
        padding: 24px;
    }

    .vhrt-grid .card .card-title {
        font-size: 21px;
    }

    .vhrt-grid .card .card-primary-text {
        font-size: 15px;
        line-height: 1.55;
    }

    .vhrt-grid .card .card-secondary-text {
        padding: 24px;
    }

    .vhrt-grid .card .card-secondary-text p,
    .vhrt-grid .card .card-secondary-text li {
        font-size: 15px;
        line-height: 1.55;
    }

    .vhrt-grid .card .card-secondary-text a {
        margin-top: 20px;
    }
}


/* =========================================
   SMALL MOBILE
   ========================================= */

@media (max-width: 480px) {

    .vhrt-grid .card {
        min-height: 480px;
    }

    .vhrt-grid .card .vhr-card__image {
        height: 220px;
        flex-basis: 220px;
    }

    .vhrt-grid .card .card-content {
        min-height: 240px;
        padding: 20px;
    }

    .vhrt-grid .card .card-title {
        font-size: 19px;
        margin-bottom: 10px;
    }

    .vhrt-grid .card .card-primary-text {
        font-size: 14px;
    }

    .vhrt-grid .card .card-secondary-text {
        padding: 20px;
    }
}









