#section-1 h2.title {
    margin-top: 0;
}


section > .content > p {
    margin: 1em calc(20px + 3vw);
    line-height: 1.7;
    letter-spacing: 0.48px;
}

#section-2 > .content {
    padding-bottom: 4em;
}

/***** AT Cards *****/

section.foldable .foldable-content.at-card {
    padding: 0;
}

.at-card > .card-segment {
    border-bottom: 1px solid #14181E;
    padding-left: calc(1.5vw + 2em);
}

.at-card > .card-segment:not(.split) {
    padding-bottom: 4.5vh;
    padding-top: 4.5vh;
}

.at-card > .card-segment h4.title {
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    margin-bottom: 1.5em;
    font-size: 1.125em;
    font-weight: 600;
    letter-spacing: 0.0225em;
}

.at-card > .card-segment.split h4.title {
    margin-top: 1.5em;
}

.at-card > .card-segment h4.title:before {
    content: '>  ';
    color:  #FF314F;
}

.at-card > .card-segment h4.c-white.title:before {
    color: #FFF;
}

.at-card > .card-segment.top {
    min-height: 90px;
}

.at-card > .card-segment.top > .right > div {
    height: 100%;
    padding: 0 1.5em;
}

.at-card > .card-segment.top > .right > .card-number {
    border-bottom: 1px solid #14181E;
}

.at-card > .card-segment.split > .left {
    width: calc((100% / 3) * 2);
    height: 100%;
    border-right: 1px solid #14181E;
}

.at-card > .card-segment.split > .right {
    width: calc(100% / 3);
    height: 100%;
}

.at-card > .card-segment > .right > img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.at-card > .card-segment p,
.at-card > .card-segment ul > li {
    font-size: 0.9375em;
    letter-spacing: 0.02375em;
    line-height: 1.875em;
}

.at-card > .card-segment p {
    width: calc((100% / 3) * 2);
    padding: 0 1em;
    margin: 0;
    letter-spacing: 0.38px;
}

.at-card > .card-segment ul {
    margin: 0;
}

.at-card > .card-segment p.specs {
    width: calc(100% - 3em);
    margin-bottom: 1em;
    line-height: 2.9375em; /* 18px height + 29px margin on the sketch */
    margin-left: 1em;
}


/* Gallery related  */

.at-card > .card-segment.gallery {
    padding: 0;
    padding-bottom: 3.1875em;
}

ul.glide__slides {
    display: inline-flex;
    list-style: none;
    padding-left: 0;
}

.gallery-container {
    overflow: hidden;
}

.gallery-next,
.gallery-previous {
    width: 0;
    cursor: pointer;
}

.gallery-next > img,
.gallery-previous > img {
    width: 30px;
    z-index: 99;
}

.gallery-previous > img {
    margin-left: -50px;
}

.gallery-next > img {
    margin-left: 20px;
}


.at-card .bottom-links {
    margin-top: 2em;
}

.at-card > .card-segment.footer {
    padding-bottom: 3.75vh;
    padding-top: 2.5vh;
}

.at-card > .card-segment.footer p {
    margin-top: 0.5625em;
    line-height: 2.5em;
}

.at-card .footer .link {
    margin: 1em 0;
    letter-spacing: 0.03em;
}

.at-card .footer .link:last-child {
    margin-bottom: 0;
}

.at-card .footer .link > img {
    filter: invert(1);
    margin-right: 2em;
    margin-left: 1em;
}


/***** Agir Section (3) *****/

#section-3 > .content > h2::before,
#section-3 > .content > h2,
#agir-container h3,
#agir-container p {
    color: #F8F9FB;
}

#agir-container {
    margin-left: calc(20px + 3vw);
}

#agir-container > .agir {
    width: 100%;
    padding: 0 0.625em;
}

#section-3 h2.title {
    margin-top: 0;
    margin-bottom: 2.4em;
}

#agir-container > .agir > h3 {
    margin: 0;
    font-size: 1.25em;
    letter-spacing: 0.025em;
    font-weight: 400;
    height: 2.5em;
}

#agir-container > .agir > p {
    padding: 0;
    margin-top: 1.0625em;
    padding-left: 1.4em;
    font-size: 1em;
    line-height: 1.4375em;
    letter-spacing: 0.035em;
}



/***** Form Section (4) *****/


#section-4 > .content {
    padding-top: 5.25vh;
}

#form-container > .segment {
    width: 100%;
}

#contact-form > input,
#contact-form > textarea,
#contact-form > select {
    padding: 0.46875em;
    margin: 0.7em 0;
    font-size: 0.875em;
    letter-spacing: 0.035em;
    box-sizing: border-box;
    border: 1px solid #14181E;
    background-color: #f0eff4;
    color: #14181E;
    resize: none;
}

#contact-form > input:focus,
#contact-form > textarea:focus {
    border-color: #8e9095;
    border-radius: 0;
}

#contact-form > textarea {
    padding: 0.75em 0.9375em;
    height: 13.75vh;
    min-height: 6em;
}

#contact-form > select {
    color: #8e9095;
    font-weight: 400;

    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    background-image: url("../img/Icon/Down_Arrow.svg");
    background-size: 1.5vw;
    background-repeat: no-repeat;
    background-position-x: 95%;
    background-position-y: 50%;
}

