/* Blog Details Screen - Industrial Standard High Fidelity */

.blog-details-hero {
    position: relative;
    width: 100%;
    background: url('../images/landing/blog/blog-bg.png');
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding: 220px var(--desktop-padding) 64px var(--desktop-padding);
    color: #FFFFFF;
}

.blog-hero-wrapper {
    width: 100%;
    margin: auto;

    max-width: var(--max-width);
}

.blog-hero-content {
    text-align: left;
    width: 100%;
}


.blog-details-hero h1 {
    font-family: 'Inter_28pt-SemiBold';
    font-size: 56px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #FFFFFF;
    width: 100%;
    max-width: 800px;

}

.blog-hero-desc {
    font-family: 'Inter_28pt-Regular';
    font-size: 20px;
    line-height: 1.6;
    color: #E5E7EB;
    margin-bottom: 20px;
    max-width: 700px;
    width: 100%;
    max-width: 850px;
}

.blog-meta-wrapper {
    display: flex;
    align-items: center;
    gap: 24px;
    font-family: 'Inter_28pt-Regular';
    font-size: 14px;
    color: #D1D5DB;
}

.blog-read-time {
    display: flex;
    align-items: center;
    gap: 9px;
}

.blog-read-time img {
    width: 14px;
    height: 14px;
}

.blog-read-time span,
.blog-share-icons span {
    font-size: 16px;
}

.blog-share-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-share-icons span {
    margin-right: 4px;
}

.hori-rule {
    height: 1px;
    width: 20px;
    background-color: white;
}

.share-link {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.share-link:hover {
    transform: scale(1.1);
}

.share-link img {
    width: 100%;
    height: 100%;
}

/* Main Layout Area */
.blog-content-wrapper {
    padding: 80px var(--desktop-padding);
    background-color: #F7F7F7;
}

.blog-content-wrapper-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;

}

.blog-article-content {
    font-family: 'Inter_28pt-Regular';
    color: #252525;
}

.blog-article-content h2 {
    font-family: 'Inter_28pt-SemiBold';
    font-size: 32px;
    color: #121416;
    margin-bottom: 12px;
}

.blog-article-content h2:first-of-type {
    margin-top: 0;
}

.blog-article-content p {
    font-family: 'Inter_28pt-Regular';
    font-size: 16px;
    line-height: 1.6;
    color: #121416;
    margin-bottom: 20px;
}

.blog-article-content p:has(+ ul),
.blog-article-content p:has(+ ol) {
    margin-bottom: 0px;
}

.blog-article-content strong {
    font-family: 'Inter_28pt-SemiBold';
}

.blog-article-content ul {
    margin-top: 0;
    margin-bottom: 12px;
    padding-left: 20px;
}

.blog-article-content ul:has(+ strong),
.blog-article-content ul:has(+ p) {
    margin-bottom: 2px;
}

.blog-article-content strong {
    font-family: 'Inter_28pt-SemiBold';
    display: inline-block;
}

.blog-article-content strong+p {
    margin-top: 4px;
}

.blog-article-content li {
    font-family: 'Inter_28pt-Regular';
    font-size: 16px;
    line-height: 1.4;
    color: #4B5563;
    margin-bottom: 0px;
}

/* Premium Table Styling */
.table-container {
    width: 100%;
    overflow-x: auto;
    margin: 32px 0;
    border-radius: 8px;
    border: 1px solid #EDEDED;
}

.blog-article-content table {
    width: 100%;
    border-collapse: collapse;
    background: #FFFFFF;
    font-family: 'Inter_28pt-Regular';
    font-size: 14px;
}

.blog-article-content th {
    background-color: #F9FAFB;
    color: #111827;
    font-family: 'Inter_28pt-SemiBold';
    text-align: left;
    padding: 16px;
    border-bottom: 2px solid #EDEDED;
}

.blog-article-content td {
    padding: 16px;
    border-bottom: 1px solid #EDEDED;
    color: #374151;
    line-height: 1.5;
}

.blog-article-content tr:last-child td {
    border-bottom: none;
}

.blog-article-content tr:nth-child(even) {
    background-color: #FAFAFA;
}

.blog-article-content td strong {
    color: #111827;
}

/* Sidebar Styling */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

/* Main Content Flow Components */
.blog-cta-card {
    background: linear-gradient(rgba(10, 10, 10, 0.85), rgba(10, 10, 10, 0.85)),
        url('../images/landing/blog/blog-bg.png');
    background-size: cover;
    background-position: center;
    padding: 16px;
    border-radius: 8px;
    text-align: left;
    color: #FFFFFF;
}

.blog-cta-card h4 {
    font-family: 'Inter_28pt-SemiBold';
    font-size: 20px;
    margin-bottom: 8px;
    line-height: 1.6;
    color: #FDFDFD;
}

.blog-cta-card p {
    font-family: 'Inter_28pt-Regular';
    font-size: 16px;
    color: #FDFDFD;
    margin-bottom: 12px;
    line-height: 1.6;
}

.blog-cta-btn {
    display: block;
    width: 100%;
    padding: 16px;
    background: #FFFFFF;
    color: #1452CA;
    text-align: left;
    text-decoration: none;
    font-family: 'Inter_28pt-SemiBold';
    font-size: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.blog-cta-btn:hover {
    background: #F3F4F6;
}

.blog-cta-note {
    font-size: 14px;
    color: #EDEDED;
    text-align: left;
    margin: 0px !important;
}

.sidebar-section-title {
    font-family: 'Inter_28pt-Regular';
    font-size: 16px;
    color: #121416;
    margin-bottom: 12px;
}

.related-articles-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.related-article-item {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background-color: white !important;
    border: 1px solid #EDEDED;
    border-radius: 8px;
    padding: 16px;
}

.related-article-item h5 {
    font-family: 'Inter_28pt-Regular';
    font-size: 16px;
    color: #252525;
    line-height: 1.6;
    transition: color 0.2s;
}

.related-article-item:hover h5 {
    color: var(--secondary-color);
}

.related-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter_28pt-Regular';
    font-size: 16px;
    color: #737373;
}

.dot-separator {
    width: 3px;
    height: 3px;
    background: #D1D5DB;
    border-radius: 50%;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .blog-content-wrapper-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .blog-article-content h2 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .blog-article-content p {
        font-size: 14px;
    }

    .blog-details-hero {
        padding: 60px var(--mobile-padding);
        min-height: 400px;
    }

    .blog-details-hero h1 {
        font-size: 32px;
    }

    .blog-hero-desc {
        font-size: 16px;
    }

    .blog-meta-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .blog-content-wrapper {
        padding: 40px var(--mobile-padding);
    }

    .blog-cta-card h4 {
        font-size: 16px;
    }

    .blog-cta-card p {
        font-size: 14px;
    }

    .blog-cta-btn {
        padding: 12px;
        text-align: center;
        font-size: 14px;
        margin-bottom: 16px;
    }

    .blog-cta-note {
        font-size: 12px;
    }
}