:root{--navy:#071426;--navy2:#0d213d;--blue:#1479d4;--sky:#4bc3ff;--gold:#d9a441;--paper:#f4f7fb;--ink:#132238;--muted:#718096;--red:#e23b3b;--green:#28c76f;--line:#dfe7f1;--terminal:#0a1320;--panel:#111f31}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;background:var(--paper);color:var(--ink)}a{text-decoration:none;color:inherit}.topline{height:34px;background:#020914;color:#c9d7e8;padding:0 5%;display:flex;align-items:center;justify-content:space-between;font-size:12px;border-bottom:1px solid #203858}.topline b{background:var(--red);padding:2px 7px;border-radius:4px;color:white}header{height:78px;background:rgba(255,255,255,.96);display:flex;align-items:center;justify-content:space-between;padding:0 5%;position:sticky;top:0;z-index:20;box-shadow:0 8px 30px rgba(6,20,38,.08);backdrop-filter:blur(12px)}.brand{display:flex;gap:12px;align-items:center}.brand strong{display:block;letter-spacing:.06em}.brand small{display:block;color:var(--muted);margin-top:3px}.seal,.bigseal{display:grid;place-items:center;border-radius:50%;background:radial-gradient(circle at 35% 30%,#1d4f87,#071426 70%);color:#fff;border:2px solid var(--gold);box-shadow:0 0 0 4px rgba(217,164,65,.12);font-weight:900;letter-spacing:.06em}.seal{width:50px;height:50px;font-size:12px}nav{display:flex;gap:20px;align-items:center;font-weight:700;font-size:13px;text-transform:uppercase}nav a{padding:10px 0;position:relative}nav a:not(.portal):after{content:"";position:absolute;height:2px;left:0;right:100%;bottom:3px;background:var(--gold);transition:.2s}nav a:hover:after{right:0}.portal{background:var(--navy);color:white;padding:11px 16px;border-radius:8px;border:1px solid var(--gold)}.hero{min-height:610px;background:linear-gradient(90deg,rgba(3,12,25,.94) 0%,rgba(4,20,39,.78) 48%,rgba(4,18,35,.35) 100%),url('https://images.unsplash.com/photo-1594736797933-d0501ba2fe65?auto=format&fit=crop&w=1800&q=86') center/cover;position:relative;display:flex;align-items:center;padding:70px 8%;overflow:hidden}.hero:after{content:"";position:absolute;inset:auto 0 0;height:140px;background:linear-gradient(transparent,var(--paper))}.hero-glow{position:absolute;width:600px;height:600px;background:radial-gradient(circle,rgba(20,121,212,.18),transparent 65%);left:0;top:0}.hero-content{max-width:820px;color:white;position:relative;z-index:2}.eyebrow,.section-head>span,.pagehero>span{font-size:12px;font-weight:900;letter-spacing:.24em;color:var(--gold)}.hero h1{font-size:clamp(48px,7vw,92px);line-height:.88;margin:18px 0 26px;letter-spacing:-.045em}.hero h1 em{font-style:normal;color:transparent;-webkit-text-stroke:1.5px #fff}.hero p{font-size:18px;max-width:600px;color:#ccd9e8}.actions{display:flex;gap:12px;margin-top:30px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 20px;border:0;border-radius:8px;font-weight:900;letter-spacing:.04em;cursor:pointer}.gold{background:var(--gold);color:#071426}.ghost{border:1px solid rgba(255,255,255,.5);color:#fff;background:rgba(255,255,255,.07)}.blue{background:var(--sky);color:#04121f}.red{background:var(--red);color:#fff}.discord{background:#5865f2;color:white}.hero-badge{position:absolute;right:9%;bottom:110px;color:white;text-align:center;border:1px solid rgba(255,255,255,.25);padding:20px 28px;border-radius:16px;backdrop-filter:blur(8px);z-index:3}.hero-badge div{font-size:34px;font-weight:900}.hero-badge small{letter-spacing:.16em}.quick{max-width:1200px;margin:-72px auto 70px;position:relative;z-index:8;display:grid;grid-template-columns:repeat(4,1fr);gap:14px;padding:0 20px}.quick a{background:white;border-radius:14px;padding:22px;box-shadow:0 15px 45px rgba(8,25,47,.12);border-top:4px solid var(--navy);transition:.2s}.quick a:hover{transform:translateY(-5px);border-top-color:var(--gold)}.quick b,.quick span{display:block}.quick span{font-size:13px;color:var(--muted);margin-top:7px}.wrap{max-width:1200px;margin:0 auto;padding:55px 22px}.narrow{max-width:820px}.section-head{margin-bottom:30px}.section-head h2{font-size:38px;margin:7px 0}.section-head p{color:var(--muted)}.cards,.unitgrid,.newsgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.officer-card,.unit,.newsgrid article,.feature,.panel.light{background:white;border:1px solid var(--line);border-radius:14px;box-shadow:0 10px 35px rgba(8,25,47,.07)}.officer-card{display:flex;align-items:center;gap:16px;padding:18px}.avatar{width:54px;height:54px;border-radius:10px;background:linear-gradient(145deg,var(--navy2),var(--blue));display:grid;place-items:center;color:white;font-size:22px;font-weight:900}.officer-card small{color:var(--gold);font-weight:800}.officer-card h3{margin:4px 0}.officer-card p{margin:0;color:var(--muted);font-size:13px}.status{font-size:11px;color:#15955b;font-weight:900}.numbers{background:var(--navy);color:white;display:grid;grid-template-columns:repeat(4,1fr);padding:45px 8%;margin-top:40px}.numbers div{text-align:center;border-right:1px solid #24415f}.numbers div:last-child{border:0}.numbers strong,.numbers span{display:block}.numbers strong{font-size:35px;color:var(--gold)}.numbers span{font-size:12px;letter-spacing:.1em;color:#aac0d9}.pagehero{background:linear-gradient(rgba(5,18,34,.9),rgba(5,18,34,.9)),url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&w=1600&q=80') center/cover;color:white;padding:75px 20px;text-align:center}.dangerhero{background:linear-gradient(rgba(40,4,8,.82),rgba(5,18,34,.9)),url('https://images.unsplash.com/photo-1541872703-74c5e44368f9?auto=format&fit=crop&w=1600&q=80') center/cover}.pagehero h1{font-size:44px;margin:8px}.pagehero p{color:#bfd0e1}.unit{padding:25px;position:relative;overflow:hidden}.unit>div{font-size:35px}.unit h3{margin-bottom:8px}.unit p{color:var(--muted);min-height:65px}.unit span{font-size:10px;color:#15955b;font-weight:900}.feature{display:grid;grid-template-columns:1.2fr 1fr;overflow:hidden;margin-bottom:24px}.feature-img{min-height:300px;background:url('https://images.unsplash.com/photo-1589578527966-fdac0f44566c?auto=format&fit=crop&w=1200&q=80') center/cover}.feature>div:last-child{padding:35px}.redtag{background:rgba(226,59,59,.15);color:#ff6b6b;border:1px solid rgba(226,59,59,.35);padding:4px 8px;border-radius:5px;font-size:11px;font-weight:900}.newsgrid article{padding:22px}.newsgrid small{color:var(--gold);font-weight:800}.newsgrid p{color:var(--muted)}.panel.light{padding:30px}.check{list-style:none;padding:0}.check li{padding:13px 0;border-bottom:1px dashed var(--line)}.check li:before{content:"✓";color:var(--gold);font-weight:900;margin-right:10px}.discordbox{text-align:center;background:#eef2ff;padding:30px;border-radius:12px;margin-top:30px}.discordbox b{font-size:22px}.form{display:grid;gap:15px}.form label{display:grid;gap:7px;font-size:12px;font-weight:900;letter-spacing:.06em}.form input,.form select,.form textarea,.loginbox input,.terminal input,.terminal select,.terminal textarea{width:100%;padding:13px;border-radius:7px;border:1px solid #cfd9e5;background:white;font:inherit}.warning{background:#fff0f0;color:#b32121;border-left:4px solid var(--red);padding:13px}.flashwrap{position:fixed;right:18px;top:125px;z-index:99}.flash{padding:12px 15px;border-radius:8px;margin:8px;background:#12253b;color:white;border:1px solid #36597c}.flash.success{border-color:#28c76f}.flash.danger{border-color:#ef4444}.secure{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at 50% 20%,#173858,#050b13 62%);color:white;padding:20px}.loginbox{width:min(430px,100%);background:rgba(10,19,32,.9);border:1px solid #284461;padding:38px;border-radius:18px;box-shadow:0 30px 80px rgba(0,0,0,.45);text-align:center}.bigseal{width:90px;height:90px;margin:0 auto 22px}.loginbox h1{margin:10px}.loginbox p{color:#8fa6bd}.loginbox form{display:grid;gap:12px;margin:25px 0}.loginbox input{background:#08111d;border-color:#29445f;color:white}.loginbox>a{font-size:12px;color:#88a3bc}.mdtbody{margin:0;background:var(--terminal);color:#e9f1fa;display:flex;min-height:100vh;font-family:Consolas,Segoe UI,sans-serif}.sidebar{width:245px;background:#060d16;border-right:1px solid #21344a;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0}.mdtbrand{padding:24px;border-bottom:1px solid #21344a}.mdtbrand b,.mdtbrand small{display:block}.mdtbrand b{color:var(--sky)}.mdtbrand small{font-size:10px;color:#6d8298;margin-top:6px}.sidebar>a,.sidefoot a{padding:14px 20px;color:#879caf;border-left:3px solid transparent}.sidebar>a:hover{background:#101d2c;color:white;border-left-color:var(--sky)}.sidefoot{margin-top:auto;display:grid;border-top:1px solid #21344a}.mdtmain{margin-left:245px;min-width:0;flex:1}.mdttop{height:70px;background:#101c2b;border-bottom:1px solid #24364a;display:flex;align-items:center;justify-content:space-between;padding:0 25px;position:sticky;top:0;z-index:4}.mdttop small,.mdttop b{display:block}.mdttop small{color:#71869a;font-size:9px}.online{color:var(--green);font-size:12px}.mdtwrap{padding:24px}.mdtstats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.mdtstats>div,.terminal{background:linear-gradient(145deg,#111f31,#0d1927);border:1px solid #263b52;border-radius:10px;padding:18px;box-shadow:inset 0 1px rgba(255,255,255,.02)}.mdtstats small,.mdtstats strong{display:block}.mdtstats small{color:#758aa0;text-transform:uppercase;font-size:10px}.mdtstats strong{font-size:30px;color:var(--sky);margin-top:5px}.mdtgrid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px}.terminal h3{font-size:13px;color:var(--sky);letter-spacing:.08em;border-bottom:1px solid #263b52;padding-bottom:10px;margin-top:0}.terminal p{color:#8ea2b5}.terminal form:not(.inline){display:flex;gap:10px}.terminal input,.terminal select,.terminal textarea{background:#08121e;border-color:#2b4158;color:#ecf5ff}.terminal table{width:100%;border-collapse:collapse;font-size:12px}.terminal th,.terminal td{border:1px solid #26394d;padding:10px;text-align:left}.terminal th{background:#07111d;color:var(--sky)}.personnelgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:15px}.personnelgrid article{background:#08121e;border:1px solid #263b52;border-radius:8px;padding:15px}.personnelgrid article p,.personnelgrid article small{color:#8297ac}.profilegrid{display:grid;grid-template-columns:310px 1fr;gap:18px;margin-top:18px}.profile{text-align:center}.huge{width:125px;height:125px;margin:0 auto 15px;font-size:48px}.tag{display:inline-block;padding:4px 7px;border-radius:5px;font-size:10px;font-weight:900;margin:3px}.green{color:#42e68c;border:1px solid #2ba662;background:rgba(43,166,98,.12)}dl{display:grid;grid-template-columns:1fr 1fr;text-align:left;margin-top:20px}dt,dd{padding:9px;border-bottom:1px solid #26394d;margin:0}dt{color:#71869a}.darkform{display:grid!important}.darkform label{display:grid;gap:6px;color:#8fa4b8}.inline{display:inline}.inline button,.dangerbtn{background:#223449;color:white;border:1px solid #39536e;padding:6px 8px;border-radius:4px;cursor:pointer}.dangerbtn{border-color:#813b43;color:#ff8c98}.log{padding:10px 0;border-bottom:1px solid #26394d}.log b,.log small{display:block}.log small{color:#71869a;font-size:10px}.log p{margin:5px 0}.section-head.dark h2{color:white}.empty,.error{text-align:center;padding:40px}.error strong{font-size:90px;color:var(--gold)}footer{background:#050d17;color:#8da0b3;display:flex;justify-content:space-between;padding:35px 7%;font-size:13px;border-top:1px solid #1f354c}footer b{color:white}@media(max-width:980px){header{height:auto;padding:12px 4%;align-items:flex-start}nav{display:none}.hero{min-height:530px}.hero-badge{display:none}.quick,.cards,.unitgrid,.newsgrid{grid-template-columns:repeat(2,1fr)}.feature{grid-template-columns:1fr}.mdtstats,.personnelgrid{grid-template-columns:repeat(2,1fr)}.profilegrid{grid-template-columns:1fr}}@media(max-width:700px){.topline{font-size:9px}.quick,.cards,.unitgrid,.newsgrid,.numbers,.mdtstats,.mdtgrid{grid-template-columns:1fr}.quick{margin-top:-45px}.hero h1{font-size:48px}.sidebar{width:72px}.sidebar a{font-size:0;padding:17px}.sidebar a:first-letter{font-size:18px}.mdtbrand small{display:none}.mdtbrand b{font-size:0}.mdtbrand b:first-letter{font-size:20px}.mdtmain{margin-left:72px}.mdttop{padding:0 12px}.mdtwrap{padding:12px}.personnelgrid{grid-template-columns:1fr}.terminal{overflow:auto}.feature-img{min-height:220px}footer{display:block}.numbers div{border:0;border-bottom:1px solid #24415f;padding:15px}}

/* About page */
.about-hero{background:linear-gradient(rgba(5,18,34,.88),rgba(5,18,34,.88)),url('https://images.unsplash.com/photo-1541872703-74c5e44368f9?auto=format&fit=crop&w=1600&q=80') center/cover}.about-wrap{margin-top:-26px;position:relative;z-index:5}.about-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:24px}.about-stats article{background:white;border:1px solid var(--line);border-bottom:4px solid var(--gold);border-radius:14px;padding:22px;text-align:center;box-shadow:0 14px 35px rgba(8,25,47,.09)}.about-stats strong,.about-stats span{display:block}.about-stats strong{font-size:30px;color:var(--navy)}.about-stats span{font-size:11px;color:var(--muted);font-weight:800;letter-spacing:.08em;text-transform:uppercase;margin-top:5px}.about-story-pro{display:grid;grid-template-columns:1fr 1fr;gap:34px;background:white;border:1px solid var(--line);border-radius:18px;padding:38px;box-shadow:0 18px 55px rgba(8,25,47,.08);align-items:center}.about-story-pro h2{font-size:36px;margin:10px 0 16px;color:var(--navy)}.about-story-pro p{color:var(--muted);line-height:1.8}.about-image{min-height:350px;border-radius:14px;background:linear-gradient(rgba(6,22,40,.18),rgba(6,22,40,.18)),url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&w=1000&q=82') center/cover;box-shadow:0 14px 35px rgba(7,20,38,.18)}.about-pillars{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:24px 0}.about-pillars article{background:white;border:1px solid var(--line);border-top:4px solid var(--navy);border-radius:14px;padding:26px;box-shadow:0 12px 32px rgba(8,25,47,.06)}.about-pillars article>div{font-size:30px}.about-pillars h3{margin:12px 0 8px;color:var(--navy)}.about-pillars p{margin:0;color:var(--muted);line-height:1.7}.chief-message{display:flex;align-items:center;gap:24px;background:linear-gradient(135deg,var(--navy),#133e6c);color:white;border-radius:18px;padding:30px 34px;box-shadow:0 18px 50px rgba(5,18,34,.18)}.chief-mark{flex:0 0 94px;width:94px;height:94px;border-radius:50%;display:grid;place-items:center;border:3px solid var(--gold);font-weight:900;letter-spacing:.08em;background:radial-gradient(circle at 35% 30%,#1d4f87,#071426 70%)}.chief-message blockquote{margin:8px 0 10px;color:#dce8f4;font-size:16px;line-height:1.7;font-style:italic}.chief-message cite{font-style:normal;color:var(--gold);font-weight:800;font-size:13px}@media(max-width:980px){.about-stats,.about-pillars{grid-template-columns:repeat(2,1fr)}.about-story-pro{grid-template-columns:1fr}.about-image{min-height:280px}}@media(max-width:700px){.about-stats,.about-pillars{grid-template-columns:1fr}.about-story-pro{padding:24px}.about-story-pro h2{font-size:28px}.chief-message{align-items:flex-start;flex-direction:column}.chief-mark{width:76px;height:76px;flex-basis:76px}}


/* ================================
   HERO BACKGROUND VIDEO
================================ */

.hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.hero-video {
    position: absolute;
    inset: 0;
    z-index: -3;
    overflow: hidden;
    background: #07111d;
}

.hero-video iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;

    min-width: 177.78vh;
    min-height: 100%;

    transform: translate(-50%, -50%) scale(1.02);

    border: 0;
    pointer-events: none;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;

    background:
        linear-gradient(
            90deg,
            rgba(4, 13, 23, 0.96) 0%,
            rgba(4, 13, 23, 0.88) 30%,
            rgba(4, 13, 23, 0.58) 60%,
            rgba(4, 13, 23, 0.32) 100%
        ),
        linear-gradient(
            0deg,
            rgba(5, 13, 23, 0.78) 0%,
            rgba(5, 13, 23, 0.05) 45%,
            rgba(5, 13, 23, 0.15) 100%
        );
}

