:root {
  /* --blue-900: #0d2240; */
  --blue-900: #002856;
  --blue-700: #003b71;
  --blue-500: #0057a8;
  --blue-400: #1a7fd4;
  --blue-100: #d6e8f7;
  --blue-50: #eef6fd;
  --gold-600: #c4972a;
  --gold-400: #e2b84a;
  --gold-100: #fdf3d8;
  --white: #ffffff;
  --bg: #f2f6fb;
  --surface: #ffffff;
  --gray-100: #edf2f7;
  --gray-200: #e2e8f0;
  --gray-400: #a0aebf;
  --gray-600: #5a6a7e;
  --gray-800: #1e2d3d;
  --success: #16a34a;
  --warn: #d97706;
  --error: #dc2626;
  --font-size-sm: 0.75rem;
  --font-size-md: 1rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.5rem;
  --sidebar-w: 240px;
  --radius: 4px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  background-attachment: fixed;
  background-image: url("/media/icon_prov_tower_opaque.png");
  background-position: bottom right;
  background-repeat: no-repeat;
  background-size: 35%;
  color: var(--gray-800);
  display: flex;
  flex-direction: column;
  font-family:
    "Montserrat",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  min-height: 100vh;
}

main#main-content {
  flex: 1;
  width: 100%;
}

main#main-content:focus-visible {
  border: 3px solid;
  outline: none;
}

img {
  display: block;
  max-width: 100%;
}

/* FONT STYLING */
.text-display {
  color: var(--blue-900);
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.text-label {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.font-sm {
  font-size: var(--font-size-sm);
}

.font-md {
  font-size: var(--font-size-md);
}

.font-lg {
  font-size: var(--font-size-lg);
}

h1 {
  color: var(--blue-900);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
h1 > span {
  color: var(--gold-600);
}

h2 {
  color: #000000;
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h3 {
  color: var(--blue-900);
  font-size: 1.125rem;
  font-weight: 600;
}

p {
  color: var(--gray-800);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}

a {
  cursor: pointer;
  font-weight: 500;
  text-decoration: underline dotted var(--blue-700);
  text-underline-offset: 4px;
}

a:hover {
  text-decoration-style: solid;
}

iframe {
  width: 100%;
  height: 600px;
  border: none;
}

/* COMPONENTS */

.header-image {
  min-height: 150px;
  position: relative;
  inset: 0;
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: 1.5em;
  object-fit: contain;
  z-index: -1;
}
.header-image::after {
  content: "";
  background-color: #00000055;
  inset: 0;
  position: absolute;
}

/* .header-image::before {
  content: '';
  position: absolute;
} */
.btn {
  border-radius: var(--radius);
}

.btn-primary {
  background-color: var(--blue-900);
  color: var(--white);
}

.card {
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 10px;
  transition:
    box-shadow 0.2s,
    border-color 0.2s;
}

.card:hover {
  box-shadow: 0 4px 16px rgba(0, 59, 113, 0.1);
  border-color: var(--gray-200);
}

.card a {
  text-decoration: underline dotted 1px transparent;
  transition: text-decoration 0.5s ease-out;
}

.card a:hover {
  text-decoration-color: var(--blue-700);
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  padding: 0.75rem 1.25rem;
  background: var(--gold-600);
  color: #fff;
  z-index: 9999;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

/* FORM CONTROLS */

input[type="text"],
input[type="password"],
textarea,
.form-control {
  border-radius: var(--radius);
  border-color: var(--bs-secondary);
}

.form-label {
  font-weight: 600;
  margin-bottom: 2px;
}

.form-label > span {
  color: var(--error);
}

/* COLORS */

.clr-blue-900 {
  color: var(--blue-900);
}

.bg-blue-900 {
  background-color: var(--blue-900);
}

.clr-blue-700 {
  color: var(--blue-700);
}

.clr-blue-500 {
  color: var(--blue-500);
}

.clr-blue-400 {
  color: var(--blue-400);
}

.clr-blue-100 {
  color: var(--blue-100);
}

.clr-blue-50 {
  color: var(--blue-50);
}

.clr-gold-600 {
  color: var(--gold-600);
}

.clr-gold-400 {
  color: var(--gold-400);
}

.clr-gold-100 {
  color: var(--gold-100);
}

.clr-white {
  color: var(--white);
}

.clr-bg {
  color: var(--bg);
}

.clr-surface {
  color: var(--surface);
}

.clr-gray-100 {
  color: var(--gray-100);
}

.clr-gray-200 {
  color: var(--gray-200);
}

.clr-gray-400 {
  color: var(--gray-400);
}

.clr-gray-600 {
  color: var(--gray-600);
}

.clr-gray-800 {
  color: var(--gray-800);
}

.clr-success {
  color: var(--success);
}

.clr-warn {
  color: var(--warn);
}

.clr-error {
  color: var(--error);
}
