/*
 *   Conjured Upon This Day, Tue Apr 07 2026
 *
 *   From his finger tips, through his IDE to your deployment environment at full throttle with no bugs, loss of data,
 *   fluctuations, signal interference, or doubt—it can only be
 *
 *   ███╗   ███╗ ██████╗ ██████╗ ████████╗██╗███╗   ██╗
 *   ████╗ ████║██╔═══██╗██╔══██╗╚══██╔══╝██║████╗  ██║
 *   ██╔████╔██║███████║║██████╔╝   ██║   ██║██╔██╗ ██║
 *   ██║╚██╔╝██║██╔══██║ ██╔══██╗   ██║   ██║██║╚██╗██║
 *   ██║ ╚═╝ ██║██║  ██║ ██║  ██║   ██║   ██║██║ ╚████║
 *   ╚═╝     ╚═╝╚═╝  ╚═╝ ╚═╝  ╚═╝   ╚═╝   ╚═╝╚═╝  ╚═══╝
 *   M B I T H I — The Legendary Coding Wizard 
 *
 *   📧  martin.mbithi@makueni.go.ke
 *   🌐  www.martmbithi.github.io
 *   🐙  https://github.com/MartMbithi
 *
 *   If this code works, you're welcome.
 *   If it doesn't, it's a feature you haven't understood yet.
 *
 *   
 *   ┌─────────────────────────────────────────────────────────────┐
 *   │          GOVERNMENT OF MAKUENI COUNTY                       │
 *   │          Applications Development Section                   │
 *   │          www.makueni.go.ke | info@makueni.go.ke             │
 *   └─────────────────────────────────────────────────────────────┘
 *
 *   THE GOVERNMENT OF MAKUENI COUNTY
 *   Applications Development Section End-User License Agreement
 *   Copyright (c) 2023 Government of Makueni County
 *   All Rights Reserved.
 *
 *
 *   § 1. GRANT OF LICENSE
 *
 *   This software, designed and engineered by Martin Mbithi on behalf
 *   of the Government of Makueni County Applications Development
 *   Section, is licensed — not sold — to you. You are hereby granted
 *   a revocable, personal, non-exclusive, and non-transferable right
 *   to install and operate this system on ONE (1) authorized government
 *   workstation for official, non-commercial use only.
 *
 *   Commercial deployment requires a separate written license agreement.
 *   Unauthorized sharing, distribution, or public demonstration of this
 *   software is strictly prohibited. If you're thinking about it,
 *   don't. The paperwork alone would ruin your week.
 *
 *
 *   § 2. INTELLECTUAL PROPERTY
 *
 *   This software is the intellectual property of the Government of
 *   Makueni County, engineered by Martin Mbithi under the authority of
 *   the Applications Development Section. It is protected by the
 *   Copyright Act of Kenya, applicable international treaties, and the
 *   quiet determination of people who actually read license agreements.
 *
 *   You shall not remove, alter, or obscure any proprietary notices,
 *   labels, or marks contained within the software. They were placed
 *   there with intention. Respect them accordingly.
 *
 *
 *   § 3. RESTRICTIONS
 *
 *   You shall not, nor shall you permit any third party to:
 *
 *   (a) reverse engineer, decompile, decode, decrypt, disassemble, or
 *       otherwise attempt to derive the source code of this software.
 *       Curiosity is admirable. This is not the place for it;
 *
 *   (b) modify, adapt, distribute, or create derivative works based
 *       upon this software, in whole or in part;
 *
 *   (c) copy (except for one reasonable backup), distribute, publicly
 *       display, transmit, sell, rent, lease, sublicense, or otherwise
 *       exploit the software. It belongs to Makueni County.
 *       You are a guest. A welcome one, but still a guest.
 *
 *
 *   § 4. TERMINATION
 *
 *   This License remains in effect until terminated by either party.
 *   You may terminate at any time by destroying the software and all
 *   copies in your possession. The County may terminate this License
 *   immediately upon breach of any term herein.
 *
 *   Upon termination, all copies shall be destroyed. No exceptions,
 *   no 'I forgot it was on that flash drive.' That flash drive too.
 *
 *
 *   § 5. DISCLAIMER OF WARRANTIES
 *
 *   THIS SOFTWARE IS PROVIDED 'AS IS' WITHOUT WARRANTY OF ANY KIND,
 *   EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
 *   WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE,
 *   AND NON-INFRINGEMENT.
 *
 *   The Applications Development Section has made every reasonable
 *   effort to ensure reliability, but software, much like government
 *   policy, may occasionally behave in unexpected ways. Use is at
 *   your own risk. Some jurisdictions may afford additional statutory
 *   rights.
 *
 *
 *   § 6. SEVERABILITY
 *
 *   If any provision of this Agreement is held to be invalid or
 *   unenforceable by a court of competent jurisdiction, the remaining
 *   provisions shall continue in full force and effect. One clause
 *   may fall. The rest stand. Much like county infrastructure
 *   during the long rains.
 *
 *
 *   § 7. LIMITATION OF LIABILITY
 *
 *   IN NO EVENT SHALL MARTIN MBITHI, THE GOVERNMENT OF MAKUENI
 *   COUNTY, THE APPLICATIONS DEVELOPMENT SECTION, OR THEIR
 *   RESPECTIVE OFFICERS, EMPLOYEES, OR AGENTS BE LIABLE FOR ANY
 *   INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL, OR EXEMPLARY
 *   DAMAGES ARISING OUT OF OR IN CONNECTION WITH THE USE OF THIS
 *   SOFTWARE.
 *
 *   Total liability shall not exceed the license fee paid, if any.
 *   If the amount is zero, we trust you see where the math lands.
 *   No drama. Just governance, code, and service delivery.
 *
 */
