/* Institutional subpage components (all pages except the homepage).
   Pairs with includes/page-kit.php. Language: IBM Plex Sans, navy/white, sharp corners, minimal motion. */
:root {
    --pg-navy: #041E66;
    --pg-navy-d: #031650;
    --pg-blue: #1F4FB8;
    --pg-ink: #0F1B33;
    --pg-text: #3D4759;
    --pg-muted: #6A7486;
    --pg-line: #DDE2EA;
    --pg-bg: #F3F5F8;
    --pg-ease: cubic-bezier(.25, .8, .25, 1);
}
.pg { padding-top: 86px; background: #fff; color: var(--pg-text); font-family: 'IBM Plex Sans', sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
.pg h1, .pg h2, .pg h3, .pg h4 { font-family: 'IBM Plex Sans', sans-serif; color: var(--pg-ink); margin: 0; letter-spacing: -0.01em; }
.pg p { margin: 0; line-height: 1.75; color: var(--pg-text); font-size: 1rem; }
.pg a { text-decoration: none; }
.pg ul, .pg ol, .pg dl { list-style: none; margin: 0; padding: 0; }
.pg img { display: block; max-width: 100%; }
.pg button, .pg input, .pg select, .pg textarea { font-family: inherit; }
.pg-wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.pg-section { padding: 88px 0; }
.pg-section--tint { background: var(--pg-bg); }
.pg-section--tight { padding: 64px 0; }

/* ---------- hero band ---------- */
.pg-hero { position: relative; background: var(--pg-navy-d); padding: 56px 0 64px; overflow: hidden; }
.pg-hero--img { padding: 72px 0 84px; }
.pg-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none !important; opacity: .35; }
.pg-hero--img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 22, 80, .92) 0%, rgba(3, 22, 80, .7) 55%, rgba(3, 22, 80, .35) 100%); }
.pg-hero-inner { position: relative; z-index: 2; }
.pg-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 28px; font-size: .82rem; }
.pg-crumbs li { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .6); }
.pg-crumbs li + li::before { content: '/'; color: rgba(255, 255, 255, .35); }
.pg-crumbs a { color: rgba(255, 255, 255, .78); }
.pg-crumbs a:hover { color: #fff; }
.pg-crumbs span[aria-current] { color: #fff; }
.pg-hero-kicker { display: inline-block; color: rgba(255, 255, 255, .85) !important; font-size: .82rem !important; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding-left: 14px; border-left: 3px solid #fff; margin-bottom: 16px !important; }
.pg-hero h1 { color: #fff; font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 500; line-height: 1.15; max-width: 900px; }
.pg-hero-lead { margin-top: 18px !important; max-width: 760px; color: rgba(255, 255, 255, .8) !important; font-size: 1.1rem !important; }

/* ---------- headings, links, buttons ---------- */
.pg .pg-title { position: relative; font-size: clamp(1.55rem, 2.3vw, 2rem); font-weight: 600; line-height: 1.2; padding-left: 18px; margin-bottom: 28px; }
.pg .pg-title::before { content: ''; position: absolute; left: 0; top: .15em; bottom: .15em; width: 4px; background: var(--pg-navy); }
.pg .pg-title--light { color: #fff; }
.pg .pg-title--light::before { background: #fff; }
.pg-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; }
.pg-head .pg-title { margin-bottom: 0; }
.pg-lead { font-size: 1.2rem !important; line-height: 1.6 !important; color: var(--pg-ink) !important; }
.pg-more { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: .95rem; color: var(--pg-navy); white-space: nowrap; }
.pg-more i { font-size: 1.2rem; transition: transform .2s ease; }
.pg-more:hover i { transform: translateX(3px); }
.pg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 14px 26px; font-weight: 600; font-size: .95rem; line-height: 1; border: 1px solid transparent; border-radius: 0; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.pg-btn i { font-size: 1.2rem; }
.pg-btn--dark { background: var(--pg-navy); color: #fff; }
.pg-btn--dark:hover { background: var(--pg-blue); color: #fff; }
.pg-btn--line { background: #fff; color: var(--pg-navy); border-color: var(--pg-navy); }
.pg-btn--line:hover { background: var(--pg-navy); color: #fff; }
.pg-btn--light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .8); }
.pg-btn--light:hover { background: #fff; color: var(--pg-navy); }
.pg-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- generic layouts ---------- */
.pg-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.pg-split--wide { grid-template-columns: 1.2fr .8fr; }
.pg-split--side { grid-template-columns: 300px 1fr; align-items: start; }
.pg-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--pg-bg); }
.pg-img img { width: 100%; height: 100%; object-fit: cover; }
.pg-prose > * + * { margin-top: 16px; }
.pg-prose h2, .pg-prose h3 { margin-top: 32px; }

/* figures table */
.pg-figs { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--pg-line); border-left: 1px solid var(--pg-line); }
.pg-figs--4 { grid-template-columns: repeat(4, 1fr); }
.pg-figs > div { padding: 28px 24px; border-right: 1px solid var(--pg-line); border-bottom: 1px solid var(--pg-line); background: #fff; }
.pg-figs dd { margin: 0; font-size: clamp(2.2rem, 3.4vw, 3rem); font-weight: 300; line-height: 1; color: var(--pg-navy); font-variant-numeric: tabular-nums; }
.pg-figs dt { margin-top: 10px; font-size: .9rem; color: var(--pg-muted); }

/* bordered link list */
.pg-linklist { border-top: 1px solid var(--pg-line); }
.pg-linklist a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--pg-line); color: var(--pg-ink); font-weight: 500; }
.pg-linklist a i { color: var(--pg-navy); font-size: 1.2rem; }
.pg-linklist a:hover { color: var(--pg-navy); }

/* statement blocks (mission / vision etc.) */
.pg-statements { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 3px solid var(--pg-navy); }
.pg-statements > div { padding: 36px 40px 40px 0; }
.pg-statements > div + div { padding-left: 40px; border-left: 1px solid var(--pg-line); }
.pg-statements h3 { font-size: .9rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--pg-navy); margin-bottom: 12px; }
.pg-statements p { font-size: 1.12rem; line-height: 1.7; color: var(--pg-ink); }

/* people */
.pg-people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pg-person { border: 1px solid var(--pg-line); background: #fff; }
.pg-person-img { aspect-ratio: 4 / 4.4; overflow: hidden; background: var(--pg-bg); }
.pg-person-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; filter: grayscale(.15); }
.pg-person-body { padding: 18px 20px 20px; border-top: 3px solid var(--pg-navy); }
.pg-person h3 { font-size: 1.08rem; font-weight: 600; }
.pg-person p { font-size: .9rem; color: var(--pg-muted); margin-top: 2px; }
.pg-person-links { display: flex; gap: 8px; margin-top: 12px; }
.pg-person-links a { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--pg-line); color: var(--pg-navy); font-size: 1.05rem; }
.pg-person-links a:hover { background: var(--pg-navy); color: #fff; border-color: var(--pg-navy); }

/* logo grid */
.pg-logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.pg-logos li { position: relative; height: 112px; display: grid; place-items: center; padding: 16px 18px; border: 1px solid var(--pg-line); background: #fff; transition: border-color .2s ease; }
.pg-logos li:hover { border-color: var(--pg-navy); }
.pg-logos img { max-height: 60px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s ease, opacity .2s ease; }
.pg-logos li:hover img { filter: none; opacity: 1; }
.pg-logos a { position: absolute; inset: 0; }
.pg-logos .pg-flag { position: absolute; top: 8px; right: 8px; font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--pg-navy); padding: 2px 7px; }
.pg-group { display: grid; grid-template-columns: 260px 1fr; gap: 32px; padding: 32px 0; border-top: 1px solid var(--pg-line); }
.pg-group:last-child { border-bottom: 1px solid var(--pg-line); }
.pg-group h3 { font-size: 1.1rem; font-weight: 600; line-height: 1.4; }
.pg-group h3 span { display: block; margin-top: 4px; font-size: .86rem; font-weight: 400; color: var(--pg-muted); }
.pg-group .pg-logos { grid-template-columns: repeat(5, 1fr); }

/* news / press list */
.pg-news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pg-news-item { display: flex; flex-direction: column; color: var(--pg-ink); border-bottom: 3px solid var(--pg-navy); background: #fff; }
.pg-news-img { aspect-ratio: 16 / 9; overflow: hidden; background: #0b1530; }
.pg-news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--pg-ease); }
.pg-news-item:hover .pg-news-img img { transform: scale(1.03); }
.pg-news-body { padding: 20px 4px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pg-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: .8rem; }
.pg-meta em { font-style: normal; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--pg-navy); }
.pg-meta time { color: var(--pg-muted); }
.pg-news-item h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.35; transition: color .2s ease; }
.pg-news-item:hover h3 { color: var(--pg-navy); }
.pg-news-item p { font-size: .94rem; color: var(--pg-muted); }
.pg-video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.pg-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* positions */
.pg-rows { border-top: 1px solid var(--pg-line); }
.pg-row { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--pg-line); }
.pg-row h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 6px; }
.pg-row p { font-size: .95rem; color: var(--pg-muted); }
.pg-row-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 10px; font-size: .84rem; color: var(--pg-text); }
.pg-row-meta span { display: inline-flex; align-items: center; gap: 6px; }
.pg-row-meta i { color: var(--pg-navy); }

