/* CSS Variables matching original site */
:root {
    --contrast: #222222;
    --contrast-2: #7b7b7c;
    --contrast-3: #b2b2be;
    --base: #f0f0f0;
    --base-2: #f7f8f9;
    --base-3: #ffffff;
    --accent: #eff7ff;
    --accent-2: #1b109e;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Crimson Text', serif;
    color: var(--contrast);
    line-height: 1.8;
    background-color: var(--base-3);
    font-size: 18px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    line-height: 1.4;
}

h1 {
    font-size: 60px;
}

h2 {
    font-size: 30px;
}

@media (max-width: 1024px) {
    h1 { font-size: 43px; }
}

@media (max-width: 768px) {
    h1 { font-size: 38px; }
    h2 { font-size: 25px; }
}

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

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

/* Grid container */
.grid-container {
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 40px;
    padding-right: 40px;
}

/* Header */
.site-header {
    background-color: var(--base-3);
    padding: 40px 0 20px 0;
}

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

.site-logo {
    flex-shrink: 0;
}

.site-header .header-image {
    width: 470px;
    max-width: 100%;
    height: auto;
}

/* Main Navigation */
.main-navigation {
    display: flex;
    align-items: center;
}

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

.main-navigation .main-nav ul li a {
    color: var(--contrast-2);
    font-size: 17px;
    font-family: 'Crimson Text', serif;
    font-weight: 400;
}

.main-navigation .main-nav ul li a:hover {
    color: var(--contrast);
}

/* Title Banner */
.title-banner {
    width: 100%;
    background-color: var(--base-3);
    padding: 0;
    margin-bottom: 40px;
}

.banner-image {
    width: 100%;
    max-width: 1500px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Content Layout - Main + Sidebar */
.site-content {
    display: flex;
    gap: 0;
}

.content-area {
    width: 75%;
    padding-right: 40px;
    border-right: 1px solid var(--contrast-3);
}

.sidebar {
    width: 25%;
    padding-left: 40px;
}

/* Blog Grid - 1 COLUMN */
.blog-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* First Post - FEATURED */
.post-card:first-child {
    background: var(--accent);
    padding: 0;
}

.post-card:first-child img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 0;
}

.post-card:first-child .post-content-wrapper {
    padding: 20px;
}

/* Regular Posts - 2 COLUMN GRID */
.post-card:not(:first-child) {
    background: var(--base-3);
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 20px;
    align-items: start;
}

.post-card:not(:first-child) img {
    width: 100%;
    height: auto;
    margin-bottom: 0;
}

.post-card:not(:first-child) .post-content-wrapper {
    padding: 0;
}

/* All Posts */
.post-card {
    background: var(--base-3);
    overflow: hidden;
}

.post-card img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px;
}

.post-content-wrapper {
    padding: 0;
}

.post-meta-line {
    margin-bottom: 10px;
}

.post-category {
    font-size: 12px;
    color: var(--accent-2);
    text-transform: none;
    letter-spacing: 0px;
    margin-bottom: 0px;
    margin-right: 10px;
    font-weight: 600;
    display: inline-block;
}

.post-date {
    font-size: 14px;
    color: var(--contrast-2);
    margin-bottom: 0px;
    display: inline-block;
}

.post-card h2 {
    font-size: 28px;
    margin-bottom: 10px;
    margin-top: 0px;
    line-height: 1.3;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--contrast-3);
}

.post-card h2 a {
    color: var(--accent-2);
}

.post-card h2 a:hover {
    color: var(--accent);
}

.post-excerpt {
    color: var(--contrast);
    margin-bottom: 20px;
    line-height: 1.7;
}

.read-more {
    display: inline-block;
    padding: 0;
    background-color: transparent;
    color: var(--accent-2);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    font-weight: 600;
    font-family: 'Crimson Text', serif;
    transition: color 0.3s ease;
    border-radius: 0;
    text-decoration: none;
}

.read-more:hover {
    background-color: transparent;
    color: var(--accent);
}

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

.sidebar .widget:last-child {
    border-bottom: none;
}

.widget-title {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--contrast-2);
    font-family: 'Cormorant Garamond', serif;
    text-transform: uppercase;
}

.sidebar .widget p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--contrast);
    font-family: 'Crimson Text', serif;
}

.sidebar .widget ul {
    list-style: none;
    padding: 0;
}

.sidebar .widget ul li {
    padding: 4px 0;
    font-family: 'Crimson Text', serif;
}

.sidebar .widget ul li a {
    color: var(--contrast-2);
    font-size: 16px;
}

.sidebar .widget ul li a:hover {
    color: var(--accent-2);
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    background-color: transparent;
    color: var(--contrast);
    border-radius: 0;
    transition: color 0.3s ease;
}

.instagram-link:hover {
    background-color: transparent;
    color: var(--contrast-2);
}

.instagram-link svg {
    width: 24px;
    height: 24px;
}

/* About page */
.about-header {
    width: 100%;
    max-width: 100%;
    margin: 0 0 40px 0;
    padding: 50px 0 40px 0;
    text-align: center;
}

.about-title {
    font-size: 70px;
    margin-bottom: 20px;
    color: var(--contrast);
    position: relative;
    display: inline-block;
}

.about-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 33%;
    height: 1px;
    background-color: var(--contrast-3);
}

.about-content {
    width: 100%;
    max-width: 100%;
}

/* Single post page */
.single-post-header {
    width: 100%;
    max-width: 100%;
    margin: 0 0 40px 0;
    padding: 40px 0;
    background-color: var(--base-2);
    text-align: center;
}

.single-post-header .grid-container {
    max-width: 1500px;
    margin: 0 auto;
}

.post-header {
    margin-bottom: 40px;
}

.post-title {
    font-size: 48px;
    margin-bottom: 15px;
}

.post-meta {
    color: var(--contrast-2);
    font-size: 16px;
}

.post-content {
    max-width: 100%;
}

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

.post-content img {
    max-width: 100%;
    height: auto;
    margin: 2rem 0;
}

.post-content h3 {
    font-size: 28px;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.post-content ul, .post-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.back-link {
    display: inline-block;
    margin-top: 3rem;
    font-weight: 600;
    color: var(--accent-2);
}

.back-link:hover {
    color: var(--contrast);
}

/* Footer */
.site-footer {
    background-color: var(--base-3);
    padding: 40px 0;
    margin-top: 60px;
    border-top: 1px solid var(--base);
}

.site-info {
    text-align: center;
    color: var(--contrast-2);
    font-size: 15px;
}

/* Responsive */
@media (max-width: 1024px) {
    .content-area {
        width: 70%;
    }

    .sidebar {
        width: 30%;
    }

    .post-card:not(:first-child) {
        grid-template-columns: 1fr;
    }

    .post-card:not(:first-child) img {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .grid-container {
        padding-left: 30px;
        padding-right: 30px;
    }

    .inside-header {
        flex-direction: column;
        gap: 20px;
    }

    .main-navigation .main-nav ul {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .site-content {
        flex-direction: column;
    }

    .content-area,
    .sidebar {
        width: 100%;
        padding: 0;
        border: none;
    }

    .sidebar {
        margin-top: 40px;
    }

    .site-header {
        padding: 10px 0 0 0;
    }

    .post-title {
        font-size: 32px;
    }

    .sidebar .widget {
        padding: 20px 0;
    }

    .post-card:first-child {
        padding: 20px;
    }
}
