/* AWS technology page: page-only blocks (hero mark, service tiles, icon cards, feature checklists, integration grid, blog cards) */

/* purpose-built: AWS service tiles */
.aws-services { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.aws-service { display: grid; place-items: center; aspect-ratio: 192 / 116; padding: 18px; }
.aws-service img { display: block; width: 100%; height: 100%; object-fit: contain; }

/* telemetry to insight: icon cards */
.aws-cards .persona-ic { background: none; box-shadow: none; width: 52px; height: 52px; margin-bottom: 24px; }
.aws-cards .persona-ic img { display: block; width: 52px; height: 52px; }

/* feature rows: sub-lead and checklist */
.feature .aws-kicker { margin-top: 20px; font-size: 18px; line-height: 1.5; font-weight: 500; letter-spacing: -0.01em; color: var(--fg); }
.feature .aws-kicker + p { margin-top: 12px; }
.aws-checks { list-style: none; margin: 24px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.aws-checks li { position: relative; padding-left: 30px; font-size: 15.5px; line-height: 1.55; color: var(--fg); }
.aws-checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: rgba(19,233,137,.12); box-shadow: inset 0 0 0 1px rgba(19,233,137,.4); }
.aws-checks li::after { content: ""; position: absolute; left: 6px; top: 7px; width: 5px; height: 8px; border: solid var(--mint); border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }

/* integrations grid */
.aws-ints { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; max-width: 1010px; margin: 0 auto; }
.aws-ints img { display: block; width: 112px; height: 112px; }
.aws-ints + .showcase-cta { margin-top: 48px; }

/* related articles */
.aws-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.aws-post { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.aws-post-img { aspect-ratio: 1024 / 536; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg-1); }
.aws-post-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.aws-post:hover .aws-post-img img { transform: scale(1.03); }
.aws-post-body { flex: 1; display: flex; flex-direction: column; padding: 26px 28px 28px; }
.aws-post-meta { font-family: var(--mono); font-size: 12.5px; color: var(--accent); }
.aws-post-meta i { font-style: normal; margin: 0 8px; color: var(--fg-3); }
.aws-post h3 { margin-top: 14px; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; }
.aws-post p { flex: 1; margin-top: 12px; font-size: 14.5px; line-height: 1.6; color: var(--fg-2); }
.aws-post .link { margin-top: 20px; font-size: 14px; }

/* final stats */
.aws-facts b { font-size: 34px; font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; color: var(--accent); }
.final .fine { text-align: center; }

@media (max-width: 1120px) {
  .aws-services { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 720px; margin: 0 auto; }
  .aws-ints { max-width: 640px; }
}
@media (max-width: 960px) {
  .aws-ints { max-width: 560px; }
  .aws-ints img { width: 96px; height: 96px; }
  .aws-posts { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; }
}
@media (max-width: 560px) {
  .aws-services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .aws-service { padding: 12px; }
  .aws-ints { gap: 12px; }
  .aws-ints img { width: 60px; height: 60px; }
  .aws-post-body { padding: 22px 22px 24px; }
}

/* Light skin: small green text uses --mint (≥4.5:1 on the light surfaces); --accent stays for dots, fills,
   borders and large numbers. Light only, so the dark skin is unchanged. */
:root[data-theme="light"] .aws-post-meta { color: var(--mint); }