:root {
    /* Brand */
    --mkn-blue: #2B5EA7;
    --mkn-blue-dark: #1E4578;
    --mkn-blue-light: #EBF0FA;
    --mkn-blue-mid: #3A7BD5;
    --mkn-green: #1B7A3D;
    --mkn-green-dark: #145C2E;
    --mkn-green-light: #E8F5EE;
    --mkn-green-mid: #28A050;
    --mkn-gold: #E8B625;
    --mkn-gold-dark: #B8900A;
    --mkn-gold-light: #FDF6DC;
    --mkn-gold-mid: #F5D060;
    --mkn-red: #C0392B;
    --mkn-red-light: #FDECEA;
    --mkn-red-mid: #E74C3C;

    /* Neutrals */
    --mkn-white: #FFFFFF;
    --mkn-gray-50: #F8F9FC;
    --mkn-off-white: #F6F7F9;
    --mkn-gray-100: #F0F2F5;
    --mkn-gray-200: #DDE1E7;
    --mkn-gray-300: #B0B7C3;
    --mkn-gray-600: #5A6275;
    --mkn-gray-700: #7a8099;
    --mkn-gray-800: #2D3142;
    --mkn-text: #1D2232;

    /* Radii */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --mkn-radius: var(--radius-sm);

    /* Shadows */
    --shadow-sm: 0 1px 4px rgba(0, 0, 0, .07);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, .10);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, .12);
    --mkn-shadow: var(--shadow-sm);
    --mkn-shadow-md: var(--shadow-md);
    --mkn-shadow-lg: var(--shadow-lg);

    /* Motion */
    --mkn-transition: 0.2s ease;
}


/* ============================================================
   BASE
   ============================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans 3', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--mkn-text);
    background: var(--mkn-gray-50);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--mkn-gray-800);
    line-height: 1.3;
}

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

a:hover {
    color: var(--mkn-blue-dark);
}


/* ============================================================
   TOP BAR
   ============================================================ */
.mkn-topbar {
    background: var(--mkn-blue-dark);
    color: rgba(255, 255, 255, .85);
    font-size: .8rem;
    padding: 6px 0;
    letter-spacing: .02em;
}

.mkn-topbar a {
    color: rgba(255, 255, 255, .85);
}

.mkn-topbar a:hover {
    color: var(--mkn-gold);
}

.mkn-topbar i {
    color: var(--mkn-gold);
    margin-right: 4px;
}


/* ============================================================
   NAVBAR
   ============================================================ */
.mkn-navbar {
    background: var(--mkn-white);
    border-bottom: 3px solid var(--mkn-blue);
    box-shadow: var(--shadow-sm);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1050;
}

.mkn-navbar .navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--mkn-blue-dark);
    font-size: 1rem;
    padding: 8px 0;
}

.mkn-navbar .navbar-brand img {
    height: 48px;
    width: auto;
}

.mkn-navbar .navbar-brand span {
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    line-height: 1.3;
    color: var(--mkn-gray-800);
}

.mkn-navbar .nav-link {
    font-weight: 600;
    font-size: .88rem;
    color: var(--mkn-gray-600);
    padding: 16px 18px !important;
    letter-spacing: .01em;
    position: relative;
    transition: color var(--mkn-transition);
}

.mkn-navbar .nav-link:hover,
.mkn-navbar .nav-link.active {
    color: var(--mkn-blue);
}

.mkn-navbar .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 18px;
    right: 18px;
    height: 3px;
    background: var(--mkn-gold);
    border-radius: 3px 3px 0 0;
}


/* ============================================================
   PAGE HEADERS
   Two variants: gradient (analytics/inner pages) and flat blue
   ============================================================ */

/* ── Gradient header (analytics + all inner pages) ── */
.mkn-page-header {
    background: linear-gradient(135deg, #1c3f78 0%, var(--mkn-blue) 55%, var(--mkn-green) 100%);
    padding: 36px 0 28px;
    color: var(--mkn-white);
    position: relative;
    overflow: hidden;
}

.mkn-page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.mkn-page-header h1 {
    color: var(--mkn-white);
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: 4px;
}

.mkn-page-header .breadcrumb {
    margin: 0;
}

.mkn-page-header .breadcrumb-item,
.mkn-page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, .75);
    font-size: .85rem;
}

