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

:root {
    --primary-color: #1a365d;
    --secondary-color: #2c5282;
    --accent-color: #3182ce;
    --text-color: #2d3748;
    --text-light: #4a5568;
    --bg-color: #ffffff;
    --bg-light: #f7fafc;
    --border-color: #e2e8f0;
    --success-color: #38a169;
    --warning-color: #d69e2e;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.main-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 1rem 0 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.brand-info {
    display: flex;
    flex-direction: column;
}

.site-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.site-tagline {
    font-size: 0.875rem;
    opacity: 0.9;
    font-weight: 300;
}

.header-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.95;
}

.main-nav {
    width: 100%;
    background-color: rgba(0,0,0,0.1);
    margin-top: 1rem;
}

.nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.nav-list li a {
    display: block;
    padding: 1rem 1.25rem;
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.nav-list li a:hover,
.nav-list li a.nav-active {
    background-color: rgba(255,255,255,0.1);
    border-bottom-color: var(--accent-color);
}

.content-wrapper {
    min-height: 60vh;
}

.hero-section {
    position: relative;
    margin-bottom: 3rem;
}

.hero-content {
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 2rem;
}

.hero-overlay h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
}

.container-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.intro-section {
    padding: 3rem 0;
    background-color: var(--bg-light);
}

.intro-content h3 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.intro-content p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
    color: var(--text-light);
}

.section-header {
    font-size: 1.875rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--accent-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.featured-analysis,
.daily-selection,
.recent-posts {
    padding: 3rem 0;
}

.analysis-grid,
.posts-grid {
    display: grid;
    gap: 2rem;
}

.posts-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.analysis-card,
.post-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.analysis-card:hover,
.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.analysis-img,
.post-img {
    width: 100%;
    height: auto;
}

.analysis-content,
.post-content {
    padding: 1.5rem;
}

.analysis-category,
.post-category {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.analysis-card h4,
.post-card h4 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.analysis-card p,
.post-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.read-more,
.post-link {
    color: var(--accent-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.read-more:hover,
.post-link:hover {
    color: var(--secondary-color);
    gap: 0.75rem;
}

.daily-selection {
    background-color: var(--bg-light);
}

.daily-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.daily-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.daily-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.daily-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.daily-card h4 {
    padding: 1.25rem;
    font-size: 1.1rem;
    color: var(--primary-color);
    line-height: 1.5;
}

.daily-link {
    display: block;
    padding: 0 1.25rem 1.25rem;
    color: var(--accent-color);
    font-weight: 600;
}

.newsletter-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.newsletter-box {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.newsletter-icon {
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.newsletter-box h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.newsletter-box p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.newsletter-form button {
    padding: 0.875rem 2rem;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.disclaimer-section {
    padding: 3rem 0;
    background-color: var(--bg-light);
}

.disclaimer-box {
    background: white;
    border-left: 4px solid var(--warning-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.disclaimer-box h4 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.disclaimer-box p {
    color: var(--text-light);
    line-height: 1.8;
}

.main-footer {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer-section p {
    margin-bottom: 0.75rem;
    opacity: 0.9;
    line-height: 1.7;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.footer-reg {
    font-size: 0.875rem;
    opacity: 0.7;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    opacity: 0.9;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.8;
}

.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
    padding: 2rem;
    z-index: 1000;
    transition: bottom 0.5s ease;
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-text h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.cookie-text p {
    color: var(--text-light);
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.cookie-text a {
    color: var(--accent-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-btn.accept {
    background-color: var(--success-color);
    color: white;
}

.cookie-btn.reject {
    background-color: var(--border-color);
    color: var(--text-color);
}

.cookie-btn.customize {
    background-color: var(--accent-color);
    color: white;
}

.cookie-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 3rem;
    border-radius: 16px;
    max-width: 500px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--primary-color);
}

.modal-icon {
    color: var(--success-color);
    margin-bottom: 1.5rem;
}

.modal-content h3 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.modal-content p {
    color: var(--text-light);
    line-height: 1.7;
}

.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
}

.content-section {
    padding: 4rem 0;
}

.content-article {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.article-image {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.content-article h3 {
    font-size: 1.875rem;
    color: var(--primary-color);
    margin: 2rem 0 1rem;
}

.content-article p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.blog-post {
    padding: 3rem 0;
}

.post-header {
    margin-bottom: 2rem;
}

.post-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: 1rem 0;
    line-height: 1.3;
}

.post-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    color: var(--text-light);
    font-size: 0.95rem;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-image-wrapper {
    margin: 2rem 0;
}

.post-featured-image {
    width: 100%;
    border-radius: 12px;
}

.blog-post .post-content {
    padding: 0;
}

.blog-post .post-content h2 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin: 2.5rem 0 1rem;
}

.blog-post .post-content p {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.post-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.post-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.tag {
    background-color: var(--bg-light);
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
}

.post-share {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.share-btn {
    padding: 0.5rem 1rem;
    background-color: var(--accent-color);
    color: white;
    border-radius: 6px;
    font-size: 0.875rem;
    transition: var(--transition);
}

.share-btn:hover {
    background-color: var(--secondary-color);
}

.post-navigation {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.nav-prev,
.nav-next {
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: 8px;
    transition: var(--transition);
}

.nav-prev:hover,
.nav-next:hover {
    background-color: var(--border-color);
}

.nav-label {
    display: block;
    font-size: 0.875rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.nav-title {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .site-title {
        font-size: 1.25rem;
    }
    
    .site-tagline {
        font-size: 0.75rem;
    }
    
    .nav-list {
        flex-direction: column;
    }
    
    .nav-list li a {
        padding: 0.75rem 1rem;
    }
    
    .hero-overlay h2 {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .page-title {
        font-size: 1.875rem;
    }
    
    .post-title {
        font-size: 1.75rem;
    }
    
    .container-main,
    .container-narrow {
        padding: 0 1rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        min-width: 100%;
    }
    
    .newsletter-box {
        padding: 2rem 1.5rem;
    }
    
    .content-article {
        padding: 1.5rem;
    }
}

@media print {
    .main-header,
    .main-footer,
    .newsletter-section,
    .cookie-banner,
    .post-share,
    .post-navigation {
        display: none;
    }
}