#ps-modal-camera-control .modal-content-wrapper {
  direction: ltr;
}

#ps-modal-camera-control .modal-content-wrapper .column-copy {
  direction: rtl;
}

@media only screen and (max-width: 735px) {
  .section-product-stories .section-photographic-styles .styles-footer {
    direction: rtl;
    text-align: right;
  }

  #overview-contrast-iphone-16-1 {
    margin-right: -16px;
  }

  br.no-xsmall {
    display: none;
  }
  
  @media only screen and (min-width: 365px) and (max-width: 734px) {
    br.no-xsmall {
      display: block;
    }
  }
}

@media only screen and (max-width: 1068px) {
  #productivity-gallery-item-1
    .bento-summeries
    .bento-image.bento-standard-image {
    direction: ltr;
  }

  #productivity-gallery-item-1 .bento-notifications div.bento-image {
    direction: ltr;
  }

  #siri-gallery-item-3 .bento-understanding .bento-image {
    direction: ltr;
  }

  #expression-gallery-item-2 .bento-image-playground .bento-image {
    direction: ltr;
  }

  #siri-gallery-item-3 .bento-step-by-step .bento-image {
    direction: ltr;
  }

  #expression-gallery-item-2 .bento-clean-up .bento-image {
    direction: ltr;
  }
}

.section-product-stories .section-chip .chip-media-wrap {
  direction: ltr;
}

#compare-chip-gallery
  .inline-compare-dropdown.form-dropdown-wrap
  .form-dropdown {
  direction: ltr;
}

#compare-battery-gallery
  .inline-compare-dropdown.form-dropdown-wrap
  .form-dropdown {
  direction: ltr;
}

.section-product-stories .section-camera-system .lens-area {
  direction: ltr;
}

/*

change 
lens-area row ric-large-12 ric-large-offset-2 ric-medium-offset-1 ric-xsmall-offset-0 ps-spacing-large-128 ps-spacing-small-64

to 
lens-area row ric-large-10 ric-large-offset-2 ric-medium-11 ric-medium-offset-1 ric-xsmall-offset-0 ps-spacing-large-128 ps-spacing-small-64
*/
.section-product-stories .section-camera-system .lens-area .copy-wrapper {
  direction: rtl;
}

footer * {
  font-family: SF Pro AR, SF Pro AR Text, SF Pro Text, SF Pro Gulf, SF Pro Icons,
    Helvetica Neue, Helvetica, Arial, sans-serif !important;
}

.ric-modal .ric-modal-close-button .ric-modal-close-icon {
  direction: ltr;
}

#ps-modal-camera-system
  > div
  > div
  > div.ric-modal-content-wrapper
  > div
  > div.viewport-content
  > div
  > div.column.column-headline.xlarge-3.xlarge-offset-2.large-4.large-offset-1.small-10
  > h2 {
  line-height: 1.3;
}

#overview-welcome-hero-apple-intelligence-headline-1 {
  display: none;
}

@media (min-width: 1441px) {
  .section-welcome .welcome-content {
    padding-top: 289px;
  }
}

@media (min-width: 1069px) and (max-width: 1440px) {
  .section-welcome .welcome-content {
    padding-top: 237px;
  }
}

@media (min-width: 735px) and (max-width: 1068px) {
  .section-welcome .welcome-content {
    min-height: 698px;
    padding-top: 211px;
  }
}

@media (min-width: 481px) and (max-width: 734px) {
  .section-welcome .welcome-content {
    min-height: 424px;
    padding-top: 121px;
  }
}

@media (max-width: 480px) {
  .section-welcome .welcome-content {
    padding-top: 81px;
  }
}

@media (min-width: 1069px) {
  #media-card-gallery-item-1 > div > p {
    width: 325px;
    right: 45px;
    position: relative;
  }
}

[data-component-list="MediaCardGallery"] .media-gallery .caption-container,
[data-media-card-gallery] .media-gallery .caption-container {
  direction: ltr;
}

