﻿#default-first-section {
    background-image: url('../img/helpers/genel_duyurular.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#default-first-section.bg-genel { background-image: url('../img/helpers/duyuru.png'); }
#default-first-section.bg-fon   { background-image: url('../img/helpers/fon duyurusu.png'); }
#default-first-section.bg-haber { background-image: url('../img/helpers/haber.png'); }

#duyuru-section {
    margin: 60px 0px;
}

#duyuru-navbar {
    margin-bottom: 60px;
}

.duyuru-sort-btn {
    border-radius: 16px;
}
.duyuru-sort-btn svg{
    margin-bottom:3px;
}

.date-wrapper{
    padding:50px 0 5px 0;
}

#default-first-section h2.default-header-2 br{
    display:none;
}

.duyuru-search-wrapper {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--ahlp-bbb4b4);
    border-radius: 16px;
    background-color: transparent;
    overflow: hidden;
}
.duyuru-search-wrapper .duyuru-search-btn{
    border-top-left-radius:0;
    border-bottom-left-radius:0;
    height:100%;
    min-height:40px;
}

.duyuru-search-wrapper .input-container {
    flex: 1;
}

.duyuru-search-wrapper input {
    width: 100%;
    padding: 18px 40px;
    font-size: 14px;
    line-height: 17px;
    border: 0;
    background: transparent;
    outline: none;
    height: 100%;
}

.duyuru-search-wrapper input::placeholder {
    color: var(--ahlp-bbb4b4);
    font-style: italic;
}




.news-container {
    position: relative;
    padding: 40px 60px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-badge {
    position: absolute;
    padding: 16px 20px;
    top: 0px;
    left: 60px;
    font-weight: bold;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.main-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 70px;
    flex-grow: 1;
}

.news-badge-1 {
    color: var(--ahlp-ece2d5);
    background-color: var(--ahlp-5f5858);
}

.news-badge-2 {
    color: var(--ahlp-f9f5f1);
    background-color: var(--ahlp-7e603a);
}

.content-container {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.content-container h4 {
    margin: 40px 0px;
    padding-right:40px;
}

.main-wrapper p.default-text-3{
    margin-bottom:40px;
}

.img-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-container img {
    border-radius: 16px;
    overflow: hidden;
    width: 100%;
    max-height: 350px;
    object-fit: cover;
}

@media (max-width:992px) {
    #duyuru-section {
        margin: 40px 0px;
        margin-bottom: 40px;
    }

    .main-wrapper{
        gap:30px;
    }
    .main-wrapper p.default-text-3 br{
        display:none;
    }
    .duyuru-search-btn span {
        display: none;
    }
    .right-content-title br{
        display:none;
    }
}

@media (max-width:768px) {
    #duyuru-section {
        margin: 40px 0px;
        margin-bottom: 60px;
    }

    #default-first-section h2.default-header-2 br {
        display: block;
    }
    .news-container {
        position: relative;
        padding: 40px;
    }

    .main-wrapper p.default-text-3{
        font-size:14px;
        line-height:19px;
    }

    .duyuru-search-btn {
        width: 40px;
        height: 40px;
        padding: 0;
        border-radius: 12px;
    }
    
    .duyuru-search-wrapper .duyuru-search-btn {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }
    .duyuru-search-wrapper{
        border-radius:12px;
    }
    .duyuru-search-wrapper input {
        padding: 0px 15px;
    }

    .news-badge{
        left:40px;
        padding:10px;
    }

    .date-wrapper {
        padding: 30px 0 5px 0;
        font-size: 12px;
        line-height: 25px;
    }
}