/* ==========================================================================
   ECCR 2027 Sapphire Blue Design System - College of Business Education (CBE)
   Theme: Executive Oceanic & Cobalt Blue with Amber Gold Highlights
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

:root {
    /* Primary Blues */
    --eccr-primary: #1d4ed8;
    /* Cobalt / Royal Blue */
    --eccr-primary-dark: #1e3a8a;
    /* Deep Sapphire */
    --eccr-primary-light: #3b82f6;
    /* Bright Blue */
    --eccr-primary-subtle: #eff6ff;
    /* Ice Blue background */

    /* Navy / Oceanic Tones */
    --eccr-navy-midnight: #061224;
    /* Footer & Ultra Deep */
    --eccr-navy-dark: #0a192f;
    /* Executive Dark Navy */
    --eccr-navy-surface: #0f223f;
    /* Surface Dark */
    --eccr-slate: #334155;
    --eccr-slate-light: #64748b;
    --eccr-slate-subtle: #94a3b8;

    /* Cyan & Sky Accents */
    --eccr-cyan: #06b6d4;
    --eccr-sky: #0ea5e9;
    --eccr-sky-light: #e0f2fe;

    /* Academic Amber Gold Accents (for high-contrast CTA) */
    --eccr-accent-amber: #f59e0b;
    --eccr-accent-gold: #d97706;
    --eccr-accent-gold-light: #fef3c7;

    /* Surfaces & Layout */
    --eccr-body-bg: #f8fafc;
    --eccr-card-bg: #ffffff;
    --eccr-border: #e2e8f0;
    --eccr-border-blue: rgba(29, 78, 216, 0.15);

    /* Radii & Shadows */
    --eccr-radius-sm: 8px;
    --eccr-radius-md: 14px;
    --eccr-radius-lg: 22px;
    --eccr-shadow-sm: 0 2px 8px rgba(10, 25, 47, 0.04);
    --eccr-shadow-md: 0 8px 24px rgba(15, 34, 63, 0.08);
    --eccr-shadow-lg: 0 16px 36px rgba(15, 34, 63, 0.12);
    --eccr-shadow-hover: 0 22px 44px rgba(29, 78, 216, 0.18);

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* ==========================================================================
   Base Styles & Reset
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--eccr-slate);
    background-color: var(--eccr-body-bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: var(--font-heading);
    color: var(--eccr-navy-dark);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.25;
}

a {
    color: var(--eccr-primary);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

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

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

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.eccr-topbar {
    background: var(--eccr-navy-midnight);
    color: #94a3b8;
    font-size: 0.82rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.45rem 0;
}

.eccr-topbar a {
    color: #cbd5e1;
}

.eccr-topbar a:hover {
    color: var(--eccr-sky);
}

.eccr-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
    position: sticky;
    top: 0;
    z-index: 1050;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(10, 25, 47, 0.04);
}

.eccr-navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 30px rgba(15, 34, 63, 0.1);
    border-bottom-color: rgba(29, 78, 216, 0.12);
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 0.95rem;
    text-decoration: none;
}

.brand-logo-img {
    height: 80px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 8px rgba(10, 25, 47, 0.12));
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand-wrapper:hover .brand-logo-img {
    transform: scale(1.08) rotate(-1deg);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--eccr-navy-dark) !important;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.brand-tagline {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--eccr-primary);
    text-transform: uppercase;
}

/* Social Icon Buttons with Micro-Animations */
.social-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #cbd5e1 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.social-icon-btn:hover {
    transform: translateY(-2px) scale(1.15) rotate(4deg);
    color: #ffffff !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.social-icon-btn.twitter:hover {
    background: #000000;
    border-color: #333333;
}

.social-icon-btn.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #dc2743;
}

.social-icon-btn.youtube:hover {
    background: #FF0000;
    border-color: #FF0000;
}

.social-icon-btn.facebook:hover {
    background: #1877F2;
    border-color: #1877F2;
}

.social-icon-btn.linkedin:hover {
    background: #0A66C2;
    border-color: #0A66C2;
}

/* Facilitator / Person Avatar Image Circle */
.avatar-wrap {
    width: 130px;
    height: 130px;
    position: relative;
    display: inline-block;
}

.avatar-img-circle {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 4px solid #ffffff;
    box-shadow: 0 8px 24px rgba(10, 25, 47, 0.15);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    background-color: #e2e8f0;
}

