/**
 * HKHaber Theme Main Styles
 * Main Styles
 */

/* ===========================
   Variables & Reset
   =========================== */
:root {
    /* Italian Flag Colors - Primary Theme */
    --color-italy-green: #009246;
    --color-italy-white: #FFFFFF;
    --color-italy-red: #CE2B37;

    /* Main Colors - Italian Theme */
    --color-primary: #009246;
    /* Italian Green */
    --color-secondary: #CE2B37;
    /* Italian Red */
    --color-white: #ffffff;
    --color-black: #000000;
    --color-light-gray: #f5f5f5;
    --color-dark-gray: #333333;
    --color-text: #333333;
    /* Dark text for readability */
    --color-text-light: #ffffff;
    /* White text for dark backgrounds */

    /* Fonts */
    --font-heading: 'Montserrat', sans-serif;
    --font-primary: 'Poppins', 'Roboto', sans-serif;
    --font-secondary: 'Roboto', 'Poppins', sans-serif;

    /* Transition */
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-dark-gray);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ===========================
   Top Bar
   =========================== */
.top-bar {
    background-color: #f8f8f8;
    color: #666666;
    padding: 8px 0;
    font-size: 12px;
    border-bottom: 1px solid #e0e0e0;
    margin: 0 -20px;
    /* Container padding'i iptal et */
    padding-left: 20px;
    padding-right: 20px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-menu {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
}

.top-bar-menu a {
    color: #333333;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.top-bar-menu a:hover {
    color: var(--color-secondary);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    color: #666666;
    font-size: 13px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    background-color: transparent;
}

.social-links a:hover {
    color: var(--color-secondary);
}

/* ===========================
   Header
   =========================== */
.site-header {
    background-color: #ffffff;
    /* Changed from green to white */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    /* Slightly stronger shadow for white header */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid #f0f0f0;
    /* Subtle border */
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    gap: 40px;
}

.site-branding {
    flex-shrink: 0;
}

.site-branding img {
    max-height: 60px;
    width: auto;
}

.custom-logo-link {
    display: block;
}

.site-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
    /* Changed to dark blue/primary */
    margin: 0;
}

.site-title a {
    color: var(--color-primary);
    /* Changed to dark blue/primary */
}

.main-navigation {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.primary-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    position: relative;
}

.primary-menu>li {
    position: relative;
}

.primary-menu li a {
    color: var(--color-dark-gray);
    /* Changed to dark gray for visibility on white */
    font-weight: 600;
    font-size: 14px;
    /* Increased slightly for better legibility */
    padding: 10px 5px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    transition: color 0.3s ease;
}

.primary-menu>li.menu-item-has-children>a::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 5px;
    font-size: 11px;
    color: var(--color-secondary);
    /* Accent color for arrow */
}

.primary-menu li a:hover,
.primary-menu li.current-menu-item>a {
    color: var(--color-secondary);
    /* Orange highlight */
}

.primary-menu>li>a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    transition: var(--transition);
}

.primary-menu>li>a:hover::before,
.primary-menu>li.current-menu-item>a::before {
    width: 100%;
}

/* Dropdown/Submenu Styles */
.primary-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-white);
    min-width: 220px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    padding: 10px 0;
    margin: 0;
}

.primary-menu li:hover>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.primary-menu .sub-menu li {
    position: relative;
}

.primary-menu .sub-menu li a {
    padding: 12px 20px;
    font-size: 13px;
    text-transform: none;
    color: #555;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.primary-menu .sub-menu li a:hover {
    background-color: var(--color-light-gray);
    border-left-color: var(--color-secondary);
    color: var(--color-primary);
    padding-left: 25px;
}

/* Second Level Submenu */
.primary-menu .sub-menu .sub-menu {
    top: 0;
    left: 100%;
    margin-left: 0;
}

.primary-menu .sub-menu li.menu-item-has-children>a::after {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    float: right;
    margin-left: 10px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.gidenler-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-white);
    background-color: var(--color-secondary);
    font-weight: 600;
    font-size: 12px;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gidenler-link:hover {
    background-color: #ff8533;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 102, 0, 0.3);
}

.gidenler-link i {
    font-size: 16px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-icon {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-primary);
    position: relative;
}

.menu-icon::before,
.menu-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    left: 0;
}

.menu-icon::before {
    top: -8px;
}

.menu-icon::after {
    bottom: -8px;
}

.search-toggle {
    background: none;
    border: none;
    color: var(--color-primary);
    /* Changed to dark blue */
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
}

.search-toggle:hover {
    color: var(--color-italy-red);
}

/* ===========================
   Hero Section
   =========================== */
.hero-section {
    background: transparent;
    color: var(--color-white);
    padding: 0;
    text-align: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-description {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* ===========================
   Buttons
   =========================== */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--color-secondary);
    color: var(--color-white);
    border: 2px solid var(--color-secondary);
}

.btn-primary:hover {
    background-color: #ff8533;
    border-color: #ff8533;
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* ===========================
   Sections
   =========================== */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: var(--color-text);
    max-width: 700px;
    margin: 0 auto;
}

.section-footer {
    text-align: center;
    margin-top: 50px;
}

.education-intro {
    background-color: var(--color-light-gray);
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 18px;
    line-height: 1.8;
}

/* ===========================
   Grid Layouts
   =========================== */
.schools-grid,
.universities-grid,
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

/* ===========================
   Cards
   =========================== */
/* University Cards - Modern Square Design */
.university-card {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.university-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

/* Square Image - Full Width - Logo Optimized */
.university-card::before {
    content: '';
    display: block;
    width: 100%;
    padding-top: 75%;
    /* Aspect Ratio */
    background-image: var(--bg-image);
    background-size: contain;
    /* CHANGED: Contain ensures logo fits inside without clipping */
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
    position: relative;
    background-color: #ffffff;
    /* White background for logos */
    border-bottom: 1px solid #f0f0f0;
    margin: 10px;
    /* Optional: adds a little breathing room around the logo */
    width: calc(100% - 20px);
    /* Adjust width for margin */
}

.university-card:hover::before {
    transform: scale(1.02);
    /* Gentle zoom */
}

.university-card::after {
    display: none;
}

.university-card-content {
    padding: 25px 20px 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* University Name - Centered, Bold */
.university-title {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    padding: 0 !important;
    margin: 0 0 10px 0 !important;
    color: #1a1a1a !important;
    font-size: 1.25rem !important;
}

/* FIX: Hide the pseudo-element that expected a background-variable, since we use img tags now */
.university-card::before,
.university-card::after {
    content: none !important;
    display: none !important;
    background: none !important;
}

/* FIX: Image Wrapper for Logo Containment */
.card-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 75%;
    /* 4:3 Aspect Ratio */
    background: transparent !important;
    /* Force Transparent */
    border-bottom: 1px solid #eee;
    overflow: hidden;
    margin: 0 !important;
    /* Reset any margins */
}

.card-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    /* Forces logo to fit */
    padding: 20px;
    /* Spacing around logo */
    transition: transform 0.5s ease;
    z-index: 1;
    /* Keep at 1 */
}

