/* ========================================
   EDUCATIONAL HUBS - LEARN PAGES STYLES
   Version: 1.4.5
   ======================================== */

/* Learning Hub Navigation */
.learn-nav {
    background: #274265;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 57px;
    z-index: 999;
    margin-top: 0px;
}

.learn-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.learn-nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
}

.learn-nav-logo:hover {
    opacity: 0.9;
}

.learn-nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.learn-nav-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.2s;
}

.learn-nav-links a:hover {
    opacity: 0.8;
}

.learn-nav-cta {
    /* background: white; */
    /* color: red!important; */
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    display: none;
}

.learn-nav-cta:hover {
    background: #f0f0f0;
    opacity: 1 !important;
}

/* Breadcrumb */
.breadcrumb {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 14px;
    font-size: 14px;
    color: #666;
    position: relative;
    z-index: 1;
    margin-top: 79px;
}

.breadcrumb a {
    color: #274265;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Learn Hero Section */
.learn-hero {
    background: #102034;
    color: white;
    padding: 130px 20px 80px 20px;
    text-align: center;
    background-size: contain;
}

.learn-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 200;
    text-shadow: 0px 0px 2px black;
}

.learn-hero p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0px 0px 2px black;
    /* backdrop-filter: blur(7px); */
}

.learn-hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
}

.learn-hero-stat {
    text-align: center;
    backdrop-filter: blur(1px);
}

.learn-hero-stat-number {
    font-size: 36px;
    font-weight: 700;
    display: block;
}

.learn-hero-stat-label {
    font-size: 14px;
    opacity: 0.9;
}

/* Main Content */
.learn-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    /* display: none; */
}

.learn-intro {
    text-align: center;
    margin-bottom: 60px;
}

.learn-intro h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

.learn-intro p {
    font-size: 18px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Why Learn Section */
.why-learn {
    background: #f8f9fa;
    padding: 60px 20px;
    margin: 60px 0;
}

.why-learn-container {
    max-width: 1200px;
    margin: 0 auto;
}

.why-learn h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    color: #333;
}

.why-learn-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.why-learn-item {
    text-align: center;
    padding: 30px;
}

.why-learn-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.why-learn-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.why-learn-description {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* Hub Navigation Component */
.hub-navigation {
    background: #f8f9fa;
    padding: 40px 20px;
    margin: 40px 0;
}

.hub-navigation-container {
    max-width: 1200px;
    margin: 0 auto;
}

.hub-navigation h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.hub-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 2px solid #e0e0e0;
}

.hub-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: #667eea;
}

.hub-card-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.hub-card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.hub-card-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.hub-card-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #999;
}

.hub-card-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Article Cards */
.article-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    border-left: 4px solid #667eea;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
    margin-bottom: 20px;
}

.article-card:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.2);
}

.article-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.article-card-number {
    background: #667eea;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    flex-shrink: 0;
}

.article-card-content {
    flex: 1;
    margin-left: 20px;
}

.article-card-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}

.article-card-description {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.article-card-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #999;
}

.article-card-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-card-cta {
    color: #667eea;
    font-weight: 600;
    font-size: 14px;
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.article-card:hover .article-card-cta {
    gap: 10px;
}

/* Email Signup */
.learn-email-signup {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 40px;
    margin: 60px 0;
    text-align: center;
    color: white;
    display: none;
}

.learn-email-signup h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: white;
}

.learn-email-signup p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.learn-email-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.learn-email-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
}

.learn-email-button {
    padding: 15px 30px;
    background: white;
    color: #667eea;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
    white-space: nowrap;
}

.learn-email-button:hover {
    transform: scale(1.05);
}

.learn-email-benefits {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 25px;
    font-size: 14px;
    opacity: 0.9;
}

.learn-email-benefits span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.learn-email-privacy {
    font-size: 12px;
    margin-top: 15px;
    opacity: 0.8;
}

/* Article Page Styles */
.article-layout-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    align-items: start;
}

.learn-article {
    max-width: 900px;
    width: 100%;
}

/* Sidebar Styles */
.article-sidebar {
    position: sticky;
    top: 120px;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #e0e0e0;
    width: 100%;
    min-width: 280px;
}

.sidebar-section {
    margin-bottom: 30px;
}

.sidebar-section:last-child {
    margin-bottom: 0;
}

.sidebar-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #274265;
}

.sidebar-related-articles {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-related-articles li {
    margin-bottom: 15px;
}

.sidebar-related-articles a {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: block;
    padding: 10px;
    border-radius: 6px;
    transition: all 0.2s;
}

.sidebar-related-articles a:hover {
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transform: translateX(5px);
}

.sidebar-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.sidebar-cta h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: white;
}

.sidebar-cta p {
    font-size: 13px;
    margin-bottom: 15px;
    opacity: 0.95;
}

.sidebar-cta-button {
    display: inline-block;
    background: white;
    color: #667eea;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.2s;
}

.sidebar-cta-button:hover {
    transform: scale(1.05);
}

/* Mobile Responsive - Stack sidebar below content */
@media (max-width: 1024px) {
    .article-layout-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .article-sidebar {
        position: relative;
        top: 0;
        max-width: 600px;
        margin: 0 auto;
    }
}

