/* 1. GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

/* 2. VARIABLES */
:root {
    --primary-color: #970000;
    --text-color: #666;
    --bg-color: #f9f9f9;
    --content-bg: #fff;
    --footer-bg: #222;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

/* 3. BASE RESET */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-color);
}

p {

    margin-bottom: 20px;
    line-height: 1.6;
}


a { color: var(--primary-color); text-decoration: none; transition: 0.2s; }
a:hover { text-decoration: underline; }

/* 4. LAYOUT */
.container { 
    max-width: 1200px; 
    margin: 40px auto; 
    padding: 30px; 
    background-color: var(--content-bg); 
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); 
}

.main-content-wrapper { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 40px; 
    margin-top: 30px;
}

/* Grid Widths */
.main-content { flex: 1 1 60%; }
aside { flex: 1 1 35%; }

/* 5. COMPONENTS */
header { padding-bottom: 20px; border-bottom: 1px solid #eee; margin-bottom: 20px; }
nav { background-color: #333; margin: 0 -30px 30px -30px; padding: 15px 30px; }
nav ul { list-style: none; display: flex; gap: 25px; flex-wrap: wrap; }
nav a { color: #fff; font-weight: bold; text-transform: uppercase; font-size: 13px; letter-spacing: 1px; }

h1, h2, h3, h4 {font-family:var(--font-heading); margin-bottom: 20px;}
h1 {
	font-size:
}

/* --- Clean Post Entry Styling --- */
.post-entry {
    padding: 30px 0;
    border-bottom: 1px solid #eee; /* Divider under each */
}

.post-entry:first-child { padding-top: 0; }
.post-entry:last-child { border-bottom: none; } /* Removes divider from the last item */

.post-entry h3 {
    font-family: var(--font-heading);
    margin: 0 0 10px 0;
    font-size: 1.6rem;
}

.post-entry p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

ul {
    margin: 5px 20px;
}

/* Table Styling - Clean & Minimalist */
.table-wrapper { 
    overflow-x: auto; 
    margin: 30px 0; 
}

table { 
    width: 100%; 
    border-collapse: collapse; 
    min-width: 450px; /* Prevents squishing on small screens */
}

table th { 
    background-color: #fcfcfc; 
    padding: 15px; 
    text-align: left; 
    border-bottom: 2px solid #ddd; 
    font-family: var(--font-heading); 
    color: #000;
}

table td { 
    padding: 12px 15px; 
    border-bottom: 1px solid #eee; 
    vertical-align: middle; 
}

table tr:hover { background-color: #f9f9f9; }

/* 7. WIDGETS */
.widget { margin-bottom: 40px; padding: 25px; background: #fcfcfc; border: 1px solid #eee; }
.widget-title { font-family: var(--font-heading); font-size: 1.2rem; margin-bottom: 15px; border-bottom: 2px solid var(--primary-color); padding-bottom: 10px; }
.widget ul { list-style: none; }
.widget li { margin-bottom: 10px; }

/* 8. FOOTER */
footer { text-align: center; padding: 40px; margin: 40px -30px -30px -30px; background: var(--footer-bg); color: #fff; font-size: 13px; }

/* 9. RESPONSIVE */
@media (max-width: 768px) {
    .container { margin: 10px; padding: 15px; }
    .main-content-wrapper { flex-direction: column; }
    nav { margin: 0 -15px 20px -15px; }
}