
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Playfair+Display:wght@700;900&display=swap');

/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.7;
    background-color: #f9f9f9;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }

a {
    color: #a02c2c;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #333;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header & Navigation */
.header {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

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

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 900;
    color: #111;
    letter-spacing: -1px;
}

.main-nav a {
    color: #333;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.75rem;
    right: 0.75rem;
    height: 2px;
    background-color: #a02c2c;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.nav-link-active::after {
    transform: scaleX(1);
}

/* Main Content Layout */
.main-content {
    padding: 2.5rem 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 992px) {
    .content-grid {
        grid-template-columns: 3fr 1fr;
    }
}

.articles-section {
    width: 100%;
}

/* Featured Article */
.featured-article {
    display: grid;
    grid-template-columns: 1fr;
    background-color: #fff;
    margin-bottom: 2.5rem;
    border: 1px solid #e0e0e0;
}

.featured-article-img {
    height: 400px;
    width: 100%;
    object-fit: cover;
}

.featured-article-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tag {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: #a02c2c;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: block;
}

/* Article Grid */
.section-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #111;
    display: inline-block;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.card-excerpt {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    background-color: #111;
    color: #fff;
    padding: 0.6rem 1.2rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #a02c2c;
    color: #fff;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 120px;
}

.sidebar-widget {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.sidebar-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 0.5rem;
}

.promo-text p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: #111;
    color: #a0a0a0;
    padding: 2.5rem 0;
    margin-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
}

/* Article Page Specifics */
.article-header {
    margin-bottom: 2rem;
    text-align: center;
}

.article-header .tag {
    margin-bottom: 1rem;
}

.article-header h1 {
    font-size: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.article-meta {
    font-size: 0.85rem;
    color: #777;
    margin-top: 1rem;
}

.article-image {
    margin-bottom: 2rem;
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
}

.article-content {
    font-size: 1.05rem;
}

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

.article-content h2 {
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.article-content h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 991px) {
    .main-nav { display: none; } /* Simple hiding for non-JS version */
    .featured-article { grid-template-columns: 1fr; }
    h1 { font-size: 2.2rem; }
    .article-header h1 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    .container { width: 95%; }
    .article-grid { grid-template-columns: 1fr; }
}
