/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #f8f9fa;
    font-size: 16px;
}

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

a {
    text-decoration: none;
    color: #007bff;
    transition: color 0.3s ease;
}

a:hover {
    color: #0056b3;
}

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

/* Header Styles */
.site-header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    padding: 20px 0;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.site-logo {
    height: 50px;
    width: auto;
    margin-bottom: 5px;
}

.tagline {
    font-size: 14px;
    color: #666;
    font-style: italic;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.main-nav ul li a {
    color: #333;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 0;
    transition: color 0.3s;
}

.main-nav ul li a:hover {
    color: #007bff;
}

/* Main Content */
.site-content {
    padding: 40px 0;
    background: #fff;
}

.main-article {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
}

.article-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 3px solid #007bff;
}

.entry-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    margin-bottom: 10px;
}

.article-content {
    font-size: 17px;
    line-height: 1.9;
    color: #444;
}

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

.article-content h2 {
    font-size: 1.9rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-top: 50px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-top: 35px;
    margin-bottom: 20px;
}

.article-content ul {
    margin: 20px 0 30px 30px;
    padding: 0;
}

.article-content ul li {
    margin-bottom: 12px;
    line-height: 1.8;
}

.featured-image {
    margin: 40px 0;
    text-align: center;
}

.featured-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* FAQ Section */
.faq-item {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    margin-bottom: 15px;
    padding: 20px;
    cursor: pointer;
}

.faq-item summary {
    font-weight: 600;
    font-size: 1.1rem;
    color: #1a1a1a;
    cursor: pointer;
    user-select: none;
}

.faq-item p {
    margin-top: 15px;
    padding-left: 10px;
    color: #555;
}

.faq-item[open] {
    background: #e7f3ff;
    border-color: #007bff;
}

/* Quick Links */
.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 50px 0 30px;
}

.link-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.link-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.link-box a {
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    display: block;
}

.copyright-notice {
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
    border-top: 2px solid #e9ecef;
    color: #666;
    font-size: 14px;
}

/* Footer Styles */
.site-footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 50px 0 30px;
    margin-top: 60px;
}

.footer-columns {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 600;
}

.footer-about p {
    line-height: 1.8;
    color: #bdc3c7;
    font-size: 15px;
}

.footer-social .social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-social .social-links a {
    color: #bdc3c7;
    font-size: 15px;
    transition: color 0.3s;
}

.footer-social .social-links a:hover {
    color: #3498db;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #34495e;
    border-bottom: 1px solid #34495e;
    margin: 30px 0;
}

.footer-bottom p {
    margin: 5px 0;
    color: #95a5a6;
    font-size: 14px;
}

.footer-bottom a {
    color: #3498db;
}

.footer-logo {
    text-align: center;
    margin: 30px 0;
}

.footer-logo img {
    max-width: 200px;
    margin: 0 auto;
}

.footer-links {
    text-align: center;
    margin: 25px 0;
}

.footer-links a {
    color: #bdc3c7;
    margin: 0 15px;
    font-size: 14px;
}

.footer-links a:hover {
    color: #3498db;
}

.footer-responsible {
    text-align: center;
    margin: 25px 0;
}

.footer-responsible p {
    color: #95a5a6;
    font-size: 14px;
}

.footer-responsible a {
    color: #3498db;
}

.footer-menu {
    text-align: center;
    margin: 25px 0 0;
}

.footer-menu a {
    color: #bdc3c7;
    margin: 0 15px;
    font-size: 14px;
    font-weight: 500;
}

.footer-menu a:hover {
    color: #3498db;
}

/* Floating Icon */
.floating-icon {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
    z-index: 999;
}

.floating-icon:hover {
    transform: scale(1.1);
}

/* Sitemap Styles */
.sitemap-section {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.sitemap-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #1a1a1a;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
}

.sitemap-section ul {
    list-style: none;
    padding-left: 0;
}

.sitemap-section ul li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.sitemap-section ul li:before {
    content: "•";
    color: #007bff;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.sitemap-section ul li a {
    color: #007bff;
}

.sitemap-section ul li a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.sitemap-date {
    color: #6c757d;
    font-size: 0.85rem;
    margin-left: 10px;
}

/* Content Pages */
.content-page {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.content-page h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #1a1a1a;
    border-bottom: 3px solid #007bff;
    padding-bottom: 20px;
}

.content-page h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.content-page p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #444;
}

.content-page ul, .content-page ol {
    margin: 20px 0 20px 30px;
}

