/* ===================================
   BLOG PAGE STYLES
   =================================== */

/* Blog Header */
.blog-header {
    background: linear-gradient(rgba(26, 35, 50, 0.7), rgba(26, 35, 50, 0.7)), url('../images/gulmarg-thumb.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 40vh;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: var(--white);
    margin-top: 80px;
}

/* Blog Grid */
.blog-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* Blog Card */
.blog-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

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

.blog-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.blog-category {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-orange);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #888;
}

.blog-meta i {
    color: var(--primary-yellow);
    margin-right: 5px;
}

.blog-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 1.4;
    font-weight: 700;
}

.blog-card h3 a {
    color: var(--dark-navy);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card h3 a:hover {
    color: var(--primary-orange);
}

.blog-card p {
    color: var(--text-dark);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary-orange);
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.read-more i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.read-more:hover {
    color: var(--dark-navy);
    text-decoration: none;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.pagination a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 50%;
    color: var(--dark-navy);
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.pagination a.active,
.pagination a:hover {
    background: var(--primary-orange);
    color: var(--white);
    transform: translateY(-3px);
}

/* ===================================
   SINGLE BLOG POST STYLES
   =================================== */

.blog-single-section {
    padding: 60px 0;
    background-color: #fcfcfc;
}

.blog-layout {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 50px;
}

/* Main Content Area */
.blog-single-content {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.blog-single-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--dark-navy);
    line-height: 1.3;
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.blog-single-meta {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.blog-single-image {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
}

.blog-single-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Typography for Article */
.blog-content-body h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--dark-navy);
    margin: 35px 0 15px;
    font-family: var(--font-heading);
}

.blog-content-body h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--dark-navy);
    margin: 25px 0 15px;
    font-family: var(--font-heading);
}

.blog-content-body p,
.blog-content-body li {
    font-size: 17px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 15px;
}

.blog-content-body ul,
.blog-content-body ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.blog-content-body li {
    margin-bottom: 10px;
}

.blog-content-body blockquote {
    background: #fff9ed;
    border-left: 4px solid var(--primary-orange);
    padding: 20px;
    margin: 30px 0;
    font-style: italic;
    font-size: 18px;
    color: var(--dark-navy);
    border-radius: 0 8px 8px 0;
}

.soft-cta-box {
    background: linear-gradient(135deg, lighten(var(--primary-yellow), 45%) 0%, #fff 100%);
    border: 2px dashed var(--primary-yellow);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    margin: 40px 0;
}

.soft-cta-box h4 {
    color: var(--dark-navy);
    margin-bottom: 10px;
    font-size: 20px;
}

.btn-soft-cta {
    display: inline-block;
    background: var(--primary-orange);
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
    transition: all 0.3s;
}

.btn-soft-cta:hover {
    background: var(--dark-navy);
    transform: translateY(-2px);
}

/* Table of Contents */
.toc-box {
    background: #f8f9fa;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.toc-box summary {
    font-weight: 700;
    cursor: pointer;
    font-size: 18px;
    color: var(--dark-navy);
    margin-bottom: 10px;
}

.toc-box nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-box nav ul li a {
    text-decoration: none;
    color: #555;
    font-size: 15px;
    display: block;
    padding: 5px 0;
    transition: color 0.2s;
}

.toc-box nav ul li a:hover {
    color: var(--primary-orange);
}

/* Sidebar Widgets */
.sidebar-widget {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    margin-bottom: 30px;
    border: 1px solid #f0f0f0;
}

.sidebar-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-yellow);
    display: inline-block;
}

.sidebar-links li {
    list-style: none;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f5f5f5;
}

.sidebar-links li:last-child {
    border-bottom: none;
}

.sidebar-links a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    transition: color 0.3s;
}

.sidebar-links a:hover {
    color: var(--primary-orange);
}

.contact-card-sidebar {
    background: linear-gradient(135deg, var(--dark-navy) 0%, #2c3e50 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.contact-card-sidebar i {
    font-size: 40px;
    color: var(--primary-yellow);
    margin-bottom: 15px;
}

.contact-card-sidebar h4 {
    font-size: 22px;
    margin-bottom: 10px;
}

.btn-sidebar-call {
    display: inline-block;
    background: var(--primary-orange);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
    transition: all 0.3s;
}

.btn-sidebar-call:hover {
    transform: translateY(-3px);
    background: var(--white);
    color: var(--primary-orange);
}

/* Responsive */
@media (max-width: 991px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }

    .blog-single-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .blog-header {
        height: 30vh;
        margin-top: 60px;
    }

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

    .blog-image {
        height: 200px;
    }

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

    .blog-single-title {
        font-size: 24px;
    }
}