/* SEOSPIN: homepage articles and shared footer. */
main { flex-wrap: wrap; }
main > .site-footer { flex: 0 0 100%; width: 100%; }
.main-section-blog { background: #fff; }
.home-articles-inner { max-width: 1280px; margin: 0 auto; padding: 56px 40px 42px; }
.home-articles-heading { margin: 0 0 32px; text-align: center; color: #005ba7; font-size: 48px; line-height: 1.15; font-weight: 300; }
.home-articles-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.home-article { min-width: 0; }
.home-article-link { display: block; text-decoration: none; }
.home-article-image { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.home-article-title { margin: 18px 0 10px; color: #005ba7; font-size: 24px; line-height: 1.25; font-weight: 500; }
.home-article-link:hover .home-article-title { text-decoration: underline; }
.home-article-preview { margin: 0; color: #535353; font-size: 17px; line-height: 1.45; }
.home-articles-more { margin-top: 26px; text-align: right; font-size: 20px; }
.home-articles-more a { color: #005ba7; text-underline-offset: 4px; }
.site-footer { background: #f2f7fb; color: #33526a; border-top: 1px solid #dce8f1; padding: 28px 40px 22px; }
.site-footer-inner, .site-footer-bottom { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; gap: 24px; }
.site-footer-inner { align-items: flex-start; }
.site-footer a { color: #005ba7; text-underline-offset: 3px; }
.site-footer-brand { flex: 0 0 auto; }
.site-footer-brand > a { font-size: 27px; line-height: 1.2; font-weight: 500; text-decoration: none; }
.site-footer-brand p { margin: 7px 0 0; font-size: 16px; line-height: 1.4; }
.site-footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; max-width: 430px; padding-top: 5px; font-size: 17px; line-height: 1.4; }
.site-footer-contacts { display: flex; flex-direction: column; gap: 7px; font-size: 18px; line-height: 1.4; white-space: nowrap; }
.site-footer-bottom { align-items: center; margin-top: 24px; padding-top: 18px; border-top: 1px solid #dce8f1; font-size: 14px; line-height: 1.5; }
.site-footer a:focus-visible, .home-article-link:focus-visible, .home-articles-more a:focus-visible { outline: 2px solid #005ba7; outline-offset: 5px; }
@media (min-width: 768px) {
  .site-footer-bottom { padding-right: 72px; }
}
@media (max-width: 991px) {
  .home-articles-inner { padding: 44px 24px 34px; }
  .home-articles-heading { font-size: 38px; }
  .home-articles-grid { gap: 20px; }
  .home-article-title { font-size: 22px; }
  .site-footer { padding: 28px 24px 22px; }
  .site-footer-inner { flex-wrap: wrap; }
  .site-footer-nav { justify-content: flex-start; max-width: 100%; }
}
@media (max-width: 767px) {
  .home-articles-grid { grid-template-columns: 1fr; gap: 32px; }
  .home-articles-heading { font-size: 34px; text-align: left; margin-bottom: 26px; }
  .home-articles-more { text-align: left; }
  .site-footer-inner, .site-footer-bottom { flex-direction: column; align-items: flex-start; gap: 18px; }
  .site-footer-nav { gap: 12px 22px; }
  .site-footer-bottom { gap: 8px; }
}

/* Keep the homepage contact form at its natural content height. */
.main-section-contact.section .section-inner,
.main-section-contact.section .sec-main {
  min-height: 0;
}
.main-section-contact.section .sec-main {
  padding-bottom: 32px;
}
