.home {
    color: var(--yofo-text);
    overflow: hidden;
}

.hero {
    height: 9.72rem;
    height: 11.26rem;
    padding-top: 1.54rem;
    position: relative;
    background-color: var(--yofo-navy);
    overflow: hidden;
}

.hero .swiper-wrapper,
.hero .heroSlide {
    height: 100%;
}

.hero .heroImg {
    /*width: calc(100% + 2.76rem);*/
    width: 100%;
    /*max-width: none;*/
    /*height: 10.47rem;*/
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    /*top: -.75rem;*/
    /*left: -1.57rem;*/
    object-fit: cover;
    /*object-position: center;*/
}

.hero .heroFrameImg {
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    /* object-fit: fill; */
}

.hero .heroMain {
    height: 100%;
    position: relative;
}

.hero .text {
    position: absolute;
    top: 3.46rem;
    left: .05rem;
}

.hero .text h1 {
    color: var(--yofo-navy);
    font-size: clamp(44px, .65rem, 65px);
    font-weight: 600;
    line-height: .82rem;
    letter-spacing: 0;
}

.arrowLink {
    display: inline-flex;
    align-items: center;
    gap: .1rem;
    color: inherit;
    font-family: 'Inter';
    font-size: clamp(12px, .13rem, 13px);
    font-style: italic;
    line-height: 1.2;
}

.hero .arrowLink {
    margin-top: .41rem;
    margin-left: 4.1rem;
    font-size: clamp(18px, .26rem, 26px);
    transition: color .3s ease-in-out;
}

.hero .arrowLink:hover {
    color: var(--yofo-orange);
}

.heroSectionLabel {
    position: absolute;
    z-index: 3;
    top: 2.52rem;
    left: 1.65rem;
    width: 2.91rem;
    height: .42rem;
    color: #F5F7FC;
    font-size: clamp(24px, .4rem, 40px);
    line-height: .42rem;
    font-weight: 600;
}

.heroSectionLabel::after {
    content: "";
    position: absolute;
    left: -.025rem;
    top: .49rem;
    width: 1.25019rem;
    height: .05rem;
    background: #F3AF4A;
}

.hero .heroPagination {
    position: absolute;
    z-index: 3;
    left: 50% !important;
    bottom: .72rem !important;
    width: 1.66rem !important;
    height: .2rem;
    display: flex;
    align-items: center;
    transform: translateX(-50%);
}

.hero .heroPagination .swiper-pagination-bullet {
    width: .2rem;
    height: .2rem;
    margin: 0 !important;
    border: .01rem solid #F5F7FC;
    border-radius: 50%;
    background: transparent;
    opacity: 1;
    flex: 0 0 auto;
}

.hero .heroPagination .swiper-pagination-bullet:nth-child(2) {
    margin-left: .3rem !important;
}

.hero .heroPagination .swiper-pagination-bullet:nth-child(n+3) {
    margin-left: .28rem !important;
}

.hero .heroPagination .swiper-pagination-bullet-active {
    border-color: var(--yofo-blue);
    background: var(--yofo-blue);
}

.heroAltText {
    position: absolute;
    z-index: 2;
    color: var(--yofo-navy);
}

.heroAltText h2,
.heroAltText p {
    color: inherit;
    font-size: clamp(44px, .65rem, 65px);
    font-weight: 600;
    line-height: .82rem;
}

.heroAltTextLeft {
    top: 2.59rem;
    left: .97rem;
    width: 10.9rem;
}

.heroAltTextLeft h2 {
    margin-bottom: .4rem;
}

.heroAltTextRight {
    top: 3.82rem;
    left: 10.66rem;
    width: 8.26rem;
}

.heroAltTextCompact {
    top: 3.46rem;
    left: 1.65rem;
}





.sectionArrow {
    height: .46rem;
    background: url(../images/sectionArrow.png) center center / .235rem auto no-repeat;
}
.sectionArrow.afterHero,
.sectionArrow.afterProducts{
    margin: 1rem auto 0.5rem;
}

.sectionArrow.afterInnovation {
    height: 2.03rem;
}

.sectionArrow.afterStory {
    height: 1.74rem;
}












