* {
    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.6;
    color: #333;
    background: #f8f9fa;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    flex: 0 0 auto;
}

.logo a {
    display: block;
    text-decoration: none;
}

.logo img {
    display: block;
}

.logo h1 {
    color: #03274b;
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
}

.tagline {
    color: #666;
    font-size: 0.9rem;
}

.menu-toggle {
    display: none;
    background: #03274b;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 4px;
    flex: 0 0 auto;
}

.menu-toggle:hover {
    background: #05396b;
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    border-top: 1px solid #e0e0e0;
    padding-top: 1rem;
    width: 100%;
    order: 3;
}

.logo h1 {
    color: #1a73e8;
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
}

.tagline {
    color: #666;
    font-size: 0.9rem;
}

.menu-toggle {
    display: none;
    background: #1a73e8;
    color: #fff;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.menu-toggle:hover {
    background: #0d47a1;
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    border-top: 1px solid #e0e0e0;
    padding-top: 1rem;
}

nav a {
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s;
    border-radius: 4px;
    font-size: 0.95rem;
}

nav a:hover {
    background: #f0f0f0;
    color: #03274b;
}

nav a.active {
    background: #03274b;
    color: #fff;
}

main {
    padding: 2rem 20px;
}

.featured {
    margin-bottom: 3rem;
}

.article-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.article-card img {
    width: 100%;
    height: auto;
    display: block;
}

.article-content {
    padding: 1.5rem;
}

.category {
    display: inline-block;
    background: #006a4e;
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.article-card h2,
.article-card h3 {
    margin: 0.5rem 0;
}

.article-card a {
    text-decoration: none;
    color: #333;
}

.article-card a:hover {
    color: #006a4e;
}

.meta {
    color: #666;
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.article-full {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    max-width: 800px;
    margin: 0 auto;
}

.article-full h1 {
    font-size: 2.5rem;
    margin: 1rem 0;
}

.article-full img {
    width: 100%;
    height: auto;
    margin: 2rem 0;
    border-radius: 8px;
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-body h2 {
    margin: 2rem 0 1rem;
    color: #006a4e;
}

.article-body p {
    margin-bottom: 1rem;
}

footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav a {
        margin: 0 1rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
}


.page-header {
    margin: 2rem 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e0e0e0;
}

.page-header h2 {
    color: #03274b;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: #666;
    font-size: 1.1rem;
}

.articles-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.article-item {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    transition: all 0.3s;
    overflow: hidden;
}

.article-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.article-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.article-item .article-content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-item h3 {
    margin: 0.5rem 0;
    font-size: 1.1rem;
    line-height: 1.4;
}

.article-item h3 a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

.article-item h3 a:hover {
    color: #03274b;
}

.article-item p {
    color: #555;
    margin: 0.75rem 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.read-more {
    display: inline-block;
    color: #03274b;
    text-decoration: none;
    font-weight: 500;
    margin-top: 0.5rem;
    transition: color 0.3s;
}

.read-more:hover {
    color: #05396b;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 3rem 0;
}

.pagination a {
    padding: 0.5rem 1rem;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
}

.pagination a:hover {
    background: #f0f0f0;
    border-color: #03274b;
}

.pagination a.active {
    background: #03274b;
    color: #fff;
    border-color: #03274b;
}

footer {
    background: #2c3e50;
    color: #fff;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #fff;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #fff;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    header .container {
        padding: 1rem 15px;
    }
    
    .logo h1 {
        font-size: 1.4rem;
    }
    
    .tagline {
        font-size: 0.85rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    nav {
        display: none;
        flex-direction: column;
        gap: 0;
        border-top: none;
        padding-top: 0.5rem;
        background: #fff;
        border: 1px solid #e0e0e0;
        border-radius: 4px;
        overflow: hidden;
        margin-top: 0.5rem;
    }
    
    nav.active {
        display: flex;
    }
    
    nav a {
        font-size: 0.95rem;
        padding: 0.75rem 1rem;
        border-bottom: 1px solid #e0e0e0;
        border-radius: 0;
        display: block;
        width: 100%;
    }
    
    nav a:last-child {
        border-bottom: none;
    }
    
    .articles-list {
        grid-template-columns: 1fr;
    }
    
    .page-header h2 {
        font-size: 1.5rem;
    }
    
    .article-full {
        padding: 1rem;
    }
    
    .article-full h1 {
        font-size: 1.8rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .articles-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1025px) {
    .articles-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1400px) {
    .articles-list {
        grid-template-columns: repeat(4, 1fr);
    }
}


.article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e0e0e0;
}

.tags {
    margin-bottom: 1.5rem;
}

.tag {
    display: inline-block;
    background: #f0f0f0;
    color: #555;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.share {
    margin-top: 1.5rem;
}

.share p {
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.share-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #03274b;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    margin-right: 0.5rem;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.share-btn:hover {
    background: #05396b;
}

.related-articles {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid #e0e0e0;
}

.related-articles h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #03274b;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.related-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.related-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.related-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.related-item h4 {
    padding: 1rem 1rem 0.5rem;
    margin: 0;
    font-size: 1.1rem;
}

.related-item h4 a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

.related-item h4 a:hover {
    color: #03274b;
}

.related-item .meta {
    padding: 0 1rem 1rem;
    margin: 0;
}
