:root {
    --router-split-content-spacing:70px 50px 70px 50px
}

@media only screen and (max-width: 1068px) {
    :root {
        --router-split-content-spacing:65px 50px 65px 50px
    }
}

/* icons */
.icon-wrapper .icon, .icon-wrapper .icon-after:after, .icon-wrapper .icon-before:before, .icon-wrapper .more:not(.icon-before):after {
    position: relative;
}

.icon-after:after, .more:after, #ac-globalfooter .ac-gf-more::after {
    top: -0.08em;
}

.icon-replay:after,
.icon-playcircle:after, .icon-playcircle:before,
.icon-pausecircle:after, .icon-pausecircle:before{
    top: 0 !important;
}

sup.footnote-number {
    top: -1px;
}

.subsection-intro .modal-trigger-container .button:after{
    padding-top: 6px !important;
}

/* custom br */
.x-small {
    display: none;
}

@media only screen and (max-width:340px) {
    .x-small {
        display: block;
    }
}

.br-330 {
    display: none;
}

@media only screen and (max-width:330px) {
    .br-330 {
        display: block;
    }
    
} 

.br-367 {
    display: none;
}

@media only screen and (max-width:367px) {
    .br-367 {
        display: block;
    }
    
} 

.br-420 {
    display: none;
}

@media only screen and (max-width:420px) {
    .br-420 {
        display: block;
    }
    
} 

.custom-br, .custom-br-2 {
    display: block;
}
@media only screen and (min-width:735px) and (max-width:820px) {
    .custom-br {
        display: none;
    }
}
@media only screen and (max-width:344px) {
    .custom-br-2 {
        display: none;
    }
}

/* section-performance */
@media only screen and (max-width:734px) {
    .subsection-intro .modal-trigger-container .button {
        max-width: 165px;
    }
}

/* section-chips */
.subsection-chips .bento-section .chip-claim {
    max-width: 15em;
}

@media only screen and (max-width:1068px) and (min-width:735px) {
    .subsection-chips .bento-section .badge {
        margin-right: 69px;
    }
}

/* section-display */
@media only screen and (max-width:734px) {
    .section-studio-display .section-headline.small-width-overset {
        padding-right: 0;
    }
}

/* section-design */
@media only screen and (min-width:735px) and (max-width:740px) {
    .bento-grid-thermals .section-thermals .inline-media.loading .start-frame {
        position: absolute;
        width: 100.7%;
        margin-left: -.3%;
    }

    .bento-grid-thermals .section-thermals .inline-media.loaded .start-frame  {
        position: relative;
        width: 100%;
        margin-left: auto;
    }
}

@media only screen and (min-width:1000px) and (max-width:1112px) and (max-height:850px) {
    .bento-grid-thermals .section-thermals .inline-media.loading .start-frame {
        position: absolute;
        width: 104%;
        margin-left: -3%;
    }

    .bento-grid-thermals .section-thermals .inline-media.loaded .start-frame  {
        position: relative;
        width: 100%;
        margin-left: auto;
    }
}

/* section-processing */
@media only screen and (min-width:1069px) {
    .graph-gallery .item-container .gallery-item .bars-container .bar-content-container {
        height: 79px;
    }
}
@media only screen and (max-width:734px) {
    .graph-gallery .item-container .gallery-item .bars-container .bar-content-container {
        height: 108px;
    }
}

@media only screen and (max-width:374px) {
    .graph-gallery .item-container .gallery-item .bars-container .bar-content-container {
        height: 88px;
    }
}

@media only screen and (max-width:330px) {
    .graph-gallery .item-container .gallery-item .bars-container .bar-content-container {
        height: 109px;
    }
}

/* section-routers */
.router-item-augmented-reality .grid-item-headline {
    max-width: 375px;
}


@media only screen and (min-width:1069px) {
    .router-item-augmented-reality .text-content {
        flex-basis: 48%;
        max-width: 48%;
    }
    
    .router-item-augmented-reality .grid-item-headline {
        max-width: 430px;
    }
}

@media only screen and (max-width:734px) {
    .router-item-augmented-reality .grid-item-headline {
        max-width: 265px;
    }
}

@media only screen and (min-width:1069px) and (max-width:1131px) {
    .router-item-continuity .router-item-content {
        padding-right: 120px !important;
    }
}

