/* =========================================================
   UEH SOG - School of Government Landing
   Brand: Blue #28418c - Earth #a57865
   ========================================================= */

:root {
  --blue: #28418c;
  --blue-deep: #1a2c66;
  --blue-ink: #0f1a3d;
  --earth: #a57865;
  --earth-deep: #8a6152;
  --sand: #e8ddd4;
  --parchment: #f6f1ec;
  --paper: #fffcf9;
  --ink: #1c2438;
  --muted: #5c6578;
  --line: rgba(40, 65, 140, 0.12);
  --white: #ffffff;
  --glow-blue: rgba(64, 140, 255, 0.45);
  --glow-cyan: rgba(90, 200, 255, 0.35);
  --glow-earth: rgba(165, 120, 101, 0.4);
  --radius: 2px;
  --max: 1280px;
  --header-h: 80px;
  --ease: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --motion: 0.55s;
  --motion-slow: 0.9s;
  --font-display: "FontWeb", "Segoe UI", sans-serif;
  --font-body: "RobotoUEH", "FontNoiDung", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Kill Windows/Chrome heavy black focus rings */
:focus {
  outline: none;
}

:focus-visible {
  outline: none;
}

a:focus-visible {
  outline: 2px solid rgba(40, 65, 140, 0.55);
  outline-offset: 3px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Prefer visible keyboard focus on interactive controls */
.btn:focus-visible,
.nav-link:focus-visible,
.program-tab:focus-visible,
.ug-tabs__tab:focus-visible,
.header-search__btn:focus-visible,
.back-top:focus-visible,
.hero-mute:focus-visible {
  outline: 2px solid rgba(40, 65, 140, 0.55);
  outline-offset: 3px;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(40, 65, 140, 0.4);
  outline-offset: 1px;
}

button,
summary,
[role="tab"],
.program-tab,
.back-top,
.hero-mute,
.burger,
.lang-toggle,
.video-play {
  -webkit-tap-highlight-color: transparent;
}

/* Mouse click: no ring. Keyboard (:focus-visible): keep ring from rules above. */
button:focus:not(:focus-visible),
summary:focus:not(:focus-visible),
[role="tab"]:focus:not(:focus-visible),
.program-tab:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  background: var(--parchment);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--parchment);
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

/* Let responsive <picture> wrappers not break existing img layout rules */
picture {
  display: contents;
}

/* Experience levels — same chrome colors; only drop expensive filters */
html.sog-lite .site-header,
html.sog-lite .site-header.is-scrolled {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

html.sog-balanced .site-header,
html.sog-balanced .site-header.is-scrolled {
  -webkit-backdrop-filter: blur(8px) saturate(1.1);
  backdrop-filter: blur(8px) saturate(1.1);
}

.vhide {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}


button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

ul {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

main,
.site-header,
.site-footer,
.hero,
.trust-strip,
.section {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

.container-wide {
  width: min(100% - 40px, 1360px);
  margin-inline: auto;
}