.person-card:hover .avatar-img-circle {
    transform: scale(1.08);
    border-color: var(--eccr-accent-gold);
    box-shadow: 0 14px 30px rgba(29, 78, 216, 0.3);
}

/* Nav Menu Items */
.eccr-nav-menu {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 10px;
    padding: 10px;
    list-style: none;
}

.eccr-nav-menu>li>a,
.mod-menu>li>a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--eccr-navy-dark) !important;
    padding: 0.55rem 0.95rem !important;
    border-radius: 10px;
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-block;
}

.eccr-nav-menu>li>a:hover,
.mod-menu>li>a:hover {
    color: var(--eccr-primary) !important;
    background-color: var(--eccr-primary-subtle);
    transform: translateY(-1px);
}

.eccr-nav-menu>li.active>a,
.mod-menu>li.active>a,
.eccr-nav-menu>li.current>a,
.mod-menu>li.current>a {
    color: var(--eccr-primary) !important;
    background-color: rgba(29, 78, 216, 0.08);
    font-weight: 700;
}

/* Call for Applications highlight button in menu */
.eccr-nav-menu>li:last-child>a,
.mod-menu>li:last-child>a {
    background: linear-gradient(135deg, var(--eccr-accent-amber) 0%, var(--eccr-accent-gold) 100%);
    color: #ffffff !important;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    margin-left: 0.5rem;
}

.eccr-nav-menu>li:last-child>a:hover,
.mod-menu>li:last-child>a:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(245, 158, 11, 0.4);
}

/* Mobile Toggle */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--eccr-navy-dark);
    cursor: pointer;
    padding: 0.5rem;
}

/* ==========================================================================
   Hero Banner - Sapphire Oceanic Ambient Glow
   ========================================================================== */
.eccr-hero-banner {
    position: relative;
    background: linear-gradient(135deg, rgba(6, 18, 36, 0.94) 0%, rgba(10, 25, 47, 0.91) 45%, rgba(15, 34, 63, 0.88) 100%),
        url('/eccr-course/images/eccr/amani_forest_hero.jpg') center center / cover no-repeat;
    padding: 6.5rem 0 5.5rem;
    color: #ffffff;
    overflow: hidden;
    box-shadow: inset 0 -40px 80px rgba(6, 18, 36, 0.6);
}

.eccr-hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--eccr-accent-amber), var(--eccr-primary-light), var(--eccr-cyan), var(--eccr-accent-amber));
}

.eccr-hero-banner::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    right: -100px;
    top: -150px;
    background: radial-gradient(circle, rgba(29, 78, 216, 0.28) 0%, rgba(6, 182, 212, 0.15) 45%, transparent 70%);
    pointer-events: none;
}

.eccr-hero-badge-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.eccr-badge-cbe {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.4rem 1.1rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: #ffffff;
}

.eccr-badge-anfr {
    background: rgba(14, 165, 233, 0.22);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(56, 189, 248, 0.5);
    padding: 0.4rem 1.1rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--eccr-sky);
}

.eccr-hero-title {
    font-size: clamp(2.2rem, 4.8vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.035em;
    color: #ffffff;
    max-width: 920px;
    margin-bottom: 1rem;
    text-shadow: 0 4px 24px rgba(6, 18, 36, 0.45);
}

.eccr-hero-tagline {
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    font-weight: 600;
    color: var(--eccr-accent-amber);
    margin-bottom: 1.8rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.eccr-hero-meta {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.92);
}

.meta-item i {
    color: var(--eccr-accent-amber);
}

.eccr-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.eccr-hero-actions .btn {
    border-radius: 12px;
    padding: 0.85rem 1.85rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
}

.btn-warning {
    background: linear-gradient(135deg, var(--eccr-accent-amber) 0%, var(--eccr-accent-gold) 100%) !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
}

.btn-warning:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%) !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(245, 158, 11, 0.45);
    color: #ffffff !important;
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.65) !important;
    color: #ffffff !important;
    background: transparent !important;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(255, 255, 255, 0.18);
}

.btn-primary,
.btn-success {
    background: linear-gradient(135deg, var(--eccr-primary) 0%, var(--eccr-primary-dark) 100%) !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(29, 78, 216, 0.3);
}

.btn-primary:hover,
.btn-success:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%) !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(29, 78, 216, 0.4);
    color: #ffffff !important;
}