.content-page li {
    margin-bottom: 12px;
    line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-top .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .entry-title {
        font-size: 1.8rem;
    }
    
    .main-article {
        padding: 20px;
    }
    
    .article-content {
        font-size: 16px;
    }
    
    .article-content h2 {
        font-size: 1.5rem;
    }
    
    .article-content h3 {
        font-size: 1.3rem;
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .quick-links {
        grid-template-columns: 1fr;
    }
    
    .floating-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
}

/* Archive Pages */
.archive-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 50px 30px;
    border-radius: 10px;
    margin-bottom: 40px;
    text-align: center;
}

.archive-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.archive-description {
    font-size: 1.1rem;
    opacity: 0.95;
}

.posts-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 50px;
}

.post-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.post-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.post-title a {
    color: #1a1a1a;
    transition: color 0.3s;
}

.post-title a:hover {
    color: #667eea;
}

.post-meta {
    margin-bottom: 15px;
    color: #6c757d;
    font-size: 0.9rem;
}

.post-date {
    display: inline-block;
}

.post-excerpt {
    color: #555;
    line-height: 1.8;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 40px 0;
}

.pagination .current-page {
    background: #667eea;
    color: white;
    padding: 10px 18px;
    border-radius: 5px;
    font-weight: 600;
}

.pagination .page-number,
.pagination .next-page {
    background: white;
    color: #333;
    padding: 10px 18px;
    border-radius: 5px;
    border: 1px solid #dee2e6;
    transition: all 0.3s;
}

.pagination .page-number:hover,
.pagination .next-page:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* Sidebar */
.sidebar {
    margin-top: 40px;
}

.widget {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.widget-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1a1a1a;
    padding-bottom: 15px;
    border-bottom: 2px solid #667eea;
}

.recent-posts {
    list-style: none;
    padding: 0;
}

.recent-posts li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.recent-posts li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.recent-posts li a {
    color: #333;
    font-size: 0.95rem;
    line-height: 1.6;
}

.recent-posts li a:hover {
    color: #667eea;
}

/* Search Form */
.search-form {
    display: flex;
    gap: 10px;
}

.search-form input[type="search"] {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    font-size: 15px;
}

.search-form button {
    padding: 12px 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s;
}

.search-form button:hover {
    transform: scale(1.05);
}

/* Empty State */
.no-content {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 50px 0;
}

.empty-state {
    text-align: center;
    max-width: 500px;
    padding: 40px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.empty-icon {
    font-size: 5rem;
    margin-bottom: 20px;
}

.empty-state h2 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.empty-state p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
}

/* Active Menu Item */
.main-nav ul li a.active {
    color: #667eea;
    font-weight: 600;
}

/* Header Styles */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    height: 50px;
    width: auto;
}

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

nav ul.main-menu li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul.main-menu li a:hover {
    color: #e74c3c;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
    border-radius: 10px;
    margin: 30px 0;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Featured Stories Section */
.featured-stories {
    margin: 40px 0;
}

.featured-stories h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #2c3e50;
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.story-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.story-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background-color: #e0e0e0;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-info {
    padding: 15px;
}

.story-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.story-desc {
    font-size: 0.9rem;
    color: #666;
}

/* Categories Section */
.categories {
    margin: 40px 0;
}

.categories h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #2c3e50;
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.category-item {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.category-item:hover {
    transform: scale(1.05);
}

/* Footer Styles */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 40px 0 20px;
    margin-top: 60px;
}

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

.footer-section h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: #ecf0f1;
}

.footer-section p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #bdc3c7;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #e74c3c;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #3498db;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    font-size: 0.9rem;
    color: #95a5a6;
}

.footer-bottom p {
    margin: 5px 0;
}

/* Sitemap Styles */
.sitemap-section {
    background: white;
    padding: 30px;
    border-radius: 10px;
    margin: 30px 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.sitemap-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #2c3e50;
    border-bottom: 2px solid #667eea;
    padding-bottom: 10px;
}

.sitemap-section ul {
    list-style: none;
    padding-left: 0;
}

.sitemap-section ul li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.sitemap-section ul li:before {
    content: "•";
    color: #667eea;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.sitemap-section ul li a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sitemap-section ul li a:hover {
    color: #e74c3c;
    text-decoration: underline;
}

.sitemap-date {
    color: #7f8c8d;
    font-size: 0.85rem;
    margin-left: 10px;
}

/* Content Pages */
.content-page {
    background: white;
    padding: 40px;
    border-radius: 10px;
    margin: 30px 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.content-page h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.content-page h2 {
    font-size: 1.8rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #34495e;
}

.content-page p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #555;
}

.content-page ul, .content-page ol {
    margin-left: 30px;
    margin-bottom: 15px;
}

.content-page li {
    margin-bottom: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul.main-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .story-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}
