.ai-servers-page {
  padding-bottom: clamp(40px, 5vw, 72px);
}

.ai-servers-section {
  padding-top: clamp(26px, 3.3vw, 42px);
}

.ai-servers-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 16px;
}

.ai-servers-heading h1,
.ai-servers-heading h2 {
  color: var(--ink);
  line-height: 1.13;
}

.ai-servers-heading h1 {
  font-size: clamp(34px, 4.2vw, 56px);
}

.ai-servers-heading h2 {
  font-size: clamp(25px, 3vw, 38px);
}

.ai-servers-heading p {
  margin-top: 7px;
  color: var(--slate);
  font-size: 14px;
  line-height: 1.5;
}

.ai-servers-page .gpu-showcase-track {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: row;
  overflow: visible;
  scroll-snap-type: none;
}

.ai-servers-page .gpu-showcase-product {
  display: block;
}

.ai-servers-page .gpu-showcase-product:hover {
  color: var(--cobalt);
}

.ai-servers-page .gpu-showcase-product:focus-visible {
  outline-offset: -3px;
}

.ai-servers-page .gpu-showcase-model {
  margin: 7px 18px 0;
  color: inherit;
}

.ai-servers-page .gpu-showcase-picture {
  height: clamp(140px, 14vw, 182px);
}

.ai-servers-page .gpu-showcase-actions .gpu-showcase-request {
  min-height: 44px;
  padding-inline: 14px;
  font-size: 13px;
}

.ai-servers-infrastructure {
  margin-top: clamp(24px, 2.8vw, 38px);
  padding-top: clamp(22px, 2.5vw, 34px);
  border-top: 1px solid #dce5ef;
}

.ai-servers-infrastructure-head {
  margin-bottom: 10px;
}

.ai-servers-filter {
  display: grid;
  width: min(100%, 250px);
  gap: 5px;
  color: var(--slate);
  font-size: 13px;
  font-weight: 650;
}

.ai-servers-filter select {
  min-width: 0;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.ai-servers-results {
  margin-bottom: 12px;
  color: var(--slate);
  font-size: 13px;
}

.ai-servers-family-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ai-servers-family {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e1e8ef;
  border-radius: 5px;
  background: #fff;
}

.ai-servers-family:hover,
.ai-servers-family:focus-visible {
  border-color: #9bb4d8;
}

.ai-servers-family-media {
  display: grid;
  height: clamp(140px, 14vw, 182px);
  padding: 15px 20px 6px;
  place-items: center;
}

.ai-servers-family-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.ai-servers-family-body {
  position: relative;
  padding: 10px 40px 16px 18px;
}

.ai-servers-family-vendor {
  color: var(--cobalt);
  font-size: 12px;
  font-weight: 700;
}

.ai-servers-family-body h3 {
  margin-top: 4px;
  font-size: clamp(17px, 1.6vw, 23px);
  line-height: 1.24;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}

.ai-servers-family-body p {
  margin-top: 7px;
  color: var(--slate);
  font-size: 13px;
  line-height: 1.55;
}

.ai-servers-family-arrow {
  position: absolute;
  top: 11px;
  right: 17px;
  color: var(--cobalt);
  font-size: 17px;
}

html[lang="th"] .ai-servers-page :is(h1, h2, h3) {
  letter-spacing: normal;
}

@media (max-width: 960px) {
  .ai-servers-page .gpu-showcase-track,
  .ai-servers-family-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 610px) {
  .ai-servers-page .gpu-showcase-picture {
    height: clamp(142px, 42vw, 180px);
  }

  .ai-servers-page .gpu-showcase-model {
    margin-inline: 14px;
  }

  .ai-servers-page .gpu-showcase-track,
  .ai-servers-family-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
}
