/*
Theme Name: DinaView Custom Theme
Description: A minimalist, academic-focused theme for film scholar Dina Iordanova.
Author: Custom Developer
Version: 1.0
*/

/* --- Global Styles & Typography --- */
body {
    font-family: 'Georgia', serif; /* Classic academic serif for readability */
    color: #333;
    background-color: #fcfcfc; /* Warm neutral cream/white */
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 600;
    color: #222;
}

a {
    color: #0056b3;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header & Navigation --- */
.site-header {
    padding: 20px 0;
    border-bottom: 1px solid #eaeaea;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: #fcfcfc;
    z-index: 100;
}

.site-logo {
    font-size: 28px;
    font-weight: bold;
    font-family: 'Helvetica Neue', sans-serif;
    color: #222;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.main-navigation a {
    color: #333;
    font-family: 'Helvetica Neue', sans-serif;
    font-weight: 500;
}

/* --- Featured Posts Layout (1 Large, 2 Small) --- */
.featured-posts-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    margin: 40px 0;
}

.featured-post {
    position: relative;
    overflow: hidden;
    background: #eaeaea;
    border-radius: 4px;
}

.featured-post:nth-child(1) {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.featured-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.featured-post-content {
    position: absolute;
    bottom: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.featured-post-content h2, .featured-post-content h3 {
    color: #fff;
    margin: 0 0 10px 0;
}

.featured-post-content a {
    color: #fff;
}

/* --- Latest Posts Feed --- */
.latest-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .featured-posts-grid {
        grid-template-columns: 1fr;
    }
    .featured-post:nth-child(1) {
        grid-column: 1;
        grid-row: auto;
    }
    .site-header {
        flex-direction: column;
        gap: 15px;
    }
}