.hero-glow {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;

    background:
        radial-gradient(
            circle at 85% 45%,
            rgba(224, 169, 53, 0.18),
            transparent 35%
        );
}

.hero-content,
.hero-status {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {

    .hero-video iframe {
        width: 177.78vh;
        height: 100vh;
        min-width: 100%;
        min-height: 56.25vw;
    }

}

.command-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.command-section .section-head {
    max-width: 760px;
    margin-bottom: 35px;
}

.command-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 24px;
}

.command-card {
    background: #ffffff;
    border: 1px solid #dbe3ec;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(8, 24, 45, 0.07);
}

.command-main {
    padding: 38px;
    position: relative;
    overflow: hidden;
}

.command-main::before {
    content: "LSPD";
    position: absolute;
    right: -15px;
    bottom: -55px;
    font-size: 160px;
    font-weight: 900;
    color: rgba(8, 31, 59, 0.025);
    pointer-events: none;
}

.command-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #d69b2d;
    margin-bottom: 14px;
}

.command-main h3 {
    color: #071d36;
    font-size: 28px;
    line-height: 1.25;
    margin-bottom: 18px;
}

.command-main p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 14px;
}

.command-signature {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.command-signature strong {
    display: block;
    color: #071d36;
    font-size: 13px;
    letter-spacing: .8px;
}

.command-signature span {
    display: block;
    color: #94a3b8;
    font-size: 12px;
    margin-top: 4px;
}

.official-seal {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    border: 2px solid #d6a033;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #071d36;
    font-weight: 900;
    font-size: 13px;
}

.command-side {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.command-info-card {
    background: #071d36;
    color: #fff;
    border-radius: 12px;
    padding: 22px;
    display: flex;
    gap: 16px;
    align-items: center;
    min-height: 115px;
    border-left: 4px solid #d6a033;
}

.command-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(255,255,255,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    flex-shrink: 0;
}

.command-info-card span {
    display: block;
    color: #d6a033;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
}

.command-info-card strong {
    display: block;
    font-size: 15px;
    margin-bottom: 3px;
}

.command-info-card small {
    display: block;
    color: #9baabd;
    font-size: 11px;
    line-height: 1.5;
}

.department-stats {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border-radius: 12px;
    border: 1px solid #dbe3ec;
    overflow: hidden;
}

.department-stats > div {
    padding: 24px;
    text-align: center;
    border-right: 1px solid #e6ebf1;
}

.department-stats > div:last-child {
    border-right: 0;
}

.department-stats span {
    display: block;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.department-stats strong {
    display: block;
    color: #071d36;
    font-size: 24px;
    margin: 5px 0;
}

.department-stats small {
    color: #64748b;
    font-size: 11px;
}

.department-stats .status-active {
    color: #15803d;
}

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

    .department-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .department-stats {
        grid-template-columns: 1fr;
    }
}



/* ================================
   COMMAND SECTION VISUAL UPGRADE V2
================================ */

.command-section {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    padding: 90px 36px 40px;
    margin-top: 10px;
    background:
        linear-gradient(135deg, rgba(5, 18, 33, 0.88), rgba(7, 24, 43, 0.74)),
        url('https://upload.wikimedia.org/wikipedia/commons/thumb/9/97/White_House_north_side.jpg/1280px-White_House_north_side.jpg') center/cover no-repeat;
    box-shadow: 0 18px 50px rgba(6, 22, 41, 0.12);
}

.command-section::before {
    content: "LSPD  •  LOS SANTOS POLICE DEPARTMENT  •  LSPD  •  FORENSIC DIVISION  •  LSPD  •  LOS SANTOS POLICE DEPARTMENT";
    position: absolute;
    left: 28px;
    right: 28px;
    top: 125px;
    font-size: 64px;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: 6px;
    color: rgba(255,255,255,0.05);
    pointer-events: none;
    z-index: 0;
    text-transform: uppercase;
    white-space: normal;
}

.crime-tape,
.command-section .section-head,
.command-grid,
.department-stats {
    position: relative;
    z-index: 2;
}

.crime-tape {
    display: inline-block;
    background: #f3c64d;
    color: #0a1c32;
    font-weight: 900;
    font-size: 12px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    padding: 12px 22px;
    border-radius: 6px;
    border: 2px solid rgba(10, 28, 50, 0.18);
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
}

.crime-tape-top {
    transform: rotate(-3deg);
    margin-bottom: 30px;
}

.command-section .section-head span {
    color: #f0be55;
}

.command-section .section-head h2 {
    color: #ffffff;
}

.command-section .section-head p {
    color: rgba(255,255,255,0.82);
    max-width: 760px;
}

.command-card {
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.55);
    box-shadow: 0 14px 35px rgba(0,0,0,0.12);
}

.command-main::before {
    color: rgba(8, 31, 59, 0.05);
}

.command-main h3 {
    color: #071d36;
}

.command-main p {
    color: #5f7289;
}

.command-signature {
    border-top: 1px solid rgba(10, 28, 50, 0.10);
}

.official-seal {
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

.command-info-card {
    background: rgba(5, 30, 58, 0.92);
    backdrop-filter: blur(8px);
    border-left: 4px solid #d6a033;
    box-shadow: 0 14px 30px rgba(0,0,0,0.18);
}

.department-stats {
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.55);
    box-shadow: 0 14px 35px rgba(0,0,0,0.10);
}

.department-stats span {
    color: #8092a8;
}

.department-stats strong {
    color: #071d36;
}

.department-stats small {
    color: #5f7289;
}

.department-stats .status-active {
    color: #12803a;
}

@media (max-width: 900px) {
    .command-section {
        padding: 80px 20px 30px;
    }

    .command-section::before {
        font-size: 38px;
        top: 135px;
        letter-spacing: 3px;
    }

    .crime-tape {
        font-size: 10px;
        padding: 10px 14px;
    }
}

@media (max-width: 520px) {
    .command-section::before {
        font-size: 28px;
    }
}




/* =====================================
   COMMAND SECTION VISUAL UPGRADE V3
===================================== */

.wrap.command-section.command-section-v3 {
    width: min(1480px, calc(100% - 24px));
    max-width: min(1480px, calc(100% - 24px));
    margin: 24px auto 40px;
}

.command-section.command-section-v3 {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 82px 34px 34px;
    background:
        radial-gradient(circle at 12% 18%, rgba(255,255,255,0.06), transparent 20%),
        radial-gradient(circle at 85% 22%, rgba(214,160,51,0.10), transparent 24%),
        radial-gradient(circle at 50% 85%, rgba(255,255,255,0.04), transparent 25%),
        linear-gradient(135deg, #203247 0%, #36495e 52%, #5d6f83 100%);
    box-shadow: 0 18px 45px rgba(10, 24, 39, 0.14);
}

.command-section.command-section-v3::before {
    content: "LSPD • LOS SANTOS POLICE • DEPARTMENT • LSPD • FORENSIC DIVISION • LSPD • COMMAND • OPERATIONS";
    position: absolute;
    left: 26px;
    right: 26px;
    top: 108px;
    font-size: 64px;
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: 4px;
    color: rgba(255,255,255,0.045);
    text-transform: uppercase;
    pointer-events: none;
    z-index: 0;
}

.command-section.command-section-v3::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 34px 34px;
    opacity: 0.18;
    pointer-events: none;
    z-index: 0;
}

.command-section.command-section-v3 .crime-tape,
.command-section.command-section-v3 .section-head,
.command-section.command-section-v3 .command-ribbon-grid,
.command-section.command-section-v3 .command-grid,
.command-section.command-section-v3 .command-lower-grid,
.command-section.command-section-v3 .department-stats {
    position: relative;
    z-index: 2;
}

.command-section.command-section-v3 .crime-tape {
    display: inline-block;
    background: #f0c550;
    color: #0b1c30;
    font-weight: 900;
    font-size: 12px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    padding: 12px 22px;
    border-radius: 6px;
    border: 2px solid rgba(11, 28, 48, 0.15);
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

.command-section.command-section-v3 .crime-tape-top {
    transform: rotate(-2deg);
    margin-bottom: 26px;
}

.command-section.command-section-v3 .section-head {
    max-width: 900px;
    margin-bottom: 24px;
}

.command-section.command-section-v3 .section-head span {
    color: #f0c550;
}

.command-section.command-section-v3 .section-head h2 {
    color: #ffffff;
    font-size: 58px;
    line-height: 1.02;
    margin-bottom: 10px;
}

.command-section.command-section-v3 .section-head p {
    color: rgba(255,255,255,0.88);
    font-size: 19px;
    line-height: 1.65;
    max-width: 920px;
}

.command-ribbon-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin: 0 0 26px 0;
}

.command-ribbon-card {
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.16);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 10px 26px rgba(0,0,0,0.14);
}

