/* Insights Page Styling */

/* Article Content Container */
.article-content {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: #1a1a1a;
    background: #ffffff;
}

/* Article Header */
.article-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 4rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.article-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/images/tech-background-4-large.webp') center/cover;
    opacity: 0.3;
    z-index: 1;
}

.article-header .container {
    position: relative;
    z-index: 2;
}

/* Breadcrumb Navigation */
.breadcrumb {
    margin-bottom: 2rem;
    background: none;
    padding: 0;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: '›';
    margin-left: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb li[aria-current="page"] {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* Article Meta Information */
.article-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    font-size: 0.95rem;
}

.article-category {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-date {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.article-author {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Article Title */
.article-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
    max-width: 900px;
}

@media (max-width: 768px) {
    .article-title {
        font-size: 2rem;
    }
}

/* Article Excerpt */
.article-excerpt {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 800px;
    font-weight: 400;
}

/* Share Button */
.article-sharing-top {
    margin-top: 2rem;
}

.share-button {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    font-size: 0.95rem;
}

.share-button:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    transform: translateY(-1px);
}

/* Article Body */
.article-body {
    padding: 4rem 0;
    background: #ffffff;
}

.article-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 4rem;
    align-items: start;
}

@media (max-width: 1200px) {
    .article-content-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Article Main Content */
.article-main {
    max-width: 100%;
}

.article-section {
    margin-bottom: 3rem;
}

.article-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    border-bottom: 3px solid #007bff;
    padding-bottom: 0.5rem;
    display: inline-block;
}

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

.article-section h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d2d2d;
    margin: 1.5rem 0 1rem;
    line-height: 1.4;
}

.article-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.article-section ul, .article-section ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-section li {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4a4a4a;
    margin-bottom: 0.5rem;
}

.article-section strong {
    font-weight: 600;
    color: #1a1a1a;
}

/* Roadmap Timeline */
.roadmap-timeline {
    margin: 2rem 0;
}

.roadmap-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.roadmap-marker {
    background: #007bff;
    color: white;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.5rem;
}

.roadmap-content h4 {
    color: #007bff;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.roadmap-content ul {
    margin: 0;
    padding-left: 1.5rem;
}

.roadmap-content li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

/* Governance Structure */
.governance-structure {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.structure-level {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    border-left: 4px solid #007bff;
}

.structure-level h4 {
    color: #007bff;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.structure-level p {
    margin: 0;
    color: #6c757d;
    font-size: 1rem;
}

/* CMMC Levels */
.cmmc-levels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.level-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    border-left: 4px solid #007bff;
}

.level-card h4 {
    color: #007bff;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.level-card p {
    margin: 0;
    color: #6c757d;
    font-size: 1rem;
}

/* Resilience Pillars */
.resilience-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.pillar {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    border-top: 4px solid #28a745;
}

.pillar h4 {
    color: #28a745;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.pillar p {
    margin: 0;
    color: #6c757d;
    font-size: 1rem;
}

/* Implementation Framework */
.implementation-framework {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.framework-element {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    border-left: 4px solid #ffc107;
}

.framework-element h4 {
    color: #856404;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.framework-element p {
    margin: 0;
    color: #6c757d;
    font-size: 1rem;
}

/* Implementation Phases */
.implementation-phases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.phase {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    border-left: 4px solid #6f42c1;
}

.phase h4 {
    color: #6f42c1;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.phase ul {
    margin: 0;
    padding-left: 1.5rem;
}

.phase li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #6c757d;
}

