

/* ===== MINIMALIST PREMIUM NEWS PAGE ===== */
/* Page Header */
.news-page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-bottom: none;
    padding: 40px 0 50px;
    margin-bottom: 50px;
    border-radius: 16px;
    box-shadow: var(--primary-shadow, 0 3px 10px rgba(0, 0, 0, 0.45));
    position: relative;
    overflow: hidden;
}

/* Header pattern overlay */
.news-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
}

.news-page-header .container {
    position: relative;
    z-index: 1;
}

.page-title-minimal {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: white;
}

.title-icon {
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.title-icon:hover {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.3);
}

.title-icon i {
    color: white;
}

.page-subtitle-minimal {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin: 0;
    padding-left: 70px;
}

/* Main Container */
.news-main-container {
    padding: 0 15px 80px;
}

/* Toolbar */
.news-toolbar-minimal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.search-box-simple {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: var(--card-bg);
    border: 2px solid rgba(0, 0, 0, 0.25);
    border-radius: 12px;
    max-width: 350px;
    width: 100%;
    transition: all 0.3s ease;
}

.search-box-simple:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(var(--primary-color-rgb, 0, 123, 255), 0.1);
}

.search-box-simple i {
    color: #6c757d;
    font-size: 1.1rem;
}

.search-box-simple input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 1rem;
    width: 100%;
    color: var(--text-color);
}

.news-info-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.info-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--card-bg);
    border: 2px solid rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    font-size: 0.9rem;
    color: #6c757d;
}

.info-badge i {
    color: var(--primary-color);
}

.info-badge strong {
    color: var(--text-color);
}

/* News Grid */
.news-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* News Card */
.news-card-clean {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    border-radius: 24px;
    overflow: visible;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* Neon Border */
.news-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color), var(--primary-color));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: borderRotate 3s linear infinite;
    z-index: 2;
    pointer-events: none;
}

@keyframes borderRotate {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

.news-card-clean:hover .news-border {
    opacity: 1;
}

.news-card-clean:hover {
    transform: translateY(-16px) rotateX(2deg);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3), 0 0 40px rgba(var(--primary-color-rgb, 0, 123, 255), 0.2);
}

.card-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Card Image Box */
.card-image-box {
    position: relative;
    height: 220px;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
}

.card-img-clean {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.news-card-clean:hover .card-img-clean {
    transform: scale(1.2) rotate(3deg);
}

.card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 3rem;
}

