/*
 * 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.
 */

 :root {
  /* colors */
  --color-white: #FFF;
  --color-off-white: #F5F5F5;
  --color-white-alpha-25: #FFFFFF40;
  --color-white-alpha-50: #FFFFFF80;
  --color-white-alpha-75: #FFFFFFBF;
  --color-red-dark: #C61F26;
  --color-red: #ED1A28;
  --color-red-light: #FF1D2B;
  --color-red-95: #ED1A28f2;
  --color-gold: #CA7;
  --color-dark-gold: #F5A81C;
  --color-green: #006039;
  --color-mid-light-cool-gray: #B0AFB1;
  --color-lightest-cool-gray: #E3E3E3;
  --color-light-cool-gray: #C7C7C7;
  --color-light-gray: #5A5A5A;
  --color-gray: #65656A;
  --color-dark-gray: #97979B;
  --color-mid-dark-gray:#909090;
  --color-gray-alpha-70: #63656AB3;
  --color-gray-alpha-80: #63656ACC;
  --color-darker-gray: #313235;
  --color-darker-gray-alpha-75: #313235BF;
  --color-darker-gray-alpha-80: #313235CC;
  --color-black-10: #E3E3E3;
  --color-black-80: #19191A;
  --color-black-alpha-0: #0000;
  --color-black-alpha-10: #0000001A;
  --color-black-alpha-25: #00000040;
  --color-black-alpha-75: #000000BF;
  --color-black-alpha-50: #00000080;
  --color-black: #000;
  --color-highlight-red: #ED0000;
  --color-highlight-orange: #FF4F04;
  --color-yellow: #FFBC00;
  --color-highlight-yellow: #FAE100;
  --color-highlight-lime: #BED051;
  --color-highlight-green: #86A646;
  --color-highlight-forest: #25845D;
  --color-highlight-seagreen: #50BF93;
  --color-highlight-light-blue: #A1D9FF;
  --color-highlight-dark-blue : #0084FF;
  --color-blue: #20487C;
  --color-pga-darker-blue: #0A1F62;
  --color-pga-blue: #003970;
  --color-purple-95: #4d148cf2;
  --color-purple: #4d148c;
  --color-purple-dark: #411176;
  --color-purple-light: #5917a2;
  --color-orange: #FF6600;
  --color-orange-95: #FF6600f2;
  --link-color: #035fe6;
  --link-hover-color: #136ff6;
  --background-color: #fff;
  --overlay-background-color: #eee;
  --highlight-background-color: #ccc;
  --text-color: #000;
  --color-link-hover-border: #20487C;
  --color-link-hover-background: #20487C;
  --color-link-hover-text: #20487C;

  /* fonts */
  --heading-font-family: 'Inter', 'Roboto-fallback';
  --body-font-family: 'Inter', 'Roboto Condensed-fallback';
  --fixed-font-family: 'Inter', menlo, consolas, 'Liberation Mono', monospace;

  /* body sizes */
  --body-font-size-xxxl: 26px;
  --body-font-size-xxl: 20px;
  --body-font-size-xl: 17px;
  --body-font-size-l: 15px;
  --body-font-size-m: 13px;
  --body-font-size-s: 11px;

  /* heading sizes */
  --heading-font-size-xxxl: 70px;
  --heading-font-size-xxl: 58px;
  --heading-font-size-xl: 40px;
  --heading-font-size-l: 35px;
  --heading-font-size-m: 24px;
  --heading-font-size-s: 19px;
  --heading-font-size-xs: 16px;
  --heading-font-size-xxs: 13px;

  /* nav height */
  --nav-height: 64px;
  --status-bar-height: 56px;
}

body {
  font-size: var(--body-font-size-l);
  margin: 0;
  font-family: var(--body-font-family);
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--color-black);
  display: none;
}

@media (min-width: 768px) {
  body {
    font-size: var(--body-font-size-xl);
  }

}

@media (min-width: 1280px) {
  body {
    font-size: var(--body-font-size-xxl);
  }
}

body.appear {
  display: block;
}

body.light {
    background-color: var(--color-white);
}

body.dark {
    background-color: var(--color-black);
}

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

header:has(.status-bar-countdown) {
  height: calc(var(--nav-height) + var(--status-bar-height) * 2);
}


