main .hero-container > div {
  max-width: 1440px;
}
  
main .hero-container {
  padding: 0;
}

.hero {
  position: relative;
  padding: 32px;
  min-height: 400px;
}

.hero h1 {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  color: white;
}

.hero picture {
  position: absolute;
  z-index: -1;
  inset: 0;
  object-fit: cover;
  box-sizing: border-box;
}

.hero img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* wkkellogg.com */
.hero-homepage {
  min-height: 49.375rem;
}

.hero-interior {
  min-height: 20.375rem;
}

.hero-homepage p {
  margin: 0;
}

.hero-homepage .hero-foreground {
  left: 50%;
  position: absolute;
  text-align: center;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 85%;
}

.hero-homepage .hero-foreground picture {
  position: relative;
}

.hero-homepage .hero-foreground > div:has(picture):first-child {
  display: none;
}

.hero-homepage .hero-foreground > div:has(picture):not(:first-child) {
  max-width: 18.75rem;
  margin: 0 auto;
}

.hero-homepage a.button {
  padding: 0.375rem 1rem;
  font-size: 1rem;
  line-height: 2rem;
  letter-spacing: -0.0002rem;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  border-radius: 3.125rem;
  text-transform: uppercase;
  font-weight: 700;
  border: 0;
  margin: 2.5rem 0 0;
}

.hero-homepage a.button .icon {
  height: 1.25rem;
  width: 1.25rem;
}

.hero-homepage a.button .icon img {
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(22%) hue-rotate(10deg) brightness(105%) contrast(105%);
}

.hero-interior h1 {
  font-size: var(--heading-font-size-l);
  font-weight: 600;
  line-height: 2.5625rem;
  letter-spacing: -0.0009rem;
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform: translate(-50%, 50%);
  margin-block: 0;
}

.hero-interior h1 em {
  font-family: var(--script-font-family);
  font-style: normal;
  font-weight: 400;
  color: var(--white);

}

.theme-special-k.stand-alone .hero.hero-interior p .hero-img {
  transform: scaleX(-1);
}

