/* Press Releases Page Styles */
.press-hero-section {
    position: relative;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.press-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.press-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.press-hero-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
}

.press-hero-content {
    max-width: 600px;
}

.press-hero-title {
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

.press-hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Main Press Section */
.press-main-section {
    padding: 80px 0;
    background: var(--primary-black);
    min-height: 100vh;
}

/* Year Releases Sidebar */
.year-releases-sidebar {
    position: sticky;
    top: 120px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: fit-content;
}

.sidebar-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.year-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.year-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
}

.year-item:hover,
.year-item.active {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateX(5px);
}

.year-number {
    font-weight: 600;
    font-size: 1.1rem;
}

.publication-count {
    font-size: 0.85rem;
    opacity: 0.7;
}

.year-item i {
    font-size: 0.9rem;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.year-item:hover i,
.year-item.active i {
    opacity: 1;
    transform: translateX(3px);
}

/* Tabs Section */
.press-tabs-section {
    margin-bottom: 2rem;
}

.press-tabs {
    border: none !important;
}

.press-tabs .nav-link {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
    margin-right: 2rem;
    position: relative;
    border-radius: 0;
    transition: all 0.3s ease;
}

.press-tabs .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.press-tabs .nav-link:hover,
.press-tabs .nav-link.active {
    color: white;
    background: none;
    border: none;
}

.press-tabs .nav-link.active::after {
    width: 100%;
}

/* Search Container */
.search-container {
    max-width: 300px;
    margin-left: auto;
}

.search-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 25px;
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
    box-shadow: none;
}

.search-icon {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-left: none;
    color: rgba(255, 255, 255, 0.6);
    border-radius: 0 25px 25px 0;
}

/* Press Cards */
.press-content-grid {
    margin-bottom: 3rem;
}

.press-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.press-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.press-card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.press-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.press-card:hover .press-card-image img {
    transform: scale(1.05);
}

.press-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.press-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.press-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.4;
    letter-spacing: -0.3px;
}

.press-card-excerpt {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
    font-size: 0.95rem;
}

.press-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.press-date {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.read-more-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.read-more-link:hover {
    color: white;
    transform: translateX(3px);
}

/* Custom Pagination */
.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.custom-pagination {
    gap: 0.5rem;
    margin: 0;
}

.custom-pagination .page-item .page-link {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 44px;
    justify-content: center;
}

.custom-pagination .page-item.active .page-link {
    background: white;
    border-color: white;
    color: var(--primary-black);
}

.custom-pagination .page-item:not(.disabled) .page-link:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
    transform: translateY(-2px);
}

.custom-pagination .page-item.disabled .page-link {
    background: transparent;
    border-color: transparent;
    color: rgba(255, 255, 255, 0.3);
}

.prev-link,
.next-link {
    padding: 0.75rem 1.25rem !important;
}

.page-text {
    font-size: 0.95rem;
}

/* Loading States */
.loading-spinner {
    padding: 3rem 0;
}

.loading-spinner .spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Empty State */
.empty-state {
    color: rgba(255, 255, 255, 0.6);
    padding: 4rem 2rem;
}

.empty-state i {
    opacity: 0.5;
}

.empty-state h4 {
    margin-bottom: 1rem;
    font-weight: 500;
}

.empty-state p {
    margin-bottom: 0;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 1199px) {
    .year-releases-sidebar {
        position: relative;
        top: auto;
        margin-bottom: 2rem;
    }
    
    .press-main-section .container-fluid {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (max-width: 991px) {
    .press-hero-title {
        font-size: clamp(2.5rem, 4vw, 4rem);
    }
    
    .press-tabs-section .row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-container {
        max-width: 100%;
        margin-left: 0;
    }
    
    .press-tabs .nav-link {
        margin-right: 1rem;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .press-hero-section {
        height: 50vh;
        min-height: 350px;
    }
    
    .press-main-section {
        padding: 60px 0;
    }
    
    .year-releases-sidebar {
        padding: 1.5rem;
    }
    
    .sidebar-title {
        font-size: 1.25rem;
    }
    
    .year-item {
        padding: 0.75rem 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .year-item i {
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .press-card-image {
        height: 200px;
    }
    
    .press-card-content {
        padding: 1.25rem;
    }
    
    .press-card-title {
        font-size: 1.1rem;
    }
    
    .custom-pagination .page-item .page-link {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .prev-link .page-text,
    .next-link .page-text {
        display: none;
    }
}

@media (max-width: 480px) {
    .press-hero-section {
        margin-top: 80px;
    }
    
    .press-hero-content {
        padding: 0 1rem;
    }
    
    .press-main-section .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .year-releases-sidebar {
        margin: 0 -1rem 2rem;
        border-radius: 0;
    }
    
    .press-tabs .nav-link {
        padding: 0.5rem 1rem;
        margin-right: 0.5rem;
        font-size: 0.95rem;
    }
    
    .press-card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .search-input {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }
    
    .press-card-title {
        font-size: 1rem;
        line-height: 1.3;
    }
    
    .press-card-excerpt {
        font-size: 0.9rem;
    }
}

/* Animation Enhancements */
.press-card {
    animation: fadeInUp 0.6s ease-out;
}

.press-card:nth-child(even) {
    animation-delay: 0.1s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Focus States for Accessibility */
.year-item:focus,
.press-tabs .nav-link:focus,
.search-input:focus,
.read-more-link:focus,
.custom-pagination .page-link:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .press-card {
        border-color: rgba(255, 255, 255, 0.5);
    }
    
    .year-item {
        border-color: rgba(255, 255, 255, 0.5);
    }
    
    .search-input {
        border-color: rgba(255, 255, 255, 0.5);
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .press-card,
    .year-item,
    .read-more-link,
    .custom-pagination .page-link {
        transition: none;
    }
    
    .press-card:hover {
        transform: none;
    }
    
    .year-item:hover {
        transform: none;
    }
    
    .read-more-link:hover {
        transform: none;
    }
    
    .custom-pagination .page-item:hover .page-link {
        transform: none;
    }
}