.component {
  box-sizing: border-box;
  min-width: 0;
  overflow-x: hidden;
  color: #20252B;
  background-color: #F5F1E8;
  font-family: system-ui, -apple-system, "Hiragino Sans", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}

.component *,
.component *::before,
.component *::after {
  box-sizing: border-box;
}

.component h1,
.component h2,
.component h3,
.component p,
.component ul,
.component ol {
  margin: 0;
}

.component a {
  color: inherit;
}

.component .site-main {
  display: block;
}

.component .site-header {
  background-color: #F5F1E8;
  border-bottom: 1px solid #68707A;
}

.component .site-header-inner,
.component .hero,
.component .news,
.component .services-inner,
.component .site-footer-inner {
  width: calc(100% - 2rem);
  max-width: 1180px;
  margin-inline: auto;
}

.component .site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 5.25rem;
  padding-block: 1.25rem;
}

.component .site-header-logo {
  flex: 0 1 auto;
  min-width: 0;
  color: #20252B;
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: .08em;
  line-height: 1.35;
  text-decoration: none;
}

.component .site-header-logo:hover {
  color: #315F9A;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .32em;
}

.component .site-header-logo:focus-visible,
.component .site-header-link:focus-visible,
.component .button:focus-visible,
.component .contact button:focus-visible,
.component .contact textarea:focus-visible {
  outline: 2px solid #315F9A;
  outline-offset: 4px;
}

.component .site-header-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: .25rem 1.5rem;
  min-width: 0;
}

.component .site-header-link {
  max-width: 100%;
  padding-block: .25rem;
  color: #244B83;
  font-size: .95rem;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
}

.component .site-header-link:hover {
  color: #315F9A;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .35em;
}

.component .hero {
  padding-top: clamp(4.75rem, 10vw, 9.5rem);
  padding-bottom: clamp(4.75rem, 9vw, 8rem);
  border-bottom: 1px solid #68707A;
}

.component .eyebrow {
  max-width: 100%;
  color: #244B83;
  font-size: clamp(.68rem, 1vw, .82rem);
  font-weight: 650;
  letter-spacing: .14em;
  line-height: 1.6;
  text-transform: uppercase;
}

.component .hero h1 {
  max-width: 12em;
  margin-top: 1.85rem;
  color: #20252B;
  font-size: clamp(2.35rem, 6.5vw, 5.5rem);
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.23;
}

.component .hero-lead {
  max-width: 42rem;
  margin-top: 2.25rem;
  color: #20252B;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  letter-spacing: .02em;
  line-height: 2;
}

.component .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 3rem;
  margin-top: 2.35rem;
  padding: .75rem 1.35rem;
  border: 1px solid #244B83;
  border-radius: 2px;
  background-color: #244B83;
  color: #F5F1E8;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
}

.component .button:hover {
  border-color: #315F9A;
  background-color: #315F9A;
  color: #F5F1E8;
}

.component .services {
  background-color: #EDE8DD;
}

.component .services-inner {
  padding-top: clamp(4.75rem, 9vw, 8rem);
  padding-bottom: clamp(4.75rem, 9vw, 8rem);
}

.component .services-title,
.component .news h2,
.component .contact h2 {
  color: #20252B;
  font-size: clamp(1.75rem, 3.6vw, 3.15rem);
  font-weight: 500;
  letter-spacing: .06em;
  line-height: 1.45;
}

.component .services-title {
  max-width: 22em;
}

.component .services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(2.75rem, 5vw, 4.75rem);
  border-top: 1px solid #68707A;
  border-bottom: 1px solid #68707A;
}

.component .service-card {
  min-width: 0;
  padding: 2.15rem 2rem 2.35rem;
}

.component .service-card:first-child {
  padding-left: 0;
}

.component .service-card:last-child {
  padding-right: 0;
}

.component .service-card + .service-card {
  border-left: 1px solid #68707A;
}

.component .service-card-title {
  color: #244B83;
  font-size: 1.4rem;
  font-weight: 650;
  letter-spacing: .08em;
  line-height: 1.5;
}

.component .service-card-body {
  max-width: 24em;
  margin-top: 1.25rem;
  color: #20252B;
  line-height: 2;
}

.component .news {
  padding-top: clamp(4.75rem, 9vw, 8rem);
  padding-bottom: clamp(4.75rem, 9vw, 8rem);
  border-bottom: 1px solid #68707A;
}

.component .news-list {
  margin-top: 2.5rem;
  border-top: 1px solid #68707A;
  border-bottom: 1px solid #68707A;
}

