/* Combined Blog and Article Styles */

/* Article-specific styles */

.article-main {
    padding-top: 120px;
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(147, 51, 234, 0.1) 100%);
    background-attachment: fixed;
}

/* Article Content */
.article-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-link {
    text-decoration: none;
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 2rem;
}

.breadcrumb a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #3b82f6;
}

/* Article Layout */
.article-layout {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.author-column {
    flex: 0 0 200px;
    position: sticky;
    top: 150px;
}

.content-column {
    flex: 1;
    max-width: 800px;
}

/* Article Header */
.article-header {
    text-align: left;
    margin-bottom: 1rem;
}

/* Post Author Info */
.post-author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #516189;
    padding: 6px;
    background: #1e293b;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author-name {
    font-weight: 600;
    color: #ffffff;
    font-size: 0.875rem;
}

.post-date {
    font-size: 0.875rem;
    color: #94a3b8;
}

.article-header .article-category {
    font-size: 0.875rem;
    font-weight: 600;
    color: #3b82f6;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.article-title {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.article-title a:link{
    text-decoration: none;
}

.article-subtitle {
    font-size: 1.3rem;
    color: #cbd5e1;
    font-weight: 400;
}

.article-header .article-meta {
    display: flex;
    justify-content: left;
    gap: 1.5rem;
    align-items: center;
    font-size: 0.875rem;
    color: #94a3b8;
    flex-wrap: wrap;
}

.reading-time {
    position: relative;
    padding-left: 1rem;
}

.reading-time:before {
    content: '•';
    position: absolute;
    left: 0.25rem;
    color: #64748b;
}