.command-ribbon-card span {
    display: block;
    color: #f0c550;
    font-size: 11px;
    letter-spacing: 1.6px;
    font-weight: 800;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.command-ribbon-card strong {
    display: block;
    color: #ffffff;
    font-size: 21px;
    margin-bottom: 4px;
}

.command-ribbon-card small {
    display: block;
    color: rgba(255,255,255,0.78);
    font-size: 13px;
    line-height: 1.5;
}

.command-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 22px;
    margin-bottom: 22px;
}

.command-card {
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(255,255,255,0.60);
    border-radius: 18px;
    box-shadow: 0 14px 35px rgba(0,0,0,0.12);
}

.command-main {
    padding: 36px;
    position: relative;
    overflow: hidden;
}

.command-main::before {
    content: "LSPD";
    position: absolute;
    right: 16px;
    bottom: -38px;
    font-size: 132px;
    font-weight: 900;
    color: rgba(8, 31, 59, 0.035);
    pointer-events: none;
}

.command-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #d69b2d;
    margin-bottom: 16px;
}

.command-main h3 {
    color: #071d36;
    font-size: 27px;
    line-height: 1.28;
    margin-bottom: 18px;
}

.command-main p {
    color: #64748b;
    font-size: 16px;
    line-height: 1.85;
    margin-bottom: 14px;
}

