/* ==================================================
   ABOUT TEXT
================================================== */

.about_text {
    width: 100%;
    padding: 70px 6%;

    background-color: var(--black);
    color: var(--white);

    overflow: hidden;
}


/* ==================================================
   INTRO
================================================== */

.about_text_intro {
    display: flex;
    flex-direction: column;
    gap: 45px;

    margin-bottom: 60px;
}


.about_label {
    display: block;

    margin-bottom: 12px;

    color: var(--orange);

    font-size: var(--fs-span);
    font-weight: 700;
    letter-spacing: .16em;

    text-transform: uppercase;
}


/* ==================================================
   NUMBERS
================================================== */

.about_numbers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}


.about_numbers div {
    padding-top: 14px;

    border-top: 1px solid rgba(255, 255, 255, .14);
}


.about_numbers strong {
    display: block;

    margin-bottom: 5px;

    color: var(--orange);

    font-family: var(--font-theme);
    font-size: var(--fs-title);
    font-weight: 600;
}


.about_numbers span {
    display: block;

    color: rgba(255, 255, 255, .55);

    font-size: var(--fs-span);
    line-height: 1.4;
}


/* ==================================================
   TEXT
================================================== */

.about_text_body {
    display: grid;
    gap: 30px;

    margin-bottom: 50px;
}


.about_column p {
    margin: 0 0 20px;

    color: rgba(255, 255, 255, .70);
}


.about_column p:last-child {
    margin-bottom: 0;
}


/* ==================================================
   TECHNOLOGY
================================================== */

.about_technology {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;

    margin-bottom: 22px;

    color: var(--white);

    font-family: var(--font-theme);
    font-weight: 600;

    text-transform: uppercase;
}


.about_technology span::after {
    content: "/";

    margin-left: 18px;

    color: var(--orange);
}


.about_technology span:last-child::after {
    display: none;
}


/* ==================================================
   PHOTOS
================================================== */

.about_photos {
    position: relative;

    display: grid;
    grid-template-columns: 1fr 1.35fr 1fr;

    width: 100vw;
    height: 150px;

    margin:
        20px
        calc(50% - 50vw)
        60px;

    background-color: var(--black);

    overflow: hidden;
}


/* ==================================================
   PHOTO
================================================== */

.about_photo {
    position: relative;

    width: 100%;
    height: 100%;

    overflow: hidden;
}


.about_photo img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    filter:
        saturate(.80)
        contrast(1.05)
        brightness(.88);
}


/* ==================================================
   DIAGONAL PHOTOS

   --photo-cut = velikost diagonálního řezu
   --photo-line = tloušťka černého předělu
================================================== */

.about_photos {
    --photo-cut: 20px;
    --photo-line: 0px;
}


/* LEVÁ */

.about_photo--left {
    z-index: 1;

    width: calc(100% + var(--photo-cut));

    clip-path: polygon(
        0 0,
        100% 0,
        calc(100% - var(--photo-cut)) 100%,
        0 100%
    );
}


/* PROSTŘEDNÍ */

.about_photo--center {
    z-index: 2;

    width: calc(100% + (var(--photo-cut) * 2));

    margin-left: calc(var(--photo-cut) * -1);

    clip-path: polygon(
        var(--photo-cut) 0,
        100% 0,
        calc(100% - var(--photo-cut)) 100%,
        0 100%
    );
}


/* PRAVÁ */

.about_photo--right {
    z-index: 3;

    width: calc(100% + var(--photo-cut));

    margin-left: calc(var(--photo-cut) * -1);

    clip-path: polygon(
        var(--photo-cut) 0,
        100% 0,
        100% 100%,
        0 100%
    );
}


/* ==================================================
   BLACK DIAGONAL SEPARATORS
================================================== */

/*
   Černé pásy jsou samostatné prvky nad fotografiemi.
   Díky tomu jsou vidět bez ohledu na clip-path.
*/

.about_photo--left::after,
.about_photo--center::after {
    content: "";

    position: absolute;

    z-index: 10;

    top: -25%;
    right: calc(var(--photo-cut) / 2);

    width: var(--photo-line);
    height: 150%;

    background-color: var(--black);

    transform: rotate(14deg);

    pointer-events: none;
}


/* ==================================================
   SECOND TEXT
================================================== */

.about_text_body--second {
    margin-bottom: 0;
}


/* ==================================================
   STATEMENT
================================================== */

.about_statement {
    max-width: 900px;

    margin-top: 55px;
    padding-top: 30px;

    border-top: 1px solid rgba(255, 255, 255, .16);
}


.about_statement p {
    margin: 0;

    color: var(--white);

    font-family: var(--font-theme);
    font-size: var(--fs-caption);
    font-weight: 500;
    line-height: 1.45;
}


.about_statement strong {
    color: var(--orange);
}


/* ==================================================
   MOBILE LANDSCAPE
================================================== */

@media (min-width: 500px) and (orientation: landscape) {

    .about_text {
        padding: 60px 7%;
    }


    .about_photos {
        --photo-cut: 55px;

        height: 170px;
    }

}


/* ==================================================
   TABLET
================================================== */

@media (min-width: 768px) and (orientation: portrait) {

    .about_text {
        padding: 90px 7%;
    }


    .about_text_intro {
        gap: 55px;

        margin-bottom: 70px;
    }


    .about_photos {
        --photo-cut: 60px;
        --photo-line: 0px;

        height: 190px;

        margin-top: 30px;
        margin-bottom: 70px;
    }

}


/* ==================================================
   NOTEBOOK
================================================== */

@media (min-width: 1024px) {

    .about_text {
        padding: 100px 8%;
    }


    .about_text_intro {
        display: grid;
        grid-template-columns: 1.25fr 1fr;
        align-items: end;
        gap: 80px;

        margin-bottom: 85px;
    }


    .about_text_body {
        grid-template-columns: 1fr 1fr;
        gap: 9%;

        margin-bottom: 70px;
    }


    .about_photos {
        --photo-cut: 80px;
        --photo-line: 0px;

        height: 210px;

        margin-top: 20px;
        margin-bottom: 85px;
    }


    .about_statement {
        margin-top: 70px;
    }

}


/* ==================================================
   DESKTOP
================================================== */

@media (min-width: 1200px) {

    .about_text {
        padding: 110px 8%;
    }


    .about_text_body {
        gap: 11%;
    }


    .about_photos {
        --photo-cut: 100px;

        height: 220px;
    }

}


/* ==================================================
   LARGE DESKTOP
================================================== */

@media (min-width: 1440px) {

    .about_text {
        padding: 120px 10%;
    }


    .about_text_intro {
        gap: 100px;
    }


    .about_text_body {
        gap: 12%;
    }


    .about_photos {
        --photo-cut: 80px;
        --photo-line: 0px;

        height: 230px;

        margin-bottom: 100px;
    }


    .about_statement {
        max-width: 1050px;
    }

}