::placeholder {
    font-weight: 400;
    color: #8e9095;
}

#contact-form > button {
    margin: 0.6125em 0;
    padding: 1.25em;
}

#contact-form > button > span.a,
#contact-form > button > a {
    font-size: 1.35em;
    font-weight: 600;
    letter-spacing: 0.027em;
}

#contact-form > #name {
    margin-top: 0;
}


#write-us > h5,
#write-us > a {
    padding-left: 4.2vw;
    font-size: 1em;
    line-height: 1.4;
}

#write-us > h5,
#write-us > a {
    padding-left: 4.2vw;
    font-size: 1em;
    line-height: 1.4em;
}

#write-us > h5 {
    font-weight: 400;
    margin: 0;
}

#write-us > a {
    font-weight: 700;
    margin-left: 1em;
}


@media screen and (max-width:1200px) {
    #section-1 {
        margin-top: 0;
        border-top: 1px solid #14181E;
    }
}

@media screen and (max-width:900px) {
    section > .content > p {
        margin-left: 8vw;
        margin-right: 1.625em;
        font-size: 1.25em;
        letter-spacing: 0.05em;
        line-height: 1.5625em;
    }

    .at-card > .card-segment.split {
        flex-direction: column-reverse;
        align-items: initial;
        padding: 0;
    }

    .at-card > .card-segment.split > .left {
        width: auto;
        padding: 1em;
        border-right: none;
    }

    .at-card > .card-segment.split > .left.specs-container {
        padding-top: 5vh;
        padding-bottom: 5vh;
        padding-left: 5vw;
        padding-right: 1em;
    }

    .at-card > .card-segment.split > .right {
        width: 100%;
    }

    .at-card > .card-segment.split > .right {
        flex-direction: row;
        align-items: center;
        border-bottom: 1px solid #14181E;
    }

    .at-card > .card-segment.top > .right > .card-number {
        width: calc(100% / 3);
        border-bottom: none;
        border-right: 1px solid #14181E;
    }

    .at-card > .card-segment.top > .right > .card-update {
        width: calc((100% / 3) * 2);
    }

    .at-card > .card-segment.top > .right > div {
        height: auto;
        width: auto;
        padding: 1em;
    }

    .at-card > .card-segment h4.title {
        font-size: 1.59em;
        letter-spacing: 0.056em;
        line-height: 1.375em;

        text-indent: -1em;
        margin-left: 1em;
    }

    .at-card > .card-segment p,
    .at-card > .card-segment ul li,
    .at-card > .card-segment p.specs {
        width: auto;
        font-size: 1.25em;
        letter-spacing: 0.05em;
        line-height: 1.5625em;
    }

    .at-card > .card-segment p.specs {
        margin-left: 0;
        padding-right: 0;
    }
    .at-card > .card-segment p.specs > b {
        margin-top: 1em;
        display: block;
    }
    .at-card > .card-segment p.specs > b.chevron:before {
        display: none;
    }

    .at-card > .card-segment {
        padding-top: 5vh;
        padding-bottom: 5vh;
        padding-left: 5vw;
        padding-right: 1em;
    }

    .at-card > .card-segment ul > li {
        margin-top: 1em;
    }

    .gallery-previous > img,
    .gallery-next > img {
        transform: scale(0.5);
    }

    .gallery-previous > img {
        margin-left: -30px;
    }

    .gallery-next > img {
        margin-left: 0;
    }

    .at-card > .card-segment.footer p {
        font-size: 1.17em;
        letter-spacing: 0.023em;
        line-height: 1.25em;
    }

    .at-card > .card-segment.footer p > a {
        display: block;
        text-indent: -0.46em;
        margin-left: 0.46em;
    }

    /***** Agir Section (3) *****/

    #agir-container {
        flex-direction: column;
        margin: 0 3vw;
    }

    #section-3 h2.title {
        margin-bottom: 2.1em;
    }

    #agir-container > .agir > h3 {
        margin-bottom: 0;
        align-items: center;

        font-size: 1.33em;
        letter-spacing: 0.0133em;
    }

    #agir-container > .agir > p {
        font-size: 1.25em;
        letter-spacing: 0.055em;
        line-height: 1.5625em;
        margin-top: 0.9em;
        margin-bottom: 2.5em;
    }

    /***** Form Section (4) *****/
    #section-4 > .content {
        padding-top: 8vh;
        padding-bottom: 10vh;
    }

    #form-container {
        flex-direction: column;
        margin: 0 3vw;
    }

    #contact-form > input, #contact-form > textarea, #contact-form > select {
        font-size: 1.17em;
        padding: 0.5625em;
        margin: 0.40625em 0;
    }

    #contact-form > select {
        background-size: 1.42em;
    }

    #contact-form > textarea {
        height: 11.8em;
        margin-bottom: 1.5em;
    }

    #contact-form > button {
        margin: 1em 6vw;
    }

    #write-us {
        margin-top: 1.5em;
    }

    #write-us > h5,
    #write-us > a {
        padding-left: 0;
        font-size: 1.42em;
    }
}
