/* DeepThinking.blog - Premium Editorial CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Merriweather', Georgia, serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #fafafa;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.site-header {
    background: linear-gradient(135deg, #0f2b46 0%, #1a3a5c 100%);
    color: white;
    padding: 20px 0;
    box-shadow: 0 4px 20px rgba(15, 43, 70, 0.3);
    position: relative;
    overflow: hidden;
}

.site-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/images/header-pattern.png') repeat;
    opacity: 0.1;
    pointer-events: none;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-image {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px;
    backdrop-filter: blur(10px);
}

.logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(45deg, #ffffff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo h1 a {
    color: inherit;
    text-decoration: none;
}

.tagline {
    font-size: 0.9rem;
    color: #b8d4f0;
    margin-top: 5px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.main-nav a {
    color: #e0e7ff;
    text-decoration: none;
    font-weight: 400;
    font-size: 1rem;
    padding: 10px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    backdrop-filter: blur(10px);
}

/* Main Content */
.main-content {
    padding: 60px 0;
    background: white;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 50px;
    align-items: start;
}

/* Homepage Hero */
.hero-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 80px 0;
    margin-bottom: 60px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: #0f2b46;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #4a5568;
    margin-bottom: 30px;
    font-weight: 300;
    line-height: 1.5;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0f2b46;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Article Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.article-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

.article-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #0f2b46, #1a3a5c);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
}

.article-content {
    padding: 25px;
}

.article-category {
    display: inline-block;
    background: #0f2b46;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.3;
}

.article-title a {
    color: inherit;
    text-decoration: none;
}

.article-title a:hover {
    color: #0f2b46;
}

.article-excerpt {
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 15px;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #6b7280;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}

.author {
    font-weight: 600;
    color: #0f2b46;
}

/* Sidebar */
.sidebar {
    background: #f8fafc;
    padding: 30px;
    border-radius: 12px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.sidebar-widget {
    margin-bottom: 40px;
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.sidebar-widget h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #0f2b46;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

/* Newsletter Widget */
.newsletter-widget {
    background: linear-gradient(135deg, #0f2b46, #1a3a5c);
    color: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
}

.newsletter-widget h3 {
    color: white;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 15px;
}

.newsletter-widget p {
    margin-bottom: 20px;
    color: #e0e7ff;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-form input {
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.9);
}

.newsletter-form button {
    background: white;
    color: #0f2b46;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: #e0e7ff;
    transform: translateY(-2px);
}

/* Banner Advertising */
.banner-ad {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    text-align: center;
}

.banner-ad img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.banner-ad:hover img {
    transform: scale(1.02);
}

.banner-ad.large {
    grid-column: 1 / -1;
    margin: 40px 0;
}

.banner-ad.large img {
    max-height: 200px;
    object-fit: cover;
}

/* Article Page Styles */
.article-header {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.article-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: #0f2b46;
    margin-bottom: 20px;
    line-height: 1.2;
}

.article-meta-top {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.category {
    background: #0f2b46;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-body h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #0f2b46;
    margin: 40px 0 20px;
    line-height: 1.3;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body blockquote {
    background: #f8fafc;
    border-left: 4px solid #0f2b46;
    padding: 20px 25px;
    margin: 30px 0;
    font-style: italic;
    font-size: 1.15rem;
    color: #4a5568;
    border-radius: 0 8px 8px 0;
}

/* Footer */
.site-footer {
    background: #0f2b46;
    color: white;
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #e0e7ff;
}

.footer-section p {
    color: #b8d4f0;
    line-height: 1.6;
    margin-bottom: 10px;
}

.founding-note {
    font-style: italic;
    font-size: 0.9rem;
    color: #94a3b8;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #1a3a5c;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Categories List */
.categories-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-link {
    display: block;
    padding: 8px 12px;
    background: white;
    color: #4a5568;
    text-decoration: none;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.category-link:hover {
    background: #0f2b46;
    color: white;
    transform: translateX(5px);
}

/* Authors List */
.authors-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.author-item {
    display: flex;
    flex-direction: column;
    padding: 12px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.author-item:hover {
    background: #f8fafc;
    border-color: #0f2b46;
}

.author-item strong {
    color: #0f2b46;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.author-item span {
    color: #6b7280;
    font-size: 0.8rem;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .main-nav ul {
        gap: 15px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .article-header h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.8rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .article-header h1 {
        font-size: 1.8rem;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
} 