/* Blog Listing Styles */
.blog-section {
    padding: 100px 0;
    background: #f7f6f2;
}

.blog-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    height: 100%;
    border: none;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.blog-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.blog-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-img-wrapper img {
    transform: scale(1.1);
}

.blog-content {
    padding: 25px;
}

.blog-date {
    font-size: 14px;
    color: #ff811f;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.blog-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2c3e50;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.blog-excerpt {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
}

.read-more-btn {
    color: #04736f;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.read-more-btn:hover {
    gap: 12px;
    color: #ff811f;
}

.blog-detail-hero {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background-size: cover;
    background-position: center;
    padding-top: 120px; /* Adjusted to balance the header space */
}

.blog-detail-hero h1 {
    font-size: 64px;
    font-weight: 800;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
    margin: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.blog-detail-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.blog-detail-meta {
    display: flex;
    justify-content: center;
    gap: 25px;
    font-size: 16px;
    font-weight: 500;
}

.blog-detail-meta span i {
    color: #ff811f;
    margin-right: 8px;
}

.blog-detail-section {
    padding: 80px 0;
    background: #fff;
}

.blog-article-wrapper {
    background: #fff;
    border-radius: 30px;
    padding: 0;
}

.blog-detail-content {
    font-size: 19px;
    line-height: 1.8;
    color: #333;
    font-family: 'Inter', sans-serif;
}

.blog-detail-content p {
    margin-bottom: 30px;
}

.blog-detail-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-top: 50px;
    margin-bottom: 25px;
    color: #2c3e50;
}

.blog-detail-section {
    padding: 60px 0;
    background: #fff;
}

.blog-article-wrapper {
    max-width: 900px;
    width: 100%;
}

.blog-post-title {
    font-size: 42px;
    font-weight: 800;
    color: #2c3e50;
    line-height: 1.2;
}

.social-icon-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon-btn:hover {
    transform: rotate(360deg);
}

.blog-article-wrapper {
    display: block;
}

.blog-detail-content {
    font-size: 20px;
    line-height: 1.9;
    color: #333;
    font-family: 'Inter', sans-serif;
}

.sidebar-widget .widget-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid #ff811f;
    color: #2c3e50;
}

@media (max-width: 991px) {
    .blog-sidebar {
        width: 100%;
        float: none;
        margin-left: 0;
        margin-bottom: 50px;
    }
    .blog-post-title {
        font-size: 32px;
    }
}