.component .news-item {
  display: grid;
  grid-template-columns: minmax(7rem, 11rem) minmax(0, 1fr);
  column-gap: 2rem;
  row-gap: .65rem;
  min-width: 0;
  padding-block: 2rem;
}

.component .news-date {
  grid-column: 1;
  grid-row: 1 / span 2;
  color: #244B83;
  font-size: .88rem;
  letter-spacing: .06em;
  line-height: 1.7;
}

.component .news-item h3 {
  grid-column: 2;
  grid-row: 1;
  color: #20252B;
  font-size: 1.18rem;
  font-weight: 650;
  letter-spacing: .03em;
  line-height: 1.6;
}

.component .news-item p[m-field="body"] {
  grid-column: 2;
  grid-row: 2;
  max-width: 54rem;
  color: #20252B;
  line-height: 2;
}

.component .contact {
  width: 100%;
  padding-top: clamp(4.75rem, 9vw, 8rem);
  padding-right: max(1rem, calc((100% - 1180px) / 2));
  padding-bottom: clamp(5rem, 9vw, 8rem);
  padding-left: max(1rem, calc((100% - 1180px) / 2));
  background-color: #EDE8DD;
  border-bottom: 1px solid #68707A;
}

.component .contact > p {
  max-width: 42rem;
  margin-top: 1.5rem;
  color: #68707A;
  font-size: .95rem;
  line-height: 1.95;
}

.component .contact form {
  max-width: 42rem;
  margin-top: 2.75rem;
}

.component .contact label {
  display: block;
  color: #20252B;
  font-weight: 650;
  line-height: 1.5;
}

.component .contact textarea {
  display: block;
  width: 100%;
  min-height: 6.4rem;
  margin-top: .75rem;
  padding: .85rem 1rem;
  border: 1px solid #68707A;
  border-radius: 2px;
  background-color: #F5F1E8;
  color: #20252B;
  font: inherit;
  line-height: 1.75;
  resize: vertical;
}

.component .contact textarea:hover {
  border-color: #244B83;
  background-color: #F5F1E8;
}

.component .contact textarea:focus-visible {
  border-color: #244B83;
}

.component .contact button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 3rem;
  margin-top: 1.1rem;
  padding: .7rem 1.35rem;
  border: 1px solid #244B83;
  border-radius: 2px;
  background-color: #244B83;
  color: #F5F1E8;
  font: inherit;
  font-size: .95rem;
  font-weight: 650;
  line-height: 1.45;
  text-align: center;
}

.component .contact button:hover {
  border-color: #315F9A;
  background-color: #315F9A;
  color: #F5F1E8;
}

.component .contact [m-error="message"],
.component .contact [m-success] {
  max-width: 42rem;
  margin-top: .8rem;
  color: #244B83;
  line-height: 1.8;
}

.component [hidden] {
  display: none;
}

.component .site-footer {
  background-color: #20252B;
  color: #F5F1E8;
}

.component .site-footer-inner {
  padding-top: 2rem;
  padding-bottom: 2.35rem;
}

.component .site-footer-text {
  max-width: 66rem;
  color: #F5F1E8;
  font-size: .8rem;
  letter-spacing: .02em;
  line-height: 1.85;
}

@media (max-width: 720px) {
  .component .site-header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: .7rem;
    padding-top: 1.1rem;
    padding-bottom: 1.1rem;
  }

  .component .site-header-nav {
    justify-content: space-between;
    width: 100%;
    gap: .35rem 1rem;
  }

  .component .services-grid {
    grid-template-columns: 1fr;
  }

  .component .service-card,
  .component .service-card:first-child,
  .component .service-card:last-child {
    padding: 1.8rem 0 2rem;
  }

  .component .service-card + .service-card {
    border-top: 1px solid #68707A;
    border-left: 0;
  }

  .component .news-item {
    grid-template-columns: 1fr;
    row-gap: .55rem;
  }

  .component .news-date,
  .component .news-item h3,
  .component .news-item p[m-field="body"] {
    grid-column: 1;
    grid-row: auto;
  }

  .component .news-item p[m-field="body"] {
    margin-top: .25rem;
  }
}

@media (max-width: 380px) {
  .component .site-header-link {
    font-size: .88rem;
  }

  .component .hero h1 {
    font-size: 2.25rem;
  }

  .component .hero-lead {
    font-size: .98rem;
  }

  .component .services-title,
  .component .news h2,
  .component .contact h2 {
    font-size: 1.7rem;
  }
}