@media only screen and (max-width:1068px) and (min-width:735px) {
    .router-item-augmented-reality .text-content {
        flex-basis: 52%;
        max-width: 52%;
    }
}

@media only screen and (min-width:735px) and (max-width:1068px) {
    .router-item-continuity .router-item-content {
        padding-right: 20px !important;
    }
}

.router-item.router-item-environment.full-split .router-content-wrapper {
    display: flex;
    justify-content: center;
    text-align: center;
}

@media only screen and (min-width:1069px) {
    .router-item.router-item-environment.full-split .router-item-copy {
        max-width: 515px;
    } 
}

@media only screen and (max-width:1068px) and (min-width:735px) {
    .router-item.router-item-environment.full-split .router-item-copy {
        max-width: 445px;
    }
}

/* section-upgraders */
.section-upgraders .upgraders-content .upgraders-gallery .bento-grid .bento-item:nth-child(3),
.section-upgraders .upgraders-content .upgraders-gallery .bento-grid .bento-item:nth-child(4){
    max-height: 230px !important;
}

.section-upgraders .section-headline{
    max-width: 850px;
}

br.medium-custom{
    display: none;
}

@media only screen and (max-width:901px) and (min-width:735px) {
    br.medium-custom{
        display: block;
    }
}
@media only screen and (max-width:734px){
    .section-upgraders .upgraders-gallery-subheader,
    .section-upgraders .trade-in-copy{
        max-width:unset;
        width: 100%;
    }
}


/* section-apple-intelligence */
.typography-section-copy.custom{
    font-size: 17px;
    font-weight: 500;
}

@media only screen and (max-width:1068px){
    html.naver-app #apple-intelligence-gallery .gallery-item,
    html.naver-app #apple-intelligence-gallery .item-container{
        grid-template-rows: unset;
    }
    
    html.naver-app #apple-intelligence-gallery,
    html.naver-app #apple-intelligence-gallery .item-container{
        height: 700px;
    }

    html.naver-app #apple-intelligence-gallery .gallery-item-media-wrapper{
        height: 440px;
    }

    html.naver-app #apple-intelligence-gallery .tablist-wrapper{
        margin-top: 300px;
    }

    html.naver-app #apple-intelligence-gallery .gallery-caption{
        height: 110px;
    }
}

@media only screen and (max-width:734px){
    html.naver-app #apple-intelligence-gallery,
    html.naver-app #apple-intelligence-gallery .item-container{
        height: 600px;
    }

    html.naver-app #apple-intelligence-gallery .gallery-item-media-wrapper{
        height: 260px;
    }

    html.naver-app #apple-intelligence-gallery .tablist-wrapper{
        margin-top: 35px;
    }

    html.naver-app #apple-intelligence-gallery .gallery-caption{
        height: 186px;
    }
}

/* section-performance */
.badge{
    min-width: 6em;
}

/* hero */
@media only screen and (max-width:1068px){
    html.enhance-xp.hero-enhance-xp .section-hero .hero-intro .intro-text{
        bottom: 25px;
    }
}

@media only screen and (max-width:734px){
    html.enhance-xp.hero-enhance-xp .section-hero .hero-intro .intro-text{
        bottom: 22px;
    }
}

html.no-enhance-xp .section-hero p.static-text.static-text-1{
    padding-top: 6px;
}

@media only screen and (max-width:1068px){
    html.no-enhance-xp .section-hero .cta-wrap{
        padding: 38px 0 174px;
    }
}

@media only screen and (max-width:734px){
    html.no-enhance-xp .section-hero .cta-wrap{
        padding: 22px 0 48px;
        width: 100%;
    }
}

html .page-overview .section-hero .cta-wrap .mac-studio-global-avail:last-child{
    margin-top: 0;
}

@media only screen and (max-width:734px){
    .mx-event.typography-standards-tout.ar-quicklook-link{
        width: 100%;
    }
}

/* mx-ultra */
@media only screen and (max-width:734px){
    .bar-caption{
        min-width: 175.53125px;
    }
}

/* section-privacy */
section.section-apple-intelligence .bento-grid-ai-privacy .bento-content .privacy-subsection .privacy-headline{
    margin-top: 11px;
}