.products .products_info{
    color: #2C3247;
    text-align: center;
    font-size: clamp(24px, .38rem, 38px);
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.productItem {
    height: 5.38rem;
    padding: 1.47rem .72rem 0.8rem;
    color: #FFFFFF;
    overflow: hidden;
    position: relative;
}
.productItem+.productItem {
    margin-top: .3rem;
}
.productImg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.productText {
    max-width: 7.7rem;
    position: relative;
    z-index: 1;
}
.productItem+.productItem .productText {
    max-width: 9rem;
}
.productText h2 {
    color: #FFFFFF;
    font-size: clamp(24px, .38rem, 38px);
    font-weight: 600;
    line-height: 1.29;
}
.productText div {
    width: 100%;
    min-height: 1.02rem;
    margin-top: .3rem;
    color: #FFFFFF;
    font-family: 'Inter';
    font-size: clamp(18px, .22rem, 22px);
    line-height: 1.21;
    font-weight:300;
}
.productText .arrowLink {
    display: block;
    width: fit-content;
    transform: none;
    margin: 0.05rem 0 0 auto;
    font-family: 'Inter';
    font-size: clamp(14px, .22rem, 22px);
    font-weight: 300;
    color: #FFFFFF;
    transition: color .3s ease-in-out;
}

.productText .arrowLink b{
    color: #FFFFFF;
    font-weight: 300;
}

.productText .arrowLink:hover {
    color: var(--yofo-orange);
}

.productText .arrowLink:hover b{
    color: var(--yofo-orange);
}




.innovation {
    height: auto;
    padding: .5rem 0;
    background: var(--yofo-light);
}

.innovation h2,
.news h2{
    font-size: clamp(24px, .38rem, 38px);
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
}

.techList {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .27rem;
    width: 100%;
    margin: .51rem auto .5rem;
}
.techItem {
    height: auto;
    background: #F5F7FC;
    color: var(--yofo-text);
    border-bottom: .04rem solid var(--yofo-blue);
    transition: all .3s;
}
.techItem:hover{
    border-bottom: .04rem solid #FFAD2A;
}
.techItem .scale-box{
    width: 100%;
    height: 3.44rem;
    display: block;
    object-fit: cover;
    overflow: hidden;
}
.techItem .text {
    min-height: 1.94rem;
    padding: .3rem .4rem .3rem;
    text-align: center;
}

.techItem h3 {
    font-size: clamp(18px, .28rem, 28px);
    font-weight: 500;
    line-height: 1.23;
    transition: all .3s;
}

.techItem p {
    margin-top: .15rem;
    color: #48516A;
    font-family: 'Inter';
    font-weight: 400;
    font-size: clamp(12px, .22rem, 22px);
    line-height: 1.227;
}
.blueBtn {
    width: fit-content;
    min-width: 2.72rem;
    padding: .13rem .28rem;
    margin: 0 auto;
    border-radius: .3rem;
    background: var(--yofo-blue);
    color: #FFFFFF;
    font-family: 'Inter';
    font-size: clamp(14px, .24rem, 24px);
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
    transition: background .3s ease, transform .3s ease;
}

.blueBtn:hover {
    background: var(--yofo-orange);
    transform: translateY(-.02rem);
}






.story {
    max-width: 14.4rem;
}
.storyVideo {
    height: 8.1rem;
    position: relative;
    border-radius: .02rem;
    background: #101521;
}

.storyVideo>video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.storyVideoEmbed {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: #101521;
}

.storyVideoEmbed iframe {
    display: block;
    margin: 0;
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: 100%;
    border: 0 !important;
    outline: 0;
}

.yofoVideoFrameActive .storyTitle {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.storyVideo .play {
    width: 1.3rem;
    height: 1.3rem;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.storyVideo .storyTitle {
    position: absolute;
    right: 0;
    bottom: .5rem;
    left: 0;
    z-index: 1;
    color: #FFFFFF;
    height: 1.6rem;
    background: rgba(8, 49, 155, .85);
    font-size: clamp(32px, .48rem, 48px);
    font-weight: 600;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.storyInfo {
    min-height: 5.76rem;
    padding: .5rem 1.45rem .64rem;
    background: var(--yofo-pale);
    text-align: center;
}
.storyInfo h2 {
    font-size: clamp(22px, .28rem, 28px);
    font-weight: 600;
    line-height: 1.21;
}
.storyInfo>p {
    width: 9.95rem;
    max-width: 100%;
    margin: .28rem auto .36rem;
    color: #2c3247;
    font-family: 'Inter';
    font-size: clamp(14px, .22rem, 22px);
    line-height: 1.22727;
}
.storyStats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .5rem;
    margin-bottom: .5rem;
}
.storyStats .item {
    min-height: 2.05rem;
    padding: .3rem .16rem .27rem;
    background: #FFFFFF;
    transition: transform .3s ease, box-shadow .3s ease;
}
.storyStats .item:hover {
    transform: translateY(-.05rem);
    box-shadow: 0 0 .1rem .05rem rgba(0, 0, 0, .05);
}
.storyStats .item img {
    width: auto;
    height: .45rem;
    margin-bottom: .10rem;
}
.storyStats .item div {
    display: flex;
    align-items: center;
    justify-content: center;
}

.storyStats b{
    display: block;
    color: var(--yofo-navy);
    font-family: 'Inter';
    font-size: clamp(24px, .28rem, 28px);
    font-weight: 400;
    line-height: 1;
}

.storyStats span{
    display: block;
    margin-top: .05rem;
    color: #2C3247;
    font-family: 'Inter';
    font-size: clamp(14px, .22rem, 22px);
    line-height: 1.2;
}

.news {
    height: 8.02rem;
    padding: .5rem 0 .6rem;
    background: var(--yofo-light);
}

.newsList {
    display: grid;
    grid-template-columns: 9.78rem 5.6rem;
    gap: .49rem;
    width: 15.87rem;
    margin: .51rem auto 0;
}

.newsLarge {
    height: 5.47rem;
    position: relative;
    background: #0F2864;
}

.newsLarge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.newsLarge span {
    position: absolute;
    right: 0;
    bottom: .43rem;
    left: 0;
    height: 1.31rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 49, 155, .82);
    color: #FFFFFF;
    font-size: clamp(24px, .38rem, 38px);
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
}

.newsSmall {
    color: var(--yofo-text);
}

.newsSmall img {
    width: 100%;
    height: 3.15rem !important;
    display: block;
    object-fit: cover;
    object-position: bottom;
}

.newsSmall h3 {
    margin-top: .5rem;
    font-family: 'Inter';
    font-size: clamp(20px, .28rem, 28px);
    font-weight: 400;
    line-height: 1.25;
    padding: 0 .6rem;
}

.newsSmall .blueBtn {
    display: block;
    margin: .33rem auto 0;
}


@media (max-width: 1024px) {
    .home {
        width: 100%;
        overflow: hidden;
    }

    .hero {
        height: min(600px, calc(100svh - 64px));
        min-height: 500px;
        margin-top: 64px;
    }

    .hero .heroImg,
    .hero .heroFrameImg {
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        object-fit: cover;
    }

    .hero .heroImg {
        object-position: 62% center;
    }

    .hero .heroFrameImg {
        object-position: center center;
    }

    .hero .heroMain {
        width: calc(100% - 40px);
    }

    .hero .text {
        top: auto;
        right: 20px;
        bottom: 92px;
        left: 20px;
    }

    .hero .text h1 {
        font-size: clamp(30px, 8vw, 46px);
        line-height: 1.08;
    }

    .hero .arrowLink {
        margin-top: 20px;
        margin-left: 0;
        font-size: 16px;
    }

    .heroSectionLabel {
        top: 26px;
        left: 20px;
        width: auto;
        height: auto;
        font-size: 26px;
        line-height: 1.2;
    }

    .heroSectionLabel::after {
        top: 34px;
        width: 70px;
        height: 3px;
    }

    .hero .heroPagination {
        bottom: 28px !important;
        width: auto !important;
        height: 12px;
        gap: 12px;
    }

    .hero .heroPagination .swiper-pagination-bullet,
    .hero .heroPagination .swiper-pagination-bullet:nth-child(2),
    .hero .heroPagination .swiper-pagination-bullet:nth-child(n+3) {
        width: 12px;
        height: 12px;
        margin: 0 !important;
    }

    .heroAltText {
        width: auto;
        max-width: calc(100% - 40px);
        top: auto;
        right: 20px;
        bottom: 100px;
        left: 20px;
    }

    .heroAltText h2,
    .heroAltText p {
        font-size: clamp(26px, 7vw, 42px);
        line-height: 1.12;
    }

    .heroAltTextLeft,
    .heroAltTextRight,
    .heroAltTextCompact {
        top: auto;
        left: 20px;
    }

    .heroAltTextLeft h2 {
        margin-bottom: 14px;
    }

    .heroAltTextRight {
        right: 20px;
        left: auto;
        max-width: 80%;
        text-align: right;
    }

    .sectionArrow {
        height: 36px;
        background-size: 18px auto;
    }

    .sectionArrow.afterHero,
    .sectionArrow.afterProducts {
        margin: 36px auto 24px;
    }

    .sectionArrow.afterInnovation {
        height: 74px;
    }

    .sectionArrow.afterStory {
        height: 68px;
    }

    .products {
        width: calc(100% - 40px);
    }

    .products .products_info {
        margin-bottom: 24px;
        font-size: 26px;
        line-height: 1.25;
    }

    .productItem,
    .productItem + .productItem {
        height: auto;
        min-height: 0;
        margin-top: 16px;
        padding: 0;
        background: #53647a;
    }

    .productImg {
        position: relative;
        width: 100%;
        height: 220px;
        display: block;
        object-fit: cover;
        object-position: 70% center;
    }

    .productText,
    .productItem + .productItem .productText {
        max-width: 100%;
        padding: 22px 18px 26px;
    }

    .productText h2 {
        font-size: 22px;
        line-height: 1.18;
    }

    .productText div {
        min-height: 0;
        margin-top: 11px;
        font-size: 13px;
        line-height: 1.35;
    }

    .productText .arrowLink {
        margin-top: 18px;
        font-size: 14px;
    }

    .productItem + .productItem {
        min-height: 0;
        padding-top: 0;
        background: #6f8fc8;
    }

    .productItem + .productItem .productImg {
        object-position: 72% center;
    }

    @media (max-width: 380px) {
        .productItem,
        .productItem + .productItem {
            min-height: 0;
            padding: 0;
        }

        .productText h2 {
            font-size: 20px;
        }

        .productText div {
            font-size: 12px;
        }

        .productImg {
            height: 200px;
        }
    }

    .innovation {
        padding: 42px 0 48px;
    }

    .innovation .main {
        width: calc(100% - 40px);
    }

    .innovation h2,
    .news h2 {
        font-size: 26px;
        line-height: 1.25;
    }

    .techList {
        grid-template-columns: 1fr;
        gap: 16px;
        margin: 28px auto 26px;
    }

    .techItem {
        display: grid;
        grid-template-columns: 42% 58%;
        min-height: 170px;
        border-bottom-width: 3px;
    }

    .techItem .scale-box {
        height: 100%;
        min-height: 170px;
    }

    .techItem .text {
        min-height: 170px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 18px 16px;
        text-align: left;
    }

    .techItem h3 {
        font-size: 18px;
        line-height: 1.25;
    }

    .techItem p {
        margin-top: 10px;
        font-size: 14px;
        line-height: 1.35;
    }

    .blueBtn {
        min-width: 0;
        padding: 12px 22px;
        border-radius: 24px;
        font-size: 15px;
    }

    .story {
        width: calc(100% - 40px);
    }

    .storyVideo {
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .storyVideo .play {
        width: 64px;
        height: 64px;
    }

    .storyVideo .storyTitle {
        bottom: 18px;
        height: 58px;
        font-size: 24px;
    }

    .storyInfo {
        min-height: 0;
        padding: 30px 20px 28px;
    }

    .storyInfo h2 {
        font-size: 24px;
        line-height: 1.25;
    }

    .storyInfo > p {
        width: auto;
        margin: 14px auto 22px;
        font-size: 15px;
        line-height: 1.45;
    }

    .storyStats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-bottom: 24px;
    }

    .storyStats .item {
        min-height: 122px;
        padding: 16px 8px 12px;
    }

    .storyStats .item img {
        height: 30px;
        margin-bottom: 8px;
    }

    .storyStats b {
        font-size: 24px;
    }

    .storyStats span {
        font-size: 13px;
        line-height: 1.25;
    }

    .news {
        height: auto;
        padding: 42px 0 48px;
    }

    .news .main {
        width: calc(100% - 40px);
    }

    .newsList {
        display: flex;
        flex-direction: column;
        gap: 24px;
        width: 100%;
        margin-top: 28px;
    }

    .newsLarge {
        height: 290px;
    }

    .newsLarge span {
        bottom: 18px;
        height: 62px;
        padding: 0 14px;
        font-size: 24px;
    }

    .newsSmall img {
        height: 190px !important;
    }

    .newsSmall h3 {
        margin-top: 16px;
        padding: 0 4px;
        font-size: 20px;
        line-height: 1.3;
    }

    .newsSmall .blueBtn {
        margin-top: 18px;
    }
}

/* The original first technology PNG is damaged. Preserve the card geometry
   and provide a neutral resolution-themed fallback until the source is replaced. */
/* .home .techList .techItem:first-child .scale-box:has(img[src*="technology-01.png"]) {
    background: #1d253a url("../images/pirox-feature-resolution.svg") center / 64px no-repeat;
} */
/* 
.home .techItem img[src*="technology-01.png"] {
    display: none;
} */

@media (max-width: 750px) {
    .home,
    .home section,
    .home .main,
    .home .techItem,
    .home .storyInfo,
    .home .newsList > * {
        min-width: 0;
    }

    .home h1,
    .home h2,
    .home h3,
    .home p,
    .home a {
        overflow-wrap: anywhere;
    }
}

@media (max-width: 420px) {
    .techItem {
        grid-template-columns: 40% minmax(0, 60%);
    }

    .techItem .text {
        padding: 16px 13px;
    }
}
