html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.join-button {
    position: relative;
    bottom:20px;
}

.join-button a {
    z-index: 999;
    display: block;
    width: 200px;
    height: 200px;
    background-color: #fff;
    border: 2px dashed #e4e4e4;
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    border-radius: 100px;
    bottom: -125px;
    font-family: "BebasNeue", sans-serif;
    color: #eb1c23;
    text-align: center;
    text-decoration: none;
    letter-spacing: -1.2px;
    transition: all 0.5s ease
}

.join-button a:hover {
    box-shadow: 0px 0px 45px 0px rgba(0,0,0,0.3);
    transition: all 0.5s ease;
    border-color: #a6a6a6
}

.join-button a span {
    font-weight: 700
}

.join-button a span.text {
    display: inline-block;
    font-weight: 300;
    font-size: 48px;
    line-height: 54px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%)
}
#owl-challenge-slider .owl-wrapper-outer {
    overflow:unset !important;
}
@media (max-width: 991px) {
    .join-button a span.text {
        font-size: 42px;
        line-height: 47px
    }
}

@media (max-width: 767px) {
    .join-button a span.text {
        font-size: 30px;
        line-height: 31px
    }
}

@media (max-width: 991px) {
    .join-button a {
        width: 180px;
        height: 180px;
        bottom: -120px;
    }
}

@media (max-width: 767px) {
    .join-button a {
        width: 130px;
        height: 130px;
        bottom: -100px;
    }
}

.justify-content-center { justify-content: center; }
.justify-items-center { justify-items: center; }
.justify-self-center { justify-self: center; }

.subpages {
    min-height: 509px;
}
.signuptext {
    width: 100%;
    text-align: center;
    padding: 10px;
    font-size: 14px;
    background-color: #E55B62;
    color: white;
    margin-bottom: 10px;
}

.punset {
    font-size: unset !important;
    line-height: unset !important;
    font-family: unset !important;
    font-weight: unset !important;
    letter-spacing: unset !important;
}

.modal-body-kvkk {
    overflow-y: auto;
    height: calc(100vh - 200px);
    padding: 25px !important;
}

.modal-header .close-kvvk {
    margin-top: -22px;
}

.announcements-slider .item {
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    height: 380px;
    margin: 5px;
}

.announcements-slider .item:hover {
    transform: translateY(-4px);
}

/* responsive yükseklik */
@media (max-width: 1200px) {
    .announcements-slider .item { height: 400px; }
}

@media (max-width: 768px) {
    .announcements-slider .item { height: 340px; }
}

.announcements-slider .image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.announcements-slider .info {
    flex: 1;
    padding: 15px 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.announcements-slider .info .head {
    font-weight: 700 !important;
    color: #353535 !important;
    font-size: 16px !important;
    margin-bottom: 8px;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.6px !important;
    padding: 0 !important;
    white-space: wrap;             
    word-break: keep-all;
    overflow-wrap: break-word;
    line-height: 1.9 !important;
}

.announcements-slider .info p {
    color: #5e5e5e !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin-bottom: auto !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3;               
    -webkit-box-orient: vertical;
    overflow: hidden;                    
    text-overflow: ellipsis;
    white-space: normal;                 
    word-break: normal;                  
    overflow-wrap: break-word;
}

/* 🔥 Yeni buton tasarımı */
.announcements-slider .announce-more-x,  .announce-more-x{
    display: inline-block;
    margin: 15px auto 20px auto;
    padding: 10px 22px;
    color: #898989;
    font-weight: 600;
    font-size: 13px;
    border-radius: 6px;
    text-transform: uppercase;
    text-align: center;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.announcements-slider .announce-more-x:hover,.announce-more-x:hover {
    transform: translateY(-2px);
    color: #333333;
}

/**/

/* Bölüm kapsayıcıları */
.section.announcements-gallery {
    padding: 30px 0;
}
.section.announcements-gallery .detail h2 {
    margin-bottom: 20px;
}

/* 4’lü grid kart tasarımı */
.announcements-gallery .item {
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    height: 380px;             
    margin: 5px;               
}
.announcements-gallery .item:hover {
    transform: translateY(-4px);
}

@media (max-width: 1200px) {
    .announcements-gallery .item { height: 400px; }
}
@media (max-width: 768px) {
    .announcements-gallery .item { height: 340px; }
}

/* Görsel alanı */
.announcements-gallery .image img {
    width: 100%;
    height: 200px;             /* sabit görsel yüksekliği */
    object-fit: cover;
    display: block;
}

/* İçerik alanı */
.announcements-gallery .info {
    flex: 1;
    padding: 15px 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Başlık: 2 satırda kelime bölmeden ... */
.announcements-gallery .info .head {
    font-weight: 700;
    color: #353535;
    font-size: 16px;
    margin-bottom: 8px;

    display: -webkit-box;
    -webkit-line-clamp: 2;             /* 2 satır sınır */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;

    /* kelimeleri bölmeden sarma */
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;

    line-height: 1.9;
    letter-spacing: -0.6px;
    padding: 0;
}

/* Açıklama: 3 satırda kelime bölmeden ... */
.announcements-gallery .info p {
    color: #5e5e5e;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: auto;

    display: -webkit-box;
    -webkit-line-clamp: 3;             /* 3 satır sınır */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;

    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
}

/* Buton (announce-more-x) */
.announcements-gallery .announce-more-x {
    display: inline-block;
    margin: 15px auto 20px auto;
    padding: 10px 22px;
    color: #898989;
    font-weight: 600;
    font-size: 13px;
    border-radius: 6px;
    text-transform: uppercase;
    text-align: center;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    text-decoration: none;
}
.announcements-gallery .announce-more-x:hover {
    transform: translateY(-2px);
    color: #333333;
}

.announcements-gallery .content [class*="col-"] {
    margin-bottom: 10px;
}

@media (max-width: 767px) {
    
    .section.announcements-gallery .info {
        padding: 0px !important;
        margin: 0 !important;
    }
    .announcements-gallery .item {
        height: 400px !important;
        margin: 0px 15px !important;
    }
    .item {
        margin-top: 50px !important;
    }
    .pagecontent-type-1 section .image {
        margin-bottom : 10px !important;
    }

    .section.announcements-gallery .image a {
        padding-top: unset !important;
    }
    .section.announcements-gallery .image a>img {
        position : unset !important;
        top: unset !important;
        left: unset !important;
        transform: unset !important;
        border: unset !important;
    }
}
