:root {
  color-scheme: light;
  --blue: #3d78c1;
  --navy: #344a66;
  --link: #78a7c8;
  --text: #444;
  --muted: #999;
  --page: #f5f5f5;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font: 300 18px/1.625 "Roboto Condensed", "Arial Narrow", sans-serif;
}
a { color: var(--link); text-decoration: none; transition: color .15s ease, background-color .15s ease; }
a:hover { color: #34678a; }
button, input { font: inherit; }
.wrap { width: min(1140px, calc(100% - 40px)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header { position: relative; z-index: 5; min-height: 112px; border-top: 3px solid var(--blue); background: #fff; box-shadow: 0 3px 3px rgb(70 70 70 / 5%); }
.header-wrap { position: relative; display: flex; min-height: 109px; align-items: center; justify-content: flex-end; }
.brand { position: absolute; z-index: 2; top: 0; left: 0; display: flex; width: 300px; min-height: 102px; flex-direction: column; justify-content: center; padding: 18px 20px; background: var(--blue); color: #fff; text-align: center; box-shadow: 0 3px 3px rgb(70 70 70 / 10%); }
.brand:hover { color: #fff; }
.site-title { font-size: 34px; font-weight: 700; line-height: 1.2; text-transform: uppercase; }
.site-description { font-size: 16px; line-height: 1.3; }
.primary-nav { order: 1; margin-left: 310px; }
.primary-nav > ul { display: flex; align-items: center; gap: 0; margin: 0; padding: 0; list-style: none; }
.primary-nav li { position: relative; list-style: none; }
.primary-nav ul ul { margin: 0; padding: 0; list-style: none; }
.primary-nav a { display: block; padding: 12px 11px; color: var(--text); font-size: 15px; line-height: 1.2; white-space: nowrap; }
.primary-nav a:hover { background: var(--link); color: #fff; }
.primary-nav li ul { position: absolute; top: 100%; left: -9999px; z-index: 20; width: 240px; background: var(--link); opacity: 0; transition: opacity .18s ease; }
.primary-nav li ul ul { top: 0; left: -9999px; }
.primary-nav li:hover > ul, .primary-nav li:focus-within > ul { left: 0; opacity: 1; }
.primary-nav li ul li:hover > ul, .primary-nav li ul li:focus-within > ul { left: 100%; }
.primary-nav li ul a { color: #fff; white-space: normal; }
.primary-nav li ul a:hover { background: #fff; color: var(--text); }
.submenu-toggle { display: none; }
.menu-toggle { display: none; }

.hero { overflow: hidden; width: 100%; background: #fff; }
.slides { position: relative; width: 100%; aspect-ratio: 8 / 3; }
.slide { position: absolute; inset: 0; display: block; opacity: 0; transition: opacity 1s ease; pointer-events: none; }
.slide.is-active { z-index: 1; opacity: 1; pointer-events: auto; }
.slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.welcome { padding: 38px 24px 34px; background: #fff; text-align: center; }
.welcome h1 { margin: 0 0 15px; color: #7894ad; font-size: 20px; font-weight: 300; letter-spacing: .08em; line-height: 1.35; text-transform: uppercase; }
.welcome p { max-width: 850px; margin: 0 auto; color: #a4a9ac; font-size: 24px; line-height: 1.35; }
.quick-links { background: var(--navy); }
.quick-links-inner { display: grid; width: min(1140px, calc(100% - 40px)); grid-template-columns: repeat(3, minmax(0, 1fr)); margin-inline: auto; }
.quick-link { display: flex; min-height: 270px; flex-direction: column; align-items: center; padding: 38px 22px 30px; color: #fff; text-align: center; }
.quick-link:hover { background: #2f435c; color: #fff; }
.quick-icon { display: block; min-height: 70px; font-family: Arial, sans-serif; font-size: 45px; font-weight: 700; line-height: 1.3; }
.quick-icon svg { display: block; width: 50px; height: 50px; fill: currentColor; }
.quick-icon.heart { font-size: 52px; }
.quick-icon.map-icon { font-size: 54px; }
.quick-icon.envelope { font-size: 48px; }
.quick-title { font-size: 29px; line-height: 1.25; }
.quick-subtitle { margin-top: 6px; font-size: 16px; }
.quick-button { margin-top: 26px; padding: 13px 28px; background: #aeb8bf; color: #fff; font-size: 14px; text-transform: uppercase; }
.quick-link:hover .quick-button { background: var(--blue); }

.content-layout { display: grid; grid-template-columns: minmax(0, 740px) minmax(260px, 360px); gap: 40px; padding-block: 58px 50px; }
.entry { padding: 0 0 32px; margin-bottom: 34px; border-bottom: 1px solid #eee; }
.entry-meta { margin: 0 0 8px; color: #999; font-size: 14px; }
.entry h2 { margin: 0 0 12px; color: var(--link); font-size: 30px; font-weight: 300; line-height: 1.3; }
.entry h2 a { color: inherit; }
.entry p { margin: 0 0 16px; }
.entry .entry-meta:last-child { margin: 0; }
.page-content { padding-block: 58px 60px; }
.page-content > h1, .page-entry h1 { margin: 0 0 24px; color: var(--link); font-size: 34px; font-weight: 300; line-height: 1.25; }
.page-entry .entry-content img, .page-entry .entry-content video { max-width: 100%; height: auto; }
.page-entry .entry-content figure { max-width: 100%; margin: 24px 0; }
.page-entry .entry-content figcaption { color: var(--muted); font-size: 15px; }
.page-entry .entry-content h2, .page-entry .entry-content h3, .page-entry .entry-content h4 { margin: 30px 0 12px; font-weight: 400; line-height: 1.25; }
.page-entry .entry-content ul, .page-entry .entry-content ol { margin: 0 0 24px 28px; }
.page-entry .entry-content li { list-style: disc; }
.page-entry .entry-content ol li { list-style: decimal; }
.page-entry .entry-content table { width: 100%; margin: 20px 0; border-collapse: collapse; }
.page-entry .entry-content th, .page-entry .entry-content td { border: 1px solid #ddd; padding: 8px 10px; text-align: left; }
.page-entry .entry-content iframe { max-width: 100%; }
.read-more { white-space: nowrap; }
.pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.pagination a, .pagination span { padding: 8px 12px; background: #fff; }
.pagination .current { background: var(--blue); color: #fff; }
.sidebar h2 { margin: 0 0 12px; font-size: 22px; font-weight: 300; text-transform: uppercase; }
.sidebar p { margin: 0 0 20px; }
.connect { margin-top: 38px; }
.social-links { display: flex; gap: 10px; }
.social-links a { display: grid; width: 43px; aspect-ratio: 1; place-items: center; border-radius: 3px; background: #3d78c1; color: #fff; font: 700 22px/1 Arial, sans-serif; }
.social-links a:hover { background: var(--navy); color: #fff; }

.site-footer { background: #fff; }
.directory { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; padding-block: 46px 42px; }
.directory h2 { margin: 0 0 12px; color: #444; font-size: 18px; font-weight: 400; text-transform: uppercase; }
.directory a { display: block; margin: 0 0 7px; font-size: 15px; line-height: 1.35; }
.footer-bottom { padding: 20px; background: #34678a; color: #fff; text-align: center; font-size: 15px; }
.footer-bottom p { margin: 0 0 5px; }
.footer-bottom a { color: #fff; }

@media (max-width: 1050px) {
  .header-wrap { flex-wrap: wrap; justify-content: flex-end; padding-top: 12px; padding-bottom: 12px; }
  .primary-nav { margin-left: 280px; }
  .primary-nav a { padding-inline: 7px; font-size: 14px; }
}

@media (max-width: 760px) {
  .wrap { width: 100%; }
  .site-header { min-height: 0; border-top-width: 3px; }
  .header-wrap { display: flex; min-height: 0; flex-direction: column; align-items: center; padding: 0 20px 14px; }
  .brand { position: relative; top: auto; left: auto; width: 300px; min-height: 102px; margin: 0 auto; }
  .site-title { font-size: 34px; }
  .menu-toggle { display: grid; width: 44px; height: 46px; place-content: center; gap: 4px; order: 1; margin: 7px auto 49px; border: 0; background: transparent; }
  .menu-toggle span { display: block; width: 15px; height: 2px; background: #333; }
  .primary-nav { display: none; width: 100%; order: 2; margin: 0; }
  .primary-nav.is-open { display: block; }
  .primary-nav > ul { display: flex; flex-direction: column; align-items: stretch; text-align: center; }
  .primary-nav li { display: grid; grid-template-columns: minmax(0, 1fr) 44px; }
  .primary-nav a { grid-column: 1; grid-row: 1; padding: 12px 10px; font-size: 16px; white-space: normal; }
  .primary-nav li > ul { position: static; display: none; grid-column: 1 / -1; width: 100%; opacity: 1; }
  .primary-nav li.submenu-open > ul { display: block; }
  .primary-nav li ul ul { top: auto; left: auto; }
  .primary-nav li ul a { padding-left: 22px; }
  .submenu-toggle { display: grid; grid-column: 2; grid-row: 1; width: 44px; min-height: 46px; place-items: center; border: 0; background: transparent; }
  .submenu-toggle span { width: 8px; height: 8px; border-right: 2px solid #444; border-bottom: 2px solid #444; transform: rotate(45deg); transition: transform .15s ease; }
  .submenu-toggle[aria-expanded="true"] span { transform: rotate(225deg); }
  .slides { aspect-ratio: 8 / 3; }
  .welcome { padding: 38px 30px 39px; }
  .welcome h1 { max-width: 380px; margin-inline: auto; font-size: 20px; }
  .welcome p { max-width: 390px; font-size: 23px; }
  .quick-links-inner { width: 100%; grid-template-columns: 1fr; }
  .quick-link { min-height: 282px; padding-block: 42px 30px; }
  .quick-icon { min-height: 72px; }
  .quick-button { min-width: 137px; margin-top: 26px; padding: 15px 25px; }
  .content-layout { grid-template-columns: 1fr; gap: 42px; padding: 40px 24px; }
  .entry h2 { font-size: 27px; }
  .sidebar { border-top: 1px solid #ddd; padding-top: 30px; }
  .directory { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; padding: 36px 24px; }
  .footer-bottom { padding: 20px 24px; }
}

@media (max-width: 380px) {
  .brand { width: min(300px, 100%); }
  .site-title { font-size: 30px; }
  .directory { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}