/* Blog Page Styles */

.blog-main {
    min-height: calc(100vh - 200px);
}

/* Hero Section */
.blog-hero {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    padding: 80px 20px;
    text-align: center;
}

.blog-hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: #f5a623;
    margin-bottom: 15px;
}

.blog-hero p {
    font-size: 20px;
    color: #e0e0e0;
}

/* Blog Sections */
.blog-section {
    padding: 70px 20px;
    background: linear-gradient(135deg, #fff9e6 0%, #ffeebb 100%);
}


.blog-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Blog Posts */
.blog-post {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 40px;
}

.blog-post:last-child {
    margin-bottom: 0;
}

/* Certificate + Quick Facts Layout */
.blog-post-cert {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin: 28px 0 0;
}

.blog-post-image {
    max-width: 280px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
}

.blog-post-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Quick Facts */
.blog-quick-facts {
    flex: 1;
    background: linear-gradient(135deg, #fff9e6 0%, #ffeebb 100%);
    border-radius: 10px;
    padding: 22px 25px;
    border-left: 4px solid #f5a623;
    margin-top: 24px;
}

.blog-post-cert .blog-quick-facts {
    margin-top: 0;
}

.blog-quick-facts h4 {
    font-size: 15px;
    font-weight: 700;
    color: #8b6914;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.blog-quick-facts ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-quick-facts li {
    display: flex;
    flex-direction: column;
    font-size: 15px;
    color: #333;
    padding: 8px 0;
    border-bottom: 1px solid rgba(139, 105, 20, 0.12);
}

.blog-quick-facts li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.blog-quick-facts li span {
    font-size: 12px;
    font-weight: 600;
    color: #8b6914;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 2px;
}

/* What's Next */
.blog-whats-next {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 2px solid #f0f0f0;
}

.blog-whats-next h3 {
    margin-top: 0;
}

.blog-next-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.blog-next-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #8b6914;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-next-link:hover {
    color: #f5a623;
}

.blog-next-link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.blog-post-body {
    padding: 35px 40px 40px;
}

.blog-post-date {
    display: inline-block;
    font-size: 13px;
    color: #fff;
    font-weight: 600;
    background: linear-gradient(135deg, #f5a623 0%, #d4920a 100%);
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 18px;
}

.blog-post-body h2 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    line-height: 1.3;
    margin-bottom: 20px;
}

.blog-post-body h3 {
    font-size: 21px;
    font-weight: 700;
    color: #8b6914;
    margin-top: 28px;
    margin-bottom: 12px;
}

.blog-post-body p {
    font-size: 17px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 16px;
}

.blog-post-body p:last-of-type {
    margin-bottom: 0;
}

.blog-post-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    color: #fff;
    background: linear-gradient(135deg, #f5a623 0%, #d4920a 100%);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 166, 35, 0.4);
}

.blog-post-link svg {
    width: 16px;
    height: 16px;
}

/* CTA Section */
.blog-cta {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    padding: 70px 20px;
    text-align: center;
}

.blog-cta h2 {
    font-size: 32px;
    font-weight: 700;
    color: #f5a623;
    margin-bottom: 15px;
}

.blog-cta p {
    font-size: 18px;
    color: #e0e0e0;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #f5a623 0%, #d4920a 100%);
    color: #fff;
    padding: 15px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 166, 35, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 36px;
    }

    .blog-hero p {
        font-size: 18px;
    }

    .blog-section {
        padding: 50px 20px;
    }

    .blog-post-body {
        padding: 25px 20px 30px;
    }

    .blog-post-body h2 {
        font-size: 22px;
    }

    .blog-post-body h3 {
        font-size: 18px;
    }

    .blog-post-body p {
        font-size: 16px;
    }

    .blog-post-cert {
        flex-direction: column;
    }

    .blog-post-image {
        max-width: 100%;
    }

    .blog-next-link {
        font-size: 15px;
    }

    .blog-cta h2 {
        font-size: 26px;
    }
}
