/* --- Root Variables for Consistency --- */
:root {
    --primary-medical-blue: #0056b3;
    --emergency-red: #d90429;
    --clean-white: #ffffff;
    --soft-gray: #f8f9fa;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --border-color: #dee2e6;
}

/* --- General Layout --- */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--clean-white);
    max-width: 850px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

header {
    border-bottom: 3px solid var(--emergency-red);
    padding-bottom: 1.5rem;
    margin-bottom: 3rem;
}

h1 {
    color: var(--primary-medical-blue);
    font-size: 2.5rem;
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.5px;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* --- Content Sections --- */
h2 {
    color: var(--primary-medical-blue);
    border-left: 4px solid var(--emergency-red);
    padding-left: 15px;
    margin-top: 2rem;
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.25rem;
}

/* --- The Post List (Requested Class) --- */
.post-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.post-list li {
    background-color: var(--soft-gray);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

/* Hover effect to make it feel interactive */
.post-list li:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-medical-blue);
}

.post-date {
    display: block;
    font-size: 0.85rem;
    color: var(--emergency-red);
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.post-title {
    display: block;
    font-size: 1.3rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.post-title:hover {
    color: var(--primary-medical-blue);
}

.post-excerpt {
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0;
}

/* --- Footer --- */
footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}
/* --- Force Teacher's structure to use the correct font --- */

.post-list li a {
    display: block !important;
    font-size: 1.3rem !important;
    color: var(--text-dark) !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-family: 'Inter', -apple-system, sans-serif !important;
}

.post-list li .date {
    display: block !important;
    font-size: 0.85rem !important;
    color: var(--emergency-red) !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    font-family: 'Inter', -apple-system, sans-serif !important;
}
