@import url('tokens.css');

/**
 * POLICE CONNECT - Premium Light-Mode Design System
 * Strict compliance with government accessibility and readability guidelines.
 */



:root {
    --base-font-size: 16px;
    --font-sans: 'Inter', 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-heading: 'Inter', 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

    /* ==========================================================================
       OFFICIAL THANE POLICE CIVIC PALETTE (WCAG AA & AAA COMPLIANT)
       ========================================================================== */

    /* 1. Deep Navy / Police Blue (Primary Theme) */
    --color-primary-950: #061325;   /* Midnight Navy (Footer & base dark surfaces) */
    --color-primary-900: #0b1e36;   /* Deep Police Navy (Top utility bar, Section Titles) */
    --color-primary-800: #0f2b48;   /* Police Blue (Brand accents, Primary Buttons) */
    --color-primary-700: #143d66;   /* Royal Navy (Interactive links, Active nav states) */
    --color-primary-600: #1a4f82;   /* Medium Blue (Focus highlights, hover borders) */
    --color-primary-500: #2563eb;   /* Vibrant Civic Blue */
    --color-primary-100: #e0edfb;   /* Light Navy Wash */
    --color-primary-50:  #f0f6fd;   /* Softest Tint */

    /* 2. Warm Orange & Saffron Accent (Matched to Thane Police Logo) */
    --color-accent-700: #9a3412;    /* Burnt Orange (Pressed / Active button states) */
    --color-accent-600: #c2410c;    /* Deep Orange (Accent buttons, emphasized badges) */
    --color-accent-500: #ea580c;    /* Police Saffron Orange (Dividers, highlights, borders) */
    --color-accent-400: #f97316;    /* Bright Orange (Nav indicators, badge highlights) */
    --color-accent-300: #fdba74;    /* Soft Orange */
    --color-accent-100: #ffedd5;    /* Warm Orange Wash (Badge background) */
    --color-accent-50:  #fff7ed;    /* Softest Orange Tint */

    /* 3. Warm Orange-Tinted Page & Section Backgrounds (Consistent Full-Site Theme) */
    --color-bg-body: #fff3e0;         /* Unified Orange-Tinted Page Background */
    --color-surface-bg: #fff3e0;      /* Unified Warm Orange Page Background */
    --color-surface-card: #ffffff;    /* Pure crisp white for all cards */
    --color-surface-subtle: #ffedd5;  /* Warm orange-cream for alternating sections */
    --color-surface-alt: #ffe4c4;     /* Alternating warm orange section background */
    --color-surface-muted: #fed7aa;   /* Muted orange container background */

    /* 4. Dark Slate Text (WCAG AA & AAA compliant) */
    --color-text-main: #0f172a;       /* Slate 900 (Contrast 15.6:1 against white - AAA) */
    --color-text-body: #1e293b;       /* Slate 800 (Contrast 12.6:1 against white - AAA) */
    --color-text-muted: #475569;      /* Slate 600 (Contrast 5.8:1 against white - AA) */
    --color-text-light: #64748b;      /* Slate 500 */
    --color-text-inverse: #ffffff;    /* White text on dark navy / red */

    /* 5. Emergency Red (Restricted strictly to 100 / Helpline / e-Complaint Alerts) */
    --color-danger: #dc2626;          /* Red 600 (Dial 112, 100, Emergency Helpline) */
    --color-danger-dark: #b91c1c;     /* Red 700 (Emergency Hover) */
    --color-danger-bg: #fef2f2;       /* Light red alert background */
    --color-danger-border: #fecaca;   /* Light red border */

    /* 6. Success & Informative Statuses */
    --color-success: #15803d;         /* Green 700 */
    --color-success-bg: #f0fdf4;      /* Green 50 */
    --color-warning: #d97706;
    --color-warning-bg: #fffbeb;

    /* 7. Borders & Dividers */
    --color-border: #e2e8f0;          /* Clean subtle card border */
    --color-border-subtle: #cbd5e1;   /* Input and section divider border */
    --color-border-strong: #94a3b8;   /* Prominent separator */

    /* 8. Component Radii */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    /* 9. Refined Soft Shadows */
    --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 10px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 12px 24px -4px rgba(15, 23, 42, 0.09), 0 4px 8px -2px rgba(15, 23, 42, 0.04);
    --shadow-card: 0 2px 8px -1px rgba(15, 23, 42, 0.06), 0 1px 3px -1px rgba(15, 23, 42, 0.04);
    --shadow-card-hover: 0 12px 24px -4px rgba(15, 23, 42, 0.10), 0 4px 8px -2px rgba(15, 23, 42, 0.05);

    --container-max: 100%;
    --page-side-gap: 1cm;
    --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* High Contrast Accessibility Mode */
[data-contrast="high"] {
    --color-surface-bg: #ffffff !important;
    --color-surface-card: #ffffff !important;
    --color-surface-subtle: #ffffff !important;
    --color-surface-alt: #ffffff !important;
    --color-text-main: #000000 !important;
    --color-text-body: #000000 !important;
    --color-text-muted: #111111 !important;
    --color-primary-950: #000000 !important;
    --color-primary-900: #000000 !important;
    --color-primary-800: #000000 !important;
    --color-primary-700: #000000 !important;
    --color-primary-600: #000000 !important;
    --color-accent-700: #000000 !important;
    --color-accent-600: #000000 !important;
    --color-accent-500: #000000 !important;
    --color-accent-400: #000000 !important;
    --color-border: #000000 !important;
    --color-border-subtle: #000000 !important;
    --color-danger: #b91c1c !important;
    --shadow-sm: none !important;
    --shadow-md: none !important;
    --shadow-lg: none !important;
    --shadow-card: none !important;
    --shadow-card-hover: none !important;
}

[data-contrast="high"] .card,
[data-contrast="high"] .officer-card,
[data-contrast="high"] .dignitary-card,
[data-contrast="high"] .leader-card,
[data-contrast="high"] .stat-card,
[data-contrast="high"] .service-card,
[data-contrast="high"] .station-card,
[data-contrast="high"] .news-card {
    border: 2px solid #000000 !important;
    box-shadow: none !important;
}

[data-contrast="high"] a {
    text-decoration: underline !important;
}

/* Base Styles */

*, *::before, *::after {

    box-sizing: border-box;

    margin: 0;

    padding: 0;

}



html {

    font-size: var(--base-font-size);

    scroll-behavior: smooth;

    -webkit-text-size-adjust: 100%;

}



html {

    overflow-x: hidden !important;

    width: 100%;

    max-width: 100% !important;

    -webkit-text-size-adjust: 100%;

}



body {

    font-family: var(--font-sans);

    font-size: 1rem;

    line-height: 1.6;

    color: var(--color-text-body);

    background-color: var(--color-surface-bg);

    overflow-x: hidden !important;

    width: 100%;

    max-width: 100% !important;

    min-height: 100vh;

    display: flex;

    flex-direction: column;

    position: relative;

}



*, *::before, *::after {

    box-sizing: border-box;

    -webkit-tap-highlight-color: transparent;

}



a {

    color: var(--color-primary-600);

    text-decoration: none !important;

    transition: var(--transition);

}



a:hover,

a:focus,

a:active {

    color: var(--color-primary-800);

    text-decoration: none !important;

}



img {

    max-width: 100%;

    height: auto;

    display: block;

}



/* Accessible Focus States */

a:focus-visible,

button:focus-visible,

input:focus-visible,

select:focus-visible,

textarea:focus-visible {

    outline: 3px solid var(--color-accent-500);

    outline-offset: 2px;

}



/* Skip Link */

.skip-link {

    position: absolute;

    top: -50px;

    left: 20px;

    background: var(--color-primary-900);

    color: #ffffff;

    padding: 10px 18px;

    z-index: 9999;

    border-radius: var(--radius-sm);

    font-weight: 600;

    text-decoration: none;

    transition: top 0.2s ease;

}



.skip-link:focus {

    top: 10px;

}



/* Layout Utilities */

.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}



/* Emergency & Accessibility Strip (Structured 2-Tier Layout) */

.top-emergency-bar {

    color: #ffffff;

    font-size: 0.82rem;

    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);

}



.top-bar-emergency-tier {

    background-color: #061527;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    padding: 6px 0;

    overflow: hidden;

}



.top-bar-emergency-inner {

    display: flex;

    align-items: center;

    gap: 14px;

    width: 100%;

}



.emergency-label-box {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    flex-shrink: 0;

    background: rgba(255, 255, 255, 0.08);

    padding: 3px 10px;

    border-radius: var(--radius-sm);

    border: 1px solid rgba(253, 230, 138, 0.25);

    z-index: 2;

}



.emergency-live-pulse {

    width: 8px;

    height: 8px;

    border-radius: 50%;

    background-color: #ef4444;

    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);

    animation: emergencyPulse 1.5s infinite;

}



@keyframes emergencyPulse {

    0% {

        transform: scale(0.95);

        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);

    }

    70% {

        transform: scale(1);

        box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);

    }

    100% {

        transform: scale(0.95);

        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);

    }

}



.emergency-label {

    font-size: 0.76rem;

    font-weight: 800;

    color: #fde68a;

    text-transform: uppercase;

    letter-spacing: 0.04em;

    white-space: nowrap;

}



/* Continuous Marquee Ticker Container (Auto-Scroll + Manual Swipe / Drag) */

.emergency-marquee-wrap {

    flex: 1;

    overflow-x: auto;

    overflow-y: hidden;

    position: relative;

    display: flex;

    align-items: center;

    scrollbar-width: none;

    -ms-overflow-style: none;

    -webkit-overflow-scrolling: touch;

    user-select: none;

    -webkit-user-select: none;

    cursor: grab;

    mask-image: linear-gradient(to right, transparent, #000 16px, #000 calc(100% - 16px), transparent);

    -webkit-mask-image: linear-gradient(to right, transparent, #000 16px, #000 calc(100% - 16px), transparent);

}



.emergency-marquee-wrap::-webkit-scrollbar {

    display: none;

    width: 0;

    height: 0;

}



.emergency-marquee-wrap.is-dragging {

    cursor: grabbing;

    scroll-behavior: auto;

}



.emergency-marquee-track {

    display: flex;

    align-items: center;

    width: max-content;

    will-change: scroll-position;

}



.emergency-badges-group {

    display: flex;

    align-items: center;

    gap: 10px;

    padding-right: 10px;

    flex-shrink: 0;

}



.emergency-pill {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    padding: 4px 12px;

    border-radius: var(--radius-full);

    color: #ffffff;

    text-decoration: none !important;

    font-weight: 700;

    font-size: 0.78rem;

    white-space: nowrap;

    transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;

    flex-shrink: 0;

    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);

    -webkit-tap-highlight-color: transparent !important;

    outline: none !important;

}



.emergency-pill:hover,

.emergency-pill:focus,

.emergency-pill:active {

    text-decoration: none !important;

    outline: none !important;

    filter: brightness(1.15);

    transform: translateY(-1px);

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);

}



.emergency-pill strong {

    font-weight: 800;

    letter-spacing: 0.03em;

}



.emergency-pill.police {

    background: #dc2626;

    border: 1px solid #ef4444;

}



.emergency-pill.cyber {

    background: #d97706;

    border: 1px solid #f59e0b;

}



.emergency-pill.women {

    background: #6366f1;

    border: 1px solid #818cf8;

}



.emergency-pill.child {

    background: #0d9488;

    border: 1px solid #14b8a6;

}



.emergency-pill.senior {

    background: #0284c7;

    border: 1px solid #38bdf8;

}



.emergency-pill.whatsapp {

    background: #16a34a;

    border: 1px solid #22c55e;

}



.top-bar-utility-tier {

    background-color: var(--color-primary-900);

    border-bottom: 2px solid var(--color-accent-500);

    padding: 5px 0;

}



.top-bar-utility-inner {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 12px;

    flex-wrap: wrap;

}



.accessibility-tools {

    display: flex;

    align-items: center;

    gap: 4px;

}



.access-tools-label {

    font-size: 0.75rem;

    color: #cbd5e1;

    font-weight: 700;

    margin-right: 4px;

    text-transform: uppercase;

    letter-spacing: 0.04em;

}



.tool-btn {

    background: rgba(255, 255, 255, 0.15);

    border: 1px solid rgba(255, 255, 255, 0.25);

    color: #ffffff;

    padding: 2px 8px;

    font-size: 0.76rem;

    font-weight: 700;

    border-radius: var(--radius-sm);

    cursor: pointer;

    transition: var(--transition);

}



.tool-btn:hover {

    background: #ffffff;

    color: var(--color-primary-900);

}



.top-social-cluster {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    margin: 0 14px;

}



.top-social-item {

    color: #cbd5e1;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 4px;

    border-radius: 50%;

    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);

    text-decoration: none;

    -webkit-tap-highlight-color: transparent;

}



.top-social-item:hover,

.top-social-item:active,

.top-social-item:focus,

.top-social-item.is-touched {

    transform: translateY(-2px) scale(1.15);

    text-decoration: none;

}



.top-social-item.top-social-x:hover,

.top-social-item.top-social-x:active,

.top-social-item.top-social-x.is-touched {

    color: #ffffff !important;

}



.top-social-item.top-social-insta:hover,

.top-social-item.top-social-insta:active,

.top-social-item.top-social-insta.is-touched {

    color: #e1306c !important;

}



.top-social-item.top-social-fb:hover,

.top-social-item.top-social-fb:active,

.top-social-item.top-social-fb.is-touched {

    color: #1877f2 !important;

}



.top-social-item.top-social-wa:hover,

.top-social-item.top-social-wa:active,

.top-social-item.top-social-wa.is-touched {

    color: #25d366 !important;

}



.top-social-item.top-social-yt:hover,

.top-social-item.top-social-yt:active,

.top-social-item.top-social-yt.is-touched {

    color: #ff0000 !important;

}



@media (max-width: 768px) {

    .top-social-cluster {

        display: none;

    }

}



/* --- Grand Commissionerate Brand Banner & Nav Main Header Wrapper --- */

.site-main-header {

    position: relative;

    width: 100%;

    z-index: 1000;

}



.site-brand-banner {

    background: #ffffff;

    border-bottom: 1px solid var(--color-border);

    padding: 14px 0;

}



.site-brand-banner .container,

.site-header .container,

.top-emergency-bar .container {

    max-width: 100% !important;

    padding-left: clamp(20px, 3.2vw, 48px);

    padding-right: clamp(20px, 3.2vw, 48px);

}



.brand-banner-inner {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    flex-wrap: wrap;

    width: 100%;

}



.brand-identity-link {

    display: flex;

    align-items: center;

    gap: 16px;

    text-decoration: none;

    flex-shrink: 0;

}



.brand-identity-link:hover {

    text-decoration: none;

}



.brand-emblems-cluster {

    display: flex;

    align-items: center;

    gap: 10px;

    flex-shrink: 0;

}



.brand-emblem-ashoka {

    height: 60px;

    width: auto;

    object-fit: contain;

    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));

}



.brand-emblem-seal {

    height: 60px;

    width: auto;

    object-fit: contain;

    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));

}



.brand-divider-line {

    width: 2px;

    height: 52px;

    background: linear-gradient(to bottom, transparent, #cbd5e1, transparent);

    flex-shrink: 0;

}



.brand-text-block {

    display: flex;

    flex-direction: column;

    justify-content: center;

}



.brand-marathi-name {

    font-size: 1.42rem;

    font-weight: 900;

    color: var(--color-primary-900);

    line-height: 1.2;

    letter-spacing: -0.01em;

    white-space: nowrap;

    margin: 0;

}



.brand-english-name {

    font-size: 1.38rem;

    font-weight: 900;

    color: var(--color-primary-900);

    letter-spacing: 0.03em;

    line-height: 1.18;

    text-transform: uppercase;

    white-space: nowrap;

    margin-top: 0;

}



.brand-motto-row {

    display: flex;

    align-items: center;

    gap: 6px;

    font-size: 0.76rem;

    font-weight: 700;

    color: #64748b;

    text-transform: uppercase;

    letter-spacing: 0.05em;

    margin-top: 2px;

    white-space: nowrap;

}



.brand-motto-text {

    color: var(--color-accent-600);

    font-weight: 800;

}



.brand-motto-dot {

    color: #94a3b8;

}



.brand-govt-text {

    color: #64748b;

}



/* Right Side Civic & Control Room Tools */

.brand-banner-tools {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-left: auto;

}



.control-room-card {

    background: #eff6ff;

    border: 1.5px solid #bfdbfe;

    border-left: 4px solid var(--color-accent-500);

    border-radius: 16px;

    padding: 7px 14px;

    display: flex;

    flex-direction: column;

    gap: 3px;

    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.08);

}



.cr-badge {

    display: flex;

    align-items: center;

    gap: 6px;

    font-size: 0.68rem;

    font-weight: 800;

    color: var(--color-primary-900);

    text-transform: uppercase;

    letter-spacing: 0.06em;

}



.live-pulse-dot {

    width: 7px;

    height: 7px;

    background-color: #dc2626;

    border-radius: 50%;

    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);

    animation: pulse 1.8s infinite;

}



@keyframes pulse {

    0% {

        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);

    }

    70% {

        box-shadow: 0 0 0 6px rgba(220, 38, 38, 0);

    }

    100% {

        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);

    }

}



.cr-helplines-row {

    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 0.74rem;

    font-weight: 700;

    color: #475569;

}



.cr-help-item {

    display: flex;

    align-items: center;

    gap: 5px;

    text-decoration: none;

    color: inherit;

}



.cr-help-item:hover {

    text-decoration: none;

}



.cr-help-label {

    font-size: 0.68rem;

    font-weight: 700;

    color: #64748b;

}



.cr-help-val.red {

    font-size: 0.94rem;

    font-weight: 900;

    color: #dc2626;

}



.cr-help-val.amber {

    font-size: 0.94rem;

    font-weight: 900;

    color: #d97706;

}



.cr-div {

    width: 1px;

    height: 14px;

    background: #cbd5e1;

}



.brand-whatsapp-badge {

    display: flex;

    align-items: center;

    gap: 10px;

    background: #f0fdf4;

    border: 1px solid #bbf7d0;

    padding: 7px 14px;

    border-radius: var(--radius-md);

    text-decoration: none;

    transition: var(--transition);

}



.brand-whatsapp-badge:hover {

    background: #dcfce7;

    border-color: #86efac;

    transform: translateY(-1px);

    text-decoration: none;

}



.wa-icon-box {

    display: flex;

    align-items: center;

    justify-content: center;

}



.wa-info {

    display: flex;

    flex-direction: column;

}



.wa-title {

    font-size: 0.66rem;

    font-weight: 800;

    color: #166534;

    text-transform: uppercase;

    letter-spacing: 0.04em;

    line-height: 1.1;

}



.wa-num {

    font-size: 0.92rem;

    font-weight: 900;

    color: #15803d;

    line-height: 1.2;

    letter-spacing: 0.02em;

}



/* Header & Navigation */

.site-header {

    background: #ffffff;

    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);

    position: sticky;

    top: 0;

    left: 0;

    right: 0;

    width: 100%;

    max-width: 100% !important;

    z-index: 1000;

    border-bottom: 1px solid var(--color-border);

    box-sizing: border-box;

}



.header-inner {

    display: flex;

    justify-content: flex-start;

    align-items: center;

    padding: 8px 0;

    width: 100%;

    box-sizing: border-box;

}



.mobile-sticky-brand {

    display: none;

    align-items: center;

    gap: 8px;

    text-decoration: none;

    color: var(--color-primary-900);

}



.mobile-sticky-seal {

    height: 36px;

    width: auto;

    object-fit: contain;

}



.mobile-sticky-title {

    font-size: 1rem;

    font-weight: 900;

    letter-spacing: -0.01em;

}



.nav-desktop {

    display: flex;

    align-items: center;

    gap: 12px; /* Generous gap between each individual box so nothing overlaps */

    flex-wrap: wrap;

    margin-left: 0;

}



/* Individual See More style box for EVERY navigation item */

.nav-desktop .nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 18px;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    background: var(--color-surface-card);
    color: var(--color-primary-800);
    border: 1.5px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.3;
}

.nav-desktop .nav-link:hover,
.nav-desktop .nav-dropdown-item:hover > .nav-dropdown-trigger {
    background: var(--color-primary-50);
    border-color: var(--color-primary-600);
    color: var(--color-primary-900);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

.nav-desktop .nav-link.active,
.nav-desktop .nav-dropdown-item.active > .nav-dropdown-trigger {
    background: var(--color-primary-800);
    border-color: var(--color-accent-500);
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(11, 37, 69, 0.25);
}

.nav-desktop .nav-link.active:hover,
.nav-desktop .nav-dropdown-item.active:hover > .nav-dropdown-trigger {
    background: var(--color-primary-900);
    border-color: var(--color-accent-400);
    color: #ffffff !important;
}

/* Navigation Mega Menu Dropdown */

.nav-dropdown-item {

    position: relative;

    display: inline-flex;

    align-items: center;

}



.nav-dropdown-trigger {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    cursor: pointer;

}



.dropdown-chevron-icon {

    stroke: #3b82f6;

    stroke-width: 2.5;

    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), stroke 0.2s ease;

    transform-origin: center center;

    line-height: 1;

    margin-left: 2px;

    opacity: 0.9;

}



.nav-desktop .nav-link:hover .dropdown-chevron-icon,

.nav-dropdown-item:hover .dropdown-chevron-icon {

    transform: rotate(180deg);

    stroke: #1d4ed8;

    opacity: 1;

}



.nav-desktop .nav-link.active .dropdown-chevron-icon,

.nav-dropdown-item.active .dropdown-chevron-icon {

    stroke: #ffffff;

    opacity: 1;

}



@media (max-width: 1220px) and (min-width: 993px) {

    .nav-desktop {

        gap: 8px;

    }

    .nav-desktop .nav-link {

        padding: 7px 13px;

        font-size: 0.83rem;

        border-radius: 10px;

    }

}



.mega-menu-panel {

    position: absolute;

    top: calc(100% + 8px);

    background: #ffffff;

    border-radius: var(--radius-md);

    box-shadow: 0 20px 45px -10px rgba(8, 26, 48, 0.22), 0 0 0 1px rgba(8, 26, 48, 0.08);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s ease;

    z-index: 1200;

    padding: 22px 24px;

}



.mega-menu-panel::before {

    content: '';

    position: absolute;

    top: -12px;

    left: 0;

    right: 0;

    height: 12px;

}



.mega-menu-about {

    width: 820px;

    max-width: 95vw;

}



.mega-menu-medium {

    width: 580px;

    max-width: 92vw;

}



.mega-menu-compact {

    width: 360px;

    max-width: 90vw;

}



/* Dropdown Alignment: Natural bounds preventing screen cutoff */
.mega-menu-panel {
    position: absolute;
    top: calc(100% + 8px);
    background: #ffffff !important;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 45px -10px rgba(8, 26, 48, 0.22), 0 0 0 1px rgba(8, 26, 48, 0.08);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s ease;
    z-index: 2000 !important;
    padding: 22px 24px;
    max-width: calc(100vw - 32px);
    box-sizing: border-box;
}

.dropdown-about .mega-menu-panel {
    left: 0 !important;
    right: auto !important;
    transform: translateY(10px);
}

.dropdown-report .mega-menu-panel {
    left: 0 !important;
    right: auto !important;
    transform: translateY(10px);
}

.dropdown-citizen .mega-menu-panel {
    left: 0 !important;
    right: auto !important;
    transform: translateY(10px);
}

.dropdown-police .mega-menu-panel {
    left: auto !important;
    right: 0 !important;
    transform: translateY(10px);
}

.dropdown-dashboard .mega-menu-panel {
    left: auto !important;
    right: 0 !important;
    transform: translateY(10px);
}

.nav-dropdown-item:hover .mega-menu-panel,
.nav-dropdown-item:focus-within .mega-menu-panel {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(4px) !important;
}

@media (max-width: 1200px) and (min-width: 993px) {
    .mega-menu-about {
        width: 720px;
    }
    .dropdown-about .mega-menu-panel {
        left: 0 !important;
        right: auto !important;
    }
    .dropdown-report .mega-menu-panel {
        left: 0 !important;
        right: auto !important;
    }
    .dropdown-citizen .mega-menu-panel {
        left: 0 !important;
        right: auto !important;
    }
    .dropdown-police .mega-menu-panel {
        left: auto !important;
        right: 0 !important;
    }
}



.mega-menu-container {

    display: grid;

    grid-template-columns: 1fr 1fr 1fr;

    gap: 20px;

}



.grid-3-cols {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

}



.grid-2-cols {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;

}



.mega-menu-compact .mega-menu-container {

    display: block;

}



.mega-menu-col {

    display: flex;

    flex-direction: column;

}



.mega-menu-header {

    border-bottom: 2px solid var(--color-border);

    padding-bottom: 6px;

    margin-bottom: 10px;

}



.mega-col-title {

    font-size: 0.8rem;

    font-weight: 800;

    color: #475569;

    text-transform: uppercase;

    letter-spacing: 0.06em;

}



.mega-menu-list {

    list-style: none;

    margin: 0;

    padding: 0;

    display: flex;

    flex-direction: column;

    gap: 4px;

}



.mega-menu-list li a {

    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 0.86rem;

    font-weight: 600;

    color: var(--color-text-main);

    text-decoration: none;

    padding: 4px 6px;

    border-radius: var(--radius-sm);

    transition: all 0.15s ease;

}



.mega-menu-list li a:hover {

    background-color: var(--color-surface-subtle);

    color: var(--color-primary-600);

    transform: translateX(3px);

}



.chevron-prefix {

    font-size: 1.1rem;

    font-weight: 800;

    color: var(--color-primary-500);

    line-height: 1;

    display: inline-block;

    width: 12px;

}



.dot-prefix {

    font-size: 1.1rem;

    color: #94a3b8;

    line-height: 1;

    display: inline-block;

    width: 12px;

}



.mega-menu-list li a:hover .dot-prefix {

    color: var(--color-primary-500);

}



.unit-link-with-badge {

    justify-content: flex-start;

}



.unit-link-with-badge span:nth-child(2) {

    margin-right: auto;

}



.badge-photos {

    background: #f1f5f9;

    color: #64748b;

    font-size: 0.68rem;

    font-weight: 700;

    padding: 2px 7px;

    border-radius: var(--radius-full);

    border: 1px solid #e2e8f0;

    margin-left: 8px;

}



.mega-footer-link {

    margin-top: auto;

    padding-top: 12px;

    border-top: 1px dashed var(--color-border);

}



.lang-selector-group {

    display: flex;

    align-items: center;

    gap: 6px;

    margin-left: 8px;

}



.lang-selector {

    display: flex;

    align-items: center;

    background: var(--color-surface-subtle);

    padding: 3px;

    border-radius: var(--radius-sm);

    border: 1px solid var(--color-border);

}



.lang-btn {

    padding: 3px 8px;

    font-size: 0.78rem;

    font-weight: 700;

    border-radius: var(--radius-sm);

    text-decoration: none;

    color: var(--color-text-body);

    transition: var(--transition);

}



.lang-btn.active {

    background: var(--color-primary-800);

    color: #ffffff;

    text-decoration: none;

}



/* ==========================================================================

   Searchable Language Picker Dropdown (Material UI 2.0 Style)

   ========================================================================== */

.searchable-lang-picker {

    position: relative;

    display: inline-flex;

    align-items: center;

}



.lang-picker-btn {

    background: #ffffff;

    color: var(--color-primary-900);

    border: 1.5px solid #cbd5e1;

    border-radius: var(--radius-sm);

    padding: 3px 10px;

    font-size: 0.8rem;

    font-weight: 700;

    cursor: pointer;

    outline: none;

    transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);

    height: 30px;

    min-width: 225px;

    display: inline-flex;

    align-items: center;

    justify-content: space-between;

    gap: 8px;

    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);

}



.lang-picker-btn:hover {

    border-color: var(--color-primary-600);

    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.15);

}



.lang-picker-btn:focus-visible {

    outline: 2px solid var(--color-primary-600);

    outline-offset: 2px;

}



.searchable-lang-picker.open .lang-picker-btn {

    border-color: var(--color-primary-700);

    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);

}



.lang-picker-globe {

    font-size: 0.95rem;

    flex-shrink: 0;

}



.lang-picker-selected {

    flex: 1;

    text-align: left;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

}



.lang-picker-arrow {

    flex-shrink: 0;

    color: #64748b;

    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);

}



.searchable-lang-picker.open .lang-picker-arrow {

    transform: rotate(180deg);

    color: var(--color-primary-700);

}



.lang-picker-dropdown {

    position: absolute;

    top: calc(100% + 6px);

    right: 0;

    width: 330px;

    max-width: calc(100vw - 20px);

    background: #ffffff;

    border: 1px solid #cbd5e1;

    border-radius: 10px;

    box-shadow: 0 12px 32px -4px rgba(15, 23, 42, 0.22), 0 4px 12px -2px rgba(15, 23, 42, 0.1);

    z-index: 99999;

    display: none;

    overflow: hidden;

    animation: langDropdownSlideDown 0.18s cubic-bezier(0.16, 1, 0.3, 1);

}



.searchable-lang-picker.open .lang-picker-dropdown {

    display: block;

}



@keyframes langDropdownSlideDown {

    from {

        opacity: 0;

        transform: translateY(-8px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}



.lang-search-header {

    padding: 8px 10px 6px;

    background: #f8fafc;

    border-bottom: 1px solid #e2e8f0;

}



.lang-search-input-wrap {

    position: relative;

    display: flex;

    align-items: center;

}



.lang-search-icon {

    position: absolute;

    left: 10px;

    color: #64748b;

    pointer-events: none;

}



.lang-search-input {

    width: 100%;

    border: 1.5px solid #cbd5e1;

    border-radius: 6px;

    padding: 6px 28px 6px 30px;

    font-size: 0.82rem;

    font-weight: 600;

    color: #1e293b;

    background: #ffffff;

    outline: none;

    transition: border-color 0.15s ease, box-shadow 0.15s ease;

}



.lang-search-input:focus {

    border-color: #2563eb;

    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);

}



.lang-search-clear {

    position: absolute;

    right: 6px;

    top: 50%;

    transform: translateY(-50%);

    background: #f1f5f9;

    border: none;

    border-radius: 50%;

    width: 18px;

    height: 18px;

    font-size: 13px;

    line-height: 1;

    color: #64748b;

    cursor: pointer;

    display: none;

    align-items: center;

    justify-content: center;

    transition: all 0.15s ease;

}



.lang-search-clear:hover {

    background: #fee2e2;

    color: #ef4444;

}



.lang-search-meta {

    display: flex;

    justify-content: space-between;

    align-items: center;

    font-size: 0.69rem;

    color: #64748b;

    margin-top: 5px;

    padding: 0 2px;

}



.lang-search-hint {

    font-style: italic;

    color: #64748b;

}



.lang-total-count {

    font-weight: 700;

    color: var(--color-primary-700);

}



.lang-options-list {

    max-height: 290px;

    overflow-y: auto;

    overscroll-behavior: contain;

    scrollbar-width: thin;

    scrollbar-color: #cbd5e1 #f8fafc;

    padding: 4px 0;

}



.lang-options-list::-webkit-scrollbar {

    width: 6px;

}



.lang-options-list::-webkit-scrollbar-track {

    background: #f8fafc;

}



.lang-options-list::-webkit-scrollbar-thumb {

    background-color: #cbd5e1;

    border-radius: 4px;

}



.lang-optgroup {

    padding-bottom: 2px;

}



.lang-optgroup-title {

    padding: 6px 12px 4px;

    font-size: 0.7rem;

    font-weight: 800;

    color: #475569;

    text-transform: uppercase;

    letter-spacing: 0.05em;

    background: #f1f5f9;

    border-top: 1px solid #e2e8f0;

    border-bottom: 1px solid #e2e8f0;

    position: sticky;

    top: 0;

    z-index: 2;

}



.lang-option {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 7px 12px;

    font-size: 0.82rem;

    color: #1e293b;

    cursor: pointer;

    transition: background 0.12s ease, color 0.12s ease;

    border-left: 3px solid transparent;

    user-select: none;

}



.lang-option:hover,

.lang-option:focus,

.lang-option.focused {

    background: #eff6ff;

    color: #1d4ed8;

    border-left-color: #2563eb;

    outline: none;

}



.lang-option.selected {

    background: #e0f2fe;

    color: #0369a1;

    font-weight: 700;

    border-left-color: #0284c7;

}



.lang-option-name {

    flex: 1;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

}



.lang-option-badge {

    font-size: 0.65rem;

    font-weight: 800;

    color: #64748b;

    background: #f1f5f9;

    padding: 2px 6px;

    border-radius: 4px;

    letter-spacing: 0.04em;

    flex-shrink: 0;

    margin-left: 8px;

}



.lang-option.selected .lang-option-badge {

    background: #bae6fd;

    color: #0369a1;

}



.lang-no-results {

    padding: 22px 16px;

    text-align: center;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 4px;

    color: #64748b;

}



.no-res-icon {

    font-size: 1.6rem;

    margin-bottom: 2px;

}



.no-res-text {

    font-size: 0.82rem;

    font-weight: 700;

    color: #334155;

}



.no-res-sub {

    font-size: 0.74rem;

    color: #94a3b8;

}



/* Mobile specific styling for drawer */

.searchable-lang-picker.mobile-version {

    width: 100%;

    display: block;

}



.searchable-lang-picker.mobile-version .lang-picker-dropdown {

    width: 100%;

}



/* Suppress Google Translate Top Toolbar Frame & Keep Site Clean */

.goog-te-banner-frame.skiptranslate,

.goog-te-banner-frame,

iframe.goog-te-banner-frame {

    display: none !important;

    visibility: hidden !important;

    height: 0 !important;

}



body {

    top: 0px !important;

    position: static !important;

}



#goog-gt-tt,

.goog-te-balloon-frame {

    display: none !important;

    visibility: hidden !important;

}



.goog-text-highlight {

    background: none !important;

    box-shadow: none !important;

}



.mobile-menu-toggle {

    display: none;

    background: none;

    border: 1px solid var(--color-border);

    padding: 8px;

    border-radius: var(--radius-sm);

    cursor: pointer;

    color: var(--color-primary-800);

}



/* Mobile Nav Drawer */

.site-main-header,
.site-header {
    z-index: 10000 !important;
}

.mobile-nav-drawer {
    display: none;
    background: #ffffff;
    border-bottom: 3px solid var(--color-primary-800);
    padding: 16px 20px 24px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.22);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    max-height: calc(100vh - 65px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 10001 !important;
    box-sizing: border-box;
}

.mobile-nav-drawer.open,
.mobile-nav-drawer.active {
    display: block !important;
}

.mobile-nav-close {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #F1F5F9;
    border: 1px solid #CBD5E1;
    color: #0F172A;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: auto;
    margin-bottom: 12px;
    transition: background 0.15s ease, transform 0.15s ease;
}

.mobile-nav-close:hover {
    background: #E2E8F0;
    transform: scale(1.06);
}

.mobile-nav-drawer .site-search-form {
    position: relative;
    margin-bottom: 16px;
}
.mobile-nav-drawer .site-search-form input.form-control {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 14px 10px 38px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    background: #f8fafc;
    color: var(--color-text-main);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.mobile-nav-drawer .site-search-form::before {
    content: "🔍";
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85rem;
    pointer-events: none;
    opacity: 0.6;
}
.mobile-nav-drawer .site-search-form input.form-control:focus {
    outline: none;
    border-color: var(--color-primary-600);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    background: #ffffff;
}

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 9990 !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    pointer-events: none;
}

.mobile-nav-overlay.open,
.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.mobile-nav-open #policeChatbotContainer {
    z-index: 9980 !important;
}

/* Dark Mode Support for Mobile Nav Drawer */
html[data-theme="dark"] .mobile-nav-drawer {
    background: #0f172a !important;
    border-bottom-color: #38bdf8 !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7) !important;
}

html[data-theme="dark"] .mobile-nav-heading {
    color: #f1f5f9 !important;
}

html[data-theme="dark"] .mobile-nav-heading:hover,
html[data-theme="dark"] .mobile-nav-group[open] > .mobile-nav-heading {
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: #38bdf8 !important;
}

html[data-theme="dark"] .mobile-nav-group {
    border-bottom-color: #1e293b !important;
}

html[data-theme="dark"] .mobile-sub-list li a {
    color: #cbd5e1 !important;
}

html[data-theme="dark"] .mobile-sub-list li a:hover {
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: #38bdf8 !important;
}

html[data-theme="dark"] .mobile-nav-close {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f1f5f9 !important;
}

html[data-theme="dark"] .mobile-nav-drawer .site-search-form input.form-control {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f1f5f9 !important;
}
html[data-theme="dark"] .mobile-nav-drawer .site-search-form input.form-control:focus {
    border-color: #38bdf8 !important;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2) !important;
}

/* Active State for Mobile Menu Toggle Button (matches user screenshot) */
.mobile-menu-toggle:focus-visible,
.mobile-menu-toggle[aria-expanded="true"] {
    outline: none !important;
    border-color: #0284c7 !important;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.25) !important;
    background: #f0f9ff !important;
    color: #0284c7 !important;
}
html[data-theme="dark"] .mobile-menu-toggle:focus-visible,
html[data-theme="dark"] .mobile-menu-toggle[aria-expanded="true"] {
    border-color: #38bdf8 !important;
    background: rgba(56, 189, 248, 0.15) !important;
    color: #38bdf8 !important;
}



.mobile-nav-list {

    list-style: none;

    display: flex;

    flex-direction: column;

    gap: 6px;

    padding: 0;

    margin: 0;

}



.mobile-nav-list > li > .nav-link {

    display: block;

    padding: 10px 14px;

    font-size: 0.98rem;

    font-weight: 700;

    border-bottom: 1px solid var(--color-border);

    color: var(--color-primary-900);

}



/* Mobile Accordion Nav Groups */

.mobile-nav-group {

    border-bottom: 1px solid var(--color-border);

    margin-bottom: 4px;

}



.mobile-nav-heading {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 10px 12px;

    font-size: 0.96rem;

    font-weight: 700;

    color: var(--color-primary-900);

    cursor: pointer;

    list-style: none;

    border-radius: var(--radius-sm);

    transition: background-color 0.15s ease;

    user-select: none;

}



.mobile-nav-heading::-webkit-details-marker {

    display: none;

}



.mobile-nav-heading::after {

    content: "▾";

    font-size: 1.1rem;

    color: var(--color-primary-600);

    transition: transform 0.2s ease;

}



.mobile-nav-group[open] > .mobile-nav-heading::after {

    transform: rotate(180deg);

}



.mobile-nav-heading:hover,

.mobile-nav-group[open] > .mobile-nav-heading {

    background-color: var(--color-surface-subtle);

    color: var(--color-primary-700);

}



.mobile-sub-list {

    list-style: none;

    padding: 4px 0 8px 14px;

    margin: 0;

    display: flex;

    flex-direction: column;

    gap: 3px;

}



.mobile-sub-list li a {

    display: block;

    font-size: 0.88rem;

    font-weight: 600;

    color: var(--color-text-main);

    padding: 6px 10px;

    border-radius: var(--radius-sm);

    text-decoration: none;

    transition: background-color 0.15s ease, color 0.15s ease;

}



.mobile-sub-list li a:hover {

    background-color: var(--color-surface-subtle);

    color: var(--color-primary-600);

}



/* Hero Section */

.hero-section {

    background: linear-gradient(180deg, #ffffff 0%, var(--color-surface-bg) 100%);

    border-bottom: 1px solid var(--color-border);

    padding: 24px 0 28px;

    position: relative;

}



.hero-grid {

    display: grid;

    grid-template-columns: 1.2fr 0.8fr;

    gap: 32px;

    align-items: center;

}



.hero-badge-pill {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    background: #eff6ff;

    color: var(--color-primary-700);

    padding: 4px 12px;

    border-radius: var(--radius-full);

    font-size: 0.78rem;

    font-weight: 700;

    margin-bottom: 10px;

    border: 1px solid #bfdbfe;

}



.hero-title {

    font-size: 2.05rem;

    font-weight: 800;

    color: var(--color-primary-900);

    line-height: 1.2;

    margin-bottom: 10px;

    letter-spacing: -0.02em;

}



.hero-lead {

    font-size: 0.98rem;

    color: var(--color-text-body);

    margin-bottom: 18px;

    line-height: 1.5;

}



.hero-actions {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

}



/* ==========================================================================

   MATERIAL UI 2.0 / MATERIAL DESIGN 3 BUTTON & TAB SYSTEM

   ========================================================================== */

/* ==========================================================================
   BUTTON SYSTEM (CLEAR PRIMARY, SECONDARY, ACCENT & EMERGENCY STYLES)
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.015em;
    padding: 9px 20px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1.5px solid transparent;
    text-decoration: none;
    line-height: 1.35;
    position: relative;
    user-select: none;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

.btn:active {
    transform: scale(0.98);
}

/* Primary Button: Deep Navy / Police Blue */
.btn-primary {
    background-color: var(--color-primary-800);
    color: var(--color-text-inverse);
    border-color: var(--color-primary-900);
    box-shadow: 0 2px 6px rgba(11, 37, 69, 0.2);
}

.btn-primary:hover {
    background-color: var(--color-primary-900);
    border-color: var(--color-primary-950);
    color: var(--color-text-inverse);
    box-shadow: 0 4px 14px rgba(11, 37, 69, 0.3);
    transform: translateY(-1px);
    text-decoration: none;
}

.btn-primary:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(20, 61, 102, 0.35);
}

/* Secondary Button: Clean Outlined */
.btn-secondary,
.btn-outline {
    background-color: var(--color-surface-card);
    color: var(--color-primary-800);
    border: 1.5px solid var(--color-primary-700);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover,
.btn-outline:hover {
    background-color: var(--color-primary-50);
    border-color: var(--color-primary-800);
    color: var(--color-primary-900);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

.btn-secondary:focus-visible,
.btn-outline:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(20, 61, 102, 0.25);
}

/* Accent Button: Warm Saffron / Gold */
.btn-accent,
.btn-saffron,
.btn-gold,
.btn-warning {
    background-color: var(--color-accent-600);
    color: var(--color-text-inverse);
    border-color: var(--color-accent-700);
    box-shadow: 0 2px 6px rgba(180, 83, 9, 0.25);
}

.btn-accent:hover,
.btn-saffron:hover,
.btn-gold:hover,
.btn-warning:hover {
    background-color: var(--color-accent-700);
    border-color: var(--color-accent-700);
    box-shadow: 0 4px 14px rgba(180, 83, 9, 0.35);
    transform: translateY(-1px);
    text-decoration: none;
}

.btn-accent:focus-visible,
.btn-saffron:focus-visible,
.btn-gold:focus-visible,
.btn-warning:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.35);
}

/* Emergency Red Button: STRICTLY for Dial 112 / Helpline / Emergency */
.btn-emergency,
.btn-danger {
    background-color: var(--color-danger);
    color: var(--color-text-inverse);
    border-color: var(--color-danger-dark);
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.btn-emergency:hover,
.btn-danger:hover {
    background-color: var(--color-danger-dark);
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4);
    transform: translateY(-1px);
    text-decoration: none;
}

.btn-emergency:focus-visible,
.btn-danger:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.35);
}

/* Success Button */
.btn-success {
    background-color: var(--color-success);
    color: var(--color-text-inverse);
    border-color: #166534;
    box-shadow: 0 2px 6px rgba(21, 128, 61, 0.25);
}

.btn-success:hover {
    background-color: #166534;
    box-shadow: 0 4px 12px rgba(21, 128, 61, 0.35);
    transform: translateY(-1px);
    text-decoration: none;
}

/* Material Button Sizes - All Calibrated to Exact Pill Shape & Proportions */

.btn-sm {

    padding: 6px 16px;

    font-size: 0.8rem;

    border-radius: var(--radius-full);

    letter-spacing: 0.02em;

}



.btn-lg {

    padding: 10px 24px;

    font-size: 0.94rem;

    border-radius: var(--radius-full);

}



/* Material UI 2.0 / M3 Segmented Tab Bar */

.mui-tabs-nav {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    margin-bottom: 28px;

    flex-wrap: wrap;

    background: #f1f5f9;

    padding: 6px;

    border-radius: 9999px;

    border: 1px solid #e2e8f0;

    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06);

    max-width: fit-content;

    margin-left: auto;

    margin-right: auto;

}



.mui-tab-btn {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 10px 22px;

    font-size: 0.92rem;

    font-weight: 700;

    color: #475569;

    background: transparent;

    border: none;

    border-radius: 9999px;

    cursor: pointer;

    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);

    text-decoration: none;

    user-select: none;

}



.mui-tab-btn:hover {

    color: #1976d2;

    background: rgba(255, 255, 255, 0.75);

}



.mui-tab-btn.active {

    background: #1976d2;

    color: #ffffff;

    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.35);

    transform: translateY(-1px);

}



.mui-tab-btn .tab-icon {

    font-size: 1.15rem;

    line-height: 1;

}



.mui-tab-content {

    display: none !important;

    animation: muiFadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);

}



.mui-tab-content.active {

    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

}



@keyframes muiFadeIn {

    from {

        opacity: 0;

        transform: translateY(6px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}



@media (max-width: 860px) {
    .mui-tabs-nav {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
        width: 100% !important;
        max-width: 700px !important;
        margin: 0 auto 20px auto !important;
        padding: 8px !important;
        border-radius: 16px !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }
    .mui-tab-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        padding: 10px 12px !important;
        font-size: 0.86rem !important;
        text-align: center !important;
        white-space: normal !important;
        min-height: 48px !important;
        border-radius: 12px !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
    }
}

@media (max-width: 600px) {
    .mui-tabs-nav {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 6px !important;
        box-sizing: border-box !important;
        margin: 0 auto 18px auto !important;
        border-radius: 14px !important;
    }
    .mui-tab-btn {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 8px 6px !important;
        font-size: 0.76rem !important;
        font-weight: 700 !important;
        line-height: 1.25 !important;
        white-space: normal !important;
        min-height: 56px !important;
        border-radius: 10px !important;
        gap: 4px !important;
        box-sizing: border-box !important;
        width: 100% !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }
    .mui-tab-btn span:last-child {
        display: block !important;
        white-space: normal !important;
        word-break: break-word !important;
        max-width: 100% !important;
    }
    .mui-tab-btn .tab-icon {
        font-size: 1.25rem !important;
        line-height: 1 !important;
        display: block !important;
        margin: 0 auto !important;
    }
}

/* Hero Quick Locator Card */

.hero-card {

    background: #ffffff;

    border: 1px solid var(--color-border);

    border-radius: 18px;

    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);

    padding: 24px;

}



.hero-card-header {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 16px;

    padding-bottom: 12px;

    border-bottom: 1px solid var(--color-border);

}



.hero-card-title {

    font-size: 1.15rem;

    font-weight: 700;

    color: var(--color-primary-800);

}



/* Quick Station Finder Search & Autocomplete in Hero Card */

.hero-search-input-wrap {

    position: relative;

    display: flex;

    align-items: center;

    width: 100%;

}



.hero-search-icon {

    position: absolute;

    left: 12px;

    color: var(--color-primary-600, #1d4ed8);

    pointer-events: none;

    flex-shrink: 0;

    transition: color 0.2s ease;

}



.hero-station-search-input {

    width: 100%;

    padding: 10px 36px 10px 38px !important;

    font-size: 0.88rem;

    border: 1.5px solid #93c5fd;

    border-radius: var(--radius-md, 10px);

    background: #ffffff;

    color: var(--color-text-main);

    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);

    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;

    box-sizing: border-box;

}



.hero-station-search-input:focus {

    outline: none;

    border-color: var(--color-primary-600, #1d4ed8);

    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.18);

    background: #ffffff;

}



.hero-search-input-wrap:focus-within .hero-search-icon {

    color: var(--color-primary-800, #0b2545);

}



.hero-search-clear-btn {

    position: absolute;

    right: 8px;

    background: transparent;

    border: none;

    color: #94a3b8;

    font-size: 1.25rem;

    line-height: 1;

    cursor: pointer;

    width: 26px;

    height: 26px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: color 0.15s ease, background-color 0.15s ease;

}



.hero-search-clear-btn:hover {

    color: #0f172a;

    background: #e2e8f0;

}



.hero-station-suggest-box {

    position: absolute;

    top: calc(100% + 5px);

    left: 0;

    right: 0;

    background: #ffffff;

    border: 1.5px solid #93c5fd;

    border-radius: 12px;

    box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.22), 0 4px 8px -2px rgba(15, 23, 42, 0.08);

    max-height: 260px;

    overflow-y: auto;

    z-index: 1020;

    padding: 6px;

    display: flex;

    flex-direction: column;

    gap: 4px;

}



.hero-suggest-item {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    padding: 9px 12px;

    border-radius: 8px;

    text-decoration: none;

    color: inherit;

    cursor: pointer;

    transition: background 0.15s ease;

    border-left: 3px solid transparent;

}



.hero-suggest-item:hover,

.hero-suggest-item.is-selected {

    background: #eff6ff;

    border-left-color: var(--color-primary-600, #1d4ed8);

}



.hero-suggest-item-info {

    flex: 1;

    min-width: 0;

}



.hero-suggest-item-name {

    font-weight: 700;

    font-size: 0.90rem;

    color: var(--color-primary-900, #081a30);

    line-height: 1.3;

}



.hero-suggest-item-name mark {

    background: #fef08a;

    color: #854d0e;

    padding: 0 2px;

    border-radius: 2px;

}



.hero-suggest-item-meta {

    font-size: 0.76rem;

    color: var(--color-text-muted);

    margin-top: 2px;

    display: flex;

    align-items: center;

    gap: 8px;

}



.hero-suggest-badge {

    font-size: 0.70rem;

    font-weight: 700;

    padding: 2px 7px;

    border-radius: 4px;

    background: #e0f2fe;

    color: #0369a1;

    white-space: nowrap;

    flex-shrink: 0;

}



.hero-suggest-empty {

    padding: 16px 12px;

    text-align: center;

    font-size: 0.85rem;

    color: var(--color-text-muted);

}



/* Section Common - Calibrated Spacing */

.section {

    padding: clamp(20px, 3vw, 30px) 0;

}



.section-alt {

    background-color: #ffffff;

    border-top: 1px solid var(--color-border);

    border-bottom: 1px solid var(--color-border);

}



.section-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto clamp(18px, 2.5vw, 26px);
}



.section-badge {

    display: inline-block;

    background: var(--color-accent-100);

    color: var(--color-accent-600);

    font-size: 0.76rem;

    font-weight: 700;

    padding: 3px 10px;

    border-radius: var(--radius-full);

    text-transform: uppercase;

    letter-spacing: 0.05em;

    margin-bottom: 8px;

}



.section-title {

    font-size: 2rem;

    font-weight: 800;

    color: var(--color-primary-900);

    line-height: 1.25;

    margin-bottom: 12px;

}



.section-desc {

    font-size: 1.05rem;

    color: var(--color-text-muted);

    line-height: 1.6;

}



/* Services Grid */

.services-grid {

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));

    gap: 24px;

}



/* --- Services Grid See More / See Less (Desktop & Mobile) --- */

.services-see-more-wrap {

    display: flex !important;

    justify-content: center;

    margin-top: 18px;

    width: 100%;

}



.services-grid:not(.show-all) .service-card-extra {

    display: none !important;

}



.services-grid.show-all .service-card-extra {

    display: flex !important;

    animation: cardExpandIn 0.32s cubic-bezier(0.16, 1, 0.3, 1) both;

}

.services-grid.show-all .service-card-extra:nth-child(4) { animation-delay: 0s; }

.services-grid.show-all .service-card-extra:nth-child(5) { animation-delay: 0.05s; }

.services-grid.show-all .service-card-extra:nth-child(6) { animation-delay: 0.1s; }



.services-grid.is-collapsing .service-card-extra {

    display: flex !important;

    animation: cardCollapseOut 0.24s cubic-bezier(0.4, 0, 0.2, 1) both;

}

.services-grid.is-collapsing .service-card-extra:nth-child(6) { animation-delay: 0s; }

.services-grid.is-collapsing .service-card-extra:nth-child(5) { animation-delay: 0.04s; }

.services-grid.is-collapsing .service-card-extra:nth-child(4) { animation-delay: 0.08s; }



.service-card {

    background: #eff6ff;

    border: 1.5px solid #bfdbfe;

    border-radius: 18px;

    padding: 24px;

    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.08);

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);

}



.service-card:hover {

    background: #dbeafe;

    border-color: #93c5fd;

    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.14);

    transform: translateY(-2px);

}



.service-icon-box {

    width: 48px;

    height: 48px;

    border-radius: var(--radius-md);

    background: #eff6ff;

    color: var(--color-primary-700);

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 16px;

}



.service-title {

    font-size: 1.15rem;

    font-weight: 700;

    color: var(--color-primary-800);

    margin-bottom: 8px;

}



.service-desc {

    font-size: 0.92rem;

    color: var(--color-text-body);

    margin-bottom: 20px;

    flex-grow: 1;

}



.service-footer {

    display: flex;

    align-items: center;

    justify-content: space-between;

    font-size: 0.84rem;

    border-top: 1px solid var(--color-surface-subtle);

    padding-top: 14px;

}



.portal-tag {

    font-weight: 600;

    color: var(--color-accent-600);

}



/* ==========================================================================
   POLICE STATION DIRECTORY & MAP - FULL SIZING & ZERO CLIPPING SYSTEM
   ========================================================================== */

.stations-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) !important;
    gap: 24px !important;
    align-items: start !important;
    width: 100% !important;
}

.stations-list {
    max-height: 580px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch !important;
    padding-right: 8px !important;
    padding-bottom: 8px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    scrollbar-width: thin !important;
    scrollbar-color: #94a3b8 #f1f5f9 !important;
}

.stations-list::-webkit-scrollbar {
    width: 6px !important;
}

.stations-list::-webkit-scrollbar-track {
    background: #f1f5f9 !important;
    border-radius: 4px !important;
}

.stations-list::-webkit-scrollbar-thumb {
    background: #94a3b8 !important;
    border-radius: 4px !important;
}

.stations-list::-webkit-scrollbar-thumb:hover {
    background: #64748b !important;
}

.station-item-card {
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    height: auto !important;
    min-height: fit-content !important;
    max-height: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    background: #eff6ff !important;
    border: 1.5px solid #bfdbfe !important;
    border-radius: 16px !important;
    padding: 16px 18px !important;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.08) !important;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.station-item-card:hover,
.station-item-card.active {
    background: #dbeafe !important;
    border-color: #93c5fd !important;
    box-shadow: 0 8px 22px rgba(30, 58, 138, 0.14) !important;
    transform: translateY(-2px) !important;
}

.station-item-card h3,
.station-item-card h4 {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 1.08rem !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    color: var(--color-primary-800, #1e3a8a) !important;
    word-break: break-word !important;
    overflow: visible !important;
    white-space: normal !important;
}

.station-item-card p {
    margin: 4px 0 6px 0 !important;
    padding: 0 !important;
    font-size: 0.88rem !important;
    line-height: 1.45 !important;
    color: var(--color-text-body, #334155) !important;
    word-break: break-word !important;
    overflow: visible !important;
    white-space: normal !important;
}

.station-item-card .station-zone-badge {
    flex-shrink: 0 !important;
    margin-left: 8px !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    padding: 3px 10px !important;
    border-radius: var(--radius-sm, 6px) !important;
    background: #dbeafe !important;
    color: #1e40af !important;
    white-space: nowrap !important;
}

.station-item-card .station-meta,
.station-item-card > div[style*="font-size:0.82rem"],
.station-item-card > div[style*="font-size:0.85rem"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    margin: 4px 0 8px 0 !important;
    font-size: 0.84rem !important;
    line-height: 1.4 !important;
    color: var(--color-text-muted, #64748b) !important;
}

.station-item-card .station-actions,
.station-item-card > div[style*="border-top"] {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-top: 4px !important;
    padding-top: 10px !important;
    border-top: 1px solid var(--color-surface-subtle, #e2e8f0) !important;
}

.station-item-card .btn {
    white-space: normal !important;
    line-height: 1.3 !important;
    text-align: center !important;
    border-radius: 8px !important;
    padding: 8px 14px !important;
    font-size: 0.84rem !important;
}

.station-map-container {
    height: 420px !important;
    border-radius: 16px !important;
    border: 1.5px solid #cbd5e1 !important;
    overflow: hidden !important;
    position: sticky !important;
    top: 90px !important;
    background: #e5e3df !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
}

#stationMap {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
}



/* News & Notices Cards */

.news-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 24px;

}



.news-card {

    background: #eff6ff;

    border: 1.5px solid #bfdbfe;

    border-radius: 18px;

    overflow: hidden;

    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.08);

    display: flex;

    flex-direction: column;

    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);

}



.news-card:hover {

    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.14);

    background: #dbeafe;

    border-color: #93c5fd;

    transform: translateY(-2px);

}



.news-card-img {

    height: 190px;

    object-fit: cover;

    background: var(--color-surface-subtle);

}



.news-card-body {

    padding: 20px;

    display: flex;

    flex-direction: column;

    flex-grow: 1;

}



.news-meta {

    font-size: 0.8rem;

    color: var(--color-text-muted);

    margin-bottom: 8px;

    display: flex;

    align-items: center;

    gap: 8px;

}



.news-title {

    font-size: 1.15rem;

    font-weight: 700;

    color: var(--color-primary-900);

    margin-bottom: 10px;

    line-height: 1.35;

}



.news-summary {

    font-size: 0.92rem;

    color: var(--color-text-body);

    margin-bottom: 16px;

    flex-grow: 1;

}



/* Notices List */

.notices-table-wrapper {

    background: #ffffff;

    border: 1px solid var(--color-border);

    border-radius: var(--radius-md);

    overflow: hidden;

    box-shadow: var(--shadow-sm);

}



.notices-table {

    width: 100%;

    border-collapse: collapse;

    font-size: 0.92rem;

}



.notices-table th {

    background: var(--color-primary-900);

    color: #ffffff;

    text-align: left;

    padding: 14px 18px;

    font-weight: 700;

}



.notices-table td {

    padding: 16px 18px;

    border-bottom: 1px solid var(--color-border);

}



.notices-table tr:hover {

    background-color: var(--color-surface-bg);

}



/* Leadership Card */

.leader-card {

    background: #ffffff;

    border: 1px solid var(--color-border);

    border-radius: var(--radius-lg);

    padding: 32px;

    display: grid;

    grid-template-columns: 240px 1fr;

    gap: 32px;

    align-items: center;

    box-shadow: var(--shadow-md);

}



.leader-photo {

    width: 240px;

    height: 280px;

    object-fit: cover;

    border-radius: var(--radius-md);

    border: 3px solid var(--color-primary-800);

}



.leader-quote {

    font-style: italic;

    color: var(--color-primary-800);

    font-weight: 600;

    font-size: 1.1rem;

    margin-bottom: 14px;

}



/* Accordion Component */

.accordion {

    display: flex;

    flex-direction: column;

    gap: 12px;

}



.accordion-item {

    background: #eff6ff;

    border: 1.5px solid #bfdbfe;

    border-radius: 16px;

    overflow: hidden;

    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.06);

    transition: all 0.2s ease;

}



.accordion-header {

    width: 100%;

    text-align: left;

    background: none;

    border: none;

    padding: 18px 22px;

    font-size: 1.05rem;

    font-weight: 700;

    color: var(--color-primary-900);

    display: flex;

    justify-content: space-between;

    align-items: center;

    cursor: pointer;

    transition: var(--transition);

}



.accordion-header:hover {

    background-color: var(--color-surface-subtle);

}



.accordion-body {

    padding: 0 22px 18px;

    color: var(--color-text-body);

    font-size: 0.95rem;

    line-height: 1.6;

    display: none;

}



.accordion-item.open .accordion-body {

    display: block;

}



/* Form Styles */

.form-group {

    margin-bottom: 18px;

}



.form-label {

    display: block;

    font-size: 0.9rem;

    font-weight: 700;

    color: var(--color-primary-900);

    margin-bottom: 6px;

}



.form-control {

    width: 100%;

    padding: 10px 14px;

    font-size: 0.95rem;

    border: 1px solid var(--color-border-subtle);

    border-radius: var(--radius-sm);

    background-color: #ffffff;

    color: var(--color-text-main);

    transition: var(--transition);

}



.form-control:focus {

    outline: none;

    border-color: var(--color-primary-700);

    box-shadow: 0 0 0 3px rgba(19, 49, 92, 0.15);

}



/* Chatbot Floating Widget & Quick Action Dock */

.chatbot-bubble {

    position: fixed;

    bottom: 24px;

    right: 20px;

    z-index: 1050;

    display: flex;

    flex-direction: column;

    align-items: flex-end;

}



/* Vertical Floating Action Dock (Social Media Speed-Dial stacked ABOVE Classic Police AI Message Button) */

.floating-quick-dock {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 10px;

    position: relative;

    z-index: 1050;

}



/* Gracefully hide social button when chatbot window is open so chat gets full focus */

.chatbot-window.open + .floating-quick-dock .social-fab-container {

    opacity: 0;

    pointer-events: none;

    transition: opacity 0.2s ease;

}



/* 1. Classic Police AI Message Button (Restored from previous design) */

.chatbot-btn {

    background: var(--color-primary-800, #081a30);

    color: #ffffff;

    border: 2.5px solid #ffffff;

    width: 54px;

    height: 54px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    box-shadow: 0 4px 16px rgba(8, 26, 48, 0.35);

    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, box-shadow 0.2s ease;

    position: relative;

    outline: none;

    flex-shrink: 0;

}



.chatbot-btn:hover {

    transform: scale(1.08) translateY(-2px);

    background: var(--color-primary-900, #0f172a);

    box-shadow: 0 6px 20px rgba(8, 26, 48, 0.45);

}



.chatbot-btn:active {

    transform: scale(0.96);

}



.chatbot-btn .msg-icon-close {

    display: none;

}



.chatbot-btn.is-active {

    background: #0f172a;

}



.chatbot-btn.is-active .msg-icon-chat {

    display: none;

}



.chatbot-btn.is-active .msg-icon-close {

    display: block;

}



.chatbot-online-pulse {

    position: absolute;

    top: 2px;

    right: 2px;

    width: 12px;

    height: 12px;

    background: #22c55e;

    border: 2px solid #ffffff;

    border-radius: 50%;

    box-shadow: 0 0 6px rgba(34, 197, 94, 0.8);

    animation: pulseDot 2s infinite ease-in-out;

}







/* 2. Social Media Speed Dial Container & Trigger Button */

.social-fab-container {

    position: relative;

    display: flex;

    flex-direction: column;

    align-items: center;

}



.social-fab-trigger-btn {

    width: 54px;

    height: 54px;

    border-radius: 50%;

    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);

    color: #ffffff;

    border: 2.5px solid #ffffff;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    box-shadow: 0 4px 16px rgba(234, 88, 12, 0.38);

    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, box-shadow 0.2s ease;

    outline: none;

    position: relative;

    flex-shrink: 0;

}



.social-fab-trigger-btn:hover {

    transform: scale(1.08) translateY(-2px);

    box-shadow: 0 6px 18px rgba(234, 88, 12, 0.48);

}



.social-fab-trigger-btn:active {

    transform: scale(0.96);

}



.social-fab-trigger-btn .fab-icon-close {

    display: none;

}



.social-fab-container.is-open .social-fab-trigger-btn {

    background: #0f172a;

    transform: rotate(90deg);

}



.social-fab-container.is-open .fab-icon-share {

    display: none;

}



.social-fab-container.is-open .fab-icon-close {

    display: block;

}







/* Social Media Menu Pop-Up (Hidden by default, pops up above button when clicked) */

.social-fab-menu {

    position: absolute;

    bottom: 66px;

    left: 50%;

    transform: translateX(-50%);

    display: flex;

    flex-direction: column;

    gap: 10px;

    align-items: center;

    pointer-events: none;

    z-index: 1055;

}



.social-fab-container.is-open .social-fab-menu {

    pointer-events: auto;

}



.social-fab-item {

    width: 44px;

    height: 44px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    text-decoration: none;

    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);

    position: relative;

    border: 2px solid #ffffff;

    flex-shrink: 0;

    

    /* Pop-down / Inside state (default) */

    opacity: 0;

    transform: translateY(28px) scale(0.3);

    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.24s ease, box-shadow 0.2s ease;

}



.social-fab-container.is-open .social-fab-item {

    opacity: 1;

    transform: translateY(0) scale(1);

    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease, box-shadow 0.2s ease;

}



/* Stagger when popping UP from bottom (WhatsApp first, then X, then Insta, then FB) */

.social-fab-container.is-open .social-fab-item:nth-child(4) { transition-delay: 0.03s; }

.social-fab-container.is-open .social-fab-item:nth-child(3) { transition-delay: 0.08s; }

.social-fab-container.is-open .social-fab-item:nth-child(2) { transition-delay: 0.13s; }

.social-fab-container.is-open .social-fab-item:nth-child(1) { transition-delay: 0.18s; }



/* Stagger when folding BACK DOWN inside (FB folds first, then Insta, then X, then WhatsApp) */

.social-fab-container:not(.is-open) .social-fab-item:nth-child(1) { transition-delay: 0.02s; }

.social-fab-container:not(.is-open) .social-fab-item:nth-child(2) { transition-delay: 0.06s; }

.social-fab-container:not(.is-open) .social-fab-item:nth-child(3) { transition-delay: 0.1s; }

.social-fab-container:not(.is-open) .social-fab-item:nth-child(4) { transition-delay: 0.14s; }



.social-fab-item:hover {

    transform: scale(1.15) translateY(-2px);

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);

}



.social-fab-item:active {

    transform: scale(0.95);

}



/* Authentic Social Colors */

.dock-btn-fb {

    background: #1877F2;

    color: #ffffff;

}



.dock-btn-insta {

    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);

    color: #ffffff;

}



.dock-btn-x {

    background: #0f1419;

    color: #ffffff;

}



.dock-btn-wa {

    background: #25D366;

    color: #ffffff;

}



.social-fab-label {

    position: absolute;

    right: 52px;

    background: rgba(15, 23, 42, 0.94);

    color: #ffffff;

    font-size: 0.72rem;

    font-weight: 700;

    padding: 3px 8px;

    border-radius: 6px;

    white-space: nowrap;

    opacity: 0;

    pointer-events: none;

    transform: translateX(6px);

    transition: all 0.2s ease;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);

    border: 1px solid rgba(255, 255, 255, 0.12);

}



.social-fab-item:hover .social-fab-label {

    opacity: 1;

    transform: translateX(0);

}



@keyframes pulseDot {

    0%, 100% { transform: scale(1); opacity: 1; }

    50% { transform: scale(1.15); opacity: 0.85; }

}



.chatbot-window {

    width: 360px;

    height: 480px;

    background: #ffffff;

    border: 1px solid var(--color-border);

    border-radius: var(--radius-lg);

    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);

    display: none;

    flex-direction: column;

    overflow: hidden;

    margin-bottom: 12px;

}



.chatbot-window.open {

    display: flex;

}



.chatbot-header {

    background: var(--color-primary-900);

    color: #ffffff;

    padding: 14px 16px;

    display: flex;

    justify-content: space-between;

    align-items: center;

}



.chatbot-messages {

    flex-grow: 1;

    overflow-y: auto;

    padding: 16px;

    display: flex;

    flex-direction: column;

    gap: 12px;

    background: var(--color-surface-bg);

}



.chat-bubble {

    max-width: 80%;

    padding: 10px 14px;

    border-radius: var(--radius-md);

    font-size: 0.88rem;

    line-height: 1.45;

}



.chat-bubble.bot {

    background: #ffffff;

    border: 1px solid var(--color-border);

    color: var(--color-text-main);

    align-self: flex-start;

    border-bottom-left-radius: 2px;

}



.chat-bubble.user {

    background: var(--color-primary-800);

    color: #ffffff;

    align-self: flex-end;

    border-bottom-right-radius: 2px;

}



.chatbot-input-bar {

    padding: 12px;

    border-top: 1px solid var(--color-border);

    display: flex;

    gap: 8px;

    background: #ffffff;

}



/* --- Dedicated Social Media Connect Strip (Exact Thane Police Match) --- */

.social-connect-strip {

    background: #ffffff;

    border-top: 1px solid var(--color-border);

    border-bottom: 1px solid var(--color-border);

    padding: 22px 0;

}



.social-connect-inner {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 100%;

}



.social-icons-group {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 22px;

    flex-wrap: wrap;

}



.social-icon-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 48px;

    height: 48px;

    border-radius: var(--radius-full);

    color: #475569;

    background: #ffffff;

    border: 1.5px solid #e2e8f0;

    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);

    text-decoration: none;

    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);

    -webkit-tap-highlight-color: transparent;

    cursor: pointer;

    position: relative;

    user-select: none;

    -webkit-user-select: none;

}



.social-icon-btn .social-svg {

    width: 22px;

    height: 22px;

    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);

}



.social-icon-btn:hover,

.social-icon-btn:active,

.social-icon-btn:focus,

.social-icon-btn:focus-visible,

.social-icon-btn.is-touched {

    transform: translateY(-4px) scale(1.1);

    outline: none;

    text-decoration: none;

}



.social-icon-btn:hover .social-svg,

.social-icon-btn:active .social-svg,

.social-icon-btn:focus .social-svg,

.social-icon-btn:focus-visible .social-svg,

.social-icon-btn.is-touched .social-svg {

    transform: scale(1.15);

}



/* 1. X (Twitter): Pure Black with White Icon */

.social-icon-btn.x-icon:hover,

.social-icon-btn.x-icon:active,

.social-icon-btn.x-icon:focus,

.social-icon-btn.x-icon:focus-visible,

.social-icon-btn.x-icon.is-touched {

    background: #000000 !important;

    color: #ffffff !important;

    border-color: #000000 !important;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.38) !important;

}



/* 2. Instagram: Real Authentic Instagram Gradient */

.social-icon-btn.insta-icon:hover,

.social-icon-btn.insta-icon:active,

.social-icon-btn.insta-icon:focus,

.social-icon-btn.insta-icon:focus-visible,

.social-icon-btn.insta-icon.is-touched {

    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important;

    color: #ffffff !important;

    border-color: transparent !important;

    box-shadow: 0 8px 24px rgba(214, 36, 159, 0.45) !important;

}



/* 3. Facebook: Real Official Facebook Blue */

.social-icon-btn.fb-icon:hover,

.social-icon-btn.fb-icon:active,

.social-icon-btn.fb-icon:focus,

.social-icon-btn.fb-icon:focus-visible,

.social-icon-btn.fb-icon.is-touched {

    background: #1877f2 !important;

    color: #ffffff !important;

    border-color: #1877f2 !important;

    box-shadow: 0 8px 24px rgba(24, 119, 242, 0.45) !important;

}



/* 4. WhatsApp: Real Official WhatsApp Green */

.social-icon-btn.wa-icon:hover,

.social-icon-btn.wa-icon:active,

.social-icon-btn.wa-icon:focus,

.social-icon-btn.wa-icon:focus-visible,

.social-icon-btn.wa-icon.is-touched {

    background: #25d366 !important;

    color: #ffffff !important;

    border-color: #25d366 !important;

    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.48) !important;

}



/* 5. YouTube: Real Official YouTube Red */

.social-icon-btn.yt-icon:hover,

.social-icon-btn.yt-icon:active,

.social-icon-btn.yt-icon:focus,

.social-icon-btn.yt-icon:focus-visible,

.social-icon-btn.yt-icon.is-touched {

    background: #ff0000 !important;

    color: #ffffff !important;

    border-color: #ff0000 !important;

    box-shadow: 0 8px 24px rgba(255, 0, 0, 0.45) !important;

}



/* Dark Mode support for social connect strip */

[data-theme="dark"] .social-connect-strip,

body.dark-mode .social-connect-strip {

    background: #0d1527;

    border-color: #1e293b;

}



[data-theme="dark"] .social-icon-btn,

body.dark-mode .social-icon-btn {

    background: #1a263d;

    border-color: #2b3b55;

    color: #94a3b8;

    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);

}



/* Site Footer */

.site-footer {

    background-color: var(--color-primary-900);

    color: #e2e8f0;

    margin-top: auto;

    border-top: 4px solid var(--color-accent-500);

}



.footer-top {

    padding: 56px 0 36px;

}



.footer-grid {

    display: grid;

    grid-template-columns: 1.5fr 1fr 1fr 1fr;

    gap: 36px;

}



.footer-title {

    color: #ffffff;

    font-size: 1.05rem;

    font-weight: 700;

    margin-bottom: 16px;

    position: relative;

    padding-bottom: 8px;

}



.footer-title::after {

    content: '';

    position: absolute;

    bottom: 0;

    left: 0;

    width: 32px;

    height: 2px;

    background: var(--color-accent-500);

}



.footer-links {

    list-style: none;

    display: flex;

    flex-direction: column;

    gap: 10px;

}



.footer-links a {

    color: #cbd5e1;

    font-size: 0.9rem;

    text-decoration: none !important;

    display: inline-block;

    transition: color 0.2s ease, transform 0.2s ease;

}



.footer-links a:hover,

.footer-links a:focus,

.footer-links a:active {

    color: #ffffff !important;

    text-decoration: none !important;

    outline: none !important;

    transform: translateX(4px);

}



.footer-bottom {

    background: #040e1a;

    padding: 22px 0;

    font-size: 0.85rem;

    color: #94a3b8;

    border-top: 1px solid rgba(255, 255, 255, 0.08);

}



.footer-bottom-inner {

    display: flex;

    justify-content: space-between;

    align-items: center;

    flex-wrap: wrap;

    gap: 16px;

}



.footer-bottom-info {

    display: flex;

    flex-direction: column;

    gap: 6px;

}



.footer-copyright-text {

    font-size: 0.86rem;

    color: #cbd5e1;

    font-weight: 500;

    line-height: 1.5;

}



.footer-dev-credit {

    font-size: 0.84rem;

    color: #94a3b8;

    display: inline-flex;

    align-items: center;

    flex-wrap: nowrap;

    white-space: nowrap;

    gap: 5px;

    line-height: 1.5;

}



.footer-dev-link {

    display: inline-flex;

    align-items: center;

    gap: 4px;

    color: #38bdf8;

    font-weight: 700;

    text-decoration: underline;

    text-decoration-thickness: 1.5px;

    text-underline-offset: 3px;

    text-decoration-color: rgba(56, 189, 248, 0.4);

    transition: all 0.2s ease-in-out;

}



.footer-dev-link:hover {

    color: #7dd3fc;

    text-decoration-color: #7dd3fc;

    text-shadow: 0 0 10px rgba(56, 189, 248, 0.45);

}



/* Red Heart GIF-like Beat Animation */

.heart-pulse {

    display: inline-block;

    color: #ef4444;

    font-size: 1.18em;

    margin: 0 3px;

    vertical-align: -1px;

    animation: heartBeatGif 1.25s infinite ease-in-out;

    transform-origin: center center;

    filter: drop-shadow(0 0 5px rgba(239, 68, 68, 0.75));

    will-change: transform;

}



@keyframes heartBeatGif {

    0% {

        transform: scale(1);

    }

    14% {

        transform: scale(1.32);

    }

    28% {

        transform: scale(1);

    }

    42% {

        transform: scale(1.38);

    }

    70% {

        transform: scale(1);

    }

    100% {

        transform: scale(1);

    }

}



.footer-disclaimer-text {

    font-size: 0.78rem;

    color: #94a3b8;

    max-width: 620px;

    text-align: right;

    line-height: 1.5;

}



@media (max-width: 768px) {

    .footer-bottom {

        padding-top: 24px;

        padding-bottom: 24px !important;

        margin-bottom: 0 !important;

    }

    .footer-bottom-inner {

        flex-direction: column;

        align-items: flex-start;

        gap: 14px;

        width: 100%;

        max-width: 100%;

    }

    .footer-dev-credit {

        font-size: clamp(0.68rem, 2.85vw, 0.78rem);

        white-space: nowrap;

        display: inline-flex;

        align-items: center;

        flex-wrap: nowrap;

        gap: 4px;

        background: rgba(255, 255, 255, 0.06);

        padding: 5px 12px;

        border-radius: 999px;

        border: 1px solid rgba(56, 189, 248, 0.25);

        margin-top: 6px;

        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);

        box-sizing: border-box;

        max-width: 100%;

    }

    .footer-dev-credit .heart-pulse {

        font-size: 1.08em;

        margin: 0 2px;

    }

    .footer-dev-credit .footer-dev-link {

        font-weight: 700;

        font-size: clamp(0.70rem, 2.95vw, 0.80rem);

    }

    .footer-disclaimer-text {

        text-align: left;

    }

}





/* Responsive Media Queries */

@media (max-width: 1024px) {

    .hero-grid {

        grid-template-columns: 1fr;

    }

    .stations-layout {

        grid-template-columns: 1fr;

    }

    .station-map-container {

        position: static;

        height: 400px;

    }

    .news-grid {

        grid-template-columns: repeat(2, 1fr);

    }

    .footer-grid {

        grid-template-columns: 1fr 1fr;

    }

    

}



@media (max-width: 768px) {

    .nav-desktop {

        display: none;

    }

    .mobile-menu-toggle {

        display: block;

    }

    .hero-title {

        font-size: 1.85rem;

    }

    .news-grid {

        grid-template-columns: 1fr;

    }

    .footer-grid {

        grid-template-columns: 1fr;

    }

    

    .leader-photo {

        margin: 0 auto;

    }

    /* Cleaned: Floating dock & chatbot mobile styles consolidated into master responsive block below */
}



/* --- Visual Photo Enhancements (Thane Police Reference Benchmark) --- */

.service-card {

    padding: 0;

    overflow: hidden;

}



.service-card-media {

    position: relative;

    height: 110px;

    width: 100%;

    overflow: hidden;

    background: #e2e8f0;

}



.service-card-img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.35s ease;

}



.service-card:hover .service-card-img {

    transform: scale(1.06);

}



.service-card-badge {

    position: absolute;

    top: 10px;

    right: 10px;

    background: rgba(11, 37, 69, 0.88);

    color: #ffffff;

    font-size: 0.7rem;

    font-weight: 700;

    padding: 2px 8px;

    border-radius: var(--radius-sm);

    backdrop-filter: blur(4px);

}



.service-card-content {

    padding: 20px;

    display: flex;

    flex-direction: column;

    flex-grow: 1;

    justify-content: space-between;

}



/* Officer Portrait Cards */

.officer-grid {

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));

    gap: 24px;

}



.officer-card {

    background: #ffffff;

    border: 1px solid var(--color-border);

    border-radius: var(--radius-md);

    overflow: hidden;

    box-shadow: var(--shadow-sm);

    transition: var(--transition);

    display: flex;

    flex-direction: column;

}



.officer-card:hover {

    box-shadow: var(--shadow-md);

    transform: translateY(-3px);

    border-color: var(--color-primary-600);

}



.officer-photo-wrap {

    height: 250px;

    background: #f1f5f9;

    overflow: hidden;

    position: relative;

}



.officer-photo {

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: top center;

    transition: transform 0.35s ease;

}



.officer-card:hover .officer-photo {

    transform: scale(1.04);

}



.officer-card-tag {

    position: absolute;

    top: 12px;

    left: 12px;

    background: rgba(11, 37, 69, 0.9);

    color: #ffffff;

    font-size: 0.72rem;

    font-weight: 700;

    padding: 3px 10px;

    border-radius: var(--radius-full);

    backdrop-filter: blur(4px);

    letter-spacing: 0.03em;

    text-transform: uppercase;

}



.officer-details {

    padding: 20px;

    display: flex;

    flex-direction: column;

    flex-grow: 1;

}



/* Community Initiatives & Field Gallery */

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

@media (max-width: 1023px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}



.gallery-card {

    background: #eff6ff;

    border: 1.5px solid #bfdbfe;

    border-radius: 18px;

    overflow: hidden;

    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.08);

    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);

}



.gallery-card:hover {

    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.14);

    transform: translateY(-2px);

    background: #dbeafe;

    border-color: #93c5fd;

}



.gallery-media {

    height: 110px;

    overflow: hidden;

    position: relative;

}



.gallery-img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.4s ease;

}



.gallery-card:hover .gallery-img {

    transform: scale(1.06);

}



.gallery-badge {

    position: absolute;

    bottom: 12px;

    left: 12px;

    background: rgba(11, 37, 69, 0.88);

    color: #ffffff;

    font-size: 0.75rem;

    font-weight: 700;

    padding: 3px 10px;

    border-radius: var(--radius-sm);

    backdrop-filter: blur(4px);

}



.gallery-body {

    padding: 18px 20px;

}



/* Official Government Portal Logos Strip (Material UI 2.0 Hub) */

.portal-strip-section {

    background: #f8fafc;

    border-top: 1px solid #e2e8f0;

    border-bottom: 1px solid #e2e8f0;

    padding: 30px 0 34px;

}



.portal-strip-header {

    text-align: center;

    margin-bottom: 20px;

}



.portal-strip-badge {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    background: #ffffff;

    border: 1px solid #cbd5e1;

    color: #1e3a8a;

    font-size: 0.78rem;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.05em;

    padding: 6px 18px;

    border-radius: 9999px;

    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);

}



.portal-marquee-container {

    position: relative;

    width: 100%;

    display: flex;

    align-items: center;

}



.portal-marquee-viewport {

    overflow: hidden;

    width: 100%;

    position: relative;

    padding: 10px 0;

    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 48px, #000 calc(100% - 48px), transparent 100%);

    mask-image: linear-gradient(to right, transparent 0%, #000 48px, #000 calc(100% - 48px), transparent 100%);

}



.portal-marquee-track {

    display: flex;

    width: max-content;

    will-change: transform;

    animation: portalScrollOpposite 40s linear infinite;

}



.portal-marquee-container:hover .portal-marquee-track,

.portal-marquee-track:hover {

    animation-play-state: paused;

}



.portal-marquee-group {

    display: flex;

    gap: 16px;

    padding-right: 16px;

    flex-shrink: 0;

}



@keyframes portalScrollOpposite {

    0% {

        transform: translateX(0%);

    }

    100% {

        transform: translateX(-50%);

    }

}



.portal-badge-card {

    background: #ffffff;

    border: 1.5px solid #e2e8f0;

    border-radius: 14px;

    padding: 12px 14px 10px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    width: 165px;

    min-width: 165px;

    min-height: 98px;

    flex-shrink: 0;

    text-decoration: none;

    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);

    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);

    position: relative;

    overflow: hidden;

}



.portal-badge-card:hover {

    background: #ffffff;

    border-color: #1e3a8a;

    transform: translateY(-4px);

    box-shadow: 0 10px 22px -4px rgba(30, 58, 138, 0.16);

}



.portal-badge-logo-wrap {

    height: 44px;

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 6px;

}



.portal-badge-logo-wrap img {

    max-height: 40px;

    max-width: 115px;

    width: auto;

    height: auto;

    object-fit: contain;

    transition: transform 0.2s ease;

    display: block;

}



.portal-badge-card:hover .portal-badge-logo-wrap img {

    transform: scale(1.08);

}



.portal-badge-label {

    font-size: 0.76rem;

    font-weight: 700;

    color: #1e293b;

    line-height: 1.25;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;

    letter-spacing: 0.01em;

    transition: color 0.2s ease;

}



.portal-badge-card:hover .portal-badge-label {

    color: #1e3a8a;

}



.portal-arrow-btn {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 38px;

    height: 38px;

    border-radius: 50%;

    background: #ffffff;

    border: 1.5px solid #cbd5e1;

    color: #1e3a8a;

    font-size: 1.4rem;

    line-height: 1;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    z-index: 10;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

    transition: all 0.2s ease;

    opacity: 0.85;

}



.portal-arrow-btn:hover {

    background: #1e3a8a;

    color: #ffffff;

    border-color: #1e3a8a;

    opacity: 1;

    transform: translateY(-50%) scale(1.08);

}



.portal-arrow-left {

    left: -12px;

}



.portal-arrow-right {

    right: -12px;

}



@media (max-width: 768px) {

    .portal-arrow-btn {

        display: none;

    }

    .portal-badge-card {

        width: 135px;

        min-width: 135px;

        min-height: 88px;

        padding: 10px 8px 8px;

    }

    .portal-badge-logo-wrap {

        height: 38px;

    }

    .portal-badge-logo-wrap img {

        max-height: 34px;

        max-width: 90px;

    }

    .portal-badge-label {

        font-size: 0.68rem;

    }

    .portal-marquee-viewport {

        -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 20px, #000 calc(100% - 20px), transparent 100%);

        mask-image: linear-gradient(to right, transparent 0%, #000 20px, #000 calc(100% - 20px), transparent 100%);

    }

}



/* ==========================================================================
   STATE LEADERSHIP HORIZONTAL ROW CAROUSEL (आमचे नेतृत्व)
   - Chief Minister card centered on top (alone, not part of the row)
   - All other leaders in ONE single horizontal row (never wraps, never column)
   - 6 cards visible on desktop, 3-4 on tablet, ~1.6 on phone (showing side peek)
   - Smooth horizontal auto-scroll (~1 card / 3s) with left/right arrows
   - Native touch-action: pan-x pan-y for smooth vertical scrolling
   ========================================================================== */

.dignitaries-section {
    background: #ffffff;
    border-bottom: 1px solid var(--color-border);
    padding: 24px 0 30px;
    position: relative;
    overflow: hidden;
}

/* 1. TOP: Chief Minister Spotlight (Centered, alone above the row) */
.tp-cm-spotlight-wrap {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 auto 24px auto !important;
    width: 100% !important;
}

.dignitary-cm-card {
    width: 250px !important;
    min-width: 220px !important;
    max-width: 90vw !important;
    background: #eff6ff !important;
    border: 2px solid #93c5fd !important;
    border-radius: 18px !important;
    padding: 20px 16px 18px !important;
    box-shadow: 0 4px 14px rgba(30, 58, 138, 0.12) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.dignitary-cm-card:hover {
    transform: translateY(-4px) !important;
    background: #e0f2fe !important;
    border-color: #60a5fa !important;
    box-shadow: 0 14px 28px -4px rgba(30, 58, 138, 0.2) !important;
}

/* 2. BELOW IT: All other leaders in ONE single horizontal row */
.tp-leaders-carousel-wrap {
    position: relative !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    box-sizing: border-box !important;
    padding: 0 4px !important;
}

.leaders-row,
.tp-leaders-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 16px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 10px 4px 18px !important;
    scrollbar-width: none !important;
    touch-action: pan-x pan-y !important; /* vertical page scrolling works seamlessly */
    scroll-behavior: smooth !important;
    align-items: stretch !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.leaders-row::-webkit-scrollbar,
.tp-leaders-track::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* Leader card inside the row */
.leaders-row .leader-card,
.tp-leaders-track .tp-leader-card,
.leaders-row .dignitary-card {
    flex: 0 0 auto !important;
    scroll-snap-align: start !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: center !important;
    background: #eff6ff !important;
    border: 1.5px solid #bfdbfe !important;
    border-radius: 18px !important;
    padding: 20px 14px 18px !important;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.08) !important;
    transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.22s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.22s ease !important;
    height: auto !important;
}

.leaders-row .leader-card:hover,
.tp-leaders-track .tp-leader-card:hover,
.leaders-row .dignitary-card:hover {
    transform: translateY(-4px) !important;
    background: #dbeafe !important;
    border-color: #93c5fd !important;
    box-shadow: 0 12px 24px -4px rgba(30, 58, 138, 0.16) !important;
}

/* Round photo styling with orange ring */
.dignitary-avatar-wrap {
    border-radius: 50% !important;
    overflow: hidden !important;
    background: #f8fafc !important;
    margin: 0 auto 12px auto !important;
    border: 2.5px solid #ea580c !important;
    box-shadow: 0 3px 10px rgba(234, 88, 12, 0.18) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.dignitary-avatar {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: top center !important;
    border-radius: 50% !important;
}

/* Name bold and centered, designation italic and centered with word wrap */
.dignitary-name {
    font-size: 0.98rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 6px 0 !important;
    line-height: 1.25 !important;
    text-align: center !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
}

.dignitary-role {
    font-size: 0.78rem !important;
    font-weight: 500 !important;
    font-style: italic !important;
    color: #475569 !important;
    line-height: 1.38 !important;
    text-align: center !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    margin-top: auto !important; /* aligns designations across varying heights */
}

/* 3. CARD WIDTH & AVATAR SIZE BY SCREEN BREAKPOINT */

/* Desktop 1025px and above: calc((100% - 5 * 16px) / 6) so 6 cards are visible */
@media (min-width: 1025px) {
    .leaders-row .leader-card,
    .tp-leaders-track .tp-leader-card,
    .leaders-row .dignitary-card {
        flex: 0 0 calc((100% - 5 * 16px) / 6) !important;
        width: calc((100% - 5 * 16px) / 6) !important;
        min-width: calc((100% - 5 * 16px) / 6) !important;
        max-width: calc((100% - 5 * 16px) / 6) !important;
    }
    .leader-card .dignitary-avatar-wrap,
    .tp-leader-card .dignitary-avatar-wrap,
    .dignitary-cm-card .dignitary-avatar-wrap {
        width: 130px !important;
        height: 130px !important;
    }
    .dignitary-cm-card {
        width: 260px !important;
    }
}

/* Tablet 601px to 1024px: about 220px so 3 to 4 cards are visible */
@media (min-width: 601px) and (max-width: 1024px) {
    .leaders-row .leader-card,
    .tp-leaders-track .tp-leader-card,
    .leaders-row .dignitary-card {
        flex: 0 0 220px !important;
        width: 220px !important;
        min-width: 220px !important;
        max-width: 220px !important;
    }
    .leader-card .dignitary-avatar-wrap,
    .tp-leader-card .dignitary-avatar-wrap,
    .dignitary-cm-card .dignitary-avatar-wrap {
        width: 100px !important;
        height: 100px !important;
    }
    .dignitary-cm-card {
        width: 240px !important;
    }
}

/* Phone 600px and below: about 180px to 200px (190px) so about 1.6 cards are visible */
@media (max-width: 600px) {
    .leaders-row .leader-card,
    .tp-leaders-track .tp-leader-card,
    .leaders-row .dignitary-card {
        flex: 0 0 190px !important;
        width: 190px !important;
        min-width: 190px !important;
        max-width: 190px !important;
    }
    .leader-card .dignitary-avatar-wrap,
    .tp-leader-card .dignitary-avatar-wrap,
    .dignitary-cm-card .dignitary-avatar-wrap {
        width: 90px !important;
        height: 90px !important;
    }
    .dignitary-cm-card {
        width: 220px !important;
    }
}

/* Small round arrow buttons */
.tp-leaders-nav {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 1.5px solid #bfdbfe !important;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.15) !important;
    color: #1e3a8a !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 10 !important;
    transition: all 0.2s ease !important;
}

.tp-leaders-nav:hover {
    background: #ea580c !important;
    border-color: #ea580c !important;
    color: #ffffff !important;
    transform: translateY(-50%) scale(1.08) !important;
}

.tp-leaders-nav:focus-visible {
    outline: 2px solid #ea580c !important;
    outline-offset: 2px !important;
}

.tp-leaders-prev {
    left: -12px !important;
}

.tp-leaders-next {
    right: -12px !important;
}

/* Hidden on phone if they cover content */
@media (max-width: 600px) {
    .tp-leaders-nav {
        display: none !important;
    }
    .tp-leaders-carousel-wrap {
        padding: 0 !important;
    }
}

/* High Contrast Mode */
[data-contrast="high"] .leaders-row .leader-card,
[data-contrast="high"] .dignitary-cm-card {
    background: #000000 !important;
    border: 2px solid #ffffff !important;
}

[data-contrast="high"] .dignitary-name,
[data-contrast="high"] .dignitary-role {
    color: #ffffff !important;
}

[data-contrast="high"] .dignitary-avatar-wrap {
    border-color: #facc15 !important;
}

[data-contrast="high"] .tp-leaders-nav {
    background: #000000 !important;
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
}

[data-contrast="high"] .tp-leaders-nav:hover {
    background: #facc15 !important;
    color: #000000 !important;
    border-color: #facc15 !important;
}

/* Dark Theme */
html[data-theme="dark"] .dignitaries-section {
    background: #061325 !important;
}

html[data-theme="dark"] .leaders-row .leader-card,
html[data-theme="dark"] .dignitary-cm-card {
    background: rgba(59, 130, 246, 0.12) !important;
    border-color: rgba(59, 130, 246, 0.35) !important;
}

html[data-theme="dark"] .leaders-row .leader-card:hover,
html[data-theme="dark"] .dignitary-cm-card:hover {
    background: rgba(59, 130, 246, 0.22) !important;
    border-color: #60a5fa !important;
}

html[data-theme="dark"] .dignitary-name {
    color: #ffffff !important;
}

html[data-theme="dark"] .dignitary-role {
    color: #93c5fd !important;
}

html[data-theme="dark"] .tp-leaders-nav {
    background: #0b1323 !important;
    border-color: rgba(59, 130, 246, 0.35) !important;
    color: #93c5fd !important;
}

html[data-theme="dark"] .tp-leaders-nav:hover {
    background: #ea580c !important;
    border-color: #ea580c !important;
    color: #ffffff !important;
}



/* ==========================================================================

   UNIVERSAL ANIMATED SEE MORE / SEE LESS FRAMEWORK (MOBILE FIRST COLLAPSE)

   ========================================================================== */



.see-more-btn {

    position: relative;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    padding: 8px 20px;

    border-radius: var(--radius-full);

    font-size: 0.86rem;

    font-weight: 700;

    cursor: pointer;

    background: #eff6ff;

    color: #1e3a8a;

    border: 1.5px solid #bfdbfe;

    box-shadow: 0 2px 6px rgba(30, 58, 138, 0.08);

    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);

    -webkit-tap-highlight-color: transparent;

    user-select: none;

}



.see-more-btn:hover {

    background: #dbeafe;

    border-color: #93c5fd;

    color: #1d4ed8;

    transform: translateY(-1px);

    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.14);

}



.see-more-btn:active {

    transform: scale(0.95);

}



.see-more-btn[aria-expanded="true"] {

    background: #dbeafe;

    border-color: #93c5fd;

    color: #1d4ed8;

    box-shadow: 0 3px 12px rgba(30, 58, 138, 0.12);

}



.see-more-shield {

    color: #1e3a8a;

    flex-shrink: 0;

    transition: transform 0.25s ease;

}



.see-more-btn:active .see-more-shield {

    transform: scale(0.9);

}



.see-more-icon {

    display: inline-block;

    font-size: 0.68rem;

    color: #3b82f6;

    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);

    transform-origin: center center;

    line-height: 1;

    margin-left: 2px;

}



.see-more-btn[aria-expanded="true"] .see-more-icon {

    transform: rotate(180deg);

}



.see-more-text {

    display: inline-block;

    transition: opacity 0.16s ease, transform 0.16s ease;

}



.see-more-btn.is-switching .see-more-text {

    opacity: 0;

    transform: translateY(2px);

}



html[data-theme="dark"] .see-more-btn {

    background: rgba(59, 130, 246, 0.15);

    color: #93c5fd;

    border: 1.5px solid rgba(59, 130, 246, 0.35);

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);

}



html[data-theme="dark"] .see-more-btn:hover,

html[data-theme="dark"] .see-more-btn[aria-expanded="true"] {

    background: rgba(59, 130, 246, 0.25);

    border-color: #60a5fa;

    color: #ffffff;

    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);

}



html[data-theme="dark"] .see-more-shield {

    color: #60a5fa;

}



html[data-theme="dark"] .see-more-icon {

    color: #93c5fd;

}



.see-more-wrap {

    display: flex !important;

    justify-content: center;

    margin-top: 20px;

    width: 100%;

}



.see-more-container:not(.show-all) .see-more-extra {

    display: none !important;

}



.see-more-container.show-all .see-more-extra {

    display: flex !important;

    animation: cardExpandIn 0.32s cubic-bezier(0.16, 1, 0.3, 1) both;

}



.see-more-container.show-all .see-more-extra.is-block {

    display: block !important;

}



.see-more-container.show-all .see-more-extra.is-list-item {

    display: list-item !important;

}



.see-more-container.is-collapsing .see-more-extra {

    display: flex !important;

    animation: cardCollapseOut 0.24s cubic-bezier(0.4, 0, 0.2, 1) both;

}



.see-more-container.is-collapsing .see-more-extra.is-block {

    display: block !important;

}



.see-more-container.is-collapsing .see-more-extra.is-list-item {

    display: list-item !important;

}





.dignitary-card {

    background: #eff6ff;

    border: 1.5px solid #bfdbfe;

    border-radius: 18px;

    padding: 22px 14px 18px;

    text-align: center;

    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);

    display: flex;

    flex-direction: column;

    align-items: center;

    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.08);

}



.dignitary-card:hover {

    transform: translateY(-4px);

    background: #dbeafe;

    border-color: #93c5fd;

    box-shadow: 0 12px 24px -4px rgba(30, 58, 138, 0.16);

}



.dignitary-cm-card {

    background: #eff6ff;

    border: 2px solid #93c5fd;

    border-radius: 20px;

    box-shadow: 0 4px 14px rgba(30, 58, 138, 0.12);

}



.dignitary-cm-card:hover {

    background: #e0f2fe;

    border-color: #60a5fa;

    box-shadow: 0 14px 28px -4px rgba(30, 58, 138, 0.2);

}



.dignitary-avatar-wrap {

    width: 86px;

    height: 86px;

    border-radius: 50%;

    overflow: hidden;

    background: #f8fafc;

    margin-bottom: 12px;

    border: 2.5px solid #ea580c;

    box-shadow: 0 3px 10px rgba(234, 88, 12, 0.18);

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

}



.dignitary-avatar {

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

}



.dignitary-name {

    font-size: 0.96rem;

    font-weight: 800;

    color: #0f172a;

    margin-bottom: 6px;

    line-height: 1.28;

}



.dignitary-role {

    font-size: 0.78rem;

    font-weight: 500;

    font-style: italic;

    color: #64748b;

    line-height: 1.38;

}



/* --- 8 Report Crime Cards (ठाणे पोलीस आयुक्तालयात तक्रार करा - Compact) --- */

.report-crime-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 10px;

}



@media (max-width: 992px) {

    .report-crime-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}



/* --- Report Crime Cards See More / See Less (Desktop & Mobile) --- */

.report-crime-see-more-wrap {

    display: flex !important;

    justify-content: center;

    margin-top: 18px;

    width: 100%;

}



.report-crime-grid:not(.show-all) .report-crime-card-extra {

    display: none !important;

}



.report-crime-grid.show-all .report-crime-card-extra {

    display: flex !important;

    animation: cardExpandIn 0.32s cubic-bezier(0.16, 1, 0.3, 1) both;

}

.report-crime-grid.show-all .report-crime-card-extra:nth-child(5) { animation-delay: 0s; }

.report-crime-grid.show-all .report-crime-card-extra:nth-child(6) { animation-delay: 0.04s; }

.report-crime-grid.show-all .report-crime-card-extra:nth-child(7) { animation-delay: 0.08s; }

.report-crime-grid.show-all .report-crime-card-extra:nth-child(8) { animation-delay: 0.12s; }



.report-crime-grid.is-collapsing .report-crime-card-extra {

    display: flex !important;

    animation: cardCollapseOut 0.24s cubic-bezier(0.4, 0, 0.2, 1) both;

}

.report-crime-grid.is-collapsing .report-crime-card-extra:nth-child(8) { animation-delay: 0s; }

.report-crime-grid.is-collapsing .report-crime-card-extra:nth-child(7) { animation-delay: 0.03s; }

.report-crime-grid.is-collapsing .report-crime-card-extra:nth-child(6) { animation-delay: 0.06s; }

.report-crime-grid.is-collapsing .report-crime-card-extra:nth-child(5) { animation-delay: 0.09s; }



.report-crime-card {

    position: relative;

    min-height: 118px;

    height: auto;

    border-radius: 18px !important;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    padding: 12px 14px;

    text-decoration: none;

    box-shadow: 0 3px 12px rgba(11, 37, 69, 0.12);

    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);

    border: 1.5px solid #bfdbfe !important;

    background: #0b2545 !important;

}



.report-crime-card:hover {

    transform: translateY(-3px) !important;

    border-color: #60a5fa !important;

    box-shadow: 0 10px 24px rgba(11, 37, 69, 0.22) !important;

}



.report-crime-bg {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.4s ease;

    z-index: 1;

}



.report-crime-card:hover .report-crime-bg {

    transform: scale(1.06);

}



.report-crime-overlay {

    position: absolute;

    inset: 0;

    background: linear-gradient(180deg, rgba(8, 26, 48, 0.72) 0%, rgba(11, 37, 69, 0.88) 50%, rgba(8, 26, 48, 0.98) 100%);

    z-index: 2;

    transition: background 0.3s ease;

}



.report-crime-card:hover .report-crime-overlay {

    background: linear-gradient(180deg, rgba(8, 26, 48, 0.65) 0%, rgba(11, 37, 69, 0.82) 50%, rgba(8, 26, 48, 0.95) 100%);

}



.report-crime-content {

    position: relative;

    z-index: 3;

    width: 100%;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    height: 100%;

    gap: 4px;

}



.report-crime-tag {

    display: inline-flex;

    align-items: center;

    align-self: flex-start;

    padding: 2.5px 8.5px;

    border-radius: 9999px;

    background: rgba(254, 240, 138, 0.16);

    border: 1px solid rgba(254, 240, 138, 0.45);

    color: #fef08a;

    font-size: 0.64rem;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.04em;

    line-height: 1.2;

    margin-bottom: 4px;

    backdrop-filter: blur(4px);

    -webkit-backdrop-filter: blur(4px);

    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75);

}



.report-crime-title {

    color: #ffffff;

    font-size: 0.88rem;

    font-weight: 800;

    line-height: 1.25;

    margin-bottom: 6px;

    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);

}



.report-crime-arrow {

    display: inline-flex;

    align-items: center;

    gap: 4px;

    align-self: flex-start;

    font-size: 0.7rem;

    font-weight: 700;

    color: #bfdbfe;

    background: rgba(15, 23, 42, 0.6);

    border: 1px solid rgba(147, 197, 253, 0.35);

    padding: 2.5px 9px;

    border-radius: 9999px;

    transition: all 0.2s ease;

    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);

}



.report-crime-card:hover .report-crime-arrow {

    color: #ffffff;

    background: rgba(29, 78, 216, 0.7);

    border-color: #93c5fd;

    transform: translateX(2px);

}



/* --- Combined Leadership & WhatsApp Compact Grid --- */

.comm-wa-row {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;

    align-items: stretch;

}



.comm-spotlight-card {

    background: #eff6ff;

    border: 1.5px solid #bfdbfe;

    border-radius: 18px;

    padding: 20px;

    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.08);

    display: flex;

    flex-direction: column;

    transition: all 0.22s ease;

}



.comm-spotlight-card:hover {

    background: #dbeafe;

    border-color: #93c5fd;

    box-shadow: 0 6px 18px rgba(30, 58, 138, 0.12);

}



.comm-avatar-box {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 10px;

    padding-bottom: 10px;

    border-bottom: 1px solid var(--color-border);

}



.comm-avatar-img {

    width: 60px;

    height: 60px;

    border-radius: 50%;

    object-fit: cover;

    object-position: top center;

    border: 3px solid var(--color-primary-800);

    box-shadow: var(--shadow-sm);

    flex-shrink: 0;

}



.comm-name {

    font-size: 1.1rem;

    font-weight: 800;

    color: var(--color-primary-900);

    margin: 0 0 2px;

}



.comm-desig {

    font-size: 0.78rem;

    color: var(--color-accent-600);

    font-weight: 700;

    margin: 0;

}



.comm-sub {

    font-size: 0.72rem;

    color: var(--color-text-muted);

}



.comm-quote {

    font-style: italic;

    font-weight: 700;

    color: var(--color-primary-800);

    font-size: 0.88rem;

    margin-bottom: 8px;

    border-left: 3px solid var(--color-primary-800);

    padding-left: 8px;

}



.comm-body-text {

    font-size: 0.84rem;

    line-height: 1.5;

    color: var(--color-text-body);

    margin-bottom: 10px;

}



.comm-hours-box {

    background: #ffffff;

    border: 1.5px solid #bfdbfe;

    padding: 8px 12px;

    border-radius: 14px;

    border-left: 4px solid var(--color-accent-500);

    font-size: 0.78rem;

    margin-top: auto;

}



.whatsapp-compact-card {

    background: #eff6ff !important;

    color: var(--color-text-main) !important;

    border: 1.5px solid #bfdbfe !important;

    border-radius: 18px !important;

    padding: 20px;

    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.08) !important;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    transition: all 0.22s ease;

}



.whatsapp-compact-card:hover {

    border-color: #93c5fd !important;

    box-shadow: 0 8px 22px rgba(30, 58, 138, 0.14) !important;

}



.whatsapp-compact-card .whatsapp-badge {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    background: #dcfce7 !important;

    border: 1px solid #86efac !important;

    color: #15803d !important;

    padding: 4px 12px;

    border-radius: 9999px;

    font-size: 0.76rem;

    font-weight: 700;

    letter-spacing: 0.04em;

    text-transform: uppercase;

    margin-bottom: 10px;

    width: fit-content;

}



.whatsapp-compact-card .whatsapp-badge svg {

    color: #16a34a !important;

}



.whatsapp-compact-title {

    font-size: 1.22rem;

    font-weight: 800;

    line-height: 1.3;

    margin: 4px 0 6px;

    color: var(--color-primary-900) !important;

}



.whatsapp-compact-sub {

    font-size: 0.84rem;

    color: var(--color-text-body) !important;

    line-height: 1.5;

    margin-bottom: 12px;

    opacity: 1 !important;

}



.whatsapp-features-compact {

    list-style: none;

    padding: 0;

    margin: 0 0 16px;

    display: flex;

    flex-direction: column;

    gap: 8px;

}



.whatsapp-features-compact li {

    display: flex;

    align-items: center;

    gap: 9px;

    font-size: 0.84rem;

    color: var(--color-text-main) !important;

    font-weight: 500;

    line-height: 1.4;

    opacity: 1 !important;

}



.whatsapp-features-compact li svg {

    color: #16a34a !important;

    flex-shrink: 0;

}



.whatsapp-action-box-compact {

    background: #ffffff !important;

    border: 1.5px solid #bfdbfe !important;

    border-radius: 14px !important;

    box-shadow: 0 1px 4px rgba(30, 58, 138, 0.04) !important;

    padding: 10px 14px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 12px;

}



.whatsapp-action-box-compact .whatsapp-info-col {

    min-width: 0;

}



.whatsapp-helpline-label {

    font-size: 0.72rem;

    text-transform: uppercase;

    letter-spacing: 0.04em;

    color: var(--color-text-muted) !important;

    font-weight: 700;

}



.whatsapp-number-compact {

    font-size: 1.18rem;

    font-weight: 800;

    color: var(--color-primary-900) !important;

    letter-spacing: 0.03em;

    white-space: nowrap !important;

    text-decoration: none;

    display: inline-block;

    transition: color 0.2s ease;

}



.whatsapp-number-compact:hover {

    color: #16a34a !important;

}



.whatsapp-btn-compact {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    background: #25d366 !important;

    color: #ffffff !important;

    font-size: 0.85rem;

    font-weight: 800;

    padding: 7px 16px;

    border-radius: 9999px;

    text-decoration: none;

    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.35);

    transition: all 0.2s ease;

    white-space: nowrap;

    flex-shrink: 0;

}



.whatsapp-btn-compact:hover {

    background: #20ba5a !important;

    color: #ffffff !important;

    transform: translateY(-1px);

    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.45);

}



@media (max-width: 900px) {

    .comm-wa-row {

        grid-template-columns: 1fr;

    }

}



@media (max-width: 580px) {

    .whatsapp-action-box-compact {

        flex-direction: column;

        align-items: stretch;

        text-align: center;

        gap: 12px;

        padding: 14px;

    }

    .whatsapp-action-box-compact .whatsapp-info-col {

        display: flex;

        flex-direction: column;

        align-items: center;

    }

    .whatsapp-number-compact {

        font-size: 1.35rem;

        letter-spacing: 0.04em;

        margin-top: 2px;

    }

    .whatsapp-btn-compact {

        width: 100%;

        justify-content: center;

        padding: 10px 16px;

        font-size: 0.95rem;

        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.45);

    }

}



/* --- WhatsApp Helpline Card --- */

.whatsapp-card {

    background: linear-gradient(135deg, #064e3b 0%, #065f46 50%, #047857 100%);

    color: #ffffff;

    border-radius: var(--radius-xl);

    padding: 36px;

    box-shadow: 0 10px 25px -5px rgba(6, 95, 70, 0.3);

    position: relative;

    overflow: hidden;

    margin: 40px 0;

}



.whatsapp-card::before {

    content: '';

    position: absolute;

    top: -50px;

    right: -50px;

    width: 200px;

    height: 200px;

    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);

    border-radius: 50%;

}



.whatsapp-grid {

    display: grid;

    grid-template-columns: 1.4fr 1fr;

    gap: 32px;

    align-items: center;

    position: relative;

    z-index: 2;

}



.whatsapp-badge {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    background: rgba(255, 255, 255, 0.2);

    border: 1px solid rgba(255, 255, 255, 0.3);

    padding: 4px 12px;

    border-radius: var(--radius-full);

    font-size: 0.78rem;

    font-weight: 700;

    letter-spacing: 0.04em;

    text-transform: uppercase;

    margin-bottom: 12px;

}



.whatsapp-features {

    list-style: none;

    margin: 16px 0 24px;

    display: flex;

    flex-direction: column;

    gap: 8px;

}



.whatsapp-features li {

    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 0.95rem;

}



.whatsapp-features li svg {

    flex-shrink: 0;

    color: #6ee7b7;

}



.whatsapp-action-box {

    background: rgba(255, 255, 255, 0.1);

    border: 1px solid rgba(255, 255, 255, 0.25);

    border-radius: var(--radius-lg);

    padding: 24px;

    text-align: center;

    backdrop-filter: blur(8px);

}



.whatsapp-number {

    font-size: 1.6rem;

    font-weight: 800;

    letter-spacing: 0.05em;

    color: #ffffff;

    margin-bottom: 6px;

}



.whatsapp-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    background: #25d366;

    color: #ffffff;

    font-size: 1rem;

    font-weight: 800;

    padding: 12px 24px;

    border-radius: var(--radius-full);

    text-decoration: none;

    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);

    transition: var(--transition);

    width: 100%;

}



.whatsapp-btn:hover {

    background: #20ba5a;

    transform: translateY(-2px);

    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);

    color: #ffffff;

}



@media (max-width: 768px) {

    .whatsapp-grid {

        grid-template-columns: 1fr;

    }

}



/* --- Mobile Responsiveness & Font Uniformity Rules --- */

html {

    -webkit-font-smoothing: antialiased;

    -moz-osx-font-smoothing: grayscale;

    text-rendering: optimizeLegibility;

    -webkit-text-size-adjust: 100%;

}



/* ==============================================================
   RESPONSIVE HEADER: MOBILE & TABLET COMMISSIONERATE BRANDING
   ============================================================== */

/* Default Desktop (>= 1024px): Hide mobile branding block and keep desktop banner intact */
.mobile-brand-identity {
    display: none !important;
}

@media (max-width: 1023px) {
    /* 1. Hide 24X7 Control Room & Citizen WhatsApp boxes and desktop banner */
    .header-hide-mobile,
    .site-brand-banner.header-hide-mobile,
    .site-brand-banner {
        display: none !important;
    }

    /* 2. Hide old "THANE POLICE" single-title mobile row (display:none, HTML preserved) */
    .mobile-sticky-brand {
        display: none !important;
    }

    /* 3. Hide desktop navigation links & mega menus */
    .nav-desktop,
    .mega-menu-panel {
        display: none !important;
    }

    /* 4. Main header & container layout */
    .site-header {
        position: sticky;
        top: 0;
        z-index: 10000 !important;
        background: #ffffff;
        border-bottom: 1px solid var(--color-border);
        box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
        width: 100% !important;
    }

    .site-header .container.header-inner,
    .site-header .header-inner,
    .header-inner {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 10px !important;
        padding: 8px 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 5. Mobile & Tablet Full Commissionerate Branding Block (Left Side) */
    .mobile-brand-identity {
        display: flex !important;
        align-items: center !important;
        gap: 12px;
        text-decoration: none !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        max-width: calc(100% - 50px) !important;
    }

    .mobile-brand-identity:hover {
        text-decoration: none !important;
    }

    .mobile-brand-identity .brand-emblems-cluster {
        display: flex !important;
        align-items: center !important;
        gap: 8px;
        flex-shrink: 0 !important;
    }

    .mobile-brand-identity .brand-emblem-ashoka {
        height: 46px;
        width: auto;
        object-fit: contain;
        filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.08));
    }

    .mobile-brand-identity .brand-emblem-seal {
        height: 46px;
        width: auto;
        object-fit: contain;
        filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.08));
    }

    .mobile-brand-identity .brand-divider-line {
        width: 1.5px;
        height: 42px;
        background: linear-gradient(to bottom, transparent, #cbd5e1, transparent);
        flex-shrink: 0 !important;
        margin: 0 4px;
    }

    .mobile-brand-identity .brand-text-block {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        min-width: 0 !important;
        flex: 1 1 auto !important;
        overflow: hidden !important;
    }

    .mobile-brand-identity .brand-marathi-name {
        font-size: clamp(18px, 3vw, 24px) !important;
        font-weight: 900 !important;
        color: var(--color-primary-900) !important;
        line-height: 1.18 !important;
        letter-spacing: -0.01em !important;
        white-space: normal !important;
        word-break: normal !important;
        margin: 0 !important;
    }

    .mobile-brand-identity .brand-english-name {
        font-size: clamp(11px, 1.8vw, 14.5px) !important;
        font-weight: 800 !important;
        color: var(--color-primary-700) !important;
        letter-spacing: 0.03em !important;
        line-height: 1.2 !important;
        text-transform: uppercase !important;
        white-space: normal !important;
        word-break: normal !important;
        margin-top: 1px !important;
    }

    .mobile-brand-identity .brand-motto-row {
        display: flex !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        gap: 4px;
        font-size: clamp(9.5px, 1.4vw, 12px) !important;
        font-weight: 700 !important;
        color: #64748b !important;
        text-transform: uppercase !important;
        letter-spacing: 0.03em !important;
        margin-top: 2px !important;
        line-height: 1.25 !important;
        white-space: normal !important;
    }

    .mobile-brand-identity .brand-motto-text {
        color: var(--color-accent-600) !important;
        font-weight: 800 !important;
    }

    .mobile-brand-identity .brand-motto-dot {
        color: #94a3b8 !important;
    }

    .mobile-brand-identity .brand-govt-text {
        color: #64748b !important;
    }

    /* 6. Hamburger Menu Button (Right Side) */
    .mobile-menu-toggle {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        width: 40px !important;
        height: 40px !important;
        margin-left: auto !important;
        padding: 7px !important;
        background: #ffffff !important;
        border: 1.5px solid var(--color-border) !important;
        border-radius: 10px !important;
        cursor: pointer !important;
        color: var(--color-primary-800) !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
        box-sizing: border-box !important;
    }
}

/* Mobile Screens (max-width 767px) */
@media (max-width: 767px) {
    .site-header .container.header-inner,
    .site-header .header-inner,
    .header-inner {
        padding: 6px 12px !important;
        gap: 8px !important;
    }

    .mobile-brand-identity {
        gap: 8px !important;
        max-width: calc(100% - 46px) !important;
    }

    .mobile-brand-identity .brand-emblems-cluster {
        gap: 5px !important;
    }

    .mobile-brand-identity .brand-emblem-ashoka,
    .mobile-brand-identity .brand-emblem-seal {
        height: clamp(32px, 8vw, 36px) !important;
    }

    .mobile-brand-identity .brand-divider-line {
        width: 1px !important;
        height: 32px !important;
        margin: 0 2px !important;
    }

    .mobile-brand-identity .brand-marathi-name {
        font-size: clamp(14px, 4.2vw, 20px) !important;
        line-height: 1.15 !important;
        white-space: normal !important;
    }

    .mobile-brand-identity .brand-english-name {
        font-size: clamp(9px, 2.6vw, 13px) !important;
        letter-spacing: 0.02em !important;
        line-height: 1.15 !important;
        white-space: normal !important;
    }

    .mobile-brand-identity .brand-motto-row {
        font-size: clamp(8px, 2.2vw, 11px) !important;
        gap: 3px !important;
        line-height: 1.25 !important;
        white-space: normal !important;
    }

    .mobile-menu-toggle {
        width: 38px !important;
        height: 38px !important;
        padding: 6px !important;
        border-radius: 8px !important;
    }
}

/* Ultra Compact Mobile (max-width 380px) */
@media (max-width: 380px) {
    .site-header .container.header-inner,
    .site-header .header-inner,
    .header-inner {
        padding: 5px 8px !important;
        gap: 6px !important;
    }

    .mobile-brand-identity {
        gap: 6px !important;
        max-width: calc(100% - 44px) !important;
    }

    .mobile-brand-identity .brand-emblems-cluster {
        gap: 4px !important;
    }

    .mobile-brand-identity .brand-emblem-ashoka,
    .mobile-brand-identity .brand-emblem-seal {
        height: 32px !important;
    }

    .mobile-brand-identity .brand-divider-line {
        display: none !important;
    }

    .mobile-brand-identity .brand-marathi-name {
        font-size: 13.5px !important;
    }

    .mobile-brand-identity .brand-english-name {
        font-size: 8.8px !important;
        letter-spacing: 0.01em !important;
    }

    .mobile-brand-identity .brand-motto-row {
        font-size: 7.8px !important;
    }

    .mobile-menu-toggle {
        width: 36px !important;
        height: 36px !important;
        padding: 5px !important;
    }
}

/* Dark Mode Support for Mobile / Tablet Header */
html[data-theme="dark"] .mobile-brand-identity .brand-marathi-name {
    color: #f8fafc !important;
}

html[data-theme="dark"] .mobile-brand-identity .brand-english-name {
    color: #93c5fd !important;
}

html[data-theme="dark"] .mobile-brand-identity .brand-motto-row {
    color: #94a3b8 !important;
}

html[data-theme="dark"] .mobile-brand-identity .brand-motto-text {
    color: #fbbf24 !important;
}

html[data-theme="dark"] .mobile-brand-identity .brand-govt-text {
    color: #94a3b8 !important;
}

html[data-theme="dark"] .mobile-brand-identity .brand-divider-line {
    background: linear-gradient(to bottom, transparent, #334155, transparent) !important;
}

html[data-theme="dark"] .mobile-menu-toggle {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: #334155 !important;
    color: #f1f5f9 !important;
}



@media (max-width: 768px) {

    .top-bar-emergency-inner {

        flex-direction: row;

        align-items: center;

        gap: 8px;

    }



    .emergency-label-box {

        padding: 2px 7px;

    }



    .emergency-label {

        font-size: 0.72rem;

    }



    .emergency-marquee-wrap {

        width: 100%;

    }



    .emergency-pill {

        padding: 3px 9px;

        font-size: 0.73rem;

    }



    .emergency-marquee-track {

        animation-duration: 20s;

    }



    .top-bar-utility-inner {

        flex-direction: column;

        align-items: stretch;

        gap: 8px;

    }



    .accessibility-tools {

        justify-content: center;

        width: 100%;

    }



    .lang-selector-group {

        justify-content: center;

        width: 100%;

        margin-left: 0;

        flex-wrap: wrap;

    }



    .brand-identity-link {

        gap: 12px;

    }



    .brand-emblem-ashoka,

    .brand-emblem-seal {

        height: 48px;

    }



    .brand-divider-line {

        height: 44px;

    }



    .brand-marathi-name {

        font-size: 1.18rem;

    }



    .brand-english-name {

        font-size: 0.88rem;

    }



    .brand-motto-row {

        font-size: 0.68rem;

    }



    .units-grid {

        grid-template-columns: 1fr !important;

    }

}



@media (max-width: 480px) {

    .brand-identity-link {

        gap: 8px;

    }



    .brand-emblems-cluster {

        gap: 6px;

    }



    .brand-emblem-ashoka,

    .brand-emblem-seal {

        height: 40px;

    }



    .brand-divider-line {

        height: 38px;

        width: 1px;

    }



    .brand-marathi-name {

        font-size: 1.02rem;

    }



    .brand-english-name {

        font-size: 0.74rem;

        letter-spacing: 0.02em;

    }



    .brand-motto-row {

        font-size: 0.62rem;

        flex-wrap: wrap;

    }



    .brand-banner-tools {

        flex-direction: column;

        align-items: stretch;

        gap: 8px;

    }



    .control-room-card,

    .brand-whatsapp-badge {

        width: 100%;

    }

}



/* --- Global Responsive Content Grids & Utilities --- */

.grid-2col-responsive {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 24px;

}



.grid-sidebar-responsive {

    display: grid;

    grid-template-columns: 2fr 1fr;

    gap: 36px;

    align-items: start;

}



.grid-form-sidebar-responsive {

    display: grid;

    grid-template-columns: 1.5fr 1fr;

    gap: 36px;

    align-items: start;

}



.grid-cards-responsive {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));

    gap: 20px;

}



.form-row-2col {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 16px;

}



.grid-emergency-boxes {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));

    gap: 20px;

    margin-bottom: 44px;

}



/* --- Leadership Page Specialized Responsive Classes --- */

.leadership-hero-banner {

    background: linear-gradient(135deg, #0d2847 0%, #1e3a8a 100%);

    border-radius: 18px;

    padding: 36px 32px;

    color: #ffffff;

    margin-bottom: 36px;

    box-shadow: 0 10px 25px -5px rgba(13,40,71,0.25);

    position: relative;

    overflow: hidden;

}



.officer-apex-card {

    background: #ffffff;

    border: 2px solid #e0e7ff;

    border-radius: 20px;

    padding: 32px;

    box-shadow: 0 8px 30px rgba(30,58,138,0.08);

    margin-bottom: 44px;

    position: relative;

    overflow: hidden;

}



.officer-apex-accent-line {

    position: absolute;

    top: 0;

    left: 0;

    width: 6px;

    height: 100%;

    background: linear-gradient(180deg, #d97706 0%, #1e3a8a 100%);

}



.officer-apex-grid {

    display: grid;

    grid-template-columns: 240px 1fr;

    gap: 36px;

    align-items: center;

}



.officer-apex-profile {

    text-align: center;

}



.officer-apex-avatar-wrap {

    width: 190px;

    height: 190px;

    border-radius: 50%;

    background: #f8fafc;

    border: 4px solid #1e3a8a;

    overflow: hidden;

    margin: 0 auto 16px;

    box-shadow: 0 8px 24px rgba(0,0,0,0.12);

}



.officer-apex-img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: top center;

}



.officer-apex-badge {

    display: inline-block;

    background: linear-gradient(135deg, #d97706, #b45309);

    color: #ffffff;

    font-size: 0.75rem;

    font-weight: 800;

    padding: 4px 14px;

    border-radius: 999px;

    text-transform: uppercase;

    letter-spacing: 0.04em;

}



.officer-apex-name {

    font-size: 1.35rem;

    font-weight: 800;

    color: #0f172a;

    margin: 10px 0 4px;

}



.officer-apex-desig {

    font-size: 0.92rem;

    font-weight: 700;

    color: #1e40af;

}



.officer-apex-quote-box {

    background: #f8fafc;

    border-left: 4px solid #1e3a8a;

    border-radius: 12px;

    padding: 18px 22px;

    margin-bottom: 20px;

}



.officer-apex-quote {

    font-size: 1.02rem;

    font-style: italic;

    font-weight: 600;

    color: #1e293b;

    line-height: 1.6;

    margin-bottom: 8px;

}



.officer-apex-quote-author {

    font-size: 0.82rem;

    font-weight: 700;

    color: #64748b;

    text-transform: uppercase;

}



.officer-contact-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));

    gap: 16px;

    margin-bottom: 20px;

    font-size: 0.9rem;

}



.officer-contact-cell {

    background: #f1f5f9;

    padding: 12px 16px;

    border-radius: 10px;

}



.officer-contact-cell .cell-label {

    font-size: 0.75rem;

    color: #64748b;

    font-weight: 700;

    text-transform: uppercase;

    margin-bottom: 3px;

}



.officer-contact-cell .cell-val {

    font-weight: 700;

    color: #1e3a8a;

    text-decoration: none;

    font-size: 0.95rem;

}



.officer-actions-row {

    display: flex;

    gap: 12px;

    flex-wrap: wrap;

}



.officers-grid-tier {

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));

    gap: 22px;

}



.officers-flowchart-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));

    gap: 16px;

}



/* Tablet & Mobile Breakpoint (<= 860px) */

@media (max-width: 860px) {

    .grid-2col-responsive,

    .grid-sidebar-responsive,

    .grid-form-sidebar-responsive {

        grid-template-columns: 1fr !important;

        gap: 20px !important;

    }

}



/* Mobile Breakpoint (<= 768px) */

@media (max-width: 768px) {

    .site-header .container {

        padding-left: 14px !important;

        padding-right: 14px !important;

    }



    .header-inner {

        padding: 8px 0 !important;

        justify-content: space-between !important;

    }



    .leadership-hero-banner {

        padding: 24px 18px !important;

        border-radius: 14px !important;

        margin-bottom: 24px !important;

    }



    .officer-apex-card {

        padding: 20px 16px !important;

        border-radius: 16px !important;

        margin-bottom: 28px !important;

    }



    .officer-apex-grid {

        grid-template-columns: 1fr !important;

        gap: 20px !important;

        text-align: center;

    }



    .officer-apex-avatar-wrap {

        width: 140px !important;

        height: 140px !important;

        margin: 0 auto 12px !important;

    }



    .officer-apex-quote-box {

        padding: 14px 16px !important;

        text-align: left;

    }



    .officer-contact-grid {

        grid-template-columns: 1fr !important;

        gap: 10px !important;

        text-align: left;

    }



    .officer-actions-row {

        flex-direction: column !important;

        width: 100% !important;

    }



    .officer-actions-row .btn {

        width: 100% !important;

        justify-content: center !important;

    }



    .officers-grid-tier {

        grid-template-columns: 1fr !important;

        gap: 16px !important;

    }



    .officers-flowchart-grid {

        grid-template-columns: 1fr !important;

    }

}



/* Base Section Definitions for Calibrated Spacing */

.mui-operations-section {

    border-bottom: 1px solid var(--color-border);

    padding: 26px 0 22px;

}



.dignitaries-section {

    border-bottom: 1px solid var(--color-border);

    padding: 22px 0 24px;

}



.feedback-form-card {

    background: #eff6ff;

    border: 1.5px solid #bfdbfe;

    border-radius: 18px;

    padding: clamp(16px, 3vw, 24px);

    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.08);

}



/* Site-wide Balanced Mobile Spacing System (No Excessive Gaps) */

@media (max-width: 768px) {

    .section {

        padding: 18px 0 !important;

    }



    .section-header {

        margin: 0 auto 12px !important;

    }



    .section-badge {

        padding: 3px 10px !important;

        margin-bottom: 6px !important;

        font-size: 0.74rem !important;

    }



    .section-title {

        font-size: 1.45rem !important;

        margin-top: 3px !important;

        margin-bottom: 6px !important;

    }



    .section-desc {

        font-size: 0.86rem !important;

        line-height: 1.45 !important;

        margin-top: 4px !important;

    }



    .mui-operations-section {

        padding: 18px 0 16px !important;

    }



    .mui-tabs-nav {

        margin-bottom: 16px !important;

    }



    main > .container,

    .main-content > .container {

        padding-top: 20px !important;

        padding-bottom: 28px !important;

    }



    .dignitaries-section {

        padding: 16px 0 18px !important;

    }



    



    .portal-strip-section {

        padding: 16px 0 18px !important;

    }



    .portal-strip-header {

        margin-bottom: 12px !important;

    }



    .social-connect-strip {

        padding: 14px 0 !important;

    }



    .social-icons-group {

        gap: 14px !important;

    }



    .feedback-form-card {

        padding: 16px 14px !important;

    }

}



/* Small Mobile Screen Breakpoint (<= 600px) */

@media (max-width: 600px) {

    .form-row-2col {

        grid-template-columns: 1fr !important;

        gap: 12px !important;

    }



    .grid-cards-responsive {

        grid-template-columns: 1fr !important;

    }



    .grid-emergency-boxes {

        grid-template-columns: 1fr !important;

        gap: 14px !important;

        margin-bottom: 24px !important;

    }

}



/* ==========================================================================

   POLICE CONNECT - DARK MODE SYSTEM (डार्क मोड)

   ========================================================================== */



/* ==========================================================================

   POLICE CONNECT - ADVANCED DARK THEME CALIBRATION

   ========================================================================== */

html[data-theme="dark"],

html.dark-mode {

    color-scheme: dark;



    /* Base Surfaces */

    --color-surface-bg: #090f1d;

    --color-surface-card: #131e33;

    --color-surface-card-hover: #1a2a46;

    --color-surface-subtle: #0d1627;

    --color-surface-alt: #0a1122;



    /* Typography */

    --color-text-title: #f8fafc;

    --color-text-main: #f8fafc;

    --color-text-body: #cbd5e1;

    --color-text-muted: #94a3b8;

    --color-text-light: #64748b;



    /* Primary Police Tones (Luminous in Dark Mode) */

    --color-primary-900: #f8fafc;

    --color-primary-800: #60a5fa;

    --color-primary-700: #93c5fd;

    --color-primary-600: #3b82f6;

    --color-primary-500: #60a5fa;



    /* Accents (Radiant Amber & Gold) */

    --color-accent-600: #fbbf24;

    --color-accent-500: #f59e0b;

    --color-accent-400: #fcd34d;

    --color-accent-100: rgba(245, 158, 11, 0.15);



    /* Borders */

    --color-border: #20314d;

    --color-border-subtle: #172439;



    /* Status BGs */

    --color-success-bg: rgba(16, 185, 129, 0.15);

    --color-danger-bg: rgba(239, 68, 68, 0.15);

    --color-warning-bg: rgba(245, 158, 11, 0.15);



    /* Shadows */

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);

    --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.5);

    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.65);

}



html[data-theme="dark"] body,

html.dark-mode body {

    background-color: #090f1d !important;

    color: #cbd5e1 !important;

}



/* 1. Header & Navigation Tiers */

html[data-theme="dark"] .top-emergency-bar {

    background-color: #040810 !important;

}



html[data-theme="dark"] .top-bar-emergency-tier {

    background-color: #040810 !important;

    border-color: rgba(255, 255, 255, 0.08) !important;

}



html[data-theme="dark"] .top-bar-utility-tier {

    background-color: #060c18 !important;

    border-bottom: 2px solid #f59e0b !important;

}



html[data-theme="dark"] .site-brand-banner {

    background: #0b1323 !important;

    border-color: #1a273f !important;

}



html[data-theme="dark"] .brand-marathi-name {

    color: #f8fafc !important;

}



html[data-theme="dark"] .brand-english-name {

    color: #93c5fd !important;

}



html[data-theme="dark"] .brand-motto-row {

    color: #94a3b8 !important;

}



html[data-theme="dark"] .brand-motto-text {

    color: #fbbf24 !important;

}



html[data-theme="dark"] .brand-govt-text {

    color: #94a3b8 !important;

}



html[data-theme="dark"] .control-room-card {

    background: #131e33 !important;

    border-color: #20314d !important;

    border-left: 3px solid #f59e0b !important;

}



html[data-theme="dark"] .cr-badge {

    color: #f8fafc !important;

}



html[data-theme="dark"] .cr-help-label {

    color: #94a3b8 !important;

}



html[data-theme="dark"] .cr-helplines-row {

    color: #cbd5e1 !important;

}



html[data-theme="dark"] .brand-whatsapp-badge {

    background: rgba(34, 197, 94, 0.12) !important;

    border-color: rgba(34, 197, 94, 0.3) !important;

}



html[data-theme="dark"] .wa-title {

    color: #4ade80 !important;

}



html[data-theme="dark"] .wa-num {

    color: #f8fafc !important;

}



html[data-theme="dark"] .site-header {

    background: #090f1d !important;

    border-color: #1a273f !important;

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;

}



html[data-theme="dark"] .nav-desktop .nav-link {

    background: rgba(59, 130, 246, 0.12) !important;

    color: #93c5fd !important;

    border: 1.5px solid rgba(59, 130, 246, 0.32) !important;

    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;

}



html[data-theme="dark"] .nav-desktop .nav-link:hover,

html[data-theme="dark"] .nav-desktop .nav-dropdown-item:hover > .nav-dropdown-trigger {

    background: rgba(59, 130, 246, 0.24) !important;

    border-color: #60a5fa !important;

    color: #ffffff !important;

    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.25) !important;

}



html[data-theme="dark"] .nav-desktop .nav-link.active {

    background: #2563eb !important;

    border-color: #3b82f6 !important;

    color: #ffffff !important;

}



html[data-theme="dark"] .nav-desktop .dropdown-chevron-icon {

    stroke: #93c5fd !important;

}



html[data-theme="dark"] .nav-desktop .nav-link:hover .dropdown-chevron-icon,

html[data-theme="dark"] .nav-desktop .nav-link.active .dropdown-chevron-icon {

    stroke: #ffffff !important;

}



html[data-theme="dark"] .mega-menu-panel {

    background: #131e33 !important;

    border: 1px solid #20314d !important;

    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6) !important;

}



html[data-theme="dark"] .mega-menu-header {

    border-color: #20314d !important;

}



html[data-theme="dark"] .mega-col-title {

    color: #60a5fa !important;

}



html[data-theme="dark"] .mega-menu-list li a {

    color: #cbd5e1 !important;

}



html[data-theme="dark"] .mega-menu-list li a:hover {

    background-color: #1a2a46 !important;

    color: #93c5fd !important;

}



html[data-theme="dark"] .badge-photos {

    background: #1a2a46 !important;

    color: #94a3b8 !important;

    border-color: #20314d !important;

}



/* 2. Language Dropdown in Dark Mode */

html[data-theme="dark"] .lang-picker-btn {

    background: #131e33 !important;

    color: #f8fafc !important;

    border-color: #20314d !important;

}



html[data-theme="dark"] .lang-picker-btn:hover {

    border-color: #3b82f6 !important;

}



html[data-theme="dark"] .lang-picker-dropdown {

    background: #131e33 !important;

    border-color: #20314d !important;

    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6) !important;

}



html[data-theme="dark"] .lang-search-header {

    background: #0d1627 !important;

    border-color: #20314d !important;

}



html[data-theme="dark"] .lang-search-input {

    background-color: #131e33 !important;

    color: #f8fafc !important;

    border-color: #20314d !important;

}



html[data-theme="dark"] .lang-optgroup-title {

    color: #60a5fa !important;

    background: #0d1627 !important;

    border-color: #20314d !important;

}



html[data-theme="dark"] .lang-option {

    color: #cbd5e1 !important;

}



html[data-theme="dark"] .lang-option:hover,

html[data-theme="dark"] .lang-option:focus,

html[data-theme="dark"] .lang-option.focused {

    background: #1a2a46 !important;

    color: #93c5fd !important;

}



html[data-theme="dark"] .lang-option.selected {

    background: rgba(37, 99, 235, 0.25) !important;

    color: #60a5fa !important;

}



html[data-theme="dark"] .lang-option-badge {

    background: #1a2a46 !important;

    color: #94a3b8 !important;

}



/* 3. Hero Section */

html[data-theme="dark"] .hero-section {

    background: linear-gradient(180deg, #0c1424 0%, #090f1d 100%) !important;

    border-color: #1a273f !important;

}



html[data-theme="dark"] .hero-badge-pill {

    background: rgba(59, 130, 246, 0.15) !important;

    color: #60a5fa !important;

    border-color: rgba(59, 130, 246, 0.35) !important;

}



html[data-theme="dark"] .hero-title {

    color: #f8fafc !important;

}



html[data-theme="dark"] .hero-lead {

    color: #cbd5e1 !important;

}



html[data-theme="dark"] .hero-card {

    background: #131e33 !important;

    border-color: #20314d !important;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;

}



html[data-theme="dark"] .hero-card-header {

    border-color: #20314d !important;

}



html[data-theme="dark"] .hero-card-title {

    color: #f8fafc !important;

}



html[data-theme="dark"] .hero-card-icon-wrap {

    background: #1e293b !important;

    color: #93c5fd !important;

}



html[data-theme="dark"] .hero-station-search-input {

    background: #1e293b !important;

    border-color: #334155 !important;

    color: #f8fafc !important;

}



html[data-theme="dark"] .hero-station-search-input:focus {

    border-color: #38bdf8 !important;

    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25) !important;

}



html[data-theme="dark"] .hero-search-icon {

    color: #38bdf8 !important;

}



html[data-theme="dark"] .hero-station-suggest-box {

    background: #0f172a !important;

    border-color: #334155 !important;

    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.7) !important;

}



html[data-theme="dark"] .hero-suggest-item:hover,

html[data-theme="dark"] .hero-suggest-item.is-selected {

    background: #1e293b !important;

    border-left-color: #38bdf8 !important;

}



html[data-theme="dark"] .hero-suggest-item-name {

    color: #f8fafc !important;

}



html[data-theme="dark"] .hero-suggest-badge {

    background: #1e3a8a !important;

    color: #93c5fd !important;

}



/* 4. Dignitaries Section (आमचे नेतृत्व) */

html[data-theme="dark"] .dignitaries-section {

    background-color: #090f1d !important;

    border-color: #1a273f !important;

}



html[data-theme="dark"] .dignitaries-section h2 {

    color: #fb923c !important;

}



html[data-theme="dark"] .dignitaries-section h2 + div {

    background: #fb923c !important;

}



html[data-theme="dark"] .dignitary-card {

    background: rgba(59, 130, 246, 0.12) !important;

    border: 1.5px solid rgba(59, 130, 246, 0.35) !important;

    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;

}



html[data-theme="dark"] .dignitary-cm-card {

    background: rgba(59, 130, 246, 0.18) !important;

    border: 2px solid rgba(96, 165, 250, 0.5) !important;

    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5) !important;

}



html[data-theme="dark"] .dignitary-card:hover {

    background: rgba(59, 130, 246, 0.22) !important;

    border-color: #60a5fa !important;

    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6) !important;

}



html[data-theme="dark"] .dignitary-avatar-wrap {

    background: #0d1627 !important;

    border-color: #f97316 !important;

}



html[data-theme="dark"] .dignitary-name {

    color: #ffffff !important;

}



html[data-theme="dark"] .dignitary-role {

    color: #93c5fd !important;

}



/* 5. Metrics Strip & Alternate Sections */

html[data-theme="dark"] .section-alt,

html.dark-mode .section-alt,

body.dark-mode .section-alt {

    background-color: #0b1323 !important;

    border-color: #1a273f !important;

}



html[data-theme="dark"] .mui-operations-section,

html.dark-mode .mui-operations-section,

body.dark-mode .mui-operations-section {

    border-color: #1a273f !important;

}



html[data-theme="dark"] .dignitaries-section,

html.dark-mode .dignitaries-section,

body.dark-mode .dignitaries-section {

    border-color: #1a273f !important;

}



/* 6. Commissioner Spotlight */

html[data-theme="dark"] .comm-spotlight-card {

    background: rgba(59, 130, 246, 0.12) !important;

    border: 1.5px solid rgba(59, 130, 246, 0.35) !important;

    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;

    border-radius: 18px !important;

}



html[data-theme="dark"] .comm-spotlight-card:hover {

    background: rgba(59, 130, 246, 0.22) !important;

    border-color: #60a5fa !important;

}



html[data-theme="dark"] .comm-avatar-box {

    border-color: #20314d !important;

}



html[data-theme="dark"] .comm-name {

    color: #f8fafc !important;

}



html[data-theme="dark"] .comm-desig {

    color: #fbbf24 !important;

}



html[data-theme="dark"] .comm-quote {

    color: #93c5fd !important;

    border-left-color: #3b82f6 !important;

}



html[data-theme="dark"] .comm-body-text {

    color: #cbd5e1 !important;

}



html[data-theme="dark"] .comm-hours-box {

    background: #0d1627 !important;

    border-color: #20314d !important;

    border-left-color: #f59e0b !important;

    color: #e2e8f0 !important;

}



/* 7. Operations Hub, Tabs & Content */

html[data-theme="dark"] #muiOperationsHub {

    background-color: #090f1d !important;

    border-color: #1a273f !important;

}



html[data-theme="dark"] .hub-badge {

    background: rgba(37, 99, 235, 0.15) !important;

    color: #93c5fd !important;

    border: 1px solid rgba(59, 130, 246, 0.3) !important;

}



html[data-theme="dark"] .mui-tabs-nav {

    background: #0d1627 !important;

    border: 1px solid #20314d !important;

}



html[data-theme="dark"] .mui-tab-btn {

    color: #94a3b8 !important;

}



html[data-theme="dark"] .mui-tab-btn:hover {

    color: #ffffff !important;

    background: rgba(255, 255, 255, 0.06) !important;

}



html[data-theme="dark"] .mui-tab-btn.active {

    background: #2563eb !important;

    color: #ffffff !important;

    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4) !important;

}



html[data-theme="dark"] .service-card {

    background: rgba(59, 130, 246, 0.12) !important;

    border: 1.5px solid rgba(59, 130, 246, 0.35) !important;

    border-radius: 18px !important;

    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;

}



html[data-theme="dark"] .service-card:hover {

    background: rgba(59, 130, 246, 0.22) !important;

    border-color: #60a5fa !important;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5) !important;

}



html[data-theme="dark"] .service-title {

    color: #f8fafc !important;

}



html[data-theme="dark"] .service-desc {

    color: #cbd5e1 !important;

}



html[data-theme="dark"] .service-footer {

    border-top-color: #20314d !important;

}



html[data-theme="dark"] .gallery-card {

    background: rgba(59, 130, 246, 0.12) !important;

    border: 1.5px solid rgba(59, 130, 246, 0.35) !important;

    border-radius: 18px !important;

    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;

}



html[data-theme="dark"] .gallery-card:hover {

    background: rgba(59, 130, 246, 0.22) !important;

    border-color: #60a5fa !important;

}



html[data-theme="dark"] .gallery-body h3 {

    color: #f8fafc !important;

}



html[data-theme="dark"] .gallery-body p {

    color: #cbd5e1 !important;

}



html[data-theme="dark"] .safety-preview-card {

    background: rgba(59, 130, 246, 0.12) !important;

    border: 1.5px solid rgba(59, 130, 246, 0.35) !important;

    border-radius: 18px !important;

    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;

}



html[data-theme="dark"] .safety-preview-card:hover {

    background: rgba(59, 130, 246, 0.22) !important;

    border-color: #60a5fa !important;

}



html[data-theme="dark"] .safety-preview-card h3 {

    color: #f8fafc !important;

}



html[data-theme="dark"] .safety-preview-card p {

    color: #cbd5e1 !important;

}



html[data-theme="dark"] .station-filter-bar {

    background: #131e33 !important;

    border-color: #20314d !important;

}



html[data-theme="dark"] .station-item-card {

    background: rgba(59, 130, 246, 0.12) !important;

    border: 1.5px solid rgba(59, 130, 246, 0.35) !important;

    border-radius: 14px !important;

}



html[data-theme="dark"] .station-item-card:hover {

    background: rgba(59, 130, 246, 0.22) !important;

    border-color: #60a5fa !important;

}



html[data-theme="dark"] .station-item-card h4 {

    color: #f8fafc !important;

}



html[data-theme="dark"] .station-zone-badge {

    background: rgba(59, 130, 246, 0.2) !important;

    color: #93c5fd !important;

}



html[data-theme="dark"] .accordion-header {

    background: transparent !important;

    color: #f8fafc !important;

}



html[data-theme="dark"] .accordion-item {

    background: rgba(59, 130, 246, 0.12) !important;

    border: 1.5px solid rgba(59, 130, 246, 0.35) !important;

    border-radius: 16px !important;

}



html[data-theme="dark"] .accordion-item.open .accordion-header {

    background: rgba(59, 130, 246, 0.18) !important;

    color: #60a5fa !important;

}



html[data-theme="dark"] .accordion-body {

    background: #0d1627 !important;

    color: #cbd5e1 !important;

    border-color: #20314d !important;

}



html[data-theme="dark"] .home-news-card {

    background: rgba(59, 130, 246, 0.12) !important;

    border: 1.5px solid rgba(59, 130, 246, 0.35) !important;

    border-radius: 18px !important;

    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;

}



html[data-theme="dark"] .home-news-card:hover {

    background: rgba(59, 130, 246, 0.22) !important;

    border-color: #60a5fa !important;

}



html[data-theme="dark"] .home-news-card h4 a {

    color: #f8fafc !important;

}



html[data-theme="dark"] .home-news-card p {

    color: #cbd5e1 !important;

}



html[data-theme="dark"] .feedback-form-card {

    background: rgba(59, 130, 246, 0.12) !important;

    border: 1.5px solid rgba(59, 130, 246, 0.35) !important;

    border-radius: 18px !important;

    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;

}



/* 8. Secondary Buttons in Dark Mode - Matching See More Box Style */

html[data-theme="dark"] .btn-secondary,

html[data-theme="dark"] .btn-outline {

    background-color: rgba(59, 130, 246, 0.15) !important;

    color: #93c5fd !important;

    border: 1px solid rgba(59, 130, 246, 0.35) !important;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;

}



html[data-theme="dark"] .btn-secondary:hover,

html[data-theme="dark"] .btn-outline:hover {

    background-color: rgba(59, 130, 246, 0.25) !important;

    border-color: #60a5fa !important;

    color: #ffffff !important;

    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3) !important;

}



/* 9. Portal Logos Strip */

html[data-theme="dark"] .portal-strip-section {

    background: #060b14 !important;

    border-color: #1a273f !important;

}



html[data-theme="dark"] .portal-strip-badge {

    background: #131e33 !important;

    border-color: #20314d !important;

    color: #60a5fa !important;

}



html[data-theme="dark"] .portal-badge-card {

    background: #131e33 !important;

    border-color: #20314d !important;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;

}



html[data-theme="dark"] .portal-badge-card:hover {

    background: #1a2a46 !important;

    border-color: #3b82f6 !important;

}



html[data-theme="dark"] .portal-badge-label {

    color: #f8fafc !important;

}



html[data-theme="dark"] .portal-arrow-btn {

    background-color: #131e33 !important;

    color: #60a5fa !important;

    border-color: #20314d !important;

}



html[data-theme="dark"] .portal-arrow-btn:hover {

    background-color: #2563eb !important;

    color: #ffffff !important;

    border-color: #2563eb !important;

}



/* 10. Footer in Dark Mode */

html[data-theme="dark"] .site-footer {

    background-color: #060b14 !important;

    border-top: 4px solid #f59e0b !important;

}



html[data-theme="dark"] .footer-bottom {

    background: #03060a !important;

    border-top-color: rgba(255, 255, 255, 0.08) !important;

}



/* 11. Inputs, Forms & Controls */

html[data-theme="dark"] input,

html[data-theme="dark"] select,

html[data-theme="dark"] textarea,

html[data-theme="dark"] .form-control {

    background-color: #0b1323 !important;

    border-color: #20314d !important;

    color: #f8fafc !important;

}



html[data-theme="dark"] input:focus,

html[data-theme="dark"] select:focus,

html[data-theme="dark"] textarea:focus,

html[data-theme="dark"] .form-control:focus {

    border-color: #3b82f6 !important;

    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25) !important;

}



html[data-theme="dark"] ::placeholder {

    color: #64748b !important;

}



/* 13. Global Catch-All for inline styles across other pages */

html[data-theme="dark"] [style*="background:#ffffff"],

html[data-theme="dark"] [style*="background: #ffffff"],

html[data-theme="dark"] [style*="background:#fff"],

html[data-theme="dark"] [style*="background: #fff"],

html[data-theme="dark"] [style*="background:#f8fafc"],

html[data-theme="dark"] [style*="background: #f8fafc"] {

    background-color: #131e33 !important;

    border-color: #20314d !important;

    color: #cbd5e1 !important;

}



html[data-theme="dark"] [style*="background:#eff6ff"],

html[data-theme="dark"] [style*="background: #eff6ff"],

html[data-theme="dark"] [style*="background:#e3f2fd"],

html[data-theme="dark"] [style*="background: #e3f2fd"],

html[data-theme="dark"] [style*="background:#f1f5f9"],

html[data-theme="dark"] [style*="background: #f1f5f9"] {

    background-color: rgba(59, 130, 246, 0.18) !important;

    border-color: rgba(59, 130, 246, 0.35) !important;

    color: #93c5fd !important;

}



html[data-theme="dark"] [style*="background:#ecfdf5"],

html[data-theme="dark"] [style*="background: #ecfdf5"] {

    background-color: rgba(16, 185, 129, 0.18) !important;

    border-color: rgba(16, 185, 129, 0.35) !important;

    color: #6ee7b7 !important;

}



html[data-theme="dark"] [style*="background:#fef2f2"],

html[data-theme="dark"] [style*="background: #fef2f2"] {

    background-color: rgba(239, 68, 68, 0.18) !important;

    border-color: rgba(239, 68, 68, 0.35) !important;

    color: #fca5a5 !important;

}



/* 14. Tables, Modals, Pagination */

html[data-theme="dark"] table,

html[data-theme="dark"] .table {

    color: #cbd5e1 !important;

}



html[data-theme="dark"] th {

    background-color: #0d1627 !important;

    color: #f8fafc !important;

    border-color: #20314d !important;

}



html[data-theme="dark"] td {

    background-color: #131e33 !important;

    border-color: #172439 !important;

    color: #cbd5e1 !important;

}



html[data-theme="dark"] tr:hover td {

    background-color: #1a2a46 !important;

}



html[data-theme="dark"] .modal-content,

html[data-theme="dark"] .modal-box {

    background-color: #131e33 !important;

    border: 1px solid #20314d !important;

    color: #cbd5e1 !important;

}



html[data-theme="dark"] .pagination-btn,

html[data-theme="dark"] .page-link {

    background-color: #131e33 !important;

    border-color: #20314d !important;

    color: #cbd5e1 !important;

}



html[data-theme="dark"] .pagination-btn:hover,

html[data-theme="dark"] .page-link:hover {

    background-color: #1a2a46 !important;

    color: #60a5fa !important;

    border-color: #3b82f6 !important;

}



html[data-theme="dark"] .pagination-btn.active,

html[data-theme="dark"] .page-item.active .page-link {

    background-color: #2563eb !important;

    color: #ffffff !important;

    border-color: #2563eb !important;

}



/* 15. Leadership & Apex Command Component Dark Mode */

html[data-theme="dark"] .leadership-hero-banner {

    background: linear-gradient(135deg, #09152b 0%, #172a4d 100%) !important;

    border: 1px solid #20314d !important;

}



html[data-theme="dark"] .officer-apex-card {

    background: #131e33 !important;

    border-color: #20314d !important;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5) !important;

}



html[data-theme="dark"] .officer-apex-name {

    color: #f8fafc !important;

}



html[data-theme="dark"] .officer-apex-desig {

    color: #60a5fa !important;

}



html[data-theme="dark"] .officer-apex-quote-box {

    background: #0d1627 !important;

    border-left-color: #3b82f6 !important;

}



html[data-theme="dark"] .officer-apex-quote {

    color: #e2e8f0 !important;

}



html[data-theme="dark"] .officer-apex-quote-author {

    color: #94a3b8 !important;

}



html[data-theme="dark"] .officer-contact-cell {

    background: #0d1627 !important;

}



html[data-theme="dark"] .officer-contact-cell .cell-label {

    color: #94a3b8 !important;

}



html[data-theme="dark"] .officer-contact-cell .cell-val {

    color: #60a5fa !important;

}



html[data-theme="dark"] .officer-card-mui {

    background: #131e33 !important;

    border-color: #20314d !important;

}



html[data-theme="dark"] .filter-chip {

    background: #131e33 !important;

    color: #cbd5e1 !important;

    border-color: #20314d !important;

}



html[data-theme="dark"] .filter-chip:hover {

    background: #1a2a46 !important;

    color: #f8fafc !important;

}



html[data-theme="dark"] .filter-chip.active {

    background: #2563eb !important;

    color: #ffffff !important;

    border-color: #2563eb !important;

}



/* ==========================================================================

   POLICE CONNECT - UNIFIED "SEE MORE" BOX & CARD DESIGN SYSTEM

   Standardized aesthetic applied across ALL boxes, cards, panels, and forms:

   - Light Mode: #eff6ff background, 1.5px solid #bfdbfe border, 18px radius,

     0 2px 8px rgba(30, 58, 138, 0.08) drop shadow, smooth interactive lift.

   - Dark Mode: rgba(59, 130, 246, 0.12) translucent luminous blue background,

     1.5px solid rgba(59, 130, 246, 0.35) soft border, 18px radius.

   - Fully responsive on all mobile, tablet, and desktop devices.

   ========================================================================== */



/* 1. Universal Light Mode Box Aesthetic */

.card,

.panel-card,

.unit-card,

.officer-card-mui,

.officer-apex-card,

.leadership-filter-box,

.emergency-stat-box,

.grid-emergency-boxes > div,

.contact-form-card,

.hq-info-card,

.hq-legal-card,

.station-item-card,

.station-detail-card,

.safety-section-card,

.safety-jump-bar,

.home-news-card,

.news-card,

.article-content-card,

.article-sidebar-card,

.feedback-form-card,

.comm-spotlight-card,

.whatsapp-compact-card,

.service-card,

.gallery-card,

.safety-preview-card,

.dignitary-card,

.dignitary-cm-card,

.recruitment-card,

.recruitment-overview-card,

.about-card,

.filter-search-box,

.notices-table-wrapper,

.accordion-item {

    background: #eff6ff !important;

    border: 1.5px solid #bfdbfe !important;

    border-radius: 18px !important;

    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.08) !important;

    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;

}



/* 2. Interactive Hover States (Light Mode) */

.unit-card:hover,

.officer-card-mui:hover,

.officer-apex-card:hover,

.emergency-stat-box:hover,

.grid-emergency-boxes > div:hover,

.station-item-card:hover,

.home-news-card:hover,

.news-card:hover,

.comm-spotlight-card:hover,

.service-card:hover,

.gallery-card:hover,

.safety-preview-card:hover,

.dignitary-card:hover,

.recruitment-card:hover {

    background: #dbeafe !important;

    border-color: #93c5fd !important;

    box-shadow: 0 8px 22px rgba(30, 58, 138, 0.14) !important;

    transform: translateY(-2px) !important;

}



/* 3. Sub-boxes and Inner Panels (Light Mode) */

.safety-sub-card,

.about-sub-box,

.officer-contact-cell,

.officer-apex-quote-box {

    background: #ffffff !important;

    border: 1.5px solid #bfdbfe !important;

    border-radius: 14px !important;

    box-shadow: 0 1px 4px rgba(30, 58, 138, 0.04) !important;

    transition: all 0.2s ease !important;

}



.officer-contact-cell:hover {

    background: #eff6ff !important;

    border-color: #93c5fd !important;

}



/* 4. Universal Dark Mode Box Aesthetic */

html[data-theme="dark"] .card,

html[data-theme="dark"] .panel-card,

html[data-theme="dark"] .unit-card,

html[data-theme="dark"] .officer-card-mui,

html[data-theme="dark"] .officer-apex-card,

html[data-theme="dark"] .leadership-filter-box,

html[data-theme="dark"] .emergency-stat-box,

html[data-theme="dark"] .grid-emergency-boxes > div,

html[data-theme="dark"] .contact-form-card,

html[data-theme="dark"] .hq-info-card,

html[data-theme="dark"] .hq-legal-card,

html[data-theme="dark"] .station-item-card,

html[data-theme="dark"] .station-detail-card,

html[data-theme="dark"] .safety-section-card,

html[data-theme="dark"] .safety-jump-bar,

html[data-theme="dark"] .home-news-card,

html[data-theme="dark"] .news-card,

html[data-theme="dark"] .article-content-card,

html[data-theme="dark"] .article-sidebar-card,

html[data-theme="dark"] .feedback-form-card,

html[data-theme="dark"] html[data-theme="dark"] .comm-spotlight-card,

html[data-theme="dark"] .whatsapp-compact-card,

html[data-theme="dark"] .service-card,

html[data-theme="dark"] .gallery-card,

html[data-theme="dark"] .safety-preview-card,

html[data-theme="dark"] .dignitary-card,

html[data-theme="dark"] .dignitary-cm-card,

html[data-theme="dark"] .recruitment-card,

html[data-theme="dark"] .recruitment-overview-card,

html[data-theme="dark"] .about-card,

html[data-theme="dark"] .filter-search-box,

html[data-theme="dark"] .notices-table-wrapper,

html[data-theme="dark"] .accordion-item,

body.dark-mode .card,

body.dark-mode .unit-card,

body.dark-mode .officer-card-mui,

body.dark-mode .officer-apex-card,

body.dark-mode .emergency-stat-box,

body.dark-mode .station-item-card,

body.dark-mode .safety-section-card,

body.dark-mode .service-card,

body.dark-mode .news-card,

body.dark-mode body.dark-mode .accordion-item {

    background: rgba(59, 130, 246, 0.12) !important;

    border: 1.5px solid rgba(59, 130, 246, 0.35) !important;

    border-radius: 18px !important;

    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;

}



/* 5. Interactive Hover States (Dark Mode) */

html[data-theme="dark"] .unit-card:hover,

html[data-theme="dark"] .officer-card-mui:hover,

html[data-theme="dark"] .officer-apex-card:hover,

html[data-theme="dark"] .emergency-stat-box:hover,

html[data-theme="dark"] .grid-emergency-boxes > div:hover,

html[data-theme="dark"] .station-item-card:hover,

html[data-theme="dark"] .home-news-card:hover,

html[data-theme="dark"] .news-card:hover,

html[data-theme="dark"] html[data-theme="dark"] .comm-spotlight-card:hover,

html[data-theme="dark"] .service-card:hover,

html[data-theme="dark"] .gallery-card:hover,

html[data-theme="dark"] .safety-preview-card:hover,

html[data-theme="dark"] .dignitary-card:hover,

html[data-theme="dark"] .recruitment-card:hover,

body.dark-mode .unit-card:hover,

body.dark-mode .officer-card-mui:hover,

body.dark-mode .station-item-card:hover,

body.dark-mode .service-card:hover,

body.dark-mode .news-card:hover {

    background: rgba(59, 130, 246, 0.22) !important;

    border-color: #60a5fa !important;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.55) !important;

    transform: translateY(-2px) !important;

}



/* 6. Sub-boxes and Inner Panels (Dark Mode) */

html[data-theme="dark"] .safety-sub-card,

html[data-theme="dark"] .about-sub-box,

html[data-theme="dark"] .officer-contact-cell,

html[data-theme="dark"] .officer-apex-quote-box,

html[data-theme="dark"] .whatsapp-action-box-compact {

    background: #0d1627 !important;

    border: 1.5px solid rgba(59, 130, 246, 0.25) !important;

    border-radius: 14px !important;

}



html[data-theme="dark"] .officer-contact-cell:hover {

    background: #131e33 !important;

    border-color: rgba(59, 130, 246, 0.45) !important;

}



/* 7. Typography inside Unified Boxes in Dark Mode */

html[data-theme="dark"] .officer-card-mui h3,

html[data-theme="dark"] .officer-apex-name,

html[data-theme="dark"] .unit-card h2,

html[data-theme="dark"] .safety-section-card h2,

html[data-theme="dark"] .safety-section-card h3,

html[data-theme="dark"] .recruitment-card h2,

html[data-theme="dark"] .about-card h2,

html[data-theme="dark"] .article-content-card h1,

html[data-theme="dark"] .article-sidebar-card h3,

html[data-theme="dark"] .hq-info-card h3,

html[data-theme="dark"] .hq-legal-card h3,

html[data-theme="dark"] .station-detail-card h2,

html[data-theme="dark"] .station-detail-card h3 {

    color: #f8fafc !important;

}



html[data-theme="dark"] .officer-card-mui div,

html[data-theme="dark"] .unit-card p,

html[data-theme="dark"] .safety-section-card p,

html[data-theme="dark"] .safety-section-card li,

html[data-theme="dark"] .recruitment-card div,

html[data-theme="dark"] .about-card p,

html[data-theme="dark"] .about-card li,

html[data-theme="dark"] .article-content-card p,

html[data-theme="dark"] .station-detail-card p {

    color: #cbd5e1 !important;

}



html[data-theme="dark"] .whatsapp-compact-title {

    color: #f8fafc !important;

}

html[data-theme="dark"] .whatsapp-compact-sub {

    color: #cbd5e1 !important;

}

html[data-theme="dark"] .whatsapp-features-compact li {

    color: #e2e8f0 !important;

}

html[data-theme="dark"] .whatsapp-features-compact li svg {

    color: #4ade80 !important;

}

html[data-theme="dark"] .whatsapp-helpline-label {

    color: #94a3b8 !important;

}

html[data-theme="dark"] .whatsapp-number-compact {

    color: #ffffff !important;

}

html[data-theme="dark"] .whatsapp-compact-card .whatsapp-badge {

    background: rgba(34, 197, 94, 0.18) !important;

    border-color: rgba(34, 197, 94, 0.4) !important;

    color: #4ade80 !important;

}



/* 8. Mobile Responsiveness System for Unified Boxes */

@media (max-width: 768px) {

    .card,

    .panel-card,

    .unit-card,

    .officer-card-mui,

    .officer-apex-card,

    .leadership-filter-box,

    .emergency-stat-box,

    .grid-emergency-boxes > div,

    .contact-form-card,

    .hq-info-card,

    .hq-legal-card,

    .station-item-card,

    .station-detail-card,

    .safety-section-card,

    .home-news-card,

    .news-card,

    .article-content-card,

    .article-sidebar-card,

    .feedback-form-card,

    .service-card,

    .recruitment-card,

    .recruitment-overview-card,

    .about-card,

    .filter-search-box,

    .notices-table-wrapper {

        border-radius: 16px !important;

    }



    .leadership-filter-box,

    .filter-search-box {

        padding: 14px 12px !important;

    }



    .emergency-stat-box {

        padding: 16px 14px !important;

    }



    .safety-section-card {

        padding: 18px 14px !important;

        margin-bottom: 20px !important;

    }



    .recruitment-card {

        padding: 18px 14px !important;

    }



    .recruitment-overview-card {

        padding: 20px 16px !important;

    }



    .article-content-card {

        padding: 20px 16px !important;

    }



    .article-sidebar-card {

        padding: 18px 14px !important;

    }



    .station-detail-card {

        padding: 18px 14px !important;

    }

}



/* ==========================================================================

   9. UNIFIED PILL BUTTON & INTERACTIVE BOX SYSTEM

   Every button and small action box across the entire website adopts the exact

   pill shape (border-radius: 9999px) and sleek calibrated size of the "See More" box.

   ========================================================================== */

.btn,

.tool-btn,

.emergency-label-box,

.hero-badge-pill,

.mui-tab-btn,

.filter-btn,

.filter-chip,

.btn-search,

.feedback-submit-btn,

button[type="submit"],

.safety-jump-bar a,

.officer-actions-row .btn,

.service-footer .btn,

.station-actions .btn,

.dignitaries-toggle-btn {

    border-radius: var(--radius-full) !important;

}



.hero-actions {

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 10px;

}



.hero-actions .btn {

    padding: 8px 20px !important;

    font-size: 0.86rem !important;

    font-weight: 700 !important;

    border-radius: var(--radius-full) !important;

}



@media (max-width: 768px) {

    .hero-actions {

        gap: 8px;

    }

    .hero-actions .btn {

        padding: 8px 16px !important;

        font-size: 0.82rem !important;

        border-radius: var(--radius-full) !important;

    }

}



/* ==========================================================================

   FULL-SCREEN REALISTIC POLICE HERO SECTION STYLES (Prefix: fp-)

   2-Column Responsive Layout: Left Typography & Right CM Official Portrait

   ========================================================================== */

.fp-hero-section {

    position: relative;

    width: 100%;

    min-height: 0;

    height: auto;

    display: flex;

    align-items: center;

    justify-content: center;

    box-sizing: border-box;

    overflow: hidden;

    z-index: 20;

    background-color: #020b22;

    padding: 20px 0 0 0;

}



/* Full-bleed background wrapper */

.fp-bg-wrap {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    z-index: 0;

    overflow: hidden;

}



.fp-bg-image {

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center center;

    display: block;

    transform: scale(1.02);

    transition: transform 0.6s ease;

}



/* Atmospheric luminous cyber command overlay */

.fp-bg-overlay {

    position: absolute;

    inset: 0;

    background: 

        radial-gradient(circle at 75% 30%, rgba(0, 229, 255, 0.12) 0%, rgba(1, 10, 32, 0.20) 45%, rgba(1, 8, 28, 0.72) 100%),

        linear-gradient(90deg, rgba(1, 8, 28, 0.90) 0%, rgba(2, 14, 42, 0.76) 45%, rgba(2, 14, 42, 0.28) 72%, rgba(1, 8, 28, 0.10) 100%),

        linear-gradient(180deg, rgba(1, 8, 28, 0.40) 0%, transparent 20%, transparent 75%, rgba(1, 8, 28, 0.85) 100%);

    z-index: 1;

    pointer-events: none;

}



/* Subtle high-tech digital grid */

.fp-grid-pattern {

    position: absolute;

    inset: 0;

    background-image: 

        linear-gradient(rgba(0, 229, 255, 0.04) 1px, transparent 1px),

        linear-gradient(90deg, rgba(0, 229, 255, 0.04) 1px, transparent 1px);

    background-size: 44px 44px;

    z-index: 2;

    pointer-events: none;

}



/* 60FPS Animated Cyber Defense Radar Canvas */

.fp-cyber-canvas {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    z-index: 2;

    pointer-events: none;

    opacity: 0.92;

}



/* 2-Column Responsive Hero Container */

.fp-hero-container {

    position: relative;

    z-index: 5;

    width: 100%;

    max-width: 1360px;

    margin: 0 auto;

    padding: 0 32px;

    display: flex;

    flex-direction: row;

    align-items: stretch;

    justify-content: space-between;

    min-height: 0;

    box-sizing: border-box;

    gap: 36px;

}



/* Left Column: Branding, CM Card, Typography & Action Buttons (Left ~45%) */
.fp-hero-content-col, .hero-content {
    flex: 0 0 45%;
    width: 45%;
    max-width: 45%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 14px;
    z-index: 5;
    padding: 16px 0 32px;
    box-sizing: border-box;
}

/* People Container: Family Group Left & Police Commissioner Right (.hero-people) */
.fp-hero-people, .hero-people {
    position: relative;
    width: 100%;
    max-width: 580px;
    height: auto;
    min-height: 420px;
    max-height: 520px;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
    gap: 16px;
    z-index: 4;
    pointer-events: auto;
    overflow: visible;
    box-sizing: border-box;
    border-radius: 0;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0;
}

.fp-family-fig, .family {
    height: auto;
    max-height: 430px;
    max-width: 52%;
    width: auto;
    object-fit: contain;
    object-position: bottom center;
    display: block;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 12px rgba(0, 215, 255, 0.22));
    opacity: 1;
    position: static;
}

.fp-cp-fig, .cp {
    height: auto;
    max-height: 470px;
    max-width: 46%;
    width: auto;
    object-fit: contain;
    object-position: bottom center;
    overflow: visible;
    display: block;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
    filter: drop-shadow(0 18px 34px rgba(0, 4, 18, 0.92)) drop-shadow(0 0 18px rgba(0, 225, 255, 0.36));
    opacity: 1;
    position: static;
}



/* Legacy Fallback Classes */

/* Center Visual: Citizen Family Interacting with Police Officer (Zone 2: middle 30%, 4% gap left, 5% gap right) */

.fp-hero-community-col {

    flex: 0 0 28%;

    max-width: 29%;

    display: flex;

    align-items: flex-end;

    justify-content: center;

    position: relative;

    bottom: 0;

    z-index: 3;

    pointer-events: none;

    margin-left: 4%;

    margin-right: 5%;

}



.fp-community-picture {

    width: 100%;

    height: 100%;

    display: flex;

    align-items: flex-end;

    justify-content: center;

    position: relative;

}



.fp-community-figure {

    height: 60%;

    max-height: 60%;

    width: auto;

    max-width: 100%;

    object-fit: contain;

    object-position: bottom center;

    display: block;

    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.80)) drop-shadow(0 0 10px rgba(0, 215, 255, 0.20));

    -webkit-mask-image:
        linear-gradient(to right, transparent 0%, #000 4%, #000 98%, transparent 100%),
        linear-gradient(to bottom, #000 85%, transparent 100%);

    mask-image:
        linear-gradient(to right, transparent 0%, #000 4%, #000 98%, transparent 100%),
        linear-gradient(to bottom, #000 85%, transparent 100%);

    -webkit-mask-composite: source-in;

    mask-composite: intersect;

    transition: transform 0.2s ease-out;

}



/* Right Column: Dedicated CP Portrait (Zone 3: right 28%, reduced by 15%, no glow smudge, uncropped shoulders) */

.fp-hero-photo-col {

    flex: 0 0 25%;

    max-width: 26%;

    display: flex;

    align-items: flex-end;

    justify-content: flex-end;

    position: relative;

    right: 0;

    bottom: 0;

    z-index: 4;

    overflow: visible;

    pointer-events: none;

    box-sizing: border-box;

    padding-right: 20px;

    transform: none;

}



.fp-cm-picture {

    display: flex;

    align-items: flex-end;

    justify-content: flex-end;

    width: 100%;

    height: 100%;

    position: relative;

}



.fp-cm-figure {

    height: 72%;

    max-height: 72%;

    width: auto;

    max-width: 100%;

    object-fit: contain;

    object-position: bottom right;

    display: block;

    margin-right: 0;

    margin-bottom: 0;

    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 12px rgba(0, 220, 255, 0.22));

    -webkit-mask-image:
        linear-gradient(to right, transparent 0%, #000 5%, #000 98%, transparent 100%);

    mask-image:
        linear-gradient(to right, transparent 0%, #000 5%, #000 98%, transparent 100%);

    transition: transform 0.15s ease-out;

    will-change: transform;

}



/* Tablet Media Query (768px to 1023px) */

@media (min-width: 641px) and (max-width: 1024px) {

    .fp-hero-section {

        min-height: 0;

        padding: 16px 0 0 0;

    }

    .fp-hero-container {

        padding: 0 24px;

        min-height: 0;

        gap: 20px;

        display: flex !important;

        flex-direction: row !important;

        align-items: stretch !important;

        justify-content: space-between !important;

    }

    .fp-hero-content-col {

        flex: 1 1 55% !important;

        max-width: 56% !important;

        gap: 12px;

        padding: 14px 0 24px;

        order: 1 !important;

        text-align: left !important;

        align-items: flex-start !important;

    }

    .fp-headline {

        font-size: clamp(1.35rem, 2.7vw, 1.8rem);

        text-align: left !important;

    }

    .fp-subhead {

        font-size: 0.80rem;

        text-align: left !important;

    }

    .fp-hero-people, .hero-people {

        display: flex !important;

        flex-direction: row !important;

        align-items: flex-end !important;

        justify-content: flex-end !important;

        flex: 1 1 48% !important;

        max-width: 48% !important;

        gap: 4% !important;

        height: 100% !important;

        padding-right: 12px !important;

    }



    .fp-family-fig, .family {

        height: 60% !important;

        max-width: 55% !important;

    }



    .fp-cp-fig, .cp {

        height: 75% !important;

        max-width: 46% !important;

        object-fit: contain !important;

        object-position: bottom center !important;

        -webkit-mask-image: none !important;

        mask-image: none !important;

    }



    .fp-hero-community-col {

        display: none !important;

    }



    .fp-hero-photo-col {

        flex: 1 1 45% !important;

        max-width: 44% !important;

        order: 2 !important;

        display: flex !important;

        align-items: flex-end !important;

        justify-content: flex-end !important;

        height: 100% !important;

        right: -5% !important;

        bottom: 0 !important;

        padding-right: 20px !important;

        transform: translateX(3%) !important;

    }

    .fp-cm-picture {

        height: 100% !important;

        display: flex !important;

        align-items: flex-end !important;

        justify-content: flex-end !important;

        background: radial-gradient(circle at 70% 55%, rgba(0, 229, 255, 0.18) 0%, rgba(255, 176, 32, 0.08) 35%, transparent 70%) !important;

    }

    .fp-cm-figure {

        max-height: 60% !important;

        height: 60% !important;

        width: auto !important;

        object-fit: contain !important;

        object-position: bottom center !important;

        -webkit-mask-image:
            linear-gradient(to right, transparent 0%, #000 8%, #000 98%, transparent 100%),
            linear-gradient(to bottom, #000 82%, transparent 100%) !important;

        mask-image:
            linear-gradient(to right, transparent 0%, #000 8%, #000 98%, transparent 100%),
            linear-gradient(to bottom, #000 82%, transparent 100%) !important;

        -webkit-mask-composite: source-in !important;

        mask-composite: intersect !important;

    }

}



/* Department Logo & Title Badge */

.fp-dept-badge {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    margin-top: 8px !important;

    margin-bottom: 8px !important;

    background: rgba(2, 12, 38, 0.78);

    border: 1px solid rgba(50, 160, 255, 0.25);

    border-radius: 9999px;

    padding: 6px 18px 6px 8px;

    backdrop-filter: blur(14px);

    -webkit-backdrop-filter: blur(14px);

    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);

}



.fp-dept-logo {

    width: 42px;

    height: 42px;

    object-fit: contain;

    filter: drop-shadow(0 2px 6px rgba(255, 176, 32, 0.35));

    border-radius: 50%;

}



.fp-dept-info {

    display: flex;

    flex-direction: column;

    text-align: left;

}



.fp-dept-gov {

    font-size: 0.68rem;

    color: #ffb020;

    font-weight: 800;

    letter-spacing: 0.06em;

    text-transform: uppercase;

    line-height: 1.2;

}



.fp-dept-name {

    font-size: 0.88rem;

    color: #ffffff;

    font-weight: 700;

    line-height: 1.25;

}



/* CM Dignitary Card */

.fp-cm-card {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    background: linear-gradient(135deg, rgba(6, 26, 68, 0.88) 0%, rgba(3, 15, 42, 0.84) 100%);

    border: 1.5px solid rgba(255, 186, 45, 0.65);

    border-radius: 9999px;

    padding: 6px 20px 6px 8px;

    backdrop-filter: blur(16px);

    -webkit-backdrop-filter: blur(16px);

    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35), 0 0 20px rgba(0, 229, 255, 0.18), 0 0 12px rgba(255, 176, 32, 0.2);

    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;

    margin-bottom: 8px;

}



.fp-cm-card:hover {

    transform: translateY(-2px);

    border-color: #ffb020;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 22px rgba(255, 176, 32, 0.25);

}



.fp-cm-avatar-box {

    position: relative;

    width: 48px;

    height: 48px;

    border-radius: 50%;

    padding: 2px;

    background: linear-gradient(135deg, #ff9933 0%, #ffffff 50%, #138808 100%);

    box-shadow: 0 0 10px rgba(255, 176, 32, 0.45);

    flex-shrink: 0;

}



.fp-cm-avatar {

    width: 100%;

    height: 100%;

    border-radius: 50%;

    object-fit: cover;

    object-position: top center;

    display: block;

    background-color: #0b1a3d;

}



.fp-cm-badge-tag {

    position: absolute;

    bottom: -2px;

    right: -2px;

    background: linear-gradient(135deg, #ff9933, #e67e22);

    color: #ffffff;

    font-size: 0.55rem;

    font-weight: 900;

    letter-spacing: 0.02em;

    padding: 1px 5px;

    border-radius: 4px;

    border: 1px solid rgba(255, 255, 255, 0.8);

    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);

}



.fp-cm-meta {

    display: flex;

    flex-direction: column;

    text-align: left;

}



.fp-cm-role {

    font-size: 0.68rem;

    color: #ffb020;

    font-weight: 800;

    letter-spacing: 0.04em;

    text-transform: uppercase;

    line-height: 1.2;

}



.fp-cm-name {

    font-size: 0.95rem;

    color: #ffffff;

    font-weight: 800;

    line-height: 1.25;

    margin: 0;

    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);

}



/* Central Hero Content Wrap */

.fp-hero-content-col {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    text-align: left;

    max-width: 680px;

    margin: auto 0;

    gap: 16px;

    width: 100%;

}



/* Smart Police Tag */

.fp-smart-tag {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    background: rgba(2, 14, 45, 0.7);

    border: 1px solid rgba(50, 160, 255, 0.3);

    border-radius: 9999px;

    padding: 5px 14px;

    font-size: 0.78rem;

    font-weight: 800;

    color: #cbd5e1;

    letter-spacing: 0.06em;

    text-transform: uppercase;

    backdrop-filter: blur(10px);

    -webkit-backdrop-filter: blur(10px);

}



.fp-tag-dot {

    width: 8px;

    height: 8px;

    background: #22c55e;

    border-radius: 50%;

    box-shadow: 0 0 10px #22c55e;

    animation: fpPulse 2s infinite ease-in-out;

}



@keyframes fpPulse {

    0%, 100% { transform: scale(1); opacity: 1; }

    50% { transform: scale(1.3); opacity: 0.7; }

}



.fp-tagline-accent {

    color: #ffb020;

    text-shadow: 0 0 10px rgba(255, 176, 32, 0.4);

}



.fp-tag-sep {

    color: rgba(255, 255, 255, 0.35);

}



/* Main Typography Block */

.fp-text-block {

    max-width: 680px;

    margin: 4px 0;

}



.fp-headline {

    color: #ffffff;

    font-size: clamp(2rem, 3.8vw, 3.4rem);

    font-weight: 900;

    letter-spacing: -0.02em;

    line-height: 1.15;

    margin: 10px 0 12px;

    text-shadow: 

        0 2px 20px rgba(0, 0, 0, 0.95),

        0 0 35px rgba(50, 160, 255, 0.35);

}



.fp-subhead {

    color: #cbd5e1;

    font-size: clamp(0.9rem, 1.4vw, 1.08rem);

    line-height: 1.6;

    max-width: 620px;

    margin: 0;

    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);

}



/* Actions Row */

.fp-actions-row {

    display: flex;

    align-items: center;

    gap: 14px;

    flex-wrap: wrap;

    margin-top: 6px;

}



.fp-btn {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 12px 24px;

    border-radius: 9999px;

    font-weight: 800;

    font-size: 0.88rem;

    letter-spacing: 0.02em;

    text-decoration: none;

    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);

    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);

}



.fp-btn-emergency {

    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);

    color: #ffffff;

    border: 1.5px solid rgba(255, 255, 255, 0.25);

    box-shadow: 0 6px 24px rgba(239, 68, 68, 0.45);

}



.fp-btn-emergency:hover {

    transform: translateY(-2px) scale(1.03);

    box-shadow: 0 8px 30px rgba(239, 68, 68, 0.6);

}



.fp-btn-cyber {

    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);

    color: #010622;

    border: 1.5px solid rgba(255, 255, 255, 0.2);

    box-shadow: 0 6px 22px rgba(245, 158, 11, 0.38);

}



.fp-btn-cyber:hover {

    transform: translateY(-2px) scale(1.03);

    box-shadow: 0 8px 28px rgba(245, 158, 11, 0.55);

}



.fp-btn-glass {

    background: rgba(2, 16, 50, 0.8);

    color: #ffffff;

    border: 1.5px solid rgba(50, 160, 255, 0.5);

    backdrop-filter: blur(12px);

    -webkit-backdrop-filter: blur(12px);

}



.fp-btn-glass:hover {

    background: rgba(50, 160, 255, 0.25);

    border-color: #00e5ff;

    transform: translateY(-2px) scale(1.03);

    box-shadow: 0 8px 24px rgba(0, 229, 255, 0.3);

}







/* ==========================================================================
   HERO SECTION RESPONSIVENESS (DESKTOP, TABLET, PHONE) - 100% UNCLIPPED
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESKTOP / WEB LAYOUT (min-width: 992px)
   Full-height side-by-side flex layout. NEVER cuts heads, caps, or uniforms.
   -------------------------------------------------------------------------- */
@media (min-width: 992px) {
    .fp-hero-section, .hero {
        position: relative !important;
        width: 100% !important;
        min-height: 0 !important;
        height: auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
        overflow: visible !important;
        z-index: 20 !important;
        background-color: #020b22 !important;
        padding: 40px 0 30px 0 !important;
    }

    .fp-hero-container, .hero-container {
        position: relative !important;
        z-index: 5 !important;
        width: 100% !important;
        max-width: 1360px !important;
        margin: 0 auto !important;
        padding: 0 32px !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 32px !important;
        min-height: auto !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }

    /* Left 50%: Badges, Headline, Paragraph, Actions */
    .fp-hero-content-col, .hero-content {
        flex: 1 1 50% !important;
        width: 50% !important;
        max-width: 620px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        gap: 14px !important;
        z-index: 5 !important;
        padding: 24px 0 20px 0 !important;
        margin: 0 !important;
        text-align: left !important;
        order: 1 !important;
        box-sizing: border-box !important;
    }

    .fp-dept-badge {
        display: inline-flex !important;
        align-items: center !important;
        gap: 10px !important;
        margin-top: 6px !important;
        margin-bottom: 6px !important;
        text-align: left !important;
    }

    .fp-cm-card {
        display: inline-flex !important;
        align-items: center !important;
        gap: 12px !important;
        margin-bottom: 2px !important;
        text-align: left !important;
    }

    .fp-text-block {
        text-align: left !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .fp-headline {
        font-size: clamp(2.1rem, 3.2vw, 3rem) !important;
        line-height: 1.18 !important;
        text-align: left !important;
        margin: 0 0 10px 0 !important;
        font-weight: 800 !important;
    }

    .fp-subhead {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        max-width: 560px !important;
        text-align: left !important;
        color: #cbd5e1 !important;
        display: block !important;
        -webkit-line-clamp: unset !important;
        line-clamp: unset !important;
        max-height: none !important;
        overflow: visible !important;
        margin: 0 !important;
    }

    .fp-actions-row {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 12px !important;
        width: auto !important;
        margin: 8px 0 0 0 !important;
        flex-wrap: wrap !important;
    }

    .fp-actions-row .fp-btn-emergency,
    .fp-actions-row .fp-btn-cyber,
    .fp-actions-row .fp-btn-glass {
        flex: 0 0 auto !important;
        width: auto !important;
    }

    /* Right ~48%: Citizen Family & Police Commissioner Hero Group */
    .fp-hero-people, .hero-people {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        flex: 1 1 48% !important;
        width: 100% !important;
        max-width: 580px !important;
        height: auto !important;
        min-height: 420px !important;
        max-height: 520px !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-end !important;
        justify-content: center !important;
        gap: 16px !important;
        z-index: 4 !important;
        pointer-events: auto !important;
        overflow: visible !important;
        box-sizing: border-box !important;
        order: 2 !important;
        margin: 0 !important;
        padding: 20px 20px 0 20px !important;
        transform: none !important;
        border-radius: 0 !important;
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
    }

    /* Family group: unclipped heads, proportional */
    .fp-family-fig, .family {
        height: auto !important;
        max-height: 430px !important;
        max-width: 52% !important;
        width: auto !important;
        object-fit: contain !important;
        object-position: bottom center !important;
        display: block !important;
        filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 12px rgba(0, 215, 255, 0.22)) !important;
        opacity: 1 !important;
        position: static !important;
        margin: 0 !important;
    }

    /* Commissioner: unclipped cap, full medals, crisp transparent cut-out */
    .fp-cp-fig, .cp {
        height: auto !important;
        max-height: 470px !important;
        max-width: 46% !important;
        width: auto !important;
        object-fit: contain !important;
        object-position: bottom center !important;
        overflow: visible !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        -webkit-mask-image: none !important;
        mask-image: none !important;
        display: block !important;
        filter: drop-shadow(0 18px 34px rgba(0, 4, 18, 0.92)) drop-shadow(0 0 18px rgba(0, 225, 255, 0.36)) !important;
        opacity: 1 !important;
        position: static !important;
        margin: 0 !important;
    }

    /* [Cleaned: Floating dock positioning consolidated in master block] */

    .fp-hero-community-col, .fp-hero-photo-col {
        display: none !important;
    }
}

/* --------------------------------------------------------------------------
   2. MOBILE & TABLET LAYOUT (max-width: 991px)
   Stacked column layout. Text top, visuals bottom. 100% complete visibility.
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    .fp-hero-section, .hero {
        position: relative !important;
        min-height: auto !important;
        height: auto !important;
        padding: 24px 16px 16px 16px !important;
        display: block !important;
        overflow: visible !important;
        background-color: #020c24 !important;
        border-bottom: 2px solid rgba(0, 229, 255, 0.2) !important;
    }

    .fp-bg-image {
        object-position: center center !important;
        object-fit: cover !important;
        opacity: 0.30 !important;
        filter: none !important;
    }

    .fp-bg-overlay {
        background: linear-gradient(180deg, rgba(2, 12, 36, 0.75) 0%, rgba(2, 12, 36, 0.95) 100%) !important;
    }

    .fp-cyber-canvas {
        opacity: 0.50 !important;
        z-index: 2 !important;
    }

    .fp-hero-container, .hero-container {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 20px !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 620px !important;
        margin: 0 auto !important;
        min-height: auto !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }

    .fp-hero-content-col, .hero-content {
        order: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
        gap: 12px !important;
        padding: 0 !important;
        margin: 0 !important;
        z-index: 5 !important;
    }

    .fp-dept-badge, .fp-cm-card {
        margin-bottom: 2px !important;
        text-align: left !important;
    }

    .fp-text-block {
        text-align: left !important;
        width: 100% !important;
    }

    .fp-headline {
        font-size: clamp(1.6rem, 5.5vw, 2.2rem) !important;
        line-height: 1.25 !important;
        text-align: left !important;
        margin-bottom: 6px !important;
    }

    .fp-subhead {
        font-size: 0.9rem !important;
        line-height: 1.55 !important;
        text-align: left !important;
        color: #cbd5e1 !important;
        margin: 0 !important;
        overflow: visible !important;
        max-height: none !important;
        -webkit-line-clamp: unset !important;
        line-clamp: unset !important;
    }

    .fp-actions-row {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        width: 100% !important;
        margin: 6px 0 0 0 !important;
    }

    .fp-actions-row .fp-btn-emergency,
    .fp-actions-row .fp-btn-cyber {
        flex: 1 1 calc(50% - 4px) !important;
        min-width: 135px !important;
        padding: 11px 10px !important;
        font-size: 0.85rem !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }

    .fp-actions-row .fp-btn-glass {
        flex: 1 1 100% !important;
        width: 100% !important;
        padding: 11px 14px !important;
        font-size: 0.85rem !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }

    .fp-hero-people, .hero-people {
        order: 2 !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-end !important;
        justify-content: center !important;
        gap: 12px !important;
        height: auto !important;
        min-height: 230px !important;
        max-height: 330px !important;
        width: 100% !important;
        max-width: 480px !important;
        padding: 16px 12px 0 12px !important;
        margin: 12px auto 0 auto !important;
        box-sizing: border-box !important;
        overflow: visible !important;
        z-index: 4 !important;
        border-radius: 0 !important;
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .fp-family-fig, .family {
        height: auto !important;
        max-height: 280px !important;
        max-width: 52% !important;
        width: auto !important;
        object-fit: contain !important;
        object-position: bottom center !important;
        opacity: 1 !important;
        filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.80)) drop-shadow(0 0 10px rgba(0, 215, 255, 0.22)) !important;
        display: block !important;
        position: static !important;
        margin: 0 !important;
    }

    .fp-cp-fig, .cp {
        height: auto !important;
        max-height: 310px !important;
        max-width: 46% !important;
        width: auto !important;
        object-fit: contain !important;
        object-position: bottom center !important;
        overflow: visible !important;
        -webkit-mask-image: none !important;
        mask-image: none !important;
        opacity: 1 !important;
        filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 12px rgba(0, 220, 255, 0.25)) !important;
        display: block !important;
        position: static !important;
        margin: 0 !important;
    }

    .fp-hero-community-col, .fp-hero-photo-col {
        display: none !important;
    }

    /* [Cleaned: Floating dock positioning consolidated in master block] */
}

/* --------------------------------------------------------------------------
   3. SMALL MOBILE ADJUSTMENTS (Phones < 440px)
   -------------------------------------------------------------------------- */
@media (max-width: 440px) {
    .fp-hero-people, .hero-people {
        min-height: 0 !important;
        max-height: none !important;
        gap: 8px !important;
    }

    .fp-family-fig, .family {
        max-height: 240px !important;
        max-width: 54% !important;
    }

    .fp-cp-fig, .cp {
        max-height: 260px !important;
        max-width: 44% !important;
    }
}
/* =========================================================================
   POLICE STATION LOCATOR, NEAREST MODAL & HERO QUICK DOCK STYLES
   ========================================================================= */

/* [Cleaned: Floating dock buttons remain intact above/below open chatbot window] */

/* 0. Near By Locator Floating Button (Clean white circle with Target crosshair) */
.dock-nearby-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #ffffff;
    color: #26374a;
    border: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(11, 37, 69, 0.12), 0 2px 4px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    outline: none;
    position: relative;
    flex-shrink: 0;
    text-decoration: none;
    box-sizing: border-box;
}

.dock-nearby-btn:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 6px 18px rgba(11, 37, 69, 0.2), 0 3px 6px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
    color: #0b2545;
}

.dock-nearby-btn:active {
    transform: scale(0.96);
}

.dock-nearby-icon {
    display: block;
    stroke: currentColor;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.dock-nearby-btn:hover .dock-nearby-icon {
    transform: rotate(15deg);
}

.dock-nearby-label {
    position: absolute;
    right: 64px;
    background: #0b2545;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(11, 37, 69, 0.2);
}

.dock-nearby-label::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -4px;
    transform: translateY(-50%);
    border-width: 5px 0 5px 5px;
    border-style: solid;
    border-color: transparent transparent transparent #0b2545;
}

.dock-nearby-btn:hover .dock-nearby-label {
    opacity: 1;
    transform: translateX(0);
}

/* Nearest Police Station Modal Styles (Dark Navy Cyber Command Center Style) */
@keyframes rotateCrosshair {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes npsPulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.4); opacity: 0; }
    100% { transform: scale(0.95); opacity: 0; }
}

/* Spinner active state on floating Nearby button */
.dock-nearby-btn.is-loading {
    pointer-events: none;
    border-color: #00e5ff !important;
    background: #081a38 !important;
    color: #00e5ff !important;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.65) !important;
}

.dock-nearby-btn.is-loading .dock-nearby-icon {
    animation: rotateCrosshair 0.75s linear infinite !important;
    color: #00e5ff !important;
    transform-origin: center center;
}

/* Modal Overlay (z-index above navbar & floating buttons) */
.nps-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(1, 8, 28, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.nps-modal-overlay.is-active {
    display: flex;
    opacity: 1;
}

/* Modal Card (Desktop: centered modal, max-width 480px) */
.nps-modal-card {
    background: linear-gradient(150deg, #07152e 0%, #030c1e 100%);
    border: 1.5px solid rgba(0, 229, 255, 0.45);
    border-radius: 16px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(0, 229, 255, 0.22);
    overflow: hidden;
    position: relative;
    transform: translateY(24px) scale(0.96);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    color: #ffffff;
    box-sizing: border-box;
}

.nps-modal-overlay.is-active .nps-modal-card {
    transform: translateY(0) scale(1);
}

/* Mobile bottom sheet drag handle */
.nps-drag-handle {
    display: none;
    width: 44px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    margin: 10px auto 2px;
    flex-shrink: 0;
}

/* Modal Header */
.nps-modal-header {
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(50, 160, 255, 0.25);
    background: rgba(2, 12, 34, 0.75);
}

.nps-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nps-header-icon {
    color: #00e5ff;
    display: flex;
    align-items: center;
}

.nps-modal-title {
    font-size: 1.12rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.01em;
}

.nps-modal-close {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
    font-size: 22px;
    line-height: 1;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s, color 0.18s, transform 0.18s;
}

.nps-modal-close:hover {
    background: rgba(239, 68, 68, 0.25);
    border-color: #ef4444;
    color: #ffffff;
    transform: scale(1.08);
}

/* Modal Body */
.nps-modal-body {
    overflow-y: auto;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    outline: none;
}

/* Station Photo Frame (16:9, rounded, object-fit cover) */
.nps-photo-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #020c24;
    border: 1px solid rgba(50, 160, 255, 0.35);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.nps-station-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.nps-photo-frame:hover .nps-station-img {
    transform: scale(1.03);
}

.nps-photo-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(2, 10, 28, 0.85) 100%);
    pointer-events: none;
}

.nps-distance-pill {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 0 10px rgba(16, 185, 129, 0.4);
    z-index: 2;
}

.nps-ping-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 6px #ffffff;
}

/* Metadata Cluster */
.nps-meta-cluster {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nps-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    line-height: 1.25;
}

.nps-tags-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 2px;
}

.nps-tag {
    font-size: 0.70rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.nps-tag-zone {
    background: rgba(0, 229, 255, 0.14);
    border: 1px solid rgba(0, 229, 255, 0.35);
    color: #00e5ff;
}

.nps-tag-div {
    background: rgba(255, 186, 45, 0.14);
    border: 1px solid rgba(255, 186, 45, 0.35);
    color: #ffba2d;
}

/* Address Row */
.nps-address-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #cbd5e1;
    font-size: 0.86rem;
    line-height: 1.45;
}

.nps-addr-pin {
    flex-shrink: 0;
    color: #00e5ff;
    margin-top: 2px;
}

/* Details Card (Officer & Contact) */
.nps-details-card {
    background: rgba(2, 14, 40, 0.65);
    border: 1px solid rgba(50, 160, 255, 0.22);
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nps-detail-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.84rem;
}

.nps-detail-k {
    color: #94a3b8;
    font-weight: 600;
}

.nps-detail-v {
    color: #ffffff;
    font-weight: 700;
    text-align: right;
}

.nps-phone-num {
    color: #38bdf8;
    text-decoration: none;
    font-weight: 800;
}

.nps-phone-num:hover {
    text-decoration: underline;
    color: #00e5ff;
}

/* Action Buttons Stack (Call, Directions, Close) */
.nps-btn-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 4px;
}

.nps-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.86rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.22s ease;
    box-sizing: border-box;
    border: none;
}

.nps-btn-call {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nps-btn-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.6);
    color: #ffffff;
}

.nps-btn-dir {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nps-btn-dir:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.6);
    color: #ffffff;
}

.nps-btn-close-card {
    grid-column: span 2;
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.nps-btn-close-card:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

/* Loading & Error States */
.nps-state-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 12px;
    gap: 10px;
}

.nps-radar-scanner {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: 2px solid rgba(0, 229, 255, 0.3);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    background: rgba(0, 229, 255, 0.05);
}

.nps-radar-beam {
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border-top: 2.5px solid #00e5ff;
    animation: rotateCrosshair 1s linear infinite;
}

.nps-scanner-icon {
    animation: rotateCrosshair 2s linear infinite reverse;
}

.nps-state-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

.nps-state-sub {
    font-size: 0.88rem;
    color: #94a3b8;
    max-width: 380px;
    margin: 0;
    line-height: 1.5;
}

.nps-error-actions {
    display: flex;
    gap: 10px;
    margin-top: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.nps-warn-icon-wrap {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.15);
    border: 1.5px solid rgba(245, 158, 11, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}

.nps-outside-badge {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid #ef4444;
    color: #fca5a5;
    font-size: 0.78rem;
    padding: 6px 10px;
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
}

/* Page Scroll Lock when modal is open */
body.nps-modal-lock {
    overflow: hidden !important;
    touch-action: none;
}

/* Phone Responsive (max-width: 639px): Bottom Sheet with Smooth Slide-up */
@media (max-width: 639px) {
    .nps-modal-overlay {
        align-items: flex-end !important;
        padding: 0 !important;
    }

    .nps-modal-card {
        width: 100% !important;
        max-width: 100% !important;
        max-height: 85vh !important;
        border-radius: 20px 20px 0 0 !important;
        border-bottom: none !important;
        border-left: none !important;
        border-right: none !important;
        transform: translateY(100%) !important;
        transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    .nps-modal-overlay.is-active .nps-modal-card {
        transform: translateY(0) !important;
    }

    .nps-drag-handle {
        display: block !important;
    }

    .nps-modal-body {
        padding: 14px 16px 24px !important;
        max-height: calc(85vh - 65px) !important;
    }

    .nps-btn-stack {
        grid-template-columns: 1fr 1fr !important;
    }
}
/* Hero Station Search & Suggestions */
.hero-station-suggest-box {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1.5px solid #93c5fd;
    border-radius: 12px;
    box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.22), 0 4px 8px -2px rgba(15, 23, 42, 0.08);
    max-height: 270px;
    overflow-y: auto;
    z-index: 1020;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-suggest-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: background 0.15s ease;
    border-left: 3px solid transparent;
}

.hero-suggest-item:hover,
.hero-suggest-item.is-selected {
    background: #eff6ff;
    border-left-color: var(--color-primary-600, #1d4ed8);
}

.hero-suggest-thumb {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid #cbd5e1;
    background: #e2e8f0;
}

.hero-suggest-item-info {
    flex: 1;
    min-width: 0;
}

.hero-suggest-item-name {
    font-weight: 700;
    font-size: 0.90rem;
    color: var(--color-primary-900, #081a30);
    line-height: 1.3;
}

.hero-suggest-item-name mark {
    background: #fef08a;
    color: #854d0e;
    padding: 0 2px;
    border-radius: 2px;
}

.hero-suggest-item-meta {
    font-size: 0.76rem;
    color: var(--color-text-muted);
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-suggest-badge {
    font-size: 0.70rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    background: #e0f2fe;
    color: #0369a1;
    white-space: nowrap;
    flex-shrink: 0;
}

.hero-suggest-empty {
    padding: 16px 12px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

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

.hero-selected-station-card {
    background: #ffffff;
    border: 1.5px solid #bfdbfe;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 6px 20px rgba(11, 37, 69, 0.09);
    animation: heroCardFadeIn 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-detail-photo-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0b2545;
    overflow: hidden;
}

.hero-detail-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.hero-detail-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
    background: rgba(15, 23, 42, 0.65);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    transition: background 0.2s, transform 0.15s;
    line-height: 1;
}

.hero-detail-close-btn:hover {
    background: rgba(220, 38, 38, 0.85);
    transform: scale(1.08);
}

.hero-photo-credit {
    position: absolute;
    bottom: 6px;
    right: 8px;
    z-index: 4;
    background: rgba(0, 0, 0, 0.65);
    color: #f8fafc;
    font-size: 0.68rem;
    padding: 2px 8px;
    border-radius: 4px;
    backdrop-filter: blur(3px);
    max-width: 80%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-detail-body {
    padding: 14px 16px;
}

.hero-jurisdiction-chip {
    display: inline-block;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 0.73rem;
    padding: 2px 8px;
    border-radius: 12px;
    line-height: 1.4;
}


/* ==========================================================================
   DEDICATED LEADERSHIP PAGE GRID & CARD SYSTEM (CHANGE 2 & 3)
   4 per row desktop, 3 on tablet, 2 on phone. 100% visible, no see-more.
   ========================================================================== */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 36px;
    align-items: stretch;
}

@media (max-width: 1024px) {
    .leadership-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (max-width: 640px) {
    .leadership-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

.leader-card {
    background: var(--color-surface-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 20px 14px 16px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
    box-sizing: border-box;
    height: 100%;
    position: relative;
}

.leader-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--color-primary-600);
}

.leader-avatar-wrap {
    width: 104px;
    height: 104px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 12px;
    border: 3px solid var(--color-accent-400);
    box-shadow: 0 4px 12px rgba(11, 37, 69, 0.12);
    flex-shrink: 0;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 480px) {
    .leader-avatar-wrap {
        width: 84px;
        height: 84px;
        border-width: 2.5px;
    }
}

.leader-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.leader-badge {
    display: inline-block;
    background: var(--color-primary-50);
    color: var(--color-primary-800);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid var(--color-primary-100);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.leader-name {
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--color-text-main);
    margin: 0 0 6px 0;
    line-height: 1.3;
}

@media (max-width: 480px) {
    .leader-name {
        font-size: 0.88rem;
    }
}

.leader-desig {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-primary-700);
    line-height: 1.35;
    margin: 0 0 10px 0;
    flex-grow: 1;
}

@media (max-width: 480px) {
    .leader-desig {
        font-size: 0.76rem;
    }
}

.leader-contact-box {
    width: 100%;
    padding-top: 10px;
    border-top: 1px dashed var(--color-border);
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.76rem;
}

.leader-contact-link {
    color: var(--color-text-muted);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: color 0.15s ease;
}

.leader-contact-link:hover {
    color: var(--color-primary-800);
    text-decoration: underline;
}

/* Tier section headings */
.leadership-tier-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 36px 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-primary-800);
}

.leadership-tier-badge {
    background: var(--color-primary-800);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.leadership-tier-heading {
    font-size: clamp(1.2rem, 2.5vw, 1.55rem);
    font-weight: 800;
    color: var(--color-primary-900);
    margin: 0;
}


/* ==========================================================================
   POLICE CONNECT / LEARN MORE / WHATS NEW SECTION (Compact Government Portal)
   ========================================================================== */
.tp-portal-section {
    background-color: #f8fafc;
    background-image: 
        radial-gradient(rgba(148, 163, 184, 0.16) 1px, transparent 1px),
        linear-gradient(180deg, #f8fafc 0%, #f1f5f9 50%, #edf2f7 100%);
    background-size: 20px 20px, 100% 100%;
    padding: 40px 0 !important;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
}

.tp-portal-section .container {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding-left: clamp(16px, 2.5vw, 24px) !important;
    padding-right: clamp(16px, 2.5vw, 24px) !important;
    box-sizing: border-box !important;
}

.tp-portal-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 30px !important;
    align-items: stretch !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

@media (max-width: 1024px) {
    .tp-portal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 24px !important;
    }
    .tp-portal-card-whatsnew {
        grid-column: span 2 !important;
        max-width: 680px !important;
        margin: 0 auto !important;
        width: 100% !important;
    }
}

@media (max-width: 640px) {
    .tp-portal-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 20px !important;
    }
    .tp-portal-card-whatsnew {
        grid-column: span 1 !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
}

/* Card Wrappers */
.tp-portal-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    border-top: 3px solid #F26B1D;
    box-shadow: 0 2px 10px -2px rgba(15, 23, 42, 0.05), 0 1px 3px -1px rgba(15, 23, 42, 0.03);
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    position: relative;
    min-width: 0;
    width: 100%;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tp-portal-card:hover {
    box-shadow: 0 6px 20px -3px rgba(15, 23, 42, 0.08), 0 2px 5px -1px rgba(15, 23, 42, 0.03);
}

/* Card Header */
.tp-col-header {
    text-align: center;
    margin-bottom: 8px;
    padding-bottom: 0;
    position: relative;
}

.tp-col-title {
    font-family: 'Barlow Condensed', 'Fira Sans Extra Condensed', 'Fira Sans Condensed', 'Inter', -apple-system, sans-serif;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0;
    line-height: 1.2;
    text-transform: capitalize;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.tp-col-title .word-navy {
    color: #0b1e36;
}

.tp-col-title .word-orange {
    color: #ea580c;
}

.tp-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 5px auto;
    max-width: 130px;
}

.tp-divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, #cbd5e1, transparent);
}

.tp-divider-circle {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: 1.5px solid #ea580c;
    background: #ffffff;
    flex-shrink: 0;
    box-sizing: border-box;
}

.tp-col-subhead {
    font-size: 17px;
    font-weight: 600;
    color: #475569;
    text-transform: none;
    letter-spacing: normal;
    margin: 0 0 8px 0;
    text-align: center;
    line-height: 1.25;
}

/* LIVE Pulse Pill */
.tp-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 1px 6px;
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    vertical-align: middle;
    margin-left: 6px;
    box-shadow: 0 1px 2px rgba(220, 38, 38, 0.08);
}

.tp-live-dot {
    width: 5px;
    height: 5px;
    background-color: #dc2626;
    border-radius: 50%;
    animation: tpLivePulse 1.6s ease-in-out infinite;
}

@keyframes tpLivePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(1.35); }
}

/* List Items (Columns 1 & 2) */
.tp-portal-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tp-portal-list li {
    border-bottom: 1px solid #f8fafc;
}

.tp-portal-list li:last-child {
    border-bottom: none;
}

.tp-portal-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 6px;
    min-height: 36px;
    border-radius: 6px;
    text-decoration: none;
    color: #1e293b;
    font-size: 15.5px;
    font-weight: 550;
    line-height: 1.35;
    box-sizing: border-box;
    transition: background-color 0.18s ease, transform 0.18s ease;
    position: relative;
    min-width: 0;
}

.tp-portal-item:hover {
    background-color: #fff7ed;
    transform: translateX(3px);
    text-decoration: none;
}

.tp-portal-item:focus-visible {
    outline: 2px solid #ea580c;
    outline-offset: 1px;
    background-color: #fff7ed;
}

.tp-portal-icon-box {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 6px;
    background-color: #FFF3E8;
    color: #ea580c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.tp-portal-item:hover .tp-portal-icon-box {
    background-color: #ea580c;
    color: #ffffff;
    transform: scale(1.05);
}

.tp-portal-icon {
    width: 18px;
    height: 18px;
}

.tp-portal-item-text {
    flex: 1;
    color: #1e293b;
    transition: color 0.18s ease, font-weight 0.18s ease;
    overflow-wrap: break-word;
    word-break: break-word;
    min-width: 0;
}

.tp-portal-item:hover .tp-portal-item-text {
    color: #0b1e36;
    font-weight: 650;
}

.tp-portal-arrow {
    color: #ea580c;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.18s ease, transform 0.18s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 4px;
    font-size: 13px;
}

.tp-portal-item:hover .tp-portal-arrow,
.tp-portal-item:focus-visible .tp-portal-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Column 3 Whats New Card & Ticker */
.tp-ticker-viewport {
    flex: 1;
    overflow: hidden;
    position: relative;
    margin-top: 4px;
    height: 410px;
    min-height: 390px;
    max-height: 430px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 6%, black 94%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 6%, black 94%, transparent 100%);
}

.tp-ticker-track {
    display: flex;
    flex-direction: column;
    gap: 10px;
    animation: tpScrollTicker 26s linear infinite;
    will-change: transform;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.tp-ticker-viewport:hover .tp-ticker-track,
.tp-ticker-viewport:focus-within .tp-ticker-track,
.tp-ticker-viewport:active .tp-ticker-track {
    animation-play-state: paused;
}

@keyframes tpScrollTicker {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

.tp-notice-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #0b1e36;
    border-radius: 8px;
    padding: 10px 14px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-left-color 0.2s ease, background-color 0.2s ease;
    display: block;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-break: break-word;
    width: 100%;
    min-width: 0;
}

.tp-notice-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
    border-left-color: #ea580c;
    background-color: #fafbfc;
}

.tp-notice-title {
    font-size: 14.5px;
    font-weight: 650;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 5px;
    overflow-wrap: break-word;
    word-break: break-word;
    transition: color 0.18s ease;
}

.tp-notice-box:hover .tp-notice-title {
    color: #0b1e36;
}

.tp-notice-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
    flex-wrap: wrap;
}

.tp-notice-badge {
    background: #eff6ff;
    color: #1e40af;
    padding: 1px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.02em;
    border: 1px solid #dbeafe;
}

.tp-notice-badge.tp-badge-special {
    background: #FFF3E8;
    color: #c2410c;
    border-color: #fed7aa;
}

.tp-notice-date {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #64748b;
    font-size: 12px;
}

/* Mobile & Phone tap targets */
@media (max-width: 640px) {
    .tp-portal-item {
        min-height: 44px;
        padding: 7px 8px;
        font-size: 15px;
    }
    .tp-portal-icon-box {
        width: 30px;
        height: 30px;
        min-width: 30px;
    }
    .tp-ticker-viewport {
        height: 380px;
        min-height: 360px;
    }
}

/* Entrance Animation & Reduced Motion */
@media (prefers-reduced-motion: no-preference) {
    .tp-portal-card {
        opacity: 0;
        transform: translateY(14px);
        transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease;
    }
    .tp-portal-section.tp-in-view .tp-portal-card {
        opacity: 1;
        transform: translateY(0);
    }
    .tp-portal-section.tp-in-view .tp-portal-card:nth-child(1) { transition-delay: 0.04s; }
    .tp-portal-section.tp-in-view .tp-portal-card:nth-child(2) { transition-delay: 0.12s; }
    .tp-portal-section.tp-in-view .tp-portal-card:nth-child(3) { transition-delay: 0.20s; }
}

@media (prefers-reduced-motion: reduce) {
    .tp-portal-card {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
    .tp-ticker-track {
        animation: none !important;
    }
    .tp-ticker-viewport {
        overflow-y: auto !important;
        -webkit-mask-image: none !important;
        mask-image: none !important;
    }
    .tp-portal-item:hover {
        transform: none !important;
    }
    .tp-notice-box:hover {
        transform: none !important;
    }
}

/* High Contrast Mode */
[data-contrast="high"] .tp-portal-section {
    background: #000000 !important;
    background-image: none !important;
    border-color: #ffffff !important;
}
[data-contrast="high"] .tp-portal-card {
    background: #000000 !important;
    border: 2px solid #ffffff !important;
    border-top: 4px solid #ffffff !important;
    box-shadow: none !important;
}
[data-contrast="high"] .tp-col-title .word-navy,
[data-contrast="high"] .tp-col-title .word-orange {
    color: #ffffff !important;
}
[data-contrast="high"] .tp-divider-line {
    background: #ffffff !important;
}
[data-contrast="high"] .tp-divider-circle {
    border-color: #ffffff !important;
    background: #000000 !important;
}
[data-contrast="high"] .tp-col-subhead {
    color: #ffff00 !important;
}
[data-contrast="high"] .tp-live-pill {
    background: #000000 !important;
    border-color: #ffff00 !important;
    color: #ffff00 !important;
}
[data-contrast="high"] .tp-live-dot {
    background: #ffff00 !important;
}
[data-contrast="high"] .tp-portal-list li {
    border-bottom: 1px solid #333333 !important;
}
[data-contrast="high"] .tp-portal-item {
    color: #ffffff !important;
}
[data-contrast="high"] .tp-portal-item-text {
    color: #ffffff !important;
}
[data-contrast="high"] .tp-portal-icon-box {
    background: #222222 !important;
    color: #ffff00 !important;
}
[data-contrast="high"] .tp-portal-arrow {
    color: #ffff00 !important;
    opacity: 1 !important;
    transform: none !important;
}
[data-contrast="high"] .tp-portal-item:hover,
[data-contrast="high"] .tp-portal-item:focus-visible {
    background: #222222 !important;
    outline: 2px solid #ffff00 !important;
}
[data-contrast="high"] .tp-portal-item:hover .tp-portal-item-text {
    color: #ffff00 !important;
}
[data-contrast="high"] .tp-notice-box {
    background: #111111 !important;
    border: 2px solid #ffffff !important;
    border-left: 6px solid #ffff00 !important;
}
[data-contrast="high"] .tp-notice-box:hover {
    background: #222222 !important;
    border-color: #ffff00 !important;
}
[data-contrast="high"] .tp-notice-title {
    color: #ffffff !important;
}
[data-contrast="high"] .tp-notice-meta {
    color: #cccccc !important;
}
[data-contrast="high"] .tp-notice-badge,
[data-contrast="high"] .tp-notice-badge.tp-badge-special {
    background: #000000 !important;
    color: #ffff00 !important;
    border: 1px solid #ffff00 !important;
}
[data-contrast="high"] .tp-ticker-viewport {
    -webkit-mask-image: none !important;
    mask-image: none !important;
}



/* ==========================================================================
   HERO AUTO-SLIDER & CP'S MESSAGE SLIDE (Seamless Horizontal Track Slider)
   ========================================================================== */
.tp-hero-slider-wrap {
    position: relative !important;
    width: 100% !important;
    overflow: hidden !important;
    background-color: #002B45 !important;
    height: auto;
    min-height: 0 !important;
    max-height: none;
    box-sizing: border-box !important;
    touch-action: pan-y !important; /* Native vertical page scroll on touch */
    display: block !important;
}

.tp-hero-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    width: 200% !important;
    height: 100% !important;
    transform: translateX(0%);
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1) !important;
    will-change: transform;
    box-sizing: border-box !important;
}

.tp-hero-slide {
    flex: 0 0 50% !important;
    width: 50% !important;
    max-width: 50% !important;
    height: 100% !important;
    min-height: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Ensure inner sections fill slide height and never spill out */
.tp-hero-slide > section,
.tp-hero-slide .fp-hero-section,
.tp-hero-slide .tp-cp-message-section {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
    overflow: hidden !important;
}

/* CP'S MESSAGE SECTION (SLIDE 2) */
.tp-cp-message-section {
    background-color: #002B45; /* Deep Teal-Navy */
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 32px;
    box-sizing: border-box;
    color: #ffffff;
    position: relative;
}

.tp-cp-message-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    box-sizing: border-box;
}

/* Left Column: Commissioner Portrait Card (about 30% width) */
.tp-cp-photo-col {
    flex: 0 0 30%;
    max-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tp-cp-portrait-card {
    background-color: #002B45;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
    width: 100%;
    aspect-ratio: 3 / 4;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, 0.15);
}

.tp-cp-portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

/* Right Column: Text Block (about 65% width) */
.tp-cp-text-col {
    flex: 0 0 65%;
    max-width: 780px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 1. Heading: CP's Message */
.tp-cp-heading {
    font-family: 'Barlow Condensed', 'Fira Sans Extra Condensed', 'Fira Sans Condensed', 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 16px 0;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.tp-cp-head-white {
    color: #ffffff;
}

.tp-cp-head-orange {
    color: #F26B1D; /* Authentic vibrant orange */
}

/* 2. Paragraph */
.tp-cp-paragraph {
    font-family: 'Mukta', 'Inter', -apple-system, sans-serif;
    font-size: 17.5px;
    font-weight: 500;
    line-height: 1.75;
    color: #ffffff;
    text-align: justify;
    margin: 0 0 18px 0;
}

/* See More Button (Mobile Only) */
.tp-cp-seemore-btn {
    display: none;
    align-items: center;
    gap: 4px;
    background: transparent;
    border: none;
    color: #F26B1D;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    padding: 2px 0 8px 0;
}

/* 3. Commissioner Name */
.tp-cp-name {
    font-family: 'Mukta', 'Inter', -apple-system, sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin: 0 0 4px 0;
    letter-spacing: -0.01em;
}

/* 4. Designation */
.tp-cp-designation {
    font-family: 'Mukta', 'Inter', -apple-system, sans-serif;
    font-size: 19px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.3;
    margin: 0;
}

/* Slider Controls: Arrows */
.tp-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 25;
    transition: all 0.22s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.tp-slider-nav:hover {
    background: #F26B1D;
    border-color: #F26B1D;
    color: #ffffff;
    transform: translateY(-50%) scale(1.08);
}

.tp-slider-nav:focus-visible {
    outline: 2px solid #ffffff !important;
    outline-offset: 2px !important;
}

.tp-slider-prev {
    left: 20px;
}

.tp-slider-next {
    right: 20px;
}

/* Tablet Responsive (601px to 1024px) */
@media (max-width: 1024px) {
    .tp-hero-slider-wrap {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }
    .tp-hero-slide {
        height: auto !important;
        min-height: 0 !important;
    }

    /* Slide 1 - Tablet Rules (heading 44-52px, p 16px, 3 buttons wrap naturally, people photo fits without cutting face) */
    #heroSlide1 .fp-hero-section {
        min-height: 0 !important;
        height: auto !important;
        padding: 24px 20px 20px 20px !important;
        box-sizing: border-box !important;
    }
    #heroSlide1 .fp-hero-container {
        display: flex !important;
        flex-direction: row !important;
        align-items: stretch !important;
        justify-content: space-between !important;
        gap: 20px !important;
        padding: 0 16px !important;
        min-height: 0 !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    #heroSlide1 .fp-hero-content-col {
        flex: 1 1 54% !important;
        max-width: 55% !important;
        gap: 12px !important;
        justify-content: flex-start !important;
        padding: 16px 0 16px 0 !important;
        margin: 0 !important;
    }
    #heroSlide1 .fp-headline {
        font-size: clamp(44px, 4.5vw, 52px) !important;
        line-height: 1.18 !important;
        margin: 0 0 10px 0 !important;
    }
    #heroSlide1 .fp-subhead {
        font-size: 16px !important;
        line-height: 1.6 !important;
        max-width: 540px !important;
    }
    #heroSlide1 .fp-actions-row {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
        margin-top: 10px !important;
    }
    #heroSlide1 .fp-actions-row .fp-btn {
        flex: 0 0 auto !important;
        width: auto !important;
    }
    #heroSlide1 .fp-hero-people {
        flex: 1 1 45% !important;
        max-width: 45% !important;
        height: 100% !important;
        display: flex !important;
        align-items: flex-end !important;
        justify-content: flex-end !important;
        gap: 8px !important;
        padding: 0 !important;
        position: relative !important;
        bottom: 0 !important;
    }
    #heroSlide1 .fp-family-fig {
        max-height: 82% !important;
        width: auto !important;
        object-fit: contain !important;
        object-position: bottom center !important;
    }
    #heroSlide1 .fp-cp-fig {
        max-height: 92% !important;
        width: auto !important;
        object-fit: contain !important;
        object-position: bottom center !important;
    }

    /* Slide 2 - Tablet Rules (photo & text side by side, compact natural height) */
    .tp-cp-message-section {
        padding: 32px 30px !important;
        height: auto !important;
        min-height: 0 !important;
    }
    .tp-cp-message-container {
        gap: 28px !important;
    }
    .tp-cp-photo-col {
        flex: 0 0 32% !important;
        max-width: 240px !important;
    }
    .tp-cp-text-col {
        flex: 0 0 65% !important;
    }
    .tp-cp-heading {
        font-size: 24px !important;
        margin-bottom: 12px !important;
    }
    .tp-cp-paragraph {
        font-size: 15.5px !important;
        line-height: 1.65 !important;
        margin-bottom: 14px !important;
    }
    .tp-cp-name {
        font-size: 26px !important;
    }
    .tp-cp-designation {
        font-size: 16px !important;
    }
    .tp-slider-nav {
        width: 38px !important;
        height: 38px !important;
    }
    .tp-slider-prev {
        left: 10px !important;
    }
    .tp-slider-next {
        right: 10px !important;
    }
}

/* Phone Responsive (up to 600px) */
@media (max-width: 600px) {
    .tp-hero-slider-wrap {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }
    .tp-hero-slide {
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    /* Slide 1 - Phone Rules (stacked, compact pills, heading 32-36px, p 15px, buttons 2+1, people centered below text with face uncropped) */
    #heroSlide1 .fp-hero-section {
        padding: 14px 0 0 0 !important;
        min-height: 0 !important;
        height: auto !important;
        display: flex !important;
        align-items: flex-start !important;
        box-sizing: border-box !important;
    }
    #heroSlide1 .fp-hero-container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        gap: 12px !important;
        padding: 0 !important;
    }
    #heroSlide1 .fp-hero-content-col {
        order: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
        gap: 10px !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    #heroSlide1 .fp-dept-badge {
        padding: 4px 10px 4px 6px !important;
        gap: 8px !important;
        margin-bottom: 2px !important;
    }
    #heroSlide1 .fp-dept-logo {
        width: 34px !important;
        height: 34px !important;
    }
    #heroSlide1 .fp-dept-gov {
        font-size: 0.62rem !important;
    }
    #heroSlide1 .fp-dept-name {
        font-size: 0.78rem !important;
    }
    #heroSlide1 .fp-cm-card {
        padding: 4px 12px 4px 6px !important;
        gap: 8px !important;
        margin-bottom: 2px !important;
    }
    #heroSlide1 .fp-cm-avatar-box {
        width: 38px !important;
        height: 38px !important;
    }
    #heroSlide1 .fp-cm-role {
        font-size: 0.62rem !important;
    }
    #heroSlide1 .fp-cm-name {
        font-size: 0.82rem !important;
    }
    #heroSlide1 .fp-smart-tag {
        padding: 3px 10px !important;
        font-size: 0.70rem !important;
    }
    #heroSlide1 .fp-headline {
        font-size: clamp(32px, 7.5vw, 36px) !important;
        line-height: 1.2 !important;
        text-align: left !important;
        margin: 4px 0 8px 0 !important;
    }
    #heroSlide1 .fp-subhead {
        font-size: 15px !important;
        line-height: 1.55 !important;
        text-align: left !important;
        color: #cbd5e1 !important;
        margin: 0 !important;
    }
    #heroSlide1 .fp-actions-row {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
        margin-top: 10px !important;
    }
    #heroSlide1 .fp-actions-row .fp-btn,
    #heroSlide1 .fp-actions-row .fp-btn-emergency,
    #heroSlide1 .fp-actions-row .fp-btn-cyber,
    #heroSlide1 .fp-actions-row .fp-btn-glass {
        width: 100% !important;
        min-height: 48px !important;
        padding: 12px 16px !important;
        font-size: 0.95rem !important;
        font-weight: 700 !important;
        border-radius: 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        box-sizing: border-box !important;
        text-align: center !important;
    }
    #heroSlide1 .fp-hero-people {
        order: 2 !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-end !important;
        justify-content: center !important;
        gap: 10px !important;
        width: 100% !important;
        max-width: 440px !important;
        height: auto !important;
        min-height: 200px !important;
        max-height: 290px !important;
        margin: 12px auto 0 auto !important;
        padding: 0 !important;
    }
    #heroSlide1 .fp-family-fig {
        max-height: 250px !important;
        width: auto !important;
        object-fit: contain !important;
        object-position: top center !important;
        display: block !important;
        visibility: visible !important;
    }
    #heroSlide1 .fp-cp-fig {
        max-height: 275px !important;
        width: auto !important;
        object-fit: contain !important;
        object-position: top center !important;
        display: block !important;
        visibility: visible !important;
    }

    /* Slide 2 - Phone Rules (photo centered max-width 150px, text below, heading 20px, p 14.5px, see more) */
    .tp-cp-message-section {
        padding: 24px 38px 40px 38px !important; /* side padding keeps text clear of arrows */
        align-items: flex-start !important;
    }
    .tp-cp-message-container {
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
        text-align: center !important;
    }
    .tp-cp-photo-col {
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: 150px !important;
        margin: 0 auto !important;
    }
    .tp-cp-portrait-card {
        max-width: 150px !important;
        aspect-ratio: 3 / 4 !important;
        border-radius: 10px !important;
    }
    .tp-cp-text-col {
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
    }
    .tp-cp-heading {
        font-size: 20px !important;
        text-align: center !important;
        margin-bottom: 8px !important;
    }
    .tp-cp-paragraph {
        font-size: 14.5px !important;
        line-height: 1.6 !important;
        text-align: left !important;
        margin-bottom: 12px !important;
        overflow: visible !important;
        display: block !important;
        -webkit-line-clamp: unset !important;
        line-clamp: unset !important;
    }
    .tp-cp-paragraph.is-expanded {
        display: block !important;
        -webkit-line-clamp: unset !important;
    }
    .tp-cp-seemore-btn {
        display: none !important;
    }
    .tp-cp-name {
        font-size: 20px !important;
        margin-top: 4px !important;
        text-align: center !important;
    }
    .tp-cp-designation {
        font-size: 13.5px !important;
        text-align: center !important;
    }

    /* Slider Arrows on Phone: 36px circle, semi-transparent at edges */
    .tp-slider-nav {
        width: 36px !important;
        height: 36px !important;
        background: rgba(0, 0, 0, 0.5) !important;
    }
    .tp-slider-nav svg {
        width: 18px !important;
        height: 18px !important;
    }
    .tp-slider-prev {
        left: 6px !important;
    }
    .tp-slider-next {
        right: 6px !important;
    }
}


/* High Contrast Mode */
[data-contrast="high"] .tp-hero-slider-wrap,
[data-contrast="high"] .tp-cp-message-section {
    background-color: #000000 !important;
}
[data-contrast="high"] .tp-cp-portrait-card {
    border: 3px solid #ffffff !important;
}
[data-contrast="high"] .tp-cp-head-white,
[data-contrast="high"] .tp-cp-name,
[data-contrast="high"] .tp-cp-designation,
[data-contrast="high"] .tp-cp-paragraph {
    color: #ffffff !important;
}
[data-contrast="high"] .tp-cp-head-orange {
    color: #facc15 !important;
}
[data-contrast="high"] .tp-slider-nav {
    background: #000000 !important;
    border: 2px solid #ffffff !important;
}
[data-contrast="high"] .tp-slider-nav:hover,
[data-contrast="high"] .tp-slider-nav:focus-visible {
    background: #facc15 !important;
    color: #000000 !important;
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .tp-hero-track {
        transition: none !important;
    }
    .tp-hero-slide {
        transition: none !important;
    }
}


/* ==========================================================================
   REPORT TO THANE POLICE COMMISSIONERATE (EXACT REFERENCE SCREENSHOT REPLICA)
   ========================================================================== */
.tp-report-section-wrap {
    background-color: #F8FAFC;
    border-radius: 18px;
    padding: clamp(28px, 4vw, 42px) clamp(16px, 3vw, 28px);
    margin-bottom: clamp(28px, 4vw, 40px);
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
    border: 1px solid #e2e8f0;
    box-sizing: border-box;
}

.tp-report-header {
    text-align: center;
    margin-bottom: 28px;
}

.tp-report-title {
    font-family: 'Barlow Condensed', 'Fira Sans Extra Condensed', 'Fira Sans Condensed', 'Inter', sans-serif;
    font-size: clamp(26px, 3.4vw, 36px);
    font-weight: 800;
    margin: 0;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.tp-rep-head-navy {
    color: #1e293b;
}

.tp-rep-head-orange {
    color: #F26B1D;
}

.tp-report-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
    align-items: center;
    box-sizing: border-box;
}

.tp-report-card {
    position: relative;
    width: 100%;
    max-width: 270px;
    height: 180px;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    display: block;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    box-sizing: border-box;
}

.tp-report-card:hover,
.tp-report-card:focus-visible {
    transform: scale(1.05);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.22);
    outline: none;
}

.tp-report-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 16px;
}

/* Semi-transparent overlays matching the screenshot */
.tp-report-overlay {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    transition: background-color 0.25s ease;
}

.tp-rep-overlay-dark {
    background-color: rgba(0, 0, 0, 0.45);
}

.tp-rep-overlay-light {
    background-color: rgba(15, 23, 42, 0.26);
}

.tp-report-card:hover .tp-rep-overlay-dark {
    background-color: rgba(0, 0, 0, 0.65);
}

.tp-report-card:hover .tp-rep-overlay-light {
    background-color: rgba(0, 0, 0, 0.55);
}

/* Typography on cards */
.tp-report-text {
    position: absolute;
    color: #ffffff;
    font-family: 'Barlow Condensed', 'Fira Sans Extra Condensed', 'Fira Sans Condensed', 'Inter', sans-serif;
    font-weight: 800;
    text-align: right;
    line-height: 1.15;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    pointer-events: none;
    box-sizing: border-box;
}

/* Card 1: bigger text, middle-right / bottom-right as in screenshot */
.tp-rep-card-title-lg {
    bottom: 18px;
    right: 16px;
    left: 16px;
    font-size: clamp(26px, 2.5vw, 34px);
}

/* Other cards: about 22-24px, bottom-right */
.tp-rep-card-title-md {
    bottom: 14px;
    right: 14px;
    left: 14px;
    font-size: clamp(19px, 1.8vw, 23px);
}

/* Tablet: 3 cards per row */
@media (max-width: 1024px) {
    .tp-report-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 22px;
    }
}

/* Mobile: 2 cards per row */
@media (max-width: 640px) {
    .tp-report-section-wrap {
        padding: 24px 14px;
    }
    .tp-report-header {
        margin-bottom: 20px;
    }
    .tp-report-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .tp-report-card {
        height: 135px;
        border-radius: 12px;
    }
    .tp-report-bg,
    .tp-report-overlay {
        border-radius: 12px;
    }
    .tp-rep-card-title-lg {
        font-size: 20px;
        bottom: 10px;
        right: 10px;
        left: 10px;
    }
    .tp-rep-card-title-md {
        font-size: 15px;
        bottom: 8px;
        right: 8px;
        left: 8px;
    }
}

/* High Contrast Mode */
[data-contrast="high"] .tp-report-section-wrap {
    background-color: #000000 !important;
    border: 2px solid #ffffff !important;
}
[data-contrast="high"] .tp-rep-head-navy {
    color: #ffffff !important;
}
[data-contrast="high"] .tp-rep-head-orange {
    color: #facc15 !important;
}
[data-contrast="high"] .tp-report-card {
    border: 2px solid #ffffff !important;
}
[data-contrast="high"] .tp-report-text {
    color: #ffffff !important;
    text-shadow: 0 0 6px #000000 !important;
}
[data-contrast="high"] .tp-report-card:hover {
    border-color: #facc15 !important;
}




/* ==========================================================================

   OFFICIAL THANE POLICE: FULL MOBILE RESPONSIVE ENGINE (320px - 768px)

   Strict compliance with:

   1. Zero sideways scroll (document.documentElement.scrollWidth === window.innerWidth)

   2. Touch targets >= 44px x 44px with >= 8px spacing

   3. Fluid readable typography with clamp() and Marathi text clearance

   4. Consistent side margins (16px, 12px at <= 320px)

   5. Safe-area insets & Notch support (env(safe-area-inset-*))

   6. 100% or dvh viewport heights

   ========================================================================== */



/* Universal Mobile Base Resets */

html, body {

    max-width: 100% !important;

    overflow-x: hidden !important;

    width: 100% !important;

}



body {

    min-height: 100% !important;

    min-height: 100dvh !important;

    margin: 0 !important;

    padding: 0 !important;

    padding-bottom: 0 !important;

    background-color: #040e1a !important;

    text-rendering: optimizeLegibility;

    -webkit-font-smoothing: antialiased;

}



*, *::before, *::after {

    box-sizing: border-box !important;

    -webkit-tap-highlight-color: transparent;

}



img, video, svg, iframe, table {

    max-width: 100% !important;

    height: auto;

}



/* Text elements word-break defense (EXCLUDING table headers and cells to prevent column squishing) */

p, span, h1, h2, h3, h4, h5, h6, a, div, li, label, input, select, textarea {

    overflow-wrap: anywhere !important;

    word-break: break-word !important;

}



/* Flex/Grid text children min-width reset to prevent overflow */

.tp-portal-item-text,

.brand-text-block,

.fp-hero-content-col,

.cr-help-item,

.leader-desig,

.leader-name,

.dignitary-name,

.dignitary-role,

.footer-bottom-info,

.footer-copyright-text,

.footer-disclaimer-text,

.footer-dev-credit {

    min-width: 0 !important;

}



/* Marathi Text Clear Line Height */

[lang="mr"],

:lang(mr),

.brand-marathi-name,

[data-lang="mr"] {

    line-height: 1.62 !important;

    padding-top: 1px;

    padding-bottom: 2px;

}



/* ==========================================================================
   MASTER MOBILE RESPONSIVE TABLES & CONTAINERS DEFENSE
   Prevents column squishing, vertical letter breaking, and horizontal blowout
   ========================================================================== */
.notices-table-wrapper,
.table-responsive,
.tp-table-responsive-wrap,
.table-responsive-wrapper,
div[style*="overflow-x:auto"],
div[style*="overflow-x: auto"] {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
    position: relative !important;
    touch-action: pan-x pan-y !important;
}

.notices-table-wrapper,
.tp-table-responsive-wrap,
.table-responsive,
.table-responsive-wrapper,
div[style*="overflow-x:auto"],
div[style*="overflow-x: auto"] {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    background: #ffffff !important;
    border-radius: 14px !important;
    position: relative !important;
}

.notices-table,
.table-responsive table,
.tp-table-responsive-wrap table,
.table-responsive-wrapper table,
table.tp-table,
#former-cps table,
div[style*="overflow-x:auto"] > table,
div[style*="overflow-x: auto"] > table {
    display: table !important;
    width: 100% !important;
    min-width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    table-layout: auto !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

@media (max-width: 768px) {
    .notices-table,
    .table-responsive table,
    .tp-table-responsive-wrap table,
    .table-responsive-wrapper table,
    table.tp-table,
    #former-cps table,
    div[style*="overflow-x:auto"] > table,
    div[style*="overflow-x: auto"] > table {
        min-width: 680px !important;
    }
}

/* Continuous Dark Header Row Background Across 100% Width */
.notices-table thead,
.table-responsive thead,
.tp-table-responsive-wrap thead,
.table-responsive-wrapper thead,
table.tp-table thead,
#former-cps thead,
div[style*="overflow-x:auto"] thead,
div[style*="overflow-x: auto"] thead {
    width: 100% !important;
    background: var(--color-primary-900, #002B45) !important;
}

.notices-table thead tr,
.table-responsive thead tr,
.tp-table-responsive-wrap thead tr,
.table-responsive-wrapper thead tr,
table.tp-table thead tr,
#former-cps thead tr,
div[style*="overflow-x:auto"] thead tr,
div[style*="overflow-x: auto"] thead tr {
    width: 100% !important;
    background: var(--color-primary-900, #002B45) !important;
    color: #ffffff !important;
}

.notices-table th,
.table-responsive th,
.tp-table-responsive-wrap th,
.table-responsive-wrapper th,
table.tp-table th,
#former-cps th,
table th,
div[style*="overflow-x:auto"] th,
div[style*="overflow-x: auto"] th {
    background: var(--color-primary-900, #002B45) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 14px 18px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    letter-spacing: normal !important;
    text-align: left !important;
    vertical-align: middle !important;
}

/* Rounded Header Corners Matching Card Radius */
.notices-table thead tr:first-child th:first-child,
.table-responsive thead tr:first-child th:first-child,
.tp-table-responsive-wrap thead tr:first-child th:first-child,
.table-responsive-wrapper thead tr:first-child th:first-child,
table.tp-table thead tr:first-child th:first-child,
#former-cps thead tr:first-child th:first-child,
div[style*="overflow-x:auto"] thead tr:first-child th:first-child,
div[style*="overflow-x: auto"] thead tr:first-child th:first-child {
    border-top-left-radius: 13px !important;
}

.notices-table thead tr:first-child th:last-child,
.table-responsive thead tr:first-child th:last-child,
.tp-table-responsive-wrap thead tr:first-child th:last-child,
.table-responsive-wrapper thead tr:first-child th:last-child,
table.tp-table thead tr:first-child th:last-child,
#former-cps thead tr:first-child th:last-child,
div[style*="overflow-x:auto"] thead tr:first-child th:last-child,
div[style*="overflow-x: auto"] thead tr:first-child th:last-child {
    border-top-right-radius: 13px !important;
}

/* Header bars & filter bars across pages */
.card-header,
.section-header-bar,
.station-filter-bar,
.notices-filter-bar {
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Table Data Cells never break character-by-character */
.notices-table td,
.table-responsive td,
.tp-table-responsive-wrap td,
.table-responsive-wrapper td,
table.tp-table td,
#former-cps td,
table td,
div[style*="overflow-x:auto"] td,
div[style*="overflow-x: auto"] td {
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    letter-spacing: normal !important;
}

/* Allow text cells with titles or long descriptions to wrap naturally at word boundaries */
.notices-table td:nth-child(2),
.table td.cell-wrap,
td.cell-title,
td.title-cell {
    white-space: normal !important;
    min-width: 260px !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
}

/* Former Commissioners table specific column styling */
#former-cps table,
#former-cps div[style*="overflow-x:auto"] table,
#former-cps .tp-table-responsive-wrap table {
    width: 100% !important;
    min-width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
}
@media (max-width: 768px) {
    #former-cps table,
    #former-cps div[style*="overflow-x:auto"] table,
    #former-cps .tp-table-responsive-wrap table {
        min-width: 780px !important;
    }
}

#former-cps th,
#former-cps td {
    padding: 14px 18px !important;
    font-size: 0.92rem !important;
}

#former-cps th:first-child,
#former-cps td:first-child {
    width: 70px !important;
    min-width: 70px !important;
    text-align: center !important;
    white-space: nowrap !important;
}

#former-cps th:nth-child(2),
#former-cps td:nth-child(2) {
    min-width: 270px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
}

#former-cps th:nth-child(3),
#former-cps td:nth-child(3) {
    min-width: 140px !important;
    white-space: nowrap !important;
}

#former-cps th:nth-child(4),
#former-cps td:nth-child(4),
#former-cps th:nth-child(5),
#former-cps td:nth-child(5) {
    min-width: 150px !important;
    white-space: nowrap !important;
}

/* Mobile Table Scroll Hint Pill */
.mobile-table-hint {
    display: none;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #0369a1;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    padding: 6px 12px;
    margin-bottom: 10px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.mobile-table-hint svg {
    flex-shrink: 0;
    color: #0284c7;
}

@media (max-width: 768px) {
    .mobile-table-hint {
        display: inline-flex !important;
    }
}

html[data-theme="dark"] .mobile-table-hint {
    color: #38bdf8 !important;
    background: rgba(56, 189, 248, 0.1) !important;
    border-color: rgba(56, 189, 248, 0.25) !important;
}
html[data-theme="dark"] .mobile-table-hint svg {
    color: #38bdf8 !important;
}



/* Sticky Header Height Control on Mobile */

.site-header {

    max-width: 100% !important;

    width: 100% !important;

    box-sizing: border-box !important;

}



/* ==========================================================================

   BREAKPOINT: TABLET & MOBILE (<= 768px)

   ========================================================================== */

@media (max-width: 768px) {

    /* 1. Consistent Side Padding: 16px */

    .container,

    .site-header .container,

    .site-main-header .container,

    .top-emergency-bar .container,

    .site-footer .container,

    .main-content > .container,

    .tp-portal-section .container,

    .tp-report-section-wrap {

        padding-left: 16px !important;

        padding-right: 16px !important;

        box-sizing: border-box !important;

    }



    /* 2. Fluid Typography */

    body {

        font-size: 15.5px !important;

        line-height: 1.55 !important;

    }



    h1, .hero-headline, .fp-headline {

        font-size: clamp(28px, 8vw, 36px) !important;

        line-height: 1.2 !important;

    }



    h2, .section-title, .tp-report-title, .portal-hub-title {

        font-size: clamp(22px, 6vw, 28px) !important;

        line-height: 1.25 !important;

    }



    /* 3. Header & Navigation */

    .site-header {
        position: sticky !important;
        top: 0 !important;
        z-index: 10000 !important;
    }



    .container.header-inner,

    .site-header .header-inner,

    .header-inner {

        min-height: 56px !important;

        padding: 6px 16px !important;

        display: flex !important;

        align-items: center !important;

        justify-content: space-between !important;

        gap: 8px !important;

    }



    /* 3-Dots / Menu Toggle Button: strictly >= 44x44px */

    .mobile-menu-toggle {

        display: inline-flex !important;

        align-items: center !important;

        justify-content: center !important;

        flex-shrink: 0 !important;

        width: 44px !important;

        height: 44px !important;

        min-width: 44px !important;

        min-height: 44px !important;

        margin-left: auto !important;

        padding: 8px !important;

        border-radius: 10px !important;

        box-sizing: border-box !important;

        cursor: pointer !important;

    }



    /* Mobile Drawer Navigation Items: strictly >= 44px */

    .mobile-nav-drawer {

        width: 100% !important;

        max-width: 100% !important;

        box-sizing: border-box !important;

        padding: 16px !important;

    }



    .mobile-nav-list > li > .nav-link {

        min-height: 44px !important;

        display: flex !important;

        align-items: center !important;

        padding: 12px 14px !important;

        font-size: 1rem !important;

    }



    .mobile-nav-heading {

        min-height: 44px !important;

        display: flex !important;

        align-items: center !important;

        padding: 12px 14px !important;

        font-size: 1rem !important;

    }



    .mobile-sub-list li a {

        min-height: 44px !important;

        display: flex !important;

        align-items: center !important;

        padding: 10px 14px !important;

        font-size: 0.95rem !important;

    }



    /* Top bar buttons (Language & Tools): strictly >= 44x44px */

    .top-bar-utility-inner {

        flex-direction: column !important;

        align-items: stretch !important;

        gap: 10px !important;

        padding: 6px 16px !important;

    }



    .accessibility-tools {

        display: flex !important;

        align-items: center !important;

        flex-wrap: wrap !important;

        gap: 8px !important;

        justify-content: center !important;

    }



    .tool-btn {

        min-width: 44px !important;

        min-height: 44px !important;

        display: inline-flex !important;

        align-items: center !important;

        justify-content: center !important;

        padding: 6px 10px !important;

        font-size: 0.9rem !important;

    }



    .theme-toggle-btn {

        min-height: 44px !important;

        padding: 6px 14px !important;

    }



    .lang-selector-group {

        display: flex !important;

        justify-content: center !important;

        width: 100% !important;

        margin: 0 !important;

    }



    .lang-selector {

        display: flex !important;

        align-items: center !important;

        gap: 6px !important;

        padding: 4px !important;

    }



    .lang-btn {

        min-height: 44px !important;

        min-width: 44px !important;

        display: inline-flex !important;

        align-items: center !important;

        justify-content: center !important;

        padding: 8px 16px !important;

        font-size: 0.92rem !important;

        font-weight: 700 !important;

    }



    /* 4. Hero Slider on Phone & Tablet */

    .tp-hero-slider-wrap {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .tp-hero-slide {
        height: auto !important;
        min-height: 0 !important;
        box-sizing: border-box !important;
    }



    /* Slide 1 - Buttons stack vertically, people photo scaled with visible faces */

    #heroSlide1 .fp-hero-section {
        min-height: 0 !important;
        height: auto !important;
        padding: 14px 0 0 0 !important;
        display: flex !important;
        align-items: flex-start !important;
        box-sizing: border-box !important;
    }



/* Replaced broken vertical column buttons with 2+1 grid layout */



    #heroSlide1 .fp-hero-people {
        order: 2 !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-end !important;
        justify-content: center !important;
        gap: 8px !important;
        width: 100% !important;
        max-width: 380px !important;
        height: auto !important;
        min-height: 180px !important;
        max-height: 250px !important;
        margin: 10px auto 0 auto !important;
        padding: 0 !important;
    }
    #heroSlide1 .fp-family-fig {
        max-height: 220px !important;
        width: auto !important;
        object-fit: contain !important;
        object-position: top center !important;
        display: block !important;
        visibility: visible !important;
    }
    #heroSlide1 .fp-cp-fig {
        max-height: 240px !important;
        width: auto !important;
        object-fit: contain !important;
        object-position: top center !important;
        display: block !important;
        visibility: visible !important;
    }



    /* Slide 2 - CP Message Section */

    .tp-cp-message-section {

        min-height: 0 !important;
        height: auto !important;

        padding: 24px 38px 36px 38px !important;

        display: flex !important;

        align-items: flex-start !important;

        box-sizing: border-box !important;

    }



    .tp-cp-portrait-card {

        max-width: 160px !important;

        aspect-ratio: 3 / 4 !important;

        border-radius: 12px !important;

        margin: 0 auto !important;

    }



    .tp-cp-portrait-card img {

        object-fit: cover !important;

        object-position: top center !important;

    }



    .tp-cp-seemore-btn {

        min-height: 44px !important;

        width: 100% !important;

        max-width: 280px !important;

        display: inline-flex !important;

        align-items: center !important;

        justify-content: center !important;

        margin: 8px auto 0 auto !important;

        padding: 10px 18px !important;

    }



    /* Slider Arrows: 36x36px circle */

    .tp-slider-nav {

        width: 36px !important;

        height: 36px !important;

        min-width: 36px !important;

        min-height: 36px !important;

        background: rgba(0, 0, 0, 0.45) !important;

        backdrop-filter: blur(4px) !important;

        -webkit-backdrop-filter: blur(4px) !important;

    }



    /* 5. Police Connect / Learn More / Whats New */

    .tp-portal-grid {

        grid-template-columns: 1fr !important;

        gap: 20px !important;

    }



    .tp-portal-card-whatsnew {

        grid-column: span 1 !important;

        max-width: 100% !important;

        margin: 0 !important;

    }



    .tp-portal-item {

        min-height: 44px !important;

        padding: 8px 10px !important;

        font-size: 15px !important;

    }



    .tp-portal-icon-box {

        width: 32px !important;

        height: 32px !important;

        min-width: 32px !important;

    }



    /* 6. Form Inputs & Selects: iOS auto-zoom defense */

    input[type="text"],

    input[type="email"],

    input[type="tel"],

    input[type="number"],

    input[type="search"],

    input[type="password"],

    select,

    textarea,

    .form-control {

        font-size: 16px !important;

        min-height: 44px !important;

        width: 100% !important;

        max-width: 100% !important;

        box-sizing: border-box !important;

    }



    button[type="submit"],

    .btn {

        min-height: 44px !important;

    }



    /* 7. Station Locator & Search Form */

    form[action*="stations.php"] {

        flex-direction: column !important;

        align-items: stretch !important;

        gap: 12px !important;

    }



    form[action*="stations.php"] input,

    form[action*="stations.php"] select,

    form[action*="stations.php"] button {

        width: 100% !important;

        min-width: 0 !important;

        min-height: 44px !important;

        box-sizing: border-box !important;

    }



    .station-map-container {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        margin: 0 0 16px 0 !important;
        height: 300px !important;
        min-height: 280px !important;
        max-height: 320px !important;
        width: 100% !important;
        max-width: 100% !important;
        touch-action: pan-x pan-y pinch-zoom !important;
    }



    /* 8. Nearby Police Station Modal */

    .nps-modal-card {

        width: min(92vw, 420px) !important;

        max-width: calc(100vw - 24px) !important;

        max-height: 90dvh !important;

        border-radius: 18px !important;

        margin: auto !important;

    }



    .nps-modal-header {

        padding: 12px 16px !important;

        min-height: 56px !important;

    }



    .nps-modal-close {

        width: 44px !important;

        height: 44px !important;

        min-width: 44px !important;

        min-height: 44px !important;

        font-size: 26px !important;

        display: flex !important;

        align-items: center !important;

        justify-content: center !important;

    }



    .nps-modal-body {

        max-height: calc(90dvh - 65px) !important;

        overflow-y: auto !important;

        padding: 14px 16px 20px !important;

    }



    .nps-btn-stack {

        grid-template-columns: 1fr 1fr !important;

        gap: 10px !important;

    }



    .nps-btn {

        min-height: 44px !important;

        font-size: 0.9rem !important;

    }



    /* Cleaned: Floating dock & chatbot styles consolidated into master responsive block below */

    #closeChatbotBtn {

        width: 44px !important;

        height: 44px !important;

        min-width: 44px !important;

        min-height: 44px !important;

        display: flex !important;

        align-items: center !important;

        justify-content: center !important;

    }



    /* 10. Footer Section */

    .footer-grid {

        grid-template-columns: 1fr !important;

        gap: 28px !important;

    }



    .footer-social-cluster a,

    .footer-social-link {

        width: 44px !important;

        height: 44px !important;

        min-width: 44px !important;

        min-height: 44px !important;

        display: inline-flex !important;

        align-items: center !important;

        justify-content: center !important;

    }



    .footer-bottom-info {

        width: 100% !important;

        max-width: 100% !important;

        min-width: 0 !important;

        text-align: center !important;

        align-items: center !important;

    }



    .footer-copyright-text {

        width: 100% !important;

        max-width: 100% !important;

        overflow-wrap: anywhere !important;

        word-break: break-word !important;

        text-align: center !important;

        font-size: 0.82rem !important;

        line-height: 1.55 !important;

    }



    .footer-dev-credit {

        width: 100% !important;

        max-width: 100% !important;

        font-size: clamp(0.72rem, 2.85vw, 0.82rem) !important;

        white-space: normal !important;

        flex-wrap: wrap !important;

        text-align: center !important;

        justify-content: center !important;

        gap: 4px !important;

        padding: 6px 12px !important;

        border-radius: 12px !important;

        line-height: 1.5 !important;

        box-sizing: border-box !important;

    }



    .footer-disclaimer-text {

        width: 100% !important;

        max-width: 100% !important;

        overflow-wrap: anywhere !important;

        word-break: break-word !important;

        text-align: center !important;

        font-size: 0.78rem !important;

        line-height: 1.5 !important;

    }



    /* 11. Inner Pages & Grids */

    .gallery-grid {

        grid-template-columns: repeat(2, 1fr) !important;

        gap: 12px !important;

    }



    .leadership-grid {

        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

        gap: 12px !important;

    }



    .leadership-grid .leader-card {

        padding: 16px 12px !important;

        min-width: 0 !important;

    }



    .leadership-grid .leader-avatar-wrap {

        max-width: 80px !important;

        max-height: 80px !important;

    }

}



/* ==========================================================================

   BREAKPOINT: MOBILE PHONES (<= 640px)

   ========================================================================== */

@media (max-width: 640px) {

    /* Report Cards: strictly 2 per row with min 140px height */

    .tp-report-section-wrap {

        padding: 24px 14px !important;

    }



    .tp-report-grid {

        grid-template-columns: repeat(2, 1fr) !important;

        gap: 12px !important;

        width: 100% !important;

    }



    .tp-report-card {

        height: 145px !important;

        min-height: 140px !important;

        max-width: 100% !important;

        border-radius: 14px !important;

    }



    .tp-rep-card-title-lg,

    .tp-rep-card-title-md {

        font-size: 15.5px !important;

        line-height: 1.25 !important;

        bottom: 10px !important;

        right: 10px !important;

        left: 10px !important;

        overflow-wrap: anywhere !important;

        word-break: break-word !important;

    }



    /* Police Command Grid */

    .police-command-grid {

        grid-template-columns: 1fr !important;

        gap: 16px !important;

    }

}



/* ==========================================================================

   BREAKPOINT: NARROW PHONES (<= 360px)

   ========================================================================== */

@media (max-width: 360px) {

    .gallery-grid {

        grid-template-columns: 1fr !important;

    }



    .leadership-grid {

        grid-template-columns: 1fr !important;

    }

}



/* ==========================================================================

   BREAKPOINT: ULTRA COMPACT (<= 320px)

   ========================================================================== */

@media (max-width: 320px) {

    .container,

    .site-header .container,

    .site-main-header .container,

    .top-emergency-bar .container,

    .site-footer .container,

    .main-content > .container,

    .tp-portal-section .container,

    .tp-report-section-wrap {

        padding-left: 12px !important;

        padding-right: 12px !important;

        box-sizing: border-box !important;

    }



    .tp-report-section-wrap {

        padding: 18px 8px !important;

    }



    .tp-report-grid {

        gap: 8px !important;

    }



    .tp-report-card {

        height: 135px !important;

        min-height: 130px !important;

    }



    .tp-rep-card-title-lg,

    .tp-rep-card-title-md {

        font-size: 14px !important;

        bottom: 8px !important;

        right: 8px !important;

        left: 8px !important;

    }

}


/* ==========================================================================
   USER REQUEST: COMPLETELY REMOVE PORTAL MARQUEE ARROW BUTTONS (LEFT & RIGHT)
   ========================================================================== */
.portal-arrow-btn,
.portal-arrow-left,
.portal-arrow-right {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
}



/* ==========================================================================
   STATE LEADERSHIP & OFFICERS: RESPONSIVE BEHAVIOR (DESKTOP vs PHONE)
   - Desktop & Tablet (> 600px):
     * CM Card centered on top
     * All other leaders in single horizontal row with auto-scroll and arrows
   - Phone (<= 600px):
     * CM Card centered alone on top (full width with 16px margin)
     * All other leaders in clean 2-per-row GRID (display: grid; 2 columns)
     * No sideways scroll, no carousel, no auto-scroll, no arrows
   ========================================================================== */

/* DESKTOP & TABLET (> 600px) */
@media (min-width: 601px) {
    .tp-leaders-carousel-wrap {
        position: relative !important;
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        box-sizing: border-box !important;
        padding: 0 !important;
    }

    .leaders-row,
    .tp-leaders-track {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 16px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 10px 4px 18px !important;
        scrollbar-width: none !important;
        touch-action: pan-x pan-y !important;
        scroll-behavior: smooth !important;
        align-items: stretch !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .tp-leaders-nav {
        display: none !important;
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 10 !important;
        width: 38px !important;
        height: 38px !important;
        border-radius: 50% !important;
        background: #ffffff !important;
        border: 1.5px solid #93c5fd !important;
        color: #1e3a8a !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        box-shadow: 0 4px 12px rgba(30, 58, 138, 0.15) !important;
        transition: all 0.2s ease !important;
    }

    .tp-leaders-nav:hover {
        background: #1e3a8a !important;
        color: #ffffff !important;
        border-color: #1e3a8a !important;
        transform: translateY(-50%) scale(1.08) !important;
        box-shadow: 0 6px 16px rgba(30, 58, 138, 0.25) !important;
    }

    .tp-leaders-prev {
        left: 0 !important;
    }

    .tp-leaders-next {
        right: 0 !important;
    }
}

/* PHONE SCREENS (<= 600px): EXACT 2-PER-ROW GRID, NO SIDEWAYS SCROLL */
@media (max-width: 600px) {
    /* 1. CM Card stays alone on top, centered, full container width (16px margins) */
    .tp-cm-spotlight-wrap {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 0 auto 16px auto !important;
        padding: 0 16px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .dignitary-cm-card {
        width: 100% !important;
        max-width: 320px !important;
        margin: 0 auto !important;
        padding: 16px 14px !important;
        border-radius: 14px !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .dignitary-cm-card .dignitary-avatar-wrap {
        width: 82px !important;
        height: 82px !important;
        margin: 0 auto 10px auto !important;
    }

    .dignitary-cm-card .dignitary-name {
        font-size: 15px !important;
        font-weight: 700 !important;
        line-height: 1.3 !important;
        margin-bottom: 6px !important;
    }

    .dignitary-cm-card .dignitary-role {
        font-size: 12.5px !important;
        font-style: italic !important;
        line-height: 1.35 !important;
        margin: 0 !important;
    }

    /* 2. Container & Track: remove sideways behavior, switch to 2-per-row GRID */
    .tp-leaders-carousel-wrap {
        padding: 0 !important;
        width: 100% !important;
        display: block !important;
        overflow: visible !important;
    }

    .tp-leaders-nav,
    .tp-leaders-prev,
    .tp-leaders-next {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    .leaders-row,
    .tp-leaders-track,
    .leadership-grid,
    .police-command-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
        align-items: stretch !important;
        width: 100% !important;
        overflow: visible !important;
        overflow-x: visible !important;
        overflow-y: visible !important;
        scroll-snap-type: none !important;
        padding: 4px 0 16px 0 !important;
        margin: 0 !important;
        touch-action: auto !important;
        box-sizing: border-box !important;
    }

    .leaders-row::-webkit-scrollbar,
    .tp-leaders-track::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }

    /* 3. Cards in Grid: width 100% of cell, equal heights, fits content */
    .leaders-row .leader-card,
    .tp-leaders-track .tp-leader-card,
    .leaders-row .dignitary-card,
    .leadership-grid .leader-card,
    .leadership-grid .officer-item-row,
    .police-command-grid .leader-card,
    .officer-item-row.leader-card,
    .officer-item-row.dignitary-card {
        grid-column: span 1 !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        flex: none !important;
        scroll-snap-align: none !important;
        padding: 12px !important;
        border-radius: 14px !important;
        height: 100% !important;
        min-height: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        text-align: center !important;
        box-sizing: border-box !important;
        background: #eff6ff !important;
        border: 1.5px solid #bfdbfe !important;
        box-shadow: 0 2px 8px rgba(30, 58, 138, 0.08) !important;
        margin: 0 !important;
        transition: none !important;
    }

    /* Round photo 72px to 84px */
    .leader-card .dignitary-avatar-wrap,
    .tp-leader-card .dignitary-avatar-wrap,
    .leaders-row .dignitary-avatar-wrap,
    .leadership-grid .leader-avatar-wrap,
    .police-command-grid .leader-avatar-wrap,
    .officer-item-row .dignitary-avatar-wrap,
    .officer-item-row .leader-avatar-wrap {
        width: 76px !important;
        height: 76px !important;
        min-width: 76px !important;
        min-height: 76px !important;
        max-width: 76px !important;
        max-height: 76px !important;
        border-radius: 50% !important;
        overflow: hidden !important;
        margin: 0 auto 8px auto !important;
        box-sizing: border-box !important;
        border: 2.5px solid #ea580c !important;
    }

    .leader-card .dignitary-avatar,
    .tp-leader-card .dignitary-avatar,
    .leaders-row .dignitary-avatar,
    .leadership-grid .leader-avatar-img,
    .police-command-grid .leader-avatar-img,
    .officer-item-row .dignitary-avatar,
    .officer-item-row .leader-avatar-img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 50% !important;
        display: block !important;
    }

    /* Name: bold, 14px, line-height 1.3, wraps up to 3 lines */
    .leader-card .dignitary-name,
    .tp-leader-card .dignitary-name,
    .leaders-row .dignitary-name,
    .leadership-grid .leader-name,
    .police-command-grid .leader-name,
    .officer-item-row .dignitary-name,
    .officer-item-row .leader-name {
        font-size: 14px !important;
        font-weight: 700 !important;
        line-height: 1.3 !important;
        text-align: center !important;
        color: #1e3a8a !important;
        margin: 0 0 6px 0 !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
        display: block !important;
        -webkit-line-clamp: unset !important;
        line-clamp: unset !important;
        overflow: visible !important;
    }

    /* Designation: italic, 12px to 12.5px, line-height 1.35, wraps fully */
    .leader-card .dignitary-role,
    .tp-leader-card .dignitary-role,
    .leaders-row .dignitary-role,
    .leadership-grid .leader-desig,
    .police-command-grid .leader-desig,
    .officer-item-row .dignitary-role,
    .officer-item-row .leader-desig {
        font-size: 12px !important;
        font-style: italic !important;
        line-height: 1.35 !important;
        text-align: center !important;
        color: #475569 !important;
        margin: 0 !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        -webkit-line-clamp: unset !important;
        display: block !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
    }

    .leader-badge {
        font-size: 0.68rem !important;
        padding: 2px 6px !important;
        margin-bottom: 4px !important;
    }

    .leader-contact-box {
        margin-top: 8px !important;
        padding-top: 6px !important;
        font-size: 0.75rem !important;
    }
}

/* COMPACT PHONES (<= 360px): gap 10px, photo 68px, name 13.5px, designation 12px */
@media (max-width: 360px) {
    .leaders-row,
    .tp-leaders-track,
    .leadership-grid,
    .police-command-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .leader-card .dignitary-avatar-wrap,
    .tp-leader-card .dignitary-avatar-wrap,
    .leaders-row .dignitary-avatar-wrap,
    .leadership-grid .leader-avatar-wrap,
    .police-command-grid .leader-avatar-wrap,
    .officer-item-row .dignitary-avatar-wrap,
    .officer-item-row .leader-avatar-wrap,
    .dignitary-cm-card .dignitary-avatar-wrap {
        width: 68px !important;
        height: 68px !important;
        min-width: 68px !important;
        min-height: 68px !important;
        max-width: 68px !important;
        max-height: 68px !important;
    }

    .leader-card .dignitary-name,
    .tp-leader-card .dignitary-name,
    .leaders-row .dignitary-name,
    .leadership-grid .leader-name,
    .police-command-grid .leader-name,
    .officer-item-row .dignitary-name,
    .officer-item-row .leader-name {
        font-size: 13.5px !important;
    }

    .leader-card .dignitary-role,
    .tp-leader-card .dignitary-role,
    .leaders-row .dignitary-role,
    .leadership-grid .leader-desig,
    .police-command-grid .leader-desig,
    .officer-item-row .dignitary-role,
    .officer-item-row .leader-desig {
        font-size: 12px !important;
    }
}

/* ULTRA COMPACT PHONES (<= 320px): gap 8px, photo 64px, name 12.5px, designation 12px */
@media (max-width: 320px) {
    .tp-cm-spotlight-wrap {
        padding: 0 12px !important;
    }

    .leaders-row,
    .tp-leaders-track,
    .leadership-grid,
    .police-command-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    .leader-card .dignitary-avatar-wrap,
    .tp-leader-card .dignitary-avatar-wrap,
    .leaders-row .dignitary-avatar-wrap,
    .leadership-grid .leader-avatar-wrap,
    .police-command-grid .leader-avatar-wrap,
    .officer-item-row .dignitary-avatar-wrap,
    .officer-item-row .leader-avatar-wrap,
    .dignitary-cm-card .dignitary-avatar-wrap {
        width: 64px !important;
        height: 64px !important;
        min-width: 64px !important;
        min-height: 64px !important;
        max-width: 64px !important;
        max-height: 64px !important;
    }

    .leader-card .dignitary-name,
    .tp-leader-card .dignitary-name,
    .leaders-row .dignitary-name,
    .leadership-grid .leader-name,
    .police-command-grid .leader-name,
    .officer-item-row .dignitary-name,
    .officer-item-row .leader-name {
        font-size: 12.5px !important;
    }

    .leader-card .dignitary-role,
    .tp-leader-card .dignitary-role,
    .leaders-row .dignitary-role,
    .leadership-grid .leader-desig,
    .police-command-grid .leader-desig,
    .officer-item-row .dignitary-role,
    .officer-item-row .leader-desig {
        font-size: 12px !important;
    }
}

/* High Contrast Mode support */
[data-contrast="high"] .leaders-row .leader-card,
[data-contrast="high"] .tp-leaders-track .tp-leader-card,
[data-contrast="high"] .dignitary-cm-card,
[data-contrast="high"] .leadership-grid .leader-card {
    background: #000000 !important;
    border: 2px solid #ffff00 !important;
    color: #ffffff !important;
}

[data-contrast="high"] .leader-card .dignitary-name,
[data-contrast="high"] .dignitary-cm-card .dignitary-name,
[data-contrast="high"] .leadership-grid .leader-name {
    color: #ffff00 !important;
}

[data-contrast="high"] .leader-card .dignitary-role,
[data-contrast="high"] .dignitary-cm-card .dignitary-role,
[data-contrast="high"] .leadership-grid .leader-desig {
    color: #ffffff !important;
}




/* ==========================================================================
   USER REQUEST: ENLARGE FLOATING BUTTONS (NEARBY, SHARE, CHATBOT)
   - Matches the prominent 58px-60px circular FAB size shown in Facebook reference
   - Completely removes scale(0.82) / scale(0.9) downscaling
   - Proportionally scales SVG icons, shadows, hover animations, and pop-up menu
   ========================================================================== */

/* Floating Quick Dock Container */
.floating-quick-dock,
#floatingQuickDock {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
    position: relative !important;
    z-index: 1050 !important;
    transform: none !important;
    transform-origin: bottom right !important;
}

.chatbot-bubble {
    z-index: 1050 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
}

/* Base styling for all 3 circular buttons - large prominent Facebook FAB size (60px) */
.dock-nearby-btn,
.social-fab-trigger-btn,
.chatbot-btn {
    width: 60px !important;
    height: 60px !important;
    min-width: 60px !important;
    min-height: 60px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    position: relative !important;
    flex-shrink: 0 !important;
    outline: none !important;
    box-sizing: border-box !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, background-color 0.2s ease !important;
}

/* 1. Top Button: Nearby Police Station (White Circle with Target Crosshair) */
.dock-nearby-btn {
    background: #ffffff !important;
    color: #1e3a8a !important;
    border: 2px solid #cbd5e1 !important;
    box-shadow: 0 4px 16px rgba(11, 37, 69, 0.18), 0 2px 6px rgba(0, 0, 0, 0.08) !important;
}

.dock-nearby-btn:hover {
    transform: scale(1.08) translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(11, 37, 69, 0.28), 0 3px 8px rgba(0, 0, 0, 0.12) !important;
    border-color: #93c5fd !important;
    color: #1d4ed8 !important;
}

.dock-nearby-btn:active {
    transform: scale(0.96) !important;
}

.dock-nearby-btn .dock-nearby-icon {
    width: 27px !important;
    height: 27px !important;
    stroke: currentColor !important;
    stroke-width: 2.2 !important;
    display: block !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.dock-nearby-btn:hover .dock-nearby-icon {
    transform: rotate(15deg) !important;
}

.dock-nearby-label {
    position: absolute !important;
    right: 74px !important;
    background: #0b2545 !important;
    color: #ffffff !important;
    font-size: 0.84rem !important;
    font-weight: 700 !important;
    padding: 6px 14px !important;
    border-radius: 8px !important;
    white-space: nowrap !important;
    pointer-events: none !important;
    opacity: 0 !important;
    transform: translateX(10px) !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22) !important;
}

.dock-nearby-btn:hover .dock-nearby-label {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

/* 2. Middle Button: Social Media Speed-Dial (Orange Circle with Share Icon) */
.social-fab-container {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.social-fab-trigger-btn {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%) !important;
    color: #ffffff !important;
    border: 2.5px solid #ffffff !important;
    box-shadow: 0 4px 18px rgba(234, 88, 12, 0.45) !important;
}

.social-fab-trigger-btn:hover {
    transform: scale(1.08) translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(234, 88, 12, 0.55) !important;
}

.social-fab-trigger-btn:active {
    transform: scale(0.96) !important;
}

.social-fab-trigger-btn .fab-icon-share {
    width: 27px !important;
    height: 27px !important;
    display: block !important;
    transition: opacity 0.2s ease, transform 0.2s ease !important;
}

.social-fab-trigger-btn .fab-icon-close {
    width: 25px !important;
    height: 25px !important;
    display: none !important;
    transition: opacity 0.2s ease, transform 0.2s ease !important;
}

.social-fab-container.is-open .social-fab-trigger-btn {
    background: #c2410c !important;
    transform: rotate(90deg) !important;
    box-shadow: 0 6px 20px rgba(194, 65, 12, 0.5) !important;
}

.social-fab-container.is-open .social-fab-trigger-btn .fab-icon-share {
    display: none !important;
}

.social-fab-container.is-open .social-fab-trigger-btn .fab-icon-close {
    display: block !important;
}

/* Pop-up speed-dial social icons */
.social-fab-menu {
    position: absolute !important;
    bottom: 74px !important;
    right: 6px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
    pointer-events: none !important;
    z-index: 1060 !important;
}

.social-fab-container.is-open .social-fab-menu {
    pointer-events: auto !important;
}

.social-fab-item {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    border-radius: 50% !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.social-fab-item .dock-svg {
    width: 22px !important;
    height: 22px !important;
}

/* 3. Bottom Button: Police Sahayak Chatbot (Dark Navy Circle with Message Icon) */
.chatbot-btn {
    background: #081a30 !important;
    color: #ffffff !important;
    border: 2.5px solid #ffffff !important;
    box-shadow: 0 4px 18px rgba(8, 26, 48, 0.45) !important;
}

.chatbot-btn:hover {
    transform: scale(1.08) translateY(-2px) !important;
    background: #0f2744 !important;
    box-shadow: 0 8px 24px rgba(8, 26, 48, 0.58) !important;
}

.chatbot-btn:active {
    transform: scale(0.96) !important;
}

.chatbot-btn .msg-icon-chat {
    width: 28px !important;
    height: 28px !important;
    display: block !important;
}

.chatbot-btn .msg-icon-close {
    width: 25px !important;
    height: 25px !important;
    display: none !important;
}

.chatbot-btn.is-active .msg-icon-chat {
    display: none !important;
}

.chatbot-btn.is-active .msg-icon-close {
    display: block !important;
}

.chatbot-online-pulse {
    width: 13px !important;
    height: 13px !important;
    background: #22c55e !important;
    border: 2.5px solid #081a30 !important;
    border-radius: 50% !important;
    position: absolute !important;
    top: 2px !important;
    right: 2px !important;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.4) !important;
}

/* Chatbot Window placement when open */
.chatbot-window {
    bottom: calc(90px + env(safe-area-inset-bottom, 0px)) !important;
}

/* ==========================================================================
   MASTER MOBILE FLOATING DOCK & CHATBOT SPECIFICATION
   - Exact match to desktop look: 3 circular buttons in vertical column
   - 1. Top: Nearby Location (white circle, blue target icon)
   - 2. Middle: Share (orange gradient, white share icon, subtle glow)
   - 3. Bottom: Chatbot (dark navy circle, white chat icon, green online pulse)
   - Dimensions: 58px x 58px (54px on <= 360px), 12px gap (10px on <= 360px)
   - Fixed: bottom calc(16px + env(safe-area-inset-bottom, 0px)), right calc(14px + env(safe-area-inset-right, 0px))
   - z-index: 1050 (above content), transform: none (no scaling)
   - Social menu opens upward/beside dock within screen bounds
   - Chatbot window opens fixed above dock: bottom calc(228px + env(...))
   ========================================================================== */
@media (max-width: 768px) {
    .chatbot-bubble,
    #policeChatbotContainer {
        position: fixed !important;
        bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
        right: calc(14px + env(safe-area-inset-right, 0px)) !important;
        left: auto !important;
        top: auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
        justify-content: flex-end !important;
        z-index: 1050 !important;
        margin: 0 !important;
        padding: 0 !important;
        pointer-events: none !important;
        width: auto !important;
        height: auto !important;
        transform: none !important;
    }

    .chatbot-bubble > * {
        pointer-events: auto !important;
    }

    .floating-quick-dock,
    #floatingQuickDock {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 12px !important;
        position: relative !important;
        z-index: 1050 !important;
        transform: none !important;
        margin: 0 !important;
        padding: 0 !important;
        width: auto !important;
        height: auto !important;
        pointer-events: auto !important;
    }

    /* All 3 Buttons Base: Perfectly Circular 58px x 58px */
    .dock-nearby-btn,
    .social-fab-trigger-btn,
    .chatbot-btn {
        width: 58px !important;
        height: 58px !important;
        min-width: 58px !important;
        min-height: 58px !important;
        max-width: 58px !important;
        max-height: 58px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
        flex-shrink: 0 !important;
        outline: none !important;
        box-sizing: border-box !important;
        transform: none !important;
        cursor: pointer !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        margin: 0 !important;
        -webkit-tap-highlight-color: transparent !important;
        transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
    }

    .dock-nearby-btn:active,
    .social-fab-trigger-btn:active,
    .chatbot-btn:active {
        transform: scale(0.96) !important;
    }

    /* 1. Top: Nearby Police Station (White Circle + Blue Target Icon) */
    .dock-nearby-btn {
        background: #ffffff !important;
        color: #1e3a8a !important;
        border: 2px solid #cbd5e1 !important;
        box-shadow: 0 4px 16px rgba(11, 37, 69, 0.18), 0 2px 6px rgba(0, 0, 0, 0.08) !important;
        padding: 0 !important;
    }

    .dock-nearby-btn .dock-nearby-icon {
        width: 27px !important;
        height: 27px !important;
        stroke: currentColor !important;
        stroke-width: 2.2 !important;
        display: block !important;
    }

    .dock-nearby-btn .dock-nearby-label {
        display: none !important;
    }

    /* 2. Middle: Social Media Speed-Dial (Orange Gradient + Glow) */
    .social-fab-container {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 58px !important;
        height: 58px !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: none !important;
    }

    .social-fab-trigger-btn {
        background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%) !important;
        color: #ffffff !important;
        border: 2.5px solid #ffffff !important;
        box-shadow: 0 4px 18px rgba(234, 88, 12, 0.45), 0 0 12px rgba(234, 88, 12, 0.35) !important;
        padding: 0 !important;
    }

    .social-fab-trigger-btn .fab-icon-share {
        width: 26px !important;
        height: 26px !important;
        display: block !important;
    }

    .social-fab-trigger-btn .fab-icon-close {
        width: 24px !important;
        height: 24px !important;
        display: none !important;
    }

    .social-fab-container.is-open .social-fab-trigger-btn {
        background: #c2410c !important;
        transform: rotate(90deg) !important;
        box-shadow: 0 6px 20px rgba(194, 65, 12, 0.55) !important;
    }

    .social-fab-container.is-open .social-fab-trigger-btn .fab-icon-share {
        display: none !important;
    }

    .social-fab-container.is-open .social-fab-trigger-btn .fab-icon-close {
        display: block !important;
    }

    /* Social Speed-Dial Pop-up Menu */
    .social-fab-menu {
        position: absolute !important;
        bottom: 72px !important;
        right: 5px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px !important;
        pointer-events: none !important;
        z-index: 1060 !important;
    }

    .social-fab-container.is-open .social-fab-menu {
        pointer-events: auto !important;
    }

    .social-fab-item {
        width: 46px !important;
        height: 46px !important;
        min-width: 46px !important;
        min-height: 46px !important;
        border-radius: 50% !important;
        border: 2px solid #ffffff !important;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .social-fab-item .dock-svg {
        width: 20px !important;
        height: 20px !important;
    }

    .social-fab-label {
        right: 54px !important;
        font-size: 0.75rem !important;
        padding: 4px 9px !important;
        border-radius: 6px !important;
        background: rgba(15, 23, 42, 0.96) !important;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35) !important;
        border: 1px solid rgba(255, 255, 255, 0.18) !important;
        white-space: nowrap !important;
        max-width: 130px !important;
    }

    /* 3. Bottom: Police Connect Chatbot (Dark Navy + Green Online Dot) */
    .chatbot-btn {
        background: #081a30 !important;
        color: #ffffff !important;
        border: 2.5px solid #ffffff !important;
        box-shadow: 0 4px 18px rgba(8, 26, 48, 0.45) !important;
        padding: 0 !important;
    }

    .chatbot-btn .msg-icon-chat {
        width: 27px !important;
        height: 27px !important;
        display: block !important;
    }

    .chatbot-btn .msg-icon-close {
        width: 24px !important;
        height: 24px !important;
        display: none !important;
    }

    .chatbot-btn.is-active .msg-icon-chat {
        display: none !important;
    }

    .chatbot-btn.is-active .msg-icon-close {
        display: block !important;
    }

    .chatbot-online-pulse {
        width: 13px !important;
        height: 13px !important;
        background: #22c55e !important;
        border: 2.5px solid #081a30 !important;
        border-radius: 50% !important;
        position: absolute !important;
        top: 2px !important;
        right: 2px !important;
        box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.4) !important;
        display: block !important;
    }

    /* Chatbot Window: Opens Above the Floating Dock */
    .chatbot-window {
        position: fixed !important;
        bottom: calc(228px + env(safe-area-inset-bottom, 0px)) !important;
        right: calc(14px + env(safe-area-inset-right, 0px)) !important;
        left: auto !important;
        top: auto !important;
        width: min(390px, calc(100vw - 28px)) !important;
        max-width: calc(100vw - 28px) !important;
        max-height: calc(100dvh - 248px) !important;
        border-radius: 18px !important;
        box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35) !important;
        z-index: 1060 !important;
        margin: 0 !important;
        pointer-events: auto !important;
    }

    /* Prevent buttons from hiding or scaling when chatbot opens */
    .chatbot-window.open + .floating-quick-dock .social-fab-container,
    .chatbot-window.open + .floating-quick-dock .dock-nearby-btn {
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: none !important;
        display: flex !important;
        visibility: visible !important;
    }

    /* Station locator spacing clearance */
    .section-quick-station {
        padding-bottom: 24px !important;
    }
    .section-quick-station .hero-card {
        position: relative !important;
        z-index: 10 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* Small Phones (<= 360px) Adjustments */
@media (max-width: 360px) {
    .chatbot-bubble,
    #policeChatbotContainer {
        right: 8px !important;
    }

    .floating-quick-dock,
    #floatingQuickDock {
        gap: 10px !important;
    }

    .dock-nearby-btn,
    .social-fab-trigger-btn,
    .chatbot-btn {
        width: 54px !important;
        height: 54px !important;
        min-width: 54px !important;
        min-height: 54px !important;
        max-width: 54px !important;
        max-height: 54px !important;
    }

    .social-fab-container {
        width: 54px !important;
        height: 54px !important;
    }

    .dock-nearby-btn .dock-nearby-icon {
        width: 25px !important;
        height: 25px !important;
    }

    .social-fab-trigger-btn .fab-icon-share {
        width: 24px !important;
        height: 24px !important;
    }

    .chatbot-btn .msg-icon-chat {
        width: 25px !important;
        height: 25px !important;
    }

    .social-fab-menu {
        bottom: 66px !important;
        right: 4px !important;
        gap: 8px !important;
    }

    .social-fab-item {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        min-height: 42px !important;
    }

    .social-fab-item .dock-svg {
        width: 18px !important;
        height: 18px !important;
    }

    .social-fab-label {
        right: 48px !important;
        font-size: 0.7rem !important;
    }

    .chatbot-window {
        bottom: calc(212px + env(safe-area-inset-bottom, 0px)) !important;
        right: 8px !important;
        left: 8px !important;
        width: auto !important;
        max-width: calc(100vw - 16px) !important;
        max-height: calc(100dvh - 230px) !important;
    }
}

/* ==========================================================================
   HERO MOBILE FIX: EXACT MATCH TO USER REFERENCE (IMAGE 1)
   - 1. Hide .fp-dept-badge on mobile (no "GOVERNMENT OF MAHARASHTRA" top pill)
   - 2. Start directly with Police Commissioner Dignitary Card (.fp-cm-card)
   - 3. Smart Policing tag, Safe Thane headline, and subhead
   - 4. Action buttons in clean (2 + 1) layout: Emergency 112 & 1930 Cyber Fraud
        side-by-side, Explore Portal spanning full width below them
   - 5. People photos (Family Left, Commissioner Right) uncropped at bottom
   - 6. Hide slider navigation arrows (< and >) on mobile
   ========================================================================== */
@media (max-width: 768px) {
    /* Hide slider navigation arrows on mobile */
    .tp-slider-nav,
    #tpHeroPrevBtn,
    #tpHeroNextBtn {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
        width: 0 !important;
        height: 0 !important;
        opacity: 0 !important;
    }

    /* Slider Container on Mobile - Active height, overflow hidden, zero empty dark-blue void */
    .tp-hero-slider-wrap {
        height: auto;
        min-height: 0 !important;
        max-height: none !important;
        overflow: hidden !important;
        width: 100% !important;
        box-sizing: border-box !important;
        transition: height 0.35s ease !important;
    }

    .tp-hero-track {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        width: 200% !important;
        height: auto !important;
        min-height: 0 !important;
        align-items: flex-start !important;
        box-sizing: border-box !important;
    }

    .tp-hero-slide {
        flex: 0 0 50% !important;
        width: 50% !important;
        max-width: 50% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        box-sizing: border-box !important;
        align-self: flex-start !important;
        overflow: hidden !important;
    }

    /* Slide 1 Hero Section - Compact flow, no gap */
    #heroSlide1 .fp-hero-section {
        padding: 14px 0 0 0 !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: stretch !important;
        box-sizing: border-box !important;
        overflow: visible !important;
        position: relative !important;
    }

    #heroSlide1 .fp-hero-container {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        gap: 10px !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: visible !important;
    }

    #heroSlide1 .fp-hero-content-col {
        order: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
        padding: 0 16px !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        z-index: 5 !important;
    }

    /* 1. Hide the Department Badge on mobile (matches Image 1) */
    #heroSlide1 .fp-dept-badge {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* 2. Police Commissioner Card at top */
    #heroSlide1 .fp-cm-card {
        display: inline-flex !important;
        align-items: center !important;
        gap: 10px !important;
        padding: 4px 14px 4px 5px !important;
        background: rgba(3, 14, 38, 0.75) !important;
        border: 1.5px solid rgba(234, 88, 12, 0.45) !important;
        border-radius: 9999px !important;
        margin: 0 0 4px 0 !important;
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
    }

    #heroSlide1 .fp-cm-avatar-box {
        width: 38px !important;
        height: 38px !important;
        position: relative !important;
    }

    #heroSlide1 .fp-cm-avatar {
        width: 38px !important;
        height: 38px !important;
        border-radius: 50% !important;
        border: 1.5px solid #ea580c !important;
    }

    #heroSlide1 .fp-cm-badge-tag {
        font-size: 8px !important;
        padding: 1px 3px !important;
        bottom: -2px !important;
        right: -2px !important;
    }

    #heroSlide1 .fp-cm-role {
        font-size: 0.65rem !important;
        font-weight: 800 !important;
        letter-spacing: 0.04em !important;
        color: #f59e0b !important;
        text-transform: uppercase !important;
        line-height: 1.2 !important;
    }

    #heroSlide1 .fp-cm-name {
        font-size: 0.84rem !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        line-height: 1.2 !important;
    }

    /* 3. Smart Tag */
    #heroSlide1 .fp-smart-tag {
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        padding: 4px 12px !important;
        background: rgba(4, 20, 50, 0.8) !important;
        border: 1px solid rgba(56, 189, 248, 0.35) !important;
        border-radius: 9999px !important;
        font-size: 0.72rem !important;
        font-weight: 800 !important;
        letter-spacing: 0.05em !important;
        color: #e2e8f0 !important;
        margin-bottom: 2px !important;
    }

    #heroSlide1 .fp-tagline-accent {
        color: #f59e0b !important;
    }

    /* 4. Headline - Crisp, readable, never hidden */
    #heroSlide1 .fp-headline {
        font-size: clamp(25px, 7vw, 32px) !important;
        font-weight: 900 !important;
        line-height: 1.15 !important;
        letter-spacing: -0.02em !important;
        color: #ffffff !important;
        margin: 2px 0 6px 0 !important;
        text-align: left !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* 5. Subhead - Crisp, clear, comfortable line height */
    #heroSlide1 .fp-subhead {
        font-size: 13.5px !important;
        line-height: 1.48 !important;
        color: #cbd5e1 !important;
        margin: 0 0 6px 0 !important;
        text-align: left !important;
        max-width: 100% !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* 6. Action Buttons Stack Full Width on Phones */
    #heroSlide1 .fp-actions-row {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
        margin: 8px 0 0 0 !important;
        box-sizing: border-box !important;
        height: auto !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    #heroSlide1 .fp-actions-row .fp-btn,
    #heroSlide1 .fp-actions-row .fp-btn-emergency,
    #heroSlide1 .fp-actions-row .fp-btn-cyber,
    #heroSlide1 .fp-actions-row .fp-btn-glass {
        width: 100% !important;
        height: auto !important;
        min-height: 48px !important;
        max-height: none !important;
        padding: 12px 18px !important;
        font-size: 0.95rem !important;
        font-weight: 700 !important;
        border-radius: 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        box-sizing: border-box !important;
        text-align: center !important;
    }

    /* 7. People Images (Family Left, Commissioner Right, uncropped, touching bottom) */
    #heroSlide1 .fp-hero-people {
        order: 2 !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-end !important;
        justify-content: space-between !important;
        width: 100% !important;
        height: 230px !important;
        min-height: 200px !important;
        max-height: 250px !important;
        margin: 6px auto 0 auto !important;
        padding: 0 4px !important;
        box-sizing: border-box !important;
        position: relative !important;
        z-index: 4 !important;
        border-radius: 0 !important;
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    #heroSlide1 .fp-family-fig,
    .fp-family-fig {
        display: block !important;
        visibility: visible !important;
        height: 220px !important;
        max-height: 220px !important;
        width: auto !important;
        max-width: 55% !important;
        object-fit: contain !important;
        object-position: bottom left !important;
        opacity: 1 !important;
    }

    #heroSlide1 .fp-cp-fig,
    .fp-cp-fig {
        display: block !important;
        visibility: visible !important;
        height: 185px !important;
        max-height: 185px !important;
        width: auto !important;
        max-width: 45% !important;
        object-fit: contain !important;
        object-position: bottom right !important;
        opacity: 1 !important;
        mask-image: none !important;
        -webkit-mask-image: none !important;
    }

    /* Next section starts directly below the hero image with zero empty gap */
    .section-quick-station {
        padding-top: 16px !important;
        padding-bottom: 24px !important;
        margin-top: 0 !important;
    }
}

@media (max-width: 480px) {
    #heroSlide1 .fp-headline {
        font-size: clamp(23px, 6.5vw, 28px) !important;
    }
    #heroSlide1 .fp-subhead {
        font-size: 13px !important;
    }
    #heroSlide1 .fp-hero-people {
        height: 210px !important;
        min-height: 180px !important;
        max-height: 230px !important;
    }
    #heroSlide1 .fp-family-fig,
    .fp-family-fig {
        display: block !important;
        visibility: visible !important;
        height: 200px !important;
        max-height: 200px !important;
    }
    #heroSlide1 .fp-cp-fig,
    .fp-cp-fig {
        display: block !important;
        visibility: visible !important;
        height: 170px !important;
        max-height: 170px !important;
    }
}

/* ==========================================================================
   REMOVE LEADERSHIP ARROWS (LEFT/RIGHT) ON ALL SCREEN SIZES
   ========================================================================== */
.tp-leaders-nav,
.tp-leaders-prev,
.tp-leaders-next,
#tpLeadersPrevBtn,
#tpLeadersNextBtn {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

.tp-leaders-carousel-wrap {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* ==========================================================================
   HEADLINES NEWS TICKER BAR (Official Thane Police Gov In Style - Seamless No Pause Button)
   ========================================================================== */
.tp-hl-ticker-bar {
    width: 100% !important;
    max-width: 100% !important;
    background: #ffffff;
    position: relative;
    z-index: 40;
    box-sizing: border-box !important;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
}

.tp-hl-ticker-top-strip {
    height: 3px !important;
    min-height: 3px !important;
    max-height: 3px !important;
    background: #030e26 !important;
    width: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
}

.tp-hl-ticker-inner {
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    position: relative !important;
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Orange Headline Label */
.tp-hl-ticker-label {
    position: relative !important;
    z-index: 10 !important;
    background: #F26B1D !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 16px !important;
    flex-shrink: 0 !important;
    box-shadow: 3px 0 6px rgba(0, 0, 0, 0.12) !important;
    border-radius: 2px 0 0 2px !important;
    box-sizing: border-box !important;
}

.tp-hl-ticker-label-text {
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    line-height: 1 !important;
    color: #ffffff !important;
    font-family: 'Barlow Condensed', 'Noto Sans Devanagari', 'Inter', sans-serif !important;
    text-transform: uppercase !important;
}

/* Ticker Viewport & Continuous Seamless Track (Full Width) */
.tp-hl-ticker-viewport {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    outline: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.tp-hl-ticker-track {
    display: inline-flex !important;
    flex-direction: row !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    align-items: center !important;
    will-change: transform;
    animation: tpHlTickerMarquee var(--ticker-duration, 55s) linear infinite !important;
    width: max-content !important;
    min-width: max-content !important;
    margin: 0 !important;
    padding: 0 !important;
}

.tp-hl-ticker-group {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Seamless Continuous Marquee (translates exactly 1 group width / -25% of 4-group track) */
/* Pure CSS Marquee: Exactly 2 identical copies, moving from translateX(0) to translateX(-50%) */
@keyframes tpHlTickerMarquee {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Pause on hover, focus, touch-hold, tab hidden */
.tp-hl-ticker-bar:hover .tp-hl-ticker-track,
.tp-hl-ticker-viewport:focus-within .tp-hl-ticker-track,
.tp-hl-ticker-bar.is-paused .tp-hl-ticker-track,
.tp-hl-ticker-bar.touch-pause .tp-hl-ticker-track {
    animation-play-state: paused !important;
}

/* Headline Items */
.tp-hl-ticker-item {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #0f172a !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    margin: 0 !important;
    padding: 0 !important;
}

.tp-hl-ticker-text {
    color: #0f172a !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
}

.tp-hl-ticker-link {
    color: #032d60;
    text-decoration: none;
    font-weight: 600 !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    transition: color 0.15s ease, text-decoration 0.15s ease;
}

.tp-hl-ticker-link:hover,
.tp-hl-ticker-link:focus-visible {
    color: #F26B1D !important;
    text-decoration: underline !important;
}

/* Diamond Bullet Separator */
.tp-hl-ticker-bullet {
    color: #1e3a8a !important;
    font-size: 11px !important;
    margin: 0 24px !important;
    display: inline-block !important;
    user-select: none !important;
    white-space: nowrap !important;
}

/* Prefers Reduced Motion: show headlines without animation in a single horizontally scrollable line */
@media (prefers-reduced-motion: reduce) {
    .tp-hl-ticker-viewport {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: thin !important;
    }
    .tp-hl-ticker-track {
        animation: none !important;
        transform: none !important;
    }
    .tp-hl-ticker-group.tp-hl-ticker-copy {
        display: none !important;
    }
    .tp-hl-ticker-group:not(:first-child) {
        display: none !important;
    }
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .tp-hl-ticker-inner {
        height: 38px !important;
        min-height: 38px !important;
        max-height: 38px !important;
    }
    .tp-hl-ticker-label {
        padding: 0 10px !important;
    }
    .tp-hl-ticker-label-text {
        font-size: 13px !important;
        letter-spacing: 0.2px !important;
    }
    .tp-hl-ticker-item {
        font-size: 13.5px !important;
    }
    .tp-hl-ticker-bullet {
        margin: 0 16px !important;
        font-size: 9px !important;
    }
}

@media (max-width: 360px) {
    .tp-hl-ticker-inner {
        height: 36px !important;
        min-height: 36px !important;
        max-height: 36px !important;
    }
    .tp-hl-ticker-label {
        padding: 0 8px !important;
    }
    .tp-hl-ticker-label-text {
        font-size: 12px !important;
    }
    .tp-hl-ticker-bullet {
        margin: 0 12px !important;
    }
}

/* High Contrast Mode */
[data-contrast="high"] .tp-hl-ticker-bar,
body.high-contrast .tp-hl-ticker-bar {
    background: #000000 !important;
    border-bottom: 2px solid #facc15 !important;
}

[data-contrast="high"] .tp-hl-ticker-top-strip,
body.high-contrast .tp-hl-ticker-top-strip {
    background: #facc15 !important;
}

[data-contrast="high"] .tp-hl-ticker-inner,
body.high-contrast .tp-hl-ticker-inner {
    background: #000000 !important;
    border-bottom: 1px solid #facc15 !important;
}

[data-contrast="high"] .tp-hl-ticker-label,
body.high-contrast .tp-hl-ticker-label {
    background: #facc15 !important;
    color: #000000 !important;
}

[data-contrast="high"] .tp-hl-ticker-label-text,
body.high-contrast .tp-hl-ticker-label-text {
    color: #000000 !important;
    font-weight: 900 !important;
}

[data-contrast="high"] .tp-hl-ticker-item,
[data-contrast="high"] .tp-hl-ticker-text,
body.high-contrast .tp-hl-ticker-item,
body.high-contrast .tp-hl-ticker-text {
    color: #ffffff !important;
}

[data-contrast="high"] .tp-hl-ticker-link,
[data-contrast="high"] .tp-hl-ticker-item a,
body.high-contrast .tp-hl-ticker-link,
body.high-contrast .tp-hl-ticker-item a {
    color: #facc15 !important;
    text-decoration: underline !important;
}

[data-contrast="high"] .tp-hl-ticker-bullet,
body.high-contrast .tp-hl-ticker-bullet {
    color: #facc15 !important;
}

/* Dark Mode */
html[data-theme="dark"] .tp-hl-ticker-bar,
body.dark-mode .tp-hl-ticker-bar {
    background: #0b1329 !important;
}

html[data-theme="dark"] .tp-hl-ticker-top-strip,
body.dark-mode .tp-hl-ticker-top-strip {
    background: #030e26 !important;
}

html[data-theme="dark"] .tp-hl-ticker-inner,
body.dark-mode .tp-hl-ticker-inner {
    background: #0b1329 !important;
    border-bottom-color: #1e293b !important;
}

html[data-theme="dark"] .tp-hl-ticker-item,
html[data-theme="dark"] .tp-hl-ticker-text,
body.dark-mode .tp-hl-ticker-item,
body.dark-mode .tp-hl-ticker-text {
    color: #f1f5f9 !important;
}

html[data-theme="dark"] .tp-hl-ticker-link,
body.dark-mode .tp-hl-ticker-link {
    color: #93c5fd !important;
}

html[data-theme="dark"] .tp-hl-ticker-link:hover,
body.dark-mode .tp-hl-ticker-link:hover {
    color: #fb923c !important;
}

html[data-theme="dark"] .tp-hl-ticker-bullet,
body.dark-mode .tp-hl-ticker-bullet {
    color: #f97316 !important;
}

/* ==========================================================================
   PERMANENTLY SHOW ALL CONTENT - NO "SEE MORE" COLLAPSING OR HIDING
   ========================================================================== */
.services-grid .service-card-extra,
.see-more-container .see-more-extra,
.tp-report-grid .tp-report-card-extra,
.report-crime-grid .report-crime-card-extra {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    max-height: none !important;
}

.see-more-container .see-more-extra.is-block {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    max-height: none !important;
}

.see-more-container .see-more-extra.is-list-item {
    display: list-item !important;
    opacity: 1 !important;
    visibility: visible !important;
    max-height: none !important;
}

/* CP Message Paragraph fully visible with comfortable line height, no line-clamp */
.tp-cp-paragraph {
    display: block !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
    -webkit-box-orient: unset !important;
    max-height: none !important;
    overflow: visible !important;
    line-height: 1.6 !important;
}

/* Remove all See More toggle buttons and wrappers completely */
.see-more-wrap,
.see-more-btn,
.services-see-more-wrap,
.report-crime-see-more-wrap,
.tp-cp-seemore-btn {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}


/* ==========================================================================
   PERMANENT FIX: ELIMINATE ALL BOTTOM GAPS & MATCH LAST DARK SECTION (#040e1a)
   ========================================================================== */
html {
    margin: 0 !important;
    padding: 0 !important;
    background-color: #040e1a !important;
}

body {
    margin: 0 !important;
    padding: 0 !important;
    padding-bottom: 0 !important;
    background-color: #040e1a !important;
}

/* Ensure main content sections retain their clean, designated light background */
#mainContent,
.main-content {
    background-color: var(--color-bg-body, #f8fafc);
}

.section-quick-station,
.mui-operations-section {
    background-color: var(--color-bg-body, #f8fafc) !important;
}

.site-footer {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.footer-bottom {
    margin-bottom: 0 !important;
}

@media (max-width: 768px) {
    .footer-top {
        padding: 36px 0 24px !important;
    }

    .footer-bottom {
        padding: 18px 0 calc(18px + env(safe-area-inset-bottom, 0px)) !important;
        margin-bottom: 0 !important;
    }
}

/* Floating Dock & Chatbot: strictly fixed at bottom-right across desktop and mobile */
.chatbot-bubble,
#policeChatbotContainer {
    position: fixed !important;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px)) !important;
    right: calc(20px + env(safe-area-inset-right, 0px)) !important;
    left: auto !important;
    top: auto !important;
    z-index: 1050 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    justify-content: flex-end !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
    pointer-events: none !important;
    transform: none !important;
}


/* ==========================================================================
   GLOBAL ZERO-OVERLAP & ZERO-SQUISH SYSTEM (Mobile & Desktop)
   Guarantees no card, pill, text or button across the portal gets crushed
   ========================================================================== */

/* 1. Universal flex-shrink:0 on all card types */
.card,
.panel-card,
.unit-card,
.officer-card-mui,
.officer-apex-card,
.service-card,
.news-card,
.home-news-card,
.gallery-card,
.safety-preview-card,
.emergency-stat-box,
.hero-suggest-item,
.nearest-station-card-highlight,
.station-item-card,
.station-card {
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
}

/* ==========================================================================
   PERMANENT BUG 1 FIX: POLICE STATION DIRECTORY & LEAFLET MAP ENGINE
   Desktop: 40% list / 60% map CSS grid | Mobile: filters -> map (320px) -> list
   Cards: min-height 64px, height auto, padding 14px 16px, 2-line title wrap
   Zero horizontal scroll at 320px, 390px, 768px, 1280px, 1920px
   ========================================================================== */

/* Station Locator Outer Container */
#stationLocatorSection {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Station Search & Filter Bar */
.station-filter-bar {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    align-items: center !important;
    margin-bottom: 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

@media (max-width: 768px) {
    .station-filter-bar {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
    }
    .station-filter-bar > div,
    .station-filter-bar input,
    .station-filter-bar select,
    .station-filter-bar button {
        width: 100% !important;
        min-width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* Desktop Grid: 40% list / 60% map */
.stations-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 40%) minmax(0, 60%) !important;
    gap: 24px !important;
    align-items: start !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Scrollable Station List Container */
.stations-list {
    height: 520px !important;
    max-height: 520px !important;
    width: 100% !important;
    min-width: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    padding-right: 6px !important;
    box-sizing: border-box !important;
    scrollbar-width: thin !important;
    scrollbar-color: #94a3b8 #f1f5f9 !important;
    overscroll-behavior: contain !important;
}

.stations-list::-webkit-scrollbar {
    width: 6px !important;
}
.stations-list::-webkit-scrollbar-track {
    background: #f1f5f9 !important;
    border-radius: 4px !important;
}
.stations-list::-webkit-scrollbar-thumb {
    background: #94a3b8 !important;
    border-radius: 4px !important;
}
.stations-list::-webkit-scrollbar-thumb:hover {
    background: #64748b !important;
}

/* Interactive Station Cards */
.station-item-card {
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    height: auto !important;
    min-height: 64px !important;
    max-height: none !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding: 14px 16px !important;
    line-height: 1.4 !important;
    overflow: visible !important;
    background: #ffffff !important;
    border: 1.5px solid #bfdbfe !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.06) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.station-item-card:hover {
    background: #f8fafc !important;
    border-color: #60a5fa !important;
    box-shadow: 0 4px 14px rgba(30, 58, 138, 0.12) !important;
    transform: translateY(-1px) !important;
}

.station-item-card.active {
    background: #eff6ff !important;
    border-color: #2563eb !important;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.3), 0 6px 18px rgba(30, 58, 138, 0.15) !important;
}

.station-card-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 8px !important;
    width: 100% !important;
    min-width: 0 !important;
}

.station-card-title,
.station-item-card h4 {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: var(--color-primary-800, #0b2545) !important;
    line-height: 1.35 !important;
    word-break: break-word !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    flex-grow: 1 !important;
    min-width: 0 !important;
}

.station-zone-badge {
    flex-shrink: 0 !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    border: 1px solid #bfdbfe !important;
    white-space: nowrap !important;
}

.station-card-address,
.station-item-card p {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0.85rem !important;
    color: #475569 !important;
    line-height: 1.4 !important;
    word-break: break-word !important;
    white-space: normal !important;
    overflow: visible !important;
}

.station-card-meta,
.station-item-card .station-meta {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    font-size: 0.82rem !important;
    color: #64748b !important;
    line-height: 1.35 !important;
}

.station-phone-row,
.station-incharge-row {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
}

.station-phone-link {
    color: #0284c7 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}
.station-phone-link:hover {
    text-decoration: underline !important;
}

.station-card-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-top: 4px !important;
    padding-top: 8px !important;
    border-top: 1px solid #e2e8f0 !important;
}

.station-card-actions .btn {
    padding: 6px 12px !important;
    font-size: 0.82rem !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

/* Leaflet Map Container */
.station-map-container {
    height: 420px !important;
    width: 100% !important;
    min-width: 0 !important;
    border-radius: 16px !important;
    border: 1.5px solid #cbd5e1 !important;
    position: sticky !important;
    top: 90px !important;
    z-index: 5 !important;
    overflow: hidden !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
    background: #e5e3df !important;
}

#stationMap {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    min-width: 0 !important;
}

/* Tablet & Mobile Layout: Filters -> Map (300px) -> List */
@media (max-width: 991px) {
    .stations-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .station-map-container {
        order: 1 !important;
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        margin: 0 0 16px 0 !important;
        height: 300px !important;
        min-height: 300px !important;
        max-height: 300px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        z-index: 2 !important;
    }

    #stationMap {
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        min-height: 100% !important;
        position: relative !important;
    }

    .stations-list {
        order: 2 !important;
        position: relative !important;
        top: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        max-height: 520px !important;
        overflow-y: auto !important;
        box-sizing: border-box !important;
        padding-right: 4px !important;
    }

    .station-item-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-bottom: 12px !important;
    }
}

@media (max-width: 576px) {
    .station-map-container {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        margin: 0 0 16px 0 !important;
        height: 280px !important;
        min-height: 280px !important;
        max-height: 280px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .stations-list {
        max-height: 480px !important;
    }
    .station-card-actions {
        flex-direction: column !important;
    }
    .station-card-actions .btn {
        width: 100% !important;
        justify-content: center !important;
    }
}

/* Cluster Markers & Pin Styling */
.station-cluster-pin {
    background: #0b2545 !important;
    color: #ffffff !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    line-height: 1 !important;
    border: 2.5px solid #f59e0b !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35) !important;
    cursor: pointer !important;
    transition: transform 0.18s ease, background 0.18s ease !important;
    touch-action: manipulation !important;
}
.station-cluster-pin:hover {
    transform: scale(1.1) !important;
    background: #1e3a8a !important;
}

.custom-police-pin {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    cursor: pointer !important;
    touch-action: manipulation !important;
}

.custom-police-pin .police-pin-inner {
    background: #0b2545 !important;
    color: #ffffff !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% 50% 50% 0 !important;
    transform: rotate(-45deg) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2.5px solid #f59e0b !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35) !important;
    transition: transform 0.18s ease, border-color 0.18s ease !important;
}

.custom-police-pin:hover .police-pin-inner,
.custom-police-pin.active-pin .police-pin-inner {
    border-color: #38bdf8 !important;
    background: #002B45 !important;
    transform: rotate(-45deg) scale(1.12) !important;
}

.custom-police-pin .police-pin-inner span {
    transform: rotate(45deg) !important;
    font-size: 18px !important;
    line-height: 1 !important;
}


/* ==========================================================================
   PERMANENT BUG 2 & 3 FIX: CP'S MESSAGE SECTION & PRISTINE PORTRAIT SYSTEM
   No text justify, max-width 65ch, clamp typography, 4:5 aspect ratio
   Zero mixed language, pristine commissioner image everywhere
   ========================================================================== */

.tp-cp-message-section {
    background-color: #002B45 !important; /* Deep Teal-Navy */
    width: 100% !important;
    min-height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 36px 32px !important;
    box-sizing: border-box !important;
    color: #ffffff !important;
    position: relative !important;
}

.tp-cp-message-container {
    max-width: 1200px !important;
    width: 100% !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: minmax(0, 35%) minmax(0, 65%) !important;
    align-items: center !important;
    gap: 36px !important;
    padding: 24px !important;
    box-sizing: border-box !important;
}

.tp-cp-photo-col {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 340px !important;
    margin: 0 auto !important;
}

.tp-cp-portrait-card {
    background-color: #0b2545 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45) !important;
    width: 100% !important;
    max-width: 320px !important;
    aspect-ratio: 4 / 5 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 4px solid var(--color-accent-500, #f59e0b) !important;
    position: relative !important;
}

.tp-cp-portrait-card picture,
.tp-cp-picture {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
}

.tp-cp-portrait-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important; /* Face never cropped */
    display: block !important;
    transition: opacity 0.3s ease !important;
}

/* Scoped CP Message Portrait Image - strict 4:5 head-and-shoulders */
.tp-cp-portrait-img.cp-message-photo,
.cp-message-photo {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 20% !important;
    display: block !important;
    border-radius: inherit !important;
}

.tp-cp-text-col {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    text-align: left !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.tp-cp-heading {
    font-family: 'Barlow Condensed', 'Noto Sans Devanagari', 'Inter', sans-serif !important;
    font-size: clamp(1.5rem, 2vw + 0.5rem, 2rem) !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    margin: 0 0 14px 0 !important;
    letter-spacing: 0.02em !important;
    text-transform: uppercase !important;
    text-align: left !important;
    color: #f59e0b !important;
}

.tp-cp-paragraph {
    font-family: 'Mukta', 'Noto Sans Devanagari', 'Inter', -apple-system, sans-serif !important;
    font-size: clamp(1rem, 1.1vw + 0.8rem, 1.2rem) !important;
    font-weight: 400 !important;
    line-height: 1.7 !important;
    color: rgba(255, 255, 255, 0.95) !important;
    text-align: left !important; /* STRICTLY NO JUSTIFY */
    max-width: 65ch !important;
    margin: 0 0 18px 0 !important;
    hyphens: auto !important;
    overflow: visible !important;
    display: block !important;
}

.tp-cp-name {
    font-family: 'Mukta', 'Noto Sans Devanagari', 'Inter', -apple-system, sans-serif !important;
    font-size: clamp(1.3rem, 1.5vw + 0.5rem, 1.8rem) !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1.25 !important;
    margin: 0 0 4px 0 !important;
    text-align: left !important;
}

.tp-cp-designation {
    font-family: 'Mukta', 'Noto Sans Devanagari', 'Inter', -apple-system, sans-serif !important;
    font-size: clamp(0.95rem, 1vw + 0.3rem, 1.15rem) !important;
    font-weight: 600 !important;
    color: rgba(255, 255, 255, 0.8) !important;
    line-height: 1.35 !important;
    margin: 0 !important;
    text-align: left !important;
}

@media (max-width: 991px) {
    .tp-cp-message-container {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 20px 16px !important;
        text-align: center !important;
    }
    .tp-cp-photo-col {
        max-width: 200px !important;
        margin: 0 auto !important;
    }
    .tp-cp-portrait-card {
        max-width: 180px !important;
        aspect-ratio: 4 / 5 !important;
        border-radius: 14px !important;
    }
    .tp-cp-text-col {
        align-items: center !important;
        text-align: center !important;
    }
    .tp-cp-heading {
        text-align: center !important;
        margin-bottom: 10px !important;
    }
    .tp-cp-paragraph {
        text-align: center !important;
        margin-bottom: 14px !important;
        max-width: 90% !important;
    }
    .tp-cp-name {
        text-align: center !important;
    }
    .tp-cp-designation {
        text-align: center !important;
    }
}

/* CP Message Phone Rules (320px to 540px) - Compact mobile portrait (max 140px), 4:5 ratio */
@media (max-width: 540px) {
    .tp-cp-message-container {
        padding: 14px 12px !important;
        gap: 10px !important;
    }
    .tp-cp-photo-col {
        width: 100% !important;
        max-width: 140px !important;
        margin: 0 auto !important;
    }
    .tp-cp-portrait-card {
        width: 100% !important;
        max-width: 140px !important;
        max-height: 175px !important;
        aspect-ratio: 4 / 5 !important;
        border-radius: 12px !important;
    }
    .tp-cp-paragraph {
        max-width: 100% !important;
        font-size: 0.86rem !important;
        line-height: 1.45 !important;
        padding: 0 4px !important;
        margin: 0 0 8px 0 !important;
    }
}

/* Dark Mode Overrides for Stations & CP */
html[data-theme="dark"] .station-item-card {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
}
html[data-theme="dark"] .station-item-card:hover {
    background: #334155 !important;
    border-color: #60a5fa !important;
}
html[data-theme="dark"] .station-item-card.active {
    background: #1e3a5f !important;
    border-color: #60a5fa !important;
    box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.3) !important;
}
html[data-theme="dark"] .station-card-title,
html[data-theme="dark"] .station-item-card h4 {
    color: #f8fafc !important;
}
html[data-theme="dark"] .station-card-address,
html[data-theme="dark"] .station-item-card p {
    color: #cbd5e1 !important;
}
html[data-theme="dark"] .station-zone-badge {
    background: rgba(30, 58, 138, 0.4) !important;
    color: #93c5fd !important;
    border-color: #1e40af !important;
}
html[data-theme="dark"] .station-card-actions {
    border-top-color: #334155 !important;
}

/* ==========================================================================
   PERMANENTLY HIDE CONCEPT SAFETY DISCLAIMER BANNER
   ========================================================================== */
#previewSafetyBanner,
.preview-safety-banner,
aside[id="previewSafetyBanner"],
aside.preview-safety-banner {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    opacity: 0 !important;
}


/* ==========================================================================
   MOBILE HERO & ZERO EMPTY GAP (Phone screens max-width: 767px only)
   ========================================================================== */
@media (max-width: 767px) {
    .tp-hero-slider-wrap,
    #tpHeroSlider {
        height: auto;
        min-height: 0 !important;
        max-height: none !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
        overflow: hidden !important;
    }

    .tp-hero-track {
        height: auto !important;
        min-height: 0 !important;
        align-items: flex-start !important;
    }

    .tp-hero-slide,
    #heroSlide1,
    #heroSlide2 {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
        overflow: hidden !important;
        align-self: flex-start !important;
    }

    .tp-hero-slide > section,
    .tp-hero-slide .fp-hero-section,
    .tp-hero-slide .tp-cp-message-section {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }

    #heroSlide1 .fp-hero-section {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        padding-top: 14px !important;
        padding-bottom: 16px !important;
        margin-bottom: 0 !important;
        overflow: visible !important;
        position: relative !important;
    }

    #heroSlide1 .fp-hero-people {
        margin: 6px auto 0 auto !important;
        margin-bottom: 0 !important;
        box-sizing: border-box !important;
        position: relative !important;
    }

    /* Slide 2 on phones: Compact natural height matching Slide 1 */
    .tp-cp-message-section {
        padding: 16px 16px !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        box-sizing: border-box !important;
        align-items: center !important;
    }

    .tp-cp-message-container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px !important;
        padding: 0 !important;
        margin: 0 auto !important;
        text-align: center !important;
        max-width: 100% !important;
    }

    .tp-cp-photo-col {
        width: 100% !important;
        max-width: 140px !important;
        margin: 0 auto !important;
        flex: 0 0 auto !important;
    }

    .tp-cp-portrait-card {
        width: 100% !important;
        max-width: 140px !important;
        max-height: 175px !important;
        aspect-ratio: 4 / 5 !important;
        border-radius: 12px !important;
    }

    .tp-cp-text-col {
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .tp-cp-heading {
        font-size: 1.25rem !important;
        margin: 0 0 6px 0 !important;
        text-align: center !important;
    }

    .tp-cp-paragraph {
        font-size: 0.88rem !important;
        line-height: 1.45 !important;
        margin: 0 0 8px 0 !important;
        max-width: 100% !important;
        text-align: center !important;
    }

    .tp-cp-name {
        font-size: 1.05rem !important;
        margin: 0 0 2px 0 !important;
        text-align: center !important;
    }

    .tp-cp-designation {
        font-size: 0.82rem !important;
        margin: 0 !important;
        text-align: center !important;
    }

    #portalMainSite {
        display: none !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Start next section immediately with clean normal 16px spacing */
    main#mainContent,
    .section-quick-station {
        margin-top: 0 !important;
        padding-top: 16px !important;
    }
}

/* Marathi Typography Tuning */
html[lang="mr"] .fp-headline {
    line-height: 1.25 !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
}
html[lang="mr"] .fp-subhead {
    line-height: 1.5 !important;
}


/* ==========================================================================
   Thane Police CMS Navigation & Staff Portal Styles
   ========================================================================== */
.menu-item-cms {
    list-style: none !important;
    margin: 0 0 4px 0 !important;
    padding: 0 !important;
}

.cms-nav-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    padding: 8px 10px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer;
    box-sizing: border-box;
}

.cms-nav-item:hover,
.cms-nav-item:focus {
    background: #eef2ff !important;
    border-color: #cbd5e1 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 6px rgba(18, 56, 107, 0.08) !important;
}

.cms-nav-item:focus-visible {
    outline: 2px solid #f59e0b !important;
    outline-offset: 2px !important;
}

.cms-nav-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    background: #12386b !important;
    color: #ffffff !important;
    border-radius: 6px !important;
    margin-top: 1px !important;
    transition: background-color 0.2s ease;
}

.cms-nav-item:hover .cms-nav-icon {
    background: #f59e0b !important;
    color: #12386b !important;
}

.cms-nav-text {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    min-width: 0 !important;
}

.cms-nav-title-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    width: 100% !important;
}

.cms-nav-title {
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    color: #12386b !important;
    line-height: 1.2 !important;
}

.badge-staff-pill {
    display: inline-flex !important;
    align-items: center !important;
    background: #fef3c7 !important;
    color: #b45309 !important;
    border: 1px solid #fcd34d !important;
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    padding: 1px 7px !important;
    border-radius: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
}

.cms-nav-subtitle {
    font-size: 0.72rem !important;
    color: #64748b !important;
    line-height: 1.25 !important;
    margin-top: 3px !important;
    font-weight: 400 !important;
}

.menu-divider-cms {
    height: 1px !important;
    background: #e2e8f0 !important;
    margin: 6px 0 8px 0 !important;
    list-style: none !important;
}

/* Mobile specific touch height */
@media (max-width: 992px) {
    .cms-nav-mobile {
        min-height: 48px !important;
        padding: 10px 12px !important;
        margin-bottom: 6px !important;
    }
}

/* Dark mode overrides */
html[data-theme="dark"] .cms-nav-item {
    background: #1e293b !important;
    border-color: #334155 !important;
}

html[data-theme="dark"] .cms-nav-item:hover,
html[data-theme="dark"] .cms-nav-item:focus {
    background: #273549 !important;
    border-color: #475569 !important;
}

html[data-theme="dark"] .cms-nav-title {
    color: #f8fafc !important;
}

html[data-theme="dark"] .cms-nav-subtitle {
    color: #94a3b8 !important;
}

html[data-theme="dark"] .cms-nav-icon {
    background: #3b82f6 !important;
    color: #ffffff !important;
}

html[data-theme="dark"] .badge-staff-pill {
    background: #78350f !important;
    color: #fde68a !important;
    border-color: #b45309 !important;
}

html[data-theme="dark"] .menu-divider-cms {
    background: #334155 !important;
}

/* ==========================================================================
   CANONICAL SPACING, OVERLAP & WCAG RESPONSIVE RHYTHM (JOB 3 AUDIT FIX)
   - Strict 8px spacing scale (4, 8, 12, 16, 24, 32, 48, 64)
   - Section padding: 64px desktop, 40px mobile
   - Card padding: 20-24px, grid gaps: 16-24px
   - Heading margins: 8-12px to text, 24-32px section heading to content
   - Anchored scroll-margin-top preventing sticky header obstruction
   - Zero horizontal scroll & clean Marathi multi-line wrapping
   ========================================================================== */

/* 1. Global Box Sizing & Zero Horizontal Scroll */
html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
}

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

/* 2. Anchored Targets Scroll Margin (Prevents Sticky Header Overlap) */
[id],
section[id],
article[id],
div[id],
h1[id],
h2[id],
h3[id] {
    scroll-margin-top: 140px;
}

@media (max-width: 768px) {
    [id],
    section[id],
    article[id],
    div[id],
    h1[id],
    h2[id],
    h3[id] {
        scroll-margin-top: 110px;
    }
}

/* 3. Headlines Ticker & Header Alignment (No Gaps or Overlap) */
.site-main-header {
    margin-bottom: 0 !important;
}

.tp-hl-ticker-bar {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* 4. Section Rhythm & Clean Padding */
.portal-section,
.site-section,
.page-section,
.content-section {
    padding-top: 64px;
    padding-bottom: 64px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .portal-section,
    .site-section,
    .page-section,
    .content-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

/* 5. Typography Line-Height & Marathi Word-Wrapping */
p, li, .card-text, .portal-desc, .news-desc, .service-desc {
    line-height: 1.6;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.section-header,
.page-header-block,
.sec-header {
    margin-bottom: 32px;
}

@media (max-width: 768px) {
    .section-header,
    .page-header-block,
    .sec-header {
        margin-bottom: 24px;
    }
}

.section-title,
.page-title {
    margin-bottom: 12px;
}

.section-subtitle,
.page-subtitle {
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.6;
}

/* 6. Card Grids & Equal-Height Alignment */
.card,
.tp-report-card,
.station-item-card,
.news-card,
.notice-card,
.unit-card,
.officer-card,
.service-card,
.tp-portal-card,
.leadership-card,
.initiative-card {
    padding: 24px;
    box-sizing: border-box;
    border-radius: var(--radius-md, 10px);
}

@media (max-width: 768px) {
    .card,
    .tp-report-card,
    .station-item-card,
    .news-card,
    .notice-card,
    .unit-card,
    .officer-card,
    .service-card,
    .tp-portal-card,
    .leadership-card,
    .initiative-card {
        padding: 20px;
    }
}

/* 7. Image Containment & Prevent Shift */
img {
    max-width: 100%;
    height: auto;
}

/* 8. Table Containers Smooth Scrolling */
.table-responsive,
.tp-table-responsive-wrap,
.notices-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
}

/* Safe area insets for mobile floating elements */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .tp-fab-container, .tp-floating-quick-actions, #tpAccessibilityBtn {
    bottom: calc(20px + env(safe-area-inset-bottom)) !important;
  }
}

/* ==========================================================================
   UNIFIED ORANGE / POLICE LOGO THEME, STATION OFFICERS & CITIZEN CHARTER UI
   ========================================================================== */
html:not([data-theme="dark"]):not([data-contrast="high"]),
html:not([data-theme="dark"]):not([data-contrast="high"]) body {
    background-color: #fff3e0 !important;
    background-image: linear-gradient(180deg, #fff7ed 0%, #ffedd5 55%, #ffe4c4 100%) !important;
}

html:not([data-theme="dark"]):not([data-contrast="high"]) #mainContent,
html:not([data-theme="dark"]):not([data-contrast="high"]) .main-content,
html:not([data-theme="dark"]):not([data-contrast="high"]) .section,
html:not([data-theme="dark"]):not([data-contrast="high"]) .portal-section,
html:not([data-theme="dark"]):not([data-contrast="high"]) .section-quick-station,
html:not([data-theme="dark"]):not([data-contrast="high"]) .mui-operations-section,
html:not([data-theme="dark"]):not([data-contrast="high"]) .dignitaries-section {
    background-color: transparent !important;
    background: transparent !important;
}

html:not([data-theme="dark"]):not([data-contrast="high"]) .tp-portal-section {
    background-color: #ffedd5 !important;
    background-image:
        radial-gradient(rgba(234, 88, 12, 0.10) 1px, transparent 1px),
        linear-gradient(180deg, #fff7ed 0%, #ffedd5 55%, #fed7aa 100%) !important;
    border-top: 1px solid #fdba74 !important;
    border-bottom: 1px solid #fdba74 !important;
}

html:not([data-theme="dark"]):not([data-contrast="high"]) .site-brand-banner {
    background: linear-gradient(90deg, #fffaf3 0%, #fff7ed 50%, #ffedd5 100%) !important;
    border-top: 3px solid #ea580c;
    border-bottom: 2px solid #fdba74 !important;
}

html:not([data-theme="dark"]):not([data-contrast="high"]) .site-header {
    border-bottom: 2px solid #ea580c !important;
}

html:not([data-theme="dark"]):not([data-contrast="high"]) .feedback-form-card {
    background: #fff7ed !important;
    border-color: #fdba74 !important;
}

html:not([data-theme="dark"]):not([data-contrast="high"]) .card,
html:not([data-theme="dark"]):not([data-contrast="high"]) .about-card,
html:not([data-theme="dark"]):not([data-contrast="high"]) .unit-card,
html:not([data-theme="dark"]):not([data-contrast="high"]) .station-item-card,
html:not([data-theme="dark"]):not([data-contrast="high"]) .tp-portal-card,
html:not([data-theme="dark"]):not([data-contrast="high"]) .hero-card {
    border-color: #fed7aa;
}

.brand-govt-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 800;
    color: #c2410c;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 3px;
    white-space: nowrap;
}

@media (max-width: 1023px) {
    .mobile-brand-identity .brand-english-name {
        font-size: clamp(12px, 2.2vw, 15.5px) !important;
        font-weight: 900 !important;
        color: var(--color-primary-900) !important;
    }
    .mobile-brand-identity .brand-govt-row {
        font-size: clamp(9.5px, 1.5vw, 12px) !important;
        white-space: normal !important;
        line-height: 1.2 !important;
    }
}

/* My Police Station / Station Detail Top-Right Corner Logo (~6.5 cm, responsive) */
.station-hero-with-logo {
    position: relative;
    overflow: hidden;
}

.station-hero-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
}

.station-hero-main {
    flex: 1 1 auto;
    min-width: 0;
}

.my-station-corner-logo-wrap {
    flex: 0 0 auto;
    width: 6.5cm;
    max-width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.my-station-corner-logo {
    width: 6.5cm;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    padding: 8px;
    border: 3px solid #f59e0b;
    box-shadow: 0 8px 24px rgba(11, 30, 54, 0.28);
}

@media (max-width: 900px) {
    .station-hero-inner {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 16px;
    }
    .my-station-corner-logo-wrap {
        width: 100%;
        justify-content: flex-end;
    }
    .my-station-corner-logo {
        width: clamp(92px, 26vw, 4.2cm);
    }
}

/* Station Detail & My Police Station Command Officers Hierarchy Grid */
.station-officers-section {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 2px solid #fed7aa;
}

.station-officers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
    margin-top: 14px;
}

.station-officer-card {
    background: #fffaf3;
    border: 1.5px solid #fdba74;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(234, 88, 12, 0.08);
}

.station-officer-rank-pill {
    display: inline-block;
    align-self: flex-start;
    background: #ea580c;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 999px;
}

.station-officer-name {
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-primary-900, #0b1e36);
    margin: 2px 0 0 0;
}

.station-officer-desig {
    font-size: 0.84rem;
    color: var(--color-text-muted, #475569);
    line-height: 1.4;
}

/* Citizen Charter English-Only Request / Complaint Status Form */
.charter-status-panel {
    background: #fff7ed;
    border: 1.5px solid #fdba74;
    border-radius: 14px;
    padding: clamp(20px, 4vw, 30px);
    margin-top: 24px;
}

.charter-submit-box {
    margin-top: 16px;
    padding: 14px 16px;
    background: #ffffff;
    border: 1.5px solid #fed7aa;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

/* =========================================================
   ABOUT US MEGA-MENU UPGRADE, MOBILE COLUMN ACCORDIONS &
   RESPONSIVE OFFICER GRIDS (Desktop hover+tap, Tablet, Mobile)
   ========================================================= */
html, body {
    overflow-x: clip;
    max-width: 100%;
}

.nav-dropdown-item.dropdown-open > .mega-menu-panel {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(4px) !important;
}

.mega-menu-about {
    width: min(920px, calc(100vw - 32px));
}

.mega-menu-about .grid-3-cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.mega-menu-about .mega-menu-list li a {
    line-height: 1.35;
    padding: 6px 8px;
}

/* Mobile Drawer Column Accordions & >=44px Touch Targets */
.mobile-nav-close {
    min-width: 44px;
    min-height: 44px;
}

.mobile-menu-toggle {
    min-width: 44px;
    min-height: 44px;
}

.mobile-nav-col-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 6px 0 10px 8px;
}

.mobile-col-accordion {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fffaf3;
    overflow: hidden;
}

.mobile-col-summary {
    list-style: none;
    min-height: 44px;
    padding: 10px 14px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-primary-800, #0b1e36);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    background: #fff7ed;
}

.mobile-col-summary::-webkit-details-marker {
    display: none;
}

.mobile-col-summary::after {
    content: '+';
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-accent-600, #ea580c);
}

.mobile-col-accordion[open] > .mobile-col-summary::after {
    content: '−';
}

.mobile-col-accordion .mobile-sub-list {
    margin: 0;
    padding: 4px 8px 8px 12px;
    background: #ffffff;
}

.mobile-col-accordion .mobile-sub-list li a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 8px 10px;
}

@media (max-width: 767px) {
    .mobile-nav-drawer {
        width: 100% !important;
        max-width: 100% !important;
        left: 0 !important;
        right: 0 !important;
    }
    .mobile-nav-heading,
    .mobile-col-summary,
    .mobile-sub-list li a,
    .mobile-nav-list > li > .nav-link {
        min-height: 44px !important;
    }
}

/* Responsive Officer / Portrait Card Grids (4 Desktop, 3 Tablet, 1-2 Mobile) */
.leadership-grid,
.unit-officers-grid,
.official-gallery-grid,
.official-initiatives-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px !important;
}

@media (max-width: 1024px) {
    .leadership-grid,
    .unit-officers-grid,
    .official-gallery-grid,
    .official-initiatives-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 16px !important;
    }
}

@media (max-width: 767px) {
    .leadership-grid,
    .unit-officers-grid,
    .official-gallery-grid,
    .official-initiatives-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }
}

@media (max-width: 440px) {
    .leadership-grid,
    .unit-officers-grid,
    .official-gallery-grid {
        grid-template-columns: 1fr !important;
    }
    .official-initiatives-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Official Photo Cards */
.officer-portrait-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-top: 3px solid var(--color-accent-600, #ea580c);
    border-radius: 12px;
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-width: 0;
}

.officer-portrait-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(234, 88, 12, 0.12);
}

.officer-portrait-thumb {
    width: 96px;
    height: 112px;
    object-fit: cover;
    object-position: top center;
    border-radius: 10px;
    border: 2px solid #fed7aa;
    background: #fff7ed;
    margin-bottom: 12px;
}

.officer-portrait-name {
    font-size: 0.96rem;
    font-weight: 800;
    color: var(--color-primary-900, #0b1e36);
    margin: 0 0 4px 0;
    line-height: 1.3;
    word-break: break-word;
}

.officer-portrait-rank {
    display: inline-block;
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fed7aa;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    margin-bottom: 6px;
}

.officer-portrait-meta {
    font-size: 0.8rem;
    color: #475569;
    line-height: 1.45;
    margin: 2px 0;
    word-break: break-word;
}

/* Unit Details Modal */
.unit-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 30, 54, 0.72);
    backdrop-filter: blur(4px);
    z-index: 12000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.unit-modal-overlay.open {
    display: flex;
}

.unit-modal-dialog {
    background: #ffffff;
    border-radius: 16px;
    width: min(980px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(11, 30, 54, 0.35);
    border: 1px solid #e2e8f0;
}

.unit-modal-header {
    position: sticky;
    top: 0;
    background: #0b1e36;
    color: #ffffff;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    z-index: 2;
}

.unit-modal-close {
    min-width: 44px;
    min-height: 44px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 1.4rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.unit-modal-body {
    padding: 22px;
}

.official-gap-notice {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-left: 4px solid #d97706;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 0.88rem;
    color: #78350f;
    line-height: 1.5;
}

/* =========================================================
   RESPONSIVE NAVBAR POLISH (Sticky White Header, Unified Pills,
   #12294a/#e8651a Active & Open States, 900px Breakpoint,
   ARIA / Keyboard Focus / Reduced Motion)
   ========================================================= */
.site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 10000 !important;
    background: #ffffff !important;
    border-bottom: 1.5px solid #e2e8f0 !important;
}

/* Override global desktop/hover rules cleanly */
.nav-desktop .nav-link,
.nav-desktop .nav-dropdown-trigger {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 9px 16px !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 10px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
    background: #ffffff;
    color: #12294a;
    text-decoration: none;
    box-sizing: border-box !important;
}

.nav-desktop .nav-link:hover,
.nav-desktop .nav-dropdown-item:hover > .nav-dropdown-trigger {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #12294a;
}

/* Active item & currently open dropdown: navy #12294a, orange #e8651a, white text */
.nav-desktop .nav-link.active,
.nav-desktop .nav-dropdown-item.active > .nav-dropdown-trigger,
.nav-desktop .nav-dropdown-item.dropdown-open > .nav-dropdown-trigger,
.nav-desktop .nav-dropdown-item.dropdown-open > .nav-dropdown-trigger:hover {
    background: #12294a !important;
    border-color: #e8651a !important;
    color: #ffffff !important;
}

.dropdown-chevron-icon {
    display: block !important;
    flex-shrink: 0 !important;
    width: 12px;
    height: 12px;
    margin: 0 !important;
    stroke: currentColor !important;
    transition: transform 0.2s ease;
}

.nav-dropdown-item.dropdown-open > .nav-dropdown-trigger .dropdown-chevron-icon,
.nav-dropdown-item:not(.suppress-hover):hover > .nav-dropdown-trigger .dropdown-chevron-icon {
    transform: rotate(180deg);
}

/* Keep closed unless clicked open (.dropdown-open) or hovered cleanly */
.nav-dropdown-item:not(.dropdown-open):not(:hover) > .mega-menu-panel,
.nav-dropdown-item.suppress-hover:not(.dropdown-open) > .mega-menu-panel {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Last two dropdowns always open leftward to prevent right-edge overflow */
.dropdown-police > .mega-menu-panel,
.dropdown-dashboard > .mega-menu-panel {
    left: auto !important;
    right: 0 !important;
}

/* Desktop above 900px: keep all 6 links on one single row */
@media (min-width: 901px) {
    .site-brand-banner {
        display: block !important;
    }
    .mobile-brand-identity,
    .mobile-menu-toggle {
        display: none !important;
    }
    .nav-desktop {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 10px !important;
        width: 100%;
    }
}

/* Mid desktop 901px - 1100px: reduce padding & font size so items never wrap */
@media (min-width: 901px) and (max-width: 1100px) {
    .nav-desktop {
        gap: 6px !important;
    }
    .nav-desktop .nav-link,
    .nav-desktop .nav-dropdown-trigger {
        padding: 7px 10px !important;
        font-size: 0.81rem !important;
        gap: 4px !important;
    }
    .mega-menu-about {
        width: min(840px, calc(100vw - 32px));
    }
}

/* Mobile 900px and below: hamburger button, full-width slide-down accordion drawer */
@media (max-width: 900px) {
    .site-brand-banner,
    .mobile-sticky-brand,
    .nav-desktop,
    .mega-menu-panel {
        display: none !important;
    }
    .mobile-brand-identity {
        display: flex !important;
    }
    .site-header .container.header-inner,
    .site-header .header-inner {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 8px 16px !important;
    }
    .mobile-menu-toggle {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 44px !important;
        height: 44px !important;
        border: 1.5px solid #cbd5e1 !important;
        border-radius: 10px !important;
        background: #ffffff !important;
        color: #12294a !important;
        cursor: pointer !important;
        margin-left: auto !important;
        flex-shrink: 0 !important;
    }
    .mobile-nav-drawer {
        width: 100% !important;
        max-width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        animation: navDrawerSlideDown 0.22s ease-out;
    }
}

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

/* Visible keyboard focus outlines */
.nav-desktop .nav-link:focus-visible,
.nav-desktop .nav-dropdown-trigger:focus-visible,
.mega-menu-list a:focus-visible,
.mobile-menu-toggle:focus-visible,
.mobile-nav-heading:focus-visible,
.mobile-col-summary:focus-visible,
.mobile-sub-list a:focus-visible,
.mobile-nav-close:focus-visible {
    outline: 2.5px solid #e8651a !important;
    outline-offset: 2px !important;
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .nav-desktop .nav-link,
    .dropdown-chevron-icon,
    .mega-menu-panel,
    .mobile-nav-drawer {
        transition: none !important;
        animation: none !important;
    }
}

/* ==========================================================================
   AUTHORITATIVE CITIZEN ASSISTANCE CHATBOT SPECIFICATION
   - Navy (#12294a), Orange (#e8651a), Cream (#fffaf3)
   - Desktop/Tablet (> 600px): bottom-right floating panel (380px, max 80vh)
   - Mobile (<= 600px): full-screen sheet (100dvh, safe areas, visualViewport)
   ========================================================================== */

#policeChatbotContainer,
#policeChatbotContainer * {
    box-sizing: border-box;
}

/* Unread message dot on floating launcher button */
#toggleChatbotBtn {
    position: relative !important;
}

.chatbot-unread-dot {
    display: none;
    position: absolute;
    top: 2px;
    left: 2px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #e8651a;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 2px rgba(232, 101, 26, 0.35);
    z-index: 4;
    pointer-events: none;
}

#toggleChatbotBtn.has-unread .chatbot-unread-dot {
    display: block;
}

/* Desktop & Tablet Floating Panel (> 600px) */
#chatbotWindow.chatbot-window {
    display: none !important;
    position: fixed !important;
    bottom: calc(24px + env(safe-area-inset-bottom, 0px)) !important;
    right: calc(92px + env(safe-area-inset-right, 0px)) !important;
    left: auto !important;
    top: auto !important;
    width: 380px !important;
    max-width: calc(100vw - 110px) !important;
    height: min(580px, 80vh) !important;
    max-height: 80vh !important;
    background: #fffaf3 !important;
    border: 1.5px solid rgba(18, 41, 74, 0.16) !important;
    border-radius: 16px !important;
    box-shadow: 0 18px 44px rgba(18, 41, 74, 0.24), 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    flex-direction: column !important;
    overflow: hidden !important;
    z-index: 10050 !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
}

#chatbotWindow.chatbot-window.open {
    display: flex !important;
}

@media (max-width: 720px) and (min-width: 601px) {
    #chatbotWindow.chatbot-window {
        right: calc(16px + env(safe-area-inset-right, 0px)) !important;
        bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important;
        max-width: calc(100vw - 32px) !important;
        max-height: calc(100vh - 116px) !important;
    }
}

/* Header */
#chatbotWindow .chatbot-header {
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding: 12px 14px !important;
    background: #12294a !important;
    color: #ffffff !important;
    border-bottom: 3px solid #e8651a !important;
    min-height: 60px !important;
}

#chatbotWindow .chatbot-header-brand {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
}

#chatbotWindow .chatbot-avatar-badge {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.14) !important;
    border: 1.5px solid rgba(232, 101, 26, 0.75) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    padding: 3px !important;
}

#chatbotWindow .chatbot-avatar-badge img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block !important;
}

#chatbotWindow .chatbot-header-title-wrap {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
}

#chatbotWindow .chatbot-header-title {
    margin: 0 !important;
    font-size: 0.96rem !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    color: #ffffff !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

#chatbotWindow .chatbot-status-line {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 0.74rem !important;
    font-weight: 500 !important;
    color: #dbeafe !important;
    line-height: 1.2 !important;
    margin-top: 2px !important;
}

#chatbotWindow .chatbot-status-dot {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: #22c55e !important;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.28) !important;
    flex-shrink: 0 !important;
}

#chatbotWindow .chatbot-header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
}

#chatbotWindow .chatbot-header-btn {
    height: 36px !important;
    min-width: 36px !important;
    padding: 0 8px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    transition: background 0.16s ease, border-color 0.16s ease !important;
}

#chatbotWindow .chatbot-header-btn:hover {
    background: #e8651a !important;
    border-color: #e8651a !important;
}

#chatbotWindow #closeChatbotBtn.chatbot-close-btn {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    padding: 0 !important;
    border-radius: 10px !important;
    font-size: 1.35rem !important;
    line-height: 1 !important;
}

/* Scrollable Messages Container */
#chatbotWindow #chatMessages.chatbot-messages {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain !important;
    padding: 14px 12px !important;
    background: #fffaf3 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    scroll-behavior: smooth;
}

/* Message Bubbles */
#chatbotWindow .chat-bubble {
    max-width: 85% !important;
    width: fit-content !important;
    padding: 10px 13px !important;
    font-size: 0.9rem !important;
    line-height: 1.48 !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    flex-shrink: 0 !important;
    position: relative !important;
}

#chatbotWindow .chat-bubble.bot {
    align-self: flex-start !important;
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px 14px 14px 4px !important;
    box-shadow: 0 2px 6px rgba(18, 41, 74, 0.06) !important;
}

#chatbotWindow .chat-bubble.user {
    align-self: flex-end !important;
    background: #12294a !important;
    color: #ffffff !important;
    border: 1px solid #12294a !important;
    border-radius: 14px 14px 4px 14px !important;
    box-shadow: 0 2px 8px rgba(18, 41, 74, 0.18) !important;
}

#chatbotWindow .chat-bubble-body {
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    white-space: pre-wrap !important;
}

#chatbotWindow .chat-bubble.bot .chat-bubble-body {
    white-space: normal !important;
}

#chatbotWindow .chat-bubble a {
    color: #c2410c;
    font-weight: 600;
    text-decoration: underline;
    overflow-wrap: anywhere;
}

#chatbotWindow .chat-bubble.user a {
    color: #fed7aa;
}

#chatbotWindow .chat-msg-time {
    display: block !important;
    font-size: 0.68rem !important;
    line-height: 1.2 !important;
    margin-top: 5px !important;
    text-align: right !important;
    user-select: none;
}

#chatbotWindow .chat-bubble.bot .chat-msg-time {
    color: #64748b !important;
}

#chatbotWindow .chat-bubble.user .chat-msg-time {
    color: rgba(255, 255, 255, 0.76) !important;
}

/* Action buttons inside bot responses */
#chatbotWindow .chatbot-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

#chatbotWindow .chatbot-action-pill {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 36px !important;
    padding: 6px 11px !important;
    border-radius: 8px !important;
    background: #12294a !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    border: none !important;
    cursor: pointer !important;
    transition: background 0.16s ease !important;
}

#chatbotWindow .chatbot-action-pill:hover {
    background: #e8651a !important;
    color: #ffffff !important;
}

#chatbotWindow .chatbot-action-pill.is-urgent {
    background: #e8651a !important;
}

#chatbotWindow .chatbot-action-pill.is-urgent:hover {
    background: #c2410c !important;
}

/* Inline Manual Geolocation Fallback Form */
#chatbotWindow .chatbot-geo-form {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: 9px;
}

#chatbotWindow .chatbot-geo-input {
    width: 100%;
    min-height: 40px;
    padding: 8px 10px;
    font-size: 16px;
    font-family: inherit;
    color: #0f172a;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    outline: none;
}

#chatbotWindow .chatbot-geo-input:focus {
    border-color: #12294a;
    box-shadow: 0 0 0 3px rgba(232, 101, 26, 0.25);
    background: #ffffff;
}

#chatbotWindow .chatbot-geo-submit {
    min-height: 40px;
    padding: 8px 12px;
    border-radius: 8px;
    border: none;
    background: #12294a;
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
}

#chatbotWindow .chatbot-geo-submit:hover {
    background: #e8651a;
}

/* Animated Typing Indicator */
#chatbotWindow .chatbot-typing-dots {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 2px;
}

#chatbotWindow .chatbot-typing-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #12294a;
    opacity: 0.4;
    animation: chatbotTypingBounce 1.15s infinite ease-in-out;
}

#chatbotWindow .chatbot-typing-dots span:nth-child(2) {
    animation-delay: 0.18s;
}

#chatbotWindow .chatbot-typing-dots span:nth-child(3) {
    animation-delay: 0.36s;
}

@keyframes chatbotTypingBounce {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    30% {
        transform: translateY(-4px);
        opacity: 1;
    }
}

/* Quick Action Chips Area */
#chatbotWindow #quickSuggestions.chatbot-chips {
    flex: 0 0 auto !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    padding: 9px 12px !important;
    background: #fff7ed !important;
    border-top: 1px solid #fed7aa !important;
    margin: 0 !important;
}

#chatbotWindow #quickSuggestions.chatbot-chips.is-collapsed {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding: 7px 12px !important;
}

#chatbotWindow .chatbot-chip-btn {
    min-height: 40px !important;
    padding: 7px 12px !important;
    border-radius: 999px !important;
    border: 1.5px solid #e8651a !important;
    background: #ffffff !important;
    color: #12294a !important;
    font-family: inherit !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
    transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease !important;
}

#chatbotWindow .chatbot-chip-btn:hover,
#chatbotWindow .chatbot-chip-btn:active {
    background: #12294a !important;
    border-color: #12294a !important;
    color: #ffffff !important;
}

/* Compact Disclaimer (<= 2 lines) */
#chatbotWindow .chatbot-disclaimer {
    flex: 0 0 auto !important;
    padding: 5px 12px !important;
    font-size: 0.71rem !important;
    line-height: 1.32 !important;
    color: #475569 !important;
    background: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
    text-align: center !important;
}

#chatbotWindow .chatbot-disclaimer a {
    color: #c2410c;
    font-weight: 700;
    text-decoration: underline;
}

/* Bottom Input Bar */
#chatbotWindow #chatbotForm.chatbot-input-bar {
    flex: 0 0 auto !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-end !important;
    gap: 8px !important;
    padding: 10px 12px !important;
    background: #ffffff !important;
    border-top: 1px solid #cbd5e1 !important;
    margin: 0 !important;
}

#chatbotWindow #chatInput.chatbot-textarea {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: 100% !important;
    min-height: 44px !important;
    max-height: 112px !important;
    padding: 10px 14px !important;
    margin: 0 !important;
    font-family: inherit !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
    color: #0f172a !important;
    background: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 22px !important;
    resize: none !important;
    overflow-y: hidden;
    outline: none !important;
    box-shadow: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

#chatbotWindow #chatInput.chatbot-textarea::placeholder {
    color: #64748b !important;
    opacity: 1 !important;
}

#chatbotWindow #chatInput.chatbot-textarea:focus,
#chatbotWindow #chatInput.chatbot-textarea:focus-visible {
    outline: none !important;
    border-color: #12294a !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(232, 101, 26, 0.28) !important;
}

#chatbotWindow #sendChatBtn.chatbot-send-btn {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 50% !important;
    background: #12294a !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: background 0.16s ease, opacity 0.16s ease !important;
}

#chatbotWindow #sendChatBtn.chatbot-send-btn:not(:disabled):hover {
    background: #e8651a !important;
}

#chatbotWindow #sendChatBtn.chatbot-send-btn:disabled {
    background: #cbd5e1 !important;
    color: #64748b !important;
    cursor: not-allowed !important;
    opacity: 0.78 !important;
}

/* Keyboard focus outline for chatbot controls */
#chatbotWindow button:focus-visible,
#chatbotWindow a:focus-visible,
#toggleChatbotBtn:focus-visible {
    outline: 2.5px solid #e8651a !important;
    outline-offset: 2px !important;
}

/* Mobile Full-Screen Sheet (up to 600px) */
@media (max-width: 600px) {
    body.chatbot-sheet-open {
        overflow: hidden !important;
        touch-action: none;
    }

    body.chatbot-sheet-open #floatingQuickDock {
        display: none !important;
    }

    #chatbotWindow.chatbot-window.open {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: var(--chatbot-vv-height, 100dvh) !important;
        max-height: var(--chatbot-vv-height, 100dvh) !important;
        border-radius: 0 !important;
        border: none !important;
        box-shadow: none !important;
        padding-top: env(safe-area-inset-top, 0px) !important;
        padding-bottom: env(safe-area-inset-bottom, 0px) !important;
        z-index: 10060 !important;
    }

    #chatbotWindow .chatbot-header {
        border-radius: 0 !important;
        padding: 12px 14px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    #chatbotWindow,
    #chatbotWindow *,
    #chatbotWindow .chatbot-typing-dots span {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* ==========================================================================
   MARATHI (DEVANAGARI) TYPOGRAPHY, ANTI-FOUC & RESPONSIVE WRAPPING
   - Font stack: Noto Sans Devanagari, Mukta, system-ui
   - line-height: 1.6 so matras / ascenders / descenders are never clipped
   - Flexible wrapping on buttons, nav links, dropdowns, tables, forms & cards
   ========================================================================== */
html.i18n-loading body {
    opacity: 0;
}

html[lang="mr"],
html[lang="mr"] body,
html[lang="mr"] input,
html[lang="mr"] textarea,
html[lang="mr"] select,
html[lang="mr"] button {
    font-family: 'Noto Sans Devanagari', 'Mukta', 'Inter', system-ui, -apple-system, sans-serif !important;
}

html[lang="mr"] body,
html[lang="mr"] p,
html[lang="mr"] li,
html[lang="mr"] td,
html[lang="mr"] th,
html[lang="mr"] label,
html[lang="mr"] .card-text,
html[lang="mr"] .chat-bubble {
    line-height: 1.6 !important;
}

html[lang="mr"] h1,
html[lang="mr"] h2,
html[lang="mr"] h3,
html[lang="mr"] h4,
html[lang="mr"] .btn,
html[lang="mr"] .nav-link,
html[lang="mr"] .mega-menu-list a,
html[lang="mr"] .chatbot-chip-btn {
    line-height: 1.45 !important;
    overflow-wrap: anywhere;
    word-break: break-word;
}

html[lang="mr"] .btn,
html[lang="mr"] button:not(.chatbot-send-btn):not(.chatbot-close-btn):not(.chatbot-btn):not(.dock-nearby-btn):not(.social-fab-trigger-btn),
html[lang="mr"] .nav-desktop .nav-link,
html[lang="mr"] .nav-desktop .nav-dropdown-trigger,
html[lang="mr"] .mega-menu-list a,
html[lang="mr"] .form-label,
html[lang="mr"] th,
html[lang="mr"] td {
    height: auto !important;
    min-width: 0;
    white-space: normal;
}

@media (max-width: 600px) {
    html[lang="mr"] .container,
    html[lang="mr"] .card,
    html[lang="mr"] .panel-card,
    html[lang="mr"] .table-responsive,
    html[lang="mr"] .form-group {
        max-width: 100%;
        min-width: 0;
    }

    html[lang="mr"] .table-responsive table {
        min-width: 520px;
    }
}


/* ==========================================================================
   MOBILE NAVIGATION, SOCIAL BAR ISOLATION & 320px-768px RESPONSIVE POLISH
   ========================================================================== */
html {
    scroll-padding-top: 84px;
    overflow-x: clip;
    max-width: 100%;
}

body {
    max-width: 100%;
    overflow-x: clip;
    font-size: 16px;
    line-height: 1.55;
}

html.mobile-nav-open,
body.mobile-nav-open {
    overflow: hidden !important;
}

body.mobile-nav-open #floatingQuickDock {
    pointer-events: none !important;
    opacity: 0.2 !important;
}

/* Hamburger / Close Icon Toggle (#navToggle) */
#navToggle,
.mobile-menu-toggle {
    min-width: 44px !important;
    min-height: 44px !important;
    width: 44px;
    height: 44px;
    padding: 0;
    display: none;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
    position: relative;
    z-index: 10002;
    cursor: pointer;
}

#navToggle .hamburger-close-icon,
.mobile-menu-toggle .hamburger-close-icon {
    display: none;
}

#navToggle[aria-expanded="true"] .hamburger-icon,
.mobile-menu-toggle[aria-expanded="true"] .hamburger-icon {
    display: none;
}

#navToggle[aria-expanded="true"] .hamburger-close-icon,
.mobile-menu-toggle[aria-expanded="true"] .hamburger-close-icon {
    display: block;
}

#navToggle:focus-visible,
.mobile-menu-toggle:focus-visible,
#socialToggle:focus-visible {
    outline: 2.5px solid #e8651a !important;
    outline-offset: 2px !important;
}

/* Backdrop Overlay */
#mobileNavOverlay,
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.56);
    backdrop-filter: blur(2px);
    z-index: 9995 !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.24s ease, visibility 0.24s ease;
}

#mobileNavOverlay.active,
#mobileNavOverlay.open,
.mobile-nav-overlay.active,
.mobile-nav-overlay.open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Mobile Drawer (#mainMenu) */
#mainMenu.mobile-nav-drawer,
.mobile-nav-drawer {
    position: fixed !important;
    top: var(--mobile-drawer-top, 64px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    z-index: 10001 !important;
    max-height: calc(100dvh - var(--mobile-drawer-top, 64px)) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-y !important;
    padding: 12px 16px calc(36px + env(safe-area-inset-bottom, 0px)) !important;
    box-sizing: border-box !important;
    transition: transform 0.25s ease, opacity 0.22s ease, visibility 0.22s ease;
}

#mainMenu .mobile-nav-close,
.mobile-nav-drawer .mobile-nav-close,
.mobile-nav-close {
    display: none !important;
}

#mainMenu .site-search-form,
.mobile-nav-drawer .site-search-form {
    width: 100% !important;
    max-width: 100% !important;
}

#mainMenu .site-search-form input.form-control,
.mobile-nav-drawer .site-search-form input.form-control {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 44px !important;
    font-size: 16px !important;
    box-sizing: border-box !important;
}

/* Rotating Accordion Chevrons inside #mainMenu */
#mainMenu .mobile-nav-group > summary.mobile-nav-heading,
#mainMenu .mobile-col-accordion > summary.mobile-col-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 44px;
    cursor: pointer;
    list-style: none;
}

#mainMenu .mobile-nav-group > summary.mobile-nav-heading::-webkit-details-marker,
#mainMenu .mobile-col-accordion > summary.mobile-col-summary::-webkit-details-marker {
    display: none;
}

#mainMenu .mobile-nav-group > summary.mobile-nav-heading::after,
#mainMenu .mobile-col-accordion > summary.mobile-col-summary::after {
    content: "";
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    margin-right: 4px;
}

#mainMenu .mobile-nav-group[open] > summary.mobile-nav-heading::after,
#mainMenu .mobile-col-accordion[open] > summary.mobile-col-summary::after {
    transform: rotate(-135deg);
}

#mainMenu .mobile-nav-list a,
#mainMenu .mobile-nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
}

/* Independent Social Media Bar (#socialBar / .social-bar) */
#socialBar.social-bar .social-fab-trigger-btn,
#socialBar.social-bar .social-fab-item {
    min-width: 44px;
    min-height: 44px;
    touch-action: manipulation;
}

#socialBar.social-bar:not(.is-open) .social-fab-menu {
    pointer-events: none;
    visibility: hidden;
}

#socialBar.social-bar.is-open .social-fab-menu {
    pointer-events: auto;
    visibility: visible;
}

@media (max-width: 900px) {
    #navToggle,
    .mobile-menu-toggle {
        display: inline-flex !important;
        flex-shrink: 0;
    }

    .main-nav {
        display: none !important;
    }

    .header-inner {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .brand-link {
        min-width: 0;
        flex: 1 1 auto;
    }

    .brand-text h1,
    .brand-title {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        line-height: 1.25;
        word-break: break-word;
    }
}

@media (max-width: 768px) {
    .container,
    main,
    section,
    .page-section {
        max-width: 100%;
    }

    img,
    video,
    iframe,
    canvas {
        max-width: 100%;
        height: auto;
    }

    .table-responsive,
    .table-scroll-wrap {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
    select,
    textarea {
        font-size: 16px !important;
        min-height: 44px;
        max-width: 100%;
    }

    .modal-dialog,
    .modal-content,
    .popup-card,
    .ticker-modal-content {
        max-width: calc(100vw - 24px) !important;
        max-height: calc(100dvh - 32px) !important;
        overflow-y: auto !important;
    }
}

@media (max-width: 480px) {
    .brand-logo,
    .header-logo-img {
        max-width: 44px !important;
        max-height: 44px !important;
    }

    .brand-subtitle {
        font-size: 0.68rem !important;
        line-height: 1.2 !important;
    }

    .brand-title,
    .brand-text h1 {
        font-size: 0.92rem !important;
    }

    .quick-actions-grid,
    .services-grid,
    .stats-grid,
    .footer-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    #mainMenu.mobile-nav-drawer,
    #mobileNavOverlay,
    #mainMenu .mobile-nav-group > summary::after,
    #mainMenu .mobile-col-accordion > summary::after {
        transition: none !important;
    }
}


/* ==========================================================================
   UNIFIED SPACING SYSTEM & RESPONSIVE QA (320px - 2560px)
   ========================================================================== */
:root {
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-6: 24px;
    --space-8: 32px;
    --space-12: 48px;
    --space-16: 64px;
    --container-max: 1240px;
}

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

html,
body {
    max-width: 100%;
    overflow-x: clip;
    font-size: 16px;
}

p {
    line-height: 1.6;
}

html[lang="mr"] p,
html[lang="mr"] li,
html[lang="mr"] td {
    line-height: 1.7;
}

h1, h2, h3, h4 {
    margin-top: 0;
    margin-bottom: var(--space-3);
    overflow-wrap: anywhere;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--space-4);
}

@media (min-width: 600px) {
    .container {
        padding-inline: var(--space-6);
    }
}

/* Consistent Section Vertical Rhythm & No Double Margins */
main > section,
.page-section {
    padding-block: var(--space-8);
    margin-block: 0;
}

@media (min-width: 1024px) {
    main > section,
    .page-section {
        padding-block: var(--space-12);
    }
}

/* Prevent Overflow on Long URLs, Marathi Words, Tables & Media */
main,
section,
article,
.card,
.panel-card,
.tp-portal-card,
.tp-detail-card,
.tp-detail-section {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.table-responsive,
.table-scroll-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Equal Card Heights in Grid Rows */
.services-grid,
.quick-actions-grid,
.stats-grid,
.tp-portal-grid,
.tp-links-grid,
.tp-kv-grid {
    display: grid;
    align-items: stretch;
    gap: var(--space-4);
}

@media (min-width: 768px) {
    .services-grid,
    .quick-actions-grid,
    .stats-grid,
    .tp-portal-grid,
    .tp-links-grid,
    .tp-kv-grid {
        gap: var(--space-6);
    }
}

/* Portal Detail Page (.tp-detail-*) */
.tp-portal-main-wrap {
    padding-top: var(--space-6);
    padding-bottom: var(--space-12);
}

.tp-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
    font-size: 0.9rem;
    color: #475569;
}

.tp-breadcrumb a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    color: #12294a;
    font-weight: 700;
    text-decoration: none;
}

.tp-detail-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    padding: var(--space-6);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
    max-width: 960px;
    margin-inline: auto;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .tp-detail-card {
        padding: var(--space-8);
    }
}

.tp-detail-section {
    padding: var(--space-4);
    margin-bottom: var(--space-4);
    border-radius: 12px;
}

@media (min-width: 768px) {
    .tp-detail-section {
        padding: var(--space-6);
        margin-bottom: var(--space-6);
    }
}

.tp-kv-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.tp-links-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}

.tp-useful-card {
    height: 100%;
    min-height: 44px;
    padding: var(--space-4);
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--space-2);
}

.tp-detail-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-3);
    padding-top: var(--space-4);
    border-top: 1px solid #e2e8f0;
}

.tp-detail-actions .btn,
.tp-detail-helpline-btns a {
    min-height: 44px;
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
}

.tp-detail-helpline-strip {
    margin-top: var(--space-6);
    padding: var(--space-4);
    background: #12294a;
    color: #ffffff;
    border-radius: 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
}

.tp-detail-helpline-btns {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.tp-detail-meta {
    margin-top: var(--space-4);
    padding: var(--space-3) var(--space-4);
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.85rem;
    color: #475569;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--space-2);
}

/* Mobile CTA & Form Full-Width + Floating Clearance */
@media (max-width: 599px) {
    .tp-detail-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .tp-detail-actions .btn,
    .tp-detail-helpline-btns,
    .tp-detail-helpline-btns a,
    .tp-detail-search-input,
    #tpCmsSearchInput {
        width: 100% !important;
        min-width: 0 !important;
    }

    .tp-detail-helpline-btns {
        flex-direction: column;
    }

    .site-footer {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
}

/* Z-Index & Edge Clearance for Floating Controls */
#floatingQuickDock {
    right: max(16px, env(safe-area-inset-right, 16px));
    bottom: max(16px, env(safe-area-inset-bottom, 16px));
    z-index: 9100;
}

#policeChatbotContainer {
    z-index: 9200;
}

.site-main-header {
    z-index: 10000 !important;
    overflow: visible !important;
}

@media (max-width: 375px) {
    .container {
        padding-inline: 12px !important;
    }

    .mobile-brand-identity .brand-emblem-ashoka,
    .mobile-brand-identity .brand-emblem-seal {
        height: 34px !important;
        width: auto !important;
    }

    input:not([type="checkbox"]):not([type="radio"]),
    select,
    textarea {
        max-width: 100% !important;
        font-size: 16px !important;
    }
}

/* Ultra-Wide Centering (2560px+) */
@media (min-width: 1600px) {
    .container,
    .site-footer .footer-grid {
        max-width: var(--container-max);
        margin-inline: auto;
    }
}

/* =============================================================================
   HERO SLIDE 1 RESTORATION: TRANSPARENT DESK CUTOUT, 1-ROW BUTTONS & ARROW CLEARANCE
   ============================================================================= */
.tp-hero-slider-wrap {
    position: relative !important;
    width: 100% !important;
    overflow: hidden !important;
}

.tp-hero-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    width: 200% !important;
}

.tp-hero-slide {
    flex: 0 0 50% !important;
    width: 50% !important;
    max-width: 50% !important;
    overflow: hidden !important;
}

/* Tablet & Desktop (>= 768px): Clear gutter for slider arrows + 1-row action buttons */
@media (min-width: 768px) {
    .tp-slider-prev {
        left: 14px !important;
    }
    .tp-slider-next {
        right: 14px !important;
    }
    #heroSlide1 .fp-hero-container {
        padding-left: 72px !important;
        padding-right: 72px !important;
        box-sizing: border-box !important;
    }
    #heroSlide1 .fp-actions-row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 10px !important;
        width: auto !important;
    }
    #heroSlide1 .fp-actions-row .fp-btn,
    #heroSlide1 .fp-actions-row .fp-btn-emergency,
    #heroSlide1 .fp-actions-row .fp-btn-cyber,
    #heroSlide1 .fp-actions-row .fp-btn-glass {
        flex: 0 0 auto !important;
        width: auto !important;
        white-space: nowrap !important;
        padding: 11px 16px !important;
        font-size: 0.84rem !important;
    }
}

/* Mobile (< 768px): Compact arrows & clear heading gutter */
@media (max-width: 767px) {
    .tp-slider-nav {
        width: 34px !important;
        height: 34px !important;
    }
    .tp-slider-prev {
        left: 8px !important;
    }
    .tp-slider-next {
        right: 8px !important;
    }
    #heroSlide1 .fp-hero-container {
        padding-left: 48px !important;
        padding-right: 48px !important;
        box-sizing: border-box !important;
    }
    #heroSlide1 .fp-actions-row {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        width: 100% !important;
    }
}


/* ==========================================================================
   MOBILE MENU & VIEWPORT STABILITY ENHANCEMENTS
   ========================================================================== */
html,
body {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

.top-emergency-bar,
.top-bar-emergency-tier,
.top-bar-emergency-inner,
.tp-hl-ticker-bar,
.tp-hl-ticker-inner,
.site-main-header,
.site-header {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.top-bar-emergency-inner,
.tp-hl-ticker-inner {
    overflow: hidden !important;
    min-width: 0 !important;
}

.emergency-marquee-wrap {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

.tp-hl-ticker-viewport {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

#mobileNavOverlay,
.mobile-nav-overlay {
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: rgba(10, 25, 47, 0.65) !important;
    backdrop-filter: blur(3px) !important;
    -webkit-backdrop-filter: blur(3px) !important;
    z-index: 9998 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.22s ease, visibility 0.22s ease !important;
}

#mobileNavOverlay.active,
#mobileNavOverlay.open,
.mobile-nav-overlay.active,
.mobile-nav-overlay.open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

#mainMenu.mobile-nav-drawer,
.mobile-nav-drawer {
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
}

#mainMenu .site-search-form,
.mobile-nav-drawer .site-search-form,
#mainMenu .mobile-nav-list,
.mobile-nav-drawer .mobile-nav-list,
#mainMenu .mobile-nav-group,
.mobile-nav-drawer .mobile-nav-group,
#mainMenu .mobile-nav-col-list,
.mobile-nav-drawer .mobile-nav-col-list,
#mainMenu .mobile-col-accordion,
.mobile-nav-drawer .mobile-col-accordion {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

@media (min-width: 1024px) {
    #navToggle,
    .mobile-menu-toggle {
        display: none !important;
    }
    #mainMenu.mobile-nav-drawer,
    .mobile-nav-drawer,
    #mobileNavOverlay,
    .mobile-nav-overlay {
        display: none !important;
        visibility: hidden !important;
    }
    .nav-desktop {
        display: flex !important;
    }
}
