/**
 * DFWnow! Modern News Magazine Style
 * Professional news site design inspired by Vinazine template
 */

/* ========================================
   ROOT VARIABLES
   ======================================== */
:root {
    --primary-color: #FF6B35;
    --secondary-color: #004E89;
    --accent-color: #F7931E;
    --dark-bg: #1a1a1a;
    --light-bg: #f8f9fa;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --border-color: #e0e0e0;
    --white: #ffffff;
    --success: #28a745;
    --danger: #dc3545;

    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Inter', sans-serif;

    --transition: all 0.3s ease;
}

/* ========================================
   GLOBAL RESET & BASE
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ========================================
   SECTION SPACING
   ======================================== */
.section-padding {
    padding-top: 15px;
    padding-bottom: 10px;
}

section {
    margin-top: 15px;
    margin-bottom: 10px;
}

/* ========================================
   AD SPACES - STANDARD IAB SIZES
   ======================================== */

/* Ad Container Base Styles */
.ad-space {
    background-color: #f5f5f5;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    box-sizing: border-box;
}

.ad-space:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Ensure sidebar ads fit within container */
.sidebar-ads .ad-space {
    max-width: 100%;
    margin: 10px auto;
}

.ad-label {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: rgba(0,0,0,0.6);
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: var(--font-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ad-placeholder {
    text-align: center;
    color: #999;
    font-size: 14px;
    font-family: var(--font-secondary);
}

/* Leaderboard - 728x90 (Top of page) */
.ad-leaderboard {
    width: 728px;
    height: 90px;
    max-width: 100%;
}

/* Billboard - 970x250 (Premium top placement) */
.ad-billboard {
    width: 970px;
    height: 250px;
    max-width: 100%;
}

/* Medium Rectangle - 300x250 (Most popular) */
.ad-rectangle {
    width: 100%;
    max-width: 300px;
    height: 250px;
}

/* Large Rectangle - 336x280 */
.ad-large-rectangle {
    width: 100%;
    max-width: 336px;
    height: 280px;
}

/* Wide Skyscraper - 160x600 (Sidebar) */
.ad-skyscraper {
    width: 100%;
    max-width: 160px;
    height: 600px;
}

/* Half Page - 300x600 (Sidebar premium) */
.ad-half-page {
    width: 100%;
    max-width: 300px;
    height: 600px;
}

/* Mobile Banner - 320x50 */
.ad-mobile-banner {
    width: 100%;
    max-width: 320px;
    height: 50px;
    display: none;
}

/* Large Mobile Banner - 320x100 */
.ad-mobile-large {
    width: 100%;
    max-width: 320px;
    height: 100px;
    display: none;
}

/* Square - 250x250 */
.ad-square {
    width: 100%;
    max-width: 250px;
    height: 250px;
}

/* Small Square - 200x200 */
.ad-small-square {
    width: 100%;
    max-width: 200px;
    height: 200px;
}

/* Inline Rectangle - 300x250 (Between content) */
.ad-inline {
    width: 300px;
    height: 250px;
    margin: 10px auto;
}

/* Sticky Bottom Ad - Mobile */
.ad-sticky-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 50px;
    background-color: #fff;
    border-top: 1px solid var(--border-color);
    z-index: 999;
    display: none;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

/* Ad Section Wrapper */
.ad-section {
    text-align: center;
    margin: 10px 0;
    padding: 10px 0;
}

.ad-section-label {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    font-family: var(--font-secondary);
}

/* Sidebar Ad Container */
.sidebar-ads {
    position: relative;
    width: 100%;
    overflow: visible;
}

.sidebar-ads .ad-space {
    margin-bottom: 10px;
    max-width: 100%;
}

/* Prevent sidebar from adding height to section */
.news-section .col-lg-8 {
    min-height: 600px;
}

/* Responsive Ad Behavior */
@media (max-width: 991px) {
    .ad-billboard,
    .ad-leaderboard {
        width: 100%;
        height: auto;
        min-height: 90px;
    }

    .sidebar-ads {
        margin-top: 30px;
    }

    .ad-skyscraper,
    .ad-half-page {
        display: none;
    }

    .ad-mobile-banner,
    .ad-mobile-large {
        display: flex;
    }
}

@media (max-width: 767px) {
    .ad-rectangle,
    .ad-large-rectangle,
    .ad-square,
    .ad-small-square {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 200px;
    }

    .ad-sticky-bottom {
        display: flex;
    }

    .ad-inline {
        width: 100%;
        max-width: 100%;
    }

    .sidebar-ads .ad-space {
        margin-left: auto;
        margin-right: auto;
    }
}

a:hover {
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

/* ========================================
   TOP BAR
   ======================================== */
.top-bar {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 2px solid var(--primary-color);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-date {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-date i {
    color: var(--primary-color);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 12px;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* ========================================
   HEADER / NAVIGATION
   ======================================== */
.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 32px;
    font-weight: 800;
    font-family: var(--font-primary);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--secondary-color);
}

.logo-tagline {
    font-size: 11px;
    color: var(--text-light);
    font-weight: 400;
    display: block;
    margin-top: -5px;
}

/* Main Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
}

.nav-menu li a {
    font-weight: 500;
    font-size: 15px;
    color: var(--text-dark);
    padding: 8px 0;
    position: relative;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 100%;
}

.search-icon {
    font-size: 18px;
    cursor: pointer;
    color: var(--text-dark);
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-dark);
}

/* ========================================
   BREAKING NEWS TICKER
   ======================================== */
.breaking-news {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 12px 0;
    overflow: hidden;
}

.breaking-news-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.breaking-label {
    background-color: var(--dark-bg);
    padding: 8px 20px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.breaking-label i {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.breaking-news-slider {
    flex: 1;
    overflow: hidden;
}

.breaking-news-item {
    font-size: 14px;
    font-weight: 500;
}

.breaking-news-item a {
    color: var(--white);
}

.breaking-news-item a:hover {
    text-decoration: underline;
}

/* ========================================
   FEATURED SECTION
   ======================================== */
.featured-section {
    padding: 40px 0;
    background-color: var(--light-bg);
}

.featured-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.featured-main {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.featured-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-main:hover img {
    transform: scale(1.05);
}

.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 40px 30px;
    color: var(--white);
}

.featured-category {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.featured-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 13px;
    opacity: 0.9;
}

.featured-meta i {
    color: var(--primary-color);
}

.featured-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.featured-small {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    background-color: var(--white);
}

.featured-small img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-small:hover img {
    transform: scale(1.05);
}

.featured-small-content {
    padding: 20px;
}

.featured-small-category {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.featured-small-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.featured-small-meta {
    font-size: 12px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ========================================
   NEWS GRID SECTION
   ======================================== */
.news-section {
    padding: 60px 0 10px 0;
}

.news-section .row {
    align-items: flex-start;
}

.news-section .col-lg-4 {
    position: relative;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
}

.section-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
    position: relative;
    padding-left: 20px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 30px;
    background-color: var(--primary-color);
}

.view-all-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.view-all-link:hover {
    gap: 10px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.news-card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.news-card-content {
    padding: 25px;
}

.news-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-excerpt {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-light);
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.news-card-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-card-date i {
    color: var(--primary-color);
}

/* ========================================
   SIDEBAR
   ======================================== */
.sidebar {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
}

.sidebar-widget {
    margin-bottom: 40px;
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.trending-list {
    list-style: none;
}

.trending-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.trending-item:last-child {
    border-bottom: none;
}

.trending-number {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.trending-content h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.4;
}

.trending-meta {
    font-size: 12px;
    color: var(--text-light);
}

/* ========================================
   FOOTER
   ======================================== */
.main-footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 60px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-widget h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 20px;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }

    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        gap: 10px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .featured-title {
        font-size: 24px;
    }

    .section-title {
        font-size: 22px;
    }

    .breaking-news-container {
        flex-direction: column;
        gap: 10px;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.text-primary {
    color: var(--primary-color);
}

.text-secondary {
    color: var(--secondary-color);
}

.mb-30 {
    margin-bottom: 30px;
}

.mt-30 {
    margin-top: 30px;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* ========================================
   LOADING STATES
   ======================================== */
.loading {
    text-align: center;
    padding: 40px;
}

.loading-spinner {
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

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

.no-content {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
    background: #f8f9fa;
    border-radius: 8px;
    margin: 20px 0;
}

.no-content p {
    font-size: 1.1rem;
    margin: 0;
}

.no-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.no-content a:hover {
    text-decoration: underline;
}

/* ========================================
   SPOTLIGHT SECTION
   ======================================== */
.spotlight-section {
    padding: 0 0 80px 0;
    margin-top: -20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.spotlight-section .section-header {
    text-align: left;
    margin-bottom: 30px;
    margin-top: 0;
}

.spotlight-section .section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.spotlight-section .section-title i {
    color: var(--accent-color);
    margin-right: 10px;
}

.spotlight-section .section-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 100%;
    margin: 0;
}

/* Featured Spotlight */
.featured-spotlight {
    margin-bottom: 60px;
}

.spotlight-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.spotlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.spotlight-featured {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.spotlight-image {
    position: relative;
    overflow: hidden;
    height: 300px;
    min-height: 300px;
}

.spotlight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.spotlight-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.spotlight-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.spotlight-category {
    display: inline-block;
    background: var(--light-bg);
    color: var(--secondary-color);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    width: fit-content;
}

.spotlight-category i {
    margin-right: 5px;
}

.spotlight-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.spotlight-description {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.spotlight-meta {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.spotlight-meta span {
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.spotlight-meta i {
    color: var(--primary-color);
}

.spotlight-read-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.spotlight-read-more:hover {
    color: var(--secondary-color);
    gap: 15px;
}

/* Spotlight Overlay */
.spotlight-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.spotlight-card:hover .spotlight-overlay {
    opacity: 1;
}

.spotlight-type {
    background: var(--white);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Spotlight Location */
.spotlight-location {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.spotlight-location i {
    color: var(--primary-color);
}

/* Spotlight Tags */
.spotlight-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.spotlight-tags .tag {
    background: var(--light-bg);
    color: var(--text-dark);
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Spotlight Link */
.spotlight-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.spotlight-link:hover {
    color: var(--secondary-color);
    gap: 12px;
}

/* Spotlight Categories */
.spotlight-categories {
    margin-bottom: 60px;
}

.spotlight-category-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    margin-bottom: 20px;
    height: 100%;
}

.spotlight-category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    background: linear-gradient(135deg, var(--white) 0%, var(--light-bg) 100%);
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.spotlight-category-card:hover .category-icon {
    transform: rotate(360deg);
}

.category-icon i {
    font-size: 2rem;
    color: var(--white);
}

.spotlight-category-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.spotlight-category-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.category-count {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary-color);
    color: var(--white);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

/* Recent Spotlights */
.recent-spotlights {
    margin-bottom: 60px;
}

.subsection-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
}

.spotlight-small-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    margin-bottom: 30px;
    height: 100%;
}

.spotlight-small-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.spotlight-small-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.spotlight-small-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.spotlight-small-card:hover .spotlight-small-image img {
    transform: scale(1.1);
}

.spotlight-small-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

.spotlight-small-content {
    padding: 20px;
}

.spotlight-small-category {
    display: inline-block;
    background: var(--light-bg);
    color: var(--secondary-color);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.spotlight-small-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.spotlight-small-description {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.spotlight-small-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Spotlight CTA */
.spotlight-cta {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    color: var(--white);
    margin-top: 30px;
}

.cta-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-content h3 i {
    color: var(--accent-color);
    margin-right: 10px;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-content .btn {
    background: var(--white);
    color: var(--secondary-color);
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    transition: var(--transition);
}

.cta-content .btn:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .spotlight-image {
        min-height: 250px;
    }

    .spotlight-content {
        padding: 20px;
    }

    .spotlight-title {
        font-size: 1.3rem;
    }

    .spotlight-section .section-title {
        font-size: 1.5rem;
    }

    .cta-content h3 {
        font-size: 1.3rem;
    }

    .spotlight-meta {
        flex-direction: column;
        gap: 10px;
    }

    .category-icon {
        width: 60px;
        height: 60px;
    }

    .category-icon i {
        font-size: 1.5rem;
    }
}

/* ============================================
   NEIGHBORHOOD NOW SECTION
   ============================================ */

.neighborhood-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.neighborhood-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    height: 300px;
}

.neighborhood-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.neighborhood-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.neighborhood-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.neighborhood-card:hover .neighborhood-image img {
    transform: scale(1.1);
}

.neighborhood-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.8));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: var(--white);
}

.neighborhood-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--white);
}

.neighborhood-count {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

.neighborhood-more {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.neighborhood-more .neighborhood-overlay {
    background: rgba(0, 0, 0, 0.3);
    justify-content: center;
    align-items: center;
    text-align: center;
}

.more-cities {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.more-cities span {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

/* ============================================
   ENHANCED EVENTS SECTION
   ============================================ */

.featured-event {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.featured-event-content {
    padding: 40px;
}

.event-badge {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.featured-event-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.featured-event-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

.event-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.event-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: var(--text-dark);
}

.event-detail-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 20px;
}

.event-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.event-date {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    text-align: center;
    padding: 20px;
    flex-shrink: 0;
}

.event-day {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.event-month {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.event-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.event-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-location,
.event-time {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-location i,
.event-time i {
    color: var(--primary-color);
    font-size: 0.85rem;
    width: 14px;
}

.event-card-link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    margin-top: auto;
    padding-top: 10px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.event-card-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* ============================================
   NEIGHBORHOOD PAGE
   ============================================ */

.neighborhood-page {
    background-color: #f8f9fa;
    min-height: calc(100vh - 400px);
}

.neighborhood-header {
    padding: 40px 0;
}

.back-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.back-link:hover {
    color: var(--secondary-color);
}

.neighborhood-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.neighborhood-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
}

.neighborhood-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    color: var(--text-light);
}

.stat-item i {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.stat-item strong {
    color: var(--text-dark);
    font-size: 1.5rem;
}

/* Responsive Design for New Sections */
@media (max-width: 992px) {
    .neighborhood-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .neighborhood-title {
        font-size: 2.5rem;
    }

    .featured-event-title {
        font-size: 2rem;
    }

    .featured-event-content {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .neighborhood-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .neighborhood-card {
        height: 250px;
    }

    .neighborhood-name {
        font-size: 1.5rem;
    }

    .featured-event-title {
        font-size: 1.8rem;
    }

    .featured-event-content {
        padding: 25px;
    }

    .event-day {
        font-size: 2rem;
    }

    .event-card-title {
        font-size: 1.1rem;
    }
}

/* ========================================
   JOB CARDS
   ======================================== */
.job-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.job-company {
    font-size: 0.9rem;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 5px;
}

.job-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    line-height: 1.3;
}

.job-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #6c757d;
}

.job-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.job-meta-item i {
    color: #667eea;
}

.job-description {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.job-salary {
    font-size: 1.1rem;
    font-weight: 700;
    color: #28a745;
    margin-bottom: 15px;
}

.job-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.job-posted {
    font-size: 0.85rem;
    color: #999;
}

.job-apply-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.job-apply-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    color: white;
}

@media (max-width: 768px) {
    .job-card {
        padding: 20px;
    }

    .job-title {
        font-size: 1.1rem;
    }

    .job-meta {
        gap: 10px;
    }
}