.command-signature {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.command-signature strong {
    display: block;
    color: #071d36;
    font-size: 14px;
    letter-spacing: .6px;
}

.command-signature span {
    display: block;
    color: #94a3b8;
    font-size: 12px;
    margin-top: 4px;
}

.official-seal {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: 2px solid #d6a033;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #071d36;
    font-weight: 900;
    font-size: 14px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

.command-side {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.command-info-card {
    background: rgba(5, 30, 58, 0.94);
    color: #fff;
    border-radius: 16px;
    padding: 22px;
    display: flex;
    gap: 16px;
    align-items: center;
    min-height: 115px;
    border-left: 4px solid #d6a033;
    box-shadow: 0 14px 30px rgba(0,0,0,0.18);
}

.command-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255,255,255,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.command-info-card span {
    display: block;
    color: #d6a033;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 5px;
}

.command-info-card strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

.command-info-card small {
    display: block;
    color: #a7b6c8;
    font-size: 12px;
    line-height: 1.5;
}

.command-lower-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 22px;
}

.command-lower-card {
    background: rgba(255,255,255,0.94);
    border: 1px solid rgba(255,255,255,0.55);
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.10);
    min-height: 210px;
}

.lower-card-title {
    color: #071d36;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 1.3px;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.command-lower-card ul {
    margin: 0;
    padding-left: 18px;
}

.command-lower-card li {
    color: #64748b;
    margin-bottom: 10px;
    line-height: 1.7;
    font-size: 14px;
}

.command-lower-card p {
    color: #64748b;
    line-height: 1.8;
    font-size: 14px;
}

.department-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: rgba(255,255,255,0.95);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.60);
    overflow: hidden;
    box-shadow: 0 14px 35px rgba(0,0,0,0.10);
}

