/**
 * POZ page mobile – Figma frame 746:722 (402px).
 * Flex layout; no absolute positioning at this breakpoint.
 */

@media (max-width: 860px) {
  .gamed-poz {
    overflow-x: clip;
  }

  /* —— Hero (746:723 — header + copy, no image) —— */
  .gamed-poz-hero {
    min-height: 817px;
    height: auto;
    overflow: hidden;
    padding-top: 0;
    box-sizing: border-box;
  }

  .gamed-poz-container {
    width: 100%;
    max-width: 402px;
    min-height: 817px;
    height: auto;
    margin-inline: auto;
    padding-inline: 0;
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    box-sizing: border-box;
  }

  .gamed-poz-hero-image {
    display: none;
  }

  .gamed-poz-hero-copy {
    position: static;
    width: 100%;
    max-width: 402px;
    margin: 0 auto;
    padding: 9px 10px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    text-align: center;
    box-sizing: border-box;
  }

  .gamed-poz-hero-copy h1 {
    width: 100%;
    max-width: 382px;
    margin: 0;
    font-size: 64px;
    font-weight: 400;
    line-height: normal;
    overflow-wrap: normal;
  }

  .gamed-poz-hero-copy h1 strong,
  .gamed-poz-hero-copy h1 b {
    font-weight: 700;
  }

  .gamed-poz-hero-copy p {
    width: 100%;
    max-width: 364px;
    margin: 0;
    font-size: 18px;
    font-weight: 300;
    line-height: normal;
  }

  /* —— Facilities (746:740) —— */
  .gamed-poz-facilities {
    background: #fff;
    padding: 88px 0 36px;
  }

  .gamed-poz-facilities-head {
    width: 100%;
    max-width: 373px;
    margin-inline: auto;
    padding-inline: 10px;
    box-sizing: border-box;
  }

  .gamed-poz-facilities-head h2 {
    font-size: 48px;
    line-height: normal;
  }

  .gamed-poz-facilities-head p {
    margin-top: 0;
    font-size: 24px;
    line-height: normal;
  }

  .gamed-poz-facilities-list {
    width: 100%;
    max-width: 384px;
    margin: 28px auto 0;
    padding-inline: 9px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    box-sizing: border-box;
  }

  .gamed-poz-facility-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 384px;
    min-height: 0;
    margin-inline: auto;
    padding: 16px 14px;
    gap: 0;
    box-sizing: border-box;
  }

  .gamed-poz-facility-map,
  .gamed-poz-facility-map img {
    width: 328px;
    height: 349px;
    max-width: 100%;
    margin-inline: auto;
    object-fit: contain;
  }

  .gamed-poz-facility-copy {
    width: min(100%, 304px);
    align-items: center;
    text-align: center;
    gap: 31px;
    margin-top: 0;
  }

  .gamed-poz-facility-copy h3 {
    width: 100%;
    max-width: 264px;
    font-size: 36px;
    line-height: normal;
    text-align: center;
  }

  .gamed-poz-facility-address {
    width: 100%;
    font-size: 18px;
    font-weight: 700;
    line-height: normal;
    text-align: center;
  }

  .gamed-poz-route-btn {
    width: 187px;
    max-width: none;
    flex-shrink: 0;
  }

  /* —— Providers (746:781) —— */
  .gamed-poz-providers {
    min-height: 1247px;
    padding: 43px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    box-sizing: border-box;
  }

  .gamed-poz-providers h2 {
    width: 100%;
    max-width: 370px;
    margin: 0;
    font-size: 48px;
    line-height: normal;
  }

  .gamed-poz-providers-grid {
    width: 100%;
    max-width: 370px;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .gamed-poz-provider-item {
    width: 100%;
    justify-content: center;
  }

  .gamed-poz-provider-item p {
    width: 257px;
    font-size: 24px;
    line-height: normal;
  }

  /* —— Gynecology (746:832) —— */
  .gamed-poz-gyn {
    padding: 0;
    display: flex;
    justify-content: center;
  }

  .gamed-poz-gyn-card {
    width: 100%;
    max-width: 402px;
    min-height: 368px;
    margin: 0;
    border-radius: 41px;
    padding: 35px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
    box-sizing: border-box;
  }

  .gamed-poz-gyn-card h2 {
    width: 100%;
    max-width: 370px;
    margin: 0;
    font-size: 36px;
    line-height: normal;
    text-align: center;
  }

  .gamed-poz-gyn-divider {
    width: 105px;
    height: 3px;
    flex-shrink: 0;
  }

  .gamed-poz-gyn-card p {
    width: 100%;
    max-width: 370px;
    margin: 0;
    font-size: 17px;
    line-height: normal;
    text-align: center;
  }
}

@media (max-width: 360px) {
  .gamed-poz-hero-copy h1 {
    font-size: clamp(40px, 12vw, 64px);
  }

  .gamed-poz-facilities-head h2 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .gamed-poz-facility-map,
  .gamed-poz-facility-map img {
    width: min(100%, 328px);
  }
}