/* ==========================================================================
   Section Dividers & Headers
   ========================================================================== */
.accent-line {
    width: 64px;
    height: 4px;
    background: linear-gradient(90deg, var(--eccr-primary), var(--eccr-cyan));
    border-radius: 2px;
    margin: 1rem 0;
}

.accent-line.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.tracking-wide {
    letter-spacing: 0.12em;
    font-size: 0.82rem;
}

.max-w-750 {
    max-width: 750px;
}

/* Section Header standard */
.section-header {
    text-align: center;
    margin-bottom: 2.8rem;
}

.section-header .text-success,
.section-header .text-primary {
    color: var(--eccr-primary) !important;
}

/* Override dark forest to rich oceanic navy */
.bg-dark-forest {
    background: linear-gradient(145deg, var(--eccr-navy-midnight) 0%, var(--eccr-navy-surface) 100%) !important;
    box-shadow: inset 0 20px 40px rgba(0, 0, 0, 0.25);
}

/* Soft blue highlight borders & text overrides */
.text-success {
    color: var(--eccr-primary) !important;
}

.border-success,
.border-success-subtle {
    border-color: var(--eccr-border-blue) !important;
}

.bg-success {
    background-color: var(--eccr-primary) !important;
}

.bg-success-subtle,
.bg-success.bg-opacity-10,
.bg-success.bg-opacity-25 {
    background-color: var(--eccr-primary-subtle) !important;
    color: var(--eccr-primary) !important;
}

/* ==========================================================================
   News & Calls Section (mod_articles_category)
   ========================================================================== */
.container-main-top {
    padding: 4.5rem 0 3rem;
    background-color: #ffffff;
}

.mod-articlescategory-items,
.category-module {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
    gap: 2rem !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.eccr-news-tile,
.mod-articlescategory-items>li,
.category-module>li {
    background: #ffffff;
    border-radius: var(--eccr-radius-md);
    border: 1px solid var(--eccr-border);
    box-shadow: var(--eccr-shadow-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.eccr-news-tile:hover,
.mod-articlescategory-items>li:hover,
.category-module>li:hover {
    transform: translateY(-6px);
    box-shadow: var(--eccr-shadow-hover);
    border-color: rgba(29, 78, 216, 0.3);
}

.mod-articlescategory-introimage,
.category-module .item-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #e2e8f0;
}

.mod-articlescategory-introimage img,
.category-module .item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.eccr-news-tile:hover img,
.mod-articlescategory-items>li:hover img {
    transform: scale(1.06);
}

.eccr-tile-date-badge {
    position: absolute;
    bottom: 12px;
    left: 14px;
    background: rgba(10, 25, 47, 0.88);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.18);
    z-index: 2;
}

.eccr-tile-category .badge {
    background-color: var(--eccr-primary-subtle) !important;
    color: var(--eccr-primary) !important;
    border: 1px solid rgba(29, 78, 216, 0.2);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
}

.mod-articlescategory-content {
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.mod-articlescategory-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.75rem;
}

.mod-articlescategory-title a {
    color: var(--eccr-navy-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.mod-articlescategory-title a:hover {
    color: var(--eccr-primary);
}

.mod-articlescategory-introtext {
    font-size: 0.95rem;
    color: var(--eccr-slate);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.mod-articlescategory-readmore {
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid #f1f5f9;
}

.btn-readmore {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--eccr-primary) !important;
    text-decoration: none;
    transition: all 0.25s ease;
    padding: 0.4rem 0;
}

.btn-readmore:hover {
    color: var(--eccr-sky) !important;
    transform: translateX(4px);
}

/* ==========================================================================
   Course Theme Cards (Core Thematic Pillars)
   ========================================================================== */
.theme-card {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid var(--eccr-border) !important;
    background: #ffffff;
}

.theme-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--eccr-shadow-hover) !important;
    border-color: rgba(29, 78, 216, 0.25) !important;
}

.theme-icon {
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.theme-link {
    text-decoration: none;
    transition: transform 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.theme-link:hover {
    transform: translateX(4px);
}

/* ==========================================================================
   Facilitators / People Cards
   ========================================================================== */
.person-card {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    background: #ffffff;
    border: 1px solid var(--eccr-border);
}

.person-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--eccr-shadow-md);
    border-color: rgba(29, 78, 216, 0.3);
}

.avatar-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(10, 25, 47, 0.12);
}

