/*
 * Copyright 2020 Adobe. All rights reserved.
 * This file is licensed to you under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License. You may obtain a copy
 * of the License at http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under
 * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
 * OF ANY KIND, either express or implied. See the License for the specific language
 * governing permissions and limitations under the License.
 */

@import url("./fonts.css");

:root {
    /* colors */
    --background-color: white;
    --light-color: #f8f8f8;
    --dark-color: #505050;
    --text-color: #0f3133;
    --link-color: #f95e4a;
    --link-hover-color: #f95e4a;

    /* fonts */
    --body-font-family: gotham-book, sans-serif;
    --heading-font-family: GothamBlack, sans-serif;

    /* body sizes */
    --body-font-size-m: 22px;
    --body-font-size-s: 19px;
    --body-font-size-xs: 17px;

    /* heading sizes */
    --heading-font-size-xxl: 55px;
    --heading-font-size-xl: 44px;
    --heading-font-size-l: 34px;
    --heading-font-size-m: 27px;
    --heading-font-size-s: 24px;
    --heading-font-size-xs: 22px;

    /* nav height */
    --nav-height: 64px;
}

@media (width >= 900px) {
    :root {
        /* body sizes */
        --body-font-size-m: 18px;
        --body-font-size-s: 16px;
        --body-font-size-xs: 14px;

        /* heading sizes */
        --heading-font-size-xxl: 45px;
        --heading-font-size-xl: 36px;
        --heading-font-size-l: 28px;
        --heading-font-size-m: 22px;
        --heading-font-size-s: 20px;
        --heading-font-size-xs: 18px;
    }
}

