/* ============================================
   NEWS PAGE - Full Redesign
   ============================================ */

.news-hero-full {
    position: relative;
    min-height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px;
}

.news-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.35);
}

.news-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.25) 0%, rgba(26, 26, 46, 0.9) 100%);
}

.news-hero-full .news-hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.news-label {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 100px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.news-hero-full h1 {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    color: #fff;
    margin-bottom: 16px;
    text-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.news-hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.9);
}

/* News Content */
.news-content-section {
    padding: 60px 24px 80px;
}

/* News Filters */
.news-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    margin-top: -30px;
    position: relative;
    z-index: 2;
}

.news-filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.news-filter-btn .filter-icon {
    font-size: 1.2rem;
}

.news-filter-btn:hover {
    border-color: var(--brand-red);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.news-filter-btn.active {
    background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 24px var(--brand-red-glow);
}

/* News Results Info */
.news-results-info {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.news-results-info span {
    font-weight: 700;
    color: var(--brand-red);
    font-size: 1.1rem;
}

/* Featured News Card */
.news-featured-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 60px;
    transition: all var(--transition-base);
}

.news-featured-card:hover {
    border-color: var(--brand-red);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.news-featured-image {
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

.news-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.news-featured-card:hover .news-featured-image img {
    transform: scale(1.05);
}

.news-featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 100px;
    box-shadow: 0 4px 12px var(--brand-red-glow);
}

.news-featured-body {
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.news-meta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.news-category-tag {
    display: inline-block;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 100px;
}

.news-category-tag.announcement {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.news-category-tag.community {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.news-category-tag.culture {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.news-category-tag.education {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.news-category-tag.business {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.news-category-tag.events {
    background: rgba(236, 72, 153, 0.1);
    color: #ec4899;
}

.news-date-tag {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.news-featured-body h2 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.3;
}

.news-featured-body > p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 24px;
    flex-grow: 1;
}

.news-author-row {
    margin-bottom: 24px;
}

.news-author {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.news-read-btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all var(--transition-fast);
    box-shadow: 0 8px 24px var(--brand-red-glow);
    width: fit-content;
}

.news-read-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px var(--brand-red-glow);
}

/* News Section Header */
.news-section-header {
    margin-bottom: 32px;
}

.news-section-header h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
}

/* News Grid */
.news-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
    margin-bottom: 60px;
}


/* News Card */
.news-card-new {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all var(--transition-base);
}

.news-card-new:hover {
    border-color: var(--brand-red);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.news-card-new:hover .news-card-image img {
    transform: scale(1.05);
}

.news-card-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.news-card-category {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 100px;
    background: rgba(255,255,255,0.95);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.news-card-category.announcement { color: #ef4444; }
.news-card-category.community { color: #3b82f6; }
.news-card-category.culture { color: #8b5cf6; }
.news-card-category.education { color: #22c55e; }
.news-card-category.business { color: #f59e0b; }
.news-card-category.events { color: #ec4899; }

.news-card-body {
    padding: 24px;
}

.news-card-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.news-card-body h4 {
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-card-body > p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    max-height: 4.8em;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

.news-card-author {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.news-card-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand-red);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.news-card-link:hover {
    letter-spacing: 0.02em;
}

/* News Empty State */
.news-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 40px;
    background: var(--bg-card);
    border: 1px dashed var(--border-color);
    border-radius: 20px;
}

.news-empty-state .empty-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

.news-empty-state h4 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.news-empty-state p {
    color: var(--text-muted);
}

/* News CTA */
.news-cta {
    text-align: center;
    padding: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
}

.news-cta .news-cta-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.news-cta h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.news-cta p {
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 24px;
}

/* News Responsive */
@media (max-width: 900px) {
    .news-featured-card {
        grid-template-columns: 1fr;
    }
    .news-featured-image {
        min-height: 250px;
    }
    .news-featured-body {
        padding: 28px;
    }
}


/* Business Directory - Full Redesign */
.biz-hero-full {
    position: relative;
    min-height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px;
}

.biz-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.3);
}

.biz-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.25) 0%, rgba(26, 26, 46, 0.9) 100%);
}

.biz-hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.biz-label {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 100px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.biz-hero-full h1 {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    color: #fff;
    margin-bottom: 16px;
    text-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.biz-hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 32px;
}

/* Business Search */
.biz-search-container {
    max-width: 500px;
    margin: 0 auto;
}

.biz-search-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.95);
    border-radius: 100px;
    padding: 8px 8px 8px 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.biz-search-box svg {
    width: 22px;
    height: 22px;
    color: #666;
    flex-shrink: 0;
}

.biz-search-box input {
    flex: 1;
    padding: 12px 0;
    border: none;
    background: transparent;
    font-size: 1rem;
    color: #1a1a24;
}

.biz-search-box input:focus {
    outline: none;
}

.biz-search-box input::placeholder {
    color: #999;
}

/* Business Content */
.biz-content {
    padding: 60px 24px 80px;
}

/* Business Filters */
.biz-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    margin-top: -30px;
    position: relative;
    z-index: 2;
}

.biz-filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.biz-filter-btn .filter-icon {
    font-size: 1.2rem;
}

.biz-filter-btn:hover {
    border-color: var(--brand-red);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.biz-filter-btn.active {
    background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 24px var(--brand-red-glow);
}

/* Results Info */
.biz-results-info {
    text-align: center;
    margin-bottom: 32px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.biz-results-info span {
    font-weight: 700;
    color: var(--brand-red);
    font-size: 1.1rem;
}

/* Business Grid */
.biz-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

@keyframes cardFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Business Card */
.biz-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all var(--transition-base);
}

.biz-card:hover {
    border-color: var(--brand-red);
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.15);
}

.biz-card-image {
    height: 180px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.1) 0%, rgba(100, 50, 150, 0.1) 100%);
}

.biz-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.biz-card:hover .biz-card-image img {
    transform: scale(1.05);
}

.biz-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.08) 0%, rgba(100, 50, 150, 0.05) 100%);
}

.biz-category-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    background: rgba(255,255,255,0.95);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--brand-red);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.biz-card-body {
    padding: 24px;
}

.biz-card-body h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.biz-card-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.biz-card-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.biz-detail {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.biz-detail .detail-icon {
    flex-shrink: 0;
}

.biz-detail a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.biz-detail a:hover {
    color: var(--brand-red);
}

.biz-card-actions {
    display: flex;
    gap: 10px;
}

.biz-btn-primary {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 16px var(--brand-red-glow);
}

.biz-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--brand-red-glow);
}

.biz-btn-secondary {
    padding: 12px 20px;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.biz-btn-secondary:hover {
    border-color: var(--brand-red);
    color: var(--brand-red);
}

/* No Results */
.biz-no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
}

.biz-no-results .no-results-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.biz-no-results h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.biz-no-results p {
    color: var(--text-muted);
}

/* Business CTA */
.biz-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-top: 60px;
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
}

.biz-cta-content h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.biz-cta-content p {
    color: var(--text-secondary);
    max-width: 500px;
}

/* Business Responsive */

/* Jobs & Services Page - Full Redesign */
.jobs-hero-full {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.jobs-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.35);
}

.jobs-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.25) 0%, rgba(26, 26, 46, 0.9) 100%);
}

.jobs-hero-full .jobs-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    padding: 40px 20px;
    color: #fff;
}

