/* Blog-specific styles */

/* Blog Header */
.blog-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

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

.blog-header-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Blog Posts Grid */
.blog-posts {
    padding: 80px 0;
    background-color: #f7fafc;
}

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

.blog-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.blog-card-image {
    height: 200px;
    background: linear-gradient(135deg, #ebf8ff 0%, #bee3f8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.blog-card-image img {
    max-width: 80px;
    max-height: 80px;
    filter: invert(27%) sepia(51%) saturate(2878%) hue-rotate(213deg) brightness(97%) contrast(87%);
}

.blog-card-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #718096;
}

.blog-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-category {
    background: #ebf8ff;
    color: #3182ce;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.blog-card h2 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    line-height: 1.4;
}

.blog-card h2 a {
    color: #1a365d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card h2 a:hover {
    color: #3182ce;
}

.blog-card p {
    color: #4a5568;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-reading-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #718096;
    font-size: 0.9rem;
}

.read-more {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #3182ce;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #2c5aa0;
    transform: translateX(2px);
}

/* Article Page Styles */
.article-header {
    padding: 120px 0 40px;
    background-color: #f7fafc;
}

.breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #3182ce;
    text-decoration: none;
}

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

.separator {
    margin: 0 0.5rem;
    color: #a0aec0;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: #718096;
    flex-wrap: wrap;
}

.article-date,
.reading-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-category {
    background: #ebf8ff;
    color: #3182ce;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-weight: 500;
}

.article-header h1 {
    font-size: 2.5rem;
    color: #1a365d;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.article-lead {
    font-size: 1.2rem;
    color: #4a5568;
    line-height: 1.6;
    max-width: 800px;
}

/* Article Content */
.article-content {
    padding: 40px 0 80px;
}

.article-content .container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

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

.article-svg {
    max-width: 200px;
    height: auto;
    filter: invert(27%) sepia(51%) saturate(2878%) hue-rotate(213deg) brightness(97%) contrast(87%);
}