.mkn-page-header .breadcrumb-item.active {
    color: var(--mkn-white);
}

.mkn-page-header .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, .4);
}

/* Header pill badges (used in page headers & hero) */
.hdr-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 999px;
    padding: 4px 14px;
    font-size: .78rem;
    font-weight: 600;
    color: var(--mkn-white);
    backdrop-filter: blur(4px);
}


/* ============================================================
   HERO / CAROUSEL
   ============================================================ */
.mkn-hero {
    position: relative;
    overflow: hidden;
}

.mkn-hero .carousel-item {
    height: 420px;
}

.mkn-hero .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.55);
}

.mkn-hero .carousel-caption {
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 15%;
    background: linear-gradient(to top, rgba(30, 69, 120, .85) 0%, rgba(30, 69, 120, .4) 100%);
}

.mkn-hero .carousel-caption h2 {
    color: var(--mkn-white);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .3);
}

.mkn-hero .carousel-caption p {
    color: rgba(255, 255, 255, .9);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 20px;
}

.mkn-hero .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--mkn-white);
    background: transparent;
    opacity: .7;
}

.mkn-hero .carousel-indicators .active {
    background: var(--mkn-gold);
    border-color: var(--mkn-gold);
    opacity: 1;
}

.mkn-hero-cta {
    display: inline-block;
    background: var(--mkn-gold);
    color: var(--mkn-gray-800);
    font-weight: 700;
    padding: 10px 28px;
    border-radius: var(--radius-sm);
    font-size: .9rem;
    transition: all var(--mkn-transition);
}

.mkn-hero-cta:hover {
    background: var(--mkn-gold-mid);
    color: var(--mkn-gray-800);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(232, 182, 37, .4);
}


/* ============================================================
   STATS BAR
   ============================================================ */
.mkn-stats-bar {
    background: var(--mkn-blue-dark);
    padding: 24px 0;
    margin-top: -1px;
}

.mkn-stat-item {
    text-align: center;
    color: var(--mkn-white);
    padding: 10px 16px;
}

.mkn-stat-item .stat-number {
    font-size: 2rem;
    font-weight: 800;
    display: block;
    line-height: 1.1;
    color: var(--mkn-gold);
    letter-spacing: -.02em;
}

.mkn-stat-item .stat-label {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    opacity: .85;
    margin-top: 4px;
}


/* ============================================================
   GENERIC SECTION
   ============================================================ */
.mkn-section {
    padding: 48px 0;
}

.analytics-body {
    padding: 32px 0 56px;
}

.section-sep {
    border: none;
    border-top: 1.5px solid #eaecf4;
    margin: 32px 0 28px;
}

/* Icon + title + sub block */
.mkn-section-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.mkn-section-heading .heading-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.mkn-section-heading h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--mkn-gray-800);
    margin: 0;
    letter-spacing: -.01em;
}

.mkn-section-heading p {
    font-size: .78rem;
    color: var(--mkn-gray-700);
    margin: 0;
}

/* Legacy section title (home page about block) */
.mkn-section-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--mkn-blue-dark);
    margin-bottom: 6px;
    display: inline-block;
    position: relative;
}

.mkn-section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--mkn-gold);
    margin-top: 8px;
    border-radius: 2px;
}

.mkn-section-subtitle {
    color: var(--mkn-gray-600);
    font-size: .95rem;
    margin-bottom: 28px;
}


/* ============================================================
   KPI CARDS
   ============================================================ */
.mkn-kpi-card {
    background: var(--mkn-white);
    border-radius: var(--radius-lg);
    padding: 20px 18px 16px;
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 3px;
    border-top: 3px solid transparent;
    transition: box-shadow .2s, transform .2s;
    position: relative;
    overflow: hidden;
}

.mkn-kpi-card::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    opacity: .06;
}

.mkn-kpi-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.mkn-kpi-card.blue {
    border-top-color: var(--mkn-blue);
}

.mkn-kpi-card.blue::after {
    background: var(--mkn-blue);
}

.mkn-kpi-card.green {
    border-top-color: var(--mkn-green);
}

.mkn-kpi-card.green::after {
    background: var(--mkn-green);
}

.mkn-kpi-card.gold {
    border-top-color: var(--mkn-gold);
}

.mkn-kpi-card.gold::after {
    background: var(--mkn-gold);
}

.mkn-kpi-card.red {
    border-top-color: var(--mkn-red);
}

.mkn-kpi-card.red::after {
    background: var(--mkn-red);
}

.mkn-kpi-label {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 2px;
}

.mkn-kpi-card.blue .mkn-kpi-label {
    color: var(--mkn-blue);
}

