:root {
    --secondary-color: #FF7E67;
    /* Warmer coral color for Play buttons */
}

/* Blog Specific Styles */

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
}



.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.article-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.article-image {
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    margin-bottom: 15px;
}

.article-emoji {
    font-size: 5rem;
    filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.article-card:hover .article-emoji {
    transform: scale(1.1);
}

.article-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-content h3 {
    font-family: var(--font-heading, "Fredoka", sans-serif);
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.3;
}

.article-excerpt {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
    flex: 1;
    line-height: 1.6;
}

.read-more-btn {
    display: inline-block;
    background: #4A90E2;
    /* Blue color */
    color: white;
    padding: 10px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: background 0.2s ease;
    align-self: flex-start;
    box-shadow: 0 4px 0 #357ABD;
}

.read-more-btn:hover {
    background: #5AA0F2;
    transform: translateY(-2px);
}

/* Article Page Specifics */
.article-full {
    max-width: 800px;
    margin: 40px auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.article-header {
    text-align: center;
    margin-bottom: 40px;
    /* Reset inherited styles from generic 'header' selector in style.css */
    position: static;
    border-bottom: none;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
    max-height: none;
    display: block;
    width: auto;
    z-index: auto;
}

.article-title {
    font-family: var(--font-heading, "Fredoka", sans-serif);
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: #2C3E50;
    /* Darker, more readable color */
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.05);
    font-weight: 700;
}

.article-meta {
    color: #666;
    font-size: 0.95rem;
    font-weight: 500;
}

.article-body {
    line-height: 1.8;
    font-size: 1.15rem;
    color: #2C3E50;
    text-align: left;
    /* Left align text for better readability */
}

.article-body h2 {
    color: #4A90E2;
    /* Matching blue */
    margin-top: 35px;
    margin-bottom: 20px;
    font-size: 2rem;
    font-family: var(--font-heading, "Fredoka", sans-serif);
    border-bottom: 2px solid #E0E0E0;
    padding-bottom: 10px;
    text-align: center;
    /* Keep headers centered */
}

.article-body h3 {
    text-align: center;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body ul {
    margin-bottom: 20px;
    padding-left: 40px;
    text-align: left;
    /* display: inline-block;  Removed this as it might cause centering issues of the block itself if not careful */
}

.article-body li {
    margin-bottom: 10px;
    list-style-type: disc;
}