* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #ff8c00;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: rgba(255, 140, 0, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    padding: 30px 0;
    margin-bottom: 40px;
    text-align: center;
    border-bottom: 3px solid rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

header p {
    color: #fff8e1;
    font-size: 1.1rem;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.article-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #ff8c00 0%, #ff6b00 100%);
}

.article-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-title {
    font-size: 1.3rem;
    color: #ff8c00;
    margin-bottom: 12px;
    font-weight: bold;
    line-height: 1.3;
}

.article-excerpt {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 15px;
    flex-grow: 1;
    line-height: 1.6;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.article-date {
    color: #999;
    font-size: 0.85rem;
}

.read-more {
    color: #ff8c00;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #ff6b00;
}

footer {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 60px;
}

footer p {
    margin: 5px 0;
}

footer small {
    opacity: 0.7;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Article Page Styles */
.article-header {
    background: white;
    padding: 40px 0;
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.article-header h1 {
    font-size: 2.5rem;
    color: #ff8c00;
    margin-bottom: 15px;
}

.article-header .meta {
    color: #999;
    font-size: 0.95rem;
}

.article-body {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.article-body img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin: 30px 0;
}

.article-body p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
    text-align: justify;
}

.back-button {
    display: inline-block;
    margin-bottom: 20px;
    color: white;
    background: #ff8c00;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease;
    font-weight: bold;
}

.back-button:hover {
    background: #ff6b00;
    color: white;
}