

/* ====== BLOG ========= */

.blog-banner {
    position: relative;
    overflow: hidden;
}

.blog-banner-image {
    width: 100%;
    height: 60vh;
    object-fit: cover;
    display: block;
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Blog List Page */
.blog-list-page {
    display: block;
}

.blog-list-page.hidden {
    display: none;
}

/* Blog Detail Page */
.blog-detail-page {
    display: none;
}

.blog-detail-page.active {
    display: block;
}

/* Featured Blog Detail Card */
.blog-featured-detail-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin: 10px 100px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.blog-detail-images {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    padding: 68px;
}

.blog-detail-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.blog-detail-main-title {
    color: #28a745;
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 25px;
    line-height: 1.4;
}

.blog-detail-section-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    margin-top: 25px;
}

.blog-detail-text {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 15px;
    text-align: justify;
}

/* View All Blogs Button */
.view-all-blogs-container {
    text-align: center;
    margin: 40px 0;
}

.view-all-blogs-btn {
    background-color: transparent;
    color: #28a745;
    border: 2px solid #28a745;
    padding: 12px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.view-all-blogs-btn:hover {
    background-color: #28a745;
    color: white;
}

/* Latest Blogs Grid */
.latest-blogs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.latest-blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.latest-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.latest-blog-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.latest-blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.latest-blog-card:hover .latest-blog-image img {
    transform: scale(1.05);
}

.latest-blog-content {
    padding: 20px;
}

.latest-blog-title {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}

.latest-blog-excerpt {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.latest-blog-link {
    color: #28a745;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
}

.latest-blog-link:hover {
    color: #218838;
}

.latest-blog-link::after {
    content: ' →';
    margin-left: 5px;
}

/* Blog Grid (All Blogs Page) */


.featured-blog-row {

    overflow: hidden;
}

.recent-blog-tag {
    color: var(--skv-theme-color);
    font-weight: 600;
    font-size: 0.95rem;
    margin-left: 0;
    /* Resetting any column padding influence */
}



.recent-blog-title {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
}

.recent-blog-excerpt {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    max-width: 90%;
}

.view-details-btn {
    background-color: var(--skv-button-color) !important;
    font-weight: 600;
    padding: 10px 30px;
    border-radius: 10px;
}

/* Image Column */
/* .featured-blog-images img {
    height:100%;
    text-align:end;
    border-radius: 20px;
    object-fit: cover;
} */

.featured-blog-images {
    /* height:100%; */
    /* height: 480px; */
    text-align: end;
    border-radius: 20px;
    object-fit: cover;
}


.blog-grid {
    display: grid;
    /* grid-template-columns: repeat(3, 1fr); */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    /* gap: 25px; */
    gap: 60px;
    margin-top: 30px;
    /* padding: 0 15px;  */
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    height: 100%;
    margin: 0px auto;

    /* width: 350px; */
    /* padding: 10px; */

}

.featured-blog-row {
    flex-direction: column-reverse
}

.featured-blog-images {
    /* height: 480px; */
    margin-top: 10px;
    margin-bottom: 10px;


}

.featured-blog-images img {
    height: 100%;
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
    /* padding: 20px; */
}

.blog-card-image {
    /* width:233px; */
    height: 312px;
    object-fit: cover;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
    transition: transform 0.3s ease;
    border-radius: 15px;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 25px;
}

.blog-card-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* number of lines to show */
    line-clamp: 2;
    -webkit-box-orient: vertical;

}

.view-details-link {
    color: #28a745;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
}

.view-details-link:hover {
    color: #218838;
    text-decoration: underline;
}

/* .view-details-link::after {
    content: ' →';
    margin-left: 5px;
} */

.back-btn {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 30px;
}

.back-btn:hover {
    background-color: #218838;
}

.page-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}