/* FIX: Ensure Country Badge is Visible on Top */
.card-country {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 10 !important;
    /* Force on top of image */
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(5px);
}

.card-country i {
    color: #ff6600;
    /* Secondary color for icon */
}

/* Make entire card clickable via the title link */
.card-title a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    /* Sit on top of everything */
}

/* Ensure inner interactive elements are still usable or raised if needed, 
   though for this card structure, a single link is preferred. */
.university-card {
    position: relative;
    /* Context for absolute positioning of link */
}

.university-card:hover .card-image-wrapper img {
    transform: scale(1.05);
}

/* Cleaned up syntax error */

/* Type Badge - Hidden */
.university-type-badge {
    display: none !important;
}

/* Description - Gray, Centered */
.university-excerpt {
    padding: 0 !important;
    margin: 0 0 15px 0 !important;
    font-size: 0.85rem !important;
    color: #4b5563 !important;
    line-height: 1.5 !important;
    text-align: center !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

/* Hide Program Count */
.university-fee {
    display: none !important;
}

/* Hide City */
.university-location {
    display: none !important;
}

/* Country Badge - Bottom Left */
.university-country {
    position: absolute !important;
    bottom: 20px !important;
    left: 20px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    font-size: 0.85rem !important;
    color: #4b5563 !important;
    font-weight: 500 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.university-country i {
    font-size: 1rem;
    color: #6b7280;
}

/* Detayları Gör Button - Bottom Right */
.university-card .btn-modern-primary {
    position: absolute !important;
    bottom: 20px !important;
    right: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    color: #1a1a1a !important;
    border-radius: 0 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
}

.university-card .btn-modern-primary:hover {
    color: #667eea !important;
    transform: translateX(3px) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .university-card::before {
        height: 180px;
    }

    .university-card-content {
        padding: 25px 20px;
    }

    .university-title {
        font-size: 1.2rem !important;
    }

    .university-type-badge {
        font-size: 0.65rem;
        padding: 5px 14px;
    }

    .university-country,
    .university-location,
    .university-fee {
        font-size: 0.85rem;
    }

    .university-excerpt {
        font-size: 0.85rem;
    }

    .university-card .btn-modern-primary {
        padding: 10px 25px;
        font-size: 0.85rem;
    }
}

/* Other Cards */
.school-card,
.news-card {
    background-color: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.school-card:hover,
.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.card-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-image:hover img {
    transform: scale(1.08);
}

.campaign-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
}

.card-content {
    padding: 28px;
}

.card-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.card-title a {
    color: var(--color-primary);
}

.card-title a:hover {
    color: var(--color-secondary);
}

.card-location,
.card-price,
.card-meta {
    font-size: 14px;
    color: var(--color-text);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-location i,
.card-price i,
.card-meta i {
    color: var(--color-secondary);
    margin-right: 5px;
    font-size: 15px;
}

.card-excerpt {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--color-text);
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-secondary);
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.card-link:hover {
    gap: 14px;
    color: var(--color-primary);
}

.card-link i {
    transition: transform 0.3s ease;
}

.card-link:hover i {
    transform: translateX(4px);
}

/* ===========================
   Footer
   =========================== */
.site-footer {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.footer-widgets {
    padding: 60px 0;
}

.footer-widget-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
}

.footer-widget-col {
    min-width: 0;
}

.footer-widget-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu li a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    transition: var(--transition);
}

.footer-menu li a:hover {
    color: var(--color-secondary);
    padding-left: 5px;
}

.footer-contact-info p {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.footer-contact-info i {
    margin-right: 8px;
    color: var(--color-secondary);
}



/* ===========================
   Responsive
   =========================== */
@media (max-width: 1024px) {

    .schools-grid,
    .universities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-widget-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        /* Stack top bar items */
        gap: 10px;
        text-align: center;
    }

    .top-bar-left,
    .top-bar-right {
        justify-content: center;
        width: 100%;
    }

    /* Fixed Header for Mobile */
    .site-header {
        position: fixed !important;
        /* Force fixed to stay on top */
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 10000 !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    /* Spacer to push content down below fixed header */
    body {
        padding-top: 140px;
        /* Approximate height of stacked header */
    }

    body.admin-bar {
        padding-top: 172px;
        /* Add 32px for admin bar */
    }

    .header-content {
        flex-wrap: wrap;
        padding: 5px 0;
        /* Compact padding */
        gap: 10px;
    }

    .site-branding {
        flex: 1;
        /* Allow logo to take space */
        text-align: left;
    }

    .menu-toggle {
        display: block;
        font-size: 24px;
        color: var(--color-primary);
        /* Dark color for white header */
        padding: 5px;
    }

    .primary-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--color-white);
        flex-direction: column;
        padding: 0;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        max-height: calc(100vh - 100px);
        overflow-y: auto;
    }

    .primary-menu.active {
        display: flex;
        border-top: 1px solid #eee;
    }

    .primary-menu li {
        width: 100%;
        border-bottom: 1px solid #f5f5f5;
    }

    .primary-menu li a {
        color: #333;
        /* Dark text for white mobile menu */
        padding: 15px 20px;
        font-size: 14px;
    }

    .primary-menu li.current-menu-item>a,
    .primary-menu li a:hover {
        color: var(--color-italy-red);
        background: #f9f9f9;
    }

    /* Submenu handling for mobile */
    .primary-menu .sub-menu {
        position: static;
        visibility: visible;
        opacity: 1;
        box-shadow: none;
        transform: none;
        padding-left: 20px;
        background: #fcfcfc;
        display: none;
        /* Hidden by default, toggled via JS if needed or CSS hover doesn't apply */
    }

    .primary-menu li:hover>.sub-menu,
    .primary-menu li.focus>.sub-menu {
        /* Add focus class support if JS adds it */
        display: block;
    }

    /* Search Dropdown Mobile Specifics */
    .search-dropdown {
        top: 100%;
        /* Ensure it sits exactly below valid header area */
        position: absolute;
        width: 100%;
    }

    .search-dropdown-wrapper {
        padding: 0 15px;
    }

    /* Hero Text Adjustments */
    .hero-title {
        font-size: 32px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* General Grid Adjustments */
    .schools-grid,
    .universities-grid,
    .news-grid,
    .footer-widget-row {
        grid-template-columns: 1fr;
    }

    .footer-bottom-content,
    .footer-contact {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    /* Banner & Hero Background Fixes */
    .hero-section .hero-banner-background {
        position: relative;
        z-index: 1;
    }

    /* Smart Slider fixes */
    .hero-banner-background .smartslider,
    .hero-banner-background .n2-section-smartslider,
    .hero-banner-background [class*="n2-ss-"] {
        min-height: auto !important;
        height: auto !important;
        background: transparent !important;
    }
}

/* Remove black spacing - Force all backgrounds transparent */
.hero-section,
.hero-section *,
section.hero-section,
section.hero-section * {
    background: transparent !important;
    background-color: transparent !important;
}

.modern-hero {
    background: transparent !important;
}

section.hero-section {
    padding: 0 !important;
    margin: 0 !important;
    min-height: auto !important;
    height: auto !important;
}

/* Hero Section - Minimize height on mobile */
.hero-section,
.hero-modern,
.modern-hero {
    min-height: auto !important;
    max-height: 50vh !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
}

/* Remove margin/padding from hero content */
.hero-content,
.hero-title-modern,
.hero-subtitle,
.hero-ctas {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* First section after hero - remove top spacing */
.hero-section+section,
.hero-section+.section-modern,
.modern-hero+section,
.modern-hero+.section-modern {
    margin-top: 0 !important;
    padding-top: 1rem !important;
}

/* Programs section immediately after hero */
section.programs-modern,
.services-section,
.section-modern {
    margin-top: 0 !important;
    padding-top: 2rem !important;
}

/* Services grid to single column */
.services-grid {
    grid-template-columns: 1fr !important;
    gap: 15px;
}

/* Features grid responsive */
.features-grid {
    grid-template-columns: 1fr !important;
}
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    /* Smaller service cards */
    .service-card {
        padding: 20px;
    }

    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

/* ===========================
   Animations & Utilities
   =========================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Utility Classes */
.fade-in {
    animation: fadeIn 0.6s ease;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease;
}

.slide-in-right {
    animation: slideInRight 0.8s ease;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Enhanced Card Shadows */
.card-shadow-sm {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.card-shadow-md {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.card-shadow-lg {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Hover Lift Effect */
.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* Text Utilities */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--color-primary);
}

.text-secondary {
    color: var(--color-secondary);
}

/* Spacing Utilities */
.mt-1 {
    margin-top: 10px;
}

.mt-2 {
    margin-top: 20px;
}

.mt-3 {
    margin-top: 30px;
}

.mt-4 {
    margin-top: 40px;
}

.mt-5 {
    margin-top: 50px;
}

.mb-1 {
    margin-bottom: 10px;
}

.mb-2 {
    margin-bottom: 20px;
}

.mb-3 {
    margin-bottom: 30px;
}

.mb-4 {
    margin-bottom: 40px;
}

.mb-5 {
    margin-bottom: 50px;
}

.pt-1 {
    padding-top: 10px;
}

.pt-2 {
    padding-top: 20px;
}

.pt-3 {
    padding-top: 30px;
}

.pt-4 {
    padding-top: 40px;
}

.pt-5 {
    padding-top: 50px;
}

.pb-1 {
    padding-bottom: 10px;
}

.pb-2 {
    padding-bottom: 20px;
}

.pb-3 {
    padding-bottom: 30px;
}

.pb-4 {
    padding-bottom: 40px;
}

.pb-5 {
    padding-bottom: 50px;
}

/* ===========================
   Custom Page Styles
   =========================== */

/* Page Hero Section */
.page-hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0 80px;
    color: var(--color-white);
    text-align: center;
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.9), rgba(0, 77, 153, 0.85));
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-hero p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.page-hero .cta-button {
    background: var(--color-secondary);
    color: var(--color-white);
    padding: 15px 40px;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid var(--color-secondary);
}

.page-hero .cta-button:hover {
    background: transparent;
    border-color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 102, 0, 0.3);
}

/* Content Sections */
.content-section {
    padding: 80px 0;
}

.content-section:nth-child(even) {
    background-color: var(--color-light-gray);
}

.content-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.content-section h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--color-primary);
}

