/* Blog Content Section Styles - Complete */
.blog-content-section {
    background: white;
    padding: 80px 0;
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-main-heading {
    text-align: center;
    margin-bottom: 40px;
}

.blog-title-category {
    color: #FF6417;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.blog-main-title {
    color: #000;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.blog-subtitle {
    color: #666;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.blog-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 50px;
    align-items: start;
}

.main-blog-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.main-blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.blog-featured-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.blog-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.main-blog-card:hover .blog-featured-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 40px;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: #888;
    font-size: 0.9rem;
}

.blog-date {
    color: #FF6417;
    font-weight: 500;
}

.blog-content h2 {
    color: #222;
    font-size: 2.2rem;
    margin-bottom: 25px;
    line-height: 1.3;
}

.blog-intro {
    color: #444;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.blog-section-title {
    color: #222;
    font-size: 1.8rem;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #FF6417;
}

.blog-paragraph {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.blog-list {
    list-style: none;
    margin: 20px 0;
}

.blog-list li {
    padding: 10px 0;
    padding-left: 35px;
    position: relative;
    color: #333;
    font-size: 1.1rem;
    line-height: 1.6;
}

.blog-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #FF6417;
    font-weight: bold;
    font-size: 1.2rem;
}

.blog-tips-box {
    background: #fff8f3;
    border-left: 4px solid #FF6417;
    padding: 25px;
    margin: 30px 0;
    border-radius: 10px;
}

.blog-tips-box h4 {
    color: #FF6417;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.blog-tips-box p {
    color: #555;
    line-height: 1.7;
}

.blog-tips-box ul {
    margin: 10px 0 10px 20px;
}

.blog-tips-box ul li {
    color: #555;
    line-height: 1.7;
    margin-bottom: 5px;
}

.blog-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.blog-table th {
    background: #FF6417;
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.blog-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    color: #333;
}

.blog-table tr:nth-child(even) {
    background: #f9f9f9;
}

.blog-conclusion {
    background: #f5f5f5;
    padding: 30px;
    border-radius: 15px;
    margin-top: 40px;
}

.blog-conclusion h4 {
    color: #222;
    margin-bottom: 15px;
    font-size: 1.6rem;
}

.blog-conclusion p {
    color: #444;
    line-height: 1.8;
}

/* Sidebar Styles - Fixed Sticky */
.blog-sidebar {
    position: sticky;
    top: 30px;
    align-self: flex-start;
}

.sidebar-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.sidebar-card:last-child {
    margin-bottom: 0;
}

.sidebar-card h4 {
    color: #222;
    font-size: 1.4rem;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #FF6417;
}

/* Call to Action Card */
.cta-card {
    background: linear-gradient(135deg, #FF6417, #FF8E53);
    color: white;
    text-align: center;
}

.cta-card h5 {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.cta-card p {
    font-size: 0.95rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-light {
    background: white;
    color: #FF6417;
    border: none;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: block;
}

.btn-light:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline-light {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: block;
}

.btn-outline-light:hover {
    background: white;
    color: #FF6417;
    transform: translateY(-3px);
}

/* Author Card */
.author-card {
    text-align: center;
    background: linear-gradient(135deg, #fff8f3, #ffffff);
}

.author-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #FF6417;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-card h4 {
    color: #FF6417;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    border-bottom: none;
    padding-bottom: 0;
}

.author-card h5 {
    color: #222;
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.author-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Related Posts */
.post-item-link {
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

.post-item-link:hover {
    transform: translateX(5px);
}

.post-item-link:hover .post-content h6 {
    color: #FF6417;
}

.related-posts .post-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.related-posts .post-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.post-image {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f0f0f0;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-item-link:hover .post-image img {
    transform: scale(1.05);
}

.post-content {
    flex: 1;
}

.post-content h6 {
    color: #222;
    font-size: 0.95rem;
    margin-bottom: 5px;
    line-height: 1.4;
    font-weight: 600;
}

.post-date {
    color: #888;
    font-size: 0.75rem;
}

/* Resources List */
.resources-list {
    list-style: none;
}

.resources-list li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.resources-list li:last-child {
    border-bottom: none;
}

.resources-list a {
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.resources-list a:hover {
    color: #FF6417;
    padding-left: 8px;
}

.resources-list a i {
    color: #FF6417;
    font-size: 1rem;
    width: 20px;
}

/* Categories List */
.categories-list {
    list-style: none;
}

.categories-list li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.categories-list li:last-child {
    border-bottom: none;
}

.categories-list a {
    color: #333;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.categories-list a:hover {
    color: #FF6417;
    padding-left: 8px;
}

.categories-list span {
    color: #999;
    font-size: 0.8rem;
    background: #f5f5f5;
    padding: 2px 8px;
    border-radius: 20px;
}

/* Pagination Section */
.pagination-section {
    background: #f5f5f5;
    padding: 60px 0;
    text-align: center;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.page-link:hover {
    background: #FF6417;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 100, 23, 0.3);
}

.page-link.active {
    background: #FF6417;
    color: white;
    border-color: #FF6417;
}

.cta-section {
    text-align: center;
}

.cta-section p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.btn-primary {
    background: #FF6417;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(255, 100, 23, 0.3);
}

.btn-primary:hover {
    background: #e55a15;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 100, 23, 0.4);
}

/* Responsive Design */
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .blog-sidebar {
        position: static;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .blog-main-title {
        font-size: 2.5rem;
    }

    .blog-featured-image {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .blog-main-title {
        font-size: 2rem;
    }

    .blog-content h2 {
        font-size: 1.8rem;
    }

    .blog-section-title {
        font-size: 1.5rem;
    }

    .blog-content {
        padding: 30px;
    }

    .blog-table {
        display: block;
        overflow-x: auto;
    }

    .pagination {
        gap: 8px;
    }

    .page-link {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .sidebar-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .blog-main-title {
        font-size: 1.8rem;
    }

    .blog-featured-image {
        height: 250px;
    }

    .blog-content {
        padding: 20px;
    }

    .post-image {
        width: 65px;
        height: 65px;
    }

    .post-content h6 {
        font-size: 0.85rem;
    }

    .btn-primary {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

/* Animation Classes */
@keyframes elegantReveal {
    0% {
        opacity: 0;
        transform: translateY(100px) scale(0.8);
        filter: blur(10px);
    }
    50% {
        opacity: 0.8;
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(100px);
    transition: all 1s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}