/* Post card container */
.post-card {
    display: flex;
    flex-direction: row; /* Yatay düzen */
    align-items: flex-start; /* Üstten hizalama */
    position: relative;
    padding: 0.5rem;
    border-bottom: 1px solid #ddd; /* Kenar çizgisi, opsiyonel */
    margin-bottom: 1rem; /* Boşluk, opsiyonel */
    text-decoration: none; /* Link altını kaldırır */
    color: inherit; /* Metin rengini miras alır */
    overflow: hidden; /* Taşmayı engelle */
}

    /* Image styling */
    .post-card .img {
        height: 60px;
        width: 30%;
        border-radius: 10px;
        overflow: hidden;
        flex-shrink: 0;
    }

        .post-card .img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    /* Info section styling */
    .post-card .inf {
        flex-grow: 1;
        margin-left: 1rem; /* Resim ile metin arasındaki boşluk */
        overflow: hidden; /* Taşmayı engelle */
    }

        /* Title styling */
        .post-card .inf h6 {
            color: #000;
            font-size: 13px;
            font-weight: bold;
            margin-bottom: 5px;
            overflow: hidden; /* Taşmayı engelle */
            text-overflow: ellipsis; /* Taşan metin için üç nokta ekler */
            white-space: nowrap; /* Tek satırda kalmasını sağlar */
        }

        /* Description styling */
        .post-card .inf p {
            font-size: 10px;
            color: #666;
            margin: 0; /* Varsayılan margin'i kaldır */
            overflow: hidden; /* Taşmayı engelle */
            display: -webkit-box; /* Flexbox düzeni */
            -webkit-line-clamp: 2; /* İki satıra sınırlama */
            -webkit-box-orient: vertical; /* Yükseklik düzeni */
            text-overflow: ellipsis; /* Taşan metin için üç nokta ekler */
        }

    /* Bottom info styling */
    .post-card .info-bottom {
        display: flex;
        align-items: center;
        position: absolute;
        bottom: 0;
        right: 0;
        margin-top: 1rem;
        font-size: 10px; /* Küçük metin için font boyutu */
        color: #666;
    }

        .post-card .info-bottom i {
            margin-right: 0.5rem;
        }

    /* Hover effect */
    .post-card:hover .inf h6 {
        color: var(--color-blue5); /* Hover durumunda başlık rengini değiştir */
    }


/*Duzenle butonu*/

.admin-overlay {
    position: relative;
    overflow: hidden;
}

.admin-btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(2px); /* Hafif bulanıklık */
    display: none;
    justify-content: center;
    align-items: center;
    transition: backdrop-filter 0.3s ease; /* Geçiş efekti */
    flex-direction: column; /* Sütun düzenine geçirir */
    gap: 10px; /* Butonlar arasında boşluk bırakır */
}

.admin-overlay:hover .admin-btn {
    display: flex;
}

/*Duzenle butonu*/


/* #ebülten efect */

