/* ============================================
   Daily Gists - Professional News Portal Styles
   Modern Creative Design with Perfect Positioning
   Premium News Portal Experience
   ============================================ */

:root {
    --primary-color: #d32f2f;
    --primary-dark: #b71c1c;
    --secondary-color: #212529;
    --accent-color: #ff6b6b;
    --text-color: #2c3e50;
    --text-light: #55657a;
    --light-bg: #f8f9fa;
    --white-bg: #ffffff;
    --border-color: #e8ecf1;
    --dark-bg: #0f1419;
    --card-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    --card-shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.12);
    --gradient-primary: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    --gradient-dark: linear-gradient(135deg, #0f1419 0%, #1a1f2e 100%);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    background-color: var(--light-bg);
    color: var(--text-color);
    line-height: 1.65;
    overflow-x: hidden;
    letter-spacing: 0.3px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.3;
}

h2 {
    letter-spacing: 0.5px;
}

/* ============================================
   GLOBAL ANIMATIONS
   ============================================ */

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* ============================================
   IMPROVED HAMBURGER MENU STYLING
   ============================================ */

.navbar-toggler {
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.navbar-toggler:focus {
    box-shadow: none !important;
    outline: none;
}

.navbar-toggler:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

/* Animated Hamburger Lines */
.navbar-toggler .hamburger {
    position: relative;
    display: block;
    width: 28px;
    height: 20px;
}

.navbar-toggler .hamburger span {
    display: block;
    position: absolute;
    width: 100%;
    height: 2.5px;
    background-color: white;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar-toggler .hamburger span:nth-child(1) {
    top: 0;
}

.navbar-toggler .hamburger span:nth-child(2) {
    top: 9px;
}

.navbar-toggler .hamburger span:nth-child(3) {
    top: 18px;
}

/* Hamburger Animation on Click */
.navbar-toggler:not(.collapsed) .hamburger span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.2);
}

.navbar-toggler:not(.collapsed) .hamburger span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.navbar-toggler:not(.collapsed) .hamburger span:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.2);
}

/* ============================================
   Navigation Styling - Premium Design
   ============================================ */

.navbar {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border-bottom: 4px solid var(--primary-color);
    padding: 15px 0 !important;
    background: linear-gradient(90deg, #0f1419 0%, #1a1f2e 100%) !important;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-dark {
    background: linear-gradient(90deg, #0f1419 0%, #1a1f2e 100%) !important;
}

.navbar-brand {
    font-size: 1.9rem;
    color: var(--primary-color) !important;
    transition: var(--transition);
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(211, 47, 47, 0.2);
}

.navbar-brand:hover {
    transform: scale(1.08);
    text-shadow: 0 4px 15px rgba(211, 47, 47, 0.4);
}

.nav-link {
    color: white !important;
    font-weight: 600;
    margin: 0 12px;
    position: relative;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-color) !important;
}

.nav-link.active::after {
    width: 100%;
}

/* Dropdown Styling */
.dropdown-menu {
    background-color: #16213e;
    border: none;
    border-top: 3px solid var(--primary-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    margin-top: 5px;
}

.dropdown-item {
    color: white;
    transition: all 0.3s ease;
    font-weight: 500;
    padding: 12px 20px;
    position: relative;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--primary-color);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: white;
    padding-left: 30px;
    transform: translateX(5px);
}

.dropdown-item:hover::before {
    transform: scaleY(1);
}

/* ============================================
   HERO SECTION - Premium News Portal Design
   ============================================ */

/* DEPRECATED: Old hero section - replaced by magazine-hero-section */
/* CSS removed to prevent conflicts */



/* ============================================
   BREAKING NEWS TICKER - Premium Design
   ============================================ */

.breaking-news-section {
    background: linear-gradient(135deg, #0f1419 0%, #1a1f2e 50%, #0f1419 100%);
    padding: 0;
    border-top: 4px solid var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    position: sticky;
    top: 75px;
    z-index: 999;
    box-shadow: 0 8px 25px rgba(211, 47, 47, 0.15);
    overflow: hidden;
}

.breaking-ticker {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0;
    height: 60px;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(0,0,0,0.1) 0%, transparent 50%, rgba(0,0,0,0.1) 100%);
}

.breaking-label {
    background: linear-gradient(135deg, #d32f2f 0%, #ff5252 100%);
    color: white;
    padding: 0 25px;
    font-weight: 900;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 0.87rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    height: 100%;
    flex-shrink: 0;
    box-shadow: 6px 0 20px rgba(211, 47, 47, 0.4);
    min-width: 180px;
    position: relative;
}

.breaking-label::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.2);
}

.breaking-pulse {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: white;
    border-radius: 50%;
    animation: pulse 1.2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.9);
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(0.8);
    }
}

.breaking-content {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0;
    background: #0f1419;
    position: relative;
}

.breaking-content::before,
.breaking-content::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40px;
    pointer-events: none;
    z-index: 10;
}

