/* Journals Page Specific Styles */

.journals-header {
    background: var(--gradient-main);
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.journals-header h1 {
    font-family: 'Merriweather', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.journals-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.journals-section {
    padding: 40px 20px;
}

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

.journals-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
}

.journals-filters {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-subtle);
    height: fit-content;
    border: 1px solid var(--border-light);
}

.filters-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-family: 'Merriweather', serif;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-label {
    display: block;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 14px;
}

.filter-input, .filter-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-size: 14px;
    background: white;
    transition: all 0.3s ease;
}

.filter-input:focus, .filter-select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(0, 90, 139, 0.1);
}

.filter-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--accent-color);
}

.filter-checkbox label {
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
}

.filter-button {
    width: 100%;
    padding: 12px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.filter-button:hover {
    background: var(--primary-color);
    transform: translateY(-1px);
}

.journals-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.journal-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    cursor: pointer;
}

.journal-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-normal);
}

.journal-image {
    width: 100%;
    min-height: 200px;
    height: auto;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: center;
    padding: 25px 20px;
    line-height: 1.4;
}

.journal-content {
    padding: 25px;
}

.journal-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-family: 'Merriweather', serif;
    line-height: 1.3;
}

.journal-description {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.journal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.journal-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--text-light);
}

.journal-meta-item i {
    color: var(--accent-color);
}

.journal-actions {
    display: flex;
    gap: 10px;
}

.journal-btn {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid var(--accent-color);
    background: transparent;
    color: var(--accent-color);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.journal-btn:hover {
    background: var(--accent-color);
    color: white;
}

.journal-btn.primary {
    background: var(--accent-color);
    color: white;
}

.journal-btn.primary:hover {
    background: var(--primary-color);
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.results-count {
    color: var(--text-secondary);
    font-size: 14px;
}

.sort-select {
    padding: 8px 12px;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-size: 13px;
    background: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .journals-content {
        grid-template-columns: 1fr;
    }

    .journals-filters {
        order: 2;
    }

    .journals-list {
        order: 1;
        grid-template-columns: 1fr;
    }
}
