
/* SEYSECURE_GOVSYSTEM_COMPACT_V1 */
/* GovSystem page only: preserve sitewide styling. */

/* Executive hero: compact, single-column presentation */
.govsystem-page-hero {
    min-height: 0 !important;
    height: auto !important;
    padding: 38px 0 36px !important;
    overflow: visible !important;
}

.govsystem-page-hero .govsystem-page-hero-layout {
    display: block !important;
    min-height: 0 !important;
    height: auto !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.govsystem-page-hero .govsystem-status-panel {
    display: none !important;
}

.govsystem-page-hero h1 {
    max-width: 850px !important;
    font-size: clamp(28px, 3vw, 43px) !important;
    line-height: 1.12 !important;
    letter-spacing: -.035em !important;
    margin: 9px 0 12px !important;
}

.govsystem-page-hero .section-kicker {
    margin: 0 !important;
}

.govsystem-page-summary {
    max-width: 850px !important;
    margin: 0 0 18px !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
}

.govsystem-page-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px !important;
    margin-top: 14px !important;
}

.govsystem-page-actions .button {
    min-height: 40px !important;
    padding: 10px 17px !important;
    font-size: 13px !important;
}

/* Reduce CMS introduction whitespace */
.govsystem-page-hero + .cms-page-introduction {
    padding-top: 25px !important;
    padding-bottom: 25px !important;
}

.cms-page-introduction:has(+ .govsystem-page-index) {
    padding-top: 25px !important;
    padding-bottom: 25px !important;
}

/* Six compact crystal navigation bars */
.govsystem-page-index {
    padding: 13px 0 16px !important;
    background: #eaf1f5 !important;
}

.govsystem-page-index-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0,1fr)) !important;
    gap: 9px !important;
}

.govsystem-page-index-grid > a {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-height: 51px !important;
    height: auto !important;
    padding: 8px 13px !important;
    border-radius: 10px !important;
    color: #102b42 !important;
    font-size: 13px !important;
    font-weight: 750 !important;
    text-decoration: none !important;
    background: linear-gradient(
        180deg,
        rgba(255,255,255,.80),
        rgba(213,231,240,.39)
    ) !important;
    border: 1px solid rgba(117,163,183,.46) !important;
    box-shadow:
        inset 0 1px 0 #fff,
        inset 0 -1px 0 rgba(98,156,180,.17),
        0 4px 11px rgba(18,50,68,.07) !important;
    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease !important;
}

.govsystem-page-index-grid > a > span:first-child {
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transform: none !important;
    flex: 0 0 29px !important;
    width: 29px !important;
    height: 29px !important;
    min-width: 29px !important;
    border-radius: 8px !important;
    background: rgba(171,224,231,.43) !important;
    border: 1px solid rgba(97,164,180,.37) !important;
    color: #13546a !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

.govsystem-page-index-grid > a:hover,
.govsystem-page-index-grid > a:focus-visible {
    transform: translateY(-2px) !important;
    border-color: #4b9dae !important;
    box-shadow: 0 8px 17px rgba(18,50,68,.12) !important;
}

.govsystem-page-index-grid > a:focus-visible {
    outline: 2px solid #087c8d !important;
    outline-offset: 2px !important;
}

/* Keep the platform overview visible and concise */
.govsystem-overview-section,
.govsystem-overview-layout {
    min-height: 0 !important;
}

.govsystem-overview-section {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
}

/* One expandable repository for detailed engineering content */
.sgc-technical {
    margin: 0 !important;
    border: 0 !important;
    background: #f3f7fa !important;
}

.sgc-technical > summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: min(100% - 36px, 1180px);
    margin: 0 auto;
    padding: 17px 20px;
    border: 1px solid rgba(103,153,176,.35);
    border-radius: 12px;
    background: linear-gradient(
        145deg,
        #113d50,
        #0c2639
    );
    color: #fff;
    box-shadow: 0 7px 20px rgba(14,46,65,.10);
}

.sgc-technical > summary::-webkit-details-marker {
    display: none;
}

.sgc-summary-heading {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
}

.sgc-summary-action {
    flex: 0 0 27px;
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.35);
    font-size: 21px;
    line-height: 1;
}

.sgc-technical[open] .sgc-summary-action {
    transform: rotate(45deg);
}

.sgc-technical > summary:focus-visible {
    outline: 3px solid #46adb9;
    outline-offset: 3px;
}

.sgc-technical-body {
    padding-top: 18px;
}

/* Compact expanded technical sections */
.sgc-technical-body > .section {
    padding-top: 35px !important;
    padding-bottom: 35px !important;
}

.sgc-technical-body h2 {
    font-size: clamp(23px, 2.4vw, 32px) !important;
    line-height: 1.2 !important;
}

.sgc-technical-body h3 {
    font-size: 16px !important;
    line-height: 1.35 !important;
}

.sgc-technical-body .govsystem-institution-grid,
.sgc-technical-body .govsystem-capability-grid {
    gap: 12px !important;
}