.breaking-content::before {
    left: 0;
    background: linear-gradient(90deg, #0f1419 0%, transparent 100%);
}

.breaking-content::after {
    right: 0;
    background: linear-gradient(90deg, transparent 0%, #0f1419 100%);
}

.breaking-swiper {
    height: 60px;
    display: flex;
    align-items: center;
    width: 100%;
    overflow: hidden;
}

.breaking-swiper .swiper-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
}

.breaking-swiper .swiper-slide {
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0;
    flex-shrink: 0;
    min-width: auto;
}

.breaking-link {
    text-decoration: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 20px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-weight: 700;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    white-space: nowrap;
    overflow: hidden;
    min-width: auto;
}

.breaking-link:hover {
    background: rgba(211, 47, 47, 0.15);
    color: #ff5252;
    padding-left: 25px;
    padding-right: 15px;
}

.breaking-link:last-child {
    border-right: none;
}

.breaking-text {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.96rem;
    line-height: 1.5;
    letter-spacing: 0.3px;
    max-width: 500px;
}

/* ============================================
   FEATURED SECTION - Premium Creative Design
   ============================================ */

.featured-section {
    background: white;
    padding: 0 !important;
    border-bottom: none;
}

/* Section title styles - generic for all sections */
.section-title {
    font-size: 1.8rem;
    color: #0f1419;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.section-title i {
    color: #d32f2f;
    margin-right: 10px;
}

.view-all-link {
    color: #d32f2f;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.view-all-link:hover {
    gap: 15px;
    color: #ff5252;
}

.view-all-link:hover {
    gap: 15px;
    color: #ff5252;
    transform: translateX(3px);
}

.carousel-swiper {
    position: relative;
    padding: 8px 0 30px 0;
}

.carousel-card {
    border: none;
    border-radius: 14px;
    overflow: hidden;
    background-color: white;
    transition: var(--transition);
    box-shadow: var(--card-shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

.carousel-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-shadow-hover);
}

.card-image-link {
    display: block;
    position: relative;
    overflow: hidden;
    height: 220px;
    flex-shrink: 0;
    background-color: #f0f0f0;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.carousel-card:hover .card-image {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.carousel-card:hover .card-overlay {
    opacity: 1;
}

.read-more {
    background: var(--gradient-primary);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 800;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.2);
}

.carousel-card:hover .read-more {
    transform: scale(1.12);
    box-shadow: 0 8px 20px rgba(211, 47, 47, 0.4);
}

.card-content {
    padding: 10px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 5px 0;
    line-height: 1.4;
    color: var(--text-color);
}

.card-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.card-title a:hover {
    color: var(--primary-color);
}

.card-meta {
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 12px;
    font-size: 0.85rem;
}

.reading-time {
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.reading-time:hover {
    color: var(--primary-color);
}

.reading-time i {
    color: var(--primary-color);
}

.card-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.05rem;
    margin: 10px 0;
    line-height: 1.3;
    flex-grow: 1;
}

.card-title a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.card-title a:hover {
    color: var(--primary-color);
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: #999;
    margin-top: auto;
}

.reading-time {
    display: flex;
    align-items: center;
    gap: 5px;
    background-color: #f0f0f0;
    padding: 4px 8px;
    border-radius: 5px;
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    margin-top: -22px;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: #ff5252;
    transform: scale(1.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px;
}

.swiper-pagination-bullet {
    background-color: #ccc;
    opacity: 1;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-color);
    width: 30px;
    border-radius: 10px;
}

/* ============================================
   LATEST POSTS SECTION
   ============================================ */

.latest-posts-section {
    padding: 20px 0 !important;
    background-color: white;
}

.post-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    background-color: white;
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.post-image-link {
    display: block;
    position: relative;
    overflow: hidden;
    height: 220px;
    flex-shrink: 0;
}

.post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-image {
    transform: scale(1.08);
}

.post-content {
    padding: 10px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.post-category {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 5px;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 5px;
    width: fit-content;
}

.post-title {
    font-size: 1.2rem;
    margin: 5px 0;
    line-height: 1.4;
    flex-grow: 1;
}

.post-title a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: var(--primary-color);
}

.post-excerpt {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.post-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #999;
    flex-wrap: wrap;
}

.meta-author, .meta-date, .meta-views {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ============================================
   SIDEBAR WIDGETS - Premium Design
   ============================================ */

.sidebar-widgets {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-widget {
    background: linear-gradient(135deg, white 0%, #fafbfc 100%);
    padding: 15px;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.sidebar-widget:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-4px);
}

.widget-title {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--secondary-color);
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    letter-spacing: 0.3px;
}

.widget-title i {
    color: var(--primary-color);
    font-size: 1.4rem;
}

/* Trending List */
.trending-list {
    list-style: none;
    padding: 0;
}

.trending-item {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-color);
    align-items: flex-start;
    transition: var(--transition);
}

.trending-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.trending-item:hover {
    transform: translateX(4px);
}

.trending-number {
    background: var(--gradient-primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    flex-shrink: 0;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.2);
}

.trending-content {
    flex-grow: 1;
}

.trending-title {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    display: block;
    line-height: 1.35;
}

.trending-title:hover {
    color: var(--primary-color);
}

