#camera-eid {
    background-image: url("/mideast/iphone-17-pro/d/why-upgrade/images/eid-rlx/background/background_large.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 1.5dppx), (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) {
    #camera-eid {
        background-image:url("/mideast/iphone-17-pro/d/why-upgrade/images/eid-rlx/background/background_large_2x.jpg")
    }
}

@media only screen and (max-width: 1068px) {
    #camera-eid {
        background-image: url("/mideast/iphone-17-pro/d/why-upgrade/images/eid-rlx/background/background_medium.jpg")
    }
}

@media only screen and (max-width: 1068px) and (-webkit-min-device-pixel-ratio: 1.5), only screen and (max-width: 1068px) and (min-resolution: 1.5dppx), only screen and (max-width: 1068px) and (min-resolution: 144dpi) {
    #camera-eid {
        background-image:url("/mideast/iphone-17-pro/d/why-upgrade/images/eid-rlx/background/background_medium_2x.jpg")
    }
}

@media only screen and (max-width: 734px) {
    #camera-eid {
        background-image: url("/mideast/iphone-17-pro/d/why-upgrade/images/eid-rlx/background/background_small.jpg")
    }
}

@media only screen and (max-width: 734px) and (-webkit-min-device-pixel-ratio: 1.5), only screen and (max-width: 734px) and (min-resolution: 1.5dppx), only screen and (max-width: 734px) and (min-resolution: 144dpi) {
    #camera-eid {
        background-image:url("/mideast/iphone-17-pro/d/why-upgrade/images/eid-rlx/background/background_small_2x.jpg")
    }
}

#camera-eid .media-card-set {
    --shared-media-gallery-height: 580px;
}

#camera-eid .card-caption-heading.typography-caption-tile,
#camera-eid h3.card-caption-heading strong {
    color: #FF791B;
}

#camera-eid {
    padding-top: unset;
    padding-top: 60px;
    padding-bottom: 160px !important;
}

#camera-eid .photo-gallery-headline {
    padding-top: 100px;
}

#camera-eid .photo-gallery-headline {
    font-size: 56px;
    margin-bottom: 64px;
    letter-spacing: -0.28px;
    line-height: 1;
}

#camera-eid .section-cameras .subsection-photo-gallery {
    margin-top: unset;
}

#camera-eid .caption-tile .card-caption-content {
    padding: 0;
    padding-top: 30px;
}

#camera-eid .card-caption-heading.typography-caption-tile,
#camera-eid h3.card-caption-heading strong,
#camera-eid .card-caption-content {
    font-size: 19px;
    line-height: 1;
}

#camera-eid .card-container .card-caption-content p {
    line-height: 1.3;
}

/** Overwrites AFP3 **/
#camera-eid .media-block:has(picture) {
    --p-width: 372px;
    --p-height: 580px;
}

@media (min-width: 735px) {
    #camera-eid .slide-gallery .card-container.large-width-30 {
        --width-multiplier: 0.3;
        --gutter-quantity: 1;
    }
}

@media screen and (max-width: 1068px) {
    #camera-eid {
        padding-top: unset;
        padding-top: 20px;
        padding-bottom: 120px;
    }

    #camera-eid .photo-gallery-headline {
        font-size: 48px;
    }

    #camera-eid .caption-tile .card {
        --card-height: 536px;
    }

    #camera-eid .media-block:has(picture) {
        --p-width: 344px;
        --p-height: 536px;
    }

    #camera-eid .card-caption-heading.typography-caption-tile,
    #camera-eid h3.card-caption-heading strong,
    #camera-eid .card-caption-content {
        font-size: 21px;
    }
}   

@media screen and (max-width: 734px) {
    #camera-eid {
        padding-top: unset;
        margin-top: unset;
        padding-bottom: 70px !important;
    }

    #camera-eid .photo-gallery-headline {
        padding-top: 70px;
    }

    #camera-eid .photo-gallery-headline {
        font-size: 28px;
        margin-bottom: 56px;
    }

    #camera-eid .caption-tile:first-child:nth-last-child(n+3), .caption-tile:first-child:nth-last-child(n+3)~.caption-tile {
        width: 312px;
    }

    #camera-eid .caption-tile .card {
        --card-height: 480px;
    }

    #camera-eid .media-block:has(picture) {
        --p-width: 312px;
        --p-height: 480px;
    }

    #camera-eid .caption-tile .card-caption-content {
        padding-top: 24px;
    }

    #camera-eid .card-caption-heading.typography-caption-tile,
    #camera-eid h3.card-caption-heading strong,
    #camera-eid .card-caption-content {
        font-size: 18px;
    }
}

@media screen and (max-width: 833px) {
    html.ac-ls-visible {
        --r-localeswitcher-height: 0px !important;
    }

    html.ac-ls-visible #ac-localeswitcher {
        display: none !important;
    }
}
