:root {
    --primary-theme-color: #123955;
    --accent-color: #FEC43F;
}

.blog header, .single-post header {
    background-color: var(--primary-theme-color) !important;
    background-image: none !important;
}
.blog-page a:hover, .single-post a:hover{
    color: var(--accent-color);
}
.blog-page a:focus, .single-post a:focus{
    outline: none !important;
}
.excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.page-title {
    font-size: 50px;
    font-weight: 700;
    margin-bottom: 30px;
}

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

.blog-page {
    padding-top: 200px;
    padding-bottom: 100px
}

.blog-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .08);
    transition: transform .3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.blog-card-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 250px;
    padding: 20px;
}

.post-meta {
    color: #777;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}
.post-meta img {
    max-width: 20px;
    height: 20px;
}
.meta-item {
    display: flex;
    gap: 5px;
    align-items: center;
}
.meta-item b, .meta-item strong{
    font-weight: 700;
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    text-decoration: none;
    font-weight: 600;
}

/* ===== Pagination ===== */
.pagination {
    text-align: center;
    margin-top: 100px;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 5px 14px;
    margin: 5px;
    border: 1px solid #f1f1f1;
    border-radius: 5px;
    color: var(--primary-theme-color);
    text-decoration: none;
    transition: 0.2s ease;
}

.pagination a:hover,
.pagination .current {
    background-color: var(--primary-theme-color);
    color: #fff;
    border-color: var(--primary-theme-color);
}

/* ====================================
   Responsive
==================================== */

@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 768px) {
    .blog-page{
        padding-bottom: 50px;
    }
    .page-title {
        font-size: 30px;
        line-height: 40px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* ====================================
   Single Post Layout
==================================== */

.single-layout {
    max-width: 1320px;
    margin: 0 auto;
    padding: 250px 10px 100px 10px;
}

.post-thumbnail{
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
}
.post-thumbnail img {
    width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    margin-bottom: 40px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.post-navigation a {
    color: #0f3757;
    transition: 0.2s ease;
}

/* ====================================
   Responsive
==================================== */

@media (max-width: 768px) {
    .single-layout{
        padding: 200px 10px 50px 10px;
    }
    .post-thumbnail{
        float: none;
        margin-right: 0;
    }
    .post-thumbnail img {
        width: 100%;
        height: 300px;
    }
}