@font-face {
    font-family: 'HK Grotesk Regular';
    src: url('/assets/webfonts/hkgrotesk-medium-webfont.woff2') format('woff2'), url('/assets/webfonts/hkgrotesk-medium-webfont.woff') format('woff');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'HK Grotesk Bold';
    src: url('/assets/webfonts/hkgrotesk-bold-webfont.woff2') format('woff2'), url('/assets/webfonts/hkgrotesk-bold-webfont.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Anton';
    src: url('/assets/webfonts/anton-regular.woff2') format('woff2'), url('/assets/webfonts/anton-regular.woff') format('woff');
    font-weight: 600;
    font-style: normal;
}

 :root {
    --color-soft-black: #0C4A59;
    --color-bkgd: #0F252B;
    --color-rtsl-red: #ff6d51;
    --color-rtsl-blue: #2B307F;
    --color-rtsl-grey: #f2f5f7;
    --baseline: 1.5rem;
    --typescale: 1.5;
    --basesize: 1rem;
    --size-2: calc(var(--basesize) * var(--typescale));
    --size-3: calc(var(--size-2) * var(--typescale));
    --size-4: calc(var(--size-3) * var(--typescale));
    --size-5: calc(var(--size-4) * var(--typescale));
    --size-6: calc(var(--size-5) * var(--typescale));
    --size-7: calc(var(--size-6) * var(--typescale));
}

*,
body {
    margin: 0;
    padding: 0;
}

html {
    font-size: calc(100% + 0.15vw);
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
}

*+* {
    margin-top: var(--baseline);
}

main,
section,
footer,
ul *+* {
    margin-top: 0;
}

body {
    font-family: 'HK Grotesk Regular', sans-serif;
    color: var(--color-soft-black);
    font-size: var(--basesize);
    line-height: 1.5;
    background: var(--color-rtsl-grey);
}

img,
svg {
    display: block;
    max-width: 100%;
}

img.rtsl-logo-top {
    width: 35%;
}
img.rtsl-logo-bottom {
    width: 35%;
}
/* Typography */

h1,
h2,
h3 {
    font-family: 'Anton', sans-serif;
    text-transform: uppercase;
}

h1 {
    font-size: var(--size-4);
    line-height: 1;
}

h1 span {
    color: var(--color-rtsl-red);
}

h2 {
    font-size: var(--size-3);
    line-height: 1.1;
    color: var(--color-rtsl-blue);
}

h2 em {
    font-style: normal;
    text-decoration: underline var(--color-rtsl-red);
    text-decoration-thickness: 10px;
}

h3 {
    font-size: var(--size-3);
    line-height: 1.2;
    color: var(--color-rtsl-blue);
}

h4 {
    font-family: 'HK Grotesk Bold', sans-serif;
    font-size: var(--basesize);
}

a {
    color: inherit;
    font-family: 'HK Grotesk Bold', sans-serif;
    transition: all 0.2s ease-in-out;
    text-decoration: underline 1px;
    text-underline-offset: 2px;
}

a:hover {
    /* color: var(--color-rtsl-red); */
    text-decoration: underline 3px var(--color-rtsl-red);
    text-underline-offset: 0;
}

blockquote {
    font-family: 'HK Grotesk Bold', sans-serif;
}

blockquote p {
    font-size: var(--size-2);
    line-height: 1.3;
    text-align: left;
}

blockquote p:before {
    content: "“";
    display: inline-block;
    text-indent: -.75rem;
}

body.en blockquote p:after {
    content: ".”";
}

body.es blockquote p:after {
    content: "”.";
}

cite {
    /* border-bottom: 5px solid var(--color-rtsl-red); */
    font-style: normal;
    margin-top: 0;
    text-decoration: underline 5px var(--color-rtsl-red);
    text-underline-offset: 3px;
}

.italic {
    font-style: italic;
}
/* Layout */

ul {
    list-style-type: none;
}

.inner {
    max-width: 70rem;
    margin: auto;
    padding: var(--baseline);
}

header {
    background: var(--color-bkgd);
    color: #fff;
    background-position: center center;
    background-size: cover;
}

.hero {
    padding-top: 20vw;
}

header.katelyn {
    background-image: url(/assets/img/katelyn-6-720.jpg);
}

header.rob {
    background-image: url(/assets/img/rob-3-720.jpg);
}

header blockquote {
    margin-left: 2rem;
    margin-right: 2rem;
}

header cite {
    display: block;
    text-align: right;
    margin-right: 2rem;
}

header .inner {
    padding-bottom: 0;
}

.intro .inner {
    padding: var(--baseline) 0;
}

.intro-block {
    background: #fff;
    padding: var(--basesize);
    margin-top: calc(var(--baseline) * -1);
}

.intro-block p:first-child {
    font-size: var(--size-2);
    font-family: 'HK Grotesk Bold', sans-serif;
}

.videos .inner {
    display: grid;
}

.video-card {
    background-color: var(--color-bkgd);
    background-repeat: no-repeat;
    background-position: center bottom;
    padding: var(--baseline);
    color: #fff;
    box-shadow: 0px 8px 26px rgba(30, 41, 57, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 25rem;
}

.video-card blockquote {
    text-align: right;
}

.video-card.isaiah {
    background-image: linear-gradient(#362827 15%, rgba(54, 40, 39, 0) 40%), url(/assets/img/isaiah-4-720.jpg);
    background-position: center top;
}

.video-card.rob {
    background-image: linear-gradient(#362827 15%, rgba(54, 40, 39, 0) 40%), url(/assets/img/rob-5-720.jpg);
    background-position: center center;
}

.video-card.katelyn {
    background-image: linear-gradient(#362827 15%, rgba(54, 40, 39, 0) 40%), url(/assets/img/katelyn-6-720.jpg);
}

.play-button {
    text-indent: -999rem;
    overflow: hidden;
    width: calc(var(--baseline) * 3);
    height: calc(var(--baseline) * 3);
    background: none;
    border: 0;
    margin-top: 0;
    color: #fff;
    cursor: pointer;
    display: block;
}

.hero .play-button {
    margin: auto;
    width: calc(var(--baseline) * 4);
    height: calc(var(--baseline) * 4);
}

.play-button:hover {
    color: var(--color-rtsl-red);
}

footer {
    background: var(--color-bkgd);
    padding: calc(var(--baseline) * 2) 0 calc(var(--baseline) * 4) 0;
    color: #fff;
}

.partners {
    list-style-type: none;
    display: grid;
    grid-gap: calc(var(--baseline) * 2);
    grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
}

.partners li {
    display: flex;
    justify-content: center;
    align-items: center;
}

ul.partners li.jsp {
    margin-top: 2rem;
}
ul.partners li.wcdt {
    margin-top: 1rem;
}
ul.partners li.cdph {
    margin-top: 0rem;
}
ul.partners li.fcph {
    margin-top: 0.4rem;
}
ul.partners li.ldh {
    margin-top: 1.5rem;
}
ul.partners li.mcph {
    margin-top: 0rem;
}
ul.partners li.mdh {
    margin-top: 0.5rem;
}
ul.partners li.wcnc {
    margin-top: 0rem;
}
ul.partners li.wvhhr {
    margin-top: 0rem;
}

@media screen and (max-width: 799px) {
    .intro h2 {
        padding: var(--baseline);
    }
    .katelyn blockquote {
        padding-bottom: 2rem;
    }
}


/* Larger headline font sizes for larger screens */

@media screen and (min-width: 800px) {
    .inner>*+* {
        margin-top: 0;
    }
    h1 {
        font-size: var(--size-6);
        line-height: .9;
    }
    h2 {
        font-size: var(--size-4);
    }
    header .inner,
    .promote .inner {
        display: grid;
        grid-template-columns: 4fr 3fr;
    }
    header .inner {
        padding-bottom: calc(var(--baseline) * 4);
    }
    .hero .play-button {
        margin-right: 0;
    }
    header blockquote {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }
    header h1 {
        padding-bottom: var(--baseline);
        margin-top: calc(var(--baseline) * -1);
    }
    header blockquote {
        padding-bottom: 5px;
    }
    .intro {
        margin-top: calc(var(--baseline) * -4);
    }
    .intro .inner {
        padding: var(--baseline);
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
        grid-template-rows: 1fr;
        gap: 0px 0px;
        grid-template-areas: ". intro-block intro-block intro-block h2 h2 h2";
    }
    .intro-block {
        grid-area: intro-block;
    }
    h2 {
        grid-area: h2;
    }
    .intro h2 {
        margin-left: var(--baseline);
    }
    .intro h2 {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        margin-top: 3rem;
        padding-top: 2rem;
        line-height: 1.3;
    }
    .videos .inner {
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr;
        gap: 0px 0px;
        grid-template-areas: "left-top left-top left-top . right-top right-top ." "left-top left-top left-top . right-bottom right-bottom right-bottom" ". left-bottom left-bottom . right-bottom right-bottom right-bottom";
    }
    .video-1 {
        grid-area: left-top;
    }
    .video-2 {
        grid-area: right-bottom;
    }
    .find {
        grid-area: right-top;
        padding-bottom: var(--baseline);
    }
    .learn {
        grid-area: left-bottom;
        padding-top: var(--baseline);
    }
    .promote {
        background-color: var(--color-bkgd);
        background-position: center center;
        background-size: 100% auto;
        color: #fff;
        margin-top: calc(var(--baseline) *2);
    }
    .promote .inner {
        padding-top: calc(var(--baseline) *2);
        padding-bottom: calc(var(--baseline) *2);
        align-items: center;
    }
    .promote.katelyn {
        background-image: url(/assets/img/katelyn-banner.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        padding-top: 0;
    }
    .promote h3 {
        color: #fff;
        max-width: 18rem;
        margin: auto var(--baseline) auto auto;
        margin-left: auto;
    }
    footer .inner {
        display: grid;
        grid-gap: var(--baseline);
        grid-template-columns: 3fr 4fr;
    }
}

.partners img,
.partners svg {
    width: 100%;
    height: auto;
}


/* video.js style adjustment */

.blocker {
    margin-top: 0;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal {
    max-width: unset;
    padding: 0;
    border-radius: 0;
}

.close-modal {
    margin-top: 0;
}