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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

header {
    margin-bottom: 40px;
}

h1 {
    font-size: 2.5em;
    font-weight: bold;
    color: #000;
    margin-bottom: 20px;
    line-height: 1.2;
}

.intro {
    font-size: 1.1em;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.7;
}

h2 {
    font-size: 2em;
    font-weight: bold;
    color: #000;
    margin-bottom: 30px;
    line-height: 1.2;
}

figure {
    margin: 30px 0;
    text-align: center;
}

figure img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 4px;
}

.content {
    font-size: 1.1em;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 40px 0;
    padding: 20px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: wrap;
    gap: 15px;
}

.pagination-numbers {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    flex: 1;
    order: 2;
    width: 100%;
}

.pagination-numbers a {
    padding: 6px 10px;
    text-decoration: none;
    color: #333;
    border-radius: 3px;
    transition: all 0.2s;
    font-size: 0.95em;
}

.pagination-numbers a:hover {
    background-color: #f0f0f0;
}

.pagination-numbers a.current {
    background-color: #d32f2f;
    color: #fff;
    font-weight: bold;
}

.nav-link {
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.2s;
    white-space: nowrap;
}

.nav-link:hover {
    color: #d32f2f;
}

.nav-link.prev {
    order: 1;
}

.nav-link.next {
    order: 3;
}

#taboola-below-article-thumbnails {
    margin: 40px 0;
    min-height: 300px;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2em;
    }
    
    h2 {
        font-size: 1.5em;
    }
    
    .container {
        padding: 15px;
    }
    
    .pagination {
        flex-direction: column;
        gap: 15px;
    }
    
    .pagination-numbers {
        gap: 5px;
    }
    
    .pagination-numbers a {
        padding: 6px 10px;
        font-size: 0.9em;
    }
}