.department-stats > div {
    padding: 24px;
    text-align: center;
    border-right: 1px solid #e6ebf1;
}

.department-stats > div:last-child {
    border-right: 0;
}

.department-stats span {
    display: block;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.department-stats strong {
    display: block;
    color: #071d36;
    font-size: 24px;
    margin: 6px 0;
}

.department-stats small {
    color: #64748b;
    font-size: 12px;
}

.department-stats .status-active {
    color: #15803d;
}

.numbers {
    display: none !important;
}

@media (max-width: 1200px) {
    .command-ribbon-grid,
    .command-lower-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 900px) {
    .wrap.command-section.command-section-v3 {
        width: min(100%, calc(100% - 16px));
        max-width: min(100%, calc(100% - 16px));
    }

    .command-section.command-section-v3 {
        padding: 70px 18px 24px;
    }

    .command-section.command-section-v3::before {
        font-size: 34px;
        top: 120px;
    }

    .command-section.command-section-v3 .section-head h2 {
        font-size: 40px;
    }

    .command-section.command-section-v3 .section-head p {
        font-size: 16px;
    }

    .command-ribbon-grid,
    .command-lower-grid,
    .department-stats {
        grid-template-columns: 1fr;
    }
}


/* ===== COMMAND SECTION WIDTH + CLEAN BACKGROUND FIX ===== */

.wrap.command-section.command-section-v3 {
    width: calc(100% - 8px) !important;
    max-width: calc(100% - 8px) !important;
    margin: 8px auto 40px !important;
}

.command-section.command-section-v3 {
    padding: 82px 22px 34px !important;
}

.command-section.command-section-v3::before {
    content: none !important;
    display: none !important;
}

.command-section.command-section-v3 .section-head {
    max-width: 1100px !important;
}

.command-section.command-section-v3 .section-head h2 {
    font-size: 64px !important;
}

.command-section.command-section-v3 .section-head p {
    max-width: 1100px !important;
}

@media (max-width: 900px) {
    .wrap.command-section.command-section-v3 {
        width: calc(100% - 6px) !important;
        max-width: calc(100% - 6px) !important;
        margin: 6px auto 20px !important;
    }

    .command-section.command-section-v3 {
        padding: 68px 14px 24px !important;
    }

    .command-section.command-section-v3 .section-head h2 {
        font-size: 42px !important;
    }
}

/* ===== GLOBAL LSPD LOGO REPLACEMENT ===== */

.seal,
.bigséal,
.bigseal,
.official-seal {
    background-image: url('/static/img/lspd-arma.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;

    color: transparent !important;
    font-size: 0 !important;
    text-indent: -9999px !important;
    overflow: hidden !important;

    border: none !important;
    box-shadow: none !important;
}

/* Header logo */
.seal {
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    min-height: 58px !important;
    border-radius: 50% !important;
    background-color: transparent !important;
}

/* Login / portal large logo */
.bigseal {
    width: 120px !important;
    height: 120px !important;
    min-width: 120px !important;
    min-height: 120px !important;
    margin: 0 auto 22px !important;
    border-radius: 50% !important;
    background-color: transparent !important;
}

/* Content / command section seal */
.official-seal {
    width: 82px !important;
    height: 82px !important;
    min-width: 82px !important;
    min-height: 82px !important;
    border-radius: 50% !important;
    background-color: transparent !important;
}

/* Header brand alignment */
.brand {
    gap: 14px !important;
    align-items: center !important;
}

.brand strong {
    font-size: 18px !important;
}

.brand small {
    font-size: 13px !important;
    margin-top: 4px !important;
}

@media (max-width: 700px) {
    .seal {
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        min-height: 48px !important;
    }

    .bigseal {
        width: 95px !important;
        height: 95px !important;
        min-width: 95px !important;
        min-height: 95px !important;
    }

    .official-seal {
        width: 68px !important;
        height: 68px !important;
        min-width: 68px !important;
        min-height: 68px !important;
    }
}

/* ===== GLOBAL ROLEPLAY DISCLAIMER FOOTER ===== */

.site-footer {
    display: block !important;
    background: #050d17;
    color: #8da0b3;
    padding: 0 !important;
    border-top: 1px solid #1f354c;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 34px 7% 26px;
    font-size: 13px;
}

.footer-main b {
    color: #ffffff;
}

.footer-main p {
    margin: 8px 0 0;
}

.rp-disclaimer {
    padding: 18px 7% 22px;
    background: #020810;
    border-top: 1px solid #172a3d;
    text-align: center;
}

.rp-disclaimer strong {
    display: block;
    color: #d9a441;
    font-size: 11px;
    letter-spacing: 1.6px;
    margin-bottom: 8px;
}

.rp-disclaimer p {
    max-width: 1250px;
    margin: 0 auto;
    color: #879caf;
    font-size: 12px;
    line-height: 1.7;
}

@media (max-width: 700px) {
    .footer-main {
        display: block;
        padding: 26px 22px 20px;
    }

    .footer-main > div:last-child {
        margin-top: 18px;
    }

    .rp-disclaimer {
        padding: 18px 22px;
        text-align: left;
    }
}

/* ===== MDT BUTTON WITH PNG ===== */

.portal.portal-mdt {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 8px 14px !important;
    min-height: 50px !important;
}

.portal.portal-mdt img {
    width: 44px !important;
    height: 34px !important;
    object-fit: contain !important;
    display: block !important;
    flex-shrink: 0 !important;
    border-radius: 4px !important;
}

.portal.portal-mdt span {
    display: inline-block !important;
    font-weight: 900 !important;
    letter-spacing: .04em !important;
    line-height: 1 !important;
}

@media (max-width: 700px) {
    .portal.portal-mdt {
        gap: 8px !important;
        padding: 7px 12px !important;
        min-height: 44px !important;
    }

    .portal.portal-mdt img {
        width: 36px !important;
        height: 28px !important;
    }
}

/* ===== ABOUT PAGE VIDEO HERO ===== */

.about-video-hero {
    position: relative !important;
    overflow: hidden !important;
    min-height: 290px !important;
    padding: 75px 20px !important;
    background: #071426 !important;
    isolation: isolate !important;
}

.about-video-bg {
    position: absolute;
    inset: 0;
    z-index: -3;
    overflow: hidden;
}

.about-video-bg iframe {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 100vw;
    height: 56.25vw;

    min-width: 177.78vh;
    min-height: 100%;

    transform: translate(-50%, -50%) scale(1.02);

    pointer-events: none;
    border: 0;
}

.about-video-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;

    background:
        linear-gradient(
            90deg,
            rgba(4, 15, 29, 0.84) 0%,
            rgba(5, 18, 34, 0.72) 50%,
            rgba(5, 18, 34, 0.82) 100%
        );
}

.about-video-hero > span,
.about-video-hero > h1,
.about-video-hero > p {
    position: relative;
    z-index: 2;
}

@media (max-width: 700px) {
    .about-video-hero {
        min-height: 260px !important;
        padding: 60px 18px !important;
    }

    .about-video-bg iframe {
        width: 177.78vh;
        height: 100vh;
    }
}

/* ===== ABOUT HERO VIDEO FIX ===== */

.about-video-hero {
    position: relative !important;
    overflow: hidden !important;
    isolation: isolate !important;

    min-height: 290px !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: #061426 !important;
}

.about-video-bg {
    position: absolute !important;
    inset: 0 !important;
    z-index: -3 !important;
    overflow: hidden !important;
}

.about-video-bg iframe {
    position: absolute !important;

    top: 50% !important;
    left: 50% !important;

    width: 100vw !important;
    height: 56.25vw !important;

    min-width: 177.78vh !important;
    min-height: 100% !important;

    transform: translate(-50%, -50%) scale(1.04) !important;

    border: 0 !important;
    pointer-events: none !important;
}

.about-video-overlay {
    position: absolute !important;
    inset: 0 !important;

    z-index: -2 !important;

    background:
        linear-gradient(
            90deg,
            rgba(4, 14, 27, 0.78),
            rgba(4, 17, 32, 0.66),
            rgba(4, 14, 27, 0.78)
        ) !important;
}

.about-video-content {
    position: relative !important;
    z-index: 2 !important;

    width: 100% !important;
    padding: 70px 20px !important;

    text-align: center !important;
    color: white !important;
}

.about-video-content > span {
    display: block !important;
    color: #d9a441 !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    letter-spacing: .24em !important;
}

.about-video-content h1 {
    color: #fff !important;
    font-size: 44px !important;
    margin: 14px 0 18px !important;
}

.about-video-content p {
    color: #d8e3ef !important;
    margin: 0 auto !important;
    font-size: 16px !important;
}

@media (max-width: 700px) {

    .about-video-hero {
        min-height: 260px !important;
    }

    .about-video-content {
        padding: 55px 16px !important;
    }

    .about-video-content h1 {
        font-size: 32px !important;
    }

}

/* ===== ABOUT VIDEO FACE POSITION FIX ===== */

.about-video-hero {
    min-height: 390px !important;
}

.about-video-bg iframe {
    top: 58% !important;
    transform: translate(-50%, -50%) scale(1.01) !important;
}

.about-video-content {
    padding: 90px 20px !important;
}

@media (max-width: 700px) {
    .about-video-hero {
        min-height: 330px !important;
    }

    .about-video-bg iframe {
        top: 57% !important;
    }
}

/* ===== ABOUT VIDEO FINAL FRAMING FIX ===== */

.about-video-hero {
    min-height: 430px !important;
}

.about-video-bg iframe {
    top: 42% !important;
    left: 50% !important;

    width: 100% !important;
    height: 100% !important;

    min-width: 0 !important;
    min-height: 0 !important;

    transform: translate(-50%, -42%) scale(1) !important;
}

.about-video-content {
    padding: 115px 20px !important;
}

@media (max-width: 900px) {
    .about-video-bg iframe {
        width: 140% !important;
        height: 100% !important;
        top: 42% !important;
    }
}

@media (max-width: 700px) {
    .about-video-hero {
        min-height: 380px !important;
    }

    .about-video-bg iframe {
        width: 180% !important;
        top: 40% !important;
    }
}

/* ===== ABOUT VIDEO FACE POSITION FIX ===== */

.about-video-hero {
    min-height: 390px !important;
}

.about-video-bg iframe {
    top: 58% !important;
    transform: translate(-50%, -50%) scale(1.01) !important;
}

.about-video-content {
    padding: 90px 20px !important;
}

@media (max-width: 700px) {
    .about-video-hero {
        min-height: 330px !important;
    }

    .about-video-bg iframe {
        top: 57% !important;
    }
}

/* ===== ABOUT LOCAL VIDEO CLEAN FIX ===== */

.about-video-hero {
    min-height: 360px !important;
    position: relative !important;
    overflow: hidden !important;
    background: #061426 !important;
}

.about-video-bg {
    position: absolute !important;
    inset: 0 !important;
    z-index: -3 !important;
    overflow: hidden !important;
}

.about-video-bg iframe {
    display: none !important;
}

.about-video-bg video {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;

    width: 100% !important;
    height: 100% !important;

    object-fit: cover !important;
    object-position: center 28% !important;

    transform: translate(-50%, -50%) !important;

    border: 0 !important;
}

.about-video-overlay {
    position: absolute !important;
    inset: 0 !important;
    z-index: -2 !important;

    background:
        linear-gradient(
            90deg,
            rgba(4,14,27,.78),
            rgba(4,17,32,.58),
            rgba(4,14,27,.78)
        ) !important;
}

.about-video-content {
    position: relative !important;
    z-index: 2 !important;
    padding: 100px 20px !important;
}

@media (max-width: 700px) {
    .about-video-hero {
        min-height: 320px !important;
    }

    .about-video-bg video {
        object-position: center 22% !important;
    }

    .about-video-content {
        padding: 85px 18px !important;
    }
}

/* ===== ABOUT PAGE OFFICIAL REFRESH ===== */

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 26px;
    margin-bottom: 22px;
}

