/* Blog Page Specific Styles */

/* Professional Educational Blog Style */
.blog-page {
    font-family: 'Inter', 'Segoe UI', 'Roboto', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #fafbfc;
}

/* Ensure header maintains consistent styling on blog pages - same as homepage */
.blog-page .header {
    background-color: var(--primary-blue);
    color: var(--white) !important;
}

.blog-page .nav-container {
    color: var(--white) !important;
}

.blog-page .logo-text h1,
.blog-page .logo-text p {
    color: var(--white) !important;
}

.blog-page .nav-link {
    color: var(--white) !important;
}

/* Clean Article Layout */
.blog-article {
    padding-top: 0;
    background-color: #ffffff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.04);
}

/* Professional Header Section */
.blog-header {
    width: 100%;
    height: 350px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    position: relative;
    border-bottom: 1px solid #e9ecef;
}

.blog-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Clean Content Container */
.blog-content {
    background-color: var(--white);
    padding: 0;
    max-width: 850px;
    margin: 0 auto;
    position: relative;
}

/* Professional Meta Information */
.blog-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 40px 0 50px 0;
    padding: 0 60px;
    flex-wrap: wrap;
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
}

.article-date {
    color: var(--text-gray);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 8px 16px;
    background-color: #f8f9fa;
    border-radius: 20px;
    border: 1px solid #e9ecef;
}

.article-category {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Professional Title Styling */
.blog-title {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 30px 0;
    color: #2c3e50;
    padding: 0 60px;
    letter-spacing: -0.02em;
}

/* Clean Author Section */
.blog-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0 0 50px 0;
    padding: 0 60px 40px 60px;
    border-bottom: 2px solid #f1f3f4;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-orange));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-name {
    font-weight: 600;
    font-size: 1rem;
    color: #2c3e50;
}

.author-role {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Clean Professional Blog Body */
.blog-body {
    padding: 0 60px 60px 60px;
}

.blog-body h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 60px 0 25px 0;
    color: #2c3e50;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.blog-body h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 50px 0 20px 0;
    color: #34495e;
    line-height: 1.4;
}

.blog-body h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 40px 0 15px 0;
    color: #2c3e50;
    line-height: 1.4;
}

.blog-body p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 24px;
    color: #4a4a4a;
    text-align: left;
}

.blog-body p:first-of-type {
    font-size: 1.15rem;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 28px;
    line-height: 1.6;
}

/* Professional List Styling */
.blog-body ul,
.blog-body ol {
    margin: 30px 0;
    padding-left: 0;
}

.blog-body li {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 12px;
    color: #4a4a4a;
    list-style: none;
    padding-left: 24px;
    position: relative;
}

.blog-body ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-orange);
    font-weight: bold;
    font-size: 1.2rem;
    top: 0;
}

.blog-body ol {
    counter-reset: item;
}

.blog-body ol li {
    counter-increment: item;
    padding-left: 30px;
}

.blog-body ol li::before {
    content: counter(item) ".";
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1rem;
    top: 0;
}

.blog-body strong {
    font-weight: 600;
    color: #2c3e50;
}

/* Professional Content Sections */
.career-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.career-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s ease;
}

.career-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.career-item h4 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.career-item ul {
    margin: 0;
    padding-left: 0;
}

.career-item li {
    font-size: 1rem;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.career-item li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-orange);
    font-weight: bold;
}

.skills-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin: 50px 0;
}

.skills-category {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.skills-category h4 {
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: left;
}

.skills-category ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.skills-category li {
    font-size: 1rem;
    margin-bottom: 10px;
    padding: 8px 0 8px 24px;
    position: relative;
    border-bottom: 1px solid #f8f9fa;
}

.skills-category li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: 600;
    font-size: 1rem;
    top: 8px;
}

.skills-category li:last-child {
    border-bottom: none;
}

.timeline-section {
    margin: 40px 0;
}

.timeline-item {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid var(--accent-orange);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.timeline-item h4 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.limitations-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.limitation-item {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.limitation-item h4 {
    color: #dc3545;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.guidelines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.guideline-item {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.guideline-item h4 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.guideline-item p {
    margin-bottom: 15px;
    font-weight: 500;
}

.future-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.future-item {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.future-item h4 {
    color: #28a745;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Professional CTA Sections */
.blog-cta {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    color: #2c3e50;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    margin: 60px 0;
}

.blog-cta h3 {
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-size: 1.6rem;
    font-weight: 700;
}

.blog-cta p {
    color: #4a4a4a;
    margin-bottom: 25px;
    font-size: 1.05rem;
    line-height: 1.6;
}

.blog-cta .cta-button {
    background-color: var(--accent-orange);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: inline-block;
    margin: 10px;
    border: none;
    cursor: pointer;
}

.blog-cta .cta-button:hover {
    background-color: #e67e00;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 140, 0, 0.3);
}

/* Conclusion Box Styling */
.conclusion-box {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
    border: 2px solid var(--primary-blue);
    border-radius: 16px;
    padding: 40px;
    margin: 50px 0;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 64, 255, 0.1);
}

.conclusion-box::before {
    content: '💡';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    padding: 10px;
    border-radius: 50%;
    font-size: 1.5rem;
}

.conclusion-box h3 {
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-size: 1.6rem;
    font-weight: 700;
}

.conclusion-box p {
    color: #2c3e50;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

.conclusion-box a {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.conclusion-box a:hover {
    border-bottom-color: var(--primary-blue);
}

/* Professional Responsive Design */
@media (max-width: 768px) {
    .blog-page {
        font-size: 16px;
        line-height: 1.6;
    }
    
    .blog-header {
        height: 250px;
    }
    
    .blog-title {
        font-size: 2rem;
        line-height: 1.3;
        padding: 0 30px;
    }
    
    .blog-meta {
        padding: 0 30px;
        gap: 15px;
    }
    
    .blog-author {
        padding: 0 30px 30px 30px;
    }
    
    .blog-body {
        padding: 0 30px 40px 30px;
    }
    
    .career-grid,
    .skills-section,
    .future-section,
    .limitations-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .blog-cta {
        padding: 30px 25px;
        margin: 50px 0;
    }
    
    .blog-cta .cta-button {
        display: block;
        margin: 10px auto;
        text-align: center;
        width: 80%;
        max-width: 300px;
    }
    
    .blog-body h2 {
        font-size: 1.7rem;
    }
    
    .blog-body h3 {
        font-size: 1.3rem;
    }
    
    .blog-body p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .blog-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .blog-title {
        font-size: 1.7rem;
    }
    
    .blog-author {
        flex-direction: column;
        text-align: left;
        gap: 10px;
    }
    
    .career-item,
    .skills-category,
    .guideline-item,
    .future-item,
    .timeline-item,
    .limitation-item {
        padding: 20px;
    }
    
    .blog-body {
        padding: 0 20px 40px 20px;
    }
}

/* Professional Conclusion Box Styling */
.conclusion-box {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 30px;
    margin: 40px 0;
    text-align: left;
}

.conclusion-box h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
}

.conclusion-box p {
    color: #4a4a4a;
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

.conclusion-box a {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
}

.conclusion-box a:hover {
    text-decoration: underline;
}

/* Professional Print Styles */
@media print {
    .blog-cta {
        background: none !important;
        color: #2c3e50 !important;
        border: 1px solid #e9ecef !important;
        box-shadow: none !important;
    }
    
    .blog-cta .cta-button {
        display: none !important;
    }
    
    .conclusion-box {
        background: none !important;
        border: 1px solid #e9ecef !important;
        box-shadow: none !important;
    }
}