/* ==========================================================================
   Dedicated Article View / Page Container
   ========================================================================== */
.item-page {
    background: #ffffff;
    padding: 3.5rem;
    border-radius: var(--eccr-radius-md);
    box-shadow: var(--eccr-shadow-sm);
    border: 1px solid var(--eccr-border);
    margin: 2.5rem 0 4rem;
}

.item-page .page-header h1,
.item-page .page-header h2 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: var(--eccr-navy-dark);
    line-height: 1.25;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
}

.item-page .article-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--eccr-border);
    font-size: 0.9rem;
    color: var(--eccr-slate-light);
}

.item-page .article-info dd {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.item-page .item-image {
    margin-bottom: 2rem;
    border-radius: var(--eccr-radius-md);
    overflow: hidden;
    box-shadow: var(--eccr-shadow-md);
}

.item-page .item-image img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
}

.item-page p {
    font-size: 1.08rem;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 1.5rem;
}

.item-page h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--eccr-primary-dark);
    margin-top: 2.25rem;
    margin-bottom: 1rem;
}

.item-page ul,
.item-page ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.75;
}

/* Category Blog View */
.blog {
    margin: 2.5rem 0 4rem;
}

.blog .page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--eccr-navy-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.blog-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.blog-item {
    background: #ffffff;
    border-radius: var(--eccr-radius-md);
    border: 1px solid var(--eccr-border);
    padding: 1.5rem;
    box-shadow: var(--eccr-shadow-sm);
    transition: all 0.3s ease;
}

.blog-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--eccr-shadow-hover);
}

/* Breadcrumbs */
.eccr-breadcrumbs-wrap {
    background: #ffffff;
    border-bottom: 1px solid var(--eccr-border);
    padding: 0.85rem 0;
}

.breadcrumb {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    font-size: 0.88rem;
    align-items: center;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: "\f054";
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.65rem;
    color: var(--eccr-slate-subtle);
    padding: 0 0.6rem;
}

.breadcrumb-item a {
    color: var(--eccr-primary);
    font-weight: 600;
}

.breadcrumb-item.active {
    color: var(--eccr-slate-light);
}

/* ==========================================================================
   Footer - Oceanic Navy Deep
   ========================================================================== */
.eccr-footer-wrapper {
    background: var(--eccr-navy-midnight);
    color: #94a3b8;
    position: relative;
    border-top: 4px solid var(--eccr-primary);
}

.eccr-footer-wrapper h3,
.eccr-footer-wrapper h4,
.eccr-footer-wrapper h5 {
    color: #ffffff;
}

.footer-brand h3 {
    letter-spacing: -0.02em;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 0.65rem;
}

.footer-links-list li a {
    color: #cbd5e1 !important;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.footer-links-list li a:hover {
    color: var(--eccr-sky) !important;
    transform: translateX(3px);
}

.footer-links-list li a i {
    color: var(--eccr-cyan);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 0;
    font-size: 0.86rem;
    color: #64748b;
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 48px;
    height: 48px;
    background: var(--eccr-primary);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 6px 20px rgba(29, 78, 216, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    cursor: pointer;
    border: none;
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    background: var(--eccr-primary-dark);
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(29, 78, 216, 0.5);
}

/* Hide empty component view on homepage */
.view-featured .container-component>main {
    display: none !important;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .mobile-nav-toggle {
        display: block;
    }

    .eccr-nav-container {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        border-bottom: 1px solid var(--eccr-border);
        box-shadow: 0 16px 32px rgba(10, 25, 47, 0.12);
        padding: 1.5rem;
    }

    .eccr-nav-container.open {
        display: block;
    }

    .eccr-nav-menu,
    .mod-menu {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 0.4rem;
    }

    .eccr-nav-menu>li,
    .mod-menu>li {
        width: 100%;
    }

    .eccr-nav-menu>li>a,
    .mod-menu>li>a {
        width: 100%;
        display: block;
        padding: 0.75rem 1rem !important;
    }

    .eccr-nav-menu>li:last-child>a,
    .mod-menu>li:last-child>a {
        margin-left: 0;
        margin-top: 0.5rem;
        text-align: center;
    }

    .eccr-hero-banner {
        padding: 4.5rem 0 3.5rem;
    }

    .item-page {
        padding: 1.75rem;
    }
}