.mkn-kpi-card.green .mkn-kpi-label {
    color: var(--mkn-green);
}

.mkn-kpi-card.gold .mkn-kpi-label {
    color: var(--mkn-gold-dark);
}

.mkn-kpi-card.red .mkn-kpi-label {
    color: var(--mkn-red);
}

.mkn-kpi-icon {
    font-size: 1.5rem;
    line-height: 1;
    margin-bottom: 4px;
}

.mkn-kpi-card.blue .mkn-kpi-icon {
    color: var(--mkn-blue);
}

.mkn-kpi-card.green .mkn-kpi-icon {
    color: var(--mkn-green);
}

.mkn-kpi-card.gold .mkn-kpi-icon {
    color: var(--mkn-gold);
}

.mkn-kpi-card.red .mkn-kpi-icon {
    color: var(--mkn-red);
}

.mkn-kpi-value {
    font-size: 1.65rem;
    font-weight: 900;
    color: var(--mkn-gray-800);
    line-height: 1.1;
    letter-spacing: -.02em;
}

.mkn-kpi-sub {
    font-size: .72rem;
    color: var(--mkn-gray-700);
}

.mkn-kpi-split {
    font-size: .72rem;
    color: var(--mkn-gray-700);
    margin-top: 4px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.mkn-kpi-split span {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.mkn-kpi-split .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}


/* ============================================================
   CARDS
   ============================================================ */
.mkn-card {
    background: var(--mkn-white);
    border: 1px solid var(--mkn-gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--mkn-transition), transform var(--mkn-transition);
    overflow: hidden;
}

.mkn-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.mkn-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.mkn-card-icon.blue {
    background: rgba(43, 94, 167, .10);
    color: var(--mkn-blue);
}

.mkn-card-icon.green {
    background: rgba(27, 122, 61, .10);
    color: var(--mkn-green);
}

.mkn-card-icon.gold {
    background: rgba(232, 182, 37, .15);
    color: var(--mkn-gold-dark);
}

.mkn-card-icon.red {
    background: rgba(192, 57, 43, .10);
    color: var(--mkn-red);
}


/* ============================================================
   CHART CARDS
   ============================================================ */
.mkn-chart-card {
    background: var(--mkn-white);
    border: 1px solid var(--mkn-gray-200);
    border-radius: var(--radius-lg);
    padding: 22px 22px 16px;
    box-shadow: var(--shadow-sm);
}

.mkn-chart-card .card-title {
    font-size: .9rem;
    font-weight: 800;
    color: var(--mkn-gray-800);
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mkn-chart-card .card-title i {
    font-size: 1rem;
}

.mkn-chart-card h5 {
    font-size: .95rem;
    font-weight: 700;
    color: var(--mkn-gray-800);
    margin-bottom: 4px;
}

.mkn-chart-card .card-sub,
.mkn-chart-card .chart-subtitle {
    font-size: .78rem;
    color: var(--mkn-gray-700);
    margin-bottom: 14px;
}

.leaflet-control.info.legend {
    background: rgba(255, 255, 255, .95);
    padding: 10px 14px;
    border-radius: 8px;
    font-size: .78rem;
    line-height: 1.9;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}


/* ============================================================
   DARK GRADIENT PANELS (info/AI/CTA)
   ============================================================ */
.mkn-dark-panel {
    background: linear-gradient(135deg, #0f2a5e 0%, #1c3f78 100%);
    border-radius: var(--radius-lg);
    padding: 28px;
    color: var(--mkn-white);
    position: relative;
    overflow: hidden;
}

.mkn-dark-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.mkn-dark-panel>* {
    position: relative;
}

.mkn-dark-panel h4,
.mkn-dark-panel h5,
.mkn-dark-panel h6 {
    color: var(--mkn-white);
}

.mkn-dark-panel p {
    color: rgba(255, 255, 255, .75);
}

/* Green panel variant */
.mkn-green-panel {
    background: linear-gradient(135deg, #0d4a22 0%, var(--mkn-green) 100%);
    border-radius: var(--radius-lg);
    padding: 28px;
    color: var(--mkn-white);
}

.mkn-green-panel h4,
.mkn-green-panel h5,
.mkn-green-panel h6 {
    color: var(--mkn-white);
}

.mkn-green-panel p {
    color: rgba(255, 255, 255, .8);
}

/* AI badge */
.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 999px;
    padding: 3px 12px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .05em;
    color: var(--mkn-white);
}

/* AI insight cards */
.mkn-insight-card {
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    backdrop-filter: blur(4px);
    height: 100%;
}

.mkn-insight-card .ic-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    background: rgba(255, 255, 255, .15);
}

.mkn-insight-card h6 {
    font-size: .82rem;
    font-weight: 800;
    margin-bottom: 4px;
    color: var(--mkn-white);
}

.mkn-insight-card p {
    font-size: .77rem;
    color: rgba(255, 255, 255, .78);
    margin: 0;
    line-height: 1.5;
}

.ic-green .ic-icon {
    background: rgba(27, 122, 61, .35);
    color: #6fe89e;
}

.ic-red .ic-icon {
    background: rgba(192, 57, 43, .35);
    color: #f5a89a;
}

.ic-yellow .ic-icon {
    background: rgba(232, 182, 37, .25);
    color: #f5d060;
}

.ic-blue .ic-icon {
    background: rgba(43, 94, 167, .35);
    color: #91b4f0;
}


/* ============================================================
   FILTER PANEL (sticky)
   ============================================================ */
.mkn-filter-panel {
    background: var(--mkn-white);
    border-bottom: 1px solid #e4e8f0;
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

.mkn-filter-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: center;
    gap: 10px;
}

.mkn-filter-group {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mkn-filter-group label {
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--mkn-gray-700);
}

.mkn-filter-group .form-select {
    border: 1.5px solid #dde2f0;
    border-radius: var(--radius-md);
    font-size: .845rem;
    padding: 7px 32px 7px 12px;
    color: var(--mkn-gray-800);
    background-color: var(--mkn-gray-50);
    transition: border-color .15s, box-shadow .15s;
    min-width: 165px;
}

.mkn-filter-group .form-select:focus {
    border-color: var(--mkn-blue);
    box-shadow: 0 0 0 3px rgba(43, 94, 167, .12);
    outline: none;
}

.mkn-filter-label {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--mkn-gray-700);
    white-space: nowrap;
    align-self: flex-end;
    margin-bottom: 8px;
}

.mkn-filter-divider {
    width: 1px;
    height: 32px;
    background: #e4e8f0;
    margin: 0 4px;
    align-self: flex-end;
    margin-bottom: 4px;
}

.mkn-filter-clear {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--mkn-red-light);
    color: var(--mkn-red);
    border: 1.5px solid #f5c6c2;
    border-radius: var(--radius-md);
    padding: 7px 14px;
    font-size: .845rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s;
    align-self: flex-end;
}

