.yorktown-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 80px 0px;
}

.yt-blog-card {
    background: #fff;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform .2s ease, box-shadow .2s;
}
.yt-content-area{
    padding: 25px;
}
.yt-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.yt-blog-thumbnail img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.yt-blog-date {
    font-size: 14px;
    color: #333333;
}

.yt-blog-title {
    margin: auto;
    font-size: 20px;
    font-weight: 700;
    color: #1f1f1f;
    text-transform: uppercase;
    line-height: 1.3;
    padding: 10px 0px 15px;
}

.yt-blog-excerpt {
    color: #1f1f1f;
    margin: auto;
    font-size: 14px;
    padding: 0px 0px 25px;
    border-bottom: 1px solid #dddddd;
}

.btn-blog-read{
    display: block;
    text-decoration: none;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: 0.4s;
    color: #1f1f1f;
    padding: 25px 0px 0px;
}
.btn-blog-read:hover{
    color: #009bc9;
}
.blog-single-page{
    padding: 40px 0px 60px;
}
.header-template{
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 60px 0px;
    height: 75vh;
    min-height: 500px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
}
.header-template:before{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 56%);
    top: 0px;
    left: 0px;
}
.header-template h1{
    position: relative;
    margin: auto;
    padding: 100px 0px 0px;
}
@media (max-width: 991px) {
    .yorktown-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .header-template h1{
        padding: 70px 0px 0px;
    }
    .blog-single-page {
        padding: 25px 20px 40px;
    }
    
    .header-template{
        padding: 60px 20px 40px;
    }
}

@media (max-width: 767px) {
    .yorktown-blog-grid {
        grid-template-columns: 1fr;
        padding: 40px 0px;
    }
    .yt-blog-thumbnail img{
        height: 220px;
    }
    .yt-blog-title{
        font-size: 18px;
    }
}