.about-stat-card {
    background: #fff;
    border: 1px solid #d9e2ec;
    border-bottom: 4px solid #d9a441;
    border-radius: 16px;
    padding: 28px 18px 22px;
    text-align: center;
    box-shadow: 0 10px 24px rgba(7, 29, 54, 0.05);
}

.about-stat-card strong {
    display: block;
    color: #071d36;
    font-size: 26px;
    margin-bottom: 8px;
}

.about-stat-card span {
    display: block;
    color: #71839a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.about-official-panel {
    display: grid;
    grid-template-columns: 1.6fr .9fr;
    gap: 22px;
    background: #ffffff;
    border: 1px solid #d9e2ec;
    border-radius: 20px;
    padding: 34px;
    box-shadow: 0 12px 30px rgba(7, 29, 54, 0.05);
    margin-bottom: 24px;
}

.section-kicker {
    display: inline-block;
    color: #d9a441;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.about-official-left h2 {
    color: #071d36;
    font-size: 34px;
    line-height: 1.2;
    margin: 0 0 22px;
}

.about-official-left p {
    color: #65778f;
    font-size: 16px;
    line-height: 1.85;
    margin: 0 0 18px;
}

.about-official-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 22px;
}

.about-mini-card {
    background: #f8fbff;
    border: 1px solid #dbe6f2;
    border-radius: 14px;
    padding: 18px;
}