.mkn-filter-clear:hover {
    background: #fbd7d4;
    color: var(--mkn-red);
}

.mkn-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.mkn-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--mkn-blue-light);
    color: var(--mkn-blue);
    border: 1px solid #c8d8f5;
    border-radius: 999px;
    padding: 3px 10px 3px 8px;
    font-size: .775rem;
    font-weight: 600;
}

.mkn-filter-chip i {
    font-size: .7rem;
}


/* ============================================================
   FORM CARD
   ============================================================ */
.mkn-form-card {
    background: var(--mkn-white);
    border: 1px solid var(--mkn-gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.mkn-form-card .form-label {
    font-weight: 600;
    font-size: .85rem;
    color: var(--mkn-gray-800);
    margin-bottom: 6px;
}

.mkn-form-card .form-control,
.mkn-form-card .form-select {
    border: 1.5px solid var(--mkn-gray-200);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    font-size: .9rem;
    transition: border-color var(--mkn-transition), box-shadow var(--mkn-transition);
    background-color: var(--mkn-gray-50);
}

.mkn-form-card .form-control:focus,
.mkn-form-card .form-select:focus {
    border-color: var(--mkn-blue);
    box-shadow: 0 0 0 3px rgba(43, 94, 167, .12);
    background-color: var(--mkn-white);
}

.mkn-form-card textarea.form-control {
    min-height: 130px;
    resize: vertical;
}

/* Anonymous checkbox area */
.mkn-anon-box {
    background: var(--mkn-gold-light);
    border: 1.5px solid var(--mkn-gold-mid);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.mkn-anon-box input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--mkn-gold-dark);
    cursor: pointer;
}

.mkn-anon-box label {
    font-size: .88rem;
    font-weight: 600;
    color: var(--mkn-gray-800);
    cursor: pointer;
}

.mkn-anon-box .anon-note {
    font-size: .78rem;
    color: var(--mkn-gray-600);
    margin: 2px 0 0;
}


/* ============================================================
   PARTICIPATION TYPE ROW
   ============================================================ */
.mkn-participation-type {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
}

.mkn-participation-type h6 {
    font-size: .93rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.mkn-participation-type p {
    font-size: .84rem;
    color: var(--mkn-gray-600);
    margin: 0;
    line-height: 1.5;
}


/* ============================================================
   BUTTONS
   ============================================================ */
.btn-mkn-primary {
    background: var(--mkn-blue);
    color: var(--mkn-white);
    border: none;
    font-weight: 700;
    font-size: .9rem;
    padding: 10px 28px;
    border-radius: var(--radius-md);
    transition: all var(--mkn-transition);
}

.btn-mkn-primary:hover {
    background: var(--mkn-blue-dark);
    color: var(--mkn-white);
    box-shadow: 0 4px 12px rgba(43, 94, 167, .3);
}

.btn-mkn-gold {
    background: var(--mkn-gold);
    color: var(--mkn-gray-800);
    border: none;
    font-weight: 700;
    font-size: .9rem;
    padding: 10px 28px;
    border-radius: var(--radius-md);
    transition: all var(--mkn-transition);
}

.btn-mkn-gold:hover {
    background: var(--mkn-gold-mid);
    color: var(--mkn-gray-800);
}

.btn-mkn-outline {
    background: transparent;
    color: var(--mkn-blue);
    border: 2px solid var(--mkn-blue);
    font-weight: 700;
    font-size: .9rem;
    padding: 8px 24px;
    border-radius: var(--radius-md);
    transition: all var(--mkn-transition);
}

.btn-mkn-outline:hover {
    background: var(--mkn-blue);
    color: var(--mkn-white);
}

.btn-mkn-white {
    background: var(--mkn-white);
    color: var(--mkn-blue-dark);
    border: none;
    font-weight: 700;
    font-size: .9rem;
    padding: 10px 24px;
    border-radius: var(--radius-md);
    transition: all var(--mkn-transition);
}

.btn-mkn-white:hover {
    background: var(--mkn-gray-100);
    color: var(--mkn-blue-dark);
}


/* ============================================================
   CONTACT ITEMS
   ============================================================ */
.mkn-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}

.mkn-contact-item:last-child {
    margin-bottom: 0;
}

.mkn-contact-item .icon-box {
    width: 44px;
    height: 44px;
    background: rgba(43, 94, 167, .08);
    color: var(--mkn-blue);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.mkn-contact-item h6 {
    font-size: .85rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.mkn-contact-item p {
    font-size: .88rem;
    color: var(--mkn-gray-600);
    margin: 0;
}

.mkn-hours-row {
    display: flex;
    justify-content: space-between;
    font-size: .85rem;
    padding: 7px 0;
    border-bottom: 1px solid var(--mkn-gray-100);
}

.mkn-hours-row:last-child {
    border-bottom: none;
}

.mkn-hours-row span {
    color: var(--mkn-gray-600);
}


/* ============================================================
   STEP / PROCESS CIRCLES
   ============================================================ */
.mkn-step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    font-weight: 800;
    flex-shrink: 0;
}

.mkn-step-circle.blue {
    background: var(--mkn-blue);
    color: var(--mkn-white);
}

.mkn-step-circle.gold {
    background: var(--mkn-gold);
    color: var(--mkn-gray-800);
}

.mkn-step-circle.green {
    background: var(--mkn-green);
    color: var(--mkn-white);
}

.mkn-step-circle.gray {
    background: var(--mkn-gray-100);
    color: var(--mkn-blue);
}


/* ============================================================
   ALERTS
   ============================================================ */
.alert-mkn-success {
    background: rgba(27, 122, 61, .08);
    border: 1px solid rgba(27, 122, 61, .2);
    color: var(--mkn-green-dark);
    border-radius: var(--radius-md);
}

.alert-mkn-danger {
    background: rgba(192, 57, 43, .08);
    border: 1px solid rgba(192, 57, 43, .2);
    color: var(--mkn-red);
    border-radius: var(--radius-md);
}

.alert-mkn-info {
    background: var(--mkn-blue-light);
    border: 1px solid #c8d8f5;
    color: var(--mkn-blue-dark);
    border-radius: var(--radius-md);
    font-size: .875rem;
}


/* ============================================================
   EMPTY STATE
   ============================================================ */
.mkn-empty-state {
    text-align: center;
    padding: 60px 20px;
}

.mkn-empty-state i {
    font-size: 3rem;
    color: var(--mkn-gray-300);
    margin-bottom: 16px;
    display: block;
}

.mkn-empty-state h5 {
    color: var(--mkn-gray-600);
    font-weight: 700;
}

.mkn-empty-state p {
    color: var(--mkn-gray-300);
    font-size: .9rem;
}


/* ============================================================
   BADGES
   ============================================================ */
.badge-pending {
    background: rgba(232, 182, 37, .15);
    color: #9A7600;
    border-radius: 999px;
    padding: 3px 10px;
    font-size: .75rem;
    font-weight: 700;
}

.badge-resolved {
    background: rgba(27, 122, 61, .12);
    color: var(--mkn-green);
    border-radius: 999px;
    padding: 3px 10px;
    font-size: .75rem;
    font-weight: 700;
}

.badge-anon {
    background: rgba(192, 57, 43, .10);
    color: var(--mkn-red);
    border-radius: 999px;
    padding: 3px 10px;
    font-size: .75rem;
    font-weight: 700;
}


/* ============================================================
   HONEYPOT
   ============================================================ */
.mkn-hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
    pointer-events: none;
}


/* ============================================================
   SELECT2 OVERRIDES
   ============================================================ */
.select2-container--bootstrap-5 .select2-selection {
    border: 1.5px solid var(--mkn-gray-200) !important;
    border-radius: var(--radius-md) !important;
    padding: 6px 10px !important;
    min-height: 44px !important;
    background-color: var(--mkn-gray-50) !important;
}

.select2-container--bootstrap-5 .select2-selection--single:focus,
.select2-container--bootstrap-5.select2-container--focus .select2-selection {
    border-color: var(--mkn-blue) !important;
    box-shadow: 0 0 0 3px rgba(43, 94, 167, .12) !important;
}


/* ============================================================
   FOOTER
   ============================================================ */
.mkn-footer {
    background: var(--mkn-gray-800);
    color: rgba(255, 255, 255, .75);
    padding: 48px 0 0;
    font-size: .88rem;
}

.mkn-footer h6 {
    color: var(--mkn-white);
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 16px;
    font-weight: 700;
}

.mkn-footer a {
    color: rgba(255, 255, 255, .65);
    font-size: .85rem;
    transition: color var(--mkn-transition);
}

.mkn-footer a:hover {
    color: var(--mkn-gold);
}

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

.mkn-footer ul li {
    margin-bottom: 8px;
}

.mkn-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 16px 0;
    margin-top: 36px;
    font-size: .8rem;
    color: rgba(255, 255, 255, .45);
}

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

