.journal-post-grid-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.journal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    flex-wrap: wrap;
    position: relative;
}

.journal-title-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.journal-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.2;
    white-space: nowrap;
}

.journal-title-decoration {
    display: flex;
    align-items: center;
    gap: 10px;
}

.journal-decoration-line {
    width: 60px;
    height: 2px;
    background-color: #4f6f52;
    position: relative;
}

.journal-decoration-dot {
    width: 8px;
    height: 8px;
    background-color: #4f6f52;
    border-radius: 50%;
}

.journal-subtitle {
    text-align: right;
    font-weight: 500;
    margin-top: 8px;
}

.journal-subtitle-line1 {
    font-size: 1.2rem;
    color: #4f6f52;
    line-height: 1.4;
}

.journal-subtitle-line2 {
    font-size: 1rem;
    color: #666;
    line-height: 1.4;
}

.journal-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}

.journal-filter-button {
    padding: 8px 16px;
    background: #f5f5f5;
    border: none;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.journal-filter-button:hover {
    background: #e0e0e0;
}

.journal-filter-button.active {
    background: #1a4d2e;
    color: white;
}

.journal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.journal-post-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    display: block;
    text-decoration: none;
    color: inherit;
}

.journal-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    text-decoration: none;
    color: inherit;
}

.journal-post-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.journal-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.journal-post-card:hover .journal-post-image img {
    transform: scale(1.05);
}

.journal-default-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #4f6f52, #1a4d2e);
}

.journal-post-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f8b400;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.journal-post-content {
    padding: 20px;
}

.journal-post-title {
    font-size: 1.25rem;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.4;
    font-weight: 600;
}

.journal-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    align-items: center;
}

.journal-page-numbers {
    display: flex;
    gap: 8px;
}

.journal-page-numbers a, 
.journal-page-numbers span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.journal-page-numbers a {
    color: #4f6f52;
    background: white;
    border: 1px solid #e0e0e0;
}

.journal-page-numbers a:hover, 
.journal-page-numbers span.current {
    background: #1a4d2e;
    color: white;
    border-color: #1a4d2e;
}

.journal-prev-next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    border: 1px solid #e0e0e0;
    color: #4f6f52;
    text-decoration: none;
    transition: all 0.3s ease;
}

.journal-prev-next:hover {
    background: #4f6f52;
    color: white;
}

.journal-prev-next.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.journal-prev-next.disabled:hover {
    background: white;
    color: #4f6f52;
}

.journal-no-posts {
    text-align: center;
    padding: 40px;
    font-size: 1.2rem;
    color: #666;
    grid-column: 1 / -1;
}

@media (max-width: 900px) {
    .journal-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .journal-header {
        flex-direction: column;
    }
    
    .journal-title-container {
        margin-bottom: 15px;
    }
    
    .journal-subtitle {
        text-align: left;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .journal-grid {
        grid-template-columns: 1fr;
    }
    
    .journal-filter-buttons {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    
    .journal-filter-buttons::-webkit-scrollbar {
        display: none;
    }
    
    .journal-title-container {
        flex-wrap: wrap;
    }
    
    .journal-title-decoration {
        margin-top: 10px;
    }
}