:root {
  --navy: #1b3a4b;
  --steel: #2c5f7c;
  --white: #ffffff;
  --light: #f4f5f7;
  --charcoal: #2d2d2d;
  --border: #d9dfe4;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Merriweather", Georgia, "Times New Roman", serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.65;
}

a {
  color: var(--steel);
}

p {
  margin: 0 0 1rem;
}

.topbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
}

.logo {
  display: inline-block;
  width: 420px;
  height: 112px;
  background: url("images/logo-transparent.png") no-repeat left center / contain;
  text-indent: -9999px;
  overflow: hidden;
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
}

.nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  font-family: "Source Sans 3", Arial, sans-serif;
  text-decoration: none;
  color: var(--charcoal);
  font-size: 0.97rem;
  font-weight: 600;
}

.nav a:hover,
.nav a.active {
  color: var(--steel);
}

.hero {
  background: var(--navy);
  color: var(--white);
  padding: 3.3rem 0;
}

.hero h1 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
  line-height: 1.2;
}

.hero p {
  margin: 0;
  max-width: 75ch;
  font-size: 1.05rem;
}

.section {
  padding: 2.3rem 0;
}

.section-light {
  background: var(--light);
}

.section h2 {
  margin-top: 0;
  font-size: 1.45rem;
  color: var(--navy);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
  align-items: stretch;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  border-radius: 6px;
  box-shadow: 0 6px 16px rgba(27, 58, 75, 0.06);
}

.card h3 {
  margin: 0 0 0.55rem;
  font-family: "Source Sans 3", Arial, sans-serif;
  color: var(--navy);
  line-height: 1.25;
}

.card > p {
  margin-bottom: 0.9rem;
}

.card > p:first-of-type {
  min-height: calc(1.65em * 5);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
}

.card ul {
  list-style: none;
  margin: 0 0 0.9rem;
  padding: 0;
}

.card > p:last-of-type {
  margin-top: auto;
  margin-bottom: 0;
}

.mini-article {
  margin: 0.45rem 0;
}

.mini-article a {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0.7rem;
  align-items: center;
  text-decoration: none;
  color: var(--charcoal);
}

.mini-article img {
  width: 88px;
  height: 62px;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: 4px;
}

.mini-article span {
  text-decoration: none;
  color: var(--steel);
  font-family: "Source Sans 3", Arial, sans-serif;
  font-weight: 600;
  line-height: 1.25;
}

.mini-article a:hover span {
  text-decoration: underline;
}

.single-col {
  width: min(860px, 92%);
  margin: 0 auto;
  padding: 2.2rem 0;
}

.single-col h1 {
  color: var(--navy);
  margin-top: 0;
}

.single-col h2 {
  color: var(--navy);
  margin-top: 1.9rem;
}

.single-col h3 {
  font-family: "Source Sans 3", Arial, sans-serif;
  color: var(--navy);
  margin-top: 1.2rem;
}

.article-hero {
  margin: 0.8rem 0 1.4rem;
}

.article-hero img {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--light);
}

.article-list {
  display: grid;
  gap: 0.9rem;
}

.article-list-item {
  border: 1px solid var(--border);
  background: var(--light);
  padding: 0.9rem 1rem;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(27, 58, 75, 0.05);
}

.article-list-media {
  display: block;
  margin-bottom: 0.7rem;
}

.article-list-media img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: 4px;
}

.article-list-item h3 {
  margin: 0 0 0.4rem;
  line-height: 1.25;
}

.article-list-item p {
  margin: 0;
}

footer {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  padding: 1.3rem 0 2.5rem;
  color: #4f4f4f;
  font-size: 0.9rem;
}

@media (max-width: 840px) {
  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    justify-content: flex-start;
    gap: 0.75rem;
  }

  .logo {
    width: 300px;
    height: 80px;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .card > p:first-of-type {
    min-height: 0;
    display: block;
    -webkit-line-clamp: unset;
  }

  .mini-article a {
    grid-template-columns: 74px 1fr;
    gap: 0.6rem;
  }

  .mini-article img {
    width: 74px;
    height: 54px;
  }
}
