/**
 * Duyuru Detay Sayfası Stilleri
 * BÜYEM - Boğaziçi Üniversitesi Yaşamboyu Eğitim Merkezi
 */

/* Hero Section */
.duyuru-detail-hero {
    background: linear-gradient(135deg, #1d458ba4 0%, #2c5aa0 50%, #3a6cb0 100%);
    padding: 20px 0;
    text-align: center;
}

.duyuru-detail-hero .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.duyuru-detail-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    color: #fff;
    margin-bottom: 20px;
}

.duyuru-detail-hero h1 {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.3!important;
}

.duyuru-detail-hero .hero-meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.duyuru-detail-hero .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255,255,255,0.9);
}

/* Main Section */
.duyuru-detail-section {
    padding: 50px 0;
    background: #f8f9fa;
}

.duyuru-detail-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Layout */
.duyuru-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    align-items: start;
}

/* Main Content */
.duyuru-main {
    min-width: 0;
}

.duyuru-content-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    margin-bottom: 24px;
}

.duyuru-detail-gorsel {
    margin: -40px -40px 24px;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
    max-height: 420px;
}

.duyuru-detail-gorsel img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.duyuru-body {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.duyuru-body p {
    margin-bottom: 16px;
}

/* Share Section */
.share-section {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    margin-top: 32px;
    border-top: 1px solid #eee;
}

.share-label {
    font-size: 14px;
    font-weight: 600;
    color: #495057;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
}

.share-btn:hover {
    opacity: 0.9;
    transform: scale(1.1);
}

.share-btn.facebook { background: #1877F2; }
.share-btn.twitter { background: #000; }
.share-btn.linkedin { background: #0A66C2; }
.share-btn.whatsapp { background: #25D366; }

/* Back Link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #1d458b;
    text-decoration: none;
    transition: gap 0.2s;
}

.back-link:hover {
    gap: 12px;
}

/* Sidebar */
.duyuru-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.sidebar-title {
    font-size: 16px;
    font-weight: 600;
    color: #1d458b;
    margin-bottom: 20px!important;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Other Duyurular */
.other-duyurular {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.other-duyuru-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s;
}

.other-duyuru-item:hover {
    background: #e9ecef;
}

.other-date {
    width: 50px;
    min-width: 50px;
    text-align: center;
    padding: 8px 0;
    background: #1d458b;
    border-radius: 8px;
    color: #fff;
}

.other-day {
    display: block;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.other-month {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    margin-top: 2px;
}

.other-title {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive */
@media (max-width: 992px) {
    .duyuru-layout {
        grid-template-columns: 1fr;
    }
    
    .duyuru-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .duyuru-detail-hero {
        padding: 40px 0;
    }
    
    .duyuru-detail-hero h1 {
        font-size: 24px;
    }
    
    .duyuru-content-card {
        padding: 24px;
    }

    .duyuru-detail-gorsel {
        margin: -24px -24px 20px;
        max-height: 220px;
    }

    .duyuru-detail-gorsel img {
        height: 220px;
    }
    
    .duyuru-body {
        font-size: 15px;
    }
    
    .share-section {
        flex-direction: column;
        align-items: flex-start;
    }
}