[data-component-list="MediaCardGallery"] .media-gallery .caption,
[data-media-card-gallery] .media-gallery .caption {
  direction: rtl;
}

#media-card-gallery-item-2 > div {
  direction: rtl;
}

#ps-modal-camera-control
  > div
  > div
  > div.ric-modal-content-wrapper
  > div
  > div.viewport-content {
  direction: ltr;
}

#ps-modal-camera-control
  > div
  > div
  > div.ric-modal-content-wrapper
  > div
  > div.viewport-content
  > div
  > div.column-copy.xlarge-4.xlarge-offset-1.large-4.large-offset-1.medium-5.small-10.small-offset-1 {
  direction: rtl;
}

@media only screen and (min-width: 735px) {
  #ps-modal-camera-control
    > div
    > div
    > div.ric-modal-content-wrapper
    > div
    > div.viewport-content
    > div
    > div.column-copy.xlarge-4.xlarge-offset-1.large-4.large-offset-1.medium-5.small-10.small-offset-1 {
    left: 50px;
    position: relative;
  }

  br.no-xsmall {
    display: none;
  }
}

@media only screen and (min-width: 735px) and (max-width: 1068px) {
  #media-card-gallery-item-3 > div > p {
    width: 500px;
  }
}

@media only screen and (max-width: 735px) {
  #media-card-gallery-item-3 > div > p {
    width: 400px;
  }
}

@media only screen and (min-width: 735px) and (max-width: 1068px) {
  #media-card-gallery-item-1 > div > p {
    width: 400px;
  }
}

@media only screen and (max-width: 735px) {
  #media-card-gallery-item-1 > div > p {
    width: 300px;
  }

  #ps-modal-camera-control .column-copy.small-offset-1 {
    margin-inline-start: unset;
    margin-inline-end: 8.3333333333%;
  }
}

@media only screen and (min-width: 735px) and (max-width: 1068px) {
  #main
    > section.section.section-product-stories.no-pad-top.no-pad-bottom.staggered-end
    > section.section.section-values
    > div
    > div.values-list
    > div:nth-child(2)
    > div.values-grid-sub-items-wrapper.large-10.large-centered.medium-11.medium-offset-1.small-10.small-offset-1
    > div
    > div.values-grid-subitems.values-subitem-2.column.large-3.medium-4.small-10 {
    margin-top: 0;
  }
}

.section-apple-intelligence {
  padding-top: 0;
}

.section-apple-intelligence
  .section-apple-intelligence-hero
  .overview-apple-intelligence-hero-apple-intelligence-headline {
  width: 1143px;
}

@media (max-width: 1068px) and (max-width: 1068px) {
  .section-apple-intelligence
    .section-apple-intelligence-hero
    .overview-apple-intelligence-hero-apple-intelligence-headline {
    width: 865px;
  }
}

@media (max-width: 734px) and (max-width: 734px) {
  .section-apple-intelligence
    .section-apple-intelligence-hero
    .overview-apple-intelligence-hero-apple-intelligence-headline {
    width: auto;
  }
}

.section-apple-intelligence.live-text-headline .headline-text-container {
  direction: ltr;
}

section.section.section-video-and-audio p.video-and-audio-callout {
  line-height: 1.3;
}

#ps-modal-camera-system .image-focus-wrapper {
  direction: ltr;
}

#overview-product-stories-design-thin-1 {
  top: 7px;
}

@media (max-width: 1068px) {
  .typography-ps-headline-super:lang(ar) {
    font-size: 64px;
    line-height: 1.0625;
    font-weight: 600;
    letter-spacing: -0.009em;
    font-family: SF Pro Display, SF Pro Icons, Helvetica Neue, Helvetica, Arial,
      sans-serif;
  }
}

@media (max-width: 734px) {
  .typography-ps-headline-super:lang(ar) {
    font-size: 40px;
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: 0em;
    font-family: SF Pro Display, SF Pro Icons, Helvetica Neue, Helvetica, Arial,
      sans-serif;
  }
}