.content-section p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--color-text);
}

.content-section ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.content-section ul li {
    padding: 12px 0 12px 30px;
    position: relative;
    font-size: 16px;
    line-height: 1.6;
}

.content-section ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--color-secondary);
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: var(--color-white);
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.feature-card i {
    font-size: 48px;
    color: var(--color-secondary);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--color-primary);
}

.feature-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text);
    margin: 0;
}

/* Popular Items Grid */
.popular-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.popular-item {
    background: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.popular-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.popular-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.popular-item-content {
    padding: 25px;
}

.popular-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--color-primary);
}

.popular-item p {
    font-size: 14px;
    color: var(--color-text);
    margin: 0;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: var(--color-light-gray);
}

.faq-section h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--color-primary);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-white);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(0, 51, 102, 0.05);
}

.faq-question i {
    font-size: 14px;
    transition: transform 0.3s ease;
    color: var(--color-secondary);
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    max-height: 500px;
    padding: 0 25px 20px;
}

.faq-answer p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text);
    margin: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, #004d99 100%);
    padding: 80px 0;
    color: var(--color-white);
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-white);
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-form {
    max-width: 600px;
    margin: 0 auto;
}

.cta-form input,
.cta-form textarea,
.cta-form select {
    width: 100%;
    padding: 15px 20px;
    margin-bottom: 15px;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    font-family: var(--font-primary);
}

.cta-form textarea {
    min-height: 120px;
    resize: vertical;
}

