
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* Google Fonts: Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

html, body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #23272f;
    background: #f6f8fa;
    letter-spacing: 0.01em;
    font-size: 17px;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header */

header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0;
    box-shadow: 0 4px 24px 0 rgba(102,126,234,0.10);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    letter-spacing: 0.01em;
    display: flex;
    align-items: center;
    gap: 8px;
}

nav {
    display: flex;
    gap: 32px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: border 0.2s, color 0.2s;
}

nav a:hover, nav a.active {
    color: #ffe082;
    border-bottom: 2px solid #ffe082;
}

/* Container */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Main Layout */

.main-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    padding: 48px 0;
}

.main-content {
    flex: 1;
}

.sidebar {
    background: transparent;
}

/* Hero */

.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 72px 20px 56px 20px;
    text-align: center;
    border-radius: 0 0 32px 32px;
    box-shadow: 0 8px 32px 0 rgba(102,126,234,0.10);
    margin-bottom: 32px;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.97;
    margin-bottom: 0;
    font-weight: 400;
}

/* Featured Articles */

.featured-articles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    margin-bottom: 48px;
}

.article-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px 0 rgba(102,126,234,0.08);
    transition: box-shadow 0.2s, transform 0.2s;
    border: none;
    display: flex;
    flex-direction: column;
    min-height: 320px;
}

.article-card:hover {
    box-shadow: 0 12px 32px 0 rgba(102,126,234,0.16);
    transform: translateY(-6px) scale(1.02);
}


.article-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #e0e7ff 0%, #f3e8ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bdbdbd;
    font-size: 48px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-bottom: 1px solid #f3e8ff;
}


.article-content {
    padding: 24px 20px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.article-category {
    display: inline-block;
    background: #667eea;
    color: #fff;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.01em;
    box-shadow: 0 2px 8px 0 rgba(102,126,234,0.08);
}


.article-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #23272f;
    margin-bottom: 10px;
    line-height: 1.4;
    letter-spacing: 0.01em;
}


.article-card a {
    color: #23272f;
    text-decoration: none;
    transition: color 0.2s;
}

.article-card a:hover {
    color: #764ba2;
}


.article-excerpt {
    color: #6b7280;
    font-size: 15px;
    margin-bottom: 18px;
    line-height: 1.7;
}


.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #a0aec0;
    padding-top: 14px;
    border-top: 1px solid #f3e8ff;
}

.article-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-views {
    display: flex;
    align-items: center;
    gap: 5px;
}


.read-more {
    display: inline-block;
    color: #764ba2;
    text-decoration: none;
    font-weight: 700;
    margin-top: 10px;
    letter-spacing: 0.01em;
    transition: color 0.2s;
}

.read-more:hover {
    text-decoration: underline;
    color: #667eea;
}

/* Article List */
.article-list {
    list-style: none;
}

.article-list-item {
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.article-list-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.article-list-item h3 {
    color: #2c3e50;
    font-size: 20px;
    margin-bottom: 10px;
}

.article-list-item a {
    color: #2c3e50;
    text-decoration: none;
}

.article-list-item a:hover {
    color: #667eea;
}

/* Sidebar */
.sidebar {
    background: transparent;
}

.sidebar-section {
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sidebar-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #667eea;
}

/* Opportunities */
.opportunities {
    list-style: none;
}

.opportunity-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.opportunity-item:last-child {
    border-bottom: none;
}

.opportunity-item:hover {
    padding-left: 10px;
}

.opportunity-title {
    font-weight: 600;
    color: #667eea;
    margin-bottom: 5px;
    display: block;
    text-decoration: none;
}

.opportunity-title:hover {
    text-decoration: underline;
}

.opportunity-price {
    color: #e74c3c;
    font-weight: 600;
    font-size: 14px;
}

.opportunity-discount {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 5px;
}

.opportunity-link {
    display: inline-block;
    margin-top: 8px;
    color: #667eea;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
}

.opportunity-link:hover {
    text-decoration: underline;
}

/* Categories */
.categories-list {
    list-style: none;
}

.categories-list li {
    margin-bottom: 10px;
}

.categories-list a {
    color: #667eea;
    text-decoration: none;
    display: block;
    padding: 8px 0;
    transition: all 0.3s ease;
}

.categories-list a:hover {
    padding-left: 10px;
    font-weight: 600;
}

/* Google Ads */
.ad-container {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 40px 20px 20px;
    margin-top: 60px;
    border-top: 4px solid #667eea;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 30px 0;
}

.pagination a,
.pagination span {
    padding: 10px 15px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #667eea;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: #667eea;
    color: white;
}

.pagination .current {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* Responsive */
@media (max-width: 768px) {
    .main-layout {
        grid-template-columns: 1fr;
    }
    
    .featured-articles {
        grid-template-columns: 1fr;
    }
    
    nav {
        gap: 15px;
        font-size: 14px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    nav {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero {
        padding: 40px 15px;
    }
    
    .hero h1 {
        font-size: 24px;
    }
}
