/* --- Global Styles & Variables --- */
:root {
    --primary-color: #c5a47e; /* Soft Gold */
    --dark-color: #121212;
    --card-bg-color: #1e1e1e;
    --light-color: #f0f0f0;
    --text-color: #d1d1d1;
    --border-color: #333333;
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Inter', sans-serif;
    --container-width: 1100px;
    --border-radius: 8px;
    --box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--light-color);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.6rem; }

p {
    margin-bottom: 1.2rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--light-color);
}

ul {
    list-style: none;
}

/* --- Header & Navigation --- */
.site-header {
    background-color: rgba(30, 30, 30, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-header .logo a {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-color);
    text-decoration: none;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-color);
    padding-bottom: 8px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* --- Main Content Layout --- */
main.container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    padding-top: 50px;
    padding-bottom: 50px;
}

@media (min-width: 992px) {
    main.container {
        grid-template-columns: 2.5fr 1fr;
    }
}

/* --- Hero Section --- */
.hero {
    text-align: center;
    padding: 3rem 1rem;
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

.hero h1 {
    color: var(--primary-color);
}

/* --- Blog Articles Grid --- */
.articles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.article-card {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 25px 30px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.article-card h3 {
    margin-top: 0;
    font-size: 1.35rem;
    color: var(--light-color);
}

.article-card p {
    flex-grow: 1;
}

.read-more {
    font-weight: 700;
    align-self: flex-start;
}

/* --- Article Page --- */
.article-header {
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
}

.article-header h1 {
    font-size: 3.2rem;
    margin-bottom: 0.5rem;
}

.article-meta {
    color: #999;
    font-size: 0.9rem;
    text-transform: uppercase;
}
.article-meta a {
    color: #aaa;
}
.article-meta a:hover {
    color: var(--primary-color);
}


.article-content h2 {
    margin-top: 2.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
    color: var(--primary-color);
}

.article-content ul {
    list-style: '› ';
    padding-left: 20px;
    margin-bottom: 1rem;
}

.article-content ul li {
    padding-left: 10px;
    margin-bottom: 0.5rem;
}

.article-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    font-size: 1.1rem;
    color: #ccc;
}

/* --- Sidebar --- */
.sidebar .widget {
    background-color: var(--card-bg-color);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.sidebar .widget h3 {
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--light-color);
}

.widget-list li {
    margin-bottom: 10px;
}

.widget-list a {
    color: var(--text-color);
    font-size: 1.05rem;
}

.widget-list a:hover {
    color: var(--primary-color);
}


/* --- Footer --- */
.site-footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    text-align: center;
    padding: 2.5rem 0;
    margin-top: 40px;
    border-top: 1px solid var(--border-color);
}

.site-footer p {
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
    color: #888;
}

.site-footer .footer-links a {
    color: var(--text-color);
    margin: 0 10px;
}

.site-footer .footer-links a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* --- Utility & Other Pages --- */
.page-header {
    padding-bottom: 1.5rem;
    text-align: left;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 2rem;
}

.page-header h1 {
    color: var(--primary-color);
}

.content-section p, .content-section ul {
    max-width: 800px;
}