:root {
    --portal-navy: #000634;
    --portal-blue: #243b81;
    --portal-blue-hover: #162a66;
    --portal-gold: #dfad41;
    --portal-gray: #ebedf1;
    --portal-text: #333;
    --portal-font-sans: "Noto Serif", Georgia, serif;
    --portal-font-display: "Noto Serif", Georgia, serif;
}

body {
    background: #fff;
    color: var(--portal-text);
    font-family: var(--portal-font-sans);
    letter-spacing: -.012em;
}

/*
 * The legacy stylesheet also styles generic header/navigation selectors.
 * Keep the portal shell viewport-wide even when those legacy declarations
 * are cached or a parent layout applies a constrained width.
 */
.portal-header,
.portal-header > .topnav,
.portal-header > .mainnav,
.portal-header > .navigation,
.portal-header + main,
.legacy-hero,
#newsticker {
    box-sizing: border-box;
    clear: both;
    float: none;
    margin-left: 0;
    margin-right: 0;
    max-width: none;
    min-width: 0;
    width: 100%;
}

.portal-header .container,
.portal-navigation-wrap,
.legacy-navigation {
    min-width: 0;
    max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: var(--portal-font-display);
    letter-spacing: -.028em;
}

button,
input,
textarea,
select {
    font-family: var(--portal-font-sans);
}

.topnav {
    background: var(--portal-gray);
    border-bottom: 1px solid #d7dce5;
}

.topnav::before {
    display: none;
}

.topnav .container {
    align-items: center;
    background: transparent;
    gap: 18px;
    min-height: 42px;
}

.topnav .nav-topnav .nav-link {
    color: #3c4552;
    padding-bottom: 9px;
    padding-top: 9px;
}

.portal-header-search {
    align-items: stretch;
    display: flex;
    height: 30px;
    margin-left: auto;
    max-width: 290px;
    width: 100%;
}

.portal-header-search input {
    background: rgb(255 255 255 / 88%);
    border: 1px solid #c7ced9;
    border-right: 0;
    color: var(--portal-navy);
    font: inherit;
    min-width: 0;
    padding: 4px 10px;
    width: 100%;
}

.portal-header-search input::placeholder {
    color: #6f7888;
}

.portal-header-search input:focus {
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--portal-blue);
    outline: 0;
}

.portal-header-search button {
    align-items: center;
    background: var(--portal-navy);
    border: 0;
    color: #fff;
    display: inline-flex;
    flex: 0 0 auto;
    font: inherit;
    font-size: .78rem;
    font-weight: 700;
    gap: 6px;
    justify-content: center;
    padding: 0 11px;
    white-space: nowrap;
}

.portal-header-search button:hover {
    background: var(--portal-blue);
}

.portal-header .mainnav {
    background: var(--portal-navy);
}

.legacy-logo {
    align-items: center;
    display: inline-flex;
    height: 70px;
    justify-content: center;
    width: 70px;
}

.legacy-logo img {
    display: block;
    height: 62px;
    max-width: 100%;
    object-fit: contain;
}

.logo-text {
    display: grid;
    gap: 3px;
    letter-spacing: .03em;
    line-height: 1.15;
}

.logo-text strong {
    font-size: 1.05rem;
}

.logo-text small {
    font-size: .85rem;
    font-weight: 400;
}

.legacy-navigation {
    align-items: stretch;
    min-height: 50px;
}

.navigation {
    background: var(--portal-navy);
    border-top: 0;
    margin-top: 0;
    position: relative;
    z-index: 20;
}

.navigation::before,
.nav-navigation::before {
    display: none;
}

.nav-navigation {
    background: transparent;
}

.portal-navigation-wrap {
    min-height: 50px;
}

.nav-navigation .nav-link,
.nav-navigation .nav-link:visited {
    color: #fff;
}

.nav-navigation .nav-link:hover,
.nav-navigation .nav-link:focus-visible {
    background: rgb(255 255 255 / 10%);
    color: #fff;
}

.nav-navigation .nav-link.active,
.nav-navigation .nav-link.active:hover {
    background: transparent;
    box-shadow: inset 0 -3px 0 var(--portal-gold);
    color: #fff;
    font-weight: 700;
}

/* The legacy home-only active marker conflicts with the shared diagonal nav box. */
.nav-navigation .nav-item:first-child .nav-link.active::before {
    display: none;
}

.legacy-navigation .nav-link {
    align-items: center;
    display: flex;
    gap: 4px;
    height: 100%;
    white-space: nowrap;
}

.portal-nav-link-pair {
    align-items: stretch;
    display: flex;
    height: 100%;
    position: relative;
}

.portal-nav-link-pair .nav-link {
    min-width: 0;
}

.portal-nav-dropdown-toggle {
    align-items: center;
    align-self: stretch;
    background: transparent;
    border: 0;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    padding: 0 12px 0 4px;
}

.portal-nav-dropdown-toggle:hover,
.portal-nav-dropdown-toggle:focus-visible {
    background: rgb(255 255 255 / 10%);
    color: #fff;
    outline: 0;
}

.portal-nav-dropdown-toggle:focus-visible {
    box-shadow: inset 0 0 0 2px var(--portal-gold);
}

.portal-nav-dropdown-toggle i {
    font-size: .72rem;
    transition: transform .2s ease;
}

.show > .portal-nav-link-pair .portal-nav-dropdown-toggle i {
    transform: rotate(180deg);
}

.portal-mega-menu {
    background: #fff;
    border: 0;
    border-top: 3px solid var(--portal-gold);
    border-radius: 0;
    box-shadow: 0 16px 32px rgb(0 6 52 / 22%);
    margin-top: 0;
    min-width: min(560px, calc(100vw - 48px));
    padding: 0;
}

.portal-mega-menu__intro {
    background: var(--portal-navy);
    color: #fff;
    padding: 18px 20px;
}

.portal-mega-menu__eyebrow {
    align-items: center;
    color: rgb(255 255 255 / 70%);
    display: flex;
    font-size: .7rem;
    font-weight: 700;
    gap: 7px;
    letter-spacing: .1em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.portal-mega-menu__overview {
    align-items: center;
    color: #fff;
    display: flex;
    font-size: 1rem;
    font-weight: 700;
    gap: 12px;
    justify-content: space-between;
    text-decoration: none;
}

.portal-mega-menu__overview:hover,
.portal-mega-menu__overview:focus-visible {
    color: var(--portal-gold);
}

.portal-mega-menu__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 10px;
}

.portal-mega-menu__links a {
    align-items: flex-start;
    color: #344054;
    display: grid;
    font-size: .91rem;
    gap: 8px;
    grid-template-columns: 14px minmax(0, 1fr);
    line-height: 1.4;
    padding: 10px;
    text-decoration: none;
}

