/* ================================
   DUYURULAR Bileşeni Stilleri - Modern ve Çekici Tasarım
   ================================ */

/* Ana Container - Minimal yükseklik */
.trend-analysis-container {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 1rem;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.trend-analysis-container.enbasarililar-section {
    overflow: visible;
}

.personel-yazar-grafikleri.trend-analysis-container {
    overflow: visible;
}

.trend-analysis-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--kku-brand, #dc3545) 0%, var(--kku-brand-hover, #c82333) 50%, var(--kku-brand, #dc3545) 100%);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.trend-analysis-container:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Ana Container - minimal yükseklik */
.etkinlikler-section {
    margin-top: 0.75rem;
    margin-bottom: 1.25rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
}

/* Trend Header - Minimal */
.trend-header {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(226, 232, 240, 0.6);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.trend-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.trend-title-sep {
    color: #cbd5e1;
    margin: 0 0.5rem;
    font-weight: 300;
    user-select: none;
    font-size: 1.25rem;
    line-height: 1;
}

.trend-title i {
    color: var(--kku-brand, #dc3545);
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--kku-brand, #dc3545) 0%, var(--kku-brand-hover, #c82333) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(220, 53, 69, 0.2));
}

.trend-title .trend-subtitle {
    font-size: 0.9375rem;
    color: #64748b;
    margin: 0;
    font-weight: 400;
}

@media (max-width: 991.98px) {
    #duyurular-section .trend-title {
        flex-wrap: nowrap;
        align-items: center;
        gap: 0.45rem;
    }

    #duyurular-section .trend-title i {
        flex-shrink: 0;
        margin-top: 0;
        font-size: 1rem;
        line-height: 1;
    }

    #duyurular-section .trend-title-text {
        flex: 1 1 auto;
        min-width: 0;
        line-height: 1.25;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        word-break: normal;
    }
}

.trend-subtitle {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
    font-weight: 400;
}

.section-controls .btn {
    border-radius: 10px;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.section-controls .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* Section Header */
.section-header {
    background: linear-gradient(135deg, var(--kku-brand, #dc3545) 0%, var(--kku-brand-hover, #c82333) 100%);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 0.5rem;
    padding-top: 0.5rem;
}

.section-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.section-title i {
    margin-right: 0.5rem;
    color: white;
}

.section-actions .btn {
    color: white;
    border-color: white;
    background: transparent;
}

.section-actions .btn:hover {
    background: white;
    color: var(--kku-brand, #dc3545);
}

/* Yükleme animasyonu: loading-animation.css (proje genelinde aynı yapı) */

/* Etkinlik Listesi - Trend Analizi Kartı Stili */
#duyurular-container .etkinlikler-list {
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

#duyurular-container .etkinlik-item {
    display: flex;
    align-items: center;
    padding: 0.22rem 0.5rem;
    transition: all 0.2s ease;
    background: #ffffff !important;
    border-radius: 4px;
    box-shadow: none;
    border: 1px solid #e8ecf1 !important;
    border-left: 2px solid var(--kku-brand, #dc3545) !important;
    position: relative;
    cursor: pointer;
    margin-bottom: 0;
    min-height: auto;
    overflow: hidden;
}

#duyurular-container .etkinlik-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--kku-brand, #dc3545) 0%, var(--kku-brand-hover, #c82333) 100%);
    transition: width 0.2s ease;
}

#duyurular-container .etkinlik-item:hover {
    background: #fef8f8 !important;
    border-left-width: 3px !important;
    box-shadow: 0 1px 3px rgba(220, 53, 69, 0.08);
}

#duyurular-container .etkinlik-item:hover::before {
    width: 3px;
}

#duyurular-container .etkinlik-item:active {
    transform: translateY(0);
    transition: all 0.1s ease;
}

#duyurular-container .etkinlik-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, var(--kku-brand, #dc3545) 0%, var(--kku-brand-hover, #c82333) 100%) !important;
    border-radius: 3px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    color: white;
    font-size: 0.65rem;
    transition: all 0.2s ease;
    box-shadow: none;
    position: relative;
    overflow: hidden;
}

#duyurular-container .etkinlik-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease;
}

#duyurular-container .etkinlik-item:hover .etkinlik-icon {
    background: linear-gradient(135deg, var(--kku-brand-hover, #c82333) 0%, var(--kku-brand, #b91c1c) 100%) !important;
}

#duyurular-container .etkinlik-item:hover .etkinlik-icon::before {
    left: 100%;
}

#duyurular-container .etkinlik-content {
    flex: 1;
    min-width: 0;
}

#duyurular-container .etkinlik-header {
    margin-bottom: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    min-width: 0;
}

#duyurular-container .etkinlik-header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}

#duyurular-container .etkinlik-title {
    color: #1e293b;
    font-size: 0.8125rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
    flex: 1 1 50%;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

#duyurular-container .etkinlik-item:hover .etkinlik-title {
    color: var(--kku-brand, #dc3545);
}

#duyurular-container .etkinlik-meta {
    display: flex !important;
    flex-direction: row !important;
    gap: 0.35rem;
    font-size: 0.7rem;
    color: #718096;
    margin: 0;
    flex-shrink: 0;
    flex-wrap: wrap;
    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    max-width: none !important;
    text-align: left !important;
    justify-content: flex-start !important;
}

#duyurular-container .etkinlik-date, 
#duyurular-container .etkinlik-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #718096;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    backdrop-filter: none !important;
    border: none !important;
}

#duyurular-container .etkinlik-description {
    display: none;
}

#duyurular-container .etkinlik-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 0.1rem;
    padding-top: 0.1rem;
    border-top: none;
}

#duyurular-container .etkinlik-status {
    font-size: 0.6rem;
    padding: 0.1rem 0.3rem;
    border-radius: 3px;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    z-index: auto !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    border: 1px solid transparent !important;
    animation: none !important;
    transform-origin: center;
    min-width: fit-content;
    flex-shrink: 0;
    box-sizing: border-box;
    overflow: hidden;
}

#duyurular-container .etkinlik-status.active {
    background: #c6f6d5 !important;
    color: #22543d !important;
    border: 1px solid #9ae6b4 !important;
}

#duyurular-container .etkinlik-status.active:hover {
    background: #9ae6b4 !important;
    color: #1a202c !important;
}

#duyurular-container .etkinlik-status.inactive {
    background: #fed7d7 !important;
    color: #742a2a !important;
    border: 1px solid #fc8181 !important;
}

#duyurular-container .etkinlik-status.inactive:hover {
    background: #fc8181 !important;
    color: #1a202c !important;
}

#duyurular-container .etkinlik-status i {
    font-size: 0.75rem;
    margin-right: 0;
    animation: none !important;
}

/* Loading Animation stilleri loading-animation.css dosyasından yükleniyor */

/* Pagination */
.etkinlikler-pagination {
    padding: 0;
    background: transparent;
    border-top: none;
}

/* Input Tooltip */
.input-tooltip {
    background: #4299e1;
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(66, 153, 225, 0.3);
    animation: tooltipFadeIn 0.3s ease-out;
}

@keyframes tooltipFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    z-index: 10001;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border-left: 4px solid transparent;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 300px;
}

