/* static/css/batch-stories.css */
.banner-section {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.banner-text {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
}

.banner-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.banner-text .tagline {
    font-size: 1.4rem;
    font-weight: 500;
    margin-top: 15px;
    opacity: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-style: normal;
    letter-spacing: 0.5px;
}

.stories-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.publishing-year-dropdown {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    overflow: hidden;
}

.dropdown-header {
    background: #007bff;
    color: white;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.dropdown-header:hover {
    background: #0056b3;
}

.dropdown-icon {
    transition: transform 0.3s ease;
}

.dropdown-header.active .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-content {
    display: none;
    padding: 20px;
    background: #f8f9fa;
}

.dropdown-content.active {
    display: block;
}

.batch-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.batch-section {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.batch-title {
    color: #007bff;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 8px;
    display: flex;
    align-items: center;
}

.stories-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.story-link {
    display: block;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 12px 15px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.story-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.story-link:hover {
    background: #007bff;
    color: white;
    border-color: #007bff;
    text-decoration: none;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.story-link:hover::before {
    left: 100%;
}

.story-desc {
    display: block;
    font-weight: 400;
    font-size: 0.85em;
    color: #666;
    margin-top: 5px;
    line-height: 1.4;
}

.story-link:hover .story-desc {
    color: rgba(255, 255, 255, 0.85);
}

.no-stories {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.no-stories h3 {
    color: #666;
    margin-bottom: 10px;
}

.no-stories p {
    color: #888;
}

.year-badge {
    background: #e3f2fd;
    color: #1976d2;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75em;
    font-weight: 600;
    margin-left: auto;
}

@media (max-width: 768px) {
    .banner-text h1 {
        font-size: 2.5rem;
    }
    
    .banner-text .tagline {
        font-size: 1.1rem;
    }
    
    .banner-section {
        height: 300px;
    }
    
    .batch-sections {
        grid-template-columns: 1fr;
    }
    
    .dropdown-header {
        font-size: 1.1rem;
        padding: 15px;
    }
}