.portal-mega-menu__links a i {
    color: var(--portal-gold);
    font-size: .75rem;
    margin-top: .2em;
}

.portal-mega-menu__links a:hover,
.portal-mega-menu__links a:focus-visible,
.portal-mega-menu__links a.is-current {
    background: #f1f4f9;
    color: var(--portal-navy);
}

.portal-mega-menu__links a.is-current {
    box-shadow: inset 3px 0 0 var(--portal-blue);
    font-weight: 700;
}

.legacy-navigation .dropdown-item {
    font-size: .93rem;
}

.legacy-hero {
    background: #d7d9df;
    height: clamp(320px, calc(100svh - 330px), 600px);
    overflow: hidden;
}

.legacy-hero .carousel-inner,
.legacy-hero .carousel-item {
    height: 100%;
}

.legacy-hero .carousel-item img {
    height: 100%;
    object-fit: cover;
    object-position: center;
    width: 100%;
}

.legacy-hero .carousel-control-next,
.legacy-hero .carousel-control-prev {
    opacity: .75;
    width: 9%;
}

.legacy-hero .carousel-control-next-icon,
.legacy-hero .carousel-control-prev-icon {
    background-color: rgb(0 6 52 / 65%);
    border-radius: 50%;
    background-size: 48%;
    height: 42px;
    width: 42px;
}

.legacy-hero .carousel-indicators [data-bs-target] {
    background-color: var(--portal-navy);
}