.jobs-label {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 100px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.jobs-hero-full h1 {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    color: #fff;
    margin-bottom: 16px;
    text-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.jobs-hero-full .jobs-hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 32px;
}

/* Jobs Search */
.jobs-search-container {
    max-width: 500px;
    margin: 0 auto;
}

.jobs-search-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    padding: 8px 8px 8px 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.jobs-search-box svg {
    width: 22px;
    height: 22px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.jobs-search-box input {
    flex: 1;
    padding: 12px 0;
    border: none;
    background: transparent;
    font-size: 1rem;
    color: var(--text-primary);
    outline: none;
}

.jobs-search-box input::placeholder {
    color: var(--text-muted);
}

/* Jobs Content */
.jobs-content {
    padding: 30px 24px 80px;
}

/* Success Banner */
.jobs-success-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 16px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.jobs-success-banner .success-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #22c55e;
    color: #fff;
    border-radius: 50%;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.jobs-success-banner strong {
    color: #22c55e;
    display: block;
}

.jobs-success-banner p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* Jobs Filters */
.jobs-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    margin-top: -30px;
    position: relative;
    z-index: 2;
}

.jobs-filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.jobs-filter-btn .filter-icon {
    font-size: 1.2rem;
}

.jobs-filter-btn:hover {
    border-color: var(--brand-red);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.jobs-filter-btn.active {
    background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 24px var(--brand-red-glow);
}

/* Results Info */
.jobs-results-info {
    text-align: center;
    margin-bottom: 32px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.jobs-results-info span {
    font-weight: 700;
    color: var(--brand-red);
    font-size: 1.1rem;
}

/* Jobs Grid */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 360px));
    gap: 24px;
    margin-bottom: 60px;
}

.jobs-grid .job-card-new {
    max-width: 360px;
}


/* Job Empty State */
.jobs-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
}

.jobs-empty .empty-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
}

.jobs-empty h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.jobs-empty p {
    color: var(--text-muted);
}

/* Job Card New */
.job-card-new {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.job-card-new:hover {
    border-color: var(--brand-red) !important;
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.job-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.job-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.job-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 100px;
    background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
    color: #fff;
}

.job-type-badge.part-time {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.job-type-badge.offering {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.job-category-badge {
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 100px;
    background: var(--bg-content);
    color: var(--text-muted);
}

.job-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.job-card-new h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.job-card-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.job-card-details {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.job-detail {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.job-detail .detail-icon {
    flex-shrink: 0;
}

.job-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.job-contact-info {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.job-card-actions {
    display: flex;
    gap: 8px;
}

.job-btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.job-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--brand-red-glow);
}

.job-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all var(--transition-fast);
}

.job-btn-secondary:hover {
    border-color: var(--brand-red);
    background: rgba(220, 20, 60, 0.1);
}

/* No Results */
.jobs-no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
}

.jobs-no-results .no-results-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.jobs-no-results h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.jobs-no-results p {
    color: var(--text-muted);
}

/* Post Section New */
.jobs-post-section-new {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
}

.post-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.post-section-header .post-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.post-section-header h2 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.post-section-header p {
    color: var(--text-secondary);
}

.jobs-form-new {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.jobs-form-new .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .jobs-form-new .form-grid {
        grid-template-columns: 1fr;
    }
}

.jobs-form-new .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.jobs-form-new .form-group.full {
    grid-column: 1 / -1;
}

.jobs-form-new label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

.jobs-form-new input,
.jobs-form-new select,
.jobs-form-new textarea {
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 1rem;
    background: var(--input-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    transition: all var(--transition-base);
}

.jobs-form-new input:focus,
.jobs-form-new select:focus,
.jobs-form-new textarea:focus {
    outline: none;
    border-color: var(--brand-red);
}

.jobs-form-new textarea {
    resize: vertical;
    min-height: 120px;
}

.jobs-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: 0 8px 24px var(--brand-red-glow);
    align-self: center;
}

.jobs-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px var(--brand-red-glow);
}

.jobs-submit-btn svg {
    width: 20px;
    height: 20px;
}

/* News Page */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.news-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.news-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.news-card.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.news-image {
    height: 200px;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.2) 0%, rgba(100, 50, 150, 0.15) 100%);
    background-size: cover;
    background-position: center;
}

.news-card.featured .news-image {
    height: 100%;
    min-height: 300px;
}

.news-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
}

.news-category {
    display: inline-block;
    padding: 5px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-red);
    background: rgba(220, 20, 60, 0.15);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    align-self: flex-start;
}

.news-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.news-content h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.3;
}

.news-card.featured .news-content h3 {
    font-size: 1.5rem;
}

.news-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex: 1;
}

@media (max-width: 900px) {
    .news-grid { grid-template-columns: 1fr; }
    .news-card.featured { grid-column: span 1; grid-template-columns: 1fr; }
    .news-card.featured .news-image { height: 200px; min-height: auto; }
}

/* Culture & Heritage Page - Full Redesign */
.culture-hero-full {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px;
    margin-bottom: 0;
}

.culture-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.4);
}

.culture-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.25) 0%, rgba(26, 26, 46, 0.9) 100%);
}

.culture-hero-full .culture-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.culture-label {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 100px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.culture-hero-full h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: #fff;
    margin-bottom: 16px;
    text-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.culture-hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto;
}

.culture-content {
    padding: 60px 24px 80px;
}

/* Culture Stats */
.culture-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-bottom: 60px;
    margin-top: -40px;
    position: relative;
    z-index: 2;
}

.culture-stat {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px 36px;
    text-align: center;
    min-width: 160px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.culture-stat .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brand-red);
    line-height: 1;
}

.culture-stat .stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 8px;
    display: block;
}

/* Culture Blocks */
.culture-block {
    margin-bottom: 60px;
}

.culture-block-header {
    text-align: center;
    margin-bottom: 40px;
}

.culture-block-header .block-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
}

.culture-block-header h2 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.culture-block-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* History Timeline */
.history-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 40px;
}

.history-timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--brand-red), var(--brand-red-dark));
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    padding-bottom: 32px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -36px;
    top: 4px;
    width: 16px;
    height: 16px;
    background: var(--brand-red);
    border: 3px solid var(--bg-content);
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--brand-red);
}

.timeline-year {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--brand-red);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px 24px;
}

.timeline-card h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.timeline-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Famous Poles Grid */
.famous-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.famous-card {
    display: flex;
    gap: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    transition: all var(--transition-base);
}

.famous-card:hover {
    border-color: var(--brand-red);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.famous-image {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background-size: cover;
    background-position: center top;
    flex-shrink: 0;
}

.famous-content h4 {
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.famous-content span {
    font-size: 0.8rem;
    color: var(--brand-red);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.famous-content p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 8px;
    line-height: 1.5;
}

/* Symbols Grid */
.symbols-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.symbol-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all var(--transition-base);
}

.symbol-card:hover {
    border-color: var(--brand-red);
    transform: translateY(-4px);
}

.symbol-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.symbol-card h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.symbol-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Language Section */
.language-section {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
}

.language-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.language-fact {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.language-fact h4 {
    font-size: 2.5rem;
    color: var(--brand-red);
    font-weight: 700;
    line-height: 1;
}

.language-fact p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 8px;
}

.polish-phrases {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
}

.polish-phrases h4 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 24px;
    text-align: center;
}

.phrase-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.phrase {
    padding: 16px;
    background: var(--bg-content);
    border-radius: 10px;
    text-align: center;
}

.phrase .polish {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--brand-red);
    margin-bottom: 4px;
}

.phrase .english {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Dance Grid */
.dance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.dance-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    text-align: center;
    transition: all var(--transition-base);
}

.dance-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
    border-color: var(--brand-red);
}

.dance-image {
    height: 160px;
    background-size: cover;
    background-position: center;
}

.dance-card h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    padding: 20px 20px 8px;
}

.dance-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 0 20px 20px;
    line-height: 1.5;
}

/* Organizations Grid */
.orgs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.org-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px;
    display: flex;
    gap: 20px;
    transition: all var(--transition-base);
}

.org-card:hover {
    border-color: var(--brand-red);
    transform: translateY(-4px);
}

