body {
    font-family: 'Josefin Sans', sans-serif;
    color: #333;
}

.banner-section {
    position: relative;
    overflow: hidden;
}

.banner-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.btn-custom {
    color: #333;
    border: 1px solid #ddd;
    background-color: white;
    transition: all 0.3s ease;
}

.btn-custom:hover,
.btn-custom.active {
    background-color: brown;
    color: white;
}

.bg-primary-custom {
    background-color: brown;
}

.btn-outline-custom {
    color: brown;
    border-color: #007bff;
}

.btn-outline-custom:hover {
    background-color: #007bff;
    color: white;
}

.featured-card {
    border-radius: 15px;
}

.story-card {
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175) !important;
}

.zoom-effect {
    transition: transform 0.6s ease;
}

.story-card:hover .zoom-effect,
.featured-card:hover .zoom-effect {
    transform: scale(1.05);
}

.category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(255, 255, 255, 0.9);
    color: brown;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pagination .page-link {
    color: black;
    border: none;
    margin: 0 5px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination .page-link:hover {
    background-color: #eee;
}

.pagination .active .page-link {
    background-color: brown;
    color: white;
}

.pagination .disabled .page-link {
    background-color: transparent;
    color: #ccc;
}

.footer-link {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

.card-img-top {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.overflow-hidden.position-relative {
    overflow: hidden;
    position: relative;
}

.zoom-effect:hover {
    transform: scale(1.1);
}

.btn-outline-custom {
    border: 2px solid #8B4513;
    color: #8B4513;
    background-color: transparent;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-outline-custom:hover {
    background-color: #8B4513;
    color: #fff;
}

.rounded-pill {
    border-radius: 50rem;
}