.about-mini-card b {
    display: block;
    color: #071d36;
    font-size: 14px;
    margin-bottom: 6px;
}

.about-mini-card small {
    color: #71839a;
    font-size: 13px;
    line-height: 1.6;
}

.about-official-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-emblem-card,
.about-note-card {
    background: linear-gradient(180deg, #071d36 0%, #0d2b4a 100%);
    color: #fff;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 14px 28px rgba(7, 29, 54, 0.14);
}

.about-emblem-card {
    text-align: center;
}

.about-emblem {
    width: 112px;
    height: 112px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background-image: url('/static/img/lspd-arma.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 0 0 4px rgba(255,255,255,0.08);
}

.about-emblem-card h3 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 20px;
    line-height: 1.3;
}

.about-emblem-card p {
    margin: 0;
    color: #bfd1e3;
    font-size: 14px;
    line-height: 1.7;
}

.about-note-card span {
    display: block;
    color: #d9a441;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.8px;
    margin-bottom: 10px;
}

.about-note-card p {
    margin: 0;
    color: #dce7f2;
    font-size: 14px;
    line-height: 1.8;
}

.about-formal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 22px;
}

.about-formal-card {
    background: #fff;
    border: 1px solid #d9e2ec;
    border-top: 4px solid #071d36;
    border-radius: 18px;
    padding: 26px;
    box-shadow: 0 10px 24px rgba(7, 29, 54, 0.05);
}

.about-formal-icon {
    font-size: 24px;
    margin-bottom: 14px;
}

.about-formal-card h3 {
    margin: 0 0 12px;
    color: #071d36;
    font-size: 18px;
}

.about-formal-card p {
    margin: 0;
    color: #71839a;
    font-size: 15px;
    line-height: 1.8;
}

@media (max-width: 1100px) {
    .about-official-panel {
        grid-template-columns: 1fr;
    }

    .about-formal-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 800px) {
    .about-stats-grid,
    .about-formal-grid,
    .about-official-mini-grid {
        grid-template-columns: 1fr;
    }

    .about-official-panel {
        padding: 22px;
    }

    .about-official-left h2 {
        font-size: 28px;
    }
}

/* ===== LARGE UNIT DIRECTORY ===== */

.unitgrid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
}

.unit {
    min-height: 260px;
    display: flex;
    flex-direction: column;
}

.unit > div {
    font-size: 31px;
}

.unit h3 {
    font-size: 18px;
    line-height: 1.25;
}

.unit p {
    flex: 1;
    min-height: 0 !important;
    line-height: 1.6;
}

.unit span {
    margin-top: 18px;
}

@media (max-width: 1200px) {
    .unitgrid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 900px) {
    .unitgrid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .unitgrid {
        grid-template-columns: 1fr !important;
    }
}

/* ===== PERSONNEL PHOTO FINAL ===== */

.personnel-photo {
    width: 72px !important;
    height: 72px !important;
    min-width: 72px !important;
    min-height: 72px !important;
    border-radius: 12px !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    border: 2px solid #d9a441 !important;
    color: transparent !important;
    font-size: 0 !important;
    box-shadow: 0 8px 20px rgba(7,29,54,.12) !important;
}

/* ===== PRESS MANUAL POSTS ===== */

.press-manual-section {
    margin-top: 28px;
    margin-bottom: 30px;
}

.press-feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.press-feature-card {
    background: #ffffff;
    border: 1px solid #d9e2ec;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(7, 29, 54, 0.06);
}

.press-feature-card img {
    width: 100%;
    display: block;
    background: #f3f6fa;
}

.press-feature-body {
    padding: 24px;
}

.press-badge {
    display: inline-block;
    margin-bottom: 10px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #071d36;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.press-feature-body h3 {
    margin: 0 0 12px;
    color: #071d36;
    font-size: 26px;
    line-height: 1.25;
}

.press-feature-body p {
    margin: 0 0 12px;
    color: #5f7289;
    font-size: 15px;
    line-height: 1.8;
}

.press-feature-body small {
    display: block;
    color: #8a9aab;
    font-size: 13px;
}

@media (max-width: 700px) {
    .press-feature-body {
        padding: 18px;
    }

    .press-feature-body h3 {
        font-size: 22px;
    }
}

/* ===== APPLICATION RULES ===== */

.panel.light .check li {
    line-height: 1.75;
    padding: 16px 0;
}

.panel.light .check li strong {
    color: #071d36;
}

.panel.light .check li small {
    display: block;
    margin-top: 8px;
    margin-left: 28px;
    color: #718096;
    font-size: 13px;
    line-height: 1.7;
}

.discordbox .btn.discord {
    display: inline-flex;
    margin-top: 12px;
    padding: 14px 24px;
    font-weight: 900;
    letter-spacing: .04em;
}

/* ===================================
   LSPD APPLICATION PAGE FINAL
=================================== */

.application-panel {
    padding: 42px !important;
}

.application-rules {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 28px;
}

.application-rule {
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 18px;
    align-items: flex-start;

    background: #f8fafc;
    border: 1px solid #dce5ef;
    border-left: 4px solid #d9a441;

    padding: 20px;
    border-radius: 12px;
}

.rule-number {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #071d36;
    color: #d9a441;

    font-size: 16px;
    font-weight: 900;

    border-radius: 10px;
}

.application-rule h3 {
    margin: 1px 0 8px;
    color: #071d36;
    font-size: 17px;
}

.application-rule p {
    margin: 0;
    color: #53677e;
    font-size: 15px;
    line-height: 1.7;
}

.rule-note {
    margin-top: 12px;
    padding: 12px 14px;

    background: #fff8e8;
    border: 1px solid #f0d79c;

    border-radius: 8px;

    color: #776029;
    font-size: 13px;
    line-height: 1.7;
}

.application-discord {
    margin-top: 30px !important;
    padding: 32px !important;

    border: 1px solid #dce4ff;

    background:
        linear-gradient(
            135deg,
            #eef2ff,
            #f7f8ff
        ) !important;
}

.application-discord b {
    display: block;
    margin-top: 10px;

    color: #071d36;
    font-size: 24px;
}

.application-discord p {
    color: #60718a;
    margin: 10px 0 20px;
}

.application-status {
    display: inline-block;

    color: #15955b;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.2px;
}

.application-discord-btn {
    padding: 15px 28px !important;
    font-size: 14px !important;
}

@media (max-width: 700px) {

    .application-panel {
        padding: 24px !important;
    }

    .application-rule {
        grid-template-columns: 1fr;
    }

    .rule-number {
        width: 44px;
        height: 44px;
    }

}

/* ===== UNITS ORIGINAL LAYOUT RESTORE ===== */

.unitgrid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 18px !important;
}

.unit {
    min-height: initial !important;
    display: block !important;
}

