/**
 * Press Template Styles
 *
 * @package ceron
 */

/* Press Section */
.press-section {
    padding: 100px 0;
    background: #ffffff;
}

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

.press-title {
    font-weight: 300;
    font-size: 50px;
    line-height: normal;
    text-align: center;
    color: #180a2c;
    margin: 0 0 60px 0;
}

/* Masonry Grid */
.press-masonry {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}

.press-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

/* Press Item */
.press-item {
    display: flex;
    flex-direction: column;
    break-inside: avoid;
}

.press-link {
    display: block;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s;
}

.press-link:hover {
    transform: translateY(-2px);
}

.press-link img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.press-link:hover img {
    transform: scale(1.08);
}

.press-item-content {
    background: #f5f5f5;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.press-item-content h3 {
    font-weight: 300;
    font-size: 24px;
    line-height: normal;
    color: #180a2c;
    margin: 0;
}

.press-item-content p,
.press-description p {
    font-size: 16px;
    line-height: 26px;
    color: #666666;
    margin: 0;
}

.press-description {
    font-size: 16px;
    line-height: 26px;
    color: #666666;
}

/* No items message */
.no-items {
    text-align: center;
    font-size: 18px;
    color: #666666;
    padding: 60px 0;
}

/* Lightbox Styles */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.lightbox-title {
    color: #ffffff;
    font-size: 18px;
    margin-top: 20px;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
}

.lightbox-close:hover {
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 1024px) {
    .press-masonry {
        flex-direction: column;
    }

    .press-column {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .press-section {
        padding: 60px 0;
    }

    .press-title {
        font-size: 36px;
        margin-bottom: 40px;
    }

    .press-item-content h3 {
        font-size: 20px;
    }

    .press-item-content p {
        font-size: 14px;
        line-height: 22px;
    }
}
