/* Homepage services and generated resource listings. */
.service-overview, .resource-center {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: #172b45;
}
.service-overview *, .resource-center * { box-sizing: border-box; }
/* Follow the homepage type scale, with readable minimums for narrow screens. */
.service-overview {
  --service-heading-size: 2.083vw;
  --service-description-size: 1.25vw;
  --service-card-title-size: 1.563vw;
  --service-body-size: 1.146vw;
  --service-action-size: 1.042vw;
  --service-caption-size: clamp(12px, .833vw, 16px);
}
.content-eyebrow { color: #0077f7; font-size: 13px; font-weight: 600; letter-spacing: 1px; line-height: 1.6; }
.seo-intro.service-overview { width: 75vw; max-width: none; margin: 0 auto; padding: clamp(48px, 4.5vw, 86px) 0 32px; }
.service-overview__heading { text-align: center; margin: 0 auto 38px; }
.service-overview .content-eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: 2px; margin-bottom: 14px; }
.service-overview .content-eyebrow::before, .service-overview .content-eyebrow::after { content: ""; width: 24px; height: 1px; background: #a8cfff; }
.service-overview h1 { font-size: var(--service-heading-size); font-weight: 700; color: #282828; line-height: 1.5; letter-spacing: 0; margin-bottom: 16px; }
.service-overview h1 > span { display: inline-block; font-weight: inherit; }
.service-overview p.service-overview__description { max-width: 960px; margin: 0 auto; font-size: var(--service-description-size); color: #707070; line-height: 1.9; }
.service-overview .seo-services { gap: clamp(16px, 1.5vw, 28px); margin-top: 0; }
.service-card { position: relative; isolation: isolate; display: flex; flex-direction: column; min-width: 0; padding: 28px 24px 22px; border: 1px solid #e7eef8; border-radius: 10px; background: linear-gradient(160deg, #eff6ff 0, #f7faff 33%, #fff 65%); transition: border-color .25s, box-shadow .25s, transform .25s; scroll-margin-top: 100px; }
.service-card::before { content: ""; position: absolute; left: 24px; top: -1px; width: 32px; height: 3px; border-radius: 0 0 3px 3px; background: #0077f7; transition: width .25s; }
.service-card:hover, .service-card:focus-within { border-color: #b8d4fa; box-shadow: 0 16px 36px rgba(22, 77, 152, .1); transform: translateY(-5px); }
.service-card:hover::before, .service-card:focus-within::before { width: 64px; }
.service-card__number { position: absolute; right: 20px; top: 22px; color: #dce9fa; font-family: Arial, sans-serif; font-size: 54px; font-weight: 700; line-height: 1; letter-spacing: -3px; z-index: -1; user-select: none; }
.service-card__icon { display: flex; align-items: center; justify-content: center; width: 62px; height: 62px; border: 1px solid #e1edff; border-radius: 16px; color: #0077f7; background: #fff; box-shadow: 0 6px 18px rgba(40, 109, 209, .06); margin-bottom: 24px; }
.service-card__icon svg { width: 32px; height: 32px; }
.service-overview .service-card h2 { font-size: var(--service-card-title-size); font-weight: 700; color: #282828; line-height: 1.5; margin-bottom: 12px; }
.service-overview .service-card h2::after { content: ""; display: block; width: 24px; height: 2px; background: #b4d4ff; margin-top: 12px; }
.service-overview .service-card p { font-size: var(--service-body-size); line-height: 1.7; color: #66758a; margin-bottom: 20px; }
.service-card__scope { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-bottom: 24px; }
.service-card__scope li { padding: 3px 8px; border-radius: 4px; background: #f0f6ff; color: #58779d; font-size: var(--service-caption-size); line-height: 1.6; white-space: nowrap; }
.service-overview .service-card a { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid #e8eef7; padding-top: 16px; font-size: var(--service-action-size); font-weight: 600; color: #0077f7; text-decoration: none; }
.service-card a > span { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: #edf5ff; color: #0077f7; transition: background .25s, color .25s; }
.service-card:hover a > span, .service-card:focus-within a > span { color: #fff; background: #0077f7; }
.service-overview__footer { text-align: center; margin-top: 32px; }
.service-overview a.service-overview__contact { display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 12px 26px; border-radius: 28px; font-size: var(--service-action-size); font-weight: 500; line-height: 1.6; color: #fff; background: #0077f7; text-decoration: none; box-shadow: 0 6px 16px rgba(0, 119, 247, .12); transition: background .2s, box-shadow .2s; }
.service-overview a.service-overview__contact:hover { background: #0068df; box-shadow: 0 8px 22px rgba(0, 119, 247, .2); }
.service-overview__footer p { font-size: var(--service-caption-size); color: #8793a3; line-height: 1.8; margin-top: 12px; }
.service-overview a:focus-visible, .resource-center a:focus-visible { outline: 3px solid #0077f7; outline-offset: 4px; }

.main .main__news .news__item--img { position: relative; flex-shrink: 0; }
.news__item--placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 14px; color: #4777b1; background: radial-gradient(circle at top right, #dceaff, transparent 70%), #edf4ff; }
.news__item--placeholder svg { width: 30px; height: 30px; }
.news__item--placeholder strong { font-size: clamp(11px, .85vw, 16px); line-height: 1.5; font-weight: 500; }
.main .main__news .news__item--img > img { position: relative; z-index: 1; }
.main .main__news time.news__item--date { display: block; }
.home-news-empty { width: 100%; padding: 40px 20px; color: #8793a3; font-size: 15px; text-align: center; }

.resource-shell { background: #f7f9fc; border-top: 1px solid #eef2f8; }
.seo-reading.resource-center { max-width: 1200px; margin: 0 auto; padding: 52px 24px 64px; }
.resource-heading { margin-bottom: 28px; }
.resource-heading h1 { font-size: clamp(28px, 3vw, 38px); font-weight: 650; line-height: 1.4; margin: 10px 0 12px; }
.resource-heading__description { font-size: 15px; color: #6c798a; line-height: 1.8; }
.resource-center .static-categories { gap: 10px; margin: 0 0 28px; }
.resource-center .static-categories a { display: inline-flex; align-items: center; min-height: 38px; padding: 6px 18px; background: #fff; border: 1px solid #e2e9f2; border-radius: 22px; color: #607086; font-size: 14px; text-decoration: none; line-height: 1.6; }
.resource-center .static-categories a[aria-current="page"] { color: #fff; border-color: #0077f7; background: #0077f7; }
.resource-center .static-categories a:hover { border-color: #0077f7; }
.resource-center .static-articles { gap: 24px; }
.resource-center .static-articles article { min-width: 0; padding: 0; background: #fff; border: 1px solid #e3eaf3; border-radius: 14px; overflow: hidden; transition: box-shadow .2s, border-color .2s, transform .2s; }
.resource-center .static-articles article:hover { box-shadow: 0 12px 28px rgba(22, 53, 95, .08); border-color: #bcd6fa; transform: translateY(-3px); }
.resource-center a.resource-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.resource-center a.resource-card__link:focus-visible { outline-offset: -4px; }
.resource-card__cover { position: relative; aspect-ratio: 16 / 9; overflow: hidden; flex-shrink: 0; background: #edf4ff; }
.resource-card__placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px; padding: 28px; color: #3265a5; background: radial-gradient(circle at 90% 5%, #dae8ff, transparent 58%), linear-gradient(130deg, #eef5ff, #f5f8fd); }
.resource-card__placeholder::after { content: ""; position: absolute; right: -22px; bottom: -50px; width: 190px; height: 190px; border: 1px solid #c8dcf6; border-radius: 50%; box-shadow: 0 0 0 28px rgba(207, 224, 249, .25), 0 0 0 56px rgba(207, 224, 249, .14); }
.resource-card__placeholder svg { width: 34px; height: 34px; }
.resource-card__placeholder strong { font-size: 22px; font-weight: 650; letter-spacing: 1px; }
.resource-card__placeholder span { font-size: 12px; color: #7188a6; }
.resource-center .static-articles .resource-card__cover img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; background: #edf4ff; transition: transform .35s; }
.resource-card__link:hover .resource-card__cover img { transform: scale(1.035); }
.resource-card__body { flex: 1; display: flex; flex-direction: column; padding: 22px; }
.resource-center .static-articles h2 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; font-size: 18px; font-weight: 600; color: #1d304b; line-height: 1.65; margin: 0 0 12px; min-height: 5em; overflow-wrap: anywhere; }
.resource-card__link:hover h2 { color: #0072e8; }
.resource-center .static-articles p.resource-card__summary { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 14px; color: #738096; line-height: 1.8; margin-bottom: 22px; }
.resource-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid #edf1f7; }
.resource-center .static-articles time { color: #8995a6; font-size: 12px; line-height: 1.6; }
.resource-card__read { font-size: 13px; font-weight: 600; color: #0072e8; margin-left: auto; }
.resource-center .static-pagination { gap: 8px; align-items: center; margin: 40px 0 0; }
.resource-center .static-pagination a, .resource-center .static-pagination span[aria-current] { display: inline-flex; justify-content: center; align-items: center; min-width: 38px; min-height: 38px; border-radius: 8px; padding: 6px 12px; background: #fff; border: 1px solid #e0e7f1; color: #637187; font-size: 14px; text-decoration: none; line-height: 1.6; }
.resource-center .static-pagination a:hover { color: #0077f7; border-color: #0077f7; }
.resource-center .static-pagination span[aria-current] { color: #fff; background: #0077f7; border-color: #0077f7; }
.resource-center .static-pagination .pagination-gap { color: #8995a6; padding: 0 3px; }

@media (max-width: 1100px) {
  .service-overview {
    --service-card-title-size: 20px;
    --service-body-size: 16px;
    --service-action-size: 14px;
  }
  .seo-intro.service-overview { width: calc(100% - 64px); }
  .service-overview .seo-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resource-center .static-articles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .service-overview {
    --service-heading-size: 6vw;
    --service-description-size: 4vw;
    --service-card-title-size: 4.2vw;
    --service-body-size: clamp(14px, 3.2vw, 18px);
    --service-action-size: 4vw;
    --service-caption-size: 12px;
  }
  .seo-intro.service-overview { width: calc(100% - 40px); margin: 0 auto; padding: 40px 0 36px; }
  .service-overview__heading { margin-bottom: 28px; }
  .service-overview h1 { line-height: 1.6; }
  .service-overview h1 > span { display: block; }
  .service-overview .seo-services { gap: 14px; }
  .service-card { padding: 24px 20px 20px; }
  .service-card__icon { width: 54px; height: 54px; }
  .service-card__number { font-size: 48px; }
  .service-overview__footer { margin-top: 26px; }
  .seo-reading.resource-center { padding: 32px 20px 40px; }
  .resource-heading { margin-bottom: 24px; }
  .resource-center .static-articles { gap: 20px; }
  .resource-center .static-pagination { margin-top: 28px; gap: 6px; }
  .resource-center .static-pagination a, .resource-center .static-pagination span[aria-current] { min-width: 34px; min-height: 36px; padding: 5px 10px; }
}
@media (max-width: 560px) {
  .service-overview .seo-services, .resource-center .static-articles { grid-template-columns: 1fr; }
  .service-card__icon { margin-bottom: 20px; }
  .service-card__scope { padding-bottom: 20px; }
  .resource-center .static-articles h2 { min-height: 0; }
  .resource-card__body { padding: 20px; }
}