.mkn-footer .footer-logo img {
    height: 44px;
}

.mkn-footer .footer-logo span {
    color: var(--mkn-white);
    font-weight: 700;
    font-size: .9rem;
    line-height: 1.3;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
    .mkn-hero .carousel-item {
        height: 320px;
    }

    .mkn-hero .carousel-caption {
        padding: 30px 10%;
    }

    .mkn-hero .carousel-caption h2 {
        font-size: 1.4rem;
    }

    .mkn-stat-item .stat-number {
        font-size: 1.6rem;
    }

    .mkn-navbar .nav-link.active::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .mkn-page-header h1 {
        font-size: 1.35rem;
    }

    .mkn-kpi-value {
        font-size: 1.35rem;
    }

    .mkn-filter-group .form-select {
        min-width: 140px;
    }

    .mkn-filter-panel {
        position: relative;
    }

    .mkn-form-card {
        padding: 20px;
    }

    .mkn-dark-panel {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .mkn-hero .carousel-item {
        height: 260px;
    }

    .mkn-hero .carousel-caption h2 {
        font-size: 1.15rem;
    }

    .mkn-hero .carousel-caption p {
        font-size: .88rem;
    }

    .mkn-stat-item {
        padding: 8px 12px;
    }

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

    .mkn-stat-item .stat-label {
        font-size: .72rem;
    }
}

/* ============================================================
   HOME PAGE — SCROLL REVEAL
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.10s;
}

.reveal-delay-2 {
    transition-delay: 0.20s;
}

.reveal-delay-3 {
    transition-delay: 0.30s;
}

.reveal-delay-4 {
    transition-delay: 0.40s;
}

.reveal-delay-5 {
    transition-delay: 0.50s;
}


/* ============================================================
   HOME PAGE — STATS BAR ENHANCEMENTS
   (extends existing .mkn-stats-bar / .mkn-stat-item)
   ============================================================ */
.mkn-stats-bar {
    background: linear-gradient(135deg, var(--mkn-blue-dark) 0%, #1c4a8a 60%, #244f8f 100%);
    padding: 0;
    position: relative;
    overflow: hidden;
}

.mkn-stats-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 80% at 15% 50%, rgba(255, 255, 255, .04) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 85% 50%, rgba(27, 122, 61, .1) 0%, transparent 70%);
    pointer-events: none;
}

