.section-apple-intelligence .apple-intelligence-bentos .grid-item .card-copy strong {
    font-weight: 900;
}

.typography-product-stories-bento-copy {
    font-weight: 500;
}

@media (min-width:1441px) {

    .icon-card:first-child:nth-last-child(n+4),
    .icon-card:first-child:nth-last-child(n+4)~.icon-card {
        width: 410px;
    }
}

.section-apple-intelligence .section-header-eyebrow .ai-gradient-text {
    display: inline-block;
}

@media (max-width:480px) {
    .section-highlights .media-gallery-item-center-stage.gallery-item.theme-dark .caption span:first-child {
        --caption-span-width: 210px;
    }
}


body {
    line-break: strict;
}

br.xlarge {
    display: none;
}

@media (min-width: 1441px) {
    br.xlarge {
        display: inline;
    }
}


.desktop .detail-ctas-link.button {
    padding-block: 8px 6px;
}

.no-desktop #ac-localnav .ac-ln-button:lang(ja) {
    padding-block: 4px 2px;
}

.aap-base-button__text {
    padding-top: 17px;
    padding-bottom: 14px;
}

@media (max-width: 734px) {
    .aap-base-button__text {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .no-desktop .aap-base-button__text {
        padding-top: 11px;
        padding-bottom: 9px;
    }
}

/* welcome */
.overview-welcome-headline-box {
    position: absolute;
    width: 575px;
    height: 190px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.overview-welcome-headline-box .overview-welcome-headline {
    opacity: 0;
}

@media(max-width:1068px) {
    .overview-welcome-headline-box {
        width: 417px;
        height: 130px;
    }
}

@media(max-width:734px) {
    .overview-welcome-headline-box {
        width: 325px;
        height: 105px;
    }
}

html:not(.enhanced, .no-enhanced, .no-js) .overview-welcome-headline-box {
    visibility: hidden;
}

.media:has(.inline-media-component-container.playing, .inline-media-component-container.ended) .overview-welcome-headline-box .overview-welcome-headline {
    position: absolute;
    top: 0;
    opacity: 0;
    animation: appearElement 1.6s ease 2s 1 forwards;
}

html.no-inline-media .overview-welcome-headline-box .overview-welcome-headline,
.media:has(.inline-media-component-container.fallback,
    .inline-media-component-container.loading-error) .overview-welcome-headline-box .overview-welcome-headline {
    opacity: 1;
    animation: none;
}

@keyframes appearElement {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* highlights */

@media (max-width: 480px) {
    .section-highlights .media-gallery-item-center-stage.gallery-item.media-gallery-item-5 .caption span:first-child {
        --caption-span-width: 210px;
    }
}

/* apple intelligence */

.section-apple-intelligence .subsection-privacy .subsection-header-headline {
    max-width: none;
}

/* performance */

@media (min-width: 735px) {
    .section-product-stories .section-performance .section-header+.section-copy {
        max-width: 695px;
    }
}

@media (min-width:1069px) {
    .section-performance .speed-stats .stats .stat-copy.tout3 {
        width: 233px;
    }
}


/* display */

@media (min-width: 735px) {
    .section-product-stories .section-display .section-header+.section-copy {
        max-width: 840px;
    }
}

/* camera-mics-speakers */

@media (min-width: 735px) {
    .section-camera-mics-speakers .section-header .section-header-headline {
        max-width: 95%;
    }
}

/* connections */

@media (min-width: 735px) {
    .section-connections .section-header-headline {
        margin-right: -0.45em;
    }
}

@media (max-width: 1068px) and (min-width: 735px) {
    .section-product-stories .section-apple-intelligence .typography-product-stories-copy.section-copy {
        max-width: 690px;
    }
}

.bento-item.display .bento-copy {
    text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
}

@media (min-width: 1069px) {
    .section-connections .section-header-headline .header-magical {
        margin-right: 0;
    }
}

.section-connections .section-header .section-header-headline .header-connections.l-p {
    -webkit-text-fill-color: unset;
    background-image: inherit;
}

@media (max-width:734px) {
    .section-connections .section-header .section-header-headline {
        flex-flow: initial;
        justify-content: flex-start;
    }
}

/* upgraders */

@media (max-width: 734px) {

    .upgraders-content .upgraders-gallery .bento-copy:lang(ja),
    .upgraders-content .upgraders-gallery .bento-copy-reduced:lang(ja) {
        margin-top: 2px;
    }
}


.section-upgraders .upgrader .upgrader-group.upgrader-group-imac-27in .upgrader-item[data-upgrader-item-type=stat] .stat .stat-content {
    width: 100%;
}



.section-upgraders .upgrader .upgrader-group .upgrader-item[data-upgrader-item-type=stat] .stat .stat-content .stat-value {
    left: 0;
}

.section-upgraders .upgrader .upgrader-group .upgrader-item:last-child[data-upgrader-item-type=image] .caption-container .caption.typography-upgrader-item-caption {
    padding: 0;
}


/* incentive */

@media (min-width: 735px) {
    .section-header .section-header-headline {
        max-width: none;
    }
}

@media (max-width: 1440px) and (min-width: 1069px) {
    .section-incentive #gallery-item-apple-store .tile-content {
        padding-inline-end: 66px;
    }
}

.section-apple-intelligence .viewport-content .section-ps-intro {
    color: #86868b;
    padding-bottom: 8px;
    padding-bottom: 12px;
}

/* VP */

@media (max-width:734px) {
    .camera-mics-speakers-modal .card .grid {
        margin: auto 0;
    }
}

@media (min-width: 750px) {
    .section-product-stories .section-performance .section-header+.section-copy {
        max-width: 750px;
    }
}

@media (min-width: 750px) {
    .section-product-stories .section-display .section-header+.section-copy {
        max-width: 860px;
    }
}

@media (max-width:480px) {
    .section-highlights .media-gallery-item-center-stage .caption span:first-child {
        --caption-span-width: 220px;
    }
}

@media (max-width:734px) {

    .section-apple-intelligence .section-header,
    .section-apple-intelligence .section-copy {
        text-align: left;
    }
}

.section-product-stories .section-copy {
    margin-bottom: 26px;
}

/* Fix HarmonyOS 4.0.0 Mobile */
.section-apple-intelligence .subsection-privacy .subsection-header-headline .ai-gradient-text {
    -webkit-background-clip: text;
}

.section-connections .section-header-headline .header-connections {
    -webkit-background-clip: text;
}

.section-apple-intelligence .section-header-eyebrow .ai-gradient-text {
    -webkit-background-clip: text;
}

.apple-intelligence .bento-item-inline {
    z-index: 5;
}

.section-upgraders .upgraders-gallery .item-container .bento-item.apple-intelligence {
    z-index: 10;
}

/* Fix HarmonyOS 4.0.0 Mobile */

/* AI HL center*/

.section-apple-intelligence .viewport-content h2.typography-product-stories-headline {
    margin-left: 40px;
}

@media only screen and (max-width: 1068px) {
    .section-apple-intelligence .viewport-content h2.typography-product-stories-headline {
        margin-left: 35px;
    }
}

@media only screen and (max-width: 734px) {
    .section-apple-intelligence .viewport-content h2.typography-product-stories-headline {
        margin-left: 0px;
    }
}

/**/

html.andriod .section-highlights .media-gallery-item-apple-intelligence .caption-container::after {
    border: none;
}

/* ai-gradient-text */
@media (max-width:480px) {
    .section-apple-intelligence .subsection-privacy .subsection-header-headline .ai-gradient-text {
        width: auto;
    }
}

/* ai-gradient-text */