body {
    display: none;
    margin: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: var(--body-font-family);
    font-size: var(--body-font-size-m);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100%;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

body.appear {
    display: block;
}

header {
    height: var(--nav-height);
}

header .header,
footer .footer {
    visibility: hidden;
}

header .header[data-block-status="loaded"],
footer .footer[data-block-status="loaded"] {
    visibility: visible;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-family: var(--heading-font-family);
    font-weight: 600;
    line-height: 1.25;
    scroll-margin: 40px;
}

h1 {
    font-size: var(--heading-font-size-xxl);
}
h2 {
    font-size: var(--heading-font-size-xl);
}
h3 {
    font-size: var(--heading-font-size-l);
}
h4 {
    font-size: var(--heading-font-size-m);
}
h5 {
    font-size: var(--heading-font-size-s);
}
h6 {
    font-size: var(--heading-font-size-xs);
}

p,
dl,
ol,
ul,
pre,
blockquote {
    font-family: gotham-book, sans-serif;
    margin-top: 0.8em;
    margin-bottom: 0.25em;
}

code,
pre {
    font-size: var(--body-font-size-s);
}

pre {
    padding: 16px;
    border-radius: 8px;
    background-color: var(--light-color);
    overflow-x: auto;
    white-space: pre;
}

main > div {
    margin: 40px 16px;
}

input,
textarea,
select,
button {
    font: inherit;
}

/* links */
a:any-link {
    color: #f95e4a;
    text-decoration: none;
    overflow-wrap: break-word;
    font-size: 14px;
    line-height: 24px;
}

a:hover {
    color: #f95e4a;
    text-decoration: underline;
}

/* buttons */
a.button:any-link,
button {
    box-sizing: border-box;
    display: inline-block;
    max-width: 100%;
    margin: 12px 0;
    border: 1px solid #0f3133;
    padding: 0.5em 1.2em;
    font-family: var(--body-font-family);
    font-style: normal;
    font-weight: 500;
    font-size: 15px;
    line-height: 24px;
    text-align: center;
    text-decoration: none;
    background-color: #b2fff6;
    color: var(--text-color);
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-radius: 5px;
}

a.button:hover,
a.button:focus,
button:hover,
button:focus {
    background-color: var(--link-hover-color);
    cursor: pointer;
}

button:disabled,
button:disabled:hover {
    background-color: var(--light-color);
    cursor: unset;
}

a.button.secondary,
button.secondary {
    color: var(--text-color);
    display: inline-block;
    text-align: center;
    border: 1px solid currentcolor;
    background-color: #b2fff6;
    border-radius: 5px;
}

a.button.secondary:hover {
    background-color: var(--link-hover-color);
}

main img {
    max-width: 100%;
    width: auto;
    height: auto;
}

.icon {
    display: inline-block;
    height: 24px;
    width: 24px;
}

.icon img {
    height: 100%;
    width: 100%;
}

/* sections */
main > .section {
    margin: 0px 0;
}

main > .section > div {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

main > .section:first-of-type {
    margin-top: 0;
}

/* section metadata */
main .section.light,
main .section.highlight {
    background-color: var(--light-color);
    margin: 0;
    padding: 40px 0;
}

.widget-hero .default-content-wrapper {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
}

.widget-hero .default-content-wrapper .button-container {
    order: 2;
    margin: 0;
    width: 100%;
}

.widget-hero .default-content-wrapper p:not(.button-container) {
    order: 1;
    margin: 0;
}

main .section.widget-intro {
    background-color: #fafafa;
    padding: 10px;
    p, li {
        font-size: 14px;
        font-family: "Gotham-Book", sans-serif;
        word-wrap: break-word;
        word-break: break-word;
        font-weight: 400;
        padding: 8px;
        line-height: 16px;
        color: #0f3133;
        box-sizing: border-box;
    }
}

main .section.widget-intro p strong,
main .section.widget-intro li strong {
    font-family: gotham-bold, sans-serif;
}

main .section.widget-intro a,
main .section.widget-talent a {
    color: #f95e4a;
}

.university-column {
    margin-bottom: 20px;
}

.university-column p strong {
    font-family: gotham-bold, sans-serif;
    margin-top: 10px;
    display: block;
}

main .section.widget-talent,
main .section.widget-university-talent {
    background-color: #fafafa;
    div {
        padding: 20px;
    }
    p {
        font-size: 18px;
        padding: 4px;
        font-family: "Gotham-Book", sans-serif;
        color: #0f3133;
        line-height: 28px;
        font-weight: normal;
        height: auto;
        overflow: hidden;
        width: 100%;
        margin: auto;
    }
}

main .section.widget-hero {
    padding: 20px;
    background-color: #0f3133;

    p {
        font-size: 18px;
        font-weight: 700;
        font-family: "Gotham-Book", sans-serif;
        color: white;
        line-height: 28px;
    }
    .button-container a {
        font-size: 18px;
        font-weight: 700;
        font-family: "Gotham-Book", sans-serif;
    }
}

main .section.widget-university {
    padding: 0;
    .default-content-wrapper {
        padding: 0 8px 0 8px;
    }
    h2 {
        text-align: center;
        font-size: 28px;
        font-weight: 700;
        font-family: GothamBlack, sans-serif;
    }
    p {
        font-family: GothamMedium, sans-serif;
        font-weight: 400;
        line-height: 21px;
    }
    a {
        text-decoration: underline;
        color: #f95e4a;
    }
}

main .section.widget-intern-highlights {
    max-width: 1440px;
    margin: 0 auto;
    padding-top: 10px;
    padding-bottom: 50px;
    background-color: #fff;
    .default-content-wrapper {
        width: 100%;
        margin-right: auto;
        margin-left: auto;
        text-align: center;
    }
}

.section.people-intro {
    text-align: center;
    margin-bottom: 40px;
}

.section.people-intro h2 {
    font-family: GothamBlack, sans-serif;
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 52px;
    line-height: 32px;
    color: #000;
}

.section.people-intro h2 span.highlight {
    color: #f95e4a;
    font-family: GothamBlack, sans-serif;
}

.section.people-career h2 span.highlight {
    color: #f95e4a;
    font-family: GothamBlack, sans-serif;
}

.section.people-career {
    text-align: center;
    margin-bottom: 40px;
}

.section.people-career h2 {
    font-family: GothamBlack, sans-serif;
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 40px;
    line-height: 32px;
    color: #0f3133;
}

.section.section-button-secondary .button-container {
    text-align: center;
    padding-bottom: 45px;
    font-family: GothamMedium, sans-serif;
    a.button.secondary {
        text-align: center;
        border: 1px solid #0f3133;
        background-color: #b2fff6;
        border-radius: 5px;
        padding: 5px 38px;
        font-family: GothamMedium, sans-serif;
        display: inline-block;
        text-decoration: none;
        color: #0f3133;
        font-weight: 400;
        font-size: 14px;
        line-height: 28px;
    }
}

.section.section-button-secondary .button-container a.button.secondary:hover {
    background-color: #f95e4a;
    color: white;
}

main .section.section-button-tertiary {
    width: 100%;
    background-color: #fafafa;
    a {
        font-size: 15px;
        color: #f95e4a;
        font-family: MontserratSemiBold, sans-serif;
        font-weight: normal;
        line-height: 21px;
        font-style: normal;
    }
}

main .section.section-button-tertiary a:hover {
    color: #337ab7;
}

.section.university-cards-title {
    max-width: 1440px;
    width: 1244px;
    margin: 0 auto;
    padding-top: 100px;
    padding-bottom: 100px;
}
.section.university-cards-title h2 {
    font-size: 25px;
    line-height: 45px;
    font-weight: 400;
}

.section.widget-university.widget-university-talent {
    padding-top: 16px;
    h2 {
        margin: 0;
        padding: 8px;
    }

    p {
        text-align-last: center;
        padding-bottom: 20px;
    }
}

.widget-hero .button-container a.button.primary {
    text-align: center;
    border: 1px solid #0f3133;
    background-color: #b2fff6;
    border-radius: 5px;
    padding: 11px 38px;
    font-family: gotham-bold, sans-serif;
    text-decoration: none;
    color: #000;
    font-weight: 400;
    display: block;
    width: 100%;
}

.widget-hero .button-container a.button.primary:hover {
    background-color: #f95e4a;
    color: white;
}

/* Create white Space block */

.section.people-structure {
    display: block;
    width: 100%;
    height: var(--space-height, 40px); /* default space */
    padding: 0;
    margin: 0;
}

.section.people-structure.small {
    --space-height: 20px;
}

.section.people-structure.medium {
    --space-height: 40px;
}

.section.people-structure.large {
    --space-height: 80px;
}

/* Tablet */
@media (max-width: 1024px) {
    .section.people-intro h2 {
        padding-top: 40px;
        font-size: 19px;
    }

    .section.people-career h2 {
        padding-top: 40px;
        font-size: 28px;
    }
    main .section.widget-university-talent {
        padding: 16px 8px 0 16px;
        h2 {
            text-align: center;
            font-size: 28px;
            font-weight: 700;
            font-family: GothamBlack, sans-serif;
        }
        p {
            text-align: center;
            font-family: gothamlight, sans-serif;
            font-size: 16px;
            line-height: 22px;
        }
    }
    main .section.widget-university {
        padding: 44px;
        p {
            font-size: 16px;
            line-height: 21px;
            font-family: GothamMedium, sans-serif;
        }
    }

    main .section.widget-intern-highlights {
        .default-content-wrapper {
            width: 80%;
        }
    }
}

/* Desktop */
@media (width >= 1024px) {
    main .section.widget-intern-highlights {
        width: 100%;
        .default-content-wrapper {
            width: 64%;
        }
    }
    .section.people-intro h2 {
        font-size: 32px;
        line-height: 32px;
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .section.people-career h2 {
        font-size: 32px;
        line-height: 32px;
        margin-top: 50px;
        margin-bottom: 50px;
    }
    main .section.widget-university {
        padding: 44px;
        font-family: GothamMedium, sans-serif;
    }
    main > .section > div {
        padding: 0 32px;
    }
    main .section.widget-university-talent > div {
        padding: 20px;
        h2 {
            text-align: center;
            font-size: 28px;
            font-weight: 700;
            font-family: GothamBlack, sans-serif;
        }

        p {
            padding: 8px;
            margin: auto;
            line-height: 24px;
            text-align-last: center;
            font-family: Gotham-Book, sans-serif;
        }
    }

    .widget-hero .default-content-wrapper {
        display: flex;
        align-items: center;
        flex-direction: row;
        justify-content: space-between;
        gap: 1rem;
    }
    .widget-hero .default-content-wrapper .button-container {
        width: auto;
    }

    .widget-hero .button-container a.button.primary {
        display: inline-block;
        width: auto;
    }
}

.text-block {
    padding: 32px 56px 32px 40px;
    background-color: #f7fafa;
}

.text-block h2 {
    font-family: gotham-bold, sans-serif;
    margin-bottom: 0;
    font-size: 1.375rem;
    color: #0f3133;
    line-height: 40px;
    font-weight: 600;
    margin-top: 16px;
}

.text-block ol li,
.text-block ul li {
    color: #3f4145;
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 28px;
    font-family: Gotham-Book, sans-serif;
    font-weight: 400;
}

@media only screen and (max-width: 1024px) {
    .text-block {
        padding: 16px 20px;
    }
}