.mkn-stats-bar .container {
    position: relative;
    z-index: 1;
}

.mkn-stats-bar .mkn-stat-item {
    padding: 26px 16px;
    border-right: 1px solid rgba(255, 255, 255, .08);
    position: relative;
}

.mkn-stats-bar .mkn-stat-item:last-child {
    border-right: none;
}

.mkn-stats-bar .mkn-stat-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 2px;
    background: var(--mkn-green);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.35s ease;
}

.mkn-stats-bar .mkn-stat-item:hover::after {
    transform: scaleX(1);
}

.mkn-stats-bar .stat-number {
    font-size: clamp(1.7rem, 2.8vw, 2.4rem);
}


/* ============================================================
   HOME PAGE — ABOUT COLUMN
   ============================================================ */
.about-col {
    position: relative;
}

.about-col::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -10px;
    bottom: -20px;
    left: -10px;
    background-image: radial-gradient(circle, rgba(43, 94, 167, .055) 1px, transparent 1px);
    background-size: 22px 22px;
    border-radius: var(--radius-lg);
    z-index: 0;
    pointer-events: none;
}

.about-col>* {
    position: relative;
    z-index: 1;
}

.about-tagline {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--mkn-green);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.about-tagline::before {
    content: '';
    display: block;
    width: 22px;
    height: 2px;
    background: var(--mkn-green);
    border-radius: 1px;
    flex-shrink: 0;
}