/* Article Table */
.article-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.article-table th {
    background: #007bff;
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.article-table td {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.article-table tr:hover {
    background: #f8f9fa;
}

/* FAQ Items */
.faq-item {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.faq-item h4 {
    color: #007bff;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.faq-item p {
    margin: 0;
    color: #6c757d;
    font-size: 1rem;
}

/* Sidebar Sections */
.sidebar-section {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.sidebar-section h3 {
    color: #007bff;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.key-takeaways,
.related-articles,
.executive-resources {
    list-style: none;
    padding: 0;
    margin: 0;
}

.key-takeaways li,
.related-articles li,
.executive-resources li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.95rem;
    color: #6c757d;
}

.key-takeaways li:last-child,
.related-articles li:last-child,
.executive-resources li:last-child {
    border-bottom: none;
}

.key-takeaways a,
.related-articles a,
.executive-resources a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.key-takeaways a:hover,
.related-articles a:hover,
.executive-resources a:hover {
    text-decoration: underline;
}

/* Risk Framework */
.risk-framework {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.framework-component {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    border-left: 4px solid #dc3545;
}

.framework-component h4 {
    color: #dc3545;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.framework-component ul {
    margin: 0;
    padding-left: 1.5rem;
}

.framework-component li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #6c757d;
}

/* Implementation Steps */
.implementation-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.step {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    border-left: 4px solid #17a2b8;
}

.step h4 {
    color: #17a2b8;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.step p {
    margin: 0;
    color: #6c757d;
    font-size: 1rem;
}

/* Article Footer */
.article-footer {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid #e9ecef;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.tag {
    background: #f8f9fa;
    color: #495057;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.tag:hover {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.article-sharing-bottom {
    display: flex;
    justify-content: center;
}

/* Article Sidebar */
.article-sidebar {
    position: sticky;
    top: 2rem;
}

.sidebar-widget {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid #e9ecef;
}

.sidebar-widget h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #007bff;
}

.related-articles {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.related-article {
    text-decoration: none;
    color: inherit;
    padding: 1rem;
    border-radius: 8px;
    background: white;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.related-article:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #007bff;
    text-decoration: none;
    color: inherit;
}

.related-article h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.related-article .article-date {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 500;
}

.cta-button-small {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #007bff;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    width: 100%;
    justify-content: center;
}

.cta-button-small:hover {
    background: #0056b3;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Share Menu Styles */
.share-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.share-menu-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    position: relative;
    animation: slideUp 0.3s ease;
}

.share-menu h4 {
    margin: 0 0 1.5rem 0;
    color: #1a1a1a;
    font-size: 1.25rem;
}

.share-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.share-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    text-decoration: none;
    color: #1a1a1a;
    background: white;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    cursor: pointer;
}

.share-option:hover {
    background: #f8f9fa;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.share-option.linkedin:hover {
    border-color: #0077b5;
    color: #0077b5;
}

.share-option.twitter:hover {
    border-color: #1da1f2;
    color: #1da1f2;
}

.share-option.facebook:hover {
    border-color: #1877f2;
    color: #1877f2;
}

.share-option.email:hover {
    border-color: #ea4335;
    color: #ea4335;
}

.share-option.copy-link:hover {
    border-color: #34a853;
    color: #34a853;
}

.close-share-menu {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    padding: 0.25rem;
    border-radius: 4px;
}

.close-share-menu:hover {
    background: #f0f0f0;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .article-header {
        padding: 2rem 0 1.5rem;
    }
    
    .article-title {
        font-size: 1.75rem;
    }
    
    .article-excerpt {
        font-size: 1.1rem;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .article-body {
        padding: 2rem 0;
    }
    
    .article-content-wrapper {
        gap: 2rem;
    }
    
    .article-section h2 {
        font-size: 1.5rem;
    }
    
    .article-section h3 {
        font-size: 1.25rem;
    }
    
    .article-section p {
        font-size: 1rem;
    }
    
    .sidebar-widget {
        padding: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .article-header {
        background: white !important;
        color: black !important;
        padding: 1rem 0;
    }
    
    .article-header::before {
        display: none;
    }
    
    .article-sharing-top,
    .article-sharing-bottom,
    .article-sidebar {
        display: none;
    }
    
    .article-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .article-title {
        color: black !important;
    }
    
    .article-excerpt {
        color: #333 !important;
    }
} 