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

body {
    font-family: 'Battambang', 'Siemreap', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    line-height: 1.8;
    color: #1a1a1a;
    background: #ffffff;
    font-size: 16px;
}

/* Navigation bar */
nav {
    background: white;
    border-bottom: 1px solid #e5e5e5;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav .nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1a5f7a;
    text-decoration: none;
}

nav .nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

nav .nav-links a {
    text-decoration: none;
    color: #666;
    font-size: 0.95rem;
    transition: color 0.2s;
}

nav .nav-links a:hover {
    color: #1a5f7a;
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f1f5 100%);
    padding: 4rem 1rem;
    border-bottom: 2px solid #d0e8f2;
}

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

.hero-tag {
    display: inline-block;
    background: #1a5f7a;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: 2.8rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #1a1a1a;
    font-weight: 700;
}

.hero .subtitle {
    font-size: 1.15rem;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.hero-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 0.95rem;
    color: #777;
}

.hero-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Main content */
.main-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

/* Article sections */
.article-section {
    margin-bottom: 3rem;
}

.article-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    font-weight: 700;
    border-left: 4px solid #1a5f7a;
    padding-left: 1rem;
}

.article-section p {
    margin-bottom: 1.3rem;
    font-size: 1.05rem;
    color: #333;
    text-align: justify;
}

/* Image blocks with text wrap */
.image-block {
    margin: 2.5rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.image-block.reverse {
    direction: rtl;
}

.image-block.reverse > * {
    direction: ltr;
}

.image-block img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.image-block-text p {
    margin-bottom: 1rem;
}

.image-block-text p:last-child {
    margin-bottom: 0;
}

/* Full-width image */
.image-full {
    margin: 3rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.image-full img {
    width: 100%;
    height: auto;
    display: block;
}

.image-caption {
    background: #f8f9fa;
    padding: 1rem;
    font-size: 0.95rem;
    color: #666;
    font-style: italic;
    border-left: 3px solid #1a5f7a;
}

/* Highlight quote */
.highlight-quote {
    background: #f0f4f8;
    border-left: 4px solid #1a5f7a;
    padding: 1.5rem;
    margin: 2rem 0;
    font-size: 1.1rem;
    color: #333;
    font-style: italic;
    line-height: 1.8;
}

/* Footer */
footer {
    background: #f8f9fa;
    padding: 3rem 1rem;
    border-top: 1px solid #e5e5e5;
    margin-top: 3rem;
}

footer .footer-content {
    max-width: 900px;
    margin: 0 auto;
}

.footer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.footer-tag {
    background: white;
    border: 1px solid #d0e8f2;
    color: #1a5f7a;
    padding: 0.6rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
}

.footer-info {
    color: #777;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    nav .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero .subtitle {
        font-size: 1rem;
    }

    .article-section h2 {
        font-size: 1.4rem;
    }

    .image-block {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .image-block.reverse {
        direction: ltr;
    }

    .hero-meta {
        gap: 1rem;
    }

    .main-container {
        padding: 2rem 1rem;
    }

    body {
        font-size: 15px;
    }
}

.divider {
    height: 1px;
    background: #e5e5e5;
    margin: 2rem 0;
}