.toast-notification.show {
    transform: translateX(0);
    opacity: 1;
}

/* Toast İkon Stilleri */
.toast-notification i {
    font-size: 1.2rem;
    flex-shrink: 0;
    animation: iconBounce 0.6s ease-out;
}

.toast-notification .toast-message {
    flex: 1;
    line-height: 1.4;
}

/* Toast türlerine göre ikon renkleri */
.toast-notification.toast-success i {
    color: #28a745;
    text-shadow: 0 0 10px rgba(40, 167, 69, 0.3);
}

.toast-notification.toast-error i {
    color: var(--kku-brand, #dc3545);
    text-shadow: 0 0 10px rgba(220, 53, 69, 0.3);
}

.toast-notification.toast-warning i {
    color: #ffc107;
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.3);
}

.toast-notification.toast-info i {
    color: #17a2b8;
    text-shadow: 0 0 10px rgba(23, 162, 184, 0.3);
}

/* İkon animasyonu */
@keyframes iconBounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -8px, 0);
    }
    70% {
        transform: translate3d(0, -4px, 0);
    }
    90% {
        transform: translate3d(0, -2px, 0);
    }
}

.toast-notification.toast-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-left-color: #155724;
}

.toast-notification.toast-error {
    background: linear-gradient(135deg, var(--kku-brand, #dc3545) 0%, #e83e8c 100%);
    border-left-color: #721c24;
}

.toast-notification.toast-info {
    background: linear-gradient(135deg, #17a2b8 0%, #6f42c1 100%);
    border-left-color: #0c5460;
}

.toast-notification.toast-warning {
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
    border-left-color: #856404;
    color: #212529;
}

/* Real-time Status - Trend Analizi Stili */
.realtime-status {
    padding: 0.75rem 1rem;
    background: #f0f9ff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #2c5282;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.realtime-status i {
    font-size: 0.5rem;
    color: #48bb78;
}

/* Güncelleme Animasyonu */
.update-animation {
    animation: updatePulse 1.5s ease-in-out;
    background: #d4edda !important;
    box-shadow: 0 0 25px rgba(40, 167, 69, 0.4) !important;
}

@keyframes updatePulse {
    0% { 
        transform: scale(1);
        background: #e8f5e8;
        box-shadow: 0 0 0 rgba(40, 167, 69, 0);
    }
    25% {
        transform: scale(1.05);
        background: #c3e6cb;
        box-shadow: 0 0 30px rgba(40, 167, 69, 0.6);
    }
    50% { 
        transform: scale(1.02);
        background: #d4edda;
        box-shadow: 0 0 25px rgba(40, 167, 69, 0.4);
    }
    75% {
        transform: scale(1.03);
        background: #c3e6cb;
        box-shadow: 0 0 35px rgba(40, 167, 69, 0.5);
    }
    100% { 
        transform: scale(1);
        background: #e8f5e8;
        box-shadow: 0 0 0 rgba(40, 167, 69, 0);
    }
}

/* Güncelleme İkonu Animasyonu */
.update-icon {
    animation: updateIconSpin 0.8s ease-in-out;
}

@keyframes updateIconSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.realtime-status i {
    font-size: 0.7rem;
}

.realtime-status.text-warning {
    background: #fff3cd;
    border-color: #ffeaa7;
    color: #856404;
}

.realtime-status.text-danger {
    background: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

/* Error ve No Items */
.error-message {
    text-align: center;
    padding: 2rem;
    color: var(--kku-brand, #dc3545);
    font-size: 1.1rem;
    background: #f8f9fa;
    border: 1px solid var(--kku-brand, #dc3545);
    border-radius: 8px;
    margin: 1rem;
}

.no-items {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    #duyurular-container .etkinlik-item {
        padding: 0.2rem 0.45rem;
    }

    #duyurular-container .etkinlik-icon {
        width: 20px;
        height: 20px;
        font-size: 0.6rem;
    }

    #duyurular-container .etkinlik-title {
        font-size: 0.75rem;
    }

    #duyurular-container .etkinlik-meta {
        font-size: 0.65rem;
        gap: 0.3rem;
    }
}

/* Modal açıkken body overflow'u engelle */
body.modal-open {
    overflow: hidden;
    padding-right: 15px; /* Scrollbar kaymasını önle */
}

/* ================================
   Etkinlik Detay Modal Stilleri
   ================================ */

 .etkinlik-modal {
     display: none;
     position: fixed;
     z-index: 9999;
     left: 0;
     top: 0;
     width: 100%;
     height: 100%;
     background-color: rgba(0, 0, 0, 0.5);
     backdrop-filter: blur(5px);
     animation: modalFadeIn 0.3s ease-out;
 }

.etkinlik-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.etkinlik-modal-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 95%;
    max-width: 1400px;
    max-height: 95vh;
    overflow: hidden;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.etkinlik-modal-header {
    background: linear-gradient(135deg, var(--kku-brand, #dc3545) 0%, var(--kku-brand-hover, #c82333) 100%);
    color: white;
    padding: 1.5rem;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.etkinlik-modal-title {
    color: white;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
    padding-right: 6rem;
}

.etkinlik-modal-header-actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    align-items: center;
    z-index: 10;
}

.etkinlik-modal-share {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.2rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.etkinlik-modal-share:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.etkinlik-modal-share:active {
    transform: scale(0.95);
}

.etkinlik-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.etkinlik-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.etkinlik-modal-close:active {
    transform: scale(0.95);
}

.etkinlik-modal-meta-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.etkinlik-modal-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    flex: 1;
}

.etkinlik-modal-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.etkinlik-modal-meta-item i {
    font-size: 1rem;
}

/* Detay modal - Resim2 tarzı etiketli alanlar */
.etkinlik-modal-body .detay-list { margin: 0; padding: 0; list-style: none; }
.etkinlik-modal-body .detay-row { display: flex; margin-bottom: 0.75rem; padding-bottom: 0.75rem; border-bottom: 1px solid #eee; gap: 0.5rem; }
.etkinlik-modal-body .detay-row:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.etkinlik-modal-body .detay-label { font-weight: 600; color: #495057; min-width: 180px; flex-shrink: 0; }
.etkinlik-modal-body .detay-value { color: #212529; flex: 1; word-break: break-word; }
.etkinlik-modal-body .detay-value-html { line-height: 1.6; }

/* Duyuru görüntüleme modalı – büyük, kırmızı tonlar, başlık tıklanabilir */
.duyuru-view-modal .etkinlik-modal-content {
    width: 92%;
    max-width: 960px;
    max-height: 92vh;
    border-top: 4px solid var(--kku-brand-hover, #c82333);
    box-shadow: 0 25px 80px rgba(200, 35, 51, 0.2);
}
.duyuru-view-modal .etkinlik-modal-header {
    background: linear-gradient(135deg, var(--kku-brand, #dc3545) 0%, var(--kku-brand-hover, #c82333) 50%, var(--kku-brand-hover, #bd2130) 100%);
    padding: 1.25rem 1.5rem;
}
.duyuru-view-modal .duyuru-view-modal-content { max-width: none; }
.duyuru-view-modal .duyuru-view-body { padding: 1.75rem; overflow-y: auto; max-height: calc(92vh - 76px); }
.duyuru-view-modal .duyuru-detay-card { background: #fff; border-radius: 8px; padding: 0; }
.duyuru-view-modal .duyuru-detay-header { margin-bottom: 1rem; }
.duyuru-view-modal .duyuru-detay-title-link {
    text-decoration: none;
    color: #1a1a1a;
    display: block;
    transition: color 0.2s ease;
}
.duyuru-view-modal .duyuru-detay-title-link:hover { color: var(--kku-brand-hover, #c82333); }
.duyuru-view-modal .duyuru-detay-title {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    line-height: 1.35;
    font-weight: 700;
}
.duyuru-view-modal .duyuru-detay-meta { color: #6c757d; font-size: 0.9rem; }
.duyuru-view-modal .duyuru-detay-meta span + span { margin-left: 1rem; }
.duyuru-view-modal .duyuru-modal-resim img { max-height: 320px; object-fit: cover; width: 100%; border-radius: 6px; }
.duyuru-view-modal .duyuru-modal-giris { font-size: 1.05rem; line-height: 1.6; color: #495057; }
.duyuru-view-modal .duyuru-modal-icerik { line-height: 1.7; }
.duyuru-view-modal .duyuru-modal-icerik img { max-width: 100%; height: auto; }
.duyuru-view-modal .duyuru-modal-icerik a { color: var(--kku-brand-hover, #c82333); text-decoration: none; }
.duyuru-view-modal .duyuru-modal-icerik a:hover { text-decoration: underline; }
.duyuru-view-modal .duyuru-detay-footer { display: none; }

.etkinlik-modal-body {
    padding: 2rem;
    max-height: 60vh;
    overflow-y: auto;
}

.etkinlik-modal-description {
    color: #495057;
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-align: justify;
}

.etkinlik-modal-footer {
    background: #f8f9fa;
    padding: 1.5rem 2rem;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.etkinlik-modal-status {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid transparent;
    animation: modalBadgeFloat 4s ease-in-out infinite;
    transform-origin: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    min-width: fit-content;
    white-space: nowrap;
}

.etkinlik-modal-status.active {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(40, 167, 69, 0.4);
}

.etkinlik-modal-status.active:hover {
    transform: scale(1.1) rotate(2deg);
    box-shadow: 0 6px 25px rgba(40, 167, 69, 0.6);
    animation: modalBadgePulse 0.8s ease-in-out;
}

.etkinlik-modal-status.inactive {
    background: linear-gradient(135deg, var(--kku-brand, #dc3545) 0%, #e83e8c 100%);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(220, 53, 69, 0.4);
}

.etkinlik-modal-status.inactive:hover {
    transform: scale(1.1) rotate(-2deg);
    box-shadow: 0 6px 25px rgba(220, 53, 69, 0.6);
    animation: modalBadgeShake 0.8s ease-in-out;
}

.etkinlik-modal-status i {
    margin-right: 0.4rem;
    animation: modalIconGlow 2.5s ease-in-out infinite;
}

/* Modal Badge Animasyonları */
@keyframes modalBadgeFloat {
    0%, 100% { 
        transform: translateY(0px);
        box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    }
    50% { 
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    }
}

@keyframes modalBadgePulse {
    0% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.12) rotate(1deg); }
    50% { transform: scale(1.08) rotate(2deg); }
    75% { transform: scale(1.05) rotate(1deg); }
    100% { transform: scale(1.08) rotate(2deg); }
}

@keyframes modalBadgeShake {
    0%, 100% { transform: scale(1) rotate(0deg); }
    10%, 30%, 50%, 70%, 90% { transform: scale(1.08) rotate(-1deg); }
    20%, 40%, 60%, 80% { transform: scale(1.08) rotate(1deg); }
}

@keyframes modalIconGlow {
    0%, 100% { 
        filter: drop-shadow(0 0 3px currentColor);
        transform: scale(1);
    }
    50% { 
        filter: drop-shadow(0 0 10px currentColor);
        transform: scale(1.15);
    }
}

.etkinlik-modal-actions {
    display: flex;
    gap: 1rem;
}

.etkinlik-modal-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.etkinlik-modal-btn.primary {
    background: var(--kku-brand, #dc3545);
    color: white;
}

.etkinlik-modal-btn.primary:hover {
    background: var(--kku-brand-hover, #c82333);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.etkinlik-modal-btn.secondary {
    background: #6c757d;
    color: white;
}

.etkinlik-modal-btn.secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* Modal responsive */
@media (max-width: 768px) {
    .etkinlik-modal {
        padding: max(12px, env(safe-area-inset-top, 0px)) 12px max(12px, env(safe-area-inset-bottom, 0px));
        align-items: flex-start;
    }

    .etkinlik-modal-content,
    .share-modal-content {
        width: calc(100vw - 24px) !important;
        max-width: calc(100vw - 24px) !important;
        min-width: 0 !important;
        margin: 0 auto;
        max-height: calc(100dvh - 24px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    }

    .etkinlik-modal-content {
        border-radius: 10px;
    }
    
    .etkinlik-modal-header {
        padding: 0.85rem 1rem;
    }
    
    .etkinlik-modal-title {
        font-size: 1.1rem;
        padding-right: 5.5rem;
        word-break: break-word;
    }
    
    .etkinlik-modal-body {
        padding: 1rem 0.85rem;
    }
    
    .etkinlik-modal-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .etkinlik-modal-footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ================================
   Paylaşım Modal Stilleri
   ================================ */

.share-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    animation: modalFadeIn 0.3s ease-out;
}

.share-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-modal-content {
    background: white;
    border-radius: 16px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    width: 95%;
    max-width: 900px;
    max-height: 95vh;
    overflow: hidden;
    position: relative;
    animation: modalSlideIn 0.4s ease-out;
}

.share-modal-header {
    background: linear-gradient(135deg, var(--kku-brand, #E30613) 0%, var(--kku-brand-hover, #c00510) 100%);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.share-modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.share-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.4rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.share-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.share-modal-body {
    padding: 2rem;
    max-height: 75vh;
    overflow-y: auto;
}

/* Paylaşım Önizleme Kartı */
.share-preview-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 0;
    margin-bottom: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    overflow: hidden;
}

.share-card-header {
    background: linear-gradient(135deg, var(--kku-brand, #E30613) 0%, var(--kku-brand-hover, #c00510) 100%);
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.share-card-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.1rem;
}

.share-card-logo i {
    font-size: 1.5rem;
}

.share-card-date {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
}

.share-card-content {
    padding: 1.5rem;
    background: white;
}

.share-card-title {
    color: var(--kku-brand, #E30613);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.share-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid #e9ecef;
}

.meta-item i {
    color: var(--kku-brand, #E30613);
    font-size: 1rem;
}

.status-active {
    color: #28a745;
    font-weight: 600;
}

.status-inactive {
    color: var(--kku-brand, #E30613);
    font-weight: 600;
}

.share-card-description {
    color: #495057;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    text-align: justify;
}

.share-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.share-card-website {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6c757d;
    font-size: 0.9rem;
}

.share-card-website i {
    color: var(--kku-brand, #E30613);
}

.share-card-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--kku-brand, #E30613);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Paylaşım Seçenekleri */
.share-options {
    margin-bottom: 2rem;
}

.share-options h4 {
    color: #343a40;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.share-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.share-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.share-btn i {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.share-btn:hover i {
    transform: scale(1.1);
}

.share-btn:active {
    transform: translateY(-1px);
}

/* Paylaşım Buton Renkleri - KKU kırmızı tema */
.share-btn-native {
    background: linear-gradient(135deg, var(--kku-brand, #E30613) 0%, var(--kku-brand-hover, #c00510) 100%);
    color: white;
    border-color: var(--kku-brand, #E30613);
}

.share-btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    border-color: #25d366;
}

.share-btn-twitter {
    background: linear-gradient(135deg, #1da1f2 0%, #0d8bd9 100%);
    color: white;
    border-color: #1da1f2;
}

.share-btn-facebook {
    background: linear-gradient(135deg, #1877f2 0%, #166fe5 100%);
    color: white;
    border-color: #1877f2;
}

.share-btn-linkedin {
    background: linear-gradient(135deg, #0077b5 0%, #005885 100%);
    color: white;
    border-color: #0077b5;
}

.share-btn-copy {
    background: linear-gradient(135deg, var(--kku-brand, #E30613) 0%, var(--kku-brand-hover, #c00510) 100%);
    color: white;
    border-color: var(--kku-brand, #E30613);
}

/* Paylaşım Metni Önizleme */
.share-text-preview {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
}

.share-text-preview h4 {
    color: #343a40;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.share-text-content {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.share-text-formatted .text-section {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.share-text-formatted .text-section:last-child {
    margin-bottom: 0;
}

.share-text-formatted strong {
    color: #343a40;
}

.share-text-formatted em {
    color: #6c757d;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .share-modal-content {
        width: 98%;
        margin: 1rem;
    }
    
    .share-modal-header {
        padding: 1rem 1.5rem;
    }
    
    .share-modal-header h3 {
        font-size: 1.1rem;
    }
    
    .share-modal-body {
        padding: 1.5rem;
    }
    
    .share-card-content {
        padding: 1rem;
    }
    
    .share-card-title {
        font-size: 1.2rem;
    }
    
    .share-card-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .share-card-footer {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .share-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .share-btn {
        padding: 0.75rem;
        font-size: 0.8rem;
    }
    
    .share-btn i {
        font-size: 1.3rem;
    }
}

/* ================================
   Gelişmiş Pagination Stilleri - Trend Analizi Uyumlu
   ================================ */

.pagination-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin-top: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pagination-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.pagination-size-selector {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    flex-shrink: 0;
}

.page-size-label {
    font-size: 0.75rem;
    color: #718096;
    font-weight: 500;
    white-space: nowrap;
}

.pagination-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    font-size: 0.875rem;
    font-weight: 500;
}

.total-items {
    color: #1a202c;
    font-weight: 600;
}

.page-info {
    color: #718096;
    font-size: 0.8rem;
}

.page-btn {
    padding: 0.5rem 0.75rem;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #4a5568;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    min-width: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.page-btn:hover {
    border-color: #4299e1;
    color: #4299e1;
    background: #ebf8ff;
}

.page-btn.active {
    background: #4299e1;
    border-color: #4299e1;
    color: #ffffff;
    font-weight: 600;
}

.page-btn.prev-btn,
.page-btn.next-btn {
    min-width: 80px;
    font-weight: 500;
}

.page-dots {
    color: #718096;
    font-weight: 500;
    padding: 0 0.5rem;
}

.page-input {
    width: 60px;
    padding: 0.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
    transition: border-color 0.2s ease;
    background: #ffffff;
    color: #1a202c;
}

.page-input:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.page-go-btn {
    padding: 0.5rem 1rem;
    background: #4299e1;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.page-go-btn:hover {
    background: #3182ce;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(66, 153, 225, 0.3);
}

.page-size-select {
    padding: 0.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #ffffff;
    color: #4a5568;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.2s ease;
    min-width: 120px;
}

.page-size-select:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

/* Sonraki + kayıt sayısı aynı blokta */
.pagination-next-and-size {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

/* Pagination Responsive — mobil düzen panel-pagination.css içinde */
@media (max-width: 768px) {
    .pagination-wrapper {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem 0.65rem;
        padding: 0.75rem 0.5rem;
    }

    .pagination-controls,
    .pagination-size-selector {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .pagination-wrapper {
        gap: 0.75rem;
    }
    
    .page-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .page-btn.prev-btn,
    .page-btn.next-btn {
        min-width: 90px;
        font-size: 0.8rem;
    }
}

/* ================================
   Duyuru listesi sayfası - KKU Tumu tarzı
   (kku.edu.tr/Anasayfa/Duyuru/Tumu)
   ================================ */

.duyuru-list-page-wrap {
    background: #f5f5f5;
    min-height: 50vh;
}

.duyuru-list-page-wrap .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.duyuru-list-page-wrap .breadcrumb-item a {
    color: #0066b3;
    text-decoration: none;
}

.duyuru-list-page-wrap .breadcrumb-item a:hover {
    text-decoration: underline;
}

.duyuru-list-page-wrap .breadcrumb-item.active {
    color: #555;
}

.duyuru-list-header {
    border-bottom: 3px solid var(--kku-brand-hover, #c82333);
    padding-bottom: 1rem;
}

.duyuru-list-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.25rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.duyuru-list-title i {
    color: var(--kku-brand-hover, #c82333);
}

.duyuru-list-subtitle {
    font-size: 1rem;
    color: #6c757d;
    margin: 0;
}

.duyuru-list-section {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    overflow: visible;
}

.duyuru-list-kku {
    list-style: none;
    margin: 0;
    padding: 0;
}

.duyuru-list-item-kku {
    border-bottom: 1px solid #e9ecef;
}

.duyuru-list-item-kku:last-child {
    border-bottom: none;
}

.duyuru-item-link {
    display: block;
    color: inherit;
    text-decoration: none;
    padding: 1.25rem 1.5rem;
    transition: background-color 0.2s ease;
}

.duyuru-item-link:hover {
    background-color: #f8f9fa;
    color: inherit;
}

.duyuru-item-inner {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.duyuru-item-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    background: #e9ecef;
    position: relative;
}

.duyuru-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.duyuru-item-thumb.no-img {
    display: none;
}

.duyuru-item-thumb-popover {
    position: absolute;
    top: 0;
    left: calc(100% + 10px);
    width: 260px;
    height: 180px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #dee2e6;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
    background: #fff;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(4px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    z-index: 30;
}

.duyuru-item-thumb-popover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.duyuru-item-thumb:hover .duyuru-item-thumb-popover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.duyuru-item-body {
    flex: 1;
    min-width: 0;
}

.duyuru-item-meta {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0.35rem;
}

.duyuru-item-meta span + span {
    margin-left: 1rem;
}

.duyuru-item-meta i {
    margin-right: 0.25rem;
    opacity: 0.9;
}

.duyuru-item-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 0.35rem 0;
    line-height: 1.35;
}

.duyuru-item-link:hover .duyuru-item-title {
    color: var(--kku-brand-hover, #c82333);
}

.duyuru-item-excerpt {
    font-size: 0.95rem;
    color: #495057;
    line-height: 1.5;
    margin: 0 0 0.4rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.duyuru-item-more {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--kku-brand-hover, #c82333);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.duyuru-item-link:hover .duyuru-item-more {
    text-decoration: underline;
}

.duyuru-item-more i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.duyuru-item-link:hover .duyuru-item-more i {
    transform: translateX(4px);
}

/* Liste sayfası – Paylaş butonu (başlık ile hizalı, dikey boşluk tutarlı) */
.duyuru-item-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.35rem;
}

.duyuru-item-share-btn {
    color: var(--kku-brand, #E30613);
    border-color: var(--kku-brand, #E30613);
    background: transparent;
}

.duyuru-item-share-btn:hover {
    color: #fff;
    background-color: var(--kku-brand-hover, #c00510);
    border-color: var(--kku-brand-hover, #c00510);
}

.duyuru-item-share-btn i {
    margin-right: 0.25rem;
}

/* Detay sayfası – başlık satırı ve Paylaş butonu */
.duyuru-detay-header-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.duyuru-detay-header-row .duyuru-detay-title {
    flex: 1;
    min-width: 0;
    margin-bottom: 0;
}

.duyuru-detay-share-btn {
    flex-shrink: 0;
    color: var(--kku-brand, #E30613);
    border-color: var(--kku-brand, #E30613);
    background: transparent;
}

.duyuru-detay-share-btn:hover {
    color: #fff;
    background-color: var(--kku-brand-hover, #c00510);
    border-color: var(--kku-brand-hover, #c00510);
}

.duyuru-detay-share-btn i {
    margin-right: 0.35rem;
}

/* Boş liste */
.duyuru-empty-state {
    text-align: center;
    padding: 3rem 2rem;
}

.duyuru-empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.25rem;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.duyuru-empty-icon i {
    font-size: 2rem;
    color: #adb5bd;
}

.duyuru-empty-title {
    font-size: 1.35rem;
    font-weight: 600;
    color: #495057;
    margin: 0 0 0.5rem 0;
}

.duyuru-empty-desc {
    font-size: 1rem;
    color: #6c757d;
    margin: 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .duyuru-item-inner {
        flex-direction: column;
    }
    
    .duyuru-item-thumb {
        width: 100%;
        height: 180px;
    }

    .duyuru-item-thumb-popover {
        display: none;
    }
    
    .duyuru-list-title {
        font-size: 1.5rem;
    }
    
    .duyuru-item-link {
        padding: 1rem;
    }
}

/* ================================
   Duyuru Detay Sayfası – Modern Tasarım
   ================================ */

.duyuru-detay-page {
    background: linear-gradient(180deg, #eef0f2 0%, #f5f6f8 100px, #fff 100%);
    min-height: 75vh;
    padding: 1.5rem 1.5rem 3rem;
    width: 100%;
    box-sizing: border-box;
}

.duyuru-detay-container {
    width: 100%;
    max-width: min(72rem, calc(100vw - 3rem));
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

/* Ekmek kırıntısı: kku-detail-breadcrumb.css (nav.kku-page-breadcrumb) */

.duyuru-detay-article {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.duyuru-detay-hero {
    width: 100%;
    max-height: 380px;
    overflow: hidden;
    background: #e9ecef;
}

.duyuru-detay-hero-img {
    width: 100%;
    height: 100%;
    max-height: 380px;
    object-fit: cover;
    display: block;
}

.duyuru-detay-body {
    padding: 2rem 2.25rem;
}

.duyuru-detay-head {
    margin-bottom: 1.5rem;
}

.duyuru-detay-heading {
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.35;
    color: #1a1a1a;
    margin: 0 0 1rem 0;
    letter-spacing: -0.02em;
}

.duyuru-detay-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.25rem;
}

.duyuru-detay-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.duyuru-detay-meta-item i {
    color: var(--kku-brand-hover, #c82333);
    font-size: 0.85rem;
}

.duyuru-detay-yazarlar .duyuru-detay-meta-item {
    flex-wrap: wrap;
    align-items: baseline;
    line-height: 1.5;
}

.duyuru-detay-author-link {
    color: var(--kku-brand-hover, #c82333);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid rgba(200, 35, 51, 0.35);
}

.duyuru-detay-author-link:hover {
    color: var(--kku-brand-hover, #a61e30);
    border-bottom-color: var(--kku-brand-hover, #a61e30);
}

.duyuru-detay-yazar-metin {
    color: #495057;
    font-weight: 500;
    white-space: pre-line;
}

.duyuru-detay-share {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--kku-brand-hover, #c82333);
    background: transparent;
    border: 1px solid var(--kku-brand-hover, #c82333);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.duyuru-detay-share:hover {
    background: var(--kku-brand-hover, #c82333);
    color: #fff;
    transform: translateY(-1px);
}

.duyuru-detay-lead {
    font-size: 1.1rem;
    line-height: 1.65;
    color: #495057;
    margin-bottom: 1.75rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid #e9ecef;
}

.duyuru-detay-lead p:last-child {
    margin-bottom: 0;
}

.duyuru-detay-content {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #212529;
}

.duyuru-detay-content p {
    margin-bottom: 1rem;
}

.duyuru-detay-content p:last-child {
    margin-bottom: 0;
}

.duyuru-detay-content h2,
.duyuru-detay-content h3,
.duyuru-detay-content h4 {
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #1a1a1a;
}

.duyuru-detay-content h2 { font-size: 1.35rem; }
.duyuru-detay-content h3 { font-size: 1.2rem; }
.duyuru-detay-content h4 { font-size: 1.1rem; }

.duyuru-detay-content ul,
.duyuru-detay-content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.duyuru-detay-content li {
    margin-bottom: 0.4rem;
}

.duyuru-detay-content a {
    color: var(--kku-brand-hover, #c82333);
    text-decoration: none;
}

.duyuru-detay-content a:hover {
    text-decoration: underline;
}

.duyuru-detay-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

.duyuru-detay-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.95rem;
}

.duyuru-detay-content th,
.duyuru-detay-content td {
    border: 1px solid #dee2e6;
    padding: 0.6rem 0.75rem;
    text-align: left;
}

.duyuru-detay-content th {
    background: #f8f9fa;
    font-weight: 600;
}

.duyuru-detay-actions {
    margin-top: 2.25rem;
    padding-top: 1.75rem;
    border-top: 1px solid #e9ecef;
}

.duyuru-detay-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #495057 !important;
    background: #f8f9fa !important;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    text-decoration: none !important;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.duyuru-detay-back:hover {
    background: #e9ecef !important;
    color: #1a1a1a !important;
    border-color: #adb5bd;
}

/* Detay sayfası responsive */
@media (max-width: 768px) {
    .duyuru-detay-page {
        padding: 0.65rem var(--kku-mobile-gutter, 12px) 1.25rem;
        min-height: 0;
    }

    .duyuru-detay-container {
        padding: 0;
        max-width: 100%;
    }

    .duyuru-detay-article {
        border-radius: 10px;
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07), 0 1px 4px rgba(0, 0, 0, 0.04);
    }

    .duyuru-detay-body {
        padding: 1.1rem 0.95rem 1.35rem;
    }

    .duyuru-detay-heading {
        font-size: 1.32rem;
        line-height: 1.38;
    }

    .duyuru-detay-meta-row {
        gap: 0.65rem;
    }

    .duyuru-detay-meta-item {
        font-size: 0.84rem;
    }

    .duyuru-detay-share {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }

    .duyuru-detay-lead {
        font-size: 0.98rem;
        margin-bottom: 1.25rem;
        padding-bottom: 1.25rem;
    }

    .duyuru-detay-content {
        font-size: 0.98rem;
        line-height: 1.65;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .duyuru-detay-content img {
        max-width: 100%;
        height: auto;
    }

    .duyuru-detay-page.kku-kaynak-detay {
        padding-left: var(--kku-mobile-gutter, 12px);
        padding-right: var(--kku-mobile-gutter, 12px);
    }

    .duyuru-detay-page.kku-kaynak-detay .duyuru-detay-container {
        max-width: 100%;
        padding: 0;
    }

    .duyuru-detay-page.kku-kaynak-detay .duyuru-detay-body {
        padding: 1.1rem 0.95rem 1.35rem;
    }
}

/* ================================
   Kaynak detay (patent, yayın, tez, proje) — geniş sütun, chip meta, paneller
   ================================ */

.duyuru-detay-page.kku-kaynak-detay {
    background: linear-gradient(180deg, #e6e9ee 0%, #f0f2f5 140px, #fafbfc 100%);
    padding-right: 1.5rem;
}

.duyuru-detay-page.kku-kaynak-detay .duyuru-detay-container {
    max-width: min(72rem, calc(100vw - 2.5rem));
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.duyuru-detay-page.kku-kaynak-detay .duyuru-detay-article {
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.07),
        0 4px 14px rgba(0, 0, 0, 0.04);
    border-top: 4px solid var(--kku-brand-hover, #c82333);
}

.duyuru-detay-page.kku-kaynak-detay .duyuru-detay-body {
    padding: 2rem 1.75rem 2.25rem;
}

.kku-kaynak-detay-eyebrow {
    margin: 0 0 0.4rem 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--kku-brand-hover, #c82333);
}

.duyuru-detay-page.kku-kaynak-detay .duyuru-detay-heading {
    font-size: clamp(1.35rem, 3.2vw, 1.95rem);
    line-height: 1.22;
    letter-spacing: -0.025em;
    margin-bottom: 1.1rem;
}

.duyuru-detay-page.kku-kaynak-detay .duyuru-detay-meta-row {
    gap: 0.45rem 0.6rem;
}

.duyuru-detay-page.kku-kaynak-detay .duyuru-detay-meta-row > .duyuru-detay-meta-item {
    background: #f1f3f6;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 999px;
    padding: 0.32rem 0.85rem;
    font-size: 0.8125rem;
    color: #495057;
}

.duyuru-detay-page.kku-kaynak-detay .duyuru-detay-meta-row > .duyuru-detay-meta-item i {
    font-size: 0.78rem;
}

.duyuru-detay-page.kku-kaynak-detay .duyuru-detay-atif-badge {
    background: rgba(234, 88, 12, 0.12);
    color: #c2410c;
    border-color: rgba(234, 88, 12, 0.22);
    font-weight: 700;
}

.duyuru-detay-page.kku-kaynak-detay .duyuru-detay-atif-badge i {
    color: #ea580c;
}

.duyuru-detay-page.kku-kaynak-detay .kku-kaynak-detay-authors {
    margin-top: 1rem;
    padding: 1rem 1.15rem;
    border-radius: 12px;
    background: linear-gradient(145deg, #fafbfc 0%, #f0f2f6 100%);
    border: 1px solid rgba(0, 0, 0, 0.07);
}

.duyuru-detay-page.kku-kaynak-detay .kku-kaynak-detay-authors--compact {
    margin-top: 0.65rem;
    padding: 0.65rem 0.9rem;
    background: #fff;
    font-size: 0.9rem;
}

.duyuru-detay-page.kku-kaynak-detay .kku-kaynak-detay-author-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.5rem;
    width: 100%;
    line-height: 1.55;
    color: #343a40;
}

.duyuru-detay-page.kku-kaynak-detay .kku-kaynak-detay-authors .duyuru-detay-meta-item i {
    color: var(--kku-brand-hover, #c82333);
}

.duyuru-detay-page.kku-kaynak-detay .duyuru-detay-content {
    max-width: none;
    font-size: 1.02rem;
    line-height: 1.72;
}

.duyuru-detay-page.kku-kaynak-detay .duyuru-detay-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.kku-kaynak-detay-facts {
    margin-top: 1.75rem;
    padding: 1.2rem 1.35rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    max-width: none;
}

.kku-kaynak-detay-facts p {
    display: grid;
    grid-template-columns: minmax(4.5rem, 6rem) 1fr;
    gap: 0.25rem 1rem;
    align-items: start;
    margin-bottom: 0.65rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #212529;
}

.kku-kaynak-detay-facts p:last-child {
    margin-bottom: 0;
}

.kku-kaynak-detay-facts p strong {
    margin: 0.12rem 0 0 0;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #868e96;
}

.kku-kaynak-detay-facts p span {
    word-break: break-word;
}

.kku-kaynak-detay-facts .kku-kaynak-detay-facts-actions {
    display: block;
    margin-top: 0.85rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.kku-kaynak-detay-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.62rem 1.35rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff !important;
    background: linear-gradient(135deg, var(--kku-brand, #d12a3c) 0%, var(--kku-brand-hover, #a61e30) 100%) !important;
    border: none;
    border-radius: 10px;
    text-decoration: none !important;
    box-shadow: 0 3px 12px rgba(200, 35, 51, 0.35);
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.kku-kaynak-detay-btn-primary:hover {
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 5px 18px rgba(200, 35, 51, 0.42);
}

.kku-kaynak-detay-wos {
    border-color: #c5d9f0;
    background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
}

.kku-kaynak-detay-section-title {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0 0 1rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a3a5c;
}

.kku-kaynak-detay-wos-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.4rem;
    padding: 0.2rem 0.45rem;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #fff;
    background: linear-gradient(135deg, #0062a3 0%, #004578 100%);
}

.kku-kaynak-detay-btn-wos {
    background: linear-gradient(135deg, #0062a3 0%, #004578 100%) !important;
    box-shadow: 0 3px 12px rgba(0, 98, 163, 0.35);
}

.kku-kaynak-detay-btn-wos:hover {
    box-shadow: 0 5px 18px rgba(0, 98, 163, 0.42);
}

@media (min-width: 900px) {
    .duyuru-detay-page.kku-kaynak-detay .duyuru-detay-container {
        max-width: min(80rem, calc(100vw - 3rem));
    }

    .duyuru-detay-page.kku-kaynak-detay .duyuru-detay-body {
        padding: 2.25rem 2.75rem 2.5rem;
    }
}

@media (min-width: 1400px) {
    .duyuru-detay-page.kku-kaynak-detay .duyuru-detay-container {
        max-width: min(88rem, calc(100vw - 4rem));
    }
}

@media (max-width: 768px) {
    .duyuru-detay-page.kku-kaynak-detay .duyuru-detay-container {
        padding-left: 0;
        padding-right: 0;
    }

    .duyuru-detay-page.kku-kaynak-detay .duyuru-detay-body {
        padding: 1.1rem 0.95rem 1.35rem;
    }

    .kku-kaynak-detay-facts p {
        grid-template-columns: 1fr;
        gap: 0.15rem;
    }
}

/* Duyurular kartı — anasayfa / birim mobil */
@media (max-width: 991.98px) {
    #duyurular-section {
        padding: 0.6rem 0.5rem 0.85rem;
    }

    #duyurular-section .trend-header {
        position: relative;
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        padding: 0.5rem 0.55rem;
        margin-bottom: 0.6rem;
    }

    #duyurular-section .trend-title-section {
        padding-right: 3.25rem;
        min-height: 2.1rem;
        display: flex;
        align-items: center;
        min-width: 0;
    }

    #duyurular-section .trend-title {
        flex-wrap: nowrap;
        align-items: center;
        gap: 0.4rem;
        font-size: 0.98rem;
        width: 100%;
        line-height: 1.25;
    }

    #duyurular-section .trend-title i {
        flex-shrink: 0;
        font-size: 1rem;
        margin-top: 0;
    }

    #duyurular-section .trend-title-text {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        min-width: 0;
        flex: 1 1 auto;
    }

    #duyurular-section .trend-title-sep,
    #duyurular-section .trend-title .trend-subtitle {
        display: none !important;
    }

    #duyurular-section .section-controls {
        position: absolute;
        top: 0.75rem;
        right: 0.85rem;
        z-index: 1;
    }

    #duyurular-section .section-controls .btn {
        min-height: 2.1rem;
        padding: 0.4rem 0.55rem;
    }

    .birim-analiz-page #duyurular-section {
        padding: 0.6rem 0.45rem 0.85rem;
    }
}

/* Yayın detay — hero, paneller, yazar chip'leri */
.kku-yayin-detay-hero {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}

.kku-yayin-detay-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem 1.5rem;
}

.kku-yayin-detay-head-main {
    flex: 1 1 18rem;
    min-width: 0;
}

.kku-yayin-detay-title {
    margin-bottom: 0.85rem !important;
}

.kku-yayin-detay-meta {
    margin-bottom: 0;
}

.kku-yayin-detay-atif-stat {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 5.5rem;
    padding: 0.85rem 1.1rem;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(234, 88, 12, 0.12) 0%, rgba(234, 88, 12, 0.06) 100%);
    border: 1px solid rgba(234, 88, 12, 0.22);
    box-shadow: 0 4px 16px rgba(234, 88, 12, 0.08);
    text-align: center;
}

.kku-yayin-detay-atif-stat-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    color: #c2410c;
}

.kku-yayin-detay-atif-stat-label {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #9a3412;
}

.kku-yayin-detay-atif-stat-label i {
    margin-right: 0.2rem;
    font-size: 0.65rem;
}

.kku-yayin-detay-authors {
    padding: 1rem 1.15rem;
    border-radius: 14px;
    background: linear-gradient(145deg, #fafbfc 0%, #f3f5f8 100%);
    border: 1px solid rgba(0, 0, 0, 0.07);
}

.kku-yayin-detay-authors-label {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.65rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #868e96;
}

.kku-yayin-detay-authors-label i {
    color: var(--kku-brand-hover, #c82333);
}

.kku-yayin-detay-author-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
}

.kku-yayin-detay-author-chips--kku {
    margin-top: 0.65rem;
    padding-top: 0.65rem;
    border-top: 1px dashed rgba(0, 0, 0, 0.08);
}

.kku-yayin-detay-kku-label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6c757d;
    margin-right: 0.25rem;
}

.kku-yayin-detay-author-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.28rem 0.75rem 0.28rem 0.28rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(200, 35, 51, 0.18);
    color: var(--kku-brand-hover, #a61b2a);
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.35;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.kku-yayin-detay-author-photo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    flex-shrink: 0;
    background: #e9ecef;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.kku-yayin-detay-author-fallback {
    display: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #fff;
    background: linear-gradient(145deg, #003366, #c82333);
}

.kku-yayin-detay-author-fallback.is-visible {
    display: inline-flex;
}

.kku-yayin-detay-author-name {
    padding-right: 0.15rem;
}

.kku-yayin-detay-author-chip:hover {
    background: rgba(200, 35, 51, 0.08);
    border-color: rgba(200, 35, 51, 0.35);
    color: var(--kku-brand-hover, #c82333);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(200, 35, 51, 0.12);
}

.kku-yayin-detay-author-text {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: #495057;
}

.kku-yayin-detay-panels {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 992px) {
    .kku-yayin-detay-panels:has(.kku-yayin-citation-toolbar):has(.kku-yayin-detay-biblio) {
        grid-template-columns: 1.05fr 0.95fr;
        align-items: stretch;
    }
}

.kku-yayin-detay-panel {
    padding: 1.15rem 1.2rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
    height: 100%;
}

.kku-yayin-detay-panel-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem 0.85rem;
    margin-bottom: 0.85rem;
}

.kku-yayin-detay-panel-title {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a3a5c;
}

.kku-yayin-detay-panel-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 8px;
    background: rgba(200, 35, 51, 0.1);
    color: var(--kku-brand-hover, #c82333);
    font-size: 0.82rem;
}

.kku-yayin-citation-toolbar {
    margin-top: 0;
}

.kku-yayin-citation-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.kku-yayin-cite-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 4.25rem;
    padding: 0.32rem 0.75rem;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    background: #f8f9fa;
    color: #495057;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.kku-yayin-cite-btn:hover {
    background: #fff;
    border-color: var(--kku-brand-hover, #c82333);
    color: var(--kku-brand-hover, #c82333);
}

.kku-yayin-cite-btn--copied {
    border-color: #16a34a !important;
    color: #15803d !important;
    background: rgba(22, 163, 74, 0.1) !important;
}

.kku-yayin-citation-preview {
    margin: 0;
    padding: 0.95rem 1rem 0.95rem 1.1rem;
    border-left: 3px solid var(--kku-brand-hover, #c82333);
    border-radius: 0 10px 10px 0;
    background: linear-gradient(90deg, rgba(200, 35, 51, 0.05) 0%, rgba(248, 249, 250, 0.9) 100%);
    font-size: 0.9rem;
    line-height: 1.65;
    color: #495057;
    word-break: break-word;
}

.kku-yayin-detay-biblio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
}

@media (min-width: 576px) {
    .kku-yayin-detay-biblio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.kku-yayin-detay-biblio-item {
    padding: 0.7rem 0.8rem;
    border-radius: 10px;
    background: #f8f9fa;
    border: 1px solid rgba(0, 0, 0, 0.05);
    min-width: 0;
}

.kku-yayin-detay-biblio-item--wide {
    grid-column: 1 / -1;
}

.kku-yayin-detay-biblio-label {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.28rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #868e96;
}

.kku-yayin-detay-biblio-label i {
    font-size: 0.62rem;
    color: var(--kku-brand-hover, #c82333);
    opacity: 0.85;
}

.kku-yayin-detay-biblio-value {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.45;
    color: #212529;
    word-break: break-word;
}

.kku-yayin-detay-biblio-actions {
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid #e9ecef;
}

.kku-yayin-detay-biblio-footnote {
    margin: 0.75rem 0 0 0;
    font-size: 0.78rem;
    color: #868e96;
}

.kku-yayin-detay-biblio-footnote i {
    margin-right: 0.3rem;
    opacity: 0.75;
}

@media (max-width: 575.98px) {
    .kku-yayin-detay-atif-stat {
        width: 100%;
        flex-direction: row;
        gap: 0.65rem;
        justify-content: center;
        padding: 0.7rem 1rem;
    }

    .kku-yayin-detay-atif-stat-value {
        font-size: 1.45rem;
    }

    .kku-yayin-detay-atif-stat-label {
        margin-top: 0;
        align-self: center;
    }
}

/* Yayın detay — atıf kopyala, anahtar kelime, ilgili yayınlar */
.kku-yayin-oa-badge {
    background: rgba(22, 163, 74, 0.12) !important;
    color: #15803d !important;
    border-color: rgba(22, 163, 74, 0.25) !important;
    font-weight: 600;
}

.kku-yayin-atif-kaynak-chip {
    background: rgba(59, 130, 246, 0.1) !important;
    color: #1d4ed8 !important;
    border-color: rgba(59, 130, 246, 0.2) !important;
    font-size: 0.78rem !important;
}

.kku-yayin-keywords {
    margin-top: 1.35rem;
}

.kku-yayin-keywords-title {
    font-size: 1rem !important;
    margin-bottom: 0.65rem !important;
}

.kku-yayin-keywords-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.kku-yayin-keyword-chip {
    display: inline-block;
    padding: 0.28rem 0.75rem;
    border-radius: 999px;
    background: #f1f3f6;
    border: 1px solid rgba(0, 0, 0, 0.07);
    color: #343a40;
    font-size: 0.8125rem;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.kku-yayin-keyword-chip:hover {
    background: rgba(200, 35, 51, 0.08);
    border-color: rgba(200, 35, 51, 0.25);
    color: var(--kku-brand-hover, #c82333);
}

.kku-yayin-doi-link {
    color: #0d6efd;
    word-break: break-all;
}

.kku-yayin-metrik-guncelleme {
    margin-top: 0.5rem !important;
    padding-top: 0.65rem;
    border-top: 1px dashed #e9ecef;
}

.kku-yayin-atif-kaynak-tablo {
    margin-top: 1.5rem;
}

.kku-yayin-atif-table {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.kku-yayin-atif-table th {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #868e96;
    border-bottom-width: 1px;
}

.kku-yayin-atif-row--active td {
    background: rgba(59, 130, 246, 0.06);
}

.kku-yayin-atif-row--effective td {
    border-top: 2px solid #dee2e6;
}

.kku-yayin-ilgili-section {
    margin-top: 1.75rem;
}

.kku-yayin-ilgili-section .kku-kaynak-detay-section-title {
    margin-bottom: 0;
}

.kku-yayin-ilgili-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    margin-bottom: 1rem;
}

.kku-yayin-ilgili-header .trend-title-section {
    flex: 1 1 16rem;
    min-width: 0;
}

.kku-yayin-ilgili-subtitle {
    margin: 0.35rem 0 0 0;
    font-size: 0.875rem;
    color: #6c757d;
    line-height: 1.5;
}

.kku-yayin-ilgili-count {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    background: rgba(200, 35, 51, 0.09);
    color: var(--kku-brand-hover, #c82333);
    border: 1px solid rgba(200, 35, 51, 0.22);
    white-space: nowrap;
}

.kku-yayin-ilgili-loading {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0.85rem;
    padding: 0.65rem 0;
}

.kku-yayin-ilgili-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .kku-yayin-ilgili-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.kku-yayin-ilgili-card {
    margin: 0;
    min-width: 0;
}

.kku-yayin-ilgili-card-link {
    display: flex;
    align-items: stretch;
    gap: 0.85rem;
    padding: 0.95rem 1rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-left: 3px solid var(--kku-brand-hover, #c82333);
    text-decoration: none;
    color: inherit;
    height: 100%;
    min-height: 5.5rem;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.kku-yayin-ilgili-card-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
    border-color: rgba(200, 35, 51, 0.28);
}

.kku-yayin-ilgili-card-link:focus-visible {
    outline: 2px solid var(--kku-brand-hover, #c82333);
    outline-offset: 2px;
}

.kku-yayin-ilgili-card-icon {
    flex-shrink: 0;
    width: 2.55rem;
    height: 2.55rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--kku-brand, #dc3545) 0%, var(--kku-brand-hover, #a61b2a) 100%);
    color: #fff;
    font-size: 1rem;
    align-self: flex-start;
    box-shadow: 0 4px 12px rgba(200, 35, 51, 0.25);
}

.kku-yayin-ilgili-card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.55rem;
}

.kku-yayin-ilgili-card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.42;
    color: #1a202c;
    transition: color 0.15s ease;
}

.kku-yayin-ilgili-card-link:hover .kku-yayin-ilgili-card-title {
    color: var(--kku-brand-hover, #c82333);
}

.kku-yayin-ilgili-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.kku-yayin-ilgili-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    max-width: 100%;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.35;
    background: #f1f3f6;
    color: #495057;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.kku-yayin-ilgili-chip i {
    font-size: 0.62rem;
    opacity: 0.85;
}

.kku-yayin-ilgili-chip--journal {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kku-yayin-ilgili-chip--year {
    background: rgba(59, 130, 246, 0.09);
    color: #1d4ed8;
    border-color: rgba(59, 130, 246, 0.18);
}

.kku-yayin-ilgili-chip--tur {
    background: rgba(100, 116, 139, 0.1);
    color: #475569;
    border-color: rgba(100, 116, 139, 0.16);
}

.kku-yayin-ilgili-chip--atif {
    background: rgba(234, 88, 12, 0.1);
    color: #c2410c;
    border-color: rgba(234, 88, 12, 0.2);
}

.kku-yayin-ilgili-card-arrow {
    flex-shrink: 0;
    align-self: center;
    color: #ced4da;
    font-size: 0.8rem;
    transition: transform 0.18s ease, color 0.18s ease;
}

.kku-yayin-ilgili-card-link:hover .kku-yayin-ilgili-card-arrow {
    color: var(--kku-brand-hover, #c82333);
    transform: translateX(3px);
}

.kku-yayin-ilgili-empty {
    margin: 0;
    font-size: 0.875rem;
}

@media (max-width: 575.98px) {
    .kku-yayin-ilgili-card-link {
        padding: 0.85rem 0.9rem;
        gap: 0.7rem;
    }

    .kku-yayin-ilgili-card-icon {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 0.9rem;
    }
}

