/* 
 * Recent Edition Section Styles
 * National Hall of Fame Website
 */

.recent-edition-section {
    padding: 80px 0;
    background-color: #fcfcfc;
    position: relative;
    overflow: hidden;
}

.recent-edition-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/pattern-bg.png');
    opacity: 0.035;
    z-index: 0;
}

.recent-edition-section .section-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.recent-edition-section .highlight {
    color: #D4AF37;
}

.recent-edition-section .separator {
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #D4AF37, #f1c40f);
    margin: 15px auto 20px;
}

.recent-edition-section .lead-text {
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

/* Gallery Layout */
.recent-edition-gallery {
    margin: 40px 0;
    position: relative;
    z-index: 2;
}

.gallery-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.gallery-item {
    flex: 1;
    min-width: 250px;
    height: 280px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
}

.gallery-item.featured {
    flex: 2;
    height: 320px;
}

.gallery-item.featured-alt {
    flex: 1.5;
    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Image Overlay */
.item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.2), transparent);
    padding: 20px;
    color: #fff;
    transition: all 0.3s ease;
}

.item-overlay h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.item-overlay p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
}

.gallery-item:hover .item-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.5), rgba(0,0,0,0.1));
}

/* Highlight Box */
.recent-edition-highlight {
    margin-top: 50px;
    padding: 30px;
    background: linear-gradient(135deg, #e9c64b, #d4af37);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.highlight-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.highlight-icon {
    flex: 0 0 70px;
    height: 70px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight-icon i {
    font-size: 28px;
    color: #d4af37;
}

.highlight-text {
    flex: 1;
    min-width: 200px;
}

.highlight-text h3 {
    color: #fff;
    margin-bottom: 5px;
    font-size: 1.4rem;
}

.highlight-text p {
    color: #fff;
    opacity: 0.9;
    margin: 0;
}

.recent-edition-highlight .cta-button {
    background-color: #fff;
    color: #d4af37;
    padding: 10px 25px;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.recent-edition-highlight .cta-button:hover {
    background-color: #333;
    color: #fff;
    transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .gallery-item.featured, 
    .gallery-item.featured-alt {
        flex: 1;
        height: 280px;
    }
    
    .highlight-content {
        flex-direction: column;
        text-align: center;
    }
    
    .highlight-text {
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .gallery-row {
        flex-direction: column;
    }
    
    .gallery-item {
        height: 250px;
    }
    
    .recent-edition-section {
        padding: 60px 0;
    }
}
