/* Duyurular Bölümü */
.duyurular-container {
    background-color: #fff;
    padding: 15px;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: relative; /* İçindeki absolute öğeler için referans */
}

.duyurular-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

    .duyurular-header .icon {
        width: 30px;
        height: 30px;
        background-color: white;
        margin-right: 10px;
    }

.duyurular-list .duyuru-item {
    display: flex;
    margin-bottom: 15px;
}

.duyuru-item .date-box {
    min-width: 50px;
    background-color: #e9ecef;
    text-align: center;
    margin-right: 10px;
    border-radius: 4px;
    padding: 5px;
    font-weight: bold;
}

.duyuru-item .content {
    flex: 1;
}

/* Tüm Duyurular Linki containerın sağ alt köşesinde yer alacak */
.tum-duyurular-link {
    position: absolute;
    right: 10px;
    bottom: 30px;
    font-weight: bold;
    color: #0d6efd;
    text-decoration: none; /* İstenirse alt çizgi kaldırılır */
}
/* Haberler Bölümü (Owl Carousel alanı) */
.haberler-container {
    background-color: #fff;
    padding: 15px;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.haberler-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

    .haberler-header .icon {
        width: 30px;
        height: 30px;
        background-color: white;
        margin-right: 10px;
    }

.tum-haberler-wrapper {
    /* Carousel dotlarının altında yeterli boşluk bırakmak için */
    margin-top: 15px;
}

.tum-haberler-link {
    border:none;
    float:right;
    font-weight: bold;
    color: #0d6efd;
    text-decoration: none;
    padding: 8px 16px;
    /*border: 1px solid #0d6efd;*/
    /*border-radius: 4px;*/
    transition: background-color 0.2s, color 0.2s;
}

    .tum-haberler-link:hover {
        /*background-color: #0d6efd;*/
        /*color: #fff;*/
    }

/* Footer container: Dotlar ve linki yatay hizada tutmak için */
.carousel-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    gap: 15px; /* Dotlar ile link arasında boşluk */
}

/* Owl Carousel içerisindeki item stilleri */
.owl-theme .owl-nav {
    margin-top: 30px !important;
    width: 100%;
}

.owl-carousel .item-container {
    background-color: #fff;
    margin: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.thumb {
    position: relative;
}

    .thumb .date {
        position: absolute;
        top: 10px;
        left: 10px;
        background-color: rgba(0,0,0,0.7);
        color: #fff;
        padding: 3px 6px;
        border-radius: 4px;
        font-size: 0.85rem;
    }

    .thumb img {
        width: 100%;
        height: 180px;
        object-fit: cover;
    }

.detail {
    padding: 10px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.detail .title {
        flex-grow: 0;
        height: 40px;
        overflow: hidden;
 }

        .detail .title a {
            font-weight: bold;
            color: #333;
            text-decoration: none;
        }

    .detail .desc {
        font-size: 0.9rem;
        color: #555;
        overflow: hidden;
        text-overflow: ellipsis;
        flex-grow: 1;
    }