/* Image Overlay - VIEW text */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb, 0, 123, 255), 0.6), rgba(var(--secondary-color-rgb, 108, 117, 125), 0.6));
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-overlay::before {
    content: 'VIEW';
    color: white;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 4px;
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.news-card-clean:hover .image-overlay {
    opacity: 1;
}

.news-card-clean:hover .image-overlay::before {
    transform: scale(1);
}

/* Card Body */
.card-body-clean {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-date-minimal {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 600;
    margin-bottom: 12px;
}

.card-date-minimal i {
    color: var(--primary-color);
}

.card-title-clean {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-description-clean {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer-clean {
    display: flex;
    justify-content: flex-end;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* NEWS CTA BUTTON */
.news-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    z-index: 3;
}

/* Animated background wave effect */
.news-cta::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 120%;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translateX(-50%);
    transition: height 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: -1;
}

.news-cta .cta-text,
.news-cta .cta-circle {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.cta-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Hover effects */
.news-cta:hover {
    transform: translateX(6px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    color: white;
}

.news-cta:hover::before {
    height: 300%;
}

.news-cta:hover .cta-circle {
    background: white;
    color: var(--primary-color);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.news-cta:hover .cta-text {
    letter-spacing: 0.5px;
}

/* Active state */
.news-cta:active {
    transform: translateX(3px) scale(1.02);
}

.read-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.read-link i {
    transition: transform 0.3s ease;
}

.news-card-clean:hover .read-link {
    color: var(--secondary-color);
}

.news-card-clean:hover .read-link i {
    transform: translateX(5px);
}

/* Pagination */
.pagination-minimal {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.pagination-btn-minimal {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--card-bg);
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    color: var(--text-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination-btn-minimal:hover:not(.disabled) {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.pagination-btn-minimal.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.pagination-pages-minimal {
    display: flex;
    gap: 8px;
}

.page-btn-minimal {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    color: var(--text-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-btn-minimal:hover,
.page-btn-minimal.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.page-ellipsis {
    display: flex;
    align-items: center;
    color: #6c757d;
    padding: 0 5px;
}

/* Empty State */
.empty-state-clean {
    text-align: center;
    padding: 80px 20px;
}

.empty-icon-clean {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb, 0, 123, 255), 0.1), rgba(var(--secondary-color-rgb, 108, 117, 125), 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-color);
}

.empty-state-clean h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.empty-state-clean p {
    color: #6c757d;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .news-toolbar-minimal {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box-simple {
        max-width: 100%;
    }

    .news-info-badges {
        justify-content: center;
    }

    .news-cards-grid {
        grid-template-columns: 1fr;
    }

    .pagination-minimal {
        flex-direction: column;
        gap: 10px;
    }

    .pagination-pages-minimal {
        order: -1;
    }
}

.event-meta {
    font-size: 1.05rem;
}

/* ========== GALERÝ GRID ========== */
.event-gallery-section {
    background: linear-gradient(135deg, #667eea10 0%, #764ba210 100%);
    padding: 2rem;
    border-radius: 16px;
}

.gallery-title {
    color: #334155;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

    .gallery-title i {
        color: #667eea;
    }

.event-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.event-gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

    .event-gallery-item:hover {
        transform: scale(1.03);
        box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    }

    .event-gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(102, 126, 234, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.event-gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay i {
    font-size: 2rem;
    color: white;
}

/* ========== LIGHTBOX ========== */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: none;
}

    .gallery-lightbox.active {
        display: flex;
        align-items: center;
        justify-content: center;
    }

.lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
}

.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 60px 80px 100px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

    .lightbox-close:hover {
        background: rgba(255,255,255,0.2);
        transform: rotate(90deg);
    }

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-nav:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-image-container {
    max-width: 90%;
    max-height: 70vh;
    position: relative;
}

    .lightbox-image-container img {
        max-width: 100%;
        max-height: 70vh;
        border-radius: 8px;
        box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    }

.lightbox-caption {
    color: white;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.lightbox-counter {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1rem;
    background: rgba(0,0,0,0.5);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
}

.lightbox-thumbnails {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    max-width: 90%;
    overflow-x: auto;
    padding: 10px;
}

.lightbox-thumbnail {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s;
    flex-shrink: 0;
    opacity: 0.6;
}

    .lightbox-thumbnail:hover,
    .lightbox-thumbnail.active {
        border-color: #667eea;
        opacity: 1;
    }

    .lightbox-thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* ========== DOSYA EKLERÝ ========== */
.attachments-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-radius: 12px;
}

.attachment-card {
    background: white;
    transition: all 0.3s ease;
    cursor: default;
}

    .attachment-card:hover {
        box-shadow: 0 6px 20px rgba(0,0,0,0.15);
        transform: translateY(-3px);
    }

.attachment-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.1) 0%, rgba(13, 110, 253, 0.2) 100%);
    border-radius: 12px;
}

.attachment-icon-modal {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 110, 253, 0.1);
    border-radius: 8px;
}

.list-group-item {
    transition: all 0.3s ease;
}

    .list-group-item:hover {
        background-color: #f8f9fa;
    }

@media (max-width: 768px) {
    .event-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lightbox-content {
        padding: 60px 20px 120px;
    }

    .lightbox-nav {
        width: 45px;
        height: 45px;
    }

    .lightbox-thumbnail {
        width: 50px;
        height: 50px;
    }
}

.bx-shdw {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.45);
}