@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Source+Sans+Pro:wght@300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.7;
    color: #2c3e50;
    background: #f8f9fa;
    min-height: 100vh;
}

.magazine-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    background: #ffffff;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    margin-bottom: 20px;
    position: relative;
}

.magazine-header {
    background: #ffffff;
    color: #2c3e50;
    padding: 80px 40px 60px 40px;
    text-align: center;
    position: relative;
    margin-bottom: 0;
    border-bottom: 1px solid #e9ecef;
}

.magazine-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2c3e50;
}

.magazine-subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    color: #6c757d;
    font-style: italic;
}

.article-meta {
    background: #f8f9fa;
    padding: 25px 40px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.meta-info {
    display: flex;
    gap: 30px;
    align-items: center;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #667eea;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
}

.article-date {
    color: #6c757d;
    font-size: 0.95rem;
}

.read-time {
    background: #e9ecef;
    color: #495057;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid #dee2e6;
}

.navigation-bar {
    background: #f8f9fa;
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border-bottom: 1px solid #e9ecef;
}

.nav-menu {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.nav-item {
    color: #495057;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 500;
    border: 1px solid transparent;
    white-space: nowrap;
    font-size: 0.85rem;
}

.nav-item:hover, .nav-item.active {
    background: #ffffff;
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.article-content {
    padding: 60px 80px;
    max-width: 1000px;
    margin: 0 auto;
    background: #ffffff;
}

.article-section {
    margin-bottom: 80px;
    scroll-margin-top: 120px;
}

.section-header {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: #2c3e50;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
    position: relative;
    font-weight: 600;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 80px;
    height: 2px;
    background: #667eea;
}

.lead-paragraph {
    font-size: 1.3rem;
    font-weight: 400;
    color: #34495e;
    margin-bottom: 30px;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9ff, #e8ecff);
    border-radius: 15px;
    border-left: 5px solid #667eea;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 50px 0;
}

.content-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 35px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #667eea;
    border-radius: 8px 8px 0 0;
}

.content-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
}

.highlight-box {
    background: #f8f9fa;
    color: #2c3e50;
    padding: 40px;
    border-radius: 8px;
    margin: 40px 0;
    border-left: 6px solid #667eea;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: relative;
}

.highlight-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #667eea;
}

.highlight-text {
    font-size: 1.1rem;
    color: #34495e;
    line-height: 1.8;
}

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

.translation-card {
    background: #ffffff;
    color: #2c3e50;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    border-left: 4px solid #74b9ff;
}

.translation-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-left-color: #0984e3;
}

.translation-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: #74b9ff;
}

.translation-content {
    position: relative;
    z-index: 1;
}

.pull-quote {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-style: italic;
    color: #495057;
    text-align: center;
    margin: 50px 0;
    padding: 30px 40px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    border-left: 4px solid #667eea;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.pull-quote::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: -10px;
    left: 20px;
    opacity: 0.2;
    color: #667eea;
}

.framework-mapping {
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    margin: 40px 0;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.mapping-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 25px;
    text-align: center;
}

.mapping-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: center;
    margin: 20px 0;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.mapping-left, .mapping-right {
    padding: 20px;
    border-radius: 6px;
    font-weight: 500;
}

.mapping-left {
    background: #f8f9fa;
    color: #495057;
    text-align: right;
    border-left: 3px solid #667eea;
}

.mapping-right {
    background: #f8f9fa;
    color: #495057;
    border-left: 3px solid #74b9ff;
}

.mapping-arrow {
    font-size: 2rem;
    color: #667eea;
    font-weight: bold;
}

.insight-highlight {
    background: rgba(102, 126, 234, 0.08);
    color: #495057;
    padding: 1px 3px;
    font-weight: 600;
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
}

.article-footer {
    background: #f8f9fa;
    color: #495057;
    padding: 50px 40px;
    text-align: center;
    margin-top: 60px;
    border-top: 3px solid #667eea;
}

.footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.footer-text {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 800px;
    margin: 0 auto;
    color: #6c757d;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #ffffff;
    color: #667eea;
    border: 2px solid #667eea;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .translation-showcase {
        grid-template-columns: 1fr;
    }
    
    .magazine-title {
        font-size: 3rem;
    }
    
    .article-content {
        padding: 40px 40px;
    }
    
    .navigation-bar {
        padding: 15px 20px;
    }
    
    .nav-menu {
        gap: 8px;
    }
}

@media (max-width: 768px) {
    .magazine-title {
        font-size: 2.5rem;
    }
    
    .article-content {
        padding: 30px 20px;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 10px;
    }
    
    .article-meta {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .mapping-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .mapping-left {
        text-align: center;
    }
    
    .mapping-arrow {
        transform: rotate(90deg);
    }
    
    .section-header {
        font-size: 2.2rem;
    }
    
    .pull-quote {
        font-size: 1.4rem;
        padding: 20px 25px;
    }
}