.platform-subtitle {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .3px;
    color: var(--mkn-blue);
    background: var(--mkn-blue-light);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.engage-logos {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, .9);
    border: 1px solid var(--mkn-gray-200);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    width: fit-content;
}

.engage-logos img {
    max-height: 54px;
    width: auto;
}


/* ============================================================
   HOME PAGE — DIAGRAM CARD
   ============================================================ */
.diagram-card {
    background: linear-gradient(135deg, #f6f9ff 0%, var(--mkn-blue-light) 100%);
    border: 1px solid rgba(43, 94, 167, .12);
    border-radius: var(--radius-lg);
    padding: 18px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: box-shadow var(--mkn-transition), transform var(--mkn-transition);
}

.diagram-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.diagram-card img {
    border-radius: var(--radius-md);
    max-width: 100%;
}

.diagram-card .caption {
    margin-top: 10px;
    font-size: .75rem;
    color: var(--mkn-gray-700);
    font-style: italic;
    font-weight: 500;
}


/* ============================================================
   HOME PAGE — SECTION HEADING UNDERLINE ACCENT
   (adds green bar under h3 inside .mkn-section-heading)
   ============================================================ */
.mkn-section-heading h3 {
    position: relative;
    display: inline-block;
}

.mkn-section-heading h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 32px;
    height: 3px;
    background: var(--mkn-green);
    border-radius: 2px;
}


/* ============================================================
   HOME PAGE — KEY AREA CARDS
   ============================================================ */
.key-area-card {
    background: var(--mkn-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--mkn-gray-200);
    overflow: hidden;
    display: flex;
    align-items: stretch;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.35s ease, transform 0.35s ease, border-color 0.35s ease;
    margin-bottom: 14px;
    position: relative;
}

.key-area-card:last-child {
    margin-bottom: 0;
}

.key-area-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    transition: width 0.25s ease;
}

.key-area-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(4px);
    border-color: var(--mkn-gray-300);
}

.key-area-card:hover::before {
    width: 5px;
}

/* Colour modifiers */
.key-area-card.accent-blue::before {
    background: var(--mkn-blue);
}

.key-area-card.accent-green::before {
    background: var(--mkn-green);
}

.key-area-card.accent-gold::before {
    background: var(--mkn-gold);
}

/* Image panel */
.key-area-img-wrap {
    flex-shrink: 0;
    width: 130px;
    position: relative;
    overflow: hidden;
}

.key-area-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.key-area-card:hover .key-area-img-wrap img {
    transform: scale(1.07);
}

/* Text body */
.key-area-body {
    padding: 15px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.key-area-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: .63rem;
    font-weight: 800;
    color: var(--mkn-white);
    flex-shrink: 0;
    margin-right: 8px;
}

.key-area-title {
    font-size: .86rem;
    font-weight: 700;
    color: var(--mkn-blue-dark);
    margin: 0;
    line-height: 1.3;
}

.key-area-desc {
    margin: 6px 0 0;
    font-size: .78rem;
    color: var(--mkn-gray-600);
    line-height: 1.65;
}

.key-area-goal {
    margin-top: 8px;
    font-size: .72rem;
    font-style: italic;
    color: var(--mkn-green-dark);
    background: var(--mkn-green-light);
    border-left: 3px solid var(--mkn-green);
    padding: 4px 10px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}


/* ============================================================
   HOME PAGE — PHOTO GALLERY SECTION
   ============================================================ */
.gallery-section {
    background: linear-gradient(180deg, var(--mkn-gray-50) 0%, var(--mkn-gray-100) 100%);
    padding: 52px 0;
    position: relative;
    overflow: hidden;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
            var(--mkn-blue) 0%,
            var(--mkn-green) 50%,
            var(--mkn-gold) 100%);
}

.gallery-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--mkn-white);
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.gallery-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.gallery-img-wrap {
    position: relative;
    overflow: hidden;
    height: 210px;
}

.gallery-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s ease;
}

.gallery-card:hover .gallery-img-wrap img {
    transform: scale(1.08);
}

.gallery-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30, 69, 120, .65) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-card:hover .gallery-img-overlay {
    opacity: 1;
}

.gallery-caption {
    padding: 11px 13px;
    font-size: .77rem;
    color: var(--mkn-gray-600);
    font-weight: 500;
    line-height: 1.5;
    border-top: 1px solid var(--mkn-gray-100);
}


/* ============================================================
   HOME PAGE — RESPONSIVE ADDITIONS
   ============================================================ */
@media (max-width: 575px) {
    .key-area-img-wrap {
        width: 88px;
    }

    .key-area-body {
        padding: 11px 13px;
    }

    .key-area-title {
        font-size: .8rem;
    }

    .key-area-desc {
        font-size: .74rem;
    }

    .gallery-img-wrap {
        height: 160px;
    }

    .engage-logos img {
        max-height: 44px;
    }
}