/* Helper Classes */
.sticky-share-sidebar {
    top: 8rem;
    z-index: 10;
}

.vertical-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.sticky-about-us {
    top: 6rem;
}

/* Hero Section */
.hero-card {
    border-radius: 0.75rem;
}
.hero-card .ratio {
    min-height: 320px;
}
@media (min-width: 768px) {
    .hero-card .ratio {
        min-height: 480px;
    }
}

/* Overlay Gradient */
.overlay-gradient {
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0) 100%);
}

/* Overlay Card */
.news-card-overlay {
    border-radius: 0.75rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.news-card-overlay:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

/* Section Headers */
.section-header {
    border-bottom: 2px solid #0d6efd;
    padding-bottom: 0.75rem;
}
.section-title {
    font-size: 1.35rem;
    position: relative;
}

/* Horizontal News Card */
.news-card-horizontal {
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #eee;
}
.news-card-horizontal:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.news-card-horizontal img {
    border-radius: 0.5rem;
}

/* Card hover effects */
.card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
}

/* Badge colors per category */
.badge.bg-success {
    background-color: #20c997 !important;
}