.announcements-section {
    padding: 2rem 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
}

/* Duyuru Kartları */
.announcements-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.announcement-card {
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.announcement-card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.announcement-card.important {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.announcement-header {
    padding: 1.25rem;
    border-bottom: 1px solid #dee2e6;
}

.announcement-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.announcement-title a {
    color: #333;
    text-decoration: none;
}

.announcement-title a:hover {
    color: #007bff;
}

.announcement-meta {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #6c757d;
}

.announcement-meta i {
    margin-right: 0.25rem;
}

.announcement-content {
    padding: 1.25rem;
}

.announcement-footer {
    padding: 1rem 1.25rem;
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Yan Bölüm */
.sidebar-widget {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.sidebar-widget h3 {
    color: #333;
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f5f5f5;
}

.important-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.important-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #f5f5f5;
}

.important-list li:last-child {
    border-bottom: none;
}

.important-list a {
    color: #333;
    text-decoration: none;
    display: block;
    margin-bottom: 0.3rem;
    transition: color 0.3s;
}

.important-list a:hover {
    color: #3498db;
}

.important-list .date {
    font-size: 0.85rem;
    color: #888;
}

/* Kategori Listesi */
.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-list li {
    margin-bottom: 0.5rem;
}

.categories-list a {
    display: block;
    padding: 0.75rem 1rem;
    color: #495057;
    text-decoration: none;
    border-radius: 0.25rem;
    transition: all 0.2s ease;
}

.categories-list a:hover,
.categories-list a.active {
    background-color: #007bff;
    color: #fff;
}

.categories-list .count {
    float: right;
    background-color: #e9ecef;
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
    font-size: 0.75rem;
}

/* Sayfalama */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    color: #007bff;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination a:hover {
    background-color: #e9ecef;
}

.pagination .active {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}

/* Duyuru Detay Sayfası */
.article-meta {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #dee2e6;
}

.article-meta .badge {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.7;
}

.article-content img {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
}

.article-content p {
    margin-bottom: 1.5rem;
}

/* Benzer Duyurular */
.similar-announcements {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #dee2e6;
}

.similar-announcements .card {
    height: 100%;
    transition: all 0.3s ease;
}

.similar-announcements .card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 992px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .announcement-footer {
        flex-direction: column;
        gap: 1rem;
    }
    
    .announcement-footer .btn {
        width: 100%;
    }
    
    .similar-announcements .col-md-4 {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .announcement-card {
        padding: 1rem;
    }

    .announcement-header h2 {
        font-size: 1.2rem;
    }

    .pagination {
        flex-wrap: wrap;
    }
} 