/* Duyurular Sayfası CSS */

.duyurular-page {
    padding-top: 150px;
    background-color: #f5f5f5;
    min-height: 100vh;
}

.duyurular-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 30px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #0080c9;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #1a3a7a;
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 8px;
    color: #999;
}

/* Sayfa Başlığı */
.duyurular-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 3px solid #0080c9;
}

.duyurular-title {
    font-size: 42px;
    font-weight: 700;
    color: #0080c9;
    margin-bottom: 10px;
    font-family: "Bebas Neue", cursive;
    letter-spacing: 2px;
}

.duyurular-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* Duyurular Grupları */
.duyurular-groups {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.duyuru-group {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.duyuru-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #0080c9;
    flex-wrap: wrap;
    gap: 10px;
}

.duyuru-group-title {
    font-size: 28px;
    font-weight: 700;
    color: #0080c9;
    margin: 0;
    font-family: "Bebas Neue", cursive;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.duyuru-group-title i {
    font-size: 24px;
}

.duyuru-group-count {
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

/* Duyurular Grid */
.duyurular-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.duyuru-item {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.duyuru-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.duyuru-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.duyuru-item-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
    background-color: #f0f0f0;
}

.duyuru-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.duyuru-item:hover .duyuru-item-image img {
    transform: scale(1.1);
}

.duyuru-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0080c9 0%, #1a3a7a 100%);
    color: #fff;
    font-size: 48px;
}

.duyuru-item-content {
    padding: 20px;
}

.duyuru-item-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
    font-family: "Bebas Neue", cursive;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.duyuru-item-summary {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 66px;
}

.duyuru-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: #999;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.duyuru-item-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.duyuru-item-meta i {
    color: #0080c9;
    font-size: 12px;
}

/* Boş Durum */
.duyurular-empty {
    text-align: center;
    padding: 80px 20px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.empty-icon {
    font-size: 64px;
    color: #ccc;
    margin-bottom: 20px;
}

.duyurular-empty h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
    font-family: "Bebas Neue", cursive;
}

.duyurular-empty p {
    font-size: 16px;
    color: #666;
}

/* Daha Fazla Link */
.duyuru-group-more {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0080c9;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    padding: 10px 20px;
    border-radius: 6px;
    background-color: #f8f9fa;
}

.more-link:hover {
    background-color: #0080c9;
    color: #fff;
    transform: translateX(5px);
}

.more-link i {
    transition: transform 0.3s;
}

.more-link:hover i {
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 1400px) {
    .duyurular-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 1200px) {
    .duyurular-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .duyurular-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .duyurular-page {
        padding-top: 150px;
    }

    .duyurular-container {
        padding: 20px 15px;
    }

    .duyurular-title {
        font-size: 32px;
    }

    .duyuru-group {
        padding: 20px;
    }

    .duyuru-group-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .duyuru-group-title {
        font-size: 24px;
    }

    .duyurular-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .duyuru-item-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .duyurular-title {
        font-size: 28px;
    }

    .duyuru-group-title {
        font-size: 20px;
    }

    .duyurular-grid {
        grid-template-columns: 1fr;
    }

    .duyuru-item-title {
        font-size: 16px;
        min-height: 44px;
    }

    .duyuru-item-summary {
        font-size: 13px;
        min-height: 60px;
    }
}
