/* Modern Professional Design for Deals & Gains */

:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --secondary: #8b5cf6;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #1e293b;
    --gray: #64748b;
    --light-gray: #f8fafc;
    --border: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: #fff;
}

/* Header */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.625rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.site-tagline {
    font-size: 0.8125rem;
    color: var(--gray);
    margin-left: 0.875rem;
}

.main-nav {
    display: flex;
    gap: 0.875rem;
    align-items: center;
    flex-wrap: wrap;
}

.main-nav a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    font-size: 0.8125rem;
    padding: 0.375rem 0.625rem;
    border-radius: 6px;
    white-space: nowrap;
}

.main-nav a:hover {
    color: var(--primary);
    background: var(--light-gray);
}

/* Hero Section / Banner */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 0.5rem 0.75rem;
    text-align: center;
    position: sticky;
    top: 73px;
    z-index: 998;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 1rem;
    flex-wrap: nowrap;
}

/* Banner Slider */
.hero-banner-wrapper {
    flex: 1;
    position: relative;
    min-width: 0;
}

.hero-right-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-shrink: 0;
}

.hero-banner-content {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    background: var(--banner-gradient, linear-gradient(135deg, #667eea 0%, #764ba2 100%));
    transition: background 0.6s ease-in-out;
}

.hero-banner-slide {
    animation: fadeInScale 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-banner-slide[style*="display: block"] ~ .hero-banner-slide {
    background: transparent;
}

/* Badge fixe */
.banner-fixed-tag {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0.75rem;
    z-index: 10;
    pointer-events: none;
}

.banner-category-tag-fixed {
    pointer-events: auto;
}

@media (max-width: 768px) {
    .banner-fixed-tag {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        margin: 1rem 1rem 0 1rem;
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.banner-slide-link {
    display: flex;
    align-items: stretch;
    gap: 0;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
    border-radius: 16px;
}

.banner-slide-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.banner-slide-link:hover .banner-image {
    transform: scale(1.1);
}

.banner-slide-link:hover .banner-title {
    color: #ffd700;
}

/* Banner Image */
.banner-image-wrapper {
    position: relative;
    width: 200px;
    height: 120px;
    flex-shrink: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.banner-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
}

.banner-placeholder-icon {
    font-size: 3rem;
    opacity: 0.8;
}

/* Banner Content */
.banner-content-wrapper {
    flex: 1;
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
}

.banner-category-tag {
    display: inline-block;
    align-self: flex-start;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1f2937;
    padding: 0.35rem 0.75rem;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 2px solid #ffc107;
    box-shadow: 0 3px 12px rgba(255, 215, 0, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    animation: tagPulse 2s infinite;
    position: relative;
    overflow: hidden;
}

.banner-category-tag::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.banner-slide-link:hover .banner-category-tag::before {
    width: 300px;
    height: 300px;
}

@keyframes tagPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 215, 0, 0.5);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 25px rgba(255, 215, 0, 0.8);
    }
}

.banner-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    color: #fff;
    text-align: left;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
    transition: color 0.3s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.banner-excerpt {
    font-size: 0.8125rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.banner-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.35rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.banner-nav-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.banner-nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.banner-dots {
    display: flex;
    gap: 0.35rem;
}

.banner-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.banner-dot.active {
    background: #ffd700;
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

.banner-dot:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

.hero-description {
    font-size: 1rem;
    margin-bottom: 0;
    opacity: 0.95;
}

.hero-search-form {
    display: flex;
    gap: 0.4rem;
    max-width: 350px;
    flex-shrink: 0;
    min-width: 250px;
}

.hero-search-form input {
    flex: 1;
    padding: 0.5rem 0.875rem;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
}

.hero-search-form input:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.4), 0 4px 16px rgba(0, 0, 0, 0.2);
    border-color: #ffd700;
    transform: translateY(-2px);
}

.hero-search-form button {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #333;
    border: none;
    border-radius: 8px;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(255, 215, 0, 0.3);
}

.hero-search-form button:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 5px 16px rgba(255, 215, 0, 0.5);
    background: linear-gradient(135deg, #ffed4e 0%, #ffd700 100%);
}

.hero-search {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.hero-search input {
    width: 100%;
    padding: 1rem 3.5rem 1rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-search button {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.hero-search button:hover {
    background: var(--primary-dark);
}

/* Categories Bar */
.categories-bar {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    position: sticky;
    top: 73px;
    z-index: 999;
}

.categories-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.categories-container::-webkit-scrollbar {
    display: none;
}

.category-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: var(--light-gray);
    border-radius: 50px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.9375rem;
    white-space: nowrap;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.category-chip:hover,
.category-chip.active {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Main Content */
.main-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.content-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    box-sizing: border-box;
}

.main-column {
    min-width: 0;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box;
}

/* Sidebar */
.sidebar {
    position: static;
    height: fit-content;
}

.sidebar-widget {
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--border);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.sidebar-widget h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark);
}

/* Search Widget */
.search-widget {
    background: #fff;
    border: 1px solid var(--border);
    display: flex;
    justify-content: center;
    align-items: center;
}

.sidebar-search-form {
    display: flex;
    gap: 0.5rem;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.sidebar-search-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.9375rem;
    transition: all 0.2s;
}

.sidebar-search-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.sidebar-search-form button {
    padding: 0.75rem 1.25rem;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-search-form button:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.sidebar-search-form button span {
    display: block;
}

/* Biography Widget */
.bio-widget {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #ff6b6b 100%);
    color: #1f2937;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.3);
    border: 3px solid #ffc107;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.bio-widget::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.bio-widget:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(255, 215, 0, 0.5);
    border-color: #ffd700;
}

.bio-widget h3 {
    color: #1f2937;
}

.bio-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.25rem;
    border: 5px solid #fff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), 0 0 0 4px rgba(255, 215, 0, 0.5);
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: avatarPulse 2s infinite;
}

@keyframes avatarPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), 0 0 0 4px rgba(255, 215, 0, 0.5);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3), 0 0 0 6px rgba(255, 215, 0, 0.7);
    }
}

