:root {
  --institutional-blue: #003366;
  --sky-blue: #00A3E0;
  --soft-chalk: #F8F9FA;
  --academic-grey: #495057;
  --success-green: #28A745;
  --white: #FFFFFF;
  --line: #DDE3EA;
}

body {
  color: var(--academic-grey);
  background: var(--soft-chalk);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

h1, h2, h3, h4, h5, h6,
.navbar-brand,
.eyebrow,
.footer-heading,
.footer-brand {
  color: var(--institutional-blue);
  font-family: "Lora", Georgia, serif;
  letter-spacing: 0;
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(0, 51, 102, .08);
}

.navbar-brand {
  color: var(--institutional-blue);
  font-weight: 700;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: var(--institutional-blue);
  border-radius: 8px;
}

.site-header .nav-link,
.site-header .dropdown-item {
  color: var(--institutional-blue);
  font-size: .84rem;
  font-weight: 700;
  text-transform: uppercase;
}

.site-header .navbar-nav {
  flex-wrap: wrap;
}

.site-header .dropdown {
  position: relative;
}

.site-header .dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 20;
  display: none;
  max-width: min(22rem, calc(100vw - 2rem));
  max-height: 70vh;
  overflow-y: auto;
}

.site-header .dropdown:hover > .dropdown-menu,
.site-header .dropdown:focus-within > .dropdown-menu {
  display: block;
}

.site-header .nav-link:hover,
.site-header .dropdown-item:hover,
.site-prose a:hover {
  color: var(--sky-blue);
}

.hero-section {
  color: #fff;
  background: linear-gradient(120deg, var(--institutional-blue), #0A4B82);
  padding: 68px 0 52px;
}

.hero-section h1 {
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 4rem);
}

.hero-lead,
.hero-section p {
  color: rgba(255, 255, 255, .88);
}

.hero-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
}

.eyebrow {
  color: var(--success-green);
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
}

.content-band,
.article-shell,
.listing-shell {
  padding: 56px 0;
}

.site-article,
.site-sidebar,
.toc-box,
.post-card,
.minimal-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(0, 51, 102, .08);
}

.site-article,
.site-sidebar,
.toc-box,
.post-card .card-body,
.minimal-card {
  padding: 1.25rem;
}

.site-prose a,
.site-list a,
.post-card a,
.minimal-card a {
  color: var(--sky-blue);
  text-decoration: none;
}

.site-block {
  margin-bottom: 1.2rem;
}

.site-figure img,
.gallery-grid img,
.post-card img,
.site-prose img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.post-card,
.minimal-card {
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.post-card:hover,
.minimal-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(0, 51, 102, .14);
}

.minimal-card {
  border-left: 5px solid var(--success-green);
}

.article-summary {
  border-left: 4px solid var(--sky-blue);
  padding-left: 1rem;
}

.article-main-image {
  max-width: 33%;
  margin: 0 0 1rem 1.5rem;
}

.source-link-matrix {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.source-link-matrix ul {
  columns: 2;
  list-style: none;
  padding: 0;
}

.site-footer {
  background: var(--institutional-blue);
  color: #fff;
  padding: 48px 0;
}

.site-footer h2,
.footer-brand {
  color: #fff;
}

.footer-copy,
.footer-links a,
.footer-cta {
  color: rgba(255, 255, 255, .76);
}

@media (max-width: 767px) {
  .article-main-image {
    float: none !important;
    max-width: 100%;
    margin: 0 0 1rem;
  }

  .source-link-matrix ul {
    columns: 1;
  }
}