.ticker-copy {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ticker-copy a {
    color: inherit;
    text-decoration: none;
}

.ticker-copy a:hover {
    text-decoration: underline;
}

.portal-workforce {
    background:
        radial-gradient(circle at 7% 8%, rgb(223 173 65 / 16%), transparent 19rem),
        linear-gradient(135deg, #f8f9fc 0%, #eef2f8 100%);
    border-bottom: 1px solid #dfe5ed;
    border-top: 1px solid #dfe5ed;
    overflow: hidden;
    padding: 72px 0 78px;
    position: relative;
}

.portal-workforce::before {
    background-image: radial-gradient(rgb(36 59 129 / 14%) 1px, transparent 1px);
    background-size: 18px 18px;
    content: "";
    inset: 0;
    mask-image: linear-gradient(90deg, #000, transparent 66%);
    opacity: .4;
    pointer-events: none;
    position: absolute;
}

.portal-workforce .container {
    position: relative;
}

.portal-workforce__header {
    align-items: end;
    display: flex;
    gap: 28px;
    justify-content: space-between;
    margin-bottom: 30px;
}

.portal-workforce__eyebrow,
.portal-workforce-panel__header p {
    align-items: center;
    color: #9d7018;
    display: flex;
    font-size: .71rem;
    font-weight: 800;
    gap: 7px;
    letter-spacing: .11em;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.portal-workforce__header h1 {
    color: var(--portal-navy);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
}

.portal-workforce__header h1 i {
    color: var(--portal-gold);
    font-size: .8em;
}

.portal-workforce__header > div > p:last-child {
    color: #667085;
    margin: 9px 0 0;
    max-width: 650px;
}

.portal-workforce__status {
    align-items: center;
    background: rgb(255 255 255 / 78%);
    border: 1px solid #dce3ee;
    box-shadow: 0 8px 22px rgb(0 6 52 / 6%);
    color: #576274;
    display: flex;
    flex: 0 0 auto;
    font-size: .77rem;
    gap: 10px;
    max-width: 286px;
    padding: 11px 14px;
}

.portal-workforce__status > i {
    align-items: center;
    background: #e6edf8;
    border-radius: 50%;
    color: var(--portal-blue);
    display: inline-flex;
    font-size: 1.05rem;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.portal-workforce__status span {
    display: grid;
    gap: 2px;
    line-height: 1.35;
}

.portal-workforce__status strong {
    color: var(--portal-navy);
    font-size: .8rem;
}

.portal-workforce__status--ready > i {
    background: #e4f3ed;
    color: #198754;
}

.portal-workforce__status--stale > i {
    background: #fff3d9;
    color: #a66d00;
}

.portal-workforce__status--not_published > i,
.portal-workforce__status--unavailable > i {
    background: #f7e8e8;
    color: #a24d4d;
}

.portal-workforce__summary {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 20px;
}

.portal-workforce-stat {
    align-items: flex-start;
    background: #fff;
    border: 1px solid #e0e5ed;
    box-shadow: 0 9px 22px rgb(0 6 52 / 5%);
    display: flex;
    gap: 13px;
    min-width: 0;
    padding: 18px;
    position: relative;
}

.portal-workforce-stat::after {
    background: var(--workforce-accent);
    bottom: 0;
    content: "";
    height: 3px;
    left: 0;
    position: absolute;
    width: 100%;
}

.portal-workforce-stat--navy {
    --workforce-accent: var(--portal-navy);
}

.portal-workforce-stat--blue {
    --workforce-accent: var(--portal-blue);
}

.portal-workforce-stat--gold {
    --workforce-accent: var(--portal-gold);
}

.portal-workforce-stat--teal {
    --workforce-accent: #238d8a;
}

.portal-workforce-stat__icon {
    align-items: center;
    background: color-mix(in srgb, var(--workforce-accent) 12%, #fff);
    border-radius: 50%;
    color: var(--workforce-accent);
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 1.2rem;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.portal-workforce-stat > div {
    display: grid;
    min-width: 0;
}

.portal-workforce-stat__label {
    color: #667085;
    font-size: .77rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.portal-workforce-stat__value {
    display: inline-block;
    margin: 8px 0 6px;
    width: 74px;
}

.portal-workforce-stat strong.portal-workforce-stat__value {
    color: var(--portal-navy);
    font-family: var(--portal-font-display);
    font-size: clamp(1.55rem, 2vw, 2rem);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1;
    width: auto;
}

.portal-workforce-stat__caption {
    color: #8a93a2;
    font-size: .72rem;
}

.portal-skeleton-line,
.portal-skeleton-bar {
    animation: portal-skeleton-shimmer 1.8s ease-in-out infinite;
    background: linear-gradient(100deg, #e8ecf2 20%, #f8fafc 39%, #e8ecf2 58%);
    background-size: 200% 100%;
    border-radius: 999px;
}

.portal-skeleton-line {
    display: inline-block;
    height: .72em;
    min-width: 46px;
    vertical-align: middle;
}

.portal-skeleton-line--number {
    height: 1.85rem;
}

.portal-workforce__grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portal-workforce-panel {
    background: rgb(255 255 255 / 92%);
    border: 1px solid #dfe5ee;
    box-shadow: 0 12px 28px rgb(0 6 52 / 7%);
    min-width: 0;
    padding: 22px;
}

.portal-workforce-panel--wide {
    grid-column: 1 / -1;
}

.portal-workforce-panel__header {
    align-items: flex-start;
    background: transparent;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    margin-bottom: 17px;
    position: static;
    z-index: auto;
}

.portal-workforce-panel__header p {
    margin-bottom: 5px;
}

.portal-workforce-panel__header h2 {
    color: var(--portal-navy);
    font-size: 1.16rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 0;
}

.portal-workforce-panel__header h2 i {
    color: var(--portal-gold);
    font-size: .93em;
    margin-right: 5px;
}

.portal-workforce-panel__badge {
    background: #f0f3f8;
    color: #657083;
    flex: 0 0 auto;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .05em;
    padding: 5px 7px;
    text-transform: uppercase;
}

.portal-workforce-map {
    background:
        linear-gradient(90deg, rgb(36 59 129 / 5%) 1px, transparent 1px) 0 0 / 30px 30px,
        linear-gradient(rgb(36 59 129 / 5%) 1px, transparent 1px) 0 0 / 30px 30px,
        #f6f8fb;
    border: 1px solid #e2e7ef;
    min-height: 280px;
    overflow: hidden;
    position: relative;
}

.portal-workforce-map::before {
    background:
        radial-gradient(circle at 22% 66%, rgb(36 59 129 / 8%) 0 8%, transparent 8.5%),
        radial-gradient(circle at 58% 38%, rgb(223 173 65 / 13%) 0 12%, transparent 12.5%),
        radial-gradient(circle at 78% 72%, rgb(35 141 138 / 9%) 0 10%, transparent 10.5%);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.portal-workforce-map svg {
    display: block;
    height: 100%;
    inset: 0;
    position: absolute;
    width: 100%;
}

.portal-workforce-map.is-ready svg {
    display: none;
}

.portal-leaflet-map {
    inset: 0;
    position: absolute;
    z-index: 1;
}

.portal-leaflet-map .leaflet-control-attribution {
    background: rgb(255 255 255 / 84%);
    color: #657083;
    font-family: var(--portal-font-sans);
    font-size: .6rem;
}

.portal-leaflet-map .leaflet-control-attribution a {
    color: var(--portal-blue);
}

.portal-leaflet-map .leaflet-control-zoom a {
    color: var(--portal-navy);
}

.portal-opd-marker {
    background: var(--portal-blue);
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 3px 8px rgb(0 6 52 / 32%);
    height: 20px !important;
    width: 20px !important;
}

.portal-leaflet-map .marker-cluster-small,
.portal-leaflet-map .marker-cluster-small div {
    background-color: rgb(35 141 138 / 86%);
}

.portal-leaflet-map .marker-cluster-medium,
.portal-leaflet-map .marker-cluster-medium div {
    background-color: rgb(223 173 65 / 88%);
}

.portal-leaflet-map .marker-cluster-large,
.portal-leaflet-map .marker-cluster-large div {
    background-color: rgb(36 59 129 / 88%);
}

.portal-leaflet-map .marker-cluster div {
    color: #fff;
    font-family: var(--portal-font-sans);
    font-size: .7rem;
    font-weight: 800;
}

.portal-map-popup {
    display: grid;
    gap: 3px;
    min-width: 170px;
}

.portal-map-popup strong {
    color: var(--portal-navy);
    font-family: var(--portal-font-display);
    font-size: .88rem;
    line-height: 1.25;
}

.portal-map-popup span,
.portal-map-popup small {
    color: #667085;
    font-size: .72rem;
    line-height: 1.4;
}

.portal-map-popup b {
    color: #9b6d15;
    font-size: .75rem;
    margin-top: 3px;
}

.portal-workforce-map__point {
    align-items: center;
    display: flex;
    justify-content: center;
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.portal-workforce-map__point i {
    background: rgb(223 173 65 / 92%);
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgb(0 6 52 / 20%);
    display: block;
    height: var(--point-size);
    transition: transform .2s ease;
    width: var(--point-size);
}

.portal-workforce-map__point:hover i {
    transform: scale(1.18);
}

.portal-workforce-map__point b {
    background: rgb(0 6 52 / 88%);
    color: #fff;
    font-size: .66rem;
    font-weight: 700;
    left: 50%;
    max-width: 150px;
    opacity: 0;
    overflow: hidden;
    padding: 5px 7px;
    pointer-events: none;
    position: absolute;
    text-overflow: ellipsis;
    top: calc(100% + 6px);
    transform: translateX(-50%) translateY(-2px);
    transition: opacity .2s ease, transform .2s ease;
    white-space: nowrap;
}

.portal-workforce-map__point:hover b {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.portal-workforce-map__point--opd i {
    background: var(--portal-blue);
    border-radius: 52% 52% 52% 0;
    transform: rotate(-45deg);
}

.portal-workforce-map__point--opd:hover i {
    transform: rotate(-45deg) scale(1.15);
}

.portal-workforce-map__empty {
    align-items: center;
    color: #647084;
    display: flex;
    font-size: .8rem;
    gap: 8px;
    inset: 0;
    justify-content: center;
    position: absolute;
    text-align: center;
}

.portal-map-shore {
    fill: #dce6f0;
    stroke: #9dafc0;
    stroke-width: 2;
}

.portal-map-island {
    fill: #e8eff5;
    stroke: #aebdcb;
    stroke-width: 2;
}

.portal-map-grid {
    fill: none;
    opacity: .5;
    stroke: #c4d0dc;
    stroke-dasharray: 3 6;
}

.portal-map-marker {
    fill: rgb(223 173 65 / 83%);
    stroke: #fff;
    stroke-width: 4;
}

.portal-map-marker--lg {
    filter: drop-shadow(0 3px 4px rgb(0 6 52 / 16%));
}

.portal-map-marker--md {
    fill: rgb(36 59 129 / 76%);
}

.portal-map-marker--sm {
    fill: rgb(35 141 138 / 78%);
}

.portal-map-pin {
    fill: var(--portal-blue);
    stroke: #fff;
    stroke-width: 3;
}

.portal-workforce-map--opd .portal-map-shore {
    fill: #e5e8eb;
}

.portal-workforce-map--opd .portal-map-island {
    fill: #f0f0ec;
}

.portal-workforce-map__placeholder {
    align-items: center;
    background: rgb(255 255 255 / 87%);
    border: 1px solid rgb(215 223 234 / 90%);
    color: #5b6678;
    display: inline-flex;
    font-size: .75rem;
    gap: 6px;
    left: 16px;
    padding: 7px 9px;
    position: absolute;
    top: 16px;
    z-index: 1100;
}

.portal-workforce-map__placeholder--map {
    pointer-events: none;
}

.portal-workforce-map__placeholder i {
    color: var(--portal-blue);
}

.portal-workforce-map__legend {
    align-items: center;
    background: rgb(0 6 52 / 86%);
    bottom: 0;
    color: rgb(255 255 255 / 85%);
    display: flex;
    flex-wrap: wrap;
    font-size: .68rem;
    gap: 10px 13px;
    left: 0;
    padding: 8px 11px;
    position: absolute;
    right: 0;
    z-index: 1100;
}

.portal-workforce-map__legend span {
    align-items: center;
    display: inline-flex;
    gap: 5px;
}

.portal-workforce-map__legend i {
    background: var(--portal-gold);
    border: 1px solid rgb(255 255 255 / 75%);
    border-radius: 50%;
    display: inline-block;
    height: 7px;
    width: 7px;
}

.portal-workforce-map__legend .is-large {
    height: 12px;
    width: 12px;
}

.portal-workforce-map__legend .is-medium {
    background: #8495c7;
    height: 9px;
    width: 9px;
}

.portal-workforce-map__legend .is-small {
    background: #5faba8;
}

.portal-workforce-map__legend .is-pin {
    background: var(--portal-blue);
    border-radius: 6px 6px 6px 0;
    height: 9px;
    transform: rotate(-45deg);
    width: 9px;
}

.portal-workforce-map__legend .is-address {
    background: #d9e1ea;
}

.portal-workforce-rank {
    align-items: stretch;
    display: grid;
    gap: 25px;
    grid-template-columns: minmax(0, 1.1fr) minmax(150px, .9fr);
    min-height: 280px;
}

.portal-workforce-bars {
    align-items: end;
    border-bottom: 1px solid #dce3eb;
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, 1fr);
    min-height: 230px;
    padding: 22px 6px 0;
}

.portal-workforce-bars__item {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 9px;
    height: 100%;
    justify-content: flex-end;
}

.portal-workforce-bar {
    background: linear-gradient(180deg, var(--portal-gold), #b77a13);
    border-radius: 5px 5px 0 0;
    display: block;
    height: var(--bar-height);
    min-height: 4px;
    width: 72%;
}

.portal-skeleton-bar {
    border-radius: 5px 5px 0 0;
    display: block;
    height: var(--bar-height);
    min-height: 46px;
    width: 72%;
}

.portal-workforce-bars__item:nth-child(1) .portal-skeleton-bar {
    --bar-height: 32%;
}

.portal-workforce-bars__item:nth-child(2) .portal-skeleton-bar {
    --bar-height: 52%;
}

.portal-workforce-bars__item:nth-child(3) .portal-skeleton-bar {
    --bar-height: 76%;
}

.portal-workforce-bars__item:nth-child(4) .portal-skeleton-bar {
    --bar-height: 60%;
}

.portal-workforce-bars__item strong {
    color: #667085;
    font-size: .73rem;
}

.portal-workforce-rank__list {
    align-content: center;
    display: grid;
    gap: 17px;
}

.portal-workforce-rank__list > div {
    display: grid;
    gap: 6px;
}

.portal-workforce-rank__list span {
    color: #697386;
    font-size: .75rem;
    font-weight: 700;
}

.portal-workforce-rank__list i {
    background: #edf0f5;
    display: block;
    height: 8px;
    overflow: hidden;
}

.portal-workforce-rank__list b {
    display: block;
    height: 100%;
    min-width: 45%;
    width: var(--rank-width);
}

.portal-workforce-rank-bar {
    background: linear-gradient(90deg, var(--portal-blue), #6b81bc);
}

.portal-workforce-rank__list small {
    color: #8a93a2;
    font-size: .66rem;
    font-weight: 700;
}

.portal-workforce-chart-empty {
    align-self: center;
    color: #7b8492;
    font-size: .82rem;
    grid-column: 1 / -1;
    text-align: center;
}

.portal-workforce-rank__list > div:nth-child(1) {
    --rank-width: 48%;
}

.portal-workforce-rank__list > div:nth-child(2) {
    --rank-width: 68%;
}

.portal-workforce-rank__list > div:nth-child(3) {
    --rank-width: 87%;
}

.portal-workforce-rank__list > div:nth-child(4) {
    --rank-width: 57%;
}

.portal-workforce-composition {
    align-items: center;
    display: grid;
    gap: 26px;
    grid-template-columns: minmax(160px, .8fr) minmax(0, 1.2fr);
    min-height: 280px;
}

.portal-workforce-donut {
    align-items: center;
    aspect-ratio: 1;
    background: conic-gradient(#7183b5 0 42%, #dfad41 42% 72%, #59a3a0 72% 92%, #dde3ea 92% 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    justify-self: center;
    max-width: 185px;
    position: relative;
    width: 100%;
}

.portal-workforce-donut::before {
    background: #fff;
    border-radius: 50%;
    content: "";
    inset: 24%;
    position: absolute;
}

.portal-workforce-donut span {
    color: var(--portal-navy);
    font-family: var(--portal-font-display);
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1;
    position: relative;
    text-align: center;
}

.portal-workforce-donut small {
    color: #778190;
    display: block;
    font-family: var(--portal-font-sans);
    font-size: .56rem;
    letter-spacing: .12em;
    margin-top: 5px;
    text-transform: uppercase;
}

.portal-workforce-composition__legend {
    display: grid;
    gap: 13px;
}

.portal-workforce-composition__legend span {
    align-items: center;
    border-bottom: 1px solid #edf0f4;
    color: #586375;
    display: grid;
    font-size: .82rem;
    font-weight: 700;
    gap: 8px;
    grid-template-columns: 10px minmax(0, 1fr) 48px;
    padding-bottom: 10px;
}

.portal-workforce-composition__legend i {
    background: #7183b5;
    border-radius: 50%;
    height: 10px;
    width: 10px;
}

.portal-workforce-composition__legend .is-pppk {
    background: var(--portal-gold);
}

.portal-workforce-composition__legend .is-cpns {
    background: #59a3a0;
}

.portal-workforce-composition__legend b {
    min-width: 0;
}

@keyframes portal-skeleton-shimmer {
    0% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0 50%;
    }
}

#news .lead,
#gallery .lead,
#video .lead,
#aplikasi .lead {
    color: #777;
}

.news-item .image img {
    background: #eef0f4;
    display: block;
}

.news-item .text {
    min-width: 0;
}

.news-item .text > a {
    font-family: var(--portal-font-display);
    font-weight: 700;
    line-height: 1.42;
    letter-spacing: -.022em;
}

.portal-line-clamp-2,
.portal-line-clamp-3 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
}

.portal-line-clamp-2 {
    -webkit-line-clamp: 2;
}

.portal-line-clamp-3 {
    -webkit-line-clamp: 3;
}

.section-heading-icon {
    color: var(--portal-gold);
    font-size: .85em;
    margin-right: .24em;
    vertical-align: .02em;
}

.news-item .text > a:hover,
.portal-content-card h2 a:hover {
    color: var(--portal-blue);
}

#pengumuman .news-item {
    background: #fff;
}

#pengumuman .news-item .text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#agenda-highlight {
    background: var(--portal-gold);
}

.agenda-card {
    background: #fff;
    color: var(--portal-text);
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 250px;
    padding: 26px 22px;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.agenda-card:hover {
    box-shadow: 0 12px 24px rgb(0 6 52 / 20%);
    color: var(--portal-navy);
    transform: translateY(-4px);
}

.agenda-date {
    align-items: center;
    color: var(--portal-blue);
    display: inline-flex;
    font-size: 1rem;
    font-weight: 700;
    gap: 7px;
    text-transform: uppercase;
}

.agenda-title {
    font-family: var(--portal-font-display);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -.018em;
    line-height: 1.5;
}

.agenda-preview {
    color: #6a7280;
    font-size: .88rem;
    line-height: 1.6;
}

.agenda-more {
    align-items: center;
    color: var(--portal-blue);
    display: inline-flex;
    font-size: .82rem;
    font-weight: 700;
    gap: 7px;
    margin-top: auto;
}

.greeting-photo,
.greeting-placeholder {
    border: 10px solid #fff;
    box-shadow: 0 12px 30px rgb(0 6 52 / 14%);
    height: 310px;
    max-width: 100%;
    object-fit: cover;
    width: 280px;
}

.greeting-placeholder {
    align-items: center;
    background: var(--portal-gray);
    color: var(--portal-blue);
    display: inline-flex;
    font-size: 5rem;
    justify-content: center;
}

.greeting-body {
    max-height: 230px;
    overflow: hidden;
}

.card-gallery {
    background: var(--portal-navy);
    overflow: hidden;
}

.card-gallery .card-img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .35s ease;
}

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

.card-gallery .card-img-overlay {
    text-decoration: none;
}

.portal-video-preview {
    border: 0;
    color: inherit;
    cursor: pointer;
    display: block;
    padding: 0;
    text-align: left;
    width: 100%;
}

.card-gallery.portal-video-preview {
    position: relative;
}

.video-card {
    background: var(--portal-navy);
    color: #fff;
    display: block;
    overflow: hidden;
    position: relative;
    text-decoration: none;
}

.video-card img {
    aspect-ratio: 16 / 10;
    display: block;
    object-fit: cover;
    opacity: .75;
    transition: transform .35s ease, opacity .35s ease;
    width: 100%;
}

.video-card span {
    align-items: center;
    background: linear-gradient(0deg, rgb(0 6 52 / 90%), transparent);
    bottom: 0;
    display: flex;
    font-size: .9rem;
    font-weight: 600;
    gap: 8px;
    left: 0;
    min-height: 54px;
    padding: 20px 14px 10px;
    position: absolute;
    right: 0;
}

.video-card i {
    color: var(--portal-gold);
    font-size: 1.4rem;
}

.video-card:hover {
    color: #fff;
}

.video-card:hover img {
    opacity: 1;
    transform: scale(1.05);
}

.app-link-card {
    align-items: center;
    background: #fff;
    box-shadow: 0 5px 17px rgb(0 6 52 / 9%);
    color: var(--portal-text);
    display: flex;
    flex-direction: column;
    gap: 14px;
    justify-content: center;
    min-height: 145px;
    padding: 22px 14px;
    text-align: center;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.app-link-card:hover {
    box-shadow: 0 12px 28px rgb(0 6 52 / 16%);
    color: var(--portal-blue);
    transform: translateY(-4px);
}

.app-link-card img {
    max-height: 52px;
    max-width: 120px;
    object-fit: contain;
}

.app-link-icon {
    align-items: center;
    background: var(--portal-gray);
    border-radius: 50%;
    color: var(--portal-blue);
    display: inline-flex;
    font-size: 1.5rem;
    height: 52px;
    justify-content: center;
    width: 52px;
}

.portal-page-head {
    background: var(--portal-gray);
    border-bottom: 5px solid var(--portal-gold);
    padding: 54px 0;
}

.portal-page-head h1,
.portal-article h1 {
    color: var(--portal-navy);
    line-height: 1.2;
}

.portal-search {
    align-items: stretch;
    display: flex;
    max-width: 570px;
}

.portal-search input {
    border: 1px solid #c9ced7;
    border-right: 0;
    font: inherit;
    min-width: 0;
    padding: 12px 14px;
    width: 100%;
}

.portal-search button {
    align-items: center;
    background: var(--portal-navy);
    border: 0;
    color: #fff;
    display: inline-flex;
    font: inherit;
    font-weight: 600;
    gap: 7px;
    justify-content: center;
    min-width: 88px;
    padding: 0 18px;
    white-space: nowrap;
}

.portal-content-card {
    background: #fff;
    border: 1px solid #e1e3e8;
    overflow: hidden;
}

.portal-content-image {
    display: block;
    overflow: hidden;
    position: relative;
}

.portal-content-image img {
    aspect-ratio: 16 / 10;
    display: block;
    object-fit: cover;
    transition: transform .3s ease;
    width: 100%;
}

.portal-content-image:hover img {
    transform: scale(1.04);
}

.portal-content-image .datebox {
    align-items: center;
    background: rgb(223 173 65 / 96%);
    color: var(--portal-navy);
    display: flex;
    flex-direction: row;
    font-size: .74rem;
    font-weight: 700;
    gap: 3px;
    justify-content: center;
    line-height: 1;
    min-height: 38px;
    padding: 8px 10px;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
    z-index: 2;
}

.portal-content-image .datebox .date {
    font-size: 1.15rem;
    font-weight: 800;
}

.portal-content-image .datebox .month {
    text-transform: uppercase;
}

.portal-content-card h2 a {
    color: var(--portal-navy);
    font-family: var(--portal-font-display);
    font-weight: 700;
    text-decoration: none;
}

.portal-pagination {
    display: flex;
    justify-content: center;
    margin-top: 42px;
}

.portal-pagination nav {
    max-width: 680px;
    width: 100%;
}

.portal-pagination nav > .d-sm-flex {
    flex-wrap: wrap;
    justify-content: center !important;
}

.portal-pagination .pagination {
    gap: 3px;
    margin: 0;
}

.portal-pagination .page-link {
    align-items: center;
    border-color: #dbe0e7;
    border-radius: 0 !important;
    color: var(--portal-navy);
    display: inline-flex;
    font-size: .85rem;
    justify-content: center;
    min-height: 38px;
    min-width: 38px;
    padding: .35rem .6rem;
}

.portal-pagination .page-link:hover {
    background: #f0f2f7;
    color: var(--portal-blue);
}

.portal-pagination .disabled > .page-link {
    background: #f6f7f9;
    color: #a5acb9;
}

.portal-pagination .active > .page-link {
    background-color: var(--portal-navy);
    border-color: var(--portal-navy);
    color: #fff;
}

.agenda-list-card {
    align-items: stretch;
    background: #fff;
    border: 1px solid #e1e3e8;
    color: var(--portal-text);
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    min-height: 145px;
    text-decoration: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.agenda-list-card:hover {
    border-color: var(--portal-blue);
    box-shadow: 0 10px 22px rgb(0 6 52 / 12%);
    color: var(--portal-text);
}

.agenda-list-card time {
    align-items: center;
    background: var(--portal-blue);
    color: #fff;
    display: flex;
    flex-direction: column;
    font-size: .8rem;
    justify-content: center;
    text-transform: uppercase;
}

.agenda-list-card time span {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.agenda-list-card > span {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    padding: 20px;
}

.agenda-list-card small {
    color: #777;
    display: block;
    line-height: 1.55;
}

.portal-detail {
    background:
        linear-gradient(90deg, rgb(223 173 65 / 9%) 0, rgb(223 173 65 / 9%) 4px, transparent 4px) top left / 100% 100% no-repeat,
        #fff;
}

.portal-breadcrumb {
    align-items: center;
    color: #7c8492;
    display: flex;
    flex-wrap: wrap;
    font-size: .84rem;
    gap: 8px;
    margin-bottom: 24px;
}

.portal-breadcrumb a {
    color: var(--portal-blue);
    text-decoration: none;
}

.portal-breadcrumb > i {
    color: #a6afbd;
    font-size: .72rem;
}

.portal-breadcrumb a:hover {
    color: var(--portal-navy);
    text-decoration: underline;
}

.portal-detail-main {
    min-width: 0;
}

.portal-detail-header {
    background: transparent;
    border-bottom: 1px solid #e5e8ee;
    margin-bottom: 28px;
    position: static;
    padding-bottom: 24px;
    z-index: auto;
}

.portal-detail-eyebrow,
.portal-side-kicker {
    color: #9d7018;
    font-size: .73rem;
    font-weight: 700;
    letter-spacing: .12em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.portal-detail-eyebrow {
    align-items: center;
    display: flex;
    gap: 7px;
}

.portal-detail h1 {
    font-size: clamp(1.85rem, 3.4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -.025em;
    margin-bottom: 16px;
}

.portal-detail-meta {
    align-items: center;
    color: #707887;
    display: flex;
    flex-wrap: wrap;
    font-size: .9rem;
    gap: 8px;
    margin: 0;
}

.portal-detail-meta i {
    color: var(--portal-gold);
}

.portal-detail-meta span {
    color: #bec4cf;
    padding: 0 2px;
}

.portal-article-image {
    box-shadow: 0 14px 32px rgb(0 6 52 / 12%);
    display: block;
    margin: 28px 0 32px;
    max-height: 500px;
    object-fit: cover;
    width: 100%;
}

.portal-rich {
    color: #555;
    font-family: var(--portal-font-display);
    font-size: 1.02rem;
    font-weight: 400;
    letter-spacing: -.01em;
    line-height: 1.88;
}

.portal-rich img,
.portal-rich iframe,
.portal-rich table {
    max-width: 100%;
}

.portal-rich iframe {
    aspect-ratio: 16 / 9;
    height: auto;
    width: 100%;
}

.portal-rich p,
.portal-rich ul,
.portal-rich ol {
    margin-bottom: 1.2rem;
}

.portal-rich a {
    color: var(--portal-blue);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.portal-detail-back {
    align-items: center;
    color: var(--portal-blue);
    display: inline-flex;
    font-size: .9rem;
    font-weight: 700;
    gap: 8px;
    margin-top: 30px;
    text-decoration: none;
}

.portal-detail-back:hover,
.portal-detail-back:focus-visible {
    color: var(--portal-navy);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.portal-documents {
    border-top: 1px solid #e2e7ee;
    margin-top: 34px;
    padding-top: 26px;
}

.portal-documents__heading {
    align-items: center;
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
}

.portal-documents__heading > i {
    align-items: center;
    background: #f3ead6;
    color: #9d7018;
    display: inline-flex;
    font-size: 1.2rem;
    height: 40px;
    justify-content: center;
    width: 40px;
}

.portal-documents__heading p {
    color: #9d7018;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .11em;
    margin: 0 0 2px;
    text-transform: uppercase;
}

.portal-documents__heading h2 {
    color: var(--portal-navy);
    font-size: 1.15rem;
    margin: 0;
}

.portal-documents__list {
    display: grid;
    gap: 8px;
}

.portal-documents__list a {
    align-items: center;
    background: #f5f7fa;
    color: var(--portal-navy);
    display: grid;
    gap: 11px;
    grid-template-columns: 20px minmax(0, 1fr) 16px;
    padding: 12px 14px;
    text-decoration: none;
}

.portal-documents__list a > i:first-child {
    color: var(--portal-gold);
    font-size: 1.1rem;
}

.portal-documents__list a > i:last-child {
    color: var(--portal-blue);
    font-size: .85rem;
}

.portal-documents__list strong,
.portal-documents__list small {
    display: block;
}

.portal-documents__list strong {
    font-size: .88rem;
    line-height: 1.4;
}

.portal-documents__list small {
    color: #778190;
    font-size: .73rem;
    margin-top: 3px;
}

.portal-documents__list a:hover {
    background: #eaf0f8;
    color: var(--portal-blue);
}

.portal-listing-page-content {
    background: #fff;
    padding: 32px 0 0;
}

.portal-listing-page-content__inner {
    background: #f7f9fc;
    border: 1px solid #dce2e8;
    margin: 0 auto;
    max-width: 920px;
    padding: 28px 32px;
}

.portal-listing-page-content__inner > img {
    margin: 0 0 24px;
    max-height: 420px;
    object-fit: cover;
    width: 100%;
}

.portal-listing-page-content .portal-documents {
    margin-top: 24px;
}

.portal-detail-sidebar {
    display: grid;
    gap: 18px;
}

.portal-side-card {
    background: #fff;
    border: 1px solid #e1e5ec;
    box-shadow: 0 8px 22px rgb(0 6 52 / 6%);
    padding: 22px;
}

.portal-side-card--accent {
    border-top: 4px solid var(--portal-gold);
    padding-top: 18px;
}

.portal-side-heading {
    align-items: baseline;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 2px;
}

.portal-side-heading a {
    color: var(--portal-blue);
    font-size: .78rem;
    font-weight: 600;
    text-decoration: none;
}

.portal-side-heading a:hover {
    color: var(--portal-navy);
    text-decoration: underline;
}

.portal-side-nav {
    display: grid;
    margin: 0 -8px -8px;
}

.portal-side-nav a {
    align-items: center;
    color: #3d4655;
    display: grid;
    gap: 10px;
    grid-template-columns: 18px minmax(0, 1fr) 14px;
    padding: 10px 8px;
    text-decoration: none;
    transition: background-color .18s ease, color .18s ease;
}

.portal-side-nav a > i:first-child {
    color: var(--portal-gold);
}

.portal-side-nav a > i:last-child {
    color: #9ba4b2;
    font-size: .8rem;
}

.portal-side-nav a:hover,
.portal-side-nav a.is-active {
    background: #f2f4f8;
    color: var(--portal-navy);
}

.portal-side-nav a.is-active {
    box-shadow: inset 3px 0 0 var(--portal-blue);
    font-weight: 700;
}

.portal-side-news {
    display: grid;
}

.portal-side-news a {
    border-top: 1px solid #edf0f4;
    color: var(--portal-navy);
    display: grid;
    gap: 5px;
    padding: 14px 0;
    text-decoration: none;
}

.portal-side-news a:first-child {
    border-top: 0;
}

.portal-side-news a:hover span {
    color: var(--portal-blue);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.portal-side-news__title {
    font-family: var(--portal-font-display);
    font-size: .91rem;
    font-weight: 700;
    letter-spacing: -.015em;
    line-height: 1.45;
}

.portal-side-news small {
    align-items: center;
    color: #89919f;
    display: inline-flex;
    font-size: .76rem;
    gap: 6px;
}

.portal-side-news small i {
    color: var(--portal-gold);
}

.portal-side-news__excerpt {
    color: #6d7582;
    font-size: .8rem;
    line-height: 1.55;
}

.portal-side-apps {
    display: grid;
    gap: 8px;
}

.portal-side-apps a {
    align-items: center;
    background: #f4f6f9;
    color: #3d4655;
    display: flex;
    font-size: .88rem;
    gap: 9px;
    padding: 10px 12px;
    text-decoration: none;
}

.portal-side-apps a:hover {
    background: #e9edf4;
    color: var(--portal-navy);
}

.portal-side-apps i {
    color: var(--portal-blue);
}

.portal-photo-wall {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portal-photo-wall__item {
    background: var(--portal-navy);
    border: 0;
    cursor: zoom-in;
    overflow: hidden;
    padding: 0;
    position: relative;
}

.portal-photo-wall__item img {
    aspect-ratio: 4 / 3;
    display: block;
    object-fit: cover;
    transition: transform .35s ease, opacity .35s ease;
    width: 100%;
}

.portal-photo-wall__item > span {
    align-items: center;
    background: rgb(0 17 63 / 60%);
    color: #fff;
    display: flex;
    font-size: 1.15rem;
    inset: 0;
    justify-content: center;
    opacity: 0;
    position: absolute;
    transition: opacity .25s ease;
}

.portal-photo-wall__item:hover img,
.portal-photo-wall__item:focus-visible img {
    opacity: .82;
    transform: scale(1.04);
}

.portal-photo-wall__item:hover > span,
.portal-photo-wall__item:focus-visible > span {
    opacity: 1;
}

.portal-video-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.portal-video-actions__source {
    color: var(--portal-blue);
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
}

.portal-video-actions__source:hover,
.portal-video-actions__source:focus-visible {
    color: var(--portal-navy);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.portal-media-modal .modal-content {
    background: var(--portal-navy);
    border: 0;
    border-radius: 0;
    box-shadow: 0 28px 80px rgb(0 6 52 / 40%);
    color: #fff;
    overflow: hidden;
}

/* Keep media previews above the legacy header, which uses z-index: 10000. */
.portal-media-modal {
    z-index: 11050;
}

body > .modal-backdrop {
    z-index: 11040;
}

.portal-media-modal .modal-header {
    align-items: flex-start;
    border-bottom: 1px solid rgb(255 255 255 / 16%);
    padding: 20px 24px 18px;
}

.portal-media-modal__eyebrow {
    color: var(--portal-gold);
    font-family: "Noto Serif", Georgia, serif;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .09em;
    margin: 0 0 4px;
    text-transform: uppercase;
}

.portal-media-modal .modal-title {
    font-family: "Noto Serif", Georgia, serif;
    font-size: clamp(1.05rem, 2vw, 1.45rem);
    font-weight: 700;
}

.portal-media-modal .modal-body {
    padding: 0;
}

.portal-media-modal__stage {
    align-items: center;
    background: #020817;
    display: flex;
    justify-content: center;
    min-height: min(62vh, 680px);
}

.portal-media-modal__image,
.portal-media-modal__iframe,
.portal-media-modal__video {
    border: 0;
    display: block;
    height: min(62vh, 680px);
    max-width: 100%;
    width: 100%;
}

.portal-media-modal__image {
    height: auto;
    max-height: min(62vh, 680px);
    object-fit: contain;
    width: auto;
}

.portal-media-modal__video {
    object-fit: contain;
}

.portal-media-modal__notice {
    color: rgb(255 255 255 / 76%);
    margin: 0;
    max-width: 430px;
    padding: 36px;
    text-align: center;
}

.portal-media-modal .modal-footer {
    align-items: center;
    border-top: 1px solid rgb(255 255 255 / 16%);
    justify-content: space-between;
    padding: 14px 24px;
}

.portal-media-modal__counter {
    color: rgb(255 255 255 / 72%);
    font-size: .84rem;
    font-weight: 700;
    letter-spacing: .08em;
}

.portal-media-modal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.portal-media-modal__actions .btn {
    align-items: center;
    display: inline-flex;
    font-size: .84rem;
    gap: 7px;
}

.portal-footer .legacy-logo-footer {
    height: 54px;
    width: 54px;
}

.portal-footer .legacy-logo-footer img {
    height: 48px;
}

@media (min-width: 992px) {
    .navigation {
        background: var(--portal-navy);
        overflow: visible;
    }

    .navigation::before {
        background: var(--portal-blue);
        clip-path: polygon(56px 0, 100% 0, 100% 100%, 0 100%);
        content: "";
        display: block;
        inset: 0 0 0 auto;
        position: absolute;
        transform: none;
        width: calc(50% + 110px);
    }

    .portal-navigation-wrap {
        display: flex !important;
        justify-content: flex-end;
        position: relative;
        z-index: 1;
    }

    .legacy-navigation {
        background: transparent;
        margin-left: auto;
        padding-left: 0;
        position: relative;
    }

    /* The navigation band owns the diagonal so its decoration cannot widen the page. */
    .legacy-navigation::before {
        display: none;
    }

    .legacy-navigation > .nav-item {
        position: relative;
        z-index: 1;
    }

    .legacy-navigation > .nav-item:first-child {
        margin-left: 24px;
    }

    .dropdown-mega .portal-mega-menu {
        left: auto;
        right: 0;
    }

    .nav-navigation .dropdown.dropdown-mega .portal-mega-menu {
        top: 100%;
        width: min(560px, calc(100vw - 48px));
    }

    .portal-detail-sidebar {
        position: sticky;
        top: 24px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .legacy-navigation .nav-link {
        font-size: .86rem;
        padding-left: 10px;
        padding-right: 10px;
    }

    .portal-nav-dropdown-toggle {
        padding-right: 9px;
    }
}

@media (max-width: 991.98px) {
    .portal-workforce {
        padding: 56px 0 60px;
    }

    .portal-workforce__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .portal-workforce__status {
        max-width: none;
    }

    .portal-workforce__summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .portal-header .mainnav .container {
        flex-wrap: wrap;
    }

    .portal-header .navbar-brand {
        margin-right: 0;
    }

    .navigation {
        background: var(--portal-navy);
    }

    .portal-header .navbar-collapse {
        background: transparent;
        margin: 0;
        padding: 12px 0 16px;
        width: 100%;
    }

    .legacy-navigation {
        background: rgb(255 255 255 / 7%);
        border: 1px solid rgb(255 255 255 / 12%);
        border-radius: 10px;
        padding: 6px;
    }

    .legacy-navigation .nav-link {
        min-height: 42px;
        padding: 10px 14px;
    }

    .portal-nav-link-pair {
        flex-wrap: wrap;
        height: auto;
        min-height: 42px;
    }

    .portal-nav-link-pair > .nav-link {
        flex: 1 1 auto;
    }

    .portal-nav-dropdown-toggle {
        min-width: 44px;
        padding: 0;
    }

    .legacy-navigation .dropdown.dropdown-mega .portal-mega-menu {
        background: rgb(255 255 255 / 9%);
        border: 1px solid rgb(255 255 255 / 15%);
        border-left: 3px solid var(--portal-gold);
        border-radius: 0;
        box-shadow: none;
        flex-basis: 100%;
        margin: 2px 0 8px;
        min-width: 0;
        padding: 0;
        position: static;
        transform: none !important;
        width: 100%;
    }

    .portal-mega-menu__intro {
        background: rgb(0 0 0 / 16%);
        padding: 14px 16px;
    }

    .portal-mega-menu__links {
        grid-template-columns: 1fr;
        padding: 6px;
    }

    .portal-mega-menu__links a {
        color: #fff;
        padding: 10px;
    }

    .portal-mega-menu__links a:hover,
    .portal-mega-menu__links a:focus-visible,
    .portal-mega-menu__links a.is-current {
        background: rgb(255 255 255 / 12%);
        color: #fff;
    }

    .portal-detail-sidebar {
        margin-top: 6px;
    }

    .legacy-hero {
        height: clamp(260px, calc(100svh - 285px), 380px);
    }
}

@media (max-width: 767.98px) {
    .portal-workforce {
        padding: 46px 0 50px;
    }

    .portal-workforce__header {
        gap: 18px;
        margin-bottom: 22px;
    }

    .portal-workforce__header h1 {
        font-size: 1.75rem;
    }

    .portal-workforce__grid {
        grid-template-columns: 1fr;
    }

    .portal-workforce-panel--wide {
        grid-column: auto;
    }

    .portal-workforce-panel {
        padding: 18px;
    }

    .portal-workforce-map {
        min-height: 255px;
    }

    .topnav .container {
        flex-wrap: wrap;
        gap: 0;
        justify-content: center;
        padding-bottom: 7px;
    }

    .topnav .nav-topnav .nav-link {
        font-size: .78rem;
    }

    .portal-header-search {
        flex-basis: 100%;
        height: 34px;
        margin: 0;
        max-width: none;
        order: 2;
    }

    .legacy-logo {
        height: 54px;
        width: 54px;
    }

    .legacy-logo img {
        height: 49px;
    }

    .logo-text strong {
        font-size: .85rem;
    }

    .logo-text small {
        font-size: .7rem;
    }

    .legacy-hero {
        height: clamp(190px, 34svh, 260px);
    }

    .legacy-hero .carousel-control-next-icon,
    .legacy-hero .carousel-control-prev-icon {
        height: 34px;
        width: 34px;
    }

    .news-item {
        gap: 14px !important;
    }

    .news-item .image img {
        height: 110px;
        width: 110px;
    }

    .portal-content-image .datebox {
        min-height: 34px;
        padding: 6px 8px;
    }

    .agenda-card {
        min-height: 220px;
    }

    .portal-page-head {
        padding: 38px 0;
    }

    .portal-search {
        max-width: none;
    }

    .portal-search button {
        min-width: 82px;
        padding: 0 14px;
    }

    .portal-detail {
        padding-bottom: 3.25rem !important;
        padding-top: 3.25rem !important;
    }

    .portal-detail h1 {
        font-size: 1.8rem;
    }

    .portal-side-card {
        padding: 18px;
    }

    .portal-photo-wall {
        grid-template-columns: 1fr;
    }

    .portal-listing-page-content__inner {
        padding: 22px 18px;
    }
}

@media (max-width: 479.98px) {
    .portal-media-modal .modal-header {
        padding: 16px 18px;
    }

    .portal-media-modal__stage,
    .portal-media-modal__iframe,
    .portal-media-modal__video {
        height: min(54vh, 420px);
        min-height: 0;
    }

    .portal-media-modal__image {
        max-height: min(54vh, 420px);
    }

    .portal-media-modal .modal-footer {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px 18px;
    }

    .portal-workforce__summary {
        grid-template-columns: 1fr;
    }

    .portal-workforce-panel__header {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .portal-workforce-rank,
    .portal-workforce-composition {
        gap: 20px;
        grid-template-columns: 1fr;
    }

    .portal-workforce-bars {
        min-height: 190px;
    }

    .portal-workforce-rank__list {
        margin-bottom: 4px;
    }

    .portal-workforce-composition__legend {
        margin: 0 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .portal-skeleton-line,
    .portal-skeleton-bar {
        animation: none;
    }
}
