/* color */
.theme-frosted-flakes {
  --primary-color: #0061af;
  --primary-hover: #103869;
  --secondary-color: #FF7F0A;
  --secondary-hover: #ff9029;
  --tertiary-color: #0061af;
  --black: #231414;
}

/* body */
body.theme-frosted-flakes.stand-alone {
  --nav-height-desktop: 88px;
  --nav-height-tablet: 88px;
  --nav-height: 72px;
}

body.theme-frosted-flakes main {
  font-family: var(--frosted-flakes-font);
  font-weight: normal;
}

/* headings */
body.theme-frosted-flakes main h1,
body.theme-frosted-flakes main h2,
body.theme-frosted-flakes main h3,
body.theme-frosted-flakes main h4,
body.theme-frosted-flakes main h5,
body.theme-frosted-flakes main h6 {
  font-family: var(--frosted-flakes-font);
  color: var(--primary-color); 
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.02em;
}

/* buttons */
.theme-frosted-flakes main a.button,
.theme-frosted-flakes main button,
.theme-frosted-flakes.stand-alone a.button:any-link,
.theme-frosted-flakes.stand-alone .button {
  font-family: var(--frosted-flakes-font);
}

.theme-frosted-flakes main a.button:hover,
.theme-frosted-flakes main button:hover,
.theme-frosted-flakes main a.button:focus,
.theme-frosted-flakes main button:focus {
  color: var(--primary-hover);
}

.theme-frosted-flakes main a.button.primary,
.theme-frosted-flakes main button.primary {
  justify-content: center;
  background-color: var(--secondary-color);
  color: var(--black);
  font-size: 1.125rem;
  font-weight: 900;
  border: 0;
  border-radius: 0;
  padding: 0.7em 1.5em 0.65em;
  min-width: 10em;
  transition: color 0.15s, background-color 0.15s;
}

.theme-frosted-flakes main a.button.primary:hover,
.theme-frosted-flakes main button.primary:hover,
.theme-frosted-flakes main a.button.primary:focus,
.theme-frosted-flakes main button.primary:focus {
  background-color: var(--secondary-hover);
  color: var(--black);
}

.theme-frosted-flakes main a.button.secondary,
.theme-frosted-flakes main button.secondary {
  font-size: 1.125rem;
  font-weight: 900;
  border-radius: 0;
  background-color: var(--white);
  color: var(--black);
  box-shadow: 0.2rem 0.2rem 1rem rgba(0 0 0 / 15%);
  border: 0;
}

.theme-frosted-flakes main a.button.secondary:hover,
.theme-frosted-flakes main button.secondary:hover,
.theme-frosted-flakes main a.button.secondary:focus,
.theme-frosted-flakes main button.secondary:focus {
  background-color: var(--secondary-hover);
  color: var(--black);
}

/* section */
.theme-frosted-flakes main .section.tertiary-bg-section::after {
  background: radial-gradient(circle farthest-corner at 50% 50%, #00539E, #003866);
}

@media (width >= 1024px) {
  .theme-frosted-flakes main .section.tertiary-bg-section::after {
    border-bottom: 78px solid var(--secondary-color);
  }

  .theme-frosted-flakes.stand-alone .section:not(.full-width) > div {
    max-width: 1200px;
  }
}

/* Tony The Tiger Story Section */
.theme-frosted-flakes .custom-layout {
  padding: 0 0 110%;
  display: flex;
  height: 0;
  margin: 0.625rem 0;
}

.theme-frosted-flakes.stand-alone .section.custom-layout > div {
  max-width: none;
  padding: 0;
  position: absolute;
}

.adobe-ue-edit .theme-frosted-flakes.stand-alone .section.custom-layout > div.default-content-wrapper {
  position: relative;
  margin: 0;
  padding-top: 10rem;
  padding-bottom: 10rem;
}

.adobe-ue-edit .theme-frosted-flakes.stand-alone .section.custom-layout > div.slideshow-wrapper {
  position: relative;
}

.theme-frosted-flakes .custom-layout .default-content-wrapper {
  width: 100%;
  height: 43%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
  z-index: 2;
  text-align: center;
}

.theme-frosted-flakes .custom-layout.primary-bg-section {
  flex-direction: row;
}

.theme-frosted-flakes .custom-layout.secondary-bg-section {
  flex-direction: row-reverse;
}

.theme-frosted-flakes .section.custom-layout.primary-bg-section .default-content-wrapper {
  background: url('../../images/blue_left_mobile.jpg') no-repeat center right;
  background-size: cover;
}

.theme-frosted-flakes .section.custom-layout.secondary-bg-section .default-content-wrapper {
  background: url('../../images/orange_right_mobile.jpg') no-repeat center left;
  background-size: cover;
}

.theme-frosted-flakes .custom-layout .slideshow-wrapper {
  height: 57%;
  width: 100%;
  bottom: 0;
}

.theme-frosted-flakes .section.custom-layout.primary-bg-section .slideshow-wrapper {
  right: 0;
}

.theme-frosted-flakes .section.custom-layout.secondary-bg-section .slideshow-wrapper {
  left: 0;
}

.theme-frosted-flakes .section.custom-layout::after {
  max-width: none;
}

.theme-frosted-flakes .custom-layout h2 {
  margin: 0;
  color: var(--white);
  font-size: 2.1875rem;
  text-transform: uppercase;
  font-weight: 700;
}

.theme-frosted-flakes .custom-layout h2 + p {
  margin-top: 1rem;
}

.theme-frosted-flakes .custom-layout p {
  color: var(--white);
  margin: 0;
  font-size: 1rem;
}

.theme-frosted-flakes .custom-layout img {
  display: block;
}

@media (width > 640px) {
  .theme-frosted-flakes .custom-layout {
    padding: 0 0 30%;
  }

  .theme-frosted-flakes .custom-layout .default-content-wrapper {
    width: 37%;
    height: 100%;
  }

  .theme-frosted-flakes .section.custom-layout.primary-bg-section .default-content-wrapper {
    padding: 0 7% 0 4%;
    background: url('../../images/blue_left_desktop.png') no-repeat center right;
    background-size: cover;
  }

  .theme-frosted-flakes .section.custom-layout.secondary-bg-section .default-content-wrapper {
    padding: 0 4% 0 7%;
    background: url('../../images/orange_right_desktop.png') no-repeat center left;
    background-size: cover;
  }

  .theme-frosted-flakes .custom-layout .slideshow-wrapper {
    height: 100%;
    width: calc(63% + 6vw);
  }

  .theme-frosted-flakes .custom-layout h2 {
    font-size: 1.75rem;
  }
  
  .adobe-ue-edit .theme-frosted-flakes .custom-layout {
    padding: 0;
    height: auto;
  }

  .adobe-ue-edit .theme-frosted-flakes .slideshow:not(.single-slide) > div {
    position: relative;
  }

  .adobe-ue-edit .theme-frosted-flakes .slideshow:not(.single-slide) > div + div {
    opacity: 1;
  }
}

@media (width > 1024px) {
  .theme-frosted-flakes .custom-layout h2 {
    font-size: 2.5rem;
  }

  .theme-frosted-flakes .custom-layout p {
    font-size: 1.125rem;
  }
}