.org-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.org-card h4 {
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.org-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Culture Page Responsive */
@media (max-width: 768px) {
    .famous-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .famous-card {
        padding: 12px;
        gap: 12px;
    }

    .famous-image {
        width: 60px;
        height: 60px;
        border-radius: 8px;
    }

    .famous-content h4 {
        font-size: 0.95rem;
    }

    .famous-content span {
        font-size: 0.7rem;
    }

    .famous-content p {
        font-size: 0.8rem;
        margin-top: 4px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .wiki-link {
        font-size: 0.75rem;
    }

    .traditions-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .tradition-card {
        border-radius: 12px;
    }

    .tradition-image {
        height: 120px;
    }

    .tradition-content {
        padding: 12px;
    }

    .tradition-content h3 {
        font-size: 1rem;
    }

    .tradition-content p {
        font-size: 0.85rem;
    }

    .symbols-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .symbol-card {
        padding: 16px 12px;
        border-radius: 12px;
    }

    .symbol-icon {
        font-size: 2rem;
        margin-bottom: 8px;
    }

    .symbol-card h4 {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }

    .symbol-card p {
        font-size: 0.75rem;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .dance-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .dance-image {
        height: 100px;
    }

    .dance-card h4 {
        font-size: 0.9rem;
        padding: 12px 12px 4px;
    }

    .dance-card p {
        font-size: 0.8rem;
        padding: 0 12px 12px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .orgs-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .org-card {
        padding: 16px;
        gap: 12px;
    }

    .org-icon {
        font-size: 1.8rem;
    }

    .org-card h4 {
        font-size: 0.95rem;
    }

    .org-card p {
        font-size: 0.85rem;
    }

    .language-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .phrase-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .phrase {
        padding: 10px;
    }

    .phrase .polish {
        font-size: 0.95rem;
    }

    .phrase .english {
        font-size: 0.75rem;
    }

    .culture-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .culture-stat {
        padding: 16px 12px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .timeline-card {
        padding: 12px;
    }

    .timeline-card h4 {
        font-size: 0.95rem;
    }

    .timeline-card p {
        font-size: 0.8rem;
    }
}

/* Community Page - Full Redesign */
.community-hero-full {
    position: relative;
    min-height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px;
}

.community-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.35);
}

.community-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.25) 0%, rgba(26, 26, 46, 0.9) 100%);
}

.community-hero-full .community-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.community-label {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 100px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.community-hero-full h1 {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    color: #fff;
    margin-bottom: 16px;
    text-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.community-hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto;
}

.community-content {
    padding: 60px 24px 80px;
}

/* Community Navigation */
.community-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
    margin-top: -30px;
    position: relative;
    z-index: 2;
}

.community-nav-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.community-nav-btn .nav-icon {
    font-size: 1.3rem;
}

.community-nav-btn:hover {
    border-color: var(--brand-red);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.community-nav-btn.active {
    background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 24px var(--brand-red-glow);
}

/* Community Panels */
.community-panel {
    display: none;
}

.community-panel.active {
    display: block;
    animation: panelFadeIn 0.5s ease-out;
}

@keyframes panelFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.panel-header {
    text-align: center;
    margin-bottom: 40px;
}

.panel-header h2 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.panel-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* Community Cards */
.community-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.comm-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.comm-card:hover {
    border-color: var(--brand-red);
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.15);
}

.comm-card-image {
    height: 200px;
    min-height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.comm-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, var(--bg-card), transparent);
}

.comm-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.comm-card-body h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.comm-card-subtitle {
    display: block;
    font-size: 0.85rem;
    color: var(--brand-red);
    font-weight: 600;
    margin-bottom: 12px;
}

.comm-card-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.comm-card-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
}

.comm-card-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.comm-card-btn {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand-red);
    text-decoration: none;
    transition: all var(--transition-fast);
    margin-top: auto;
}

.comm-card-btn:hover {
    color: var(--brand-red-dark);
    transform: translateX(4px);
}

/* Community CTA */
.community-cta {
    text-align: center;
    margin-top: 60px;
    padding: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
}

.community-cta h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.community-cta p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* Community Responsive */

/* Legal Pages - Privacy & Terms */
.legal-page {
    padding: 60px 0 80px;
    background: var(--bg-content);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.legal-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 48px;
}

.legal-section {
    margin-bottom: 36px;
}

.legal-section h2 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.legal-section p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

@media (max-width: 600px) {
    .legal-page { padding: 40px 0 60px; }
    .legal-content h1 { font-size: 1.75rem; }
    .legal-section h2 { font-size: 1.1rem; }
}

/* Footer - Modern */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 0;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--border-color);
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-brand .logo-text {
    display: block;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.footer-brand > p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 24px;
    max-width: 280px;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card-hover);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.social-link:hover {
    color: #ffffff;
    border-color: var(--brand-red);
    background: var(--brand-red);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px var(--brand-red-glow);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-column h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column ul li a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.footer-column ul li a:hover {
    color: var(--brand-red);
    padding-left: 6px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-contact li svg {
    width: 18px;
    height: 18px;
    color: var(--brand-red);
    flex-shrink: 0;
}

.footer-contact li a {
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer-contact li a:hover {
    color: var(--brand-red);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
    color: var(--brand-red);
}

.footer-credit {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-credit a {
    background: linear-gradient(135deg, #00ff88, #00e5ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    transition: all var(--transition-fast);
}

.footer-credit a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(135deg, #00ff88, #00e5ff);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.footer-credit a:hover::after {
    transform: scaleX(1);
}

.footer-credit a:hover {
    filter: brightness(1.2) drop-shadow(0 0 8px rgba(0, 255, 136, 0.5));
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .footer { padding: 60px 0 0; }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-brand {
        grid-column: span 1;
        text-align: center;
    }
    .footer-brand .logo {
        justify-content: center;
    }
    .footer-brand > p {
        max-width: 100%;
    }
    .footer-social {
        justify-content: center;
    }
    .footer-column {
        text-align: center;
    }
    .footer-contact li {
        justify-content: center;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* Overlay */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.8); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; z-index: 998; transition: all var(--transition-base); }
.overlay.active { opacity: 1; visibility: visible; }

/* Responsive */
@media (max-width: 1024px) {
    .featured-grid { grid-template-columns: repeat(2, 1fr); }
    .featured-card.large { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 768px) {
    .sidebar { 
        transform: translateX(-100%); 
        width: 72px;
        height: 100vh;
        height: 100dvh; /* Dynamic viewport height for mobile */
        overflow-y: auto;
        overflow-x: hidden;
        padding-bottom: 100px; /* Extra padding for bottom items */
    }
    .sidebar.active { transform: translateX(0); }
    .mobile-header { display: flex; }
    .main-content {
    overflow-y: auto; 
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 0;
        overflow-y: auto;
    }
    .hero { min-height: 80vh; padding: 80px 24px; }
    .featured-grid { grid-template-columns: 1fr; }
    .featured-card.large { grid-column: span 1; }
    .contact-wrapper { grid-template-columns: 1fr; gap: 48px; }
    .contact-form .btn { width: 100%; justify-content: center; }
    .footer-content { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }
    
    /* Sidebar nav scroll */
    .nav-main {
        max-height: calc(100vh - 250px);
        max-height: calc(100dvh - 250px);
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    /* Bottom section fixed */
    .sidebar-footer {
        margin-top: auto;
        padding-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .hero { min-height: 70vh; padding: 60px 16px; }
    .quick-grid { grid-template-columns: 1fr; }
    .container { padding: 0 16px; }
}

/* Animations */
@keyframes slideIn { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: translateX(0); } }
.nav-main li { animation: slideIn 0.4s ease-out backwards; }
.nav-main li:nth-child(1) { animation-delay: 0.05s; }
.nav-main li:nth-child(2) { animation-delay: 0.1s; }
.nav-main li:nth-child(3) { animation-delay: 0.15s; }
.nav-main li:nth-child(4) { animation-delay: 0.2s; }
.nav-main li:nth-child(5) { animation-delay: 0.25s; }
.nav-main li:nth-child(6) { animation-delay: 0.3s; }
.nav-main li:nth-child(7) { animation-delay: 0.35s; }

@keyframes cardIn { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: translateY(0); } }
.quick-card, .featured-card { animation: cardIn 0.6s ease-out backwards; }
.quick-card:nth-child(1), .featured-card:nth-child(1) { animation-delay: 0.1s; }
.quick-card:nth-child(2), .featured-card:nth-child(2) { animation-delay: 0.2s; }
.quick-card:nth-child(3), .featured-card:nth-child(3) { animation-delay: 0.3s; }
.quick-card:nth-child(4) { animation-delay: 0.4s; }
/* ============================================
   NEWS PAGE - Full Redesign
   ============================================ */

.news-hero-full {
    position: relative;
    min-height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px;
}

.news-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.35);
}

.news-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.25) 0%, rgba(26, 26, 46, 0.9) 100%);
}

.news-hero-full .news-hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.news-label {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 100px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.news-hero-full h1 {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    color: #fff;
    margin-bottom: 16px;
    text-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.news-hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.9);
}

/* News Content */
.news-content-section {
    padding: 60px 24px 80px;
}

/* News Filters */
.news-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    margin-top: -30px;
    position: relative;
    z-index: 2;
}