/* Preserve section anchor navigation */
.sgc-technical-body [id],
.govsystem-overview-section[id] {
    scroll-margin-top: 95px;
}

/* Keep final contact section readily available */
.sgc-technical + .final-cta-section {
    padding-top: 38px !important;
    padding-bottom: 40px !important;
}

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

@media (max-width: 600px) {
    .govsystem-page-hero {
        padding: 28px 0 !important;
    }

    .govsystem-page-hero h1 {
        font-size: clamp(27px, 7vw, 35px) !important;
    }

    .govsystem-page-index-grid {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    .govsystem-page-index-grid > a {
        min-height: 46px !important;
    }

    .sgc-technical > summary {
        width: calc(100% - 28px);
        padding: 14px 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .govsystem-page-index-grid > a {
        transition: none !important;
    }
}


/* GOVSYSTEM_SYMBOL_BADGES_V2 */

/* Hide numbers while preserving badge size */
.govsystem-page-index-grid > a > span:first-child {
    font-size: 0 !important;
    color: transparent !important;
    line-height: 0 !important;
}

/* Display symbols inside the existing badges */
.govsystem-page-index-grid > a > span:first-child::before {
    display: inline-block !important;
    font-size: 18px !important;
    line-height: 1 !important;
    color: #14566d !important;
    font-weight: 700 !important;
}

.govsystem-page-index-grid > a:nth-child(1) > span:first-child::before {
    content: "◈";
}
.govsystem-page-index-grid > a:nth-child(2) > span:first-child::before {
    content: "▣";
}
.govsystem-page-index-grid > a:nth-child(3) > span:first-child::before {
    content: "✦";
}
.govsystem-page-index-grid > a:nth-child(4) > span:first-child::before {
    content: "⛨";
}
.govsystem-page-index-grid > a:nth-child(5) > span:first-child::before {
    content: "⇄";
}
.govsystem-page-index-grid > a:nth-child(6) > span:first-child::before {
    content: "⬡";
}


/* SEYSECURE_GOVSYSTEM_CRYSTAL_SYMBOLS_V3 */

/* Crystal finish without altering V1 button dimensions */
.govsystem-page-index .govsystem-page-index-grid > a {
    position: relative !important;
    overflow: hidden !important;
    isolation: isolate !important;
    background: linear-gradient(
        180deg,
        rgba(255,255,255,.58) 0%,
        rgba(255,255,255,.20) 45%,
        rgba(185,216,231,.15) 100%
    ) !important;
    border: 1px solid rgba(107,162,184,.53) !important;
    box-shadow:
        inset 0 1px 0 #fff,
        inset 0 -2px 0 rgba(99,164,186,.22),
        0 4px 11px rgba(18,50,68,.08) !important;
    color: #102b42 !important;
}

/* Keep realistic water droplets on the right */
.govsystem-page-index .govsystem-page-index-grid > a::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background:
        url("/static/images/seysecure_crystal_droplets_v31.89ad1a7c8ca3.svg")
        center / 100% 100% no-repeat !important;
    border: 0 !important;
    border-radius: inherit !important;
    opacity: .86 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

/* Preserve badges, but hide the original 01–06 characters */
.govsystem-page-index .govsystem-page-index-grid > a > span:first-child {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transform: none !important;
    flex: 0 0 29px !important;
    width: 29px !important;
    height: 29px !important;
    min-width: 29px !important;
    max-width: 29px !important;
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
    text-shadow: none !important;
    z-index: 2 !important;
}

/* Draw an actual visible symbol inside each badge */
.govsystem-page-index .govsystem-page-index-grid > a > span:first-child::before {
    content: "◈" !important;
    display: inline-block !important;
    position: static !important;
    inset: auto !important;
    width: auto !important;
    height: auto !important;
    transform: none !important;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
    font-family: "Segoe UI Symbol", "DejaVu Sans", sans-serif !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    color: #13546a !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-shadow: none !important;
    pointer-events: none !important;
}

/* Six distinct professional symbols */
.govsystem-page-index .govsystem-page-index-grid > a:nth-child(1) > span:first-child::before {
    content: "◈" !important;
}
.govsystem-page-index .govsystem-page-index-grid > a:nth-child(2) > span:first-child::before {
    content: "▣" !important;
}
.govsystem-page-index .govsystem-page-index-grid > a:nth-child(3) > span:first-child::before {
    content: "✦" !important;
}
.govsystem-page-index .govsystem-page-index-grid > a:nth-child(4) > span:first-child::before {
    content: "⛨" !important;
}
.govsystem-page-index .govsystem-page-index-grid > a:nth-child(5) > span:first-child::before {
    content: "⇄" !important;
}
.govsystem-page-index .govsystem-page-index-grid > a:nth-child(6) > span:first-child::before {
    content: "⬡" !important;
}

@media (prefers-reduced-motion: reduce) {
    .govsystem-page-index .govsystem-page-index-grid > a {
        transition: none !important;
    }
}