@media (min-width: 768px) {
  header:has(.status-bar-countdown) {
    height: calc(var(--nav-height) + var(--status-bar-height));
  }
}

h1, h2, h3,
h4, h5, h6 {
  font-family: var(--heading-font-family);
  font-weight: 600;
  line-height: 1.25;
  margin-top: 1em;
  margin-bottom: .5em;
  scroll-margin: calc(var(--nav-height) + 1em);
}

h1 { font-size: var(--heading-font-size-l) }
h2 { font-size: var(--heading-font-size-m) }
h3 { font-size: var(--heading-font-size-s) }
h4 { font-size: var(--heading-font-size-xs) }
h5 { font-size: var(--body-font-size-xxs) }
h6 { font-size: var(--body-font-size-xxxs) }

@media (min-width: 768px) {
  h1 { font-size: var(--heading-font-size-xl) }
  h2 { font-size: var(--heading-font-size-l) }
  h3 { font-size: var(--heading-font-size-m) }
  h4 { font-size: var(--heading-font-size-s) }
  h5 { font-size: var(--body-font-size-xs) }
  h6 { font-size: var(--body-font-size-xxs) }
}

@media (min-width: 1280px) {
  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 {
  margin-top: 1em;
  margin-bottom: 1em;
}

hr {
  margin-top: 1.5em;
  margin-bottom: 1.5em;
  border: 0;
  border-bottom: 1px solid var(--overlay-background-color);
}

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

code, samp {
  padding: .125em;
}

pre {
  overflow: scroll;
}

main pre {
  background-color: var(--overlay-background-color);
  padding: 1em;
  border-radius: .25em;
  overflow-x: auto;
  white-space: pre;
}

.default-content-wrapper {
    padding: 0px 35px;
    color: var(--color-white);
}

.dark .default-content-wrapper {
    color: var(--color-white);
}

.light .default-content-wrapper {
    color: var(--color-black);
}

a {
  font-family: var(--heading-font-family);;
}

a:any-link {
  color: var(--color-black);
  border-bottom: 2px solid var(--color-black-alpha-50);
  text-decoration: none;
  font-family: var(--heading-font-family);
}

a.light:any-link {
  color: var(--color-black);
  border-bottom: 2px solid var(--color-black-alpha-50);
  text-decoration: none;
  font-style: normal;
}

a svg {
  margin-left: 5px;
}

/* buttons */
a.button:any-link, button {
  font-family: var(--heading-font-family);
  display: inline-block;
  box-sizing: border-box;
  text-decoration: none;
  padding: 5px 30px;
  height: 100%;
  text-align: center;
  font-style: normal;
  font-weight: 600;
  cursor: pointer;
  margin: 16px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-radius: 10px;
  line-height: 1.25;
  font-size: var(--body-font-size-l);
  border: 2px solid currentcolor;
  background-color: var(--color-white);
  color: var(--color-black);
}

@media (min-width: 1280px) {
  a.button:any-link, button {
    font-size: var(--body-font-size-xl);
    padding: 5px 20px;
  }
}

a.button.primary, button.primary {
    background-color: var(--color-white);
    border: 2px solid var(--color-black);
    color: var(--color-black);
}

a.button.light:any-link, button.light {
    background-color: var(--color-white);
    border: 2px solid var(--color-black);
    color: var(--color-black);
}

a.button.secondary, button.secondary {
  background-color: transparent;
  border: 2px solid var(--color-white);
  color: var(--color-white);
}

a.button.secondary.light, button.secondary.light {
    background-color: transparent;
    border: 2px solid var(--color-white);
    color: var(--color-white);
}

a.button:hover, a.button:focus, button:hover, button:focus  {
  cursor: pointer;
}

a.button.primary:not(.not-hover-style, :has(svg, .icon)):hover, a.button.primary:not(.not-hover-style, :has(svg, .icon)):focus,
button.primary:not(.not-hover-style, :has(svg, .icon)):hover, button.primary:not(.not-hover-style, :has(svg, .icon)):focus  {
    border-color: var(--color-blue);
    background-color: var(--color-blue)!important;
    color: var(--color-white);
}

a.button.primary.light:not(.not-hover-style, :has(svg, .icon)):hover, a.button.primary.light:not(.not-hover-style, :has(svg, .icon)):focus,
button.primary.light:not(.not-hover-style, :has(svg, .icon)):hover, button.primary.light:not(.not-hover-style, :has(svg, .icon)):focus  {
    border-color: var(--color-blue);
    background-color: var(--color-blue)!important;
    color: var(--color-white);
}

a.button.secondary:not(.not-hover-style, :has(svg, .icon)):hover, a.button.secondary:not(.not-hover-style, :has(svg, .icon)):focus,
button.secondary:not(.not-hover-style, :has(svg, .icon)):hover, button.secondary:not(.not-hover-style, :has(svg, .icon)):focus  {
    border-color: var(--color-blue);
    background-color: var(--color-blue)!important;
    color: var(--color-white);
}

a.button.secondary.light:not(.not-hover-style, :has(svg, .icon)):hover, a.button.secondary.light:not(.not-hover-style, :has(svg, .icon)):focus,
button.secondary.light:not(.not-hover-style, :has(svg, .icon)):hover, button.secondary.light:not(.not-hover-style, :has(svg, .icon)):focus  {
    border-color: var(--color-blue);
    background-color: var(--color-blue)!important;
    color: var(--color-white);
}


button:focus svg, button:hover svg,
a.button:focus svg, a.button:hover svg {
  fill: var(--color-link-hover-text) !important;
}

a:not(.button):hover, a:not(.button):focus {
  border-bottom: 2px solid var(--color-blue) !important;
  color: var(--color-blue) !important;
}

a:not(.button):hover svg, a:not(.button):focus svg {
  fill: var(--color-blue) !important;
}

/* style arrow button */
/* stylelint-disable-next-line no-descending-specificity */
.arrow-buttons-wrapper button {
    line-height: 0;
    border-radius: 50%;
    border: none;
    height: fit-content;
    padding: 0 !important;
    margin: 0;
    background-color: var(--color-black);
}

.arrow-buttons-wrapper button.arrow-left-button svg {
    transform: rotate(180deg);
}

.arrow-buttons-wrapper button:hover,
.arrow-buttons-wrapper button:focus {
    background: var(--color-link-hover-background);
}

.button-container {
  display: flex;
  flex-wrap: wrap;
  column-gap: 30px;
  align-items: center;
}

/* stylelint-disable-next-line no-descending-specificity */
button:disabled, button:disabled:hover {
  background-color: var(--overlay-background-color);
  cursor: unset;
}

main input {
  font-size: 1.25rem;
  width: 100%;
  max-width: 50rem;
  display: block;
  margin-bottom: 1rem;
  padding: 0.75rem 0.6rem;
  border-radius: 0.25rem;
  box-sizing: border-box;
  border: 1px solid var(--text-color);
  color: var(--text-color);
  background-color: var(--background-color);
}

main input:hover {
  border: 1px solid var(--text-color);
}

main blockquote {
  font-style: italic;
  margin: 0;
  text-indent: -1rem;
  hanging-punctuation: first;
}

main blockquote p::before {
  content: "“";
  line-height: 0;
}

main blockquote p::after {
  content: "”";
  line-height: 0;
}

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

.icon {
  display: inline-block;
}

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

@media (min-width: 900px) {
    .section > div {
      max-width: 1920px;
      margin: auto;
    }
}

.news-article main .section:not(.secondary-hero-container, .ads-container, .ads-section) {
    padding: 0 5%;
}

@media (min-width: 768px) {
    .news-article main .section.two-col .default-content-wrapper {
        display: inline-block;
        width: calc(100% - 250px);
        vertical-align: top;
    }

    .news-article main .section:not(.secondary-hero-container, .ads-container, .ads-section, .two-col) > div {
        box-sizing: border-box;
        background-clip: padding-box;
        border-left: 250px solid transparent;
    }
}

/* section metadata */
.section.two-col {
    max-width: 1920px;
    margin: auto;
}

main .section.highlight {
  background-color: var(--highlight-background-color);
}

main .ad {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-lightest-cool-gray);
    margin: auto;
    max-width: 1920px;
    padding: 32px 0;
    overflow: hidden;
}

.light main .ad {
    background-color: var(--color-lightest-cool-gray);
}

.dark main .ad {
    background-color: var(--color-white);
}

main .ad .ad-top,
main .ad .ad-author {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
}

main.error {
    justify-content: center;
}

main.error .default-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-white);
    fill: var(--color-white);
    text-align: center;
}
