/* Global link stili */
a {
    text-decoration: none;
    color: inherit;
}

/* Container */
.container.custom-container {
    max-width: 1540px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Banner */
.banner {
    background-image: linear-gradient(90deg, rgb(0 0 0 / 53%) 0%, rgba(0, 0, 0, 0) 100%), url(/img/bull-metal-banner.png);
    position: relative;
    width: 100%;
    height: 544px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background-position: center;
    background-size: cover;
}

.banner-text-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.banner-title {
    font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 600;
    font-size: 46px;
    color: #FFFFFF;
}

.banner-button {
    max-width: 100%;
    height: 100%;
    padding: 8px 16px;
    border: 2px solid #FFFFFF3D;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    column-gap: 4px;
    background-color: transparent;
}

.index-link {
    color: #FFFFFF99;
    font-family: Raleway, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 500;
    font-size: 14px;
}

.bannerbutton-link {
    font-family: Raleway, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #FFFFFF;
}

.banner-bigname {
    margin: auto;
    position: absolute;
    bottom: 0;
    font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 700;
    font-size: 140px;
    text-align: center;
    line-height: 88px;
    color: transparent;
    -webkit-text-stroke: 1px #FFFFFF5C;
    width: 100%;
    letter-spacing: 50px;
    pointer-events: none;
}

/* Haber kartları */
.haber-card .img-fluid {
    border-radius: 4px;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.haber-card-ilk-title {
    margin-top: 30px;
    font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #545454;
}

.haber-card-title {
    font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 500;
    font-size: 24px;
    color: #000000;
    margin-top: 24px;
}

/* Haber butonu */
.haber-card-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 20px;
    border: 1px solid #FE0000;
    border-radius: 4px;
    min-width: 170px;
    height: 48px;
    font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #000000;
    margin-top: 30px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.haber-card-button i {
    font-size: 14px;
}

/* Hover durumunda gereksiz tekrarları kaldırdım */
.haber-card-button:hover {
    background-color: #FE0000;
    border-color: #FE0000;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

/*Pagination*/
.pagination {
    margin-top: 62px;
    display: flex;
    justify-content: center;
}

.custom-pagination {
    column-gap: 10px;
    align-items: center;
}

.custom-pagination .page-item a {
    font-family: Mulish, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
    text-align: center;
    color: #666666;
    padding: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: #ffffff;
    outline: none;
    box-shadow: none;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.custom-pagination .page-item.active a {
    background: #FE0000;
    border-color: #FE0000;
    color: #ffffff;
}

.custom-pagination .prev-page a,
.custom-pagination .next-page a {
    width: 42px;
    height: 42px;
    border-radius: 4px;
    color: #666666;
}

.custom-pagination .prev-page a:hover,
.custom-pagination .next-page a:hover {
    border-color: #FE0000;
    color: #000000;
}

/* Responsive düzenlemeler */
@media (max-width: 1462px) {
    .haber-card-title {
        padding-right: 0;
    }
}

@media (max-width: 992px) {
    .banner {
        height: 380px;
        align-items: flex-end;
    }

    .banner-title {
        font-size: 32px;
    }

    .banner-bigname {
        font-size: 96px;
        line-height: 72px;
        letter-spacing: 20px;
    }
}

@media (max-width: 785px) {
    .haber-card-title {
        font-size: 22px;
    }

    .banner-bigname {
        font-size: 72px;
        line-height: 56px;
        letter-spacing: 12px;
    }
}

@media (max-width: 571px) {
    .banner {
        height: 320px;
    }

    .banner-text-area {
        flex-direction: column;
        align-items: flex-start;
        row-gap: 12px;
    }

    .banner-title {
        font-size: 28px;
    }

    .banner-bigname {
        font-size: 52px;
        line-height: 44px;
        letter-spacing: 8px;
    }

    .haber-card-button {
        width: 100%;
    }
}