:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --bg-color: #ffffff;
    --light-bg: #f8f9fa;
    --border-color: #dee2e6;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

[data-theme="dark"] {
    --primary-color: #ecf0f1;
    --text-color: #ecf0f1;
    --bg-color: #1a1a1a;
    --light-bg: #2c2c2c;
    --border-color: #444;
    --shadow: 0 2px 10px rgba(0,0,0,0.3);
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-header {
    background: var(--primary-color);
    color: white;
    padding: 20px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    border-radius: 50%;
    border: 3px solid white;
}

.site-title {
    font-size: 1.8rem;
    color: white;
}

.theme-toggle {
    background: rgba(255,255,255,0.2);
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
}

.theme-toggle:hover {
    background: rgba(255,255,255,0.3);
}

.main-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.main-nav a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    transition: var(--transition);
    display: block;
}

.main-nav a:hover,
.main-nav a.active {
    background: rgba(255,255,255,0.2);
}

.main-content {
    min-height: calc(100vh - 500px);
    padding: 40px 0;
}

.hero-section {
    background: var(--light-bg);
    padding: 60px 0;
    margin-bottom: 40px;
    border-radius: 10px;
}

.hero-content {
    margin-bottom: 30px;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-color);
    max-width: 800px;
}

.hero-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.expert-interview {
    margin: 60px 0;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 10px;
}

.interview-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.interview-header {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: center;
}

.expert-photo {
    border-radius: 50%;
    width: 120px;
    height: 120px;
    object-fit: cover;
}

.expert-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.expert-title {
    color: var(--secondary-color);
    font-style: italic;
}

.question {
    margin: 20px 0 10px;
    color: var(--secondary-color);
}

.answer {
    margin-bottom: 20px;
}

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

.post-card {
    background: var(--light-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.post-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: 20px;
}

.post-content h3 {
    margin-bottom: 15px;
}

.post-content h3 a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.post-content h3 a:hover {
    color: var(--secondary-color);
}

.post-excerpt {
    margin-bottom: 15px;
    color: var(--text-color);
}

.read-more {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--accent-color);
}

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

.feature-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.article-content {
    max-width: 900px;
    margin: 0 auto;
}

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

.article-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.article-meta {
    color: #666;
    font-style: italic;
}

.article-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-body h2 {
    margin: 40px 0 20px;
    color: var(--secondary-color);
    font-size: 1.8rem;
}

.article-body h3 {
    margin: 30px 0 15px;
    color: var(--secondary-color);
    font-size: 1.4rem;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body ul,
.article-body ol {
    margin: 20px 0 20px 40px;
}

.article-body li {
    margin-bottom: 10px;
}

.faq-list {
    margin-top: 30px;
}

.faq-item {
    background: var(--light-bg);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px;
    text-align: left;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-color);
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(52, 152, 219, 0.1);
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 20px 20px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.team-member {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
}

.team-member img {
    width: 100%;
    border-radius: 50%;
    margin-bottom: 15px;
}

.team-member h3 {
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.team-member p:first-of-type {
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 10px;
}

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

.contact-info-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
}

.contact-info-card .icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.contact-info-card h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.contact-form-section {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 10px;
    margin-top: 40px;
    box-shadow: var(--shadow);
}

.contact-form-section h2 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background: var(--bg-color);
    color: var(--text-color);
    font-size: 1rem;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: var(--secondary-color);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background: var(--accent-color);
}

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

.modal.show {
    display: flex;
}

.modal-content {
    background: var(--bg-color);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    max-width: 500px;
}

.modal-content h2 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.close-modal {
    background: var(--secondary-color);
    color: white;
    padding: 10px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    color: white;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    z-index: 1500;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-content p {
    flex: 1;
}

.cookie-content a {
    color: var(--secondary-color);
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.btn-accept,
.btn-decline {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition);
}

.btn-accept {
    background: #27ae60;
    color: white;
}

.btn-accept:hover {
    background: #229954;
}

.btn-decline {
    background: #95a5a6;
    color: white;
}

.btn-decline:hover {
    background: #7f8c8d;
}

.site-footer {
    background: var(--primary-color);
    color: white;
    padding: 40px 0 20px;
    margin-top: 60px;
}

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

.footer-section h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.registration-info {
    margin-top: 10px;
    font-size: 0.9rem;
    opacity: 0.8;
}

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

.related-posts {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

.related-posts h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.info-section {
    margin: 60px 0;
}

@media (max-width: 768px) {
    .main-nav ul {
        flex-direction: column;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .interview-header {
        flex-direction: column;
        text-align: center;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .site-title {
        font-size: 1.4rem;
    }
}