@media (width >= 1024px) {
  .hero-homepage {
    padding: 2rem;
    min-height: 54.3125rem;
  }

  .hero-homepage .hero-foreground {
    max-width: 44.75rem;
  }

  .hero-homepage .hero-foreground > div:has(picture):first-child {
    display: block;
  }
  
  .hero-homepage .hero-foreground > div:has(picture) {
    display: none;
  }

  .hero-homepage a.button {
    padding: 1rem 1.5rem;
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .hero-homepage a.button .icon {
    height: 1.875rem;
    width: 1.875rem;
  }

  .hero-interior {
    min-height: 27.563rem;
  }

  .hero-interior h1 {
    font-size: 3.625rem;
    line-height: 4.625rem;
    letter-spacing: -0.0127rem;
  }
}

/* hero altnerate (brand landing) */
.hero-alternate {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  background: radial-gradient(closest-side at 50% 50%, #fefefe 60%, #efefef 130%);
  gap: 1rem;
}

.hero-alternate h1 {
  margin: .5rem 0;
  color: var(--black);
}

.hero-alternate p {
  margin: 0;
}

.hero-alternate picture {
  z-index: 1;
  position: relative;
  display: block;
  text-align: center;
}

.hero-alternate .hero-logo img {
  max-width: 280px;
}

.hero-alternate.logo-combo .hero-logo {
  display: flex;
  align-items: center;
  margin: 0 auto;
  gap: 2rem;
}

.hero-alternate.logo-combo .hero-logo > div:last-child img {
  max-height: 280px;
  object-fit: contain;
}

.hero-alternate .hero-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-alternate .hero-details img {
  max-height: 250px;
  object-fit: contain;
  display: none;
}

.hero-alternate .hero-details > div {
  max-width: 500px;
}

.hero-alternate .hero-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.2rem 2rem;
  margin-top: 0.7rem;
}

.hero-alternate .hero-buttons .button-container {
  margin: 0 .5rem;
}

.hero-alternate a.button {
  margin-top: 1rem;
  line-height: inherit;
  font-size: inherit;
}

@media (width >= 1024px) {
  .hero-alternate {
    min-height: 40rem;
    align-items: center;
    padding: 2rem 5rem;
    flex-direction: row;
    gap: 0;
  }

  .hero-alternate.logo-combo .hero-logo {
    display: block;
    margin: 0;
  }

  .hero-alternate.logo-combo .hero-logo > div:last-child {
    display: none;
  }

  .hero-alternate .hero-logo {
    flex: 0 0 50%;
  }

  .hero-alternate .hero-logo > div {
    padding: 0 2rem;
  }

  .hero-alternate .hero-logo img {
    max-width: 450px;
  }
  
  .hero-alternate .hero-details {
    flex: 0 0 50%;
  }

  .hero-alternate .hero-details img {
    display: block;
  }

  .hero-alternate .hero-details > div {
    max-width: 550px;
    text-align: center;
  }
  
  .hero-alternate .hero-buttons .button-container {
    margin: 0;
  }
}

/* brand specific - Froot Loops */
.theme-froot-loops .hero-alternate {
  background: radial-gradient(ellipse farthest-corner at 50% -30%, #DC0031 0%, #DC0031 60%, #690517 120%);
}

.theme-froot-loops.ca-brand .hero-alternate {
  background: radial-gradient(ellipse farthest-corner at 50% -30%, #c91e2e 0%, #c91e2e 60%, #a11920 120%);
}

.theme-froot-loops .hero-alternate h1 {
  color: var(--white);
  text-shadow: 0 0 0.1em rgba(0 0 0 / 50%), 0 0 1em rgba(75 45 37 / 50%);
}

.theme-froot-loops .hero-alternate p {
  color: var(--white);
}

@media (width >= 1024px) {
  .theme-froot-loops .hero-alternate h1 {
    font-size: 3.5rem;
  }
}

/* brand specific - Rice Krispies */
.theme-rice-krispies .hero-alternate {
  background: radial-gradient(closest-side at 50% 50%, #3896d9 60%, #1e4f8a 130%);
}

.theme-rice-krispies .hero-alternate h1 {
  color: var(--white);
  text-shadow: 0.08em 0.08em 0 #0b4f88;
  font-size: 2.75rem;
  margin-bottom: 1rem;
}

.theme-rice-krispies .hero-alternate p {
  color: var(--white);
  font-size: 1.25rem;
}

@media (width >= 1024px) {
  .theme-rice-krispies .hero-alternate h1 {
    font-size: 4rem;
  }
}

/* brand specific - Raisin Bran */
.theme-raisin-bran .hero-alternate {
  background: radial-gradient(closest-side at 50% 50%, #DB5AA1 0%, #64154C 100%);
}

.theme-raisin-bran .hero-alternate h1 {
  color: var(--secondary-color);
  text-shadow: 0 0 0.1em rgba(0 0 0 / 50%), 0 0 1em rgba(75 45 37 / 50%);
}

.theme-raisin-bran .hero-alternate p {
  color: var(--white);
}

/* brand specific - Apple Jacks */
.theme-apple-jacks .hero-alternate {
  background: radial-gradient(closest-side at 50% 50%, var(--secondary-color) 50%, var(--secondary-hover) 150%);
}

.theme-apple-jacks .hero-alternate h1 {
  color: var(--white);
}

.theme-apple-jacks .hero-alternate p:not(.button-container) {
  color: var(--white);
  font-size: 1.25rem;
}

.theme-apple-jacks .hero-alternate .hero-details img {
  max-height: 320px;
}

/* brand specific - Honey Smacks */
.theme-honey-smacks .hero-alternate {
  background: transparent radial-gradient(closest-side at 50% 50%, #EF561D 60%, #E51225 130%) 0% 0% no-repeat padding-box;
  color: var(--white);
}

.theme-honey-smacks .hero-alternate h1 {
  color: var(--white);
  font-size: 2rem;
}

@media (width >= 1024px) {
  .theme-honey-smacks .hero-alternate h1 {
    font-size: 3rem;
  }

  .theme-raisin-bran .hero-alternate.custom-h1-fontsize h1 {
    font-size: 2.8125rem;
    line-height: 1.06;
  }
}

/* brand specific - Frosted Flakes */
.theme-frosted-flakes .hero-alternate {
  background: radial-gradient(closest-side at 50% 50%, var(--primary-color) 50%, var(--primary-hover) 150%);
}

.theme-frosted-flakes .hero-alternate h1,
.theme-frosted-flakes .hero-alternate p {
  color: var(--white);
}

.theme-frosted-flakes .hero-alternate h1 {
  font-size: 2em;
  max-width: 9em;
}

.theme-frosted-flakes .hero-alternate .hero-logo p:not(.button-container) {
  margin: 0;
}

.theme-frosted-flakes .hero-alternate p:not(.button-container) {
  font-size: 1.33em;
  margin: 0 0 1rem;
}

.theme-raisin-bran .hero-alternate.custom-h1-fontsize h1 {
  font-size: 1.6rem;
}

.theme-frosted-flakes .hero-alternate .hero-details img {
  max-height: 350px;
}

@media (width <= 527px) {
  .theme-frosted-flakes .hero-alternate .button-container a {
    margin-top: 1rem;
  }
}

@media (width >= 768px) {
  .theme-frosted-flakes .hero-alternate h1 {
    font-size: 3em;
  }

  .theme-raisin-bran .hero-alternate.custom-h1-fontsize h1 {
    font-size: 2.22rem;
  }
}

/* brand specific - Kellogg's Squishmallow */
.theme-squishmallow .hero-alternate {
  background: radial-gradient(closest-side at 50% 50%, var(--primary-color) 50%, var(--primary-hover) 150%);
}

/* brand specific - Frosted Mini-Wheats */
.theme-frosted-mini-wheats .hero-alternate {
  background: radial-gradient(closest-side at 50% 50%, var(--primary-color) 50%, var(--primary-hover) 150%);
}

.theme-frosted-mini-wheats .hero-alternate h1 {
  font-size: 2em;
  max-width: 10em;
}

.theme-frosted-mini-wheats .hero-alternate h1 strong {
  display: block;
  font-size: 5rem;
}

.theme-frosted-mini-wheats .hero-alternate h1,
.theme-frosted-mini-wheats .hero-alternate p {
  color: var(--white);
}

@media (width >= 768px) {
  .theme-frosted-mini-wheats .hero-alternate h1 {
    font-size: 3em;
  }
}

/* brand specific - Mini-Wheats (Canada) */
.theme-frosted-mini-wheats.ca-brand .hero-alternate {
  background: radial-gradient(ellipse farthest-corner at 50% -30%, #0063a7 0%, #0063a7 60%, #004778 120%);
  min-height: 1px;
}

@media (width >= 768px) {
  .theme-frosted-mini-wheats.ca-brand .hero-alternate {
    min-height: 36rem;
  }
}

/* brand specific - Corn Flakes */
.theme-corn-flakes .hero-alternate {
  background: radial-gradient(closest-side at 50% 50%, #EFEFEF 60%, #DDD 130%);
}

/* brand specific - Special K */
.theme-special-k .hero-alternate {
  background: radial-gradient(closest-side at 50% 50%, #EFEFEF 60%, #DDD 130%);
}

/* brand specific - Cracklin' Oat Bran */
.theme-cracklin-oat-bran .hero-alternate {
  background: radial-gradient(closest-side at 50% 50%, var(--primary-hover) 50%, var(--primary-color) 150%);
}

.theme-cracklin-oat-bran .hero-alternate h1,
.theme-cracklin-oat-bran .hero-alternate p {
  color: var(--white);
}

.theme-cracklin-oat-bran .hero-alternate h1 {
  margin: 1rem 0;
}

.theme-cracklin-oat-bran .hero-alternate .hero-details > div:not(:has(picture)) p {
  font-size: 1.5em;
  margin-bottom: 1rem;
}

/* brand specific - Corn Pops */
.theme-corn-pops .hero-alternate {
  background: radial-gradient(closest-side at 50% 50%, var(--primary-color) 60%, var(--primary-hover) 180%);
}

.theme-corn-pops .hero-alternate .hero-details h1,
.theme-corn-pops .hero-alternate .hero-details p {
  color: var(--white);
  text-shadow: 0 0 .124em rgba(0 0 0 / 40%);
}

.theme-corn-pops .hero-alternate p:not(.button-container) {
  font-size: 1.25rem;
}

/* brand specific - Crispix */
.theme-crispix .hero-alternate {
  background: radial-gradient(closest-side at 50% 50%, var(--secondary-color) 50%, var(--primary-color) 150%);
}

.theme-crispix .hero-alternate h1,
.theme-crispix .hero-alternate p:not(.button-container) {
  color: var(--white);
}

.theme-crispix .hero-alternate h1 {
  font-size: 2em;
  max-width: 20rem;
  margin: 1rem 0;
  text-transform: none;
  font-weight: 400;
}

@media (width >= 768px) {
  .theme-crispix .hero-alternate h1 {
    font-size: 2.5em;
  }
}

@media (width >= 1024px) {
  .theme-crispix .hero-alternate h1 {
    font-size: 4em;
    max-width: 28rem;
  }
}

@media (width > 1024px) {
  .theme-raisin-bran .hero-alternate.custom-h1-fontsize h1 {
    font-size: 2.8125rem;
    line-height: 1.06;
  }
}

/* brand specific - Kashi */
.theme-kashi .hero-alternate {
  background: radial-gradient(closest-side at 50% 50%, #fefefe 60%, #efefef 130%);
}

/* brand specific - Wednesday */
.theme-wednesday .hero-alternate h1 {
  line-height: normal;
}

/* brand specific - Cinnabon */
.theme-cinnabon .hero-alternate h1,
.theme-cinnabon .hero-alternate p:not(.button-container) {
  color: var(--white);
}

.theme-cinnabon .hero-alternate p:not(.button-container) {
  font-weight: 400;
}

/* brand specific - Smart Start */
.theme-smart-start .hero-alternate {
  background: radial-gradient(closest-side at 50% 50%, #EFEFEF 60%, #DDD 130%);
}

.theme-smart-start .hero-alternate h1,
.theme-smart-start .hero-alternate p:not(.button-container) {
  margin: 1rem 0
}

/* brand specific - Mueslix */
.theme-mueslix .hero-alternate {
  background: radial-gradient(closest-side at 50% 50%, #EFEFEF 60%, #DDD 130%);
}

.theme-mueslix .hero-alternate h1 {
  font-size: calc(1em + 5vw);
  color: var(--primary-color);
  text-shadow: 0 0 .75em rgba(0 0 0 / 40%);
  margin: 1rem 0;
}

@media (width >= 768px) {
  .theme-mueslix .hero-alternate h1 {
    font-size: 3rem;
  }
}

/* brand specific - Vector */
.theme-vector .hero-alternate {
  background: radial-gradient(closest-side at 50% 50%, #004487 40%, var(--primary-color) 140%);
}

.theme-vector .hero-alternate h1 {
  color: #C7EBFC;
}

.theme-vector .hero-alternate h1 sup {
  vertical-align: top;
  font-size: 1.5rem;
}

.theme-vector  .hero-alternate .hero-details > div {
  max-width: none;
}

@media (width >= 768px) {
  .theme-vector .hero-alternate h1 {
    font-size: 4rem;
  }

  .theme-vector .hero-alternate h1 sup {
    font-size: 2.5rem;
  }
}

.theme-vector .hero-alternate .hero-details > div:has(picture) p {
  margin-bottom: 2rem;
}

/* brand specific - Krave */
.theme-krave .hero-alternate {
  background: radial-gradient(closest-side at 50% 50%, var(--secondary-color) 40%, var(--secondary-hover) 100%);
}

.theme-krave .hero-alternate .hero-logo img {
  max-width: 324px;
}

.theme-krave .hero-alternate .hero-details h1 {
  color: var(--white);
  text-shadow: 0 0 .125em #00004D;
  margin-bottom: 0;
}

.theme-krave .hero-alternate .hero-details h1 strong {
  display: block;
}

.theme-krave .hero-alternate .hero-details p.button-container {
  margin-top: 1em;
}

/* brand specific - Extra */
.theme-extra .hero-alternate {
  background: radial-gradient(closest-side at 50% 50%, #375E9E 50%, var(--primary-color) 110%);
}

.theme-extra .hero-alternate h1,
.theme-extra .hero-alternate p:not(.button-container) {
  color: var(--white);
}

.theme-extra .hero-alternate h1 {
  font-size: 2rem;
  font-weight: 600;
  margin-top: 1.5rem;
}

.theme-extra .hero-alternate p:not(.button-container) {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 1.25rem 0;
}

/* brand specific - Bear Naked */
.theme-bear-naked .hero-alternate {
  background: radial-gradient(closest-side at 50% 50%, #ff6900 60%, #cc5200 130%);
}

.theme-bear-naked .hero-alternate h1,
.theme-bear-naked .hero-alternate p:not(.button-container) {
  color: var(--white);
}

.theme-bear-naked .hero-alternate h1 {
  margin-top: 1.5rem;
}

.theme-bear-naked .hero-alternate p:not(.button-container) {
  font-size: 1.25rem;
}

/* brand specific - All-Bran */
.theme-all-bran .hero-alternate {
  background: radial-gradient(closest-side at 50% 50%, #fffefd 40%, var(--tertiary-color) 100%);
}

.theme-all-bran .hero-alternate .hero-details h1 {
  font-size: 2.2em;
  color: var(--primary-color);
}

@media (width >= 768px) {
  .theme-all-bran .hero-alternate .hero-details h1 {
    font-size: 3em;
    max-width: 25rem;
    margin-bottom: 0;
    text-transform: none;
  }
}

.theme-all-bran .hero-alternate .hero-details > div p {
  max-width: 22rem;
  margin: 1rem;
}

.theme-all-bran .hero-alternate .hero-details .hero-buttons a {
  margin: 0;
}

@media (width <= 500px) {
  .theme-all-bran .hero-alternate .hero-details .hero-buttons a {
    margin-top: 1rem;
  }
}

/* stand alone specific - Kashi */
.theme-kashi.stand-alone .hero.hero-interior {
  min-height: 24rem;
}

.theme-kashi.stand-alone .hero.hero-interior h1 {
  color: var(--white);
  font-size: 1.875rem;
  text-align: center;
}

.theme-kashi.stand-alone .hero.hero-interior image p {
  margin: 0
}

.theme-kashi.stand-alone .hero.hero-tall h1 {
  font-size: 2.5rem;
  text-align: center;
  line-height: 1.2;
  text-shadow: 0 0 0.1em rgba(0 0 0 / 50%), 0 0 1em rgba(75 45 37 / 50%);
}

.theme-kashi.stand-alone .hero.hero-tall h1 strong {
  display: block;
}

.theme-kashi.stand-alone .hero.hero-homepage {
  min-height: 1rem;
  padding: 0;
}

.theme-kashi.stand-alone .hero-homepage .hero-foreground {
  position: relative;
  left: auto;
  top: auto;
  text-align: left;
  transform: none;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.theme-kashi.stand-alone .hero-homepage .hero-foreground .hero-foreground-item-1 {
  order: 2;
  z-index: 1;
}

.theme-kashi.stand-alone .hero-homepage .hero-foreground .hero-foreground-item-2 {
  position: absolute;
  top: 0;
  max-width: none;
  height: 100%;
}

.theme-kashi.stand-alone .hero-homepage .hero-foreground .hero-foreground-item-2 * {
  height: 100%;
}

.theme-kashi.stand-alone .hero-homepage .hero-foreground .hero-foreground-item-2 p {
  line-height: 0;
  height: 100%;
}

.theme-kashi.stand-alone .hero-homepage .hero-foreground .hero-foreground-item-2 img {
  object-position: top center;
}

.theme-kashi.stand-alone .hero-homepage .hero-foreground h1 {
  max-width: none;
  color: var(--white);
}

.theme-kashi.stand-alone .hero-homepage .hero-foreground-item-3,
.theme-kashi.stand-alone .hero-homepage .hero-foreground-item-5 {
  padding: 0 1rem;
  position: relative;
  z-index: 1;

}

.theme-kashi.stand-alone .hero-homepage a.button {
  margin-top: 0;
  padding: .75rem 1.75rem;
  font-size: 1rem;
}

.theme-kashi.stand-alone .hero-homepage .hero-foreground > div:has(picture):first-child {
  display: block;
}

.theme-kashi.stand-alone .hero-homepage .hero-background {
  display: none;
}

@media (width >= 768px) {
  .theme-kashi.stand-alone .hero.hero-interior {
    min-height: 31.75rem !important;
  }

  .theme-kashi.stand-alone .hero.hero-interior h1 {
    font-size: 3.75rem;
  }

  .theme-kashi.stand-alone .hero.hero-tall h1 {
    font-size: 2.5rem;
  }

  .theme-kashi.stand-alone .hero-homepage .hero-background {
    display: block;
  }

  .theme-kashi.stand-alone .hero.hero-homepage {
    height: 38vw;
    min-height: 1px;
  }

  .theme-kashi.stand-alone .hero-homepage .hero-foreground {
    max-width: 1300px;
    text-align: left;
    width: 100%;
    padding: 0 1rem;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .theme-kashi.stand-alone .hero-homepage h1 {
    margin-top: 0;
  }

  .theme-kashi.stand-alone .hero.hero-homepage .hero-foreground > div:has(picture) {
    display: none;
  }

  .theme-kashi.stand-alone .hero-homepage .hero-foreground-item-3,
  .theme-kashi.stand-alone .hero-homepage .hero-foreground-item-5  {
    padding: 0;
  }
}

@media (width >= 1024px) {
  .theme-kashi.stand-alone .hero.hero-tall {
    min-height: 55.875rem !important;
  }
}

/* stand alone specific - Special K */
.theme-special-k.stand-alone .hero.hero-interior {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 75vw;
  min-height: 20em;
  text-align: center;
}

.theme-special-k.stand-alone .hero.hero-interior > div > div:has(h1) {
  min-width: 15em;
  max-width: 18.375em;
}

.theme-special-k.stand-alone .hero.hero-interior h1,
.theme-special-k.stand-alone .hero.hero-interior p {
  color: var(--white);
  text-shadow: .125em .125em .375em rgb(0 0 0 / 90%);
  margin: 1rem 0;
}

.theme-special-k.stand-alone .hero.hero-interior h1 {
  position: relative;
  font-size: calc(1.5em + 2.5vw);
  left: 0;
  transform: none;
  margin: 1rem 0 0;
}

.theme-special-k.stand-alone .hero.hero-interior p {
  line-height: 1.25;
  max-width: 22em;
  margin: 1rem 0;
}

@media(width >= 768px) {
  .theme-special-k.stand-alone .hero.hero-interior {
    align-items: flex-start;
    justify-content: flex-start;
    height: 45vw;
    max-height: calc(100vh - 12em);
    min-height: 28em;
  }

  .theme-special-k.stand-alone .hero.hero-interior > div > div:has(h1),
  .theme-special-k.stand-alone .hero.hero-interior p {
    min-width: 21em;
    max-width: 21em;
  }

  .theme-special-k.stand-alone .hero.hero-interior h1 {
    font-size: 3em;
    margin: 0;
  }
}

@media (width >= 1024px) {
  .theme-special-k.stand-alone .hero.hero-interior > div > div:has(h1),
  .theme-special-k.stand-alone .hero.hero-interior > div > div:has(p) {
    font-size: 1.25em;
  }

  .theme-special-k.stand-alone .hero.hero-interior h1 {
    font-size: 3em;
  }
}

@media (width >= 1200px) {
  .theme-special-k.stand-alone .hero.hero-interior > div:has(h1),
  .theme-special-k.stand-alone .hero.hero-interior > div:has(p) {
    max-width: 75em;
    width: calc(100% - 2em);
  }

  .theme-special-k.stand-alone .hero.hero-interior > div:has(h1) {
    margin: 0 auto;
  }

  .theme-special-k.stand-alone .hero.align-text-left > div:has(h1) {
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }

  .theme-special-k.stand-alone .hero.align-text-right > div:has(h1) {
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }

  .theme-special-k.stand-alone .hero.align-text-center > div:has(h1) {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .theme-special-k.stand-alone .hero.align-text-center > div:has(p) {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .theme-special-k.stand-alone .hero.align-text-left > div:has(p) {
    display: flex;
    justify-content: flex-start;
  }

  .theme-special-k.stand-alone .hero.align-text-right > div:has(p) {
    display: flex;
    justify-content: flex-end;
    padding-right: 3em;
  }
  
  .theme-special-k.stand-alone .hero.hero-interior > div:has(p) {
    margin: 0 auto;
  }

  .theme-special-k.stand-alone .hero.hero-interior > div > div:has(h1),
  .theme-special-k.stand-alone .hero.hero-interior > div > div:has(p) {
    font-size: 1.5em;
    width: 40%;
  }

  .theme-special-k.stand-alone .hero.hero-interior p {
    max-width: 22em;
  }
}

/* stand alone - Rice Krispies */
.theme-rice-krispies.stand-alone .hero-homepage .hero-background {
  overflow: hidden;
  inset: 0;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
}

.theme-rice-krispies.stand-alone .hero-homepage .hero-background picture {
  left: -20px;
  right: -20px;
  position: absolute;
}

.theme-rice-krispies.stand-alone .hero-homepage .hero-foreground h1 {
  margin: 0;
  color: var(--white);
  text-shadow: 0.08em 0.08em 0 #0b4f88;
  font-size: 12vw;
  margin-bottom: 2rem;
}

.theme-rice-krispies.stand-alone .hero-homepage .hero-foreground {
  display: flex;
  flex-direction: column;
  left: auto;
  top: auto;
  position: relative;
  width: 100%;
  bottom: auto;
  transform: none;
}

.theme-rice-krispies.stand-alone .hero-homepage .hero-foreground > div:has(picture):first-child {
  display: block;
  order: 2;
  max-width: 550px;
  margin: 0 auto;
}

.theme-rice-krispies.stand-alone .hero-homepage .hero-foreground > div:has(picture) {
  order: 4;
  max-width: 200px;
  margin: 0 auto;
}

.theme-rice-krispies.stand-alone .hero-homepage .hero-foreground > div:not(:has(picture)) {
  padding-top: 1rem;
  text-align: center;
  max-width: 100%;
  order: 1;
}

.theme-rice-krispies.stand-alone .hero-homepage .hero-foreground > div:not(:has(picture)):last-child {
  text-align: center;
  max-width: 100%;
  order: 3;
}

.theme-rice-krispies.stand-alone .hero-homepage a.button {
  margin: 0 0 2rem;
}

@media (width >= 1024px) {
  .theme-rice-krispies.stand-alone .hero-homepage {
    height: 610px;
    min-height: 0;
  }

  .theme-rice-krispies.stand-alone .hero-homepage .hero-foreground {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    height: 100%;
    left: auto;
    top: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    text-align: left;
  }

  .theme-rice-krispies.stand-alone .hero-homepage .hero-foreground h1 {
    font-size: 5.625rem;
    margin-bottom: 1rem;
  }

  .theme-rice-krispies.stand-alone .hero-homepage .hero-foreground > div:has(picture):first-child {
    position: absolute;
    right: 7%;
    top: calc(50% + 1.5rem);
    width: 100%;
    max-width: 550px;
    transform: translateY(-50%);
  }

  .theme-rice-krispies.stand-alone .hero-homepage .hero-foreground > div:has(picture) {
    display: block;
    position: absolute;
    right: calc(7% + 600px);
    top: calc(50% + 6rem);
    max-width: 200px;
    width: 100%;
    transform: translateY(-50%);
  }

  .theme-rice-krispies.stand-alone .hero-homepage .hero-foreground > div:not(:has(picture)) {
    padding-top: 2rem;
    max-width: 50%;
  }
  
  .theme-rice-krispies.stand-alone .hero-homepage .hero-foreground > div:not(:has(picture)):last-child {
    max-width: 50%;
    padding-top: 0;
  }

  .theme-rice-krispies.stand-alone .hero-homepage a.button {
    margin: 0;
    padding: .75rem 1.5rem;
    font-size: 1.125rem;
  }
}

.theme-rice-krispies.stand-alone .hero-alternate {
  background: none;
  position: relative;
  height: 75vw;
  min-height: 20em;
  max-height: none;
  gap: 0;
}

.theme-rice-krispies.stand-alone .hero-alternate .hero-logo {
  overflow: hidden;
  inset: 0;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  max-width: none;
}

.theme-rice-krispies.stand-alone .hero-alternate .hero-logo > div {
  padding: 0;
}

.theme-rice-krispies.stand-alone .hero-alternate .hero-logo * {
  height: 100%;
}

.theme-rice-krispies.stand-alone .hero-alternate .hero-logo img {
  max-width: none;
}

.theme-rice-krispies.stand-alone .hero-alternate .hero-details {
  flex-direction: column-reverse;
  position: relative;
  z-index: 1;
  flex: 0 0 100%;
  justify-content: center;
}

.theme-rice-krispies.stand-alone .hero-alternate .hero-details img {
  display: block;
  max-height: none;
}

.theme-rice-krispies.stand-alone .hero-alternate .hero-buttons {
  display: none;
}

.theme-rice-krispies.stand-alone .hero-alternate .hero-details > div:has(picture) + div {
  font-size: 4vw;
}

.theme-rice-krispies.stand-alone .hero-alternate .hero-details > div:has(picture) + div h1 {
  font-size: 3em;
}

@media(width >= 768px) {
  .theme-rice-krispies.stand-alone .hero-alternate {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: 45vw;
    min-height: 24em;
    gap: 1rem;
  }

  .theme-rice-krispies.stand-alone .hero-alternate .hero-logo {
    flex: 0 0 50%;
  }

  .theme-rice-krispies.stand-alone .hero-alternate .hero-logo img {
    max-width: none;
  }

  .theme-rice-krispies.stand-alone .hero-alternate .hero-details {
    flex-direction: row-reverse;
    justify-content: space-between;
  }

  .theme-rice-krispies.stand-alone .hero-alternate .hero-details > div {
    max-width: none;
    flex: 0 0 50%;
  }

  .theme-rice-krispies.stand-alone .hero-alternate .hero-details > div:has(picture) img {
    max-height: none;
  }

  .theme-rice-krispies.stand-alone .hero-alternate .hero-details > div:not(:has(picture)) > div {
    font-size: 1.5vw;
    max-width: 24em;
    margin: 0 auto;
  }

  .theme-rice-krispies.stand-alone .hero-alternate .hero-details > div:has(picture) + div h1 {
    font-size: 5em;
  }
}

/* stand alone specific - Rice Krispies */
.theme-rice-krispies.stand-alone .hero.hero-interior {
  min-height: 20rem;
}

.theme-rice-krispies.stand-alone .hero.hero-interior img {
  min-height: 101%;
  max-height: 101%;
  min-width: 100%;
}

.theme-rice-krispies.stand-alone .hero.hero-interior h1 {
  font-size: 2.5rem;
  color: var(--white);
  text-shadow: .1em .1em .15em rgba(0 0 0 / 25%);
}

.theme-rice-krispies.stand-alone.ca-site .hero.hero-interior h1 {
  width: calc(100% - 2rem);
  font-size: 1.75rem;
  text-align: center;
}

@media(width >= 768px) {
  .theme-rice-krispies.stand-alone .hero.hero-interior {
    height: 30vw;
    min-height: 20em;
  }

  .theme-rice-krispies.stand-alone .hero.hero-interior img {
    max-height: 101%;
    height: auto;
    object-fit: cover;
    object-position: top;
  }

  .theme-rice-krispies.stand-alone .hero.hero-interior h1 {
    font-size: 5rem;
  }

  .theme-rice-krispies.stand-alone.ca-site .hero.hero-interior h1 {
    font-size: 2.25rem;
  }
}

@media(width >= 1024px) {
  .theme-rice-krispies.stand-alone.ca-site .hero.hero-interior h1 {
    font-size: 3.75rem;
  }
}

/* stand alone specific - Frosted Flakes */
.theme-frosted-flakes.stand-alone .hero.hero-homepage {
  height: auto;
  min-height: 24em;
  padding: 0;
  overflow: hidden;
}

.theme-frosted-flakes.stand-alone .hero.hero-homepage .hero-background {
  display: none;
}

.theme-frosted-flakes.stand-alone .hero.hero-homepage .hero-background picture {
  z-index: 0;
}

.theme-frosted-flakes.stand-alone .hero.hero-homepage .hero-foreground {
  position: relative;
  top: 0;
  left: 0;
  bottom: 0;
  transform: none;
  padding-top: 1rem;
  height: 50rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.theme-frosted-flakes.stand-alone .hero.hero-homepage .hero-foreground > div:has(picture):first-child {
  display: block;
  max-width: 400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.theme-frosted-flakes.stand-alone .hero.hero-homepage .hero-foreground > div:has(picture):first-child picture {
  z-index: 1;
}

.theme-frosted-flakes.stand-alone .hero.hero-homepage .hero-foreground > div:has(picture):first-child img {
  width: 80%;
}

.theme-frosted-flakes.stand-alone .hero.hero-homepage .hero-foreground > div:has(picture):not(:first-child) {
  position: absolute;
  bottom: -3rem;
  min-height: 24em;
  min-width: 100%;
  max-width: none;
  order: 4;
  left: 50%;
  transform: translateX(-50%);
}

.theme-frosted-flakes.stand-alone .hero.hero-homepage .hero-foreground > div:has(picture):not(:first-child) img {
  width: 500px;
  height: auto;
  object-fit: cover;
  max-width: none;
}

.theme-frosted-flakes.stand-alone .hero.hero-homepage .hero-foreground > div:not(:has(picture)) {
  padding: 0 1rem;
  max-width: 24em;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.theme-frosted-flakes.stand-alone .hero.hero-homepage .hero-foreground h1 sup {
  font-size: 33%;
  margin-left: 0.1em;
  vertical-align: top;
}

.theme-frosted-flakes.stand-alone .hero.hero-homepage .hero-foreground .button-container a {
  margin-top: 0;
}

@media (width >= 500px) {
  .theme-frosted-flakes.stand-alone .hero.hero-homepage .hero-foreground > div:has(picture):not(:first-child) {
    bottom: -15rem;
  }
  
  .theme-frosted-flakes.stand-alone .hero.hero-homepage .hero-foreground > div:has(picture):not(:first-child) img {
    width: 768px;
  }
}

@media(width >= 768px) {
  .theme-frosted-flakes.stand-alone .hero-wrapper:has(.hero.hero-homepage) {
    background-color: #F3F4F5;
  }

  .theme-frosted-flakes.stand-alone .hero.hero-homepage {
    font-size: 1.4vw;
    height: 54vw;
    max-height: 38em;
    padding-bottom: 0;
  }

  .theme-frosted-flakes.stand-alone .hero.hero-homepage .hero-background {
    display: block;
  }

  .theme-frosted-flakes.stand-alone .hero.hero-homepage .hero-background img {
    width: auto;
    max-height: none;
    min-width: 0;
    max-width: none;
    position: absolute;
    right: 46%;
    top: 58%;
    transform: translate(50%, -50%);
    object-fit: cover;
    min-height: 116%;
  }

  .theme-frosted-flakes.stand-alone .hero.hero-homepage .hero-foreground {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding-top: 0;
  }

  .theme-frosted-flakes.stand-alone .hero.hero-homepage .hero-foreground > div:has(picture):first-child {
    margin: 0 auto;
    padding: 0 50% 0 0;
    box-sizing: content-box;
  }

  .theme-frosted-flakes.stand-alone .hero.hero-homepage .hero-foreground > div:has(picture):not(:first-child) {
    display: none;
  }

  .theme-frosted-flakes.stand-alone .hero.hero-homepage .hero-foreground > div:not(:has(picture)) {
    margin: 0;
    max-width: none;
    padding: 0 50% 0 0;
  }

  .theme-frosted-flakes.stand-alone .hero.hero-homepage .hero-foreground h1 {
    font-size: 3em;
    margin: 0 1rem 1rem;
  }
}

@media(width >= 1024px) {
  .theme-frosted-flakes.stand-alone .hero.hero-homepage .hero-foreground h1 {
    font-size: 3em;
    margin: 0 3rem 2rem;
  }
}

@media(width >= 1200px) {
  .theme-frosted-flakes.stand-alone .hero.hero-homepage {
    font-size: 1em;
  }
}

.theme-frosted-flakes.stand-alone .hero.hero-interior {
  height: 50vw;
  min-height: 20em;
  padding: 2rem 0;
}

.theme-frosted-flakes.stand-alone .hero.hero-interior h1 {
  font-size: 3em;
  font-weight: 800;
  color: var(--white);
  width: 95%;
  max-width: 95%;
  text-align: center;
  text-shadow: 0 0 2.5em rgba(0 0 0 / 50%), .05em .05em .1em rgba(0 0 0 / 50%);
}

.theme-frosted-flakes.stand-alone .hero.hero-interior h1 sup {
  position: relative;
  font-size: 33%;
  top: -.52em;
  left: .1em;
}

@media(width >= 768px) {
  .theme-frosted-flakes.stand-alone .hero.hero-interior {
    height: 25vw;
  }

  .theme-frosted-flakes.stand-alone .hero.hero-interior h1 {
    font-size: 4.5em;
  }
}

.theme-frosted-flakes.stand-alone .hero.hero-alternate {
  display: block;
  height: auto;
  min-height: unset;
  background: none;
  padding: 0;
}

.theme-frosted-flakes.stand-alone .hero.hero-alternate .hero-details {
  position: relative;
  display: block;
  min-height: 22.5rem;
  max-height: 53.75rem;
}

.theme-frosted-flakes.stand-alone .hero.hero-alternate .hero-details > div {
  max-width: none;
}

.theme-frosted-flakes.stand-alone .hero.hero-alternate .hero-logo {
  display: none;
}

.theme-frosted-flakes.stand-alone .hero.hero-alternate .hero-details > div:has(picture) {
  position: relative;
  z-index: -1;
  max-width: 768px;
  min-height: 22.5rem;
}

.theme-frosted-flakes.stand-alone .hero.hero-alternate .hero-details > div:has(picture) p {
  margin-bottom: 0;
}

.theme-frosted-flakes.stand-alone .hero.hero-alternate .hero-details > div:has(picture) img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: cover;
}

.theme-frosted-flakes.stand-alone .hero.hero-alternate .hero-details > div:not(:has(picture)) {
  position: absolute;
  top: 75%;
  left: 50%;
  transform: translate(-50%, -75%);
}

.theme-frosted-flakes.stand-alone .hero.hero-alternate .hero-details > div:not(:has(picture)) h1 {
  font-size: 17vw;
  font-weight: 800;
  text-shadow: 0.0250em 0 0 #004174, 0.0238em 0.0077em 0 #004174, 0.0202em 0.0147em 0 #004174, 0.0147em 0.0202em 0 #004174, 0.0077em 0.0238em 0 #004174, 0 0.0250em 0 #004174, -0.0077em 0.0238em 0 #004174, -0.0147em 0.0202em 0 #004174, -0.0202em 0.0147em 0 #004174, -0.0238em 0.0077em 0 #004174, -0.0250em 0 0 #004174, -0.0238em -0.0077em 0 #004174, -0.0202em -0.0147em 0 #004174, -0.0147em -0.0202em 0 #004174, -0.0077em -0.0238em 0 #004174, 0 -0.0250em 0 #004174, 0.0077em -0.0238em 0 #004174, 0.0147em -0.0202em 0 #004174, 0.0202em -0.0147em 0 #004174, 0.0238em -0.0077em 0 #004174, -0.1em 0.1em 0 #004174;
  transform: skewY(-5deg) skewX(-5deg);
}

.theme-frosted-flakes.stand-alone .hero.hero-alternate .hero-details > div.hero-buttons {
  display: none;
}

@media (width >= 768px) {
  .theme-frosted-flakes.stand-alone .hero.hero-alternate .hero-details {
    position: absolute;
    bottom: 0;
    display: block;
    min-height: 30.199rem;
    max-height: none;
    height: 100%;
    width:  100%;
    z-index: 2;
  }

  .theme-frosted-flakes.stand-alone .hero.hero-alternate .hero-logo,
  .theme-frosted-flakes.stand-alone .hero.hero-alternate .hero-logo img {
    display: block;
    position: relative;
    z-index: -1;
    max-width: none;
  }

  .theme-frosted-flakes.stand-alone .hero.hero-alternate .hero-logo > div {
    padding: 0;
  }

  .theme-frosted-flakes.stand-alone .hero.hero-alternate .hero-logo p {
    margin-bottom: 0;
  }

  .theme-frosted-flakes.stand-alone .hero.hero-alternate .hero-logo img {
    width: 100%;
    height: auto;
    max-height: 73.938rem;
    object-fit: cover;
  }

  .theme-frosted-flakes.stand-alone .hero.hero-alternate .hero-details > div:has(picture) {
    display: none;
  }

  .theme-frosted-flakes.stand-alone .hero.hero-alternate .hero-details > div:not(:has(picture)) {
    top: 66%;
    left: 72%;
    transform: translate(-54%, -70%);
  }
  
  .theme-frosted-flakes.stand-alone .hero.hero-alternate .hero-details > div:not(:has(picture)) h1 {
    font-size: calc(2em + 6vw);
  }
}

/* Away from Home */
.theme-away-from-home main .hero-container > div {
  max-width: none;
}

.theme-away-from-home main .hero-container .hero-wrapper.custom-hero {
  max-width: 90rem;
}

.theme-away-from-home .hero-homepage {
  min-height: 50vw;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
}

.theme-away-from-home .hero-homepage .hero-foreground {
  padding: 1rem;
  background: rgba(255 255 255 / 85%);
  border-radius: 0.5rem;
  width: 66%;
  max-width: 48rem;
  min-width: 18rem;
  margin: 0 auto;
  position: relative;
  left: auto;
  top: auto;
  transform: none;
}

.theme-away-from-home .hero-homepage .hero-foreground h1 {
  font-size: 2rem;
  margin: 0;
  color: var(--black);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02rem;
}

.theme-away-from-home .hero-homepage .hero-foreground p {
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.025rem;
  font-weight: 500;
  font-size: 1rem;
}

.theme-away-from-home .hero-homepage .hero-foreground-item-3 + .hero-foreground-item-4 {
  margin-top: 1rem;
}

.theme-away-from-home .hero-homepage .hero-foreground-item-4 h1 + p {
  margin-top: 1rem;
}

@media (width >= 768px) {
  .theme-away-from-home .hero-homepage {
      height: 33vw;
      max-height: 32em;
      min-height: 0;
  }

  .theme-away-from-home .hero-homepage .hero-foreground h1 {
    font-size: 2.5rem;;
  }
  
  .theme-away-from-home .hero-homepage .hero-foreground {
    max-width: 52rem;
  }
}

/* desktop and mobile image display change for cannada recipe landing page */

.hero-responsive-images {
  padding: 0;
  min-height: auto;
}

.hero-responsive-images picture {
  position: relative;
  z-index: 1;
}

@media (width >= 1024px) {
.hero-responsive-images picture img {
  min-height: 400px;
}
}

.responsive-image-0 p,.responsive-image-1 p {
  margin: 0;
}

.hero-responsive-images .responsive-image-0 {
	display: none;
}

@media (width >= 1024px) {
	.hero-responsive-images .responsive-image-0 {
		display: block;
	}
}

.hero-responsive-images .responsive-image-1 {
	display: block;
}

@media (width >= 1024px) {
	.hero-responsive-images .responsive-image-1 {
		display: none;
	}
}

.theme-special-k .hero-alternate .hero-buttons a.button, 
.theme-raisin-bran .hero-alternate .hero-buttons a.button,
.theme-frosted-flakes .hero-alternate .hero-buttons a.button {
  margin-top: 0;
}