/* forms */
.pg-form { background: #fff; border: 1px solid var(--pg-line); border-top: 3px solid var(--pg-navy); padding: 36px; }
.pg-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.pg-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pg-field--full { grid-column: 1 / -1; }
.pg-field label { font-size: .88rem; font-weight: 600; color: var(--pg-ink); }
.pg-field input, .pg-field select, .pg-field textarea { width: 100%; padding: 12px 14px; border: 1px solid #C9D1DD; border-radius: 0; background: #fff; color: var(--pg-ink); font-size: .95rem; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.pg-field textarea { resize: vertical; min-height: 120px; }
.pg-field input:focus, .pg-field select:focus, .pg-field textarea:focus { border-color: var(--pg-navy); box-shadow: 0 0 0 3px rgba(4, 30, 102, .1); }
.pg-field small { font-size: .8rem; color: var(--pg-muted); }
.pg-file { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px dashed #B7C1D1; background: var(--pg-bg); cursor: pointer; }
.pg-file i { font-size: 1.6rem; color: var(--pg-navy); }
.pg-file input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.pg-file:focus-within { border-color: var(--pg-navy); }
.pg-alert { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; margin-bottom: 22px; border-left: 4px solid; font-size: .95rem; }
.pg-alert--ok { background: #ECFDF3; border-color: #059669; color: #065F46; }
.pg-alert--err { background: #FEF2F2; border-color: #DC2626; color: #991B1B; }
.pg-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* closing CTA */
.pg-cta { background: var(--pg-navy); padding: 64px 0; }
.pg-cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.pg-cta h2 { color: #fff; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 500; margin-bottom: 8px; }
.pg-cta p { color: rgba(255, 255, 255, .78) !important; max-width: 680px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
    .pg-split, .pg-split--wide, .pg-split--side { grid-template-columns: 1fr; gap: 40px; }
    .pg-people { grid-template-columns: repeat(2, 1fr); }
    .pg-logos { grid-template-columns: repeat(4, 1fr); }
    .pg-group { grid-template-columns: 1fr; gap: 16px; }
    .pg-group .pg-logos { grid-template-columns: repeat(4, 1fr); }
    .pg-news { grid-template-columns: 1fr 1fr; }
    .pg-figs--4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .pg { padding-top: 76px; }
    .pg-wrap { padding: 0 16px; }
    .pg-section { padding: 64px 0; }
    .pg-hero { padding: 40px 0 48px; }
    .pg-hero--img { padding: 48px 0 56px; }
    .pg-hero-lead { font-size: 1rem !important; }
    .pg-head { flex-direction: column; align-items: flex-start; gap: 12px; }
    .pg-statements { grid-template-columns: 1fr; }
    .pg-statements > div, .pg-statements > div + div { padding: 28px 0; border-left: 0; }
    .pg-statements > div + div { border-top: 1px solid var(--pg-line); }
    .pg-people { grid-template-columns: 1fr 1fr; gap: 12px; }
    .pg-person-body { padding: 14px; }
    .pg-logos, .pg-group .pg-logos { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .pg-logos li { height: 80px; padding: 10px; }
    .pg-news { grid-template-columns: 1fr; }
    .pg-row { grid-template-columns: 1fr; gap: 14px; }
    .pg-form { padding: 24px 18px; }
    .pg-form-grid { grid-template-columns: 1fr; }
    .pg-cta-inner { flex-direction: column; align-items: flex-start; }
    .pg-actions .pg-btn { flex: 1 1 100%; }
}