.unit > div {
    font-size: 35px !important;
}

.unit h3 {
    font-size: initial !important;
}

.unit p {
    min-height: 65px !important;
}

.unit span {
    margin-top: 0 !important;
}

@media (max-width: 980px) {
    .unitgrid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 700px) {
    .unitgrid {
        grid-template-columns: 1fr !important;
    }
}

/* ===== HOME ORIGINAL CLEAN LAYOUT ===== */

.home-command {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 55px 22px !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.home-command::before,
.home-command::after {
    display: none !important;
    content: none !important;
}

.home-command .section-head h2 {
    color: #132238 !important;
    font-size: 38px !important;
}

.home-command .section-head p {
    color: #718096 !important;
}

.home-command .cards {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 18px !important;
}

.home-command .officer-card {
    background: #fff !important;
    border: 1px solid #dfe7f1 !important;
    border-radius: 14px !important;
    box-shadow: 0 10px 35px rgba(8,25,47,.07) !important;
    padding: 18px !important;
}

.home-numbers {
    display: grid !important;
    grid-template-columns: repeat(4,1fr) !important;
    background: #071426 !important;
    color: white !important;
    padding: 45px 8% !important;
    margin-top: 40px !important;
}

@media(max-width:980px) {

    .home-command .cards {
        grid-template-columns: repeat(2,1fr) !important;
    }

}

@media(max-width:700px) {

    .home-command .cards,
    .home-numbers {
        grid-template-columns: 1fr !important;
    }

}

/* ===== HOME HERO STATIC BACKGROUND RESTORE ===== */

.hero {
    background:
        linear-gradient(
            90deg,
            rgba(3,12,25,.94) 0%,
            rgba(4,20,39,.78) 48%,
            rgba(4,18,35,.35) 100%
        ),
        url('https://images.unsplash.com/photo-1594736797933-d0501ba2fe65?auto=format&fit=crop&w=1800&q=86')
        center/cover no-repeat !important;
}

.hero-video,
.hero-video-overlay {
    display: none !important;
}

/* ===== PERSONNEL SECURE PORTAL ===== */

.personnel-access-grid {
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
    margin-top:25px;
}

.personnel-access-card {
    min-height:220px;

    background:
        linear-gradient(
            145deg,
            #111f31,
            #0b1725
        );

    border:1px solid #29445f;
    border-radius:14px;

    padding:28px;

    display:flex;
    align-items:center;
    gap:24px;

    transition:.2s;

    box-shadow:
        0 18px 45px rgba(0,0,0,.22);
}

.personnel-access-card:hover {
    transform:translateY(-4px);
    border-color:#38bdf8;
}

.personnel-access-card.alert-card:hover {
    border-color:#ef4444;
}

.personnel-access-icon {
    width:80px;
    height:80px;

    border-radius:15px;

    background:#07111d;

    display:grid;
    place-items:center;

    font-size:34px;

    border:1px solid #304b67;

    flex-shrink:0;
}

.personnel-access-card span {
    display:block;

    color:#38bdf8;

    font-size:10px;
    font-weight:900;
    letter-spacing:1.7px;
}

.personnel-access-card h3 {
    margin:8px 0;

    color:#fff;
    font-size:23px;
}

.personnel-access-card p {
    margin:0;

    color:#8fa4ba;
    line-height:1.7;
}


.secure-report-card {
    background:#08121e;

    border:1px solid #263b52;
    border-left:4px solid #38bdf8;

    border-radius:10px;

    padding:20px;

    margin-bottom:16px;
}

.secure-report-head {
    display:flex;
    justify-content:space-between;
    gap:20px;

    margin-bottom:18px;
}

.secure-report-head h3 {
    color:#fff;
    margin:5px 0 0;
}

.report-id {
    color:#38bdf8;

    font-size:10px;
    font-weight:900;
    letter-spacing:1.5px;
}

.report-status {
    display:inline-flex;
    align-items:center;

    height:fit-content;

    padding:6px 10px;

    border-radius:5px;

    font-size:10px;
    font-weight:900;

    border:1px solid #445c74;

    color:#b9c9d8;
}

.status-yeni {
    color:#38bdf8;
    border-color:#38bdf8;
}

.status-inceleniyor {
    color:#f59e0b;
    border-color:#f59e0b;
}

.status-işlemde {
    color:#a78bfa;
    border-color:#a78bfa;
}

.status-tamamlandı {
    color:#22c55e;
    border-color:#22c55e;
}

.status-reddedildi {
    color:#ef4444;
    border-color:#ef4444;
}

.secure-report-info {
    display:grid;
    grid-template-columns:repeat(3,1fr);

    gap:12px;

    margin-bottom:15px;
}

.secure-report-info > div {
    background:#0d1927;

    padding:12px;

    border-radius:7px;

    border:1px solid #26394d;
}

.secure-report-info small {
    display:block;

    color:#71869a;

    font-size:9px;
    margin-bottom:5px;
}

.secure-report-info strong {
    color:#e9f1fa;

    font-size:12px;
}

.secure-report-detail {
    padding:16px;

    background:#0d1927;

    border:1px solid #26394d;

    border-radius:7px;

    color:#c1d0df;

    line-height:1.8;

    margin-bottom:15px;
}

.report-status-form {
    display:flex;
    gap:10px;
}

.report-status-form select {
    flex:1;

    background:#08121e;
    color:white;

    border:1px solid #30475f;

    padding:11px;

    border-radius:6px;
}

@media(max-width:800px) {

    .personnel-access-grid {
        grid-template-columns:1fr;
    }

    .secure-report-info {
        grid-template-columns:1fr;
    }

}

/* ===== MDT NAV BUTTON RESTORE ===== */

.mdt-nav-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-width: 92px !important;
    height: 50px !important;
    padding: 0 22px !important;

    background: #071d36 !important;
    color: #ffffff !important;

    border: 2px solid #d9a441 !important;
    border-radius: 12px !important;

    font-size: 15px !important;
    font-weight: 900 !important;
    letter-spacing: .04em !important;
    text-decoration: none !important;

    box-shadow: 0 10px 25px rgba(7,29,54,.18) !important;
    transition: .2s ease !important;
}

.mdt-nav-btn:hover {
    transform: translateY(-1px) !important;
    background: #0b2748 !important;
    color: #ffffff !important;
}

.mdt-nav-btn img {
    display: none !important;
}

/* ORIGINAL LSPD SEAL */
.seal{width:50px!important;height:50px!important;display:grid!important;place-items:center!important;border-radius:50%!important;background:radial-gradient(circle at 35% 30%,#1d4f87,#071426 70%)!important;background-image:radial-gradient(circle at 35% 30%,#1d4f87,#071426 70%)!important;color:#fff!important;border:2px solid #d9a441!important;box-shadow:0 0 0 4px rgba(217,164,65,.12)!important;font-weight:900!important;font-size:12px!important;letter-spacing:.06em!important;overflow:hidden!important}
.seal::before,.seal::after{display:none!important}

.seal{color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:12px!important;font-weight:900!important;text-indent:0!important;line-height:1!important;font-family:Arial,sans-serif!important}.seal *{display:none!important}
