.amy-section {
  padding-block: clamp(2.5rem, 6vw, 5rem);
}

.amy-site-header {
  border-bottom: 1px solid #d9e1e7;
  background: #ffffff;
}

.amy-site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.amy-section--surface {
  background: #f5f7f9;
}

.amy-wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.amy-site-title {
  margin: 0;
  font-weight: 800;
}

.amy-site-title a {
  color: #17202a;
  text-decoration: none;
}

.amy-nav,
.amy-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

.amy-nav a,
.amy-footer__links a {
  color: #17202a;
  font-weight: 700;
  text-decoration: none;
}

.amy-nav__cta {
  padding: 0.55rem 0.8rem;
  border: 1px solid #0b65c2;
  color: #0b65c2 !important;
}

.amy-hero {
  padding-block: clamp(3rem, 8vw, 6.5rem);
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.amy-hero__layout {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.amy-hero__copy {
  min-width: 0;
}

.amy-hero__kicker {
  margin: 0 0 0.75rem;
  color: #0b65c2;
  font-weight: 700;
}

.amy-hero h1 {
  max-width: 920px;
  margin: 0;
  color: #17202a;
  font-size: 2.25rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.amy-direct-answer {
  max-width: 880px;
  margin-block: 1.25rem 0;
  color: #314250;
  font-size: 1.08rem;
  line-height: 1.65;
}

.amy-hero__media,
.amy-section-visual {
  margin: 0;
}

.amy-hero__media img,
.amy-section-visual img,
.amy-media-strip img {
  display: block;
  width: 100%;
  height: clamp(220px, 24vw, 340px);
  object-fit: cover;
  object-position: center;
  border: 1px solid #d9e1e7;
  background: #eef3f7;
}

.amy-hero__media img {
  height: clamp(320px, 36vw, 540px);
}

.amy-section-visual img {
  height: clamp(260px, 28vw, 440px);
}

.amy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-block-start: 1.5rem;
}

.amy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1rem;
  border: 1px solid #0b65c2;
  color: #0b65c2;
  font-weight: 700;
  text-decoration: none;
}

.amy-button--primary {
  background: #0b65c2;
  color: #ffffff;
}

.amy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-block-start: 1.5rem;
}

.amy-media-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-block-start: 1.25rem;
}

.amy-media-strip + .amy-grid {
  margin-block-start: 1.25rem;
}

.amy-split {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  margin-block-start: 1.25rem;
}

.amy-card {
  min-height: 100%;
  padding: 1rem;
  border: 1px solid #d9e1e7;
  background: #ffffff;
}

.amy-card h3 {
  margin-block: 0 0.5rem;
  color: #17202a;
  font-size: 1.05rem;
}

.amy-card p {
  margin: 0;
  color: #4d6474;
}

.amy-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  margin-block-start: 1rem;
}

.wp-b2b-table-scroll {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.wp-block-post-content table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.amy-table th,
.amy-table td,
.wp-block-post-content th,
.wp-block-post-content td {
  padding: 0.75rem;
  border: 1px solid #d9e1e7;
  text-align: left;
  vertical-align: top;
}

.amy-table th,
.wp-block-post-content th {
  background: #eef3f7;
  color: #17202a;
}

.amy-page-hero {
  padding-block: clamp(2.25rem, 5vw, 4rem);
}

.amy-page-hero h1 {
  max-width: 960px;
  margin: 0;
  color: #17202a;
  font-size: 2rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.amy-content-section .wp-block-post-content {
  color: #314250;
  line-height: 1.7;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.amy-content-section .wp-block-post-content > * + * {
  margin-block-start: 1rem;
}

.amy-content-section .wp-block-post-content h2 {
  margin-block-start: 2rem;
  color: #17202a;
}

.amy-content-section .wp-block-post-content figure {
  max-width: 100%;
  margin-inline: 0;
}

.amy-content-section .wp-block-post-content figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 1px solid #d9e1e7;
  background: #eef3f7;
}

.amy-content-section .wp-block-post-content figcaption {
  margin-block-start: 0.5rem;
  color: #4d6474;
  font-size: 0.92rem;
  line-height: 1.5;
}

.b2b-direct-answer {
  max-width: 880px;
  color: #314250;
  font-size: 1.05rem;
  line-height: 1.65;
}

.amy-featured-media {
  margin-block-end: 1.5rem;
}

.amy-featured-media img {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  background: #f5f7f9;
}

.amy-footer__grid {
  display: grid;
  gap: 1rem;
}

.amy-footer__brand {
  margin: 0 0 0.4rem;
  color: #17202a;
  font-weight: 800;
}

.amy-footer__note {
  margin: 0;
  color: #4d6474;
  font-size: 0.92rem;
}

@media (min-width: 782px) {
  .amy-hero__layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  }

  .amy-hero h1 {
    font-size: 3.25rem;
    line-height: 1.04;
  }

  .amy-split {
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  }

  .amy-page-hero h1 {
    font-size: 3rem;
    line-height: 1.06;
  }

  .amy-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    align-items: start;
  }
}

@media (min-width: 1200px) {
  .amy-hero h1 {
    font-size: 4rem;
  }
}

@media (max-width: 781px) {
  .amy-site-header__inner,
  .amy-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .amy-page-hero h1 {
    font-size: 2rem;
  }

  .amy-hero__media img {
    height: 320px;
  }

  .amy-media-strip img,
  .amy-section-visual img {
    height: 240px;
  }

  .wp-block-post-content {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .wp-block-post-content table {
    display: block;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