.news-filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.news-filter-btn .filter-icon {
    font-size: 1.2rem;
}

.news-filter-btn:hover {
    border-color: var(--brand-red);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.news-filter-btn.active {
    background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 24px var(--brand-red-glow);
}

/* News Results Info */
.news-results-info {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.news-results-info span {
    font-weight: 700;
    color: var(--brand-red);
    font-size: 1.1rem;
}

/* Featured News Card */
.news-featured-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 60px;
    transition: all var(--transition-base);
}

.news-featured-card:hover {
    border-color: var(--brand-red);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.news-featured-image {
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

.news-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.news-featured-card:hover .news-featured-image img {
    transform: scale(1.05);
}

.news-featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 100px;
    box-shadow: 0 4px 12px var(--brand-red-glow);
}

.news-featured-body {
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.news-meta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.news-category-tag {
    display: inline-block;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 100px;
}

.news-category-tag.announcement {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.news-category-tag.community {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.news-category-tag.culture {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.news-category-tag.education {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.news-category-tag.business {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.news-category-tag.events {
    background: rgba(236, 72, 153, 0.1);
    color: #ec4899;
}

.news-date-tag {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.news-featured-body h2 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.3;
}

.news-featured-body > p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 24px;
    flex-grow: 1;
}

.news-author-row {
    margin-bottom: 24px;
}

.news-author {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.news-read-btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all var(--transition-fast);
    box-shadow: 0 8px 24px var(--brand-red-glow);
    width: fit-content;
}

.news-read-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px var(--brand-red-glow);
}

/* News Section Header */
.news-section-header {
    margin-bottom: 32px;
}

.news-section-header h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
}

/* News Grid */
.news-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
    margin-bottom: 60px;
}


/* News Card */
.news-card-new {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all var(--transition-base);
}

.news-card-new:hover {
    border-color: var(--brand-red);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.news-card-new:hover .news-card-image img {
    transform: scale(1.05);
}

.news-card-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.news-card-category {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 100px;
    background: rgba(255,255,255,0.95);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.news-card-category.announcement { color: #ef4444; }
.news-card-category.community { color: #3b82f6; }
.news-card-category.culture { color: #8b5cf6; }
.news-card-category.education { color: #22c55e; }
.news-card-category.business { color: #f59e0b; }
.news-card-category.events { color: #ec4899; }

.news-card-body {
    padding: 24px;
}

.news-card-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.news-card-body h4 {
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-card-body > p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    max-height: 4.8em;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

.news-card-author {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.news-card-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand-red);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.news-card-link:hover {
    letter-spacing: 0.02em;
}

/* News Empty State */
.news-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 40px;
    background: var(--bg-card);
    border: 1px dashed var(--border-color);
    border-radius: 20px;
}

.news-empty-state .empty-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

.news-empty-state h4 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.news-empty-state p {
    color: var(--text-muted);
}

/* News CTA */
.news-cta {
    text-align: center;
    padding: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
}

.news-cta .news-cta-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.news-cta h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.news-cta p {
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 24px;
}

/* News Responsive */
@media (max-width: 900px) {
    .news-featured-card {
        grid-template-columns: 1fr;
    }
    .news-featured-image {
        min-height: 250px;
    }
    .news-featured-body {
        padding: 28px;
    }
}


/* ============================================
   POLL SECTION STYLES - Clean & Minimal
   ============================================ */
.poll-section {
    margin: 25px 0;
    padding: 20px;
    background: var(--card-bg, #ffffff);
    border-radius: 12px;
    border: 1px solid var(--border-color, #e5e7eb);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.poll-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.poll-icon {
    font-size: 1.25rem;
}

.poll-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary, #1f2937);
    margin: 0;
    line-height: 1.4;
}

.poll-description {
    font-size: 0.85rem;
    color: var(--text-secondary, #6b7280);
    margin: 0 0 15px 0;
    line-height: 1.5;
}

.poll-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.poll-option {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-secondary, #f9fafb);
    border: 1px solid var(--border-color, #e5e7eb);
    transition: all 0.2s ease;
}

.poll-option:not(.voted):hover {
    border-color: #dc143c;
    background: #fef2f2;
}

.poll-option-btn {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 12px 14px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-primary, #1f2937);
    text-align: left;
    transition: all 0.2s ease;
    font-family: inherit;
}

.poll-option-btn:disabled {
    cursor: default;
}

.poll-option-text {
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.poll-option-text::before {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid var(--border-color, #d1d5db);
    border-radius: 50%;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.poll-option:not(.voted):hover .poll-option-text::before {
    border-color: #dc143c;
}

.poll-option.voted .poll-option-text::before {
    border-color: #059669;
    background: #059669;
}

.poll-option-result {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    color: var(--text-secondary, #6b7280);
    font-size: 0.85rem;
    white-space: nowrap;
}

.poll-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: rgba(220, 20, 60, 0.1);
    transition: width 0.5s ease;
    z-index: 1;
}

.poll-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color, #e5e7eb);
}

.poll-total {
    font-size: 0.8rem;
    color: var(--text-muted, #9ca3af);
}

.poll-voted-badge {
    font-size: 0.8rem;
    color: #059669;
    font-weight: 600;
}

/* Dark mode - using correct selector [data-content="dark"] */
[data-content="dark"] .poll-section {
    background: #1f2937 !important;
    border-color: #374151 !important;
}

[data-content="dark"] .poll-title {
    color: #f3f4f6 !important;
}

[data-content="dark"] .poll-description {
    color: #9ca3af !important;
}

[data-content="dark"] .poll-option {
    background: #111827 !important;
    border-color: #374151 !important;
}

[data-content="dark"] .poll-option:not(.voted):hover {
    background: rgba(220, 20, 60, 0.2) !important;
    border-color: #dc143c !important;
}

[data-content="dark"] .poll-option-btn {
    color: #f3f4f6 !important;
}

[data-content="dark"] .poll-option-text {
    color: #f3f4f6 !important;
}

[data-content="dark"] .poll-option-text::before {
    border-color: #6b7280 !important;
}

[data-content="dark"] .poll-option-result {
    color: #d1d5db !important;
}

[data-content="dark"] .poll-bar {
    background: rgba(220, 20, 60, 0.3) !important;
}

[data-content="dark"] .poll-footer {
    border-color: #374151 !important;
}

[data-content="dark"] .poll-total {
    color: #9ca3af !important;
}

[data-content="dark"] .poll-voted-badge {
    color: #10b981 !important;
}

/* Mobile */
@media (max-width: 600px) {
    .poll-section {
        padding: 16px;
        margin: 20px 0;
    }

    .poll-title {
        font-size: 0.95rem;
    }

    .poll-option-btn {
        padding: 10px 12px;
        font-size: 0.85rem;
        flex-wrap: wrap;
        gap: 8px;
    }

    .poll-option-result {
        width: 100%;
        justify-content: flex-end;
    }
}

/* ============================================
   FEATURED CAROUSEL SECTION
   ============================================ */
.featured-carousel-section {
    grid-column: 1 / -1; /* Span full width of grid */
    display: flex;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
    min-height: 420px;
}

/* Left panel - Rotating Business Ads */
.featured-carousel-ads {
    flex: 0 0 280px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--border-color);
}

.carousel-ad-slider {
    flex: 1;
    position: relative;
}

.carousel-ad-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
    display: flex;
    flex-direction: column;
}

.carousel-ad-slide.active {
    opacity: 1;
    z-index: 1;
}

/* Image at top - visible */
.carousel-ad-image {
    height: 140px;
    background-size: cover;
    background-position: center top;
    position: relative;
    flex-shrink: 0;
}

/* No gradient - clean separation */
.carousel-ad-image::after {
    display: none;
}

/* Content below image */
.carousel-ad-content {
    flex: 1;
    padding: 14px 16px 16px;
    background: var(--bg-card);
    display: flex;
    flex-direction: column;
}

.carousel-ad-label {
    display: inline-block;
    font-size: 0.55rem;
    font-weight: 700;
    color: var(--text-muted);
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    text-transform: uppercase;
    align-self: flex-start;
}

.carousel-ad-label.community {
    color: #7c3aed;
    border-color: #7c3aed;
}

.carousel-ad-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.carousel-ad-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 12px;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

.carousel-ad-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    transition: all 0.2s ease;
    align-self: flex-start;
}

.carousel-ad-link:hover {
    background: var(--brand-red);
    border-color: var(--brand-red);
    color: #fff;
}

.carousel-ad-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}

.carousel-ad-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-color);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.carousel-ad-dot.active {
    background: var(--brand-red);
    transform: scale(1.2);
}

.carousel-ad-dot:hover {
    background: var(--text-muted);
}

.carousel-ad-placeholder {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 30px;
    text-align: center;
    background: var(--bg-card);
}

.carousel-ad-placeholder .carousel-icon {
    font-size: 2.5rem;
}

.carousel-ad-placeholder strong {
    color: var(--text-primary);
    font-size: 1rem;
}

.carousel-ad-placeholder small {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Right side - Carousel with arrows */
.featured-carousel-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 16px 20px;
    min-width: 0; /* Important for flex overflow */
    overflow: hidden;
}

.featured-carousel-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-shrink: 0;
}

.featured-carousel-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.carousel-nav-arrows {
    display: flex !important;
    gap: 8px;
}

.carousel-arrow {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.carousel-arrow:hover {
    background: var(--brand-red);
    border-color: var(--brand-red);
    color: #fff;
}

.carousel-arrow svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.featured-carousel-track {
    display: flex;
    gap: 12px;
    padding: 8px 4px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    flex: 1;
    align-items: stretch;
}

.featured-carousel-track::-webkit-scrollbar {
    display: none;
}

/* Carousel Cards */
.carousel-card {
    flex: 0 0 240px;
    min-width: 240px;
    max-width: 240px;
    background: var(--bg-body);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.carousel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
    border-color: var(--brand-red);
}

.carousel-card-image {
    height: 120px;
    min-height: 120px;
    background-size: cover;
    background-position: center;
    position: relative;
    flex-shrink: 0;
}

.carousel-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.carousel-card-badge.event {
    background: linear-gradient(135deg, var(--brand-red), #b91c1c);
    color: #fff;
}

.carousel-card-badge.news {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
}

.carousel-card-body {
    padding: 12px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.carousel-card-date {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    font-weight: 500;
}

.carousel-card-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.carousel-card-excerpt {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.35;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.carousel-card-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brand-red);
    text-decoration: none;
    transition: color 0.2s ease;
}

.carousel-card-link:hover {
    color: var(--brand-red-dark);
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .featured-carousel-section {
        flex-direction: column;
        min-height: auto;
    }

    .featured-carousel-ads {
        flex: none;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    /* =============================================
       MOBILE SPONSOR CARD - FINAL VERSION
       Layout: Logo left | Content right (stacked)
       ============================================= */

    .carousel-ad-slider {
        min-height: auto;
    }

    .carousel-ad-slide {
        display: flex !important;
        flex-direction: row;
        align-items: flex-start;
        padding: 16px;
        gap: 16px;
    }

    .carousel-ad-slide:not(.active) {
        display: none !important;
    }

    /* Logo - fixed size square */
    .carousel-ad-image {
        width: 100px;
        min-width: 100px;
        height: 100px;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        background-color: #fff;
        border-radius: 12px;
        border: 1px solid var(--border-color);
        flex-shrink: 0;
    }

    .carousel-ad-image::after {
        display: none;
    }

    /* Content wrapper - takes remaining space */
    .carousel-ad-content {
        flex: 1;
        min-width: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    /* SPONSORED label - small, top */
    .carousel-ad-label {
        font-size: 0.5rem;
        padding: 2px 6px;
        margin-bottom: 2px;
    }

    /* Business name */
    .carousel-ad-title {
        font-size: 0.95rem;
        font-weight: 700;
        line-height: 1.2;
        margin-bottom: 2px;
    }

    /* Description - 1 line only on mobile */
    .carousel-ad-desc {
        display: -webkit-box !important;
        -webkit-line-clamp: 1;
        line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-size: 0.7rem;
        color: var(--text-secondary);
        line-height: 1.3;
        margin-bottom: 6px;
    }

    /* Visit button */
    .carousel-ad-link {
        display: inline-block;
        font-size: 0.7rem;
        padding: 6px 12px;
    }

    .carousel-ad-dots {
        display: none;
    }

    .featured-carousel-main {
        padding: 14px 16px;
    }

    .featured-carousel-header-row {
        margin-bottom: 10px;
    }

    .featured-carousel-title {
        font-size: 0.85rem;
    }

    .carousel-arrow {
        width: 32px;
        height: 32px;
    }

    .featured-carousel-track {
        padding: 4px 0;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }

    .carousel-card {
        flex: 0 0 200px;
        min-width: 200px;
        max-width: 200px;
        scroll-snap-align: start;
    }

    .carousel-card-image {
        height: 100px;
        min-height: 100px;
    }

    .carousel-card-body {
        padding: 10px 12px;
    }

    .carousel-card-title {
        font-size: 0.8rem;
    }

    .carousel-card-excerpt {
        font-size: 0.7rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
}

@media (max-width: 480px) {
    /* Small mobile - smaller logo */
    .carousel-ad-image {
        width: 80px;
        min-width: 80px;
        height: 80px;
    }

    .carousel-ad-title {
        font-size: 0.85rem;
    }

    .carousel-ad-desc {
        font-size: 0.65rem;
        margin-bottom: 4px;
    }

    .carousel-ad-link {
        font-size: 0.65rem;
        padding: 5px 10px;
    }

    .featured-carousel-main {
        padding: 10px 12px;
    }

    .carousel-nav-arrows {
        gap: 6px;
    }

    .carousel-arrow {
        width: 28px;
        height: 28px;
    }

    .carousel-arrow svg {
        width: 12px;
        height: 12px;
    }

    .featured-carousel-track {
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .carousel-card {
        flex: 0 0 170px;
        min-width: 170px;
        max-width: 170px;
        scroll-snap-align: start;
    }

    .carousel-card-image {
        height: 85px;
        min-height: 85px;
    }

    .carousel-card-body {
        padding: 8px 10px;
    }

    .carousel-card-badge {
        padding: 3px 6px;
        font-size: 0.55rem;
    }

    .carousel-card-date {
        font-size: 0.65rem;
    }

    .carousel-card-title {
        font-size: 0.75rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .carousel-card-excerpt {
        display: none;
    }
}

/* ============================================
   BOX 2: EVENTS CAROUSEL (left) + COMMUNITY PANEL (right)
   ============================================ */
.featured-carousel-section.box-2 {
    flex-direction: row;
}

/* Events carousel on the left */
.featured-carousel-section.box-2 .events-carousel {
    flex: 1;
    border-right: 1px solid var(--border-color);
}

/* Community panel on the right */
.featured-carousel-section.box-2 .community-panel {
    flex: 0 0 280px;
    border-right: none;
    border-left: none;
}

/* Business panel - header with "Sponsored" title */
.business-panel .featured-carousel-header-row {
    display: block;
    padding: 16px 20px 0;
}

.business-panel .featured-carousel-title {
    font-size: 0.9rem;
}

.business-slider {
    flex: 1;
    position: relative;
}

.business-slide {
    cursor: pointer;
    transition: all 0.3s ease;
}

.business-slide:hover .carousel-ad-content {
    background: var(--bg-hover);
}

.community-panel .featured-carousel-header-row {
    padding: 16px 20px 0;
}

.community-panel .featured-carousel-title {
    font-size: 0.9rem;
}

/* Community slider - clickable cards */
.community-slider {
    flex: 1;
    position: relative;
}

/* =============================================
   COMMUNITY MINI CARD - Small rotating cards
   ============================================= */
.community-mini-panel {
    flex: 0 0 240px;
    display: flex;
    flex-direction: column;
    padding: 12px;
    border-left: 1px solid var(--border-color);
    position: relative;
}

.community-mini-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: opacity 0.4s ease, transform 0.3s ease;
    display: none;
    flex-direction: column;
    height: 100%;
}

/* Only show active card */
.community-mini-card.active {
    display: flex;
}

.community-mini-card:hover {
    border-color: var(--brand-red);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.community-mini-image {
    height: 120px;
    background-size: cover;
    background-position: center top;
    position: relative;
    flex-shrink: 0;
}

.community-mini-image::after {
    display: none;
}

.community-mini-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0,0,0,0.75);
    color: #fff;
    font-size: 0.55rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 2;
}

.community-mini-body {
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.community-mini-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    line-height: 1.2;
}

.community-mini-desc {
    font-size: 0.7rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.community-mini-location {
    display: block;
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.community-mini-link {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--brand-red);
    margin-top: auto;
}

.community-mini-card:hover .community-mini-link {
    text-decoration: underline;
}

.carousel-ad-location {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Event location in carousel card */
.carousel-card-location {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: auto;
    padding-top: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Mobile Responsive for Box 2 */
@media (max-width: 900px) {
    .featured-carousel-section.box-2 {
        flex-direction: column;
    }

    .featured-carousel-section.box-2 .events-carousel {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .featured-carousel-section.box-2 .community-mini-panel {
        flex: none;
        border-left: none;
        border-top: 1px solid var(--border-color);
        padding: 12px;
    }

    .community-mini-card.active {
        flex-direction: row;
        align-items: center;
    }

    .community-mini-image {
        width: 80px;
        min-width: 80px;
        height: 80px;
        min-height: 80px;
        border-radius: 10px;
        margin: 0;
    }

    .community-mini-image::after {
        display: none;
    }

    .community-mini-badge {
        font-size: 0.45rem;
        padding: 2px 4px;
        top: 3px;
        left: 3px;
        bottom: auto;
        border-radius: 3px;
    }

    .community-mini-body {
        padding: 0 0 0 12px;
    }

    .community-mini-title {
        font-size: 0.85rem;
        margin-bottom: 2px;
    }

    .community-mini-desc {
        font-size: 0.65rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        margin-bottom: 4px;
    }

    .community-mini-location {
        font-size: 0.6rem;
        margin-bottom: 4px;
    }

    .community-mini-link {
        font-size: 0.65rem;
    }

    .business-panel .featured-carousel-header-row {
        padding: 14px 16px 0;
    }

    .business-slide {
        position: relative;
        display: flex;
        flex-direction: row;
        padding: 12px 16px;
        gap: 14px;
        align-items: flex-start;
    }

    .business-slide:not(.active) {
        display: none;
    }

    .business-slide .carousel-ad-image {
        width: 100px;
        min-width: 100px;
        height: 100px;
        flex-shrink: 0;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        background-color: #fff;
        border-radius: 10px;
        border: 1px solid var(--border-color);
    }

    .business-slide .carousel-ad-image::after {
        display: none;
    }

    .business-slide .carousel-ad-content {
        flex: 1;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .business-slide .carousel-ad-title {
        font-size: 0.95rem;
        margin-bottom: 2px;
    }

    .business-slide .carousel-ad-desc {
        font-size: 0.7rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        margin-bottom: 6px;
    }

    .business-slide .carousel-ad-link {
        font-size: 0.7rem;
        padding: 6px 12px;
        align-self: flex-start;
    }
}

@media (max-width: 600px) {
    .featured-carousel-section {
        min-height: auto;
        border-radius: 16px;
    }

    .featured-carousel-ads {
        flex: 0 0 auto;
        min-height: 140px;
    }

    .carousel-ad-content {
        padding: 12px 14px 40px;
    }

    .carousel-ad-title {
        font-size: 0.95rem;
    }

    .carousel-ad-desc {
        font-size: 0.75rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .featured-carousel-track {
        gap: 10px;
        padding: 6px 2px;
    }
}

@media (max-width: 480px) {
    .business-slide .carousel-ad-image {
        width: 85px;
        min-width: 85px;
        height: 85px;
    }

    .business-slide .carousel-ad-title {
        font-size: 0.85rem;
    }

    .business-slide .carousel-ad-desc {
        font-size: 0.65rem;
    }

    .business-slide .carousel-ad-link {
        font-size: 0.65rem;
        padding: 5px 10px;
    }

    /* Community mini card - smaller on small mobile */
    .community-mini-image {
        width: 80px;
        min-width: 80px;
    }

    .community-mini-title {
        font-size: 0.8rem;
    }

    .community-mini-desc {
        font-size: 0.65rem;
    }

    .featured-carousel-section {
        border-radius: 12px;
        margin-bottom: 16px;
    }

    .featured-carousel-header-row {
        margin-bottom: 8px;
    }

    .featured-carousel-title {
        font-size: 0.8rem;
    }
}

/* ============================================
   A. THIS WEEK STRIP
   ============================================ */
.this-week-strip {
    grid-column: 1 / -1;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
}

.this-week-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.this-week-icon {
    font-size: 1.3rem;
}

.this-week-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.this-week-nav {
    margin-left: auto;
    display: flex;
    gap: 6px;
}

.this-week-nav button {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-body);
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: all 0.2s ease;
}

.this-week-nav button:hover {
    background: var(--brand-red);
    color: #fff;
    border-color: var(--brand-red);
}

.this-week-scroll-wrap {
    position: relative;
    overflow: hidden;
}

.this-week-scroll-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 100%;
    background: linear-gradient(to right, transparent, var(--bg-card));
    pointer-events: none;
    z-index: 2;
    opacity: 1;
    transition: opacity 0.3s;
}

.this-week-scroll-wrap.at-end::after {
    opacity: 0;
}

.this-week-items {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}

.this-week-items::-webkit-scrollbar {
    display: none;
}

.this-week-card {
    flex: 0 0 200px;
    min-width: 200px;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    scroll-snap-align: start;
}

.this-week-card:hover {
    transform: translateY(-3px);
    border-color: var(--brand-red);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.this-week-card-image {
    height: 100px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.this-week-urgency {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.this-week-urgency.today {
    background: #dc2626;
    color: #fff;
    animation: pulse-badge 1.5s ease-in-out infinite;
}

.this-week-urgency.tomorrow {
    background: #f59e0b;
    color: #fff;
}

.this-week-urgency.upcoming {
    background: rgba(30, 30, 50, 0.85);
    color: #fff;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.this-week-card-info {
    padding: 10px 12px;
}

.this-week-card-date {
    font-size: 0.7rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 4px;
}

.this-week-card-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    margin: 0;
}

/* ============================================
   F. BADGE "NOWE" / "NEW"
   ============================================ */
.badge-new {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 6px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.4);
}

/* ============================================
   NEAREST EVENTS (between Box 1 and Box 2)
   ============================================ */
.nearest-events-section {
    grid-column: 1 / -1;
    margin-bottom: 20px;
}

.nearest-events-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.nearest-events-icon {
    font-size: 1.3rem;
}

.nearest-events-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nearest-events-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.nearest-event-card {
    display: flex;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nearest-event-card.hidden-card {
    display: none;
}

.nearest-event-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand-red);
    box-shadow: 0 12px 36px rgba(0,0,0,0.12);
}

.nearest-event-image {
    width: 180px;
    min-width: 180px;
    min-height: 160px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.nearest-event-date-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--brand-red);
    color: #fff;
    padding: 8px 12px;
    border-radius: 10px;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1;
}

.nearest-event-date-badge small {
    display: block;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2px;
}

.nearest-event-body {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.nearest-event-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.nearest-event-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    margin: 0 0 8px;
}

.nearest-event-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0 0 auto;
}

.nearest-event-location {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 10px;
}

/* ============================================
   D. POLL WIDGET
   ============================================ */
.poll-widget-section {
    grid-column: 1 / -1;
    margin-bottom: 20px;
}

.poll-widget-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.poll-widget-icon {
    font-size: 1.3rem;
}

.poll-widget-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.poll-widget-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px;
}

.poll-question {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px;
}

.poll-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0 0 20px;
}

.poll-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.poll-option {
    position: relative;
    background: var(--bg-body);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 14px 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
    overflow: hidden;
    text-align: left;
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 500;
    width: 100%;
}

.poll-option:hover {
    border-color: var(--brand-red);
    background: rgba(220, 53, 69, 0.03);
}

.poll-option-bar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 10px;
    width: 0%;
    transition: width 0.8s ease;
    z-index: 0;
}

.poll-option-text {
    position: relative;
    z-index: 1;
    flex: 1;
}

.poll-option-pct {
    position: relative;
    z-index: 1;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--brand-red);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Show percentages after voting */
.poll-widget-card.voted .poll-option-pct {
    opacity: 1;
}

.poll-widget-card.voted .poll-option {
    cursor: default;
    pointer-events: none;
}

.poll-widget-card.voted .poll-option.selected {
    border-color: var(--brand-red);
    background: rgba(220, 53, 69, 0.05);
}

.poll-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.poll-total {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

.poll-expires {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ============================================
   B. POPULAR NOW / TRENDING
   ============================================ */
.popular-now-section {
    grid-column: 1 / -1;
    margin-bottom: 20px;
}

.popular-now-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.popular-now-icon {
    font-size: 1.3rem;
}

.popular-now-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.popular-now-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.popular-now-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
}

.popular-now-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand-red);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.popular-rank {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    width: 32px;
    height: 32px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
}

.popular-card-image {
    height: 140px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.popular-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
}

.popular-badge.news {
    background: rgba(220, 53, 69, 0.9);
    color: #fff;
}

.popular-badge.event {
    background: rgba(99, 102, 241, 0.9);
    color: #fff;
}

.popular-card-body {
    padding: 14px 16px;
}

.popular-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    margin: 0 0 8px;
}

.popular-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popular-card-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.popular-card-views {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* ============================================
   E. EVENTS MAP
   ============================================ */
.events-map-section {
    margin-bottom: 40px;
    margin-top: 20px;
}

.events-map-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.events-map-icon {
    font-size: 1.3rem;
}

.events-map-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

/* Side-by-side layout */
.events-map-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: stretch;
}

.events-map-container {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--bg-card);
    position: relative;
    z-index: 1;
}

.events-map-container .leaflet-container {
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Sidebar next to map */
.events-map-sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Stats bar */
.events-map-stats {
    display: flex;
    gap: 12px;
}

.map-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-align: center;
}

.map-stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-red);
    line-height: 1;
}

.map-stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

/* Event list */
.events-map-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.events-map-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.events-map-list-item:hover {
    border-color: var(--brand-red);
    background: rgba(220, 53, 69, 0.04);
    transform: translateX(3px);
}

.events-map-list-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--brand-red);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.events-map-list-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.events-map-list-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.events-map-list-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.events-map-list-date {
    font-size: 0.65rem;
    color: var(--brand-red);
    font-weight: 600;
}

.events-map-list-location {
    font-size: 0.65rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.events-map-list-arrow {
    color: var(--text-muted);
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: color 0.2s;
}

.events-map-list-item:hover .events-map-list-arrow {
    color: var(--brand-red);
}

/* ============================================
   RESPONSIVE - New sections
   ============================================ */
@media (max-width: 900px) {
    .nearest-events-grid {
        grid-template-columns: 1fr;
    }

    .nearest-event-card {
        flex-direction: column;
    }

    .nearest-event-image {
        width: 100%;
        min-width: unset;
        min-height: 140px;
    }

    .popular-now-grid {
        grid-template-columns: 1fr;
    }

    .popular-now-card {
        flex-direction: row;
    }

    .popular-card-image {
        width: 120px;
        min-width: 120px;
        height: auto;
        min-height: 100px;
    }

    .popular-rank {
        top: 8px;
        left: 8px;
        width: 26px;
        height: 26px;
        font-size: 0.65rem;
    }

    .events-map-layout {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .events-map-container {
        min-height: 240px;
        height: 240px;
    }

    .events-map-sidebar {
        gap: 8px;
    }

    .events-map-stats {
        gap: 8px;
    }

    .map-stat {
        padding: 10px 8px;
    }

    .map-stat-number {
        font-size: 1.3rem;
    }

    .events-map-list-item {
        padding: 8px 10px;
        gap: 8px;
    }

    .events-map-list-num {
        width: 22px;
        height: 22px;
        font-size: 0.6rem;
    }

    .events-map-list-title {
        font-size: 0.75rem;
    }

    .events-map-list-date,
    .events-map-list-location {
        font-size: 0.6rem;
    }

    .events-map-list-meta {
        gap: 6px;
    }

    .poll-widget-card {
        padding: 20px;
    }

    .poll-question {
        font-size: 1.05rem;
    }
}

@media (max-width: 480px) {
    .this-week-card {
        flex: 0 0 160px;
        min-width: 160px;
    }

    .this-week-card-image {
        height: 80px;
    }

    .this-week-card-title {
        font-size: 0.75rem;
    }

    .nearest-event-body {
        padding: 14px 16px;
    }

    .nearest-event-title {
        font-size: 0.95rem;
    }

    .events-map-container {
        min-height: 200px;
        height: 200px;
        border-radius: 10px;
    }

    .events-map-layout {
        gap: 8px;
    }

    .events-map-list-title {
        font-size: 0.7rem;
    }

    .events-map-list-num {
        width: 20px;
        height: 20px;
        font-size: 0.55rem;
    }

    .events-map-list-arrow {
        display: none;
    }

    .map-stat-number {
        font-size: 1.1rem;
    }

    .map-stat-label {
        font-size: 0.6rem;
    }
}

/* ============================================
   HERO NEWS SLIDER - Rotating featured cards
   ============================================ */
.hero-news-slider {
    position: relative;
    overflow: hidden;
    grid-column: 1 / -1;
    width: 100%;
}

.hero-news-slider .card.card-featured.hero-news-slide {
    display: none;
    width: 100%;
}

.hero-news-slider .card.card-featured.hero-news-slide.active {
    display: grid;
    width: 100%;
    animation: heroFadeIn 0.6s ease;
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-news-dots {
    position: absolute;
    bottom: 20px;
    left: 25%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.4);
    padding: 8px 14px;
    border-radius: 20px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.hero-dot.active {
    background: #fff;
    border-color: #fff;
    transform: scale(1.2);
}

.hero-dot:hover {
    border-color: #fff;
}

/* ============================================
   SPOTLIGHT BOX — unified tabs (pinned + hero)
   ============================================ */
.spotlight-box {
    grid-column: 1 / -1;
    background: #1a1a2e;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

/* Tabs bar */
.spotlight-tabs {
    display: flex;
    gap: 0;
    background: #12122a;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    position: relative;
}
/* Vertical divider between tabs */
.spotlight-tabs::after {
    content: '';
    position: absolute;
    top: 25%;
    bottom: 25%;
    left: 50%;
    width: 1px;
    background: rgba(255,255,255,0.15);
    pointer-events: none;
    z-index: 1;
}
.spotlight-tab {
    flex: 1;
    padding: 13px 20px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    letter-spacing: 0.02em;
    white-space: nowrap;
}
.spotlight-tab:hover {
    color: #fff;
    background: rgba(255,255,255,0.07);
}
.spotlight-tab.active {
    color: #f5c518;
    background: rgba(245,197,24,0.06);
}
.spotlight-tab:not(.active) {
    animation: spotTabHint 3s ease-in-out 2s 3;
}
@keyframes spotTabHint {
    0%, 100% { background: none; color: rgba(255,255,255,0.7); }
    50% { background: rgba(245,197,24,0.08); color: rgba(255,255,255,0.95); }
}
.spotlight-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 3px;
    background: linear-gradient(90deg, #e6ac00, #f5c518);
    border-radius: 3px 3px 0 0;
}
/* Inactive tab pill highlight to show it's clickable */
.spotlight-tab:not(.active) {
    border-bottom: 2px solid transparent;
}
/* Hint banner below tabs */
.spotlight-tabs-hint {
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.62rem;
    color: rgba(255,255,255,0.45);
    background: rgba(18,18,42,0.85);
    padding: 2px 12px;
    border-radius: 0 0 8px 8px;
    letter-spacing: 0.04em;
    white-space: nowrap;
    z-index: 5;
    pointer-events: none;
    animation: spotHintFade 6s ease-in-out forwards;
    animation-delay: 1s;
    opacity: 0;
}
@keyframes spotHintFade {
    0% { opacity: 0; transform: translateX(-50%) translateY(-4px); }
    15% { opacity: 1; transform: translateX(-50%) translateY(0); }
    75% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(-4px); }
}
/* Once user clicked a tab, stop the hint animation + hide hint */
.spotlight-tabs.user-interacted .spotlight-tab:not(.active) {
    animation: none;
}
.spotlight-tabs.user-interacted .spotlight-tabs-hint {
    display: none;
}

/* Panels container */
.spotlight-panels {
    position: relative;
    min-height: 340px;
}

/* Each panel */
.spotlight-panel {
    display: none;
    position: relative;
    width: 100%;
    min-height: 340px;
    text-decoration: none;
    color: #fff;
}
.spotlight-panel.active {
    display: block;
}

/* Pinned panels — clickable <a> with image background */
a.spotlight-panel {
    cursor: pointer;
}
a.spotlight-panel:hover .spotlight-panel-image {
    transform: scale(1.03);
}

.spotlight-panel-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.spotlight-panel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0.0) 100%);
}

.spotlight-panel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: 28px 36px;
    max-width: 55%;
}

.spotlight-panel-title {
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 10px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.spotlight-panel-excerpt {
    font-size: 0.88rem;
    opacity: 0.88;
    margin: 0 0 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.spotlight-panel-date {
    font-size: 0.72rem;
    opacity: 0.5;
}

/* Hero panel inherits the hero-news-slider styles already defined */
.spotlight-panel[data-spot-panel="hero"] {
    min-height: auto;
}
.spotlight-panel[data-spot-panel="hero"] .hero-news-slider {
    grid-column: unset;
}
.spotlight-panel[data-spot-panel="hero"] .card.card-featured {
    grid-column: unset;
    border-radius: 0;
    border: none;
    box-shadow: none;
    min-height: 380px;
}
.spotlight-panel[data-spot-panel="hero"] .card.card-featured:hover {
    transform: none;
    border: none;
    box-shadow: none;
}

@media (max-width: 768px) {
    .spotlight-panels {
        min-height: 280px;
    }
    .spotlight-panel {
        min-height: 280px;
    }
    .spotlight-panel-content {
        max-width: 75%;
        padding: 18px 20px;
    }
    .spotlight-panel-title {
        font-size: 1.15rem;
    }
    .spotlight-panel-excerpt {
        -webkit-line-clamp: 2;
        line-clamp: 2;
        font-size: 0.78rem;
    }
    .spotlight-tab {
        padding: 10px 12px;
        font-size: 0.72rem;
    }
    .spotlight-tabs-hint {
        font-size: 0.56rem;
        bottom: -18px;
        padding: 1px 10px;
    }
}

/* ============================================
   TIME-BASED SECTION DIVIDERS
   ============================================ */
.time-section-divider {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 0 8px;
    margin-top: 16px;
}
.time-section-divider:first-of-type {
    margin-top: 0;
    padding-top: 8px;
}
.time-section-icon {
    font-size: 1.3rem;
    line-height: 1;
}
.time-section-label {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
    white-space: nowrap;
}
.time-section-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, var(--border-color), transparent);
    border-radius: 1px;
}

/* ============================================
   COLLAPSIBLE ARCHIVE SECTION
   ============================================ */
.archive-section {
    grid-column: 1 / -1;
    margin-top: 24px;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-card);
}
.archive-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 24px;
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
}
.archive-toggle:hover {
    background: var(--bg-hover, rgba(0,0,0,0.03));
}
.archive-toggle-icon {
    font-size: 1.3rem;
}
.archive-toggle-label {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
}
.archive-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    background: var(--brand-red);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 12px;
    margin-left: 8px;
}
.archive-chevron {
    margin-left: auto;
    transition: transform 0.3s ease;
    color: var(--text-secondary);
}
.archive-section.open .archive-chevron {
    transform: rotate(180deg);
}

/* Content collapse animation */
.archive-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.archive-section.open .archive-content {
    max-height: 4000px;
}

/* Compact list */
.archive-list {
    padding: 0 16px 16px;
}
.archive-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 10px;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s;
    border-bottom: 1px solid var(--border-color);
}
.archive-item:last-child {
    border-bottom: none;
}
.archive-item:hover {
    background: var(--bg-hover, rgba(0,0,0,0.03));
}
.archive-item-thumb {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-secondary, #f0f0f0);
}
.archive-item-badge {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 6px;
    flex-shrink: 0;
    letter-spacing: 0.04em;
}
.archive-item-badge.event {
    background: rgba(220, 53, 69, 0.12);
    color: #dc3545;
}
.archive-item-badge.news {
    background: rgba(0, 123, 255, 0.12);
    color: #007bff;
}
.archive-item-title {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.archive-item-date {
    font-size: 0.78rem;
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}
.archive-item-arrow {
    color: var(--text-muted);
    font-size: 1rem;
    flex-shrink: 0;
    transition: transform 0.15s;
}
.archive-item:hover .archive-item-arrow {
    transform: translateX(3px);
    color: var(--brand-red);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .archive-toggle {
        padding: 14px 16px;
    }
    .archive-item {
        gap: 10px;
        padding: 10px 6px;
    }
    .archive-item-thumb {
        width: 48px;
        height: 48px;
    }
    .archive-item-badge {
        display: none;
    }
    .archive-item-title {
        font-size: 0.85rem;
    }
}
