/* Home 1 polish only: preserve the approved scene, imagery and visual order. */
body.home.phxr10-home-polish .phxr-service p {
  font-size: 15px !important;
  line-height: 2 !important;
}
body.home.phxr10-home-polish .phxr-service > a {
  min-height: 44px;
  font-size: 14px !important;
}
body.home.phxr10-home-polish .phxr-project p {
  font-size: 14px !important;
  line-height: 2 !important;
}
body.home.phxr10-home-polish .phxr-project :is(.phxr-profile, .phxr-cooperate) {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
}
body.home.phxr10-home-polish [data-phxr10-home-polish] {
  display: flex;
  flex-direction: column;
}
body.home.phxr10-home-polish .phxr10-home-title {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  border: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%);
  white-space: nowrap !important;
}
body.home.phxr10-home-polish [data-phxr10-home-polish] > .phxr9-cinema-scenes {
  order: 1;
  width: 100%;
  min-width: 0;
  flex: 0 0 auto;
}
body.home.phxr10-home-polish [data-phxr10-home-polish] > .phxr9-cinema-footer {
  order: 2;
  width: 100%;
  min-width: 0;
  flex: 0 0 auto;
  box-sizing: border-box;
}

/* A single root clearance replaces the previous scroll-padding + scroll-margin sum. */
html.phxr10-home-anchors {
  scroll-padding-top: var(--phxr10-home-anchor-clearance, 100px) !important;
}
body.home.phxr10-home-polish [data-phxr10-home-polish-document] :is(#payesh-story, #growth-path, #phoenix-startups, #phoenix-impact, #cooperation-paths) {
  scroll-margin-top: 0 !important;
}

body.home.phxr10-home-polish .phxr8-process-heading .phxr8-process-play:focus-visible {
  outline: 3px solid #58407d !important;
  outline-offset: 4px !important;
}

body.home.phxr10-home-polish .phxr8-paths > .phxr10-path-choice {
  min-width: 0;
  border-inline-start: 1px solid #ded6eb;
  padding-inline-start: 30px;
  color: #211d3a;
}
body.home.phxr10-home-polish .phxr10-path-choice > span {
  font-size: 12px;
  color: #7d629d;
}
body.home.phxr10-home-polish .phxr10-path-choice > p {
  font-size: 14px !important;
  line-height: 2.1 !important;
  color: #756b82 !important;
}
body.home.phxr10-home-polish .phxr10-path-actions {
  display: grid;
  gap: 0;
  margin-top: 22px;
  border-top: 1px solid #e4dfec;
}
body.home.phxr10-home-polish .phxr10-path-actions > a {
  display: flex;
  min-width: 0;
  min-height: 48px;
  padding: 10px 0;
  color: #514292 !important;
  text-decoration: none !important;
  font-size: 13px;
  line-height: 1.9;
}
body.home.phxr10-home-polish .phxr10-path-actions > a + a {
  border-top: 1px solid #e4dfec;
}
body.home.phxr10-home-polish .phxr10-path-actions > a > b {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 14px;
  color: inherit;
  font-size: inherit;
}
body.home.phxr10-home-polish .phxr10-path-actions > a:hover {
  color: #795009 !important;
}
body.home.phxr10-home-polish .phxr10-path-actions > a:focus-visible {
  outline: 3px solid #58407d !important;
  outline-offset: 4px !important;
}
/* The existing photographic cooperation section uses the same two explicit intents. */
body.home.phxr10-home-polish .phxr10-path-choice--photo > span {
  color: #d8cfe5;
}
body.home.phxr10-home-polish .phxr10-path-choice--photo > p {
  color: #eee8f5 !important;
  font-size: 13px !important;
}
body.home.phxr10-home-polish .phxr10-path-choice--photo .phxr10-path-actions {
  margin-top: 0;
  border: 0;
  gap: 10px;
}
body.home.phxr10-home-polish .phxr10-path-choice--photo .phxr10-path-actions > a {
  padding: 0;
  border: 0;
  color: #fff !important;
}
body.home.phxr10-home-polish .phxr10-path-choice--photo .phxr10-path-actions > a:hover > b {
  background: #ffffff24;
  border-color: #efbd6c;
}
body.home.phxr10-home-polish .phxr10-path-choice--photo .phxr10-path-actions > a:focus-visible {
  outline-color: #f7d595 !important;
  border-radius: 12px;
}
body.home.phxr10-home-polish .phxt-path-card.phxr10-path-choice--photo:hover {
  transform: none;
}

