/* ========== BLOG STYLES ========== */

/* ========== DROPDOWN MENU ========== */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(255, 255, 255, 0.98);
    min-width: 300px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    border-radius: 8px;
    padding: 0.5rem 0;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
}

.dropdown-content a {
    color: #333;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    transition: all 0.3s;
    font-weight: 500;
    border-left: 3px solid transparent;
}

.dropdown-content a:hover {
    background-color: #f0f5f7;
    border-left: 3px solid #2c5f6f;
    color: #2c5f6f;
}

.dropdown button {
    cursor: pointer;
}

/* ========== BLOG SECTION ========== */
.blog-section {
    padding: 4rem 2rem;
    background: linear-gradient(to bottom, #f0f5f7, #ffffff);
    max-width: 100vw;
}

/* ========== BLOG GRID ========== */
.blog-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

/* ========== BLOG CARD ========== */
.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.blog-image {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
    background-color: #d4e4e8;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #5a8a96;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.8rem;
    line-height: 1.2;
}

.blog-meta .separator {
    font-size: 1.1em;
    opacity: 0.7;
    position: relative;
    top: 0;
}

.blog-date,
.blog-author {
    font-family: inherit;
    color: #5a8a96;
    font-size: 0.9rem;
    line-height: 1.2;
}

.blog-author {
    text-transform: none;
    font-weight: 500;
}

.blog-card h2 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #2c5f6f;
    line-height: 1.4;
    font-weight: 600;
}

.blog-card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

.read-more {
    color: #5a8a96;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.read-more:hover {
    color: #2c5f6f;
    transform: translateX(5px);
}

/* ========== ARTICLE PAGE STYLES ========== */
.article-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
    background: white;
}

.article-header {
    margin-bottom: 2.5rem;
}

.article-title {
    font-size: 2.5rem;
    color: #2c5f6f;
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 700;
}

.article-meta {
    color: #5a8a96;
    font-size: 1rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

.article-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.article-content h2 {
    font-size: 1.9rem;
    color: #2c5f6f;
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.article-content h3 {
    font-size: 1.5rem;
    color: #2c5f6f;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.article-content p {
    margin-bottom: 1.5rem;
    color: #555;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
    color: #555;
}

.article-content strong {
    color: #2c5f6f;
    font-weight: 600;
}

.back-to-blog {
    display: inline-block;
    margin-top: 3rem;
    padding: 0.9rem 2rem;
    background: linear-gradient(135deg, #5a8a96 0%, #7ba8b5 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s;
    font-weight: 600;
}

.back-to-blog:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(90, 138, 150, 0.3);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1000px) {
    .dropdown-content {
        min-width: 260px;
        left: auto;
        right: 0;
    }
    
    .blog-section {
        padding: 3rem 1.5rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-image {
        height: 200px;
    }
    
    .blog-content {
        padding: 1.2rem;
    }
    
    .blog-card h2 {
        font-size: 1.3rem;
    }
    
    .article-container {
        padding: 3rem 1.5rem;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .article-image {
        max-height: 300px;
        margin-bottom: 2rem;
    }
    
    .article-content {
        font-size: 1rem;
    }
    
    .article-content h2 {
        font-size: 1.6rem;
        margin-top: 2rem;
    }
    
    .article-content h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .dropdown-content {
        min-width: 220px;
    }
    
    .blog-section {
        padding: 2rem 1rem;
    }
    
    .blog-grid {
        gap: 1.2rem;
    }
    
    .blog-image {
        height: 180px;
    }
    
    .blog-content {
        padding: 1rem;
    }
    
    .blog-card h2 {
        font-size: 1.2rem;
    }
    
    .blog-card p {
        font-size: 0.95rem;
    }
    
    .article-container {
        padding: 2rem 1rem;
    }
    
    .article-title {
        font-size: 1.7rem;
    }
    
    .article-meta {
        font-size: 0.9rem;
    }
    
    .article-image {
        max-height: 250px;
    }
    
    .article-content {
        font-size: 0.95rem;
    }
    
    .article-content h2 {
        font-size: 1.4rem;
    }
    
    .article-content h3 {
        font-size: 1.2rem;
    }
    
    .back-to-blog {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
}