.cta-form button {
    background: var(--color-white);
    color: var(--color-primary);
    padding: 15px 50px;
    border: 2px solid var(--color-white);
    border-radius: 5px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-form button:hover {
    background: transparent;
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin: 40px 0;
}

.two-column img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Info Boxes */
.info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.info-box {
    background: var(--color-white);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--color-secondary);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.info-box h4 {
    font-size: 18px;
    font-weight: 600;
    font-size: 32px;
}

.page-hero p {
    font-size: 16px;
}

.content-section h2 {
    font-size: 28px;
}

.feature-grid,
.popular-grid {
    grid-template-columns: 1fr;
}

.two-column {
    grid-template-columns: 1fr;
    gap: 30px;

    .popular-item p {
        font-size: 14px;
        color: var(--color-text);
        margin: 0;
    }

    /* FAQ Section */
    .faq-section {
        padding: 80px 0;
        background: var(--color-light-gray);
    }

    .faq-section h2 {
        text-align: center;
        font-size: 36px;
        font-weight: 700;
        margin-bottom: 50px;
        color: var(--color-primary);
    }

    .faq-container {
        max-width: 900px;
        margin: 0 auto;
    }

    .faq-item {
        background: var(--color-white);
        margin-bottom: 15px;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .faq-question {
        padding: 20px 25px;
        cursor: pointer;
        font-weight: 600;
        font-size: 16px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: var(--color-primary);
        transition: all 0.3s ease;
    }

    .faq-question:hover {
        background-color: rgba(0, 51, 102, 0.05);
    }

    .faq-question i {
        font-size: 14px;
        transition: transform 0.3s ease;
        color: var(--color-secondary);
    }

    .faq-question.active i {
        transform: rotate(180deg);
    }

    .faq-answer {
        padding: 0 25px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
    }

    .faq-answer.active {
        max-height: 500px;
        padding: 0 25px 20px;
    }

    .faq-answer p {
        font-size: 15px;
        line-height: 1.7;
        color: var(--color-text);
        margin: 0;
    }

    /* CTA Section */
    .cta-section {
        background: linear-gradient(135deg, var(--color-primary) 0%, #004d99 100%);
        padding: 80px 0;
        color: var(--color-white);
        text-align: center;
    }

    .cta-section h2 {
        font-size: 36px;
        font-weight: 700;
        margin-bottom: 20px;
        color: var(--color-white);
    }

    .cta-section p {
        font-size: 18px;
        margin-bottom: 40px;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

    .cta-form {
        max-width: 600px;
        margin: 0 auto;
    }

    .cta-form input,
    .cta-form textarea,
    .cta-form select {
        width: 100%;
        padding: 15px 20px;
        margin-bottom: 15px;
        border: none;
        border-radius: 5px;
        font-size: 15px;
        font-family: var(--font-primary);
    }

    .cta-form textarea {
        min-height: 120px;
        resize: vertical;
    }

    .cta-form button {
        background: var(--color-white);
        color: var(--color-primary);
        padding: 15px 50px;
        border: 2px solid var(--color-white);
        border-radius: 5px;
        font-weight: 600;
        font-size: 16px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .cta-form button:hover {
        background: transparent;
        color: var(--color-white);
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
    }

    /* Two Column Layout */
    .two-column {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: center;
        margin: 40px 0;
    }

    .two-column img {
        width: 100%;
        border-radius: 10px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }

    /* Info Boxes */
    .info-boxes {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
        margin: 40px 0;
    }

    .info-box {
        background: var(--color-white);
        padding: 30px;
        border-radius: 8px;
        border-left: 4px solid var(--color-secondary);
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    }

    .info-box h4 {
        font-size: 18px;
        font-weight: 600;
        font-size: 32px;
    }

    .page-hero p {
        font-size: 16px;
    }

    .content-section h2 {
        font-size: 28px;
    }

    .feature-grid,
    .popular-grid {
        grid-template-columns: 1fr;
    }

    .two-column {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .info-boxes {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   Search Dropdown Bar
   =========================== */

.search-dropdown {
    position: absolute;
    /* Changed from fixed to absolute within header */
    top: 100%;
    /* Position right below header */
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 9998;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    opacity: 0;
    margin-top: 0;
    /* REMOVED margin, handled by top: 100% */
}

.search-dropdown.active {
    max-height: 150px;
    opacity: 1;
}

.search-dropdown-form {
    padding: 2rem 0;
}

.search-dropdown-wrapper {
    display: flex;
    gap: 1rem;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.search-dropdown-field {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.search-dropdown-field:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
}

.search-dropdown-field::placeholder {
    color: #a0aec0;
}

.search-dropdown-submit {
    background: linear-gradient(135deg, var(--color-primary) 0%, #004d99 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.search-dropdown-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 51, 102, 0.3);
}

.search-dropdown-close {
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    color: #718096;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.search-dropdown-close:hover {
    background: #edf2f7;
    color: #2d3748;
    border-color: #cbd5e0;
}

@media (max-width: 768px) {
    .search-dropdown {
        margin-top: 0;
        /* Remove mobile margin override */
    }

    .search-dropdown.active {
        max-height: 180px;
    }

    .search-dropdown-form {
        padding: 1.5rem 0;
    }

    .search-dropdown-wrapper {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .search-dropdown-field {
        width: 100%;
        padding: 0.875rem 1.25rem;
        font-size: 0.9375rem;
    }

    .search-dropdown-submit {
        flex: 1;
        justify-content: center;
        padding: 0.875rem 1.5rem;
    }

    .search-dropdown-close {
        width: 45px;
        height: 45px;
    }
}

/* ============================================================================
   BREADCRUMB NAVIGATION - SEO
   ============================================================================ */

.breadcrumbs {
    padding: 15px 0;
    margin-bottom: 30px;
    background: #f8f9fa;
    border-radius: 8px;
}

.breadcrumbs ol {
    list-style: none;
    padding: 0 20px;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #6b7280;
}

.breadcrumbs li:not(:last-child)::after {
    content: '';
    margin-left: 8px;
    color: #9ca3af;
    font-size: 1.1rem;
}

.breadcrumbs a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: #5568d3;
    text-decoration: underline;
}

.breadcrumbs li:last-child span {
    color: #1f2937;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .breadcrumbs {
        padding: 12px 0;
        margin-bottom: 20px;
    }

    .breadcrumbs ol {
        padding: 0 15px;
    }

    .breadcrumbs li {
        font-size: 0.85rem;
    }
}



/* ============================================================================
   MODERN BUTTONS - Visible Links
   ============================================================================ */

.btn-modern-secondary {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    padding: 1rem 2rem;
    background: #dc2626 !important;
    color: white !important;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
    border: none;
}

.btn-modern-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
    background: #b91c1c !important;
    color: white !important;
    text-decoration: none;
}

.btn-modern-secondary i {
    font-size: 1.1rem;
}

/* ===========================
   ULTRA MODERN FOOTER
   Italian Flag Colors Theme
   =========================== */

.modern-footer {
    position: relative;
    background: linear-gradient(135deg, #009246 0%, #007a3d 50%, #005c2e 100%);
    color: #ffffff;
    margin-top: 100px;
    overflow: hidden;
}

/* Wave Effect */
.footer-wave {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.footer-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

.footer-wave svg path {
    fill: #f8fafc;
}

/* Footer Content */
.footer-content {
    padding: 80px 0 60px;
    position: relative;
    z-index: 1;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 50px;
}

/* Footer About/Logo Column */
.footer-about {
    max-width: 350px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    max-width: 180px;
    height: auto;
    filter: brightness(0) invert(1);
}

.footer-logo h3 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.footer-tagline {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
}

/* Social Media Icons - Italian Colors */
.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-social a:hover {
    background: #CE2B37;
    border-color: #CE2B37;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(206, 43, 55, 0.5);
}

/* Footer Headings - Red Accent */
.footer-heading {
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, #ffffff 0%, #CE2B37 100%);
    border-radius: 2px;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #CE2B37;
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 8px;
}

.footer-links a:hover::before {
    width: 100%;
}

/* Footer Contact - Red Icons */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.6;
}

.footer-contact i {
    color: #CE2B37;
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.15);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #ffffff;
}

.footer-contact span {
    color: rgba(255, 255, 255, 0.85);
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 25px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.copyright {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.copyright a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.copyright a:hover {
    color: #CE2B37;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

.footer-bottom-links .separator {
    color: rgba(255, 255, 255, 0.4);
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

/* Tablet */
@media (max-width: 1024px) {
    .footer-main-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .footer-about {
        grid-column: 1 / -1;
        max-width: 100%;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .modern-footer {
        margin-top: 60px;
    }

    .footer-wave svg {
        height: 80px;
    }

    .footer-content {
        padding: 60px 0 40px;
    }

    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-about {
        text-align: center;
    }

    .footer-logo img {
        max-width: 150px;
        margin: 0 auto;
    }

    .footer-heading {
        text-align: center;
    }

    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links {
        text-align: center;
    }

    .footer-contact {
        text-align: left;
        max-width: 300px;
        margin: 0 auto;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .footer-wave svg {
        height: 60px;
    }

    .footer-content {
        padding: 40px 0 30px;
    }

    .footer-main-grid {
        gap: 30px;
    }

    .footer-social a {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }

    .footer-heading {
        font-size: 16px;
    }

    .footer-links a,
    .footer-contact li {
        font-size: 13px;
    }
}

/* ===========================
   NEWS SITE MODE STYLES
   =========================== */

/* Breaking News Ticker */
.breaking-news-ticker {
    background: linear-gradient(135deg, #CE2B37 0%, #a01f2a 100%);
    color: white;
    padding: 12px 0;
    border-bottom: 3px solid #009246;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-top: 0;
}

.ticker-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ticker-label {
    background: #009246;
    color: white;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

.ticker-label i {
    font-size: 14px;
    animation: flash 1.5s infinite;
}

@keyframes flash {

    0%,
    50%,
    100% {
        opacity: 1;
    }

    25%,
    75% {
        opacity: 0.3;
    }
}

.ticker-content {
    flex: 1;
    overflow: hidden;
}

.ticker-content a {
    color: white;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.ticker-content a:hover {
    color: #FFD700;
    text-decoration: underline;
}

.ticker-separator {
    color: #FFD700;
    margin: 0 15px;
    font-weight: bold;
}

/* Breadcrumb Navigation */
.news-breadcrumb {
    background: #f8f9fa;
    padding: 15px 0;
    margin-bottom: 30px;
    border-radius: 8px;
    font-size: 14px;
}

.news-breadcrumb a {
    color: #009246;
    font-weight: 500;
    transition: all 0.3s ease;
}

.news-breadcrumb a:hover {
    color: #CE2B37;
}

.news-breadcrumb a i {
    margin-right: 5px;
}

.breadcrumb-separator {
    color: #999;
    margin: 0 10px;
}

.breadcrumb-current {
    color: #666;
    font-weight: 500;
}

/* News Article Page Layout */
.news-article-page {
    padding: 0 0 60px;
    background: #ffffff;
}

.news-article-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    margin-top: 15px;
}

/* Article Main Content */
.news-article-main {
    background: white;
}

.news-article {
    background: white;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

/* Article Header */
.article-header {
    margin-bottom: 20px;
    padding: 25px 30px 20px;
}

.article-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #009246, #00b359);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-category a {
    color: white;
}

.article-category i {
    font-size: 12px;
}

.article-title {
    font-size: 2.5rem;
    line-height: 1.3;
    color: #1a1a1a;
    margin: 12px 0 15px;
    font-weight: 800;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 15px 0;
    border-top: 2px solid #f0f0f0;
    border-bottom: 2px solid #f0f0f0;
}

.meta-left {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 14px;
}

.meta-item i {
    color: #009246;
    font-size: 13px;
}

.meta-item a {
    color: #666;
    font-weight: 500;
}

.meta-item a:hover {
    color: #009246;
}

.meta-right {
    display: flex;
    gap: 10px;
}

.article-action-btn {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    color: #333;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-action-btn:hover {
    background: #009246;
    color: white;
    border-color: #009246;
}

.article-action-btn i {
    font-size: 12px;
}

/* Social Share Bar */
.social-share-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    margin: 0;
}

.share-label {
    font-weight: 700;
    color: #333;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn.email {
    background: #666;
}

.social-share-bottom {
    margin-top: 40px;
}

.social-share-bottom .share-btn {
    width: auto;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    gap: 8px;
}

/* Featured Image */
.article-featured-image {
    margin: 30px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Featured Image at Top - Rectangular Format */
.article-featured-top {
    margin: 0;
    border-radius: 0;
    max-height: 500px;
    overflow: hidden;
    position: relative;
}

.article-featured-top img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-featured-image figcaption {
    padding: 15px 20px;
    background: #f8f9fa;
    color: #666;
    font-size: 14px;
    font-style: italic;
    text-align: center;
    border-top: 3px solid #009246;
}

/* Article Content */
.article-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin: 0;
    padding: 25px 30px;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    margin-top: 35px;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.article-content ul,
.article-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content blockquote {
    border-left: 4px solid #009246;
    padding: 20px 30px;
    margin: 30px 0;
    background: #f8f9fa;
    font-style: italic;
    border-radius: 0 8px 8px 0;
}

/* Article Tags */
.article-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px 30px;
    border-top: 2px solid #f0f0f0;
    margin-top: 30px;
}

.article-tags i {
    color: #009246;
    font-size: 16px;
}

.tags-label {
    font-weight: 700;
    color: #333;
    font-size: 14px;
}

.article-tags a {
    background: #f0f0f0;
    color: #666;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.article-tags a:hover {
    background: #009246;
    color: white;
}

/* Author Box */
.author-box {
    display: flex;
    gap: 20px;
    padding: 25px 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 0;
    margin: 0;
    border-left: 4px solid #009246;
}

.author-avatar {
    flex-shrink: 0;
}

.author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.author-name a {
    color: #1a1a1a;
    transition: all 0.3s ease;
}

.author-name a:hover {
    color: #009246;
}

.author-bio {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.author-social {
    display: flex;
    gap: 10px;
}

.author-social a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    color: #666;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.author-social a:hover {
    background: #009246;
    color: white;
    transform: translateY(-2px);
}

/* Related News Section */
.related-news-section {
    margin: 30px 0 0;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 0;
}

.section-title {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title i {
    color: #009246;
    font-size: 1.6rem;
}

.related-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.related-news-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.related-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.news-card-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.news-card-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 146, 70, 0.95);
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.news-card-content {
    padding: 20px;
}

.news-card-content h4 {
    font-size: 1.1rem;
    line-height: 1.4;
    color: #1a1a1a;
    margin-bottom: 12px;
    font-weight: 700;
}

.news-card-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #999;
}

.news-card-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-card-meta i {
    color: #009246;
}

/* Comments Section - Modern Design */
.comments-section {
    margin-top: 30px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

/* WordPress Comments Styling */
#comments {
    margin: 0;
}

.comments-title,
.comment-reply-title {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 25px;
    padding: 20px 25px;
    background: linear-gradient(135deg, #009246 0%, #00b359 100%);
    color: white;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 4px 12px rgba(0, 146, 70, 0.2);
}

.comments-title i,
.comment-reply-title i {
    color: #FFD700;
    font-size: 1.5rem;
}

/* Comment List */
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
    background: white;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.comment-list .comment {
    margin: 0;
    padding: 25px;
    background: white;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
}

.comment-list .comment:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}

.comment-list .comment:last-child {
    border-bottom: none;
    border-radius: 0 0 12px 12px;
}

.comment-list .children {
    list-style: none;
    margin: 20px 0 0 40px;
    padding: 0;
    border-left: 3px solid #009246;
}

.comment-list .children .comment {
    background: #f8f9fa;
    border-left: none;
}

.comment-list .children .comment:hover {
    background: #e9ecef;
}

/* Comment Author */
.comment-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.comment-author .avatar {
    border-radius: 50%;
    border: 3px solid #009246;
    box-shadow: 0 4px 12px rgba(0, 146, 70, 0.3);
    transition: all 0.3s ease;
}

.comment-list .comment:hover .comment-author .avatar {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 146, 70, 0.4);
}

.comment-author .fn {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1a1a1a;
    font-style: normal;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment-author .fn::after {
    content: "✓";
    background: linear-gradient(135deg, #009246 0%, #00b359 100%);
    color: white;
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.comment-author .says {
    display: none;
}

/* Comment Meta */
.comment-metadata {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.comment-metadata a {
    color: #009246;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.comment-metadata a:hover {
    color: #CE2B37;
}

.comment-metadata::before {
    content: "📅";
    margin-right: 5px;
}

/* Comment Content */
.comment-content {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px;
    padding: 15px;
    background: rgba(0, 146, 70, 0.03);
    border-radius: 8px;
    border-left: 3px solid #009246;
}

.comment-content p {
    margin-bottom: 10px;
}

.comment-content p:last-child {
    margin-bottom: 0;
}

/* Comment Reply Link */
.comment-reply-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #009246 0%, #00b359 100%);
    color: white;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 146, 70, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comment-reply-link::before {
    content: "↩";
    font-size: 16px;
}

.comment-reply-link:hover {
    background: linear-gradient(135deg, #CE2B37 0%, #a01f2a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(206, 43, 55, 0.4);
}

/* Comment Form */
.comment-respond {
    background: white;
    padding: 30px;
    border-radius: 12px;
    margin-top: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.comment-form {
    display: grid;
    gap: 20px;
}

.comment-form-comment {
    grid-column: 1 / -1;
}

.comment-form p {
    margin: 0;
}

.comment-form label {
    display: block;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #009246;
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 146, 70, 0.1);
    transform: translateY(-2px);
}

.comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

/* Submit Button */
.comment-form .submit,
.comment-form input[type="submit"] {
    background: linear-gradient(135deg, #009246 0%, #00b359 100%);
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(0, 146, 70, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.comment-form .submit::after,
.comment-form input[type="submit"]::after {
    content: "→";
    font-size: 20px;
    transition: transform 0.3s ease;
}

.comment-form .submit:hover,
.comment-form input[type="submit"]:hover {
    background: linear-gradient(135deg, #CE2B37 0%, #a01f2a 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(206, 43, 55, 0.5);
}

.comment-form .submit:hover::after,
.comment-form input[type="submit"]:hover::after {
    transform: translateX(5px);
}

.comment-form .submit:active,
.comment-form input[type="submit"]:active {
    transform: translateY(-1px);
}

/* Form Notes */
.comment-notes,
.form-allowed-tags {
    font-size: 13px;
    color: #666;
    font-style: italic;
    margin-bottom: 15px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #009246;
}

.required {
    color: #CE2B37;
    font-weight: bold;
}

/* Logged In As */
.logged-in-as {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    padding: 12px;
    background: #e8f5e9;
    border-radius: 8px;
    border-left: 3px solid #009246;
}

.logged-in-as a {
    color: #009246;
    font-weight: 700;
}

/* Comment Awaiting Moderation */
.comment-awaiting-moderation {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
    color: #856404;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 14px;
    margin: 10px 0;
    border-left: 4px solid #ffc107;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comment-awaiting-moderation::before {
    content: "⏳";
    font-size: 18px;
}

/* No Comments */
.no-comments {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 16px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.no-comments::before {
    content: "💬";
    display: block;
    font-size: 48px;
    margin-bottom: 15px;
}

/* Comment Navigation */
.comment-navigation {
    display: flex;
    justify-content: space-between;
    margin: 25px 0;
    padding: 15px 0;
    border-top: 2px solid #f0f0f0;
    border-bottom: 2px solid #f0f0f0;
}

.comment-navigation a {
    color: #009246;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 20px;
}

.comment-navigation a:hover {
    color: white;
    background: #009246;
    transform: translateX(5px);
}

/* Responsive Comments */
@media (max-width: 768px) {
    .comments-section {
        padding: 0;
    }

    .comments-title,
    .comment-reply-title {
        font-size: 1.4rem;
        padding: 15px 20px;
    }

    .comment-list .comment {
        padding: 20px 15px;
    }

    .comment-list .children {
        margin-left: 20px;
    }

    .comment-author .avatar {
        width: 45px;
        height: 45px;
    }

    .comment-author .fn {
        font-size: 1rem;
    }

    .comment-content {
        font-size: 14px;
        padding: 12px;
    }

    .comment-respond {
        padding: 20px 15px;
    }

    .comment-form .submit,
    .comment-form input[type="submit"] {
        width: 100%;
        justify-content: center;
        padding: 14px 30px;
    }
}

/* News Sidebar */
.news-sidebar {
    position: sticky;
    top: 120px;
    align-self: start;
}

.sidebar-widget {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.widget-title {
    font-size: 1.2rem;
    color: #1a1a1a;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 3px solid #009246;
    display: flex;
    align-items: center;
    gap: 8px;
}

.widget-title i {
    color: #009246;
    font-size: 1.2rem;
}

/* Trending Widget */
.trending-widget {
    background: linear-gradient(135deg, #009246 0%, #00b359 100%);
    color: white;
    padding: 0;
    overflow: hidden;
}

.trending-widget .widget-title {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.3);
    padding: 20px;
    margin-bottom: 0;
}

.trending-widget .widget-title i {
    color: #FFD700;
}

.trending-news-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.trending-news-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.trending-news-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.trending-news-item:last-child {
    border-bottom: none;
}

.trending-number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.trending-thumb {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.trending-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.trending-news-item:hover .trending-thumb img {
    transform: scale(1.1);
}

.trending-content {
    flex: 1;
    min-width: 0;
}

.trending-title {
    display: block;
    color: white;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 6px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.trending-title:hover {
    color: #FFD700;
}

.trending-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.trending-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.trending-meta i {
    font-size: 11px;
}

/* Newsletter Widget */
.newsletter-widget {
    background: linear-gradient(135deg, #009246 0%, #00b359 100%);
    color: white;
    text-align: center;
}

.newsletter-content {
    padding: 5px;
}

.newsletter-icon {
    font-size: 3rem;
    color: #FFD700;
    margin-bottom: 15px;
}

.newsletter-content h4 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    font-size: 14px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-form input {
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
}

.newsletter-form button {
    background: #CE2B37;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.newsletter-form button:hover {
    background: #a01f2a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Ad Widget */
.ad-widget {
    background: #f0f0f0;
    border: 2px dashed #ccc;
}

.ad-placeholder {
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
}

.ad-placeholder i {
    font-size: 3rem;
    margin-bottom: 10px;
}

.ad-placeholder p {
    font-weight: 600;
    text-align: center;
    line-height: 1.6;
}

/* Latest News List */
.latest-news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.latest-news-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.latest-news-item:last-child {
    border-bottom: none;
}

.latest-news-thumb {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
}

.latest-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.latest-news-item:hover .latest-news-thumb img {
    transform: scale(1.1);
}

.latest-news-info {
    flex: 1;
}

.latest-news-title {
    color: #1a1a1a;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.5;
    display: block;
    margin-bottom: 6px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.latest-news-title:hover {
    color: #009246;
}

.latest-news-date {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 4px;
}

.latest-news-date i {
    color: #009246;
}

/* Categories List */
.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-list li {
    border-bottom: 1px solid #f0f0f0;
}

.categories-list li:last-child {
    border-bottom: none;
}

.categories-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.categories-list a:hover {
    color: #009246;
    transform: translateX(5px);
}

.category-name {
    flex: 1;
}

.category-count {
    background: #009246;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
}

.categories-list a:hover .category-count {
    background: #009246;
    color: white;
}

/* CTA Widget */
.cta-widget {
    background: linear-gradient(135deg, #009246 0%, #00b359 100%);
    color: white;
    text-align: center;
}

.cta-content {
    padding: 5px;
}

.cta-content i {
    font-size: 3rem;
    color: #FFD700;
    margin-bottom: 15px;
}

.cta-content h4 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    font-size: 14px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: #009246;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background: #CE2B37;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .news-article-layout {
        grid-template-columns: 1fr;
    }

    .news-sidebar {
        position: static;
    }

    .article-title {
        font-size: 2rem;
    }

    .article-featured-top img {
        height: 400px;
    }
}

@media (max-width: 768px) {

    /* Breaking News Ticker */
    .breaking-news-ticker {
        margin-top: 0;
        padding: 10px 0;
    }

    .ticker-wrapper {
        flex-direction: column;
        gap: 8px;
    }

    .ticker-label {
        width: 100%;
        justify-content: center;
        font-size: 12px;
        padding: 6px 15px;
    }

    .ticker-content {
        font-size: 13px;
    }

    /* News Article Layout */
    .news-article-page {
        padding: 0 0 40px;
    }

    .news-article-layout {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 10px;
    }

    /* Breadcrumb */
    .news-breadcrumb {
        font-size: 12px;
        padding: 10px 15px;
        flex-wrap: wrap;
        gap: 5px;
    }

    .breadcrumb-current {
        max-width: 200px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* Article */
    .news-article {
        padding: 0;
        border-radius: 0;
    }

    .article-header {
        padding: 15px;
    }

    .article-category {
        font-size: 11px;
        padding: 5px 12px;
        margin-bottom: 10px;
    }

    .article-title {
        font-size: 1.5rem;
        line-height: 1.3;
        margin: 10px 0 12px;
    }

    .article-meta {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 8px 12px;
        padding: 12px 0;
    }

    .meta-left {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        width: 100%;
    }

    .meta-item {
        font-size: 11px;
        white-space: nowrap;
    }

    .meta-right {
        width: 100%;
        justify-content: flex-start;
        gap: 8px;
        margin-top: 5px;
    }

    .article-action-btn {
        font-size: 11px;
        padding: 6px 12px;
    }

    /* Social Share Bar */
    .social-share-bar {
        flex-wrap: wrap;
        justify-content: center;
        padding: 12px 15px;
        gap: 8px;
    }

    /* Hide bottom social share to reduce clutter */
    .social-share-bottom {
        display: none;
    }

    .share-label {
        width: 100%;
        text-align: center;
        margin-bottom: 8px;
        font-size: 13px;
    }

    .share-btn {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }

    /* Featured Image */
    .article-featured-top {
        margin: 0;
        border-radius: 0;
    }

    .article-featured-top img {
        height: 250px;
    }

    /* Article Content */
    .article-content {
        padding: 15px;
        font-size: 16px;
        line-height: 1.7;
    }

    .article-content p {
        margin-bottom: 15px;
    }

    .article-content h2 {
        font-size: 1.3rem;
        margin: 20px 0 12px;
    }

    .article-content h3 {
        font-size: 1.1rem;
        margin: 18px 0 10px;
    }

    /* Tags */
    .article-tags {
        padding: 15px;
        flex-wrap: wrap;
    }

    .article-tags .tag {
        font-size: 11px;
        padding: 5px 10px;
    }

    /* Author Box - Compact Mobile Version */
    .author-box {
        flex-direction: row;
        text-align: left;
        padding: 15px;
        margin: 0;
        gap: 12px;
    }

    .author-avatar {
        margin: 0;
        flex-shrink: 0;
    }

    .author-avatar img {
        width: 50px;
        height: 50px;
    }

    .author-info {
        flex: 1;
        min-width: 0;
    }

    .author-name {
        font-size: 1rem;
        margin-bottom: 5px;
    }

    .author-bio {
        font-size: 13px;
        line-height: 1.4;
        margin-bottom: 8px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .author-social {
        justify-content: flex-start;
        gap: 8px;
    }

    .author-social a {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    /* Related News - More Compact */
    .related-news-section {
        padding: 15px;
        margin: 15px 0 0;
    }

    .section-title {
        font-size: 1.2rem;
        margin-bottom: 12px;
        padding-bottom: 10px;
    }

    .related-news-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .related-news-card {
        flex-direction: row;
        gap: 12px;
    }

    .news-card-image {
        width: 100px;
        height: 100px;
        flex-shrink: 0;
    }

    .news-card-content h4 {
        font-size: 14px;
        line-height: 1.4;
    }

    .news-card-meta {
        font-size: 11px;
    }

    /* Comments Section */
    .comments-section {
        padding: 20px 15px;
        margin-top: 20px;
    }

    .comments-title,
    .comment-reply-title {
        font-size: 1.3rem;
        margin-bottom: 15px;
        padding-bottom: 12px;
    }

    .comment-list .comment {
        padding: 15px;
        margin-bottom: 15px;
    }

    .comment-list .children {
        margin-left: 15px;
        margin-top: 15px;
    }

    .comment-author .avatar {
        width: 40px;
        height: 40px;
    }

    .comment-author .fn {
        font-size: 1rem;
    }

    .comment-content {
        font-size: 14px;
    }

    .comment-respond {
        padding: 15px;
    }

    .comment-form input[type="text"],
    .comment-form input[type="email"],
    .comment-form input[type="url"],
    .comment-form textarea {
        font-size: 14px;
        padding: 10px 14px;
    }

    .comment-form .submit,
    .comment-form input[type="submit"] {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
        font-size: 15px;
    }

    /* Sidebar */
    .news-sidebar {
        position: static;
        top: 0;
    }

    .sidebar-widget {
        padding: 15px;
        margin-bottom: 15px;
        border-radius: 8px;
    }

    .widget-title {
        font-size: 1.1rem;
        margin-bottom: 12px;
        padding-bottom: 10px;
    }

    /* Trending Widget */
    .trending-widget {
        border-radius: 8px;
    }

    .trending-widget .widget-title {
        padding: 15px;
    }

    .trending-news-item {
        padding: 12px 15px;
    }

    .trending-number {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }

    .trending-thumb {
        width: 50px;
        height: 50px;
    }

    .trending-title {
        font-size: 13px;
        line-height: 1.3;
    }

    .trending-meta {
        font-size: 11px;
    }

    /* Newsletter Widget */
    .newsletter-widget {
        border-radius: 8px;
    }

    .newsletter-content {
        padding: 5px;
    }

    .newsletter-content h4 {
        font-size: 1.2rem;
    }

    .newsletter-content p {
        font-size: 13px;
    }

    .newsletter-form input {
        font-size: 14px;
        padding: 10px 14px;
    }

    .newsletter-form button {
        padding: 10px 20px;
        font-size: 14px;
    }

    /* Latest News */
    .latest-news-item {
        padding: 10px 0;
    }

    .latest-news-thumb {
        width: 60px;
        height: 60px;
    }

    .latest-news-title {
        font-size: 13px;
        line-height: 1.4;
    }

    .latest-news-date {
        font-size: 11px;
    }

    /* Categories */
    .categories-list a {
        padding: 8px 0;
        font-size: 14px;
    }

    .category-count {
        font-size: 11px;
        padding: 3px 8px;
    }

    /* CTA Widget */
    .cta-widget {
        border-radius: 8px;
    }

    .cta-content h4 {
        font-size: 1.2rem;
    }

    .cta-content p {
        font-size: 13px;
    }

    .cta-btn {
        font-size: 14px;
        padding: 10px 20px;
    }

    /* Ad Widget */
    .ad-placeholder {
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .article-title {
        font-size: 1.3rem;
    }

    .article-featured-top img {
        height: 200px;
    }

    .article-content {
        font-size: 15px;
    }

    .social-share-bar {
        padding: 10px;
    }

    .share-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .trending-news-item {
        flex-wrap: wrap;
    }

    .trending-thumb {
        width: 100%;
        height: 150px;
        margin-top: 8px;
    }

    .related-news-card {
        flex-direction: column;
    }

    .news-card-image {
        width: 100%;
        height: 180px;
    }
}

@media (max-width: 480px) {
    .article-title {
        font-size: 1.5rem;
    }

    .article-content {
        font-size: 16px;
    }

    .social-share-bottom .share-btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    .article-featured-top img {
        height: 250px;
    }
}