.trending-meta {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.trending-meta:hover {
    color: var(--primary-color);
}

.trending-meta i {
    color: var(--primary-color);
    font-size: 0.85rem;
}

/* Widget Content */
.widget-content {
    padding: 0;
}

.widget-description {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 18px;
    line-height: 1.6;
    letter-spacing: 0.3px;
}

/* Newsletter Widget Special Styling */
.newsletter-widget {
    background: linear-gradient(135deg, #ffe5e5 0%, #fff0f0 100%) !important;
    border: 2px solid var(--primary-color) !important;
}

.newsletter-widget .widget-title {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.newsletter-form {
    margin-top: 16px;
}

.newsletter-form input {
    padding: 12px 16px !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: var(--transition);
    background-color: white;
}

.newsletter-form input:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
    outline: none;
}

.btn-newsletter {
    background: var(--gradient-primary) !important;
    color: white !important;
    border: none !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px;
    transition: var(--transition) !important;
    text-transform: uppercase;
    font-size: 0.85rem;
    padding: 12px 20px !important;
    border-radius: 8px;
}

.btn-newsletter:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(211, 47, 47, 0.3) !important;
}

/* Categories List */
.categories-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    border-left: 4px solid transparent;
}

.category-link:last-child {
    border-bottom: none;
}

.category-link:hover {
    background-color: rgba(211, 47, 47, 0.05);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    padding-left: 24px;
}

.category-link i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.category-link:hover i {
    transform: translateX(4px);
}

/* Quick Links */
.quick-links-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    border-left: 4px solid transparent;
}

.quick-link:last-child {
    border-bottom: none;
}

.quick-link:hover {
    background-color: rgba(211, 47, 47, 0.05);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    padding-left: 24px;
}

.quick-link i {
    color: var(--primary-color);
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.quick-link:hover i {
    transform: scale(1.2) rotate(8px);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 10px 0;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.2rem;
    background-color: var(--light-bg);
    border: 2px solid var(--border-color);
}

.social-link.facebook {
    color: #1877f2;
}

.social-link.twitter {
    color: #1da1f2;
}

.social-link.instagram {
    color: #e1306c;
}

.social-link.youtube {
    color: #ff0000;
}

.social-link.whatsapp {
    color: #25d366;
}

.social-link:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: scale(1.15) rotate(-10deg);
}
    border: 2px solid var(--border-color);
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.newsletter-form input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.btn-newsletter {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-newsletter:hover {
    background-color: #b71c1c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.3);
    color: white;
}

/* Categories Widget */
.categories-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.category-link:last-child {
    border-bottom: none;
}

.category-link:hover {
    background-color: rgba(211, 47, 47, 0.05);
    color: var(--primary-color);
    padding-left: 20px;
}

.category-link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.category-link:hover i {
    transform: translateX(3px);
}

/* Quick Links Widget */
.quick-links-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: var(--text-color);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    font-weight: 500;
}

.quick-link:last-child {
    border-bottom: none;
}

.quick-link:hover {
    background-color: rgba(211, 47, 47, 0.05);
    color: var(--primary-color);
    padding-left: 20px;
}

.quick-link i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

/* Social Links Widget */
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    font-weight: 600;
}

.social-link.facebook {
    background-color: #1877f2;
}

.social-link.facebook:hover {
    background-color: #0a66c2;
    transform: translateY(-3px);
}

.social-link.twitter {
    background-color: #1da1f2;
}

.social-link.twitter:hover {
    background-color: #1a8cd8;
    transform: translateY(-3px);
}

