/*
|--------------------------------------------------------------------------
| HOME CASE SECTION
|--------------------------------------------------------------------------
*/

.home-case-study-section {

    padding:
        120px 0;
}


/*
|--------------------------------------------------------------------------
| HOME CASE HEADING
|--------------------------------------------------------------------------
*/

.home-case-heading {

    margin-bottom: 56px;

    overflow: visible;
}


/*
|--------------------------------------------------------------------------
| EYEBROW
|--------------------------------------------------------------------------
*/

.home-case-heading span {

    display: inline-block;

    position: relative;

    font-size: 13px;

    font-weight: 500;

    line-height: 1.8;

    letter-spacing: .12em;

    text-transform: uppercase;

    color: #A58B75;

    margin-bottom: 14px;

    overflow: visible;

    vertical-align: middle;
}


/*
|--------------------------------------------------------------------------
| TITLE
|--------------------------------------------------------------------------
*/

.home-case-heading h2 {

    font-size: 48px;

    line-height: 1.18;

    letter-spacing: -.02em;

    color: #1A1A1A;

    margin: 0;
}


/*
|--------------------------------------------------------------------------
| HOME GRID
|--------------------------------------------------------------------------
*/

.case-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 28px;
}


/*
|--------------------------------------------------------------------------
| HOME SMALL CARD
|--------------------------------------------------------------------------
*/

.home-case-card {

    background: #FFFFFF;

    border: 1px solid #E6E6E6;

    border-radius: 18px;

    overflow: hidden;

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}


.home-case-card:hover {

    transform: translateY(-4px);

    box-shadow:
        0 10px 30px rgba(0,0,0,.05);
}


.home-case-card a {

    display: block;

    text-decoration: none;

    color: inherit;
}


/*
|--------------------------------------------------------------------------
| CARD IMAGE
|--------------------------------------------------------------------------
*/

.home-case-card-image {

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #F4F2EE;
}


.home-case-card-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform .5s ease;
}


.home-case-card:hover img {

    transform: scale(1.03);
}


/*
|--------------------------------------------------------------------------
| CARD CONTENT
|--------------------------------------------------------------------------
*/

.home-case-card-content {

    padding: 22px;
}


/*
|--------------------------------------------------------------------------
| CARD TAG
|--------------------------------------------------------------------------
*/

.home-case-card-tag {

    display: inline-flex;

    align-items: center;

    padding:
        6px 12px;

    border-radius: 999px;

    background: #F0EFEC;

    color: #6B7280;

    font-size: 12px;

    font-weight: 500;

    letter-spacing: .06em;

    margin-bottom: 16px;
}


/*
|--------------------------------------------------------------------------
| CARD TITLE
|--------------------------------------------------------------------------
*/

.home-case-card-title {

    font-size: 22px;

    line-height: 1.4;

    color: #1A1A1A;

    margin-bottom: 12px;
}


/*
|--------------------------------------------------------------------------
| CARD SUBTITLE
|--------------------------------------------------------------------------
*/

.home-case-card-subtitle {

    font-size: 15px;

    line-height: 1.8;

    color: #666666;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;
}


/*
|--------------------------------------------------------------------------
| TABLET
|--------------------------------------------------------------------------
*/

@media (max-width: 1024px) {

    .case-grid {

        grid-template-columns: repeat(2, 1fr);
    }

}


/*
|--------------------------------------------------------------------------
| MOBILE
|--------------------------------------------------------------------------
*/

@media (max-width: 768px) {

    .home-case-study-section {

        padding:
            80px 0;
    }

    .home-case-heading h2 {

        font-size: 36px;
    }

    .case-grid {

        grid-template-columns: 1fr;
    }

}