.typing-effect {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    border-right: .15em solid #6640f4; /* Cursor */
    animation: typing 2s steps(30, end), blink-caret .75s step-end infinite;
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes blink-caret {
    from, to {
        border-color: transparent;
    }

    50% {
        border-color: #6640f4;
    }
}

/* #ebülten efect */
.whatsapp-main {
    display: inline-block;
    position: fixed;
    bottom: 0px;
    z-index: 9999999;
    left: auto;
    right: 0px;
}

.whatsapp-wrapper {
    box-shadow: rgb(0 0 0 / 10%) 0px 12px 24px 0px;
    /*   display: none; flex on pop */
    flex-direction: column;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    transition: opacity 0.3s ease 0s, margin 0.3s ease 0s, visibility 0.3s ease 0s;
    background-color: rgb(255, 255, 255);
    transform: translate3d(0px, 0px, 0px);
    opacity: 1;
    pointer-events: all;
    visibility: visible;
    touch-action: auto;
    margin-bottom: 96px;
    position: fixed;
    bottom: 0px;
    left: auto;
    right: 0px;
    margin-right: 20px;
}

.close_whatsapp {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    opacity: 0.4;
    cursor: pointer;
    transition: all 0.3s ease 0s;
    outline: transparent;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
}

    .close_whatsapp::before {
        transform: rotate(45deg);
    }

    .close_whatsapp::after {
        transform: rotate(-45deg);
    }

    .close_whatsapp::before,
    .close_whatsapp::after {
        content: "";
        position: absolute;
        width: 12px;
        height: 2px;
        background-color: rgb(29, 33, 41);
        display: block;
        border-radius: 2px;
    }

.whatsapp-header {
    background: rgb(255, 255, 255);
    color: rgb(17, 17, 17);
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    padding: 24px 20px;
}

.header-info {
    margin-left: 16px;
    margin-right: 16px;
}

.support-avatar {
    width: 52px;
    height: 52px;
    display: block;
    position: relative;
    flex-shrink: 0;
}

    .support-avatar::before {
        content: "";
        bottom: 0px;
        right: 0px;
        width: 12px;
        height: 12px;
        box-sizing: border-box;
        background-color: rgb(74, 213, 4);
        display: block;
        position: absolute;
        z-index: 1;
        border-radius: 50%;
        border: 2px solid rgb(255, 255, 255);
    }

.avatar-wrapper {
    height: 100%;
    width: 100%;
    overflow: hidden;
    border-radius: 50%;
    position: relative;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
}

.avatar-img {
    min-width: 100%;
    height: 100%;
    flex-shrink: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url(/uploads/images/favicon.png);
}

    .avatar-img::after {
        border-radius: 50%;
        border: 3px solid rgba(0, 0, 0, 0.1);
        inset: 0px;
        position: absolute;
        content: "";
        overflow: hidden;
    }

.whatsapp-background {
    padding: 20px 20px 20px 10px;
    background-color: rgb(230, 221, 212);
    position: relative;
    overflow: auto;
    max-height: 382px;
}

    .whatsapp-background::before {
        display: block;
        position: absolute;
        content: "";
        left: 0px;
        top: 0px;
        height: 100%;
        width: 100%;
        z-index: 0;
        opacity: 0.08;
        background-image: url(https://elfsight.com/assets/chats/patterns/whatsapp.png);
    }

.whatsapp-message-container {
    display: flex;
    z-index: 1;
}

.loading-animation {
    background-color: rgb(255, 255, 255);
    width: 52.5px;
    height: 32px;
    border-radius: 16px;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    margin-left: 10px;
    /*   opacity: 0; */
    transition: all 0.1s ease 0s;
    z-index: 1;
    box-shadow: rgb(0 0 0 / 13%) 0px 1px 0.5px;
}

.dot-pulse {
    position: relative;
    left: -9999px;
    width: 6px;
    height: 6px;
    border-radius: 5px;
    background-color: #cbcbcb;
    color: #cbcbcb;
    box-shadow: 9999px 0 0 -5px #cbcbcb;
    animation: dotPulse 1.5s infinite linear;
    animation-delay: .25s;
}

    .dot-pulse::before, .dot-pulse::after {
        content: '';
        display: inline-block;
        position: absolute;
        top: 0;
        width: 6px;
        height: 6px;
        border-radius: 5px;
        background-color: #cbcbcb;
        color: #cbcbcb;
    }

    .dot-pulse::before {
        box-shadow: 9984px 0 0 -5px #cbcbcb;
        animation: dotPulseBefore 1.5s infinite linear;
        animation-delay: 0s;
    }

    .dot-pulse::after {
        box-shadow: 10014px 0 0 -5px #cbcbcb;
        animation: dotPulseAfter 1.5s infinite linear;
        animation-delay: .5s;
    }

@keyframes dotPulseBefore {
    0% {
        box-shadow: 9984px 0 0 -5px #cbcbcb;
    }

    30% {
        box-shadow: 9984px 0 0 2px #cbcbcb;
    }

    60%, 100% {
        box-shadow: 9984px 0 0 -5px #cbcbcb;
    }
}

@keyframes dotPulse {
    0% {
        box-shadow: 9999px 0 0 -5px #cbcbcb;
    }

    30% {
        box-shadow: 9999px 0 0 2px #cbcbcb;
    }

    60%, 100% {
        box-shadow: 9999px 0 0 -5px #cbcbcb;
    }
}

@keyframes dotPulseAfter {
    0% {
        box-shadow: 10014px 0 0 -5px #cbcbcb;
    }

    30% {
        box-shadow: 10014px 0 0 2px #cbcbcb;
    }

    60%, 100% {
        box-shadow: 10014px 0 0 -5px #cbcbcb;
    }
}

.wloader {
    height: 5px;
    width: 5px;
    margin: 0px 2px;
    background-color: rgb(182, 181, 186);
    border-radius: 50%;
    display: inline-block;
    position: relative;
    animation-duration: 1.2s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    top: 0px;
}
/* .dots1 {
  background-color: rgb(158, 157, 162);
  animation-name: dotOne;
}
.dots2 {
  animation-name: dotTwo;
}
.dots3 {
  animation-name: dotThree;
} */
.whatsapp-message-wrapper {
    display: none;
    padding: 7px 14px 6px;
    background-color: rgb(255, 255, 255);
    border-radius: 0px 8px 8px;
    position: relative;
    transition: all 0.3s ease 0s;
    /*   opacity: 1; */
    transform-origin: center top;
    z-index: 2;
    box-shadow: rgb(0 0 0 / 13%) 0px 1px 0.5px;
    margin-top: 4px;
    /*   margin-left: -54px; */
    max-width: calc(100% - 66px);
}

    .whatsapp-message-wrapper::before {
        position: absolute;
        background-image: url("https://i.ibb.co/hRLp4rM/chat-edge.png");
        background-position: 50% 50%;
        background-repeat: no-repeat;
        background-size: contain;
        content: "";
        top: 0px;
        left: -12px;
        width: 12px;
        height: 19px;
    }

.chat-body-wrapper {
    width: 100% !important;
}

.whatsapp-chat-name {
    font-size: 13px;
    font-weight: 700;
    line-height: 18px;
    color: rgba(0, 0, 0, 0.4);
}

.whatsapp-chat-message {
    font-size: 14px;
    line-height: 19px;
    margin-top: 4px;
    color: rgb(17, 17, 17);
}

    .whatsapp-chat-message p {
        margin: 0px;
    }

.whatsapp-message-container {
    box-sizing: border-box !important;
    outline: none !important;
}

.whatsapp-chat-time {
    text-align: right;
    margin-top: 4px;
    font-size: 12px;
    line-height: 16px;
    color: rgba(17, 17, 17, 0.5);
    margin-right: -8px;
    margin-bottom: -4px;
}

.whatsapp-btn {
    padding: 8px 12px;
    border-radius: 24px;
    border: none;
    background: rgb(14, 193, 47);
    color: rgb(255, 255, 255);
    font-size: 15px;
    font-weight: 700;
    line-height: 20px;
    cursor: pointer;
    position: relative;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    margin: 20px;
    overflow: hidden;
    appearance: none;
}

    .whatsapp-btn::before {
        content: "";
        position: absolute;
        display: block;
        opacity: 0;
        transform: scale(1);
        background-color: rgb(0, 0, 0);
        z-index: 0;
        transition: all 0.2s ease 0s;
        border-radius: 20px;
        width: 10px;
        height: 10px;
        bottom: -5px;
    }

.whatsapp-send-icon-small {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    fill: rgb(255, 255, 255);
    z-index: 1;
}

.chat-button-text {
    margin-left: 8px;
    margin-right: 8px;
    z-index: 1;
    color: rgb(255, 255, 255);
}

/* whatsapp pop-up button */
.whatsapp-popup-button {
    height: 64px;
    box-shadow: rgb(0 0 0 / 15%) 0px 3px 12px;
    border-radius: 50%;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    cursor: pointer;
    user-select: none;
    position: relative;
    outline: transparent;
    background-color: rgb(14, 193, 47);
    margin-bottom: 20px;
    margin-right: 20px;
    margin-left: 20px;
    width: 64px;
}

    .whatsapp-popup-button::before,
    .whatsapp-popup-button::after {
        content: "";
        position: absolute;
        border: 1px solid rgb(14, 193, 47);
        inset: -2px;
        border-radius: 500px;
        opacity: 0;
        z-index: 0;
    }

.whatsapp-notify {
    width: 10px;
    height: 10px;
    background-color: rgb(255, 0, 0);
    display: block;
    position: absolute;
    z-index: 1;
    border-radius: 50%;
    right: 4px;
    top: 4px;
}

@keyframes showhide {
    from {
        transition: visibility 0s linear 0.7s, opacity 0.7s ease-in-out;
    }
}

@keyframes showchat {
    from {
        transform: scale(0);
        opacity: 0;
    }
}

.hide-whatsapp {
    display: none;
    animation-name: showhide;
    animation-duration: 0.5s;
    transform: scale(1);
    opacity: 1;
}

.show-whatsapp {
    display: flex;
    animation-name: showchat;
    animation-duration: 0.5s;
    transform: scale(1);
    opacity: 1;
}


.galeri-modul img {
    width: 100%;
    max-height: 250px;
    display: block;
    object-fit: contain;
}

.galeri-modul .col-lg-4 {
    margin-bottom: 15px; /* Fotoğraflar arasında boşluk sağlar */
}

.galeri-modul a {
    display: block; /* Bağlantıyı blok eleman yaparak tüm alanı kaplar */
    overflow: hidden; /* Resim taşmasını önler */
    position: relative; /* Alt öğeler için referans oluşturur */
}

.galeri-modul .col-lg-4 img {
    transition: transform 0.3s ease; /* Hover etkisi için geçiş sağlar */
}

.galeri-modul .col-lg-4:hover img {
    transform: scale(1.05); /* Hover etkisiyle resmin biraz büyümesini sağlar */
}


.video-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Yatayda ortalama */
    justify-content: center; /* Düşeyde ortalama */
    text-align: center; /* Başlık ve video içeriklerini ortalar */
    margin-top: 20px; /* Üstten boşluk */
}

.video-title {
    font-size: 1.5rem; /* Başlık boyutu */
    margin-bottom: 15px; /* Video ile başlık arasına boşluk */
    font-weight: bold; /* Başlık kalın */
}