@media (max-width: 1024px) {
  body.home.phxr10-home-polish .phxr8-paths > .phxr10-path-choice {
    padding-inline-start: 20px;
  }
}
@media (max-width: 767px) {
  body.home.phxr10-home-polish [data-phxr10-home-polish] .phxr9-film,
  body.home.phxr10-home-polish [data-phxr10-home-polish] .phxr9-tabs :is(span, small, em),
  body.home.phxr10-home-polish [data-phxr10-home-polish] .phxr9-product :is(figcaption, figcaption > span),
  body.home.phxr10-home-polish [data-phxr10-home-polish] .phxr9-archive-caption,
  body.home.phxr10-home-polish #cooperation-paths :is(.phxt-paths-caption, .phxt-card-detail, .phxt-card-top),
  body.home.phxr10-home-polish .phxr8-impact-note {
    font-size: 12px !important;
  }
  /* Let wrapped actions set the product position instead of a fixed 445px offset. */
  body.home.phxr10-home-polish [data-phxr10-home-polish] #phxr9-scene-payesh {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding-bottom: 70px;
  }
  body.home.phxr10-home-polish [data-phxr10-home-polish] #phxr9-scene-payesh .phxr9-scene-inner {
    order: 1;
    width: 100%;
    min-height: 0;
    padding-bottom: 28px;
  }
  body.home.phxr10-home-polish [data-phxr10-home-polish] #phxr9-scene-payesh .phxr9-product {
    order: 2;
    position: relative;
    inset: auto;
    flex: 0 0 375px;
  }
  body.home.phxr10-home-polish [data-phxr10-home-polish] .phxr9-product figcaption {
    max-width: calc(100% - 40px);
    bottom: -48px;
    line-height: 1.8;
  }
  body.home.phxr10-home-polish [data-phxr10-home-polish] > .phxr9-cinema-footer {
    /* Keep the larger disclosure and chapter labels from overlapping. */
    margin-top: 0;
    align-items: flex-end;
    gap: 12px;
  }
  body.home.phxr10-home-polish [data-phxr10-home-polish] .phxr9-tabs {
    min-width: 0;
    gap: 8px;
  }
  body.home.phxr10-home-polish [data-phxr10-home-polish] .phxr9-tabs > button {
    min-width: 0;
    min-height: 88px;
  }
  body.home.phxr10-home-polish [data-phxr10-home-polish] .phxr9-tabs em {
    overflow-wrap: anywhere;
  }
  body.home.phxr10-home-polish [data-phxr10-home-polish] .phxr9-motion {
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    margin-bottom: 8px;
    font-size: 12px;
  }
}
@media (max-width: 700px) {
  body.home.phxr10-home-polish .phxr8-paths > .phxr10-path-choice {
    border: 0;
    padding: 0;
  }
  body.home.phxr10-home-polish .phxr10-path-choice > p {
    font-size: 13px !important;
  }
  body.home.phxr10-home-polish .phxr10-path-actions {
    margin-top: 16px;
  }
}
/* The legacy 135px minimum height forced 4:3 cards to 180px in narrower tracks. */
@media (max-width: 480px) {
  body.home.phxr10-home-polish .phxr8-events .phxr-events {
    grid-template-columns: minmax(0, 1fr);
  }
  body.home.phxr10-home-polish .phxr8-events .phxr-event,
  body.home.phxr10-home-polish .phxr8-events .phxr-event:first-child {
    grid-column: auto !important;
    width: 100%;
    min-height: 0;
    max-height: none;
    aspect-ratio: 16 / 10;
  }
}
@media (max-width: 380px) {
  body.home.phxr10-home-polish [data-phxr10-home-polish] > .phxr9-cinema-footer {
    flex-direction: column;
    align-items: stretch;
  }
  body.home.phxr10-home-polish [data-phxr10-home-polish] .phxr9-tabs {
    width: 100%;
  }
  body.home.phxr10-home-polish [data-phxr10-home-polish] .phxr9-motion {
    align-self: flex-end;
    margin: 0;
  }
}