.social-link.instagram {
    background: linear-gradient(45deg, #feda75 0%, #fa7e1e 25%, #d92e7f 50%, #9b36b7 75%, #515bd4 100%);
}

.social-link.instagram:hover {
    transform: translateY(-3px);
    filter: brightness(0.9);
}

.social-link.youtube {
    background-color: #ff0000;
}

.social-link.youtube:hover {
    background-color: #cc0000;
    transform: translateY(-3px);
}

.social-link.whatsapp {
    background-color: #25d366;
}

.social-link.whatsapp:hover {
    background-color: #1ead51;
    transform: translateY(-3px);
}

/* Featured Box Widget */
.featured-box {
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.08) 0%, rgba(255, 107, 107, 0.08) 100%);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.featured-box p {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.btn-outline-primary {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* ============================================
   NEW SIDEBAR WIDGETS STYLING
   ============================================ */

/* Live Updates Widget */
.live-updates {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.update-item {
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.update-item:last-child {
    border-bottom: none;
}

.update-item:hover {
    background-color: rgba(211, 47, 47, 0.05);
    padding-left: 16px;
}

.update-time {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.update-text {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
    margin: 0;
}

/* Most Discussed Widget */
.discussed-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.discussed-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    background-color: rgba(211, 47, 47, 0.05);
    transition: all 0.3s ease;
}

.discussed-item:hover {
    background-color: rgba(211, 47, 47, 0.1);
    transform: translateX(5px);
}

.discussed-badge {
    font-size: 1.5rem;
    min-width: 30px;
    text-align: center;
}

.discussed-info {
    flex: 1;
}

.discussed-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 0 0 4px 0;
}

.discussed-count {
    font-size: 0.8rem;
    color: #999;
    display: block;
}

/* Newsletter Widget Special Styling */
.newsletter-widget {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe0e0 100%);
    border: 2px solid var(--primary-color);
}

.newsletter-widget .widget-title {
    color: var(--primary-color);
}

/* ============================================
   PAGINATION
   ============================================ */

.pagination-wrapper {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

.pagination {
    gap: 8px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.page-link {
    color: var(--primary-color);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-weight: 700;
    transition: var(--transition);
    padding: 12px 16px;
    min-width: 45px;
    text-align: center;
    cursor: pointer;
}

.page-link:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.2);
}

/* ============================================
   FOOTER STYLING - Premium Design
   ============================================ */

footer {
    background: linear-gradient(135deg, #0f1419 0%, #1a1f2e 50%, #d32f2f 100%);
    color: #ffffff;
    padding: 60px 0 20px;
    margin-top: 60px;
    border-top: 5px solid var(--primary-color);
    box-shadow: 0 -8px 25px rgba(211, 47, 47, 0.15);
}

footer h5 {
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 25px;
    font-size: 1.3rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 12px;
    display: inline-block;
}

footer a {
    color: #ffffff;
    text-decoration: none;
    transition: var(--transition);
    display: block;
    padding: 8px 0;
    font-weight: 500;
}

footer a:hover {
    color: var(--primary-color);
    padding-left: 10px;
    font-weight: 600;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer li {
    margin-bottom: 0;
}

.footer-section {
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 2rem;
    color: white;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(211, 47, 47, 0.5);
}

.footer-description {
    color: #ffffff;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.footer-bottom {
    border-top: 2px solid var(--primary-color);
    padding-top: 30px;
    margin-top: 30px;
    text-align: center;
    color: #ffffff;
    font-size: 0.95rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 8px;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   RESPONSIVE DESIGN - Professional Mobile-First
   ============================================ */

@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.2rem;
    }

    .featured-image-link {
        height: 360px;
    }

    .sidebar-widgets {
        top: 130px;
    }
}

@media (max-width: 992px) {
    /* Navigation Adjustments */
    .navbar {
        padding: 12px 0 !important;
    }

    .navbar-brand {
        font-size: 1.6rem;
        letter-spacing: 1px;
    }

    /* Hero Section */
    .hero-section {
        padding: 70px 0;
        min-height: 420px;
    }

    .hero-title {
        font-size: 2.8rem;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 30px;
    }

    .search-input,
    .btn-search {
        padding: 16px 20px !important;
        font-size: 0.95rem;
    }

    /* Featured Grid */
    .featured-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .featured-image-link {
        height: 350px;
    }

    .featured-side {
        flex-direction: row;
        gap: 20px;
    }

    .featured-card-side {
        flex: 1;
        min-width: 0;
    }

    .featured-side-link {
        height: 160px;
    }

    /* Section Styling */
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 0 !important;
    }

    .view-all-link {
        align-self: flex-start;
    }

    /* Carousel */
    .carousel-section {
        padding: 50px 0 !important;
    }

    /* Sidebar */
    .sidebar-widgets {
        position: static;
        margin-top: 30px;
        top: auto;
    }

    .sidebar-widget {
        padding: 24px;
    }
}

@media (max-width: 768px) {
    /* Hero Section Mobile */
    .hero-section {
        padding: 50px 0;
        min-height: 350px;
    }

    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 1.05rem;
        margin-bottom: 25px;
    }

    /* Search Form */
    .search-form .input-group {
        flex-direction: column;
        gap: 0;
        border-radius: 12px;
        overflow: hidden;
    }

    .search-input {
        padding: 14px 16px !important;
        font-size: 1rem;
        border-radius: 12px 12px 0 0 !important;
    }

    .btn-search {
        padding: 14px 16px !important;
        border-radius: 0 0 12px 12px !important;
        font-size: 0.95rem;
    }

    /* Breaking News Sticky */
    .breaking-news-section {
        top: 60px;
    }

    /* Featured Section */
    .featured-section {
        padding: 50px 0 !important;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .featured-grid {
        gap: 20px;
    }

    .featured-image-link {
        height: 280px;
    }

    .featured-content-main {
        padding: 20px;
    }

    .featured-title-main {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    .featured-excerpt-main {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .featured-meta {
        gap: 15px;
        padding-top: 15px;
        font-size: 0.8rem;
    }

    .featured-side {
        gap: 15px;
    }

    .featured-side-link {
        height: 140px;
    }

    .featured-side-content {
        padding: 12px;
    }

    .featured-side-title {
        font-size: 0.95rem;
    }

    /* Carousel Cards */
    .carousel-card {
        border-radius: 12px;
    }

    .card-image-link {
        height: 180px;
    }

    .card-content {
        padding: 16px;
    }

    .card-title {
        font-size: 1rem;
    }

    .card-meta {
        font-size: 0.75rem;
        gap: 8px;
    }

    /* Section Headers */
    .section-header {
        margin-bottom: 25px;
        padding-bottom: 12px;
    }

    .section-header .section-title {
        margin-bottom: 0 !important;
    }

    /* Swiper Navigation */
    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
    }

    /* Sidebar Widgets */
    .sidebar-widget {
        padding: 20px;
        margin-bottom: 20px;
    }

    .widget-title {
        font-size: 1.15rem;
        margin-bottom: 18px;
    }

    .trending-item {
        margin-bottom: 12px;
        padding-bottom: 12px;
        gap: 12px;
    }

    .trending-number {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .trending-title {
        font-size: 0.9rem;
    }

    .category-link,
    .quick-link {
        padding: 12px 14px;
        font-size: 0.9rem;
    }

    .social-links {
        gap: 10px;
    }

    .social-link {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    /* Post Grid */
    .post-card {
        border-radius: 12px;
    }

    .post-image-link {
        height: 180px;
    }

    .post-content {
        padding: 16px;
    }

    .post-title {
        font-size: 1.05rem;
    }

    /* Pagination */
    .pagination {
        gap: 6px;
    }

    .page-link {
        padding: 10px 12px;
        min-width: 40px;
        font-size: 0.9rem;
    }

    /* Footer */
    footer {
        padding: 40px 0 15px;
        margin-top: 40px;
    }

    footer h5 {
        margin-bottom: 18px;
        font-size: 1.1rem;
    }

    footer a {
        padding: 6px 0;
        font-size: 0.9rem;
    }

    .footer-section {
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    /* Extra small screens */
    .navbar-brand {
        font-size: 1.4rem;
        letter-spacing: 0.5px;
    }

    .nav-link {
        margin: 0 5px;
        font-size: 0.9rem;
    }

    /* Hero Section */
    .hero-section {
        padding: 40px 0;
        min-height: 300px;
    }

    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 12px;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .search-input {
        padding: 12px 14px !important;
        font-size: 0.9rem;
    }

    .btn-search {
        padding: 12px 14px !important;
        font-size: 0.85rem;
    }

    /* Breaking News */
    .breaking-news-section {
        position: relative;
        top: auto;
        height: auto;
        border-top: 3px solid var(--primary-color);
        border-bottom: 2px solid var(--primary-color);
    }

    .breaking-ticker {
        height: 50px;
    }

    .breaking-label {
        padding: 0 12px;
        min-width: 140px;
        gap: 8px;
        font-size: 0.75rem;
        letter-spacing: 1.2px;
    }

    .breaking-pulse {
        width: 10px;
        height: 10px;
    }

    .breaking-link {
        font-size: 0.85rem;
        padding: 0 12px;
    }

    .breaking-link:hover {
        padding-left: 15px;
        padding-right: 9px;
    }

    .breaking-text {
        font-size: 0.85rem;
    }
        width: 8px;
        height: 8px;
    }

    /* Featured */
    .featured-section {
        padding: 40px 0 !important;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .featured-image-link {
        height: 220px;
    }

    .featured-content-main {
        padding: 16px;
    }

    .featured-title-main {
        font-size: 1.3rem;
    }

    .featured-excerpt-main {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .featured-meta {
        flex-direction: column;
        gap: 8px;
        padding-top: 12px;
    }

    .featured-badge {
        padding: 10px 16px;
        font-size: 0.75rem;
    }

    /* Carousel Section */
    .carousel-section {
        padding: 40px 0 !important;
    }

    .section-header .section-title {
        font-size: 1.4rem;
    }

    /* Cards */
    .carousel-card,
    .post-card {
        border-radius: 10px;
    }

    .card-image-link,
    .post-image-link {
        height: 160px;
    }

    .card-content,
    .post-content {
        padding: 14px;
    }

    .card-title,
    .post-title {
        font-size: 0.95rem;
    }

    /* Sidebar */
    .sidebar-widget {
        padding: 18px;
        margin-bottom: 18px;
    }

    .widget-title {
        font-size: 1.1rem;
        margin-bottom: 16px;
    }

    .trending-list,
    .categories-list,
    .quick-links-list {
        gap: 0;
    }

    .trending-number {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }

    /* Footer */
    footer {
        padding: 30px 0 12px;
        margin-top: 30px;
    }

    footer h5 {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .footer-logo {
        font-size: 1.4rem;
    }
}
        margin-bottom: 20px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .view-all-link {
        align-self: flex-end;
    }

    .featured-meta,
    .card-meta,
    .post-meta {
        flex-wrap: wrap;
        font-size: 0.75rem;
    }

    .post-content {
        padding: 15px;
    }

    .sidebar-widget {
        margin-bottom: 20px;
    }

    .trending-item {
        margin-bottom: 12px;
        padding-bottom: 12px;
    }

    .sidebar-widgets {
        position: static;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .search-input::placeholder {
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .featured-image-link,
    .card-image-link,
    .post-image-link {
        height: 180px;
    }

    .featured-image-large {
        height: 250px;
    }

    .featured-badge,
    .category-badge,
    .post-category {
        font-size: 0.7rem;
        padding: 5px 10px;
    }

    .featured-title-main {
        font-size: 1.1rem;
    }

    .featured-title,
    .card-title,
    .post-title {
        font-size: 1rem;
    }

    .featured-excerpt,
    .post-excerpt {
        font-size: 0.9rem;
    }

    .navbar-brand {
        font-size: 1.3rem;
    }

    .nav-link {
        margin: 0 5px;
        font-size: 0.95rem;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 35px;
        height: 35px;
        margin-top: -17px;
    }

    .breaking-label {
        font-size: 0.75rem;
        padding: 0 8px;
        min-width: 120px;
        letter-spacing: 1px;
        gap: 6px;
    }

    .breaking-ticker {
        height: 45px;
    }

    .breaking-pulse {
        width: 10px;
        height: 10px;
    }

    .breaking-link {
        font-size: 0.8rem;
        padding: 0 10px;
    }

    .breaking-link:hover {
        padding-left: 12px;
        padding-right: 8px;
    }

    .breaking-text {
        font-size: 0.8rem;
    }

    .sidebar-widgets {
        position: static;
    }

    .discussed-item {
        padding: 10px;
    }

    .update-item {
        padding: 10px;
    }
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff5252;
}

/* ============================================
   ACCESSIBILITY & UTILITIES
   ============================================ */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .navbar,
    .hero-section,
    .pagination-wrapper {
        display: none;
    }

    .post-card,
    .featured-card,
    .carousel-card {
        page-break-inside: avoid;
    }
}

/* ========================
   READ ALSO WIDGET STYLES
   ======================== */
.read-also-widget {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 35px;
    border-radius: 16px;
    margin: 50px 0;
    border: 1px solid #e8ecf1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    animation: slideUp 0.6s ease-out;
}

.read-also-widget h4 {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
}

.read-also-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 12px;
    background: white;
    transition: var(--transition);
    cursor: pointer;
}

.read-also-item:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 20px rgba(211, 47, 47, 0.1);
    background: #fafafa;
}

.read-also-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.2);
}

.read-also-content h5 {
    margin: 0 0 8px 0;
    font-size: 1rem;
    line-height: 1.4;
}

.read-also-content h5 a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.read-also-content h5 a:hover {
    color: var(--primary-color);
}

.read-also-category {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.read-also-meta {
    color: #666;
    font-size: 0.85rem;
}

.read-also-meta small {
    margin-right: 12px;
}

/* ========================
   MORE FROM DAILY GISTS
   ======================== */
.more-from-gists-widget {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 35px;
    border-radius: 16px;
    border: 1px solid #e8ecf1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    animation: slideDown 0.6s ease-out;
}

.more-from-gists-widget h4 {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
}

.more-gists-item {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e8ecf1;
    transition: var(--transition);
}

.more-gists-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.more-gists-item:hover {
    padding-left: 10px;
}

.more-gists-image {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.6rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.15);
}

.more-gists-content h5 {
    margin: 0 0 6px 0;
    font-size: 0.95rem;
    line-height: 1.3;
}

.more-gists-content h5 a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.more-gists-content h5 a:hover {
    color: var(--primary-color);
}

.more-gists-meta {
    color: #999;
    font-size: 0.8rem;
}

.more-gists-meta small {
    margin-right: 15px;
}

.more-gists-meta small i {
    margin-right: 4px;
    color: var(--primary-color);
}

/* ========================
   ADVERTISEMENT WIDGET
   ======================== */
.ad-widget {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 20px;
}

.ad-space {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    overflow: hidden;
}

.ad-widget:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

/* ========================
   RESPONSIVE ADJUSTMENTS
   ======================== */
@media (max-width: 992px) {
    .read-also-widget {
        padding: 25px;
    }

    .read-also-item {
        padding: 12px;
        gap: 12px;
    }

    .read-also-image {
        width: 70px;
        height: 70px;
        font-size: 1.5rem;
    }

    .read-also-content h5 {
        font-size: 0.95rem;
    }

    .more-from-gists-widget {
        padding: 25px;
    }

    .more-gists-image {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
    }

    .more-gists-content h5 {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .read-also-widget {
        padding: 20px;
        margin: 40px 0;
    }

    .read-also-widget h4 {
        font-size: 1.3rem;
    }

    .read-also-item {
        padding: 12px;
        gap: 12px;
        margin-bottom: 15px;
    }

    .read-also-image {
        width: 65px;
        height: 65px;
        font-size: 1.4rem;
    }

    .more-from-gists-widget {
        padding: 20px;
    }

    .more-from-gists-widget h4 {
        font-size: 1.3rem;
    }

    .more-gists-item {
        gap: 12px;
        margin-bottom: 15px;
        padding-bottom: 15px;
    }

    .more-gists-image {
        width: 60px;
        height: 60px;
        font-size: 1.3rem;
    }
}

/* ============================================
   BOOTSTRAP COLOR OVERRIDE UTILITIES
   Ensures consistency with red-black-white theme
   ============================================ */

/* Alert Color Overrides */
.alert-success {
    background-color: #fff3cd;
    border-color: #d32f2f;
    color: #0f1419;
}

.alert-success .alert-heading {
    color: #d32f2f;
}

.alert-info {
    background-color: #fff3cd;
    border-color: #d32f2f;
    color: #0f1419;
}

.alert-warning {
    background-color: #fff3cd;
    border-color: #d32f2f;
    color: #0f1419;
}

.alert-warning .alert-heading {
    color: #d32f2f;
}

/* Badge Color Overrides */
.badge.bg-info {
    background-color: #d32f2f !important;
}

.badge.bg-warning {
    background-color: #d32f2f !important;
}

.badge.bg-success {
    background-color: #d32f2f !important;
}

/* Button Color Overrides */
.btn-warning {
    background-color: #d32f2f !important;
    border-color: #d32f2f !important;
    color: white !important;
}

.btn-warning:hover {
    background-color: #ff5252 !important;
    border-color: #ff5252 !important;
}

.btn-success {
    background: linear-gradient(90deg, #d32f2f 0%, #ff5252 100%) !important;
    border: none !important;
    color: white !important;
}

.btn-success:hover {
    background: linear-gradient(90deg, #ff5252 0%, #d32f2f 100%) !important;
}

/* Text Color Overrides */
.text-warning {
    color: #d32f2f !important;
}

.text-info {
    color: #d32f2f !important;
}

/* Background Color Overrides */
.bg-info {
    background-color: #d32f2f !important;
}

.bg-warning {
    background-color: #d32f2f !important;
}

/* Form Control Focus States */
.form-control:focus,
.form-select:focus {
    border-color: #d32f2f;
    box-shadow: 0 0 0 0.2rem rgba(211, 47, 47, 0.25);
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #d32f2f;
}

.form-control.is-invalid:focus,
.form-select.is-invalid:focus {
    border-color: #d32f2f;
    box-shadow: 0 0 0 0.2rem rgba(211, 47, 47, 0.25);
}

/* Ensure consistency across all elements */
a.text-warning:hover {
    color: #ff5252 !important;
}

.list-group-item.active {
    background-color: #d32f2f !important;
    border-color: #d32f2f !important;
}

/* Ensure spinner and loading elements use red theme */
.spinner-border.text-primary {
    color: #d32f2f !important;
}

/* ============================================
   MAGAZINE-STYLE HOMEPAGE LAYOUT
   Modern, Clean Design with Hero Section
   ============================================ */

/* Magazine Hero Section */
.magazine-hero-section {
    background-color: #ffffff;
    border-bottom: 1px solid #e8ecf1;
}

.min-vh-60 {
    min-height: 60vh;
}

.featured-hero-main {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 40px;
    transition: var(--transition);
}

.featured-hero-main:hover {
    transform: scale(1.02);
}

.featured-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
}

.featured-hero-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-decoration: none;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    padding: 40px;
}

.featured-hero-content {
    width: 100%;
}

.featured-hero-category {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    margin-bottom: 15px;
}

.featured-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.featured-hero-excerpt {
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.6;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

.featured-hero-meta {
    display: flex;
    gap: 25px;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.9);
}

.featured-hero-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.featured-hero-side {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 25px;
    transition: var(--transition);
    position: relative;
}

.featured-hero-side:hover {
    background-brightness: 1.1 !important;
}

.featured-side-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-decoration: none;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    padding: 25px;
}

.featured-side-content {
    width: 100%;
}

.featured-hero-category-small {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    margin-bottom: 10px;
}

.featured-side-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Breaking News Section V2 */
.breaking-news-section-v2 {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: var(--card-shadow);
}

.breaking-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.breaking-badge {
    display: inline-block;
    background: linear-gradient(90deg, #d32f2f 0%, #ff5252 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    animation: pulse-red 1.5s ease-in-out infinite;
}

@keyframes pulse-red {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.breaking-swiper-v2 {
    margin-top: 20px;
}

.breaking-card-v2 {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    height: 120px;
}

.breaking-card-v2:hover {
    background: #f0f1f3;
    transform: translateX(8px);
}

.breaking-image-v2 {
    width: 120px;
    height: 120px;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    flex-shrink: 0;
}

.breaking-content-v2 {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.breaking-content-v2 h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f1419;
    line-height: 1.4;
    margin: 0;
}

.breaking-content-v2 p {
    font-size: 0.85rem;
    color: #55657a;
    margin: 0;
    line-height: 1.4;
}

.breaking-time {
    font-size: 0.8rem;
    color: #d32f2f;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

/* Trending Sidebar V2 */
.trending-sidebar {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: var(--card-shadow);
    height: 100%;
}

.trending-header {
    border-bottom: 2px solid #d32f2f;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.trending-card-v2 {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e8ecf1;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.trending-card-v2:last-child {
    border-bottom: none;
}

.trending-card-v2:hover {
    transform: translateX(8px);
}

.trending-card-v2:hover .trending-number-v2 {
    background-color: #d32f2f;
    color: white;
}

.trending-number-v2 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: #f8f9fa;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1rem;
    color: #d32f2f;
    flex-shrink: 0;
    transition: var(--transition);
}

.trending-details {
    flex: 1;
    min-width: 0;
}

.trending-details h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f1419;
    margin: 0 0 5px 0;
    line-height: 1.3;
    word-break: break-word;
}

.trending-category {
    font-size: 0.75rem;
    color: #d32f2f;
    font-weight: 600;
    text-transform: uppercase;
}

.trending-views {
    font-size: 0.8rem;
    color: #55657a;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    margin-left: 10px;
}

/* Carousel Section V2 */
.carousel-section-v2 {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--card-shadow);
    margin: 0 !important;
}

.section-header-v2 {
    position: relative;
    padding-bottom: 15px;
    border-bottom: 2px solid #d32f2f;
}

.section-header-v2 .section-title {
    color: #0f1419;
    font-size: 1.8rem;
    margin: 0;
}

.section-header-v2 .section-title i {
    color: #d32f2f;
    margin-right: 10px;
}

.carousel-swiper-v2 {
    margin-top: 25px;
}

.magazine-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    background: white;
}

.magazine-card:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-8px);
}

.magazine-card-image {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

.magazine-card:hover .magazine-card-image {
    transform: scale(1.05);
}

.magazine-card-content {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.magazine-card-category {
    display: inline-block;
    background-color: #d32f2f;
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 6px;
    width: fit-content;
}

.magazine-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f1419;
    line-height: 1.4;
    margin: 0 0 8px 0;
    transition: var(--transition);
}

.magazine-card:hover h4 {
    color: #d32f2f;
}

.magazine-card-meta {
    display: flex;
    gap: 10px;
    font-size: 0.75rem;
    color: #55657a;
}

.magazine-card-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.magazine-card-meta i {
    color: #d32f2f;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .featured-hero-title {
        font-size: 2rem;
    }
    
    .featured-side-title {
        font-size: 1.1rem;
    }
    
    .magazine-card-image {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .magazine-hero-section .row {
        flex-direction: column;
    }
    
    .featured-hero-main {
        height: 300px !important;
        padding: 20px;
    }
    
    .featured-hero-title {
        font-size: 1.5rem;
    }
    
    .featured-hero-excerpt {
        display: none;
    }
    
    .featured-hero-side {
        height: 200px;
        padding: 15px;
    }
    
    .featured-side-title {
        font-size: 0.95rem;
    }
    
    .carousel-swiper-v2 {
        margin-top: 15px;
    }
    
    .magazine-card-image {
        height: 150px;
    }
    
    .breaking-card-v2 {
        flex-direction: column;
        height: auto;
        gap: 10px;
    }
    
    .breaking-image-v2 {
        width: 100%;
        height: 100px;
    }
    
    .section-header-v2 {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .view-all-link {
        margin-top: 10px;
    }
}

/* ============================================
   CLEAN MAGAZINE HOMEPAGE - Final Styles
   ============================================ */

.magazine-hero-section { background: white; border-bottom: 1px solid #e8ecf1; }
.featured-hero-main { position: relative; padding: 40px; background-size: cover !important; background-position: center !important; display: flex; align-items: flex-end; }
.featured-hero-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(135deg, rgba(0,0,0,0.2), rgba(0,0,0,0.5)); z-index: 1; }
.featured-hero-link { position: absolute; top: 0; left: 0; right: 0; bottom: 0; text-decoration: none; z-index: 2; display: flex; align-items: flex-end; padding: 40px; }
.featured-hero-content { width: 100%; }
.featured-hero-category { display: inline-block; padding: 8px 16px; background-color: inherit; color: white; border-radius: 4px; font-size: 0.85rem; font-weight: 600; margin-bottom: 15px; }
.featured-hero-title { font-size: 2.8rem; font-weight: 800; color: white; line-height: 1.2; margin-bottom: 15px; text-shadow: 0 2px 10px rgba(0,0,0,0.4); }
.featured-hero-excerpt { font-size: 1.05rem; color: rgba(255,255,255,0.95); margin-bottom: 15px; line-height: 1.6; text-shadow: 0 1px 5px rgba(0,0,0,0.3); }
.featured-hero-meta { display: flex; gap: 25px; font-size: 0.95rem; color: rgba(255,255,255,0.9); }
.featured-side-link { position: absolute; top: 0; left: 0; right: 0; bottom: 0; text-decoration: none; z-index: 2; display: flex; align-items: flex-end; padding: 25px; }
.featured-side-title { font-size: 1.3rem; font-weight: 700; color: white; line-height: 1.3; text-shadow: 0 2px 10px rgba(0,0,0,0.4); }
.breaking-news-section-v2 { background: white; border-radius: 8px; padding: 25px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.breaking-badge { display: inline-block; background: linear-gradient(90deg, #d32f2f, #ff5252); color: white; padding: 6px 14px; border-radius: 20px; font-weight: 700; font-size: 0.9rem; animation: pulse-badge 1.5s ease-in-out infinite; }
@keyframes pulse-badge { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }
.breaking-card-v2 { display: flex; gap: 15px; padding: 15px; background: #f8f9fa; border-radius: 6px; text-decoration: none; color: inherit; transition: all 0.3s ease; }
.breaking-card-v2:hover { background: #eff0f2; transform: translateX(8px); }
.breaking-image-v2 { width: 110px; height: 110px; background-size: cover; background-position: center; border-radius: 6px; flex-shrink: 0; }
.breaking-content-v2 { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.breaking-content-v2 h3 { font-size: 0.95rem; font-weight: 600; color: #0f1419; line-height: 1.4; margin: 0; }
.trending-sidebar { background: white; border-radius: 8px; padding: 25px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.trending-card-v2 { display: flex; gap: 12px; align-items: center; padding: 15px 0; border-bottom: 1px solid #e8ecf1; text-decoration: none; color: inherit; transition: all 0.3s ease; }
.trending-card-v2:hover .trending-number-v2 { background-color: #d32f2f; color: white; }
.trending-number-v2 { display: flex; align-items: center; justify-content: center; width: 35px; height: 35px; background: #f8f9fa; border-radius: 50%; font-weight: 700; color: #d32f2f; flex-shrink: 0; transition: all 0.3s ease; }
.trending-details h4 { font-size: 0.9rem; font-weight: 600; color: #0f1419; margin: 0 0 4px 0; line-height: 1.3; }
.magazine-card { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.06); transition: all 0.3s ease; background: white; }
.magazine-card:hover { box-shadow: 0 8px 20px rgba(0,0,0,0.12); transform: translateY(-6px); }
.magazine-card-image { width: 100%; height: 200px; background-size: cover; background-position: center; transition: transform 0.3s ease; }
.magazine-card:hover .magazine-card-image { transform: scale(1.05); }
.magazine-card-content { padding: 18px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.magazine-card-category { display: inline-block; background-color: #d32f2f; color: white; padding: 4px 10px; border-radius: 3px; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; margin-bottom: 8px; width: fit-content; }
.magazine-card h4 { font-size: 1rem; font-weight: 700; color: #0f1419; line-height: 1.4; margin: 0 0 10px 0; transition: color 0.3s ease; }
.magazine-card:hover h4 { color: #d32f2f; }
