/* Journal-specific styles */
.journal-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.journal-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.journal-main {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.article-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

/* Article image links */
.article-card > a {
    display: block;
    text-decoration: none;
}

.article-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card > a:hover .article-image {
    transform: scale(1.05);
}

.article-content {
    padding: 2rem;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-category {
    background: #255E26;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-weight: 600;
}

/* Article title links */
.article-content > a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.article-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: #1a1a1a;
    transition: color 0.3s ease;
}

.article-content > a:hover .article-title {
    color: #255E26;
}

.article-excerpt {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 1.5rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #255E26;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 1rem;
}

.journal-sidebar {
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.sidebar-section {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.sidebar-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.featured-post {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.featured-post:last-child {
    margin-bottom: 0;
}

.featured-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
}

.featured-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
    color: #1a1a1a;
    text-decoration: none;
}

.featured-title:hover {
    color: #255E26;
}

.featured-date {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    color: #666;
}

.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #255E26, #255E26);
    z-index: 9999;
    transition: width 0.1s ease;
}

/* Enhanced mobile touch interactions */
.article-card, .sidebar-section {
    -webkit-tap-highlight-color: transparent;
}

.read-more, .featured-title, .article-card > a, .article-content > a {
    -webkit-tap-highlight-color: rgba(16, 185, 129, 0.1);
}

/* Improve text readability on mobile */
@media (max-width: 768px) {
    body {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    }
    
    .journal-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .journal-container {
        padding: 2rem 1rem;
    }
    
    .journal-main {
        gap: 2.5rem;
    }
    
    .article-card {
        border-radius: 12px;
    }
    
    .article-image {
        height: 220px;
    }
    
    .article-content {
        padding: 1.5rem;
    }
    
    .article-title {
        font-size: 1.4rem;
        line-height: 1.3;
        margin-bottom: 0.8rem;
    }
    
    .article-excerpt {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1.2rem;
    }
    
    .article-meta {
        flex-wrap: wrap;
        font-size: 0.75rem;
        gap: 0.5rem;
    }
    
    .sidebar-section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .sidebar-title {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }
    
    .featured-image {
        height: 100px;
    }
    
    .featured-title {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .journal-container {
        padding: 1.5rem 0.75rem;
    }
    
    .article-content {
        padding: 1.2rem;
    }
    
    .article-title {
        font-size: 1.25rem;
    }
    
    .article-excerpt {
        font-size: 0.85rem;
    }
    
    .sidebar-section {
        padding: 1.2rem;
    }
    
    .article-meta {
        font-size: 0.7rem;
    }
    
    .read-more {
        font-size: 0.8rem;
    }
}

/* Journal container top margin override for when called without hero */
.journal-container.no-hero {
    margin-top: 120px;
} 