/* Featured Image */
.article-featured-image {
    margin-bottom: 3rem;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.article-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Article Body */
.article-body {
    color: #e2e8f0;
    font-size: 1.125rem;
    line-height: 1.7;
}

.article-body .lead {
    font-size: 1.25rem;
    color: #f1f5f9;
    font-weight: 500;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.article-body h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 3rem 0 1.5rem 0;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.article-body h2 i {
    color: #3b82f6;
    font-size: 1.5rem;
}

.article-body h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin: 2rem 0 1rem 0;
    line-height: 1.4;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.section-divider {
    text-align: center;
    font-size: 1.5rem;
    color: #64748b;
    margin: 3rem 0;
    letter-spacing: 0.5em;
}

/* Verification Components */
.verification-components {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.component {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.component:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.3);
}

.component-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.component h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 1rem 0;
}

.component p {
    font-size: 0.95rem;
    color: #cbd5e1;
    margin: 0;
    line-height: 1.5;
}

/* Feature List */
.feature-list {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.feature-list li i {
    color: #10b981;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

/* Case Study Highlight */
.case-study-highlight {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(147, 51, 234, 0.1) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.case-study-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.case-study-text {
    font-size: 1.25rem;
    color: #f1f5f9;
    line-height: 1.5;
}

/* Benefits Table */
.benefits-table {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 12px;
    overflow: hidden;
    margin: 2rem 0;
}

.benefits-table .table-header {
    background: rgba(59, 130, 246, 0.1);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 1rem 1.5rem;
    font-weight: 600;
    color: #ffffff;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.benefits-table .table-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.05);
    transition: background-color 0.3s ease;
}

.benefits-table .table-row:last-child {
    border-bottom: none;
}

/* Benefits Table - 2-column layout variant */
.benefits-table.two-column .table-header {
    grid-template-columns: 1fr 2fr;
}

.benefits-table.two-column .table-row {
    grid-template-columns: 1fr 2fr;
}

.benefits-table .table-row:hover {
    background: rgba(59, 130, 246, 0.05);
}

.stakeholder-col {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: #f1f5f9;
}

.stakeholder-icon {
    font-size: 1.25rem;
}

.benefit-col {
    color: #cbd5e1;
    line-height: 1.5;
}

/* Call to Action */
.call-to-action {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(147, 51, 234, 0.1) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    padding: 2rem 3rem 2rem 3rem;
    text-align: left;
    margin: 1rem 0;
}

.call-to-action h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 1rem 0;
}

.call-to-action p {
    font-size: 1.125rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: left;
    justify-content: left;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 200px;
    justify-content: center;
    flex: 1;
    max-width: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #3b82f6;
    border: 1px solid #3b82f6;
}

.btn-secondary:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
}

/* Article Footer */
.article-footer {
    padding-top: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.tags {
    margin-bottom: 2rem;
}

.tag {
    display: inline-block;
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.share-buttons h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.share-links {
    display: flex;
    gap: 1rem;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(148, 163, 184, 0.1);
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
}

/* Related Articles */
.related-articles {
    margin-top: 4rem;
    margin-bottom: 4rem;;
    padding-top: 3rem;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.related-articles h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2rem;
    text-align: left;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.related-article {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.related-article:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.3);
}

.related-image {
    aspect-ratio: 16/9;
    overflow: hidden;
}

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

.related-article:hover .related-image img {
    transform: scale(1.05);
}

.related-content {
    padding: 1.5rem;
}

.related-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: #3b82f6;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.related-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.related-content p {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.5;
    margin: 0;
}



/* Article Responsive Design */
@media (max-width: 1024px) {
    .article-title {
        font-size: 2.5rem;
    }
    
    .article-subtitle {
        font-size: 1.25rem;
    }
    
    .verification-components {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .component {
        padding: 1.5rem;
    }
    
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .benefits-table .table-header,
    .benefits-table .table-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .benefits-table .table-row {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .stakeholder-col {
        margin-bottom: 0.5rem;
        font-weight: 700;
    }
    
    .benefit-col {
        margin-left: 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .article-main {
        padding-top: 80px;
    }
    
    .header-top-row {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .post-author-info {
        min-width: auto;
    }
    
    .title-section {
        max-width: none;
    }
    
    .article-layout {
        flex-direction: column;
        gap: 2rem;
    }
    
    .author-column {
        flex: none;
        position: static;
        width: 100%;
    }
    
    .content-column {
        max-width: none;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .article-subtitle {
        font-size: 1.125rem;
    }
    
    .article-body {
        font-size: 1rem;
    }
    
    .article-body .lead {
        font-size: 1.125rem;
    }
    
    .article-body h2 {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .case-study-highlight {
        flex-direction: column;
        text-align: center;
    }
    
    .call-to-action {
        padding: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn {
        min-width: auto;
        width: 100%;
        max-width: none;
        flex: none;
    }
    
    .article-header .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .reading-time:before {
        display: none;
    }
    
    .reading-time {
        padding-left: 0;
    }
    
    .verification-components {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .component {
        padding: 1.5rem;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .article-content {
        padding: 0 1rem;
    }
    
    .article-title {
        font-size: 1.75rem;
    }
    
    .component {
        padding: 1.5rem;
    }
    
    .call-to-action {
        padding: 1.5rem;
        margin: 2rem 0;
    }
    
    .share-links {
        justify-content: center;
    }
    
 
}

/* Comparison Table Styles */
.comparison-negative {
    color: #ef4444;
}

.comparison-positive {
    color: #10b981;
}

/* Blog-specific styles */

/* Force 3-column layout on desktop */
@media (min-width: 1025px) {
    .articles-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 2rem !important;
    }
}

.blog-main {
    padding-top: 100px;
    min-height: 100vh;
}

/* Blog Page Title */
.blog-page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

/* Latest Section */
.blog-latest {
    padding: 2rem 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(147, 51, 234, 0.1) 100%);
    margin-bottom: 3rem;
}

.featured-article {
    margin-top: 1rem;
    margin-bottom: 3rem;
}

.featured-link {
    display: block;
    text-decoration: none;
}

.featured-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.featured-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
    text-decoration: none;
}

.featured-title a:hover {
    color: #3b82f6;
}

.featured-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 16/9;
}

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

.featured-article:hover .featured-image img {
    transform: scale(1.05);
}

.featured-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.article-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: #3b82f6;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.featured-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.featured-description {
    font-size: 1rem;
    color: #cbd5e1;
    line-height: 1.5;
}

.article-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    font-size: 0.875rem;
    color: #94a3b8;
}

.article-author {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.article-date {
    position: relative;
    padding-left: 1rem;
}

.article-date:before {
    content: '•';
    position: absolute;
    left: 0.25rem;
    color: #64748b;
}

/* Blog Grid */
.blog-grid {
    padding: 2rem 0;
}

.blog-grid .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.articles-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
    margin-bottom: 4rem;
    width: 100%;
}

/* Ensure articles don't have flex or other conflicting display */
.blog-grid .container .articles-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
}

.blog-article {
    background: rgba(30, 41, 59, 0.4);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(148, 163, 184, 0.1);
    width: 100%;
    max-width: none;
}

.blog-article:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(59, 130, 246, 0.3);
}

.article-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

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

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

.article-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.article-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.3;
    margin: 0;
}

.article-excerpt {
    font-size: 1rem;
    color: #cbd5e1;
    line-height: 1.6;
    flex-grow: 1;
}

/* Load More Section */
.load-more-section {
    display: flex;
    justify-content: center;
    padding: 2rem 0;
}

.load-more-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}



/* Navigation active state for blog */
.nav-links a.active {
    color: #3b82f6;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .featured-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .featured-title {
        font-size: 1.5rem;
    }
    
    .blog-page-title {
        font-size: 2rem;
    }
    
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .blog-page-title {
        font-size: 1.75rem;
    }
    
    .featured-title {
        font-size: 1.35rem;
    }
    
    .featured-description {
        font-size: 0.95rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .article-content {
        padding: 1.5rem;
    }
/* Blog Responsive Design */
@media (max-width: 1024px) {
    .featured-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .featured-title {
        font-size: 1.5rem;
    }
    
    .blog-page-title {
        font-size: 2rem;
    }
    
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .blog-page-title {
        font-size: 1.75rem;
    }
    
    .featured-title {
        font-size: 1.35rem;
    }
    
    .featured-description {
        font-size: 0.95rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .article-content {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .blog-main {
        padding-top: 80px;
    }
    
    .blog-page-title {
        font-size: 1.5rem;
    }
    
    .featured-title {
        font-size: 1.25rem;
    }
    
    .blog-latest {
        padding: 1.5rem 0;
        margin-bottom: 2rem;
    }
    
    .featured-content {
        gap: 1rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .article-title {
        font-size: 1.25rem;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .article-date:before {
        display: none;
    }
    
    .article-date {
        padding-left: 0;
    }
}

/* Smooth scrolling and animations */
.blog-article {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading state for articles */
.articles-loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Focus states for accessibility */
.blog-article:focus-within,
.load-more-btn:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .blog-main {
        padding-top: 0;
    }
    
    .blog-footer,
    .load-more-section {
        display: none;
    }
    
    .blog-article {
        break-inside: avoid;
        margin-bottom: 2rem;
    }
}