.bio-widget:hover .bio-avatar {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3), 0 0 0 6px rgba(255, 215, 0, 0.8);
}

.bio-name {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: #1f2937;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 1;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.bio-description {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #374151;
    position: relative;
    z-index: 1;
    font-weight: 500;
}

.bio-description p {
    margin-bottom: 0.75rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
}

.bio-description p:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: translateX(4px);
}

.bio-description strong {
    color: #1f2937;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

/* Categories Widget */
.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 0.75rem;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--dark);
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.2s;
}

.category-list a:hover {
    background: var(--light-gray);
    color: var(--primary);
}

.category-count {
    background: var(--light-gray);
    color: var(--gray);
    padding: 0.25rem 0.5rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Recent Articles Widget */
/* Top Articles Widget */
.top-article-item {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s;
    position: relative;
}

.top-article-item:hover {
    transform: translateX(4px);
}

.top-article-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.top-article-rank {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1f2937;
    font-weight: 700;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.top-article-item:nth-child(1) .top-article-rank {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    font-size: 1rem;
    box-shadow: 0 3px 12px rgba(255, 215, 0, 0.5);
}

.top-article-item:nth-child(2) .top-article-rank {
    background: linear-gradient(135deg, #c0c0c0 0%, #e8e8e8 100%);
    color: #4b5563;
}

.top-article-item:nth-child(3) .top-article-rank {
    background: linear-gradient(135deg, #cd7f32 0%, #e5a869 100%);
    color: #fff;
}

.top-article-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.top-article-info {
    flex: 1;
    min-width: 0;
}

.top-article-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.content-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
}

.view-toggle {
    display: flex;
    gap: 0.5rem;
}

.view-toggle button {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.view-toggle button.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* Featured Articles */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.featured-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.featured-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.featured-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.featured-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--gray);
}

.featured-title {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark);
    line-height: 1.3;
}

.featured-excerpt {
    color: var(--gray);
    margin-bottom: 1rem;
    flex: 1;
    line-height: 1.6;
}

.featured-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.read-more {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.article-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.article-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.article-content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}


.article-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark);
    line-height: 1.4;
}

.article-excerpt {
    color: var(--gray);
    font-size: 0.9375rem;
    margin-bottom: 1rem;
    flex: 1;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--gray);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination a,
.pagination span {
    padding: 0.75rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: all 0.2s;
}

.pagination a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.pagination .active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* Footer */
.site-footer {
    background: #0056a3;
    color: #fff;
    margin-top: 4rem;
}

.footer-top {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-links-bar {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.footer-links-bar a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.footer-links-bar a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.footer-bottom {
    padding: 1rem 2rem;
    text-align: center;
}

.footer-bottom p {
    max-width: 1280px;
    margin: 0 auto;
    color: #fff;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 1024px) {
    .content-with-sidebar {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 0.75rem 0.5rem;
    }
    
    .hero-container {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-banner-wrapper {
        flex-basis: 100%;
        order: 1;
    }
    
    .hero-right-column {
        flex-basis: 100%;
        order: 2;
        gap: 0.75rem;
    }
    
    .banner-slide-link {
        flex-direction: column;
    }
    
    .banner-image-wrapper {
        width: 100%;
        height: 160px;
    }
    
    .banner-placeholder-icon {
        font-size: 2.5rem;
        font-weight: 700;
    }
    
    .banner-content-wrapper {
        padding: 1rem;
        gap: 0.5rem;
    }
    
    .banner-category-tag {
        font-size: 0.75rem;
        padding: 0.375rem 0.875rem;
        letter-spacing: 0.3px;
    }
    
    .banner-title {
        font-size: 1.125rem;
        -webkit-line-clamp: 3;
    }
    
    .banner-excerpt {
        font-size: 0.875rem;
        -webkit-line-clamp: 2;
    }
    
    .banner-navigation {
        gap: 0.5rem;
        padding: 0.375rem;
    }
    
    .banner-nav-btn {
        width: 30px;
        height: 30px;
        font-size: 1.125rem;
    }
    
    .banner-dot {
        width: 7px;
        height: 7px;
    }
    
    .hero-search-form {
        flex-direction: row;
        max-width: 100%;
        min-width: 200px;
    }
    
    .hero-search-form input {
        font-size: 0.8125rem;
        padding: 0.5rem 0.75rem;
    }
    
    .hero-search-form button {
        padding: 0.5rem 0.875rem;
        font-size: 1rem;
    }
    
    .header-container {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .main-nav {
        width: 100%;
        gap: 0.5rem;
        justify-content: flex-start;
    }
    
    .main-nav a {
        font-size: 0.8125rem;
        padding: 0.4rem 0.6rem;
    }
    
    .site-tagline {
        display: none;
    }
    
    .articles-grid,
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-bar {
        top: 0;
    }
    
    .content-with-sidebar {
        padding: 2rem 1rem;
    }
    
    .sidebar-search-form {
        flex-direction: column;
    }
    
    .sidebar-search-form button {
        width: 100%;
    }
    
    .footer-links-bar {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-links-bar a {
        font-size: 0.85rem;
    }
}

/* Badge */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-featured {
    background: #fef3c7;
    color: #92400e;
}

.badge-new {
    background: #dbeafe;
    color: #1e40af;
}

/* Loading State */
.loading {
    text-align: center;
    padding: 3rem;
    color: var(--gray);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.empty-state-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.empty-state-description {
    color: var(--gray);
}

