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 {
    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;
}

.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);
}

.rounded-pill {
    border-radius: 50rem;
}

.sidebar-menu a:hover,
.hover-bg-light:hover {
    background-color: #f8f9fa !important;
    transform: translateX(5px);
    transition: all 0.3s ease;
}

.sidebar-menu a {
    transition: all 0.3s ease;
}

.offcanvas {
    width: 320px !important;
}

.btn-link:hover i {
    color: #d4a574 !important;
    transform: scale(1.1);
    transition: all 0.3s ease;
}

.animate-fade-in {
    animation: fadeIn 1s ease-in;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-in 0.3s both;
}

.animate-slide-up {
    animation: slideUp 1s ease-out 0.6s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-card.show {
    opacity: 1;
    transform: translateY(0);
}

.article-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

.article-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.col-md-4 {
    transition: all 0.4s ease;
}

.filter-btn {
    transition: all 0.3s ease;
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.filter-btn.active {
    background-color: #8B4513 !important;
    color: white !important;
    border-color: #8B4513 !important;
}