@import url("https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&family=Source+Sans+3:wght@400;600;700;800&display=swap");

:root {
  --ink: #1b1b1b;
  --muted: #565c65;
  --border: #dfe1e2;
  --surface: #ffffff;
  --blue: #005ea8;
  --blue-dark: #1a4480;
  --navy: #112f4e;
  --red: #cf172b;
  --gold: #fdb81e;
  --green: #2e7044;
  --focus: #2491ff;
  --shadow: 0 12px 30px rgba(17, 47, 78, 0.12);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  font-family: "Source Sans Pro Web", "Source Sans 3", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: #ffffff;
  line-height: 1.5;
}

body {
  margin: 0;
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1180px, calc(100% - 42px));
  margin: 0 auto;
}

.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  clip: auto;
  z-index: 20;
  padding: 10px 14px;
  background: #ffffff;
  border: 3px solid var(--focus);
}

.official-banner {
  background: #eeeeee;
  border-bottom: 0;
  font-family: "Source Sans Pro Web", "Source Sans 3", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.35;
}

.banner-bar {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.banner-copy,
.banner-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.banner-links {
  gap: 22px;
}

.banner-links a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  font-size: 16px;
}

.official-banner button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 0;
  background: transparent;
  color: var(--blue);
  padding: 0;
  font-weight: 400;
  text-decoration: underline;
}

.official-banner button[aria-expanded="true"] .chevron-icon {
  transform: rotate(180deg);
}

.official-details {
  padding: 24px 0 28px;
  background: #eeeeee;
}

.details-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
}

.official-detail-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  max-width: 460px;
}

.official-detail-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 700;
}

.official-detail-item p {
  margin: 0;
  font-size: 16px;
  line-height: 1.48;
}

.banner-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--blue);
  border-radius: 999px;
  color: var(--blue);
  background: #ffffff;
}

.banner-icon svg,
.chevron-icon {
  display: block;
  fill: currentColor;
}

.banner-icon svg {
  width: 22px;
  height: 22px;
}

.chevron-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}


.agency-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.agency-inner {
  min-height: 154px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.agency-home {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--ink);
  text-decoration: none;
}

.agency-logo {
  width: 139px;
  height: 80px;
  flex: 0 0 auto;
  display: block;
  object-fit: contain;
  object-position: center;
}

.agency-name {
  max-width: 560px;
  font-size: 28px;
  line-height: 1.12;
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 0 0 auto;
}

.return-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid #1b1b1b;
  background: #1b1b1b;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

.return-home:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.return-home:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.agency-footer h3 a {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.subscribe-band {
  display: none;
}

.subscribe-band p {
  max-width: 760px;
  margin: 0;
  font-size: 18px;
}

.subscribe-band a {
  padding: 12px 18px;
  background: var(--red);
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 900;
}

.agency-footer {
  padding: 68px 0 54px;
  background: #1b1b1b;
  color: #ffffff;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 42px;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-logo-row img {
  width: 96px;
  height: auto;
  display: block;
}

.footer-logo-row h2 {
  max-width: 520px;
  margin: 0;
  color: #ffffff;
  font-size: 24px;
  line-height: 1.15;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #505050;
  color: #ffffff;
}

.social-links svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 38px;
  padding: 44px 0;
  border-top: 1px solid #444;
  border-bottom: 1px solid #444;
}

.agency-footer h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 17px;
}

.agency-footer p {
  margin: 0 0 8px;
  color: #d0d0d0;
}

.agency-footer nav {
  display: grid;
  align-content: start;
  gap: 8px;
}

.agency-footer a {
  color: #d0d0d0;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.agency-footer a:hover {
  text-decoration: underline;
}

.maryland-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 42px;
}

.maryland-footer img {
  width: 148px;
  height: auto;
  display: block;
}

.maryland-footer span {
  color: #d0d0d0;
  font-size: 14px;
}

@media (max-width: 860px) {
  .banner-bar,
  .banner-copy,
  .banner-links,
  .agency-inner,
  .header-actions,
  .subscribe-inner,
  .footer-brand,
  .footer-grid,
  .maryland-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .banner-bar {
    align-items: flex-start;
    gap: 8px;
    padding: 10px 0;
  }

  .banner-copy,
  .banner-links {
    align-items: flex-start;
  }

  .details-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .agency-inner {
    min-height: auto;
    padding: 28px 0;
  }

  .agency-name {
    font-size: 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Maryland Design System 0.51.0 official banner, scoped to the shared shell. */
@font-face {
  font-family: "ATCC Maryland Banner";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./md-banner-regular.woff2") format("woff2");
}
.official-banner {
  font-family: "ATCC Maryland Banner", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: #f0f0f0;
  color: #1b1b1b;
  font-size: 16px;
  line-height: 1.5;
}
.official-banner .banner-bar,
.official-banner .details-inner {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: 56px;
}
.official-banner .banner-bar {
  min-height: 0;
  padding-block: 8px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}
.official-banner .banner-copy {
  display: contents;
}
.official-banner .banner-copy > span,
.official-banner button,
.official-banner .banner-links a {
  font: inherit;
}
.official-banner button {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: #005ea2;
}
.official-banner .chevron-icon {
  width: 20px;
  height: 20px;
  transform: rotate(-90deg);
}
.official-banner button[aria-expanded="true"] .chevron-icon {
  transform: rotate(90deg);
}
.official-banner .banner-links {
  margin-inline-start: auto;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  align-self: flex-end;
  gap: 0;
}
.official-banner .banner-links a {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: #005ea2;
  text-decoration: underline;
}
.official-banner .banner-maryland {
  padding-inline-end: 20px;
  border-inline-end: 1px solid #a9aeb1;
}
.official-banner [data-atcc-translate] {
  padding-inline-start: 20px;
}
.official-banner .banner-external {
  width: 1.75ex;
  height: 1.75ex;
  margin-left: 4px;
  fill: currentColor;
}
.official-banner .banner-globe {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.official-banner a:hover,
.official-banner button:hover {
  color: #1a4480;
  text-decoration: none;
}
.official-banner a:focus-visible,
.official-banner button:focus-visible {
  outline: 4px solid #2491ff;
  outline-offset: 0;
}
.official-banner .official-details {
  padding-block: 24px;
  background: transparent;
}
.official-banner .details-inner { gap: 24px; }
.official-banner .banner-icon {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
}
@media (max-width: 1023px) {
  .official-banner .banner-links .banner-maryland { display: none; }
  .official-banner [data-atcc-translate] { padding-inline-start: 0; }
}
@media (max-width: 879px) {
  .official-banner .banner-bar,
  .official-banner .details-inner { padding-inline: 24px; }
}
@media (max-width: 639px) {
  .official-banner .banner-bar { padding-block: 12px; align-items: flex-start; }
  .official-banner .details-inner { grid-template-columns: 1fr; }
}
