﻿ 
* {
    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-color: #f8fafb;
}

/*.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}*/

/* Header */
header {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3f73 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
}

    .logo::before {
        content: "🏥";
        margin-right: 10px;
        font-size: 2rem;
    }

.nav {
    display: flex;
    list-style: none;
    gap: 2rem;
}

    .nav a {
        color: white;
        text-decoration: none;
        font-weight: 500;
        transition: opacity 0.3s ease;
    }

        .nav a:hover {
            opacity: 0.8;
        }

/* Page Title */
.page-title {
    background: white;
    padding: 2rem 0;
    border-bottom: 3px solid #e8f4f8;
}

    .page-title h1 {
        color: #2c5aa0;
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }

    .page-title p {
        color: #666;
        font-size: 1.1rem;
    }

/* Main Content */
.main-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    padding: 3rem 0;
}

/* Blog Posts */
.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.blog-post {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .blog-post:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    }

.post-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(45deg, #e8f4f8, #d1e7dd);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #2c5aa0;
}

.post-content {
    padding: 2rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.post-category {
    background: #e8f4f8;
    color: #2c5aa0;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 500;
}

.post-title {
    font-size: 1.5rem;
    color: #2c5aa0;
    margin-bottom: 1rem;
    font-weight: 600;
}

.post-excerpt {
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.read-more {
    display: inline-block;
    background: #2c5aa0;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
}

    .read-more:hover {
        background: #1e3f73;
    }

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.widget-title {
    font-size: 1.3rem;
    color: #2c5aa0;
    margin-bottom: 1.5rem;
    font-weight: 600;
    border-bottom: 2px solid #e8f4f8;
    padding-bottom: 0.5rem;
}

.recent-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recent-post {
    padding: 1rem;
    border-left: 4px solid #2c5aa0;
    background: #f8fafb;
    border-radius: 0 6px 6px 0;
}

.recent-post-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.recent-post-date {
    font-size: 0.85rem;
    color: #666;
}

.categories {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: #f8fafb;
    border-radius: 6px;
    transition: background 0.3s ease;
}

    .category-item:hover {
        background: #e8f4f8;
    }

.category-count {
    background: #2c5aa0;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
}

.newsletter {
    text-align: center;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.newsletter-input {
    padding: 0.75rem;
    border: 2px solid #e8f4f8;
    border-radius: 6px;
    font-size: 1rem;
}

.newsletter-button {
    background: #28a745;
    color: white;
    padding: 0.75rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

    .newsletter-button:hover {
        background: #218838;
    }

/* Footer */
footer {
    background: #1e3f73;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #e8f4f8;
}

.footer-section p,
.footer-section li {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

    .footer-section a:hover {
        opacity: 0.7;
    }

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #2c5aa0;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .nav {
        gap: 1rem;
    }

    .page-title h1 {
        font-size: 2rem;
    }

    .main-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 0;
    }

    .post-content {
        padding: 1.5rem;
    }

    .sidebar-widget {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .page-title {
        padding: 1.5rem 0;
    }

        .page-title h1 {
            font-size: 1.8rem;
        }

    .post-image {
        height: 200px;
        font-size: 3rem;
    }

    .post-content {
        padding: 1.25rem;
    }
}

 