.article-header {
    margin-bottom: 40px;
}

.article-header h1 {
    font-size: 42px;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.2;
}

.article-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #999;
}

.table-of-contents {
    background: #f8f9fa;
    border-left: 4px solid #667eea;
    padding: 25px;
    margin: 30px 0;
    border-radius: 8px;
}

.table-of-contents h3 {
    margin-top: 0;
    color: #333;
    font-size: 18px;
}


.table-of-contents ul {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.table-of-contents li {
    margin: 10px 0;
}

.table-of-contents a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.table-of-contents a:hover {
    text-decoration: underline;
}

.article-intro {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
}

.article-section {
    margin: 50px 0;
}

.article-section h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

.article-section h3 {
    font-size: 24px;
    color: #444;
    margin: 30px 0 15px 0;
}

.article-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.article-section ul,
.article-section ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-section li {
    margin: 10px 0;
    line-height: 1.8;
    color: #555;
}

.key-takeaways {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin: 40px 0;
}

.key-takeaways h3 {
    margin-top: 0;
    font-size: 24px;
}

.key-takeaways ul {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

.key-takeaways li {
    margin: 15px 0;
    padding-left: 30px;
    position: relative;
}

.key-takeaways li:before {
    content: "✓";
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 20px;
}

.info-box {
    background: #e8f4f8;
    border-left: 4px solid #2196F3;
    padding: 20px;
    margin: 30px 0;
    border-radius: 8px;
}

.info-box strong {
    color: #1976D2;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.comparison-table th {
    background: #667eea;
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
}

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

.next-steps {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    margin: 50px 0;
}

.next-steps h3 {
    margin-top: 0;
    color: #333;
}

.related-articles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.related-articles a {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-decoration: none;
    color: #667eea;
    font-weight: 600;
    border: 2px solid #e0e0e0;
    transition: all 0.3s;
}

.related-articles a:hover {
    border-color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .learn-nav-links {
        display: none;
    }

    .learn-nav-logo {
        font-size: 16px;
    }

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

    .learn-hero p {
        font-size: 16px;
    }

    .learn-hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .learn-intro h2 {
        font-size: 28px;
    }

    .article-header h1 {
        font-size: 32px;
    }

    .article-section h2 {
        font-size: 26px;
    }

    .comparison-table {
        font-size: 14px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px;
    }

    .learn-email-form {
        flex-direction: column;
    }

    .learn-email-benefits {
        flex-direction: column;
        gap: 10px;
    }
}





/* ========================================
   HUB LANDING PAGE STYLES
   ======================================== */

/* Hub Hero */
.hub-hero {
    background: linear-gradient(135deg, #274265 0%, #274265 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

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

.hub-hero-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.hub-hero h1 {
    font-size: 52px;
    margin-bottom: 20px;
    font-weight: 700;
    color: white;
}

.hub-hero-description {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.6;
}

.hub-hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

.hub-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hub-stat-number {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
}

.hub-stat-label {
    font-size: 14px;
    opacity: 0.9;
}

/* Hub Introduction */
.hub-intro {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}

.hub-intro-container h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
}

.hub-intro-container > p {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
}

.learning-path {
    background: #f8f9fa;
    border-left: 4px solid #667eea;
    padding: 30px;
    border-radius: 10px;
    margin-top: 40px;
}

.learning-path h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #333;
}

.learning-path-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.learning-path-list li {
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 16px;
    color: #555;
}

.learning-path-list li:last-child {
    border-bottom: none;
}

.learning-path-list strong {
    color: #667eea;
    font-weight: 600;
}

/* Hub Articles Section */
.hub-articles {
    background: #f8f9fa;
    padding: 60px 20px;
}

.hub-articles-container {
    max-width: 1200px;
    margin: 0 auto;
}

.hub-articles-container h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #333;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.article-card-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Hub Next Steps */
.hub-next-steps {
    padding: 60px 20px;
    background: white;
}

.hub-next-steps-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.hub-next-steps-container h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: #333;
}

.hub-next-steps-container > p {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

.next-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.next-step-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    padding: 40px 30px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    text-align: center;
}

.next-step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: #667eea;
}

.next-step-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.next-step-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
}

.next-step-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.next-step-cta {
    color: #667eea;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.next-step-card:hover .next-step-cta {
    gap: 10px;
}

/* Other Hubs Section */
.other-hubs {
    padding: 60px 20px;
    background: #f8f9fa;
}

.other-hubs-container {
    max-width: 1200px;
    margin: 0 auto;
}

.other-hubs-container h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #333;
}

/* Mobile Responsive for Hub Pages */
@media (max-width: 768px) {
    .hub-hero h1 {
        font-size: 36px;
    }

    .hub-hero-description {
        font-size: 16px;
    }

    .hub-hero-stats {
        /* flex-direction: column; */
        gap: 30px;
    }

    .hub-stat-number {
        font-size: 28px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .next-steps-grid {
        grid-template-columns: 1fr;
    }
}

.learn-hub-page .headerStructure, .learn-page .headerStructure, .learn-article-page .headerStructure{
    position:fixed;
}
.learning-path-list a {
    text-transform: unset;
    text-decoration: underline;
    color: #274365;
}