.article-body h2 {
    color: #1a365d;
    font-size: 1.75rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

.article-body h3 {
    color: #2d3748;
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.article-body h4 {
    color: #4a5568;
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-body p {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

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

.article-body ul li,
.article-body ol li {
    color: #4a5568;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.article-body ul li strong,
.article-body ol li strong {
    color: #1a365d;
}

/* Special Content Boxes */
.highlight-box,
.tips-box,
.warning-box,
.cta-box {
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.highlight-box {
    background: #ebf8ff;
    border-left: 4px solid #3182ce;
}

.tips-box {
    background: #f0fff4;
    border-left: 4px solid #38a169;
}

.warning-box {
    background: #fffbeb;
    border-left: 4px solid #ed8936;
}

.cta-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta-box h3 {
    color: white;
    margin-bottom: 1rem;
}

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

/* Lists with icons */
.country-list {
    list-style: none;
    padding-left: 0;
}

.country-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.5rem;
}

.country-list li::before {
    content: '🇪🇺';
    position: absolute;
    left: 0;
    top: 0;
}

/* Document Lists */
.document-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.document-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f7fafc;
    border-radius: 8px;
}

.document-item i {
    color: #3182ce;
    font-size: 1.2rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.document-content h4 {
    margin-bottom: 0.5rem;
    color: #1a365d;
}

.document-content p {
    margin: 0;
    color: #4a5568;
    font-size: 0.9rem;
}

/* Process Steps */
.procedure-steps,
.process-timeline {
    margin: 2rem 0;
}

.step,
.timeline-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    position: relative;
}

.step-number {
    background: #3182ce;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h4 {
    color: #1a365d;
    margin-bottom: 0.5rem;
}

.step-content p {
    margin: 0;
    color: #4a5568;
}

/* Timeline */
.timeline {
    position: relative;
    margin: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.timeline-marker {
    background: #3182ce;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    flex-shrink: 0;
    z-index: 1;
}

.timeline-content {
    background: #f7fafc;
    padding: 1.5rem;
    border-radius: 8px;
    flex: 1;
}

.timeline-content h4 {
    color: #1a365d;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    margin: 0;
    color: #4a5568;
}

/* Principles List */
.principles-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.principle-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.principle-icon {
    background: #ebf8ff;
    color: #3182ce;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.principle-content h4 {
    color: #1a365d;
    margin-bottom: 0.5rem;
}

.principle-content p {
    margin: 0;
    color: #4a5568;
    font-size: 0.9rem;
}

/* Problem/Solution boxes */
.problem-solution {
    background: #f7fafc;
    border-radius: 8px;
    margin: 2rem 0;
    overflow: hidden;
}

.problem-solution h3 {
    background: #ed8936;
    color: white;
    padding: 1rem 1.5rem;
    margin: 0;
    font-size: 1.1rem;
}

.solution {
    padding: 1.5rem;
}

.solution h4 {
    color: #38a169;
    margin-bottom: 1rem;
}

/* Challenges List */
.challenges-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.challenge {
    background: #fffbeb;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #ed8936;
}

.challenge h4 {
    color: #c05621;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.challenge p:first-of-type {
    font-weight: 500;
    color: #744210;
    margin-bottom: 0.5rem;
}

.challenge p:last-of-type {
    color: #38a169;
    font-weight: 500;
    margin: 0;
}

/* Calculation Example */
.calculation-example {
    background: #f0fff4;
    padding: 2rem;
    border-radius: 8px;
    border: 2px solid #38a169;
    margin: 2rem 0;
}

.calculation-example h4 {
    color: #22543d;
    margin-bottom: 1.5rem;
}

.calculation-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.calc-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: white;
    border-radius: 6px;
}

.calc-item.benefit {
    background: #c6f6d5;
    font-weight: bold;
    color: #22543d;
}

.label {
    color: #4a5568;
}

.value {
    font-weight: 600;
    color: #1a365d;
}

/* Tips Grid */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.tip-item {
    background: #f0fff4;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #38a169;
}

.tip-item h4 {
    color: #22543d;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tip-item p {
    margin: 0;
    color: #2f855a;
}

/* FAQ Section */
.faq-section {
    margin: 2rem 0;
}

.faq-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-item h4 {
    background: #ebf8ff;
    color: #1a365d;
    padding: 1rem 1.5rem;
    margin: 0;
    font-size: 1.1rem;
    cursor: pointer;
}

.faq-item p {
    padding: 1.5rem;
    margin: 0;
    color: #4a5568;
    border-top: 1px solid #e2e8f0;
}

/* Case Studies */
.case-studies {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

.case-study {
    background: #ebf8ff;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #3182ce;
}

.case-study h4 {
    color: #1a365d;
    margin-bottom: 1rem;
}

.case-study p {
    margin-bottom: 0.75rem;
}

.case-study p:last-child {
    margin: 0;
    font-weight: 600;
    color: #38a169;
}

/* Preparation Checklist */
.preparation-checklist {
    margin: 2rem 0;
}

.preparation-checklist h3 {
    margin-bottom: 1.5rem;
    color: #1a365d;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: #f0fff4;
    border-radius: 6px;
}

.checklist-item i {
    color: #38a169;
    font-size: 1.2rem;
}

.checklist-item span {
    color: #2f855a;
}

/* Cost Breakdown */
.cost-breakdown {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f7fafc;
    border-radius: 6px;
}

.cost-item h4 {
    margin: 0;
    color: #1a365d;
}

.cost-item p {
    margin: 0;
    color: #4a5568;
    font-weight: 500;
}

/* Benefits List */
.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f0fff4;
    border-radius: 8px;
}

.benefit-item i {
    color: #38a169;
    font-size: 1.2rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.benefit-content h4 {
    color: #22543d;
    margin-bottom: 0.5rem;
}

.benefit-content p {
    margin: 0;
    color: #2f855a;
}

/* Expert Selection */
.expert-selection {
    background: #f7fafc;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.expert-selection h3 {
    color: #1a365d;
    margin-bottom: 1rem;
}

.expert-selection ul {
    margin-bottom: 2rem;
}

/* Expert Process */
.expert-process {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.step-icon {
    background: #ebf8ff;
    color: #3182ce;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-content h4 {
    color: #1a365d;
    margin-bottom: 0.5rem;
}

.step-content p {
    margin: 0;
    color: #4a5568;
}

/* Situations Grid */
.situations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

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

.situation-icon {
    background: #ebf8ff;
    color: #3182ce;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.situation-card h3 {
    color: #1a365d;
    margin-bottom: 1rem;
}

.situation-examples {
    margin-top: 1.5rem;
}

.situation-examples h4 {
    color: #4a5568;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.situation-examples ul {
    margin: 0;
    padding-left: 1.5rem;
}

.situation-examples li {
    color: #718096;
    font-size: 0.9rem;
}

/* Problem Types */
.problem-type {
    background: #f7fafc;
    padding: 2rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.problem-type h4 {
    color: #1a365d;
    margin-bottom: 1rem;
}

.problem-type p {
    color: #4a5568;
    margin-bottom: 1rem;
}

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

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

.sidebar-section h3 {
    color: #1a365d;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.table-of-contents {
    list-style: none;
    padding: 0;
}

.table-of-contents li {
    margin-bottom: 0.5rem;
}

.table-of-contents a {
    color: #4a5568;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.table-of-contents a:hover {
    color: #3182ce;
}

.related-articles {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-article {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f7fafc;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.related-article:hover {
    background: #ebf8ff;
}

.related-article img {
    width: 40px;
    height: 40px;
    filter: invert(27%) sepia(51%) saturate(2878%) hue-rotate(213deg) brightness(97%) contrast(87%);
    flex-shrink: 0;
}

.related-content h4 {
    color: #1a365d;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.related-content p {
    color: #718096;
    font-size: 0.85rem;
    margin: 0;
}

.contact-card {
    text-align: center;
}

.contact-card p {
    color: #4a5568;
    margin-bottom: 1.5rem;
}

.contact-info {
    text-align: left;
    background: #f7fafc;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.contact-info p:last-child {
    margin: 0;
}

.useful-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.link-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    color: #3182ce;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.link-item:hover {
    background: #ebf8ff;
}

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

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

    .article-header h1 {
        font-size: 2rem;
    }

    .article-meta {
        gap: 1rem;
    }

    .article-content .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .article-body {
        padding: 2rem;
    }

    .sidebar-section {
        position: static;
    }

    .principles-list {
        grid-template-columns: 1fr;
    }

    .tips-grid {
        grid-template-columns: 1fr;
    }

    .situations-grid {
        grid-template-columns: 1fr;
    }

    .calculation-details {
        gap: 0.5rem;
    }

    .calc-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .cost-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .blog-header-content h1 {
        font-size: 1.75rem;
    }

    .article-header h1 {
        font-size: 1.5rem;
    }

    .article-body {
        padding: 1.5rem;
    }

    .sidebar-section {
        padding: 1.5rem;
    }

    .blog-card-content {
        padding: 1.5rem;
    }

    .document-item,
    .principle-item,
    .process-step {
        flex-direction: column;
        text-align: center;
    }

    .step,
    .timeline-step {
        flex-direction: column;
        text-align: center;
    }

    .timeline::before {
        display: none;
    }
}
