/* Global stylesheet (generated from layers) */
/* Source: assets/css/layers/tokens.css, base.css, components.css, utilities.css */

/* Design tokens */
:root {
  --blue-1: #0024B3;
  --blue-2: #0033CC;
  --blue-3: #0040E6;
  --blue-4: #004DFF;
  --blue-5: #0D40FF;
  --blue-6: #1A4DFF;
  --blue-7: #3366FF;
  --blue-8: #4D80FF;
  --blue-9: #6699FF;
  --blue-10: #80B3FF;
  --blue-11: #CCE5FF;
  --blue-12: #E6F2FF;
  --logo-blue: #233b77;
  --orange: #EF7F1A;
  --bg-hover-global: var(--orange);
  --color-carousel-active: var(--bg-hover-global);
  --color-carousel-inactive: var(--blue-11);
  --color-navbar-active: var(--logo-blue);
}

/* Base styles */
html { height: 100%; }

body {
  font-family: "Open Sans", sans-serif;
  font-size: 11pt;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  padding-inline: 20px;
  flex: 1 0 auto;
}

@media (min-width: 992px) {
  main { padding-inline: 0; }
}

:focus { outline: none; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

a { text-decoration: none; }

/* Shared components and layout primitives */
.navbar .nav-link:focus-visible,
.dropdown-item:focus-visible,
.topbar a:focus-visible,
.footer a:focus-visible,
.btn:focus-visible,
.back-to-top:focus-visible {
  outline: 3px solid #EF7F1A;
  outline-offset: 2px;
  border-radius: 4px;
}
.skip-link {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  padding: .5rem 1rem;
  background: #000;
  color: #fff;
  z-index: 10000;
}

header .site-title { line-height: 1; }

.topbar {
  font-size: .875rem;
  background: linear-gradient(145deg, #1b2838 0%, #231f20 52%, #171414 100%);
  color: #e5e7eb;
  border-bottom: 1px solid rgba(255,255,255,.08);
  position: relative;
  z-index: 1040;
}
.topbar a { color:#e5e7eb; }
.topbar .topbar-locale { margin-right: .5rem; }
.topbar .locale-toggle {
  color: #e5e7eb;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}
.topbar .locale-toggle:hover,
.topbar .locale-toggle:focus {
  background-color: var(--bg-hover-global);
  color: #fff;
}
.topbar .locale-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.topbar .locale-flag-icon {
  width: 1.15rem;
  height: .8rem;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.2);
  flex-shrink: 0;
}
.topbar .dropdown-menu {
  font-size: .9rem;
  z-index: 1050;
}
.topbar .locale-menu .dropdown-item {
  border-radius: .25rem;
  margin: .125rem .25rem;
  width: auto;
}
.topbar .locale-menu .dropdown-item:hover,
.topbar .locale-menu .dropdown-item:focus {
  background-color: var(--bg-hover-global);
  color: #fff;
}
.topbar .locale-menu .dropdown-item.active,
.topbar .locale-menu .dropdown-item[aria-current="true"] {
  background-color: var(--bg-hover-global);
  color: #fff;
  font-weight: 600;
}
.topbar .form-control {
  min-width: 220px;
  background: #1f2937;
  border-color: #374151;
  color: #e5e7eb;
}
.topbar .form-control::placeholder { color:#9ca3af; }
.topbar .btn-outline-secondary {
  color: #e5e7eb;
  border-color: #4b5563;
}
.topbar .btn-outline-secondary:hover {
  background: #374151;
  color: #fff;
}
.topbar .social a,
.footer .social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  text-decoration: none;
}
.topbar .social a { margin-left: .25rem; }
.footer .social a { margin-left: .15rem; }
.topbar .social a:hover,
.footer .social a:hover { background-color: var(--bg-hover-global); }
.topbar .social i,
.footer .social i {
  font-size: 16px;
  line-height: 1;
  color: #ffffff80;
}

.navbar .nav-link { color: var(--logo-blue) !important; }
.navbar .dropdown-item { color: var(--logo-blue); }
.navbar .nav-link:hover,
.navbar .nav-link:focus {
  background-color: var(--bg-hover-global);
  border-radius: .25rem;
}
.dropdown-item:hover,
.dropdown-item:focus { background-color: var(--bg-hover-global); }
.list-group-item-action:hover,
.list-group-item-action:focus { background-color: var(--bg-hover-global); }

.navbar .nav-link.active,
.navbar .nav-link[aria-current="page"] {
  border-radius: .25rem;
  font-weight: 700;
  color: var(--color-navbar-active) !important;
}
.dropdown-menu .dropdown-item.active,
.dropdown-menu .dropdown-item[aria-current="page"] {
  font-weight: 600;
  color: var(--color-navbar-active);
}

/* Nested navbar dropdowns: expand to the right of parent item on desktop */
.navbar .dropdown-menu .dropend {
  position: relative;
}
.navbar .dropdown-menu .dropend > .dropdown-menu {
  top: 0;
  left: 100%;
  right: auto;
  margin-top: 0;
  margin-left: .125rem;
}
.navbar .dropdown-menu .dropstart {
  position: relative;
}
.navbar .dropdown-menu .dropstart > .dropdown-menu {
  top: 0;
  right: 100%;
  left: auto;
  margin-top: 0;
  margin-right: .125rem;
  margin-left: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: #d1e4fe;
  transition: background-color .15s ease;
}
.site-header.is-scrolling { background: rgba(209, 228, 254, .5); }
.site-header .navbar {
  min-height: 80px;
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
}
.site-header .navbar-brand {
  display: flex;
  align-items: center;
  padding: .5rem 0;
}
.site-header .navbar-brand img { flex-shrink: 0; display: block; }
.site-header .navbar-brand:hover { background-color: transparent; }
.site-header .navbar-collapse { align-items: center; }
.site-header .nav-link {
  padding-top: .25rem;
  padding-bottom: .25rem;
}
.site-header .brand-divider {
  width: 1px;
  height: 48px;
  align-self: center;
  margin: 0;
  background-color: #80B3FF;
}
.site-header .site-title { gap: .25rem; }
.site-header .navbar-toggler:hover,
.site-header .navbar-toggler:focus {
  background-color: var(--bg-hover-global);
  border-color: var(--bg-hover-global);
  outline: 0;
}
.site-header .navbar-toggler:focus-visible {
  outline: 3px solid #EF7F1A;
  outline-offset: 2px;
}
@media (max-width: 991.98px) {
  .navbar .dropdown-menu .dropend > .dropdown-menu {
    position: static;
    margin-left: 0;
  }
  .navbar .dropdown-menu .dropstart > .dropdown-menu {
    position: static;
    margin-right: 0;
  }
  .site-header .navbar-collapse.show {
    border-top: 1px solid var(--bg-hover-global);
    margin-top: .5rem;
    padding-top: .5rem;
  }
  .site-header .navbar-nav .nav-link {
    padding-top: .5rem;
    padding-bottom: .5rem;
  }
}

.page-hero {
  background: #192d5f;
  color: #fff;
  padding: 1rem 0;
}
.page-hero h1 { color:#EF7F1A; }

footer a { color: inherit; }
.footer {
  background: linear-gradient(145deg, #1b2838 0%, #231f20 52%, #171414 100%);
}
.footer .footer-main {
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.footer .footer-title {
  color: #fff;
  margin-bottom: .9rem;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.footer .footer-intro {
  color: rgba(255,255,255,.75);
  max-width: 38ch;
  line-height: 1.6;
}
.footer .footer-links,
.footer .footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer .footer-links li + li,
.footer .footer-contact-list li + li {
  margin-top: .55rem;
}
.footer .footer-links a {
  display: inline-flex;
  align-items: center;
  color: rgba(255,255,255,.82);
  text-decoration: none;
  transition: color .15s ease, transform .15s ease;
}
.footer .footer-links a::before {
  content: "";
  width: .32rem;
  height: .32rem;
  margin-right: .5rem;
  border-radius: 50%;
  background-color: rgba(239,127,26,.85);
}
.footer .footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  color: rgba(255,255,255,.78);
  line-height: 1.5;
}
.footer .footer-contact-list i {
  width: 1rem;
  margin-top: .2rem;
  color: #EF7F1A;
  text-align: center;
  flex-shrink: 0;
}
.footer .footer-contact-link {
  color: rgba(255,255,255,.9);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: .5rem;
  padding: .45rem .65rem;
  transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}
.footer .footer-contact-link:hover,
.footer .footer-contact-link:focus {
  background-color: rgba(255,255,255,.08);
  border-color: var(--bg-hover-global);
  color: #fff;
  text-decoration: none;
}
.footer .footer-social a {
  width: 32px;
  height: 32px;
  margin-left: 0;
  margin-right: .4rem;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 6px;
  background: rgba(255,255,255,.03);
}
.footer .footer-social a:last-child { margin-right: 0; }
.footer .footer-social i { color: rgba(255,255,255,.88); }
.footer .footer-bottom { color: rgba(255,255,255,.78); }
.footer-disclaimer-body { text-align: justify; }
.footer a:hover,
.footer a:focus {
  color: var(--bg-hover-global);
  text-decoration: underline;
}
@media (max-width: 767.98px) {
  .footer .footer-intro { max-width: 100%; }
}

.carousel-indicators [data-bs-target] { background-color: var(--color-carousel-inactive); }
.carousel-indicators .active { background-color: var(--color-carousel-active); }

.back-to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  border-radius: 15%;
  background: #EF7F1A;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,.25);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1060;
  transition: background-color .15s ease, opacity .15s ease;
}
.back-to-top i {
  font-size: 18px;
  line-height: 1;
}
.back-to-top:hover,
.back-to-top:focus {
  background-color: var(--bg-hover-global);
  color: #fff;
  text-decoration: none;
}
.back-to-top.show { display:inline-flex; }

.fresh-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.fresh-badge > * {
  position: relative;
  z-index: 1;
}
.fresh-badge::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-color: #ffc0cb;
  z-index: 0;
  animation: fresh-pulse 1.8s ease-in-out infinite;
}
@keyframes fresh-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.95;
    background-color: #ffc0cb;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
    background-color: #dc3545;
  }
}

.content-card { transition: transform .2s ease, box-shadow .2s ease; }
.content-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}
.content-card .avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  margin: 16px auto;
  box-shadow: 0 10px 8px rgba(0,0,0,.2);
}
.content-card .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.content-card .name {
  font-weight: 700;
  color: var(--logo-blue);
}
.content-card .title { color:#475569; }
.content-card .card-footer { background: var(--logo-blue); }
.content-card .card-footer .link-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  color: #334155;
}
.content-card .card-footer .link-icons a:hover {
  background: var(--bg-hover-global);
  color: rgba(0,0,0,.4);
  text-decoration: none;
}
.content-card .card-footer .link-icons a,
.content-card .card-footer .link-icons a:focus { text-decoration: none; }
.content-card .card-footer .link-icons i {
  font-size: 1.1rem;
  text-decoration: none;
  color: rgba(255,255,255,.5);
}
.content-card .card-footer .more-info { color: #EF7F1A; }
.content-card .card-footer .more-info:hover { color: var(--bg-hover-global); }
.content-card .card-footer .btn-more {
  border-color: rgba(255,255,255,.5);
  background-color: #CCE5FF;
}
.content-card .card-footer .btn-more:hover { background-color: var(--bg-hover-global); }

#personCardGrid > [class*="col-"],
.person-card-grid > [class*="col-"] {
  display: flex;
}
#personCardGrid > [class*="col-"] .person-card,
.person-card-grid > [class*="col-"] .person-card {
  width: 100%;
  display: flex;
  flex-direction: column;
}
#personCardGrid > [class*="col-"] .card-body,
.person-card-grid > [class*="col-"] .card-body {
  flex: 1 1 auto;
}

.content-card .card-img-top {
  height: 180px;
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  background-color: #fff;
  border-bottom: 1px solid #dedede;
  padding: 0.5rem;
  box-sizing: border-box;
}
.content-card .card-body .news-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: calc(1.5em * 3);
  color: rgb(120, 120, 120);
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto; }
  .carousel-item { transition: none !important; }
  .content-card { transition: none !important; }
  .fresh-badge::after { animation: none; }
}

/* Utility classes and global helpers */
.bg-blue-1 { background: var(--blue-1); }
.bg-blue-12 { background: var(--blue-12); }

.text-blue-logo { color: var(--logo-blue); }
.text-blue-8 { color: var(--blue-8); }
.text-orange { color: var(--orange); }
.logo-blue { color: var(--logo-blue); }

.hover-global:hover { background-color: var(--bg-hover-global) !important; }

.btn-bg { background: var(--blue-12); }
.btn.active { background: var(--bg-hover-global); }

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