.header-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-image .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 32px; 
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    padding: 10px; 
}

.post-title {
    margin-bottom: 20px;
    font-size: 30px;        
}

.custom-pagination .pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.custom-pagination .page-item {
    margin: 0 5px;
}

.custom-pagination .page-link {
    color: #212529;
    border: 1px solid gray;
    background-color: #F8F9FA;
    transition: background-color 0.3s, color 0.3s;
    border-radius: 3px;
}

.custom-pagination .page-link:hover {
    background-color: #212529;
    color: #F8F9FA;
}

.custom-pagination .page-item.active .page-link {
    background-color: #212529;
    color: #F8F9FA;
    border: 1px solid #212529;
    border-radius: 3px;
}

.custom-pagination .page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    background-color: #F8F9FA;
    border: 1px solid gray;
}

.image-pointer {
    cursor: pointer;
}

#modalImage {
    max-width: 100%;
    height: auto;
}


.modal-transparent {
    background: transparent !important;
    border: none;
    box-shadow: none;
}

.btn-close-white {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(255, 255, 255, 0.6);
    padding: 5px;
    border-radius: 50%;
}
.btn-close-white:hover {
    background-color: rgba(255, 255, 255, 0.8);
}


@media (max-width: 768px) {
    .header-image {
        height: 200px; 
    }

    .header-image .overlay {
        font-size: 24px; 
        padding: 5px;
    }
}

@media (max-width: 480px) {
    .header-image {
        height: 150px; 
    }

    .header-image .overlay {
        font-size: 18px; 
        padding: 3px;
    }
}