/* ============================================================
   blog-styles.css
   Styles specific to blog.html (blog listing page).
   Also requires: global-styles.css
   ============================================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem 4rem 2rem;
}

.blog-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.blog-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: rgba(255, 200, 87, 0.15);
    border-radius: 15px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 206, 87, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 206, 87, 0.25);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: rgba(255, 206, 87, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-date {
    color: #ffce57;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.blog-card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-card-title a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: #ffce57;
}

.blog-card-summary {
    opacity: 0.85;
    line-height: 1.6;
    flex-grow: 1;
}

.blog-card-link {
    margin-top: 1rem;
    color: #ffce57;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.blog-card-link:hover {
    gap: 1rem;
}

@media (max-width: 768px) {
    .container { padding-top: 5rem; }
    .blog-header h1 { font-size: 2rem; }
    .blog-grid { grid-template-columns: 1fr; }
}
