/* Blog Styles */

/* Blog Hero Section */
.blog-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    margin-top: 80px;
    text-align: center;
}

.blog-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.blog-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    color: white;
}

/* Blog Content Layout */
.blog-content {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.blog-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

/* Blog Posts */
.blog-post {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

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

.featured-post {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 3rem;
}

.featured-post .post-image {
    order: 1;
}

.featured-post .post-content {
    order: 2;
    padding: 3rem;
}

.post-image {
    position: relative;
    overflow: hidden;
}

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

.featured-post .post-image svg {
    height: 300px;
}

.post-content {
    padding: 2rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.post-category {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-weight: 500;
    font-size: 0.8rem;
}

.post-date {
    color: #666;
    font-weight: 500;
}

.post-title {
    margin-bottom: 1rem;
}

.post-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.featured-post .post-title {
    font-size: 1.8rem;
}

.post-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.read-more {
    color: #667eea;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #5a6fd8;
}

/* Blog Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.widget-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    border-bottom: 2px solid #667eea;
    padding-bottom: 0.5rem;
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 0.75rem;
}

.category-list a {
    color: #555;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.category-list a:hover {
    background-color: #f8f9fa;
    color: #667eea;
}

.category-list span {
    background-color: #e9ecef;
    color: #666;
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    font-size: 0.8rem;
}

.popular-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mini-post {
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.mini-post:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.mini-post h4 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.mini-post h4 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.mini-post-date {
    color: #666;
    font-size: 0.85rem;
}

/* Article Styles */
.article {
    padding: 120px 0 80px;
    margin-top: 80px;
}

.breadcrumbs {
    margin-bottom: 2rem;
    color: #666;
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: #667eea;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.article-header {
    margin-bottom: 3rem;
    text-align: center;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.article-category {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
}

.article-date,
.reading-time {
    color: #666;
    font-weight: 500;
}

.article-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    line-height: 1.2;
}

.article-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.article-image {
    margin-bottom: 3rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.article-image svg {
    width: 100%;
    height: 300px;
    display: block;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.article-content h2 {
    font-size: 1.8rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    border-bottom: 2px solid #667eea;
    padding-bottom: 0.5rem;
}

.article-content h3 {
    font-size: 1.4rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #667eea;
}

.article-content h4 {
    font-size: 1.2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.article-content p {
    margin-bottom: 1.5rem;
    color: #444;
}

.article-content ul,
.article-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
    color: #444;
}

.article-content blockquote {
    background: #f8f9fa;
    border-left: 4px solid #667eea;
    margin: 2rem 0;
    padding: 1.5rem;
    font-style: italic;
    color: #555;
}

.article-content .important-note {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border: 1px solid #2196f3;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.article-content .important-note h3 {
    color: #1976d2;
    margin-top: 0;
    margin-bottom: 1rem;
}

.article-content .emergency-warning {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    border: 2px solid #f44336;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.article-content .emergency-warning h3 {
    color: #d32f2f;
    margin-top: 0;
    margin-bottom: 1rem;
}

.article-content .emergency-warning p {
    color: #c62828;
    font-weight: 500;
    margin-bottom: 0;
}

.article-content strong {
    color: #2c3e50;
    font-weight: 600;
}

.article-content a {
    color: #667eea;
    text-decoration: underline;
}

.article-content a:hover {
    color: #5a6fd8;
}

/* Table Styles */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.cookie-table th,
.cookie-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.cookie-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
}

.cookie-table tr:last-child td {
    border-bottom: none;
}

.cookie-table tr:hover {
    background-color: #f8f9fa;
}

/* Cookie Settings Preview */
.cookie-settings-preview {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.cookie-settings-preview h4 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.cookie-category {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: white;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.cookie-category h5 {
    margin: 0;
    color: #2c3e50;
}

.required {
    color: #dc3545;
    font-size: 0.8rem;
    font-weight: normal;
}

.toggle {
    font-size: 1.2rem;
}

/* Newsletter Sidebar Widget */
.newsletter-widget {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.newsletter-widget .widget-title {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.newsletter-widget p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.newsletter-widget .newsletter-form {
    margin-top: 1rem;
}

.newsletter-widget .newsletter-input {
    margin-bottom: 1rem;
}

.newsletter-widget .btn-primary {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.newsletter-widget .btn-primary:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Tags */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tag {
    background: #e9ecef;
    color: #495057;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag:hover {
    background: #667eea;
    color: white;
}

/* Responsive Design for Blog */
@media (max-width: 768px) {
    .blog-title {
        font-size: 2rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .featured-post {
        grid-template-columns: 1fr;
    }

    .featured-post .post-content {
        padding: 2rem;
    }

    .article-meta {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .article-title {
        font-size: 2rem;
    }

    .cookie-table {
        font-size: 0.9rem;
    }

    .cookie-table th,
    .cookie-table td {
        padding: 0.75rem 0.5rem;
    }

    .cookie-category {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .blog-title {
        font-size: 1.8rem;
    }

    .article-title {
        font-size: 1.8rem;
    }

    .post-content {
        padding: 1.5rem;
    }

    .sidebar-widget {
        padding: 1.5rem;
    }

    .article-content {
        padding: 0 1rem;
    }
}