.cards>ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.cards>ul>li {
  background-color: var(--background-color);
}

.cards .cards-card-body {
  margin-bottom: 1rem;
}

.cards .cards-card-body h3 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1;
}

.cards .cards-card-body p {
  margin-bottom: 0;
}

.cards .cards-card-image p {
  margin: 0;
}

.cards .cards-card-image {
  line-height: 0;
  margin-bottom: 1.75rem;
}

.cards .cards-card-body>*:first-child {
  margin-top: 0;
}

.cards>ul>li img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Center All Cards */
.cards.cards-center-all ul {
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

/* 2-Up, 3-Up, 4-Up */
.cards.cards-2-up>ul,
.cards.cards-3-up>ul,
.cards.cards-4-up>ul {
  display: flex;
  flex-direction: column;
}

/* 2-Up */
.cards.cards-2-up>ul li {
  flex-basis: 50%;
}

/* 3-Up */
.cards.cards-3-up>ul li {
  flex-basis: 33.3333%;
}

/* 4-Up */
.cards.cards-4-up>ul li {
  flex-basis: 25%;
}

.cards.cards-4-up>ul li img {
  aspect-ratio: 4 / 3.5;
}

/* Card Download Pop-up */
.cards .confirm-modal {
  position: fixed;
  inset: 0;
  background: rgb(0 0 0 / 50%);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  z-index: 9999;
}

.cards .confirm-box {
  background: #fff;
  border-radius: 8px;
  text-align: center;
  overflow: hidden;
  width: 90%;
  max-width: 360px;
  margin-top: 10vh;
}

.cards .confirm-header {
  padding: 16px;
}

.cards .confirm-header p {
  color: #000;
  margin: 0;
  font-weight: bold;
}

.cards .confirm-actions {
  padding: 24px;
  display: flex;
  gap: 12px;
  justify-content: center;
}

.cards .confirm-btn-yes {
  background: #c91245;
  text-decoration: none;
  color: #fff;
  border: none;
  padding: 8px 24px;
  border-radius: 4px;
  cursor: pointer;
}

.cards .confirm-btn-no {
  background: #eee;
  text-decoration: none;
  color: #333;
  border: none;
  padding: 8px 24px;
  border-radius: 4px;
  cursor: pointer;
}

/* Card CTA */
.cards>ul>li.card-cta a,
.cards>ul>li.card-cta a:hover {
  text-decoration: none;
}

.cards>ul>li.card-cta a:hover .cards-card-body h3,
.cards>ul>li.card-cta a:focus .cards-card-body h3 {
  color: var(--primary-color);
}

/* Logo Grid Cards */
.cards.logo-grid>ul {
  display: grid;
  grid-gap: .625rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(1, minmax(0, 1fr));
}

.cards.logo-grid>ul>li {
  padding: .625rem;
  position: relative;
  text-align: center;
}

.cards.logo-grid>ul>li img {
  width: 85%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 0;
}

.cards.logo-grid a,
.cards.logo-grid picture {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: center;
}

.cards.logo-grid .cards-card-image {
  margin: 0;
  line-height: normal;
}

/* Cards Horizontal Spacing */
.cards.cards-no-spacing ul {
  gap: 0;
}

.cards.cards-small-spacing ul {
  gap: 1rem;
}

.cards.cards-medium-spacing ul {
  gap: 2rem;
}

.cards.cards-large-spacing ul {
  gap: 3rem;
}

/* Promo Card */
.cards .card.card-promo {
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
  padding: 0;
}

.cards .card.card-promo .cards-card-image {
  margin-bottom: 0;
}

.cards .card.card-promo .cards-card-image img {
  border-radius: 0;
  /* Styles for Froot Loops card spotlight */
  display: block;
  width: 100%;
  height: auto; /* preserves intrinsic aspect ratio */
  aspect-ratio: auto; /* don't force a ratio */
  object-fit: contain;
}

.cards .card.card-promo .cards-card-content {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  padding: 1rem;
  margin-bottom: 0;
}

.cards .cards-card-content .secondary-image {
  border-radius: 0;
  width: 50%;
  padding-bottom: 1rem;
}

.cards .cards-card-content .secondary-image img {
  aspect-ratio: unset;
  object-fit: contain;
}

/* Feature Card */
.cards .card.card-feature .cards-card-content {
  position: relative;
}

.cards .card.card-feature .cards-card-content .cards-card-image.secondary-image {
  position: absolute;
  width: 66%;
  left: 50%;
  right: 50%;
  padding-bottom: 0;
  transform: translate(-50%, -100%) translateY(-1em);
}

.cards .card.card-feature .cards-card-content .cards-card-body {
  text-align: center;
}

.cards .card.card-feature .cards-card-content .cards-card-body h3 {
  font-size: 2em;
  font-weight: 700;
}

/* Profile Card */
.cards .card.card-profile {
  max-width: 400px;
}

.cards .card.card-profile .cards-card-image {
  /* max-width: 400px; */
  margin-bottom: .5rem;
}

.cards .card.card-profile .cards-card-image img {
  height: 100%;
  aspect-ratio: auto;
}

.cards .card.card-profile .cards-card-body h1,
.cards .card.card-profile .cards-card-body h2,
.cards .card.card-profile .cards-card-body h3,
.cards .card.card-profile .cards-card-body h4,
.cards .card.card-profile .cards-card-body h5,
.cards .card.card-profile .cards-card-body h6 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--black);
}

.cards .card.card-profile .cards-card-body h1,
.cards .card.card-profile .cards-card-body h2,
.cards .card.card-profile .cards-card-body h3,
.cards .card.card-profile .cards-card-body h4,
.cards .card.card-profile .cards-card-body h5,
.cards .card.card-profile .cards-card-body h6,
.cards .card.card-profile .cards-card-body p {
  text-align: center;
}

@media(width >=768px) {
  .cards ul:has(.card.card-profile) {
    gap: 4rem;
  }

  .cards .card.card-profile .cards-card-image img {
    border-radius: 0;
  }

  .cards .card.card-profile .cards-card-body {
    height: 125px;
  }
}

@media(width >=1024px) {
  .cards ul:has(.card.card-profile) {
    gap: 6rem;
  }

  .cards .card.card-profile .cards-card-body h1,
  .cards .card.card-profile .cards-card-body h2,
  .cards .card.card-profile .cards-card-body h3,
  .cards .card.card-profile .cards-card-body h4,
  .cards .card.card-profile .cards-card-body h5,
  .cards .card.card-profile .cards-card-body h6 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
}

/* White Text */
.cards .card.card-white-text .cards-card-body h1,
.cards .card.card-white-text .cards-card-body h2,
.cards .card.card-white-text .cards-card-body h3,
.cards .card.card-white-text .cards-card-body h4,
.cards .card.card-white-text .cards-card-body h5,
.cards .card.card-white-text .cards-card-body h6,
.cards .card.card-white-text .cards-card-body p:not(.button-container) {
  color: white;
  text-shadow: 2px 2px 4px #000;
}

/* Small Text */
.cards .card.card-small-text .secondary-image {
  padding-bottom: 0;
  margin-top: -1rem;
}

.cards .card.card-small-text .cards-card-body {
  margin-bottom: .5rem;
}

.cards .card.card-small-text .cards-card-body h1,
.cards .card.card-small-text .cards-card-body h2,
.cards .card.card-small-text .cards-card-body h3,
.cards .card.card-small-text .cards-card-body h4,
.cards .card.card-small-text .cards-card-body h5,
.cards .card.card-small-text .cards-card-body h6 {
  font-size: 1.5rem;
  margin-bottom: 0;
}

.cards .card.card-small-text .cards-card-body p {
  font-size: 1rem;
  margin-top: .5rem;
}

.cards .card.card-small-text .cards-card-body p.button-container {
  margin-top: 0 !important;
}

/* Wide Image */
.cards .card.card-wide-image .secondary-image img {
  aspect-ratio: auto !important;
}

/* Card - Vertical Content Placement */
.cards .card.card-promo.cards-top .cards-card-content {
  justify-content: flex-start;
}

.cards .card.card-promo.cards-middle .cards-card-content {
  justify-content: center;
}

.cards .card.card-promo.cards-bottom .cards-card-content {
  justify-content: flex-end;
}

.cards .card.card-promo.cards-split .cards-card-content {
  justify-content: space-between;
}

/* Card - Horizontal Content Placement */
.cards .card.card-promo.cards-left .cards-card-content {
  align-items: flex-start;
}

.cards .card.card-promo.cards-center .cards-card-content {
  align-items: center;
  text-align: center;
}

.cards .card.card-promo.cards-right .cards-card-content {
  align-items: flex-end;
}

@media (width >=768px) {
  .cards.cards-2-up>ul,
  .cards.cards-3-up>ul,
  .cards.cards-4-up>ul {
    flex-direction: row;
  }

  .cards>ul>li img {
    border-radius: .5rem;
  }
}

@media (width >=1024px) {
  .cards>ul {
    flex-direction: row;
  }

  .cards .cards-card-body h3 {
    font-size: 1.75rem;
  }

  .cards.logo-grid>ul {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: repeat(1, minmax(0, 1fr));
  }

  /* Small Text */
  .cards .card.card-small-text .secondary-image {
    padding-bottom: 1rem;
    margin-top: 0;
  }

  .cards .card.card-small-text .cards-card-body {
    margin-bottom: 1rem;
  }

  .cards .card.card-small-text .cards-card-body h1,
  .cards .card.card-small-text .cards-card-body h2,
  .cards .card.card-small-text .cards-card-body h3,
  .cards .card.card-small-text .cards-card-body h4,
  .cards .card.card-small-text .cards-card-body h5,
  .cards .card.card-small-text .cards-card-body h6 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .cards .card.card-small-text .cards-card-body p {
    font-size: 1.25rem;
    margin-top: 1rem;
  }
}

/* brand specific - Apple Jacks */
.theme-apple-jacks .cards .card.card-promo:first-child h3 {
  margin-bottom: 0;
  color: var(--black);
  font-size: 2rem;
}

.theme-apple-jacks .cards .card.card-promo:first-child .secondary-image {
  width: 92%;
}

@media (width >=1024px) {
  .theme-apple-jacks .cards .card.card-promo:first-child h3 {
    font-size: 3.5rem;
  }
}

/* brand specific - Rice Krispies */
.theme-rice-krispies .cards .cards-card-body h3 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 1rem;
}

.theme-rice-krispies .cards .cards-card-body p {
  font-size: 1.25rem;
}

.theme-rice-krispies .cards .card.card-promo .cards-card-content {
  padding: 2rem;
}

@media (width >=1024px) {
  .theme-rice-krispies .cards .cards-card-body h3 {
    font-size: 2.5rem;
  }

  .theme-rice-krispies .cards .cards-card-body p {
    font-size: 1.25rem;
  }
}

/* brand specific - Raisin Bran */
.theme-raisin-bran .cards .cards-card-body h3 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 1rem;
}

.theme-raisin-bran .cards .card.card-white-text .cards-card-body h3 {
  color: var(--secondary-color);
  text-shadow: none;
  text-transform: uppercase;
}

.theme-raisin-bran .cards .cards-card-body p {
  font-size: 1.25rem;
}

/* brand specific - Honey Smacks */
.theme-honey-smacks .cards .card.card-promo:first-child h3 {
  margin: 1.5rem 0;
  font-size: 1.25em;
  color: var(--black);
  line-height: 0.9;
}

.theme-honey-smacks .cards .card.card-promo:first-child .secondary-image {
  width: 92%;
}

.theme-honey-smacks .cards .card.card-promo:last-child .cards-card-content {
  text-align: center;
}

.theme-honey-smacks .cards .card.card-promo:last-child .cards-card-content .secondary-image,
.theme-honey-smacks .cards .card.card-promo:last-child .cards-card-content .cards-card-body {
  margin-left: 20%;
}

.theme-honey-smacks .cards .card.card-promo:last-child .secondary-image img {
  width: 80%;
  aspect-ratio: 2 / 3;
}

@media (width >=768px) {
  .theme-honey-smacks .cards .card.card-promo:first-child h3 {
    font-size: 2em;
  }

  .theme-honey-smacks .cards .card.card-promo:last-child .cards-card-content .secondary-image,
  .theme-honey-smacks .cards .card.card-promo:last-child .cards-card-content .cards-card-body {
    margin-left: 30%;
  }
}

/* brand specific - Frosted Flakes */
.theme-frosted-flakes .cards .card.card-white-text .cards-card-content .cards-card-body h3 {
  font-size: 2em;
  margin: 1rem 0;
}

.theme-frosted-flakes .cards .card.card-white-text .cards-card-content .cards-card-body:first-child {
  margin-bottom: 0;
}

.theme-frosted-flakes .cards .card.card-white-text .cards-card-content .cards-card-body p:not(.button-container) {
  margin: 0 0 1rem;
}

/* brand specific - Frosted Mini-Wheats */
.theme-frosted-mini-wheats .cards ul li.card-cta img {
  object-position: top;
  border-radius: 0;
}

.theme-frosted-mini-wheats .cards .card.card-promo .cards-card-content .cards-card-body h2 {
  color: var(--secondary-color);
  font-size: 1rem;
  font-weight: 900;
  max-width: 10em;
}

.theme-frosted-mini-wheats .cards .card.card-promo .cards-card-content .cards-card-body h2:first-child {
  margin-bottom: 0;
}

.theme-frosted-mini-wheats .cards .card.card-promo .cards-card-content .cards-card-body h2:last-child {
  margin-top: 0;
  margin-bottom: 0;
}

.theme-frosted-mini-wheats .cards .card.card-promo:last-child {
  box-shadow: 11px 9px 12px -7px rgba(51 51 51 / 39%);
}

@media (width >=470px) {
  .theme-frosted-mini-wheats .cards .card.card-promo .cards-card-content .cards-card-body h2 {
    font-size: 2rem;
  }

  .theme-frosted-mini-wheats .cards .card.card-promo .cards-card-content .cards-card-body h2:last-child {
    margin-top: 0;
    margin-bottom: 1.25rem;
  }
}

/* brand specific - Corn Flakes */
.theme-corn-flakes .cards .card.card-promo .cards-card-content {
  overflow: hidden;
  position: relative;
}

.theme-corn-flakes .cards .cards-card-body {
  width: 100%;
  position: relative;
  margin: 0;
  padding-bottom: 1rem;
}

.theme-corn-flakes .cards .cards-card-body p,
.theme-corn-flakes .cards .cards-card-body h3 {
  position: relative;
  z-index: 1;
}

.theme-corn-flakes .cards .cards-card-body h3 {
  margin: 0 auto;
  max-width: 80%;
}

.theme-corn-flakes .cards .cards-card-body::after {
  content: "";
  display: block;
  inset: -1.5rem -1rem 0;
  position: absolute;
  background: var(--secondary-color);
  width: auto;
  height: calc(100% + 2.5rem);
}

.ca-site.theme-corn-flakes .cards .cards-card-body::after {
  display: none;
}

@media (width >=1024px) {
  .theme-corn-flakes .cards .card.card-promo .cards-card-content {
    position: absolute;
  }
}

/* brand specific - Cracklin Oat Bran */
.theme-cracklin-oat-bran .cards .card.card-promo .cards-card-content .cards-card-body p {
  color: var(--white);
  font-size: 1.25em;
}

.theme-cracklin-oat-bran .cards .card.card-promo .cards-card-content .secondary-image {
  display: none;
}

@media (width >=768px) {
  .theme-cracklin-oat-bran .cards .card.card-promo .cards-card-content .secondary-image {
    display: block;
  }
}

/* brand specific - Corn Pops */
.theme-corn-pops .cards .card.card-promo:first-child h3 {
  margin: 1.5rem 0;
  font-size: 1.25rem;
  color: var(--black);
  line-height: 0.9;
}

.theme-corn-pops .cards .card.card-promo:first-child .secondary-image {
  width: 92%;
}

.theme-corn-pops .cards .card.card-promo:last-child .secondary-image img {
  width: 80%;
  aspect-ratio: 2 / 3;
}

.theme-corn-pops .cards .card.card-promo:last-child .cards-card-body {
  min-width: 40%;
  display: flex;
  justify-content: center;
}

@media (width >=768px) {
  .theme-corn-pops .cards .card.card-promo:first-child h3 {
    font-size: 2em;
  }
}

/* brand specific - Corn Flakes */
.theme-crispix .cards ul li img {
  border-radius: 0;
}

.theme-crispix .cards .card .cards-card-content {
  font-size: 1.2em;
  font-weight: 400;
  color: var(--primary-color);
  text-align: center;
  margin: .1em 0;
}

/* brand specific - Kashi */
.theme-kashi .cards .cards-card-body h3 {
  color: var(--white);
  font-size: 2.75rem;
  margin: 0;
  text-shadow: 0 0 .124em rgba(0 0 0 / 40%);
}

@media (width >=1024px) {
  .theme-kashi .cards .cards-card-body h3 {
    font-size: 3.75rem;
  }
}

/* brand specific - Smart Start */
.theme-smart-start .cards .card.card-promo .cards-card-content .secondary-image {
  display: none;
}

.theme-smart-start .cards .card.card-promo .cards-card-content .cards-card-body+.cards-card-body {
  margin-bottom: 0;
}

.theme-smart-start .cards .card.card-promo .cards-card-content .cards-card-body p {
  font-family: var(--smart-start-heading-font);
  font-size: 1rem;
  color: var(--white);
}

@media (width >=768px) {
  .theme-smart-start .cards .card.card-promo .cards-card-content .cards-card-body p:not(.button-container) {
    font-size: 1.25rem;
  }

  .theme-smart-start .cards .card.card-promo .cards-card-content .secondary-image {
    display: block;
    width: 20%;
  }
}

@media (width >=1024px) {
  .theme-smart-start .cards .card.card-promo .cards-card-content .secondary-image {
    width: 30%;
  }
}

/* brand specific - Mueslix */
.theme-mueslix .cards .card.card-promo .cards-card-content .secondary-image {
  display: none;
}

@media (width >=768px) {
  .theme-mueslix .cards .card.card-promo .cards-card-content .secondary-image {
    display: block;
    width: 30%;
  }
}

.theme-mueslix .cards .card.card-promo .cards-card-content .cards-card-body p {
  font-family: var(--mueslix-font);
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--white);
}

.theme-mueslix .cards .card.card-promo .cards-card-content .cards-card-body p.button-container a {
  font-size: 1.25rem;
}

/* brand specific - Krave */
.theme-krave .cards .card.card-promo:first-child h3 {
  margin: .5rem 0;
  font-size: 1.5em;
  font-weight: 900;
}

.theme-krave .cards .card.card-promo:first-child .secondary-image {
  width: 92%;
}

@media (width >=768px) {
  .theme-krave .cards .card.card-promo:last-child .secondary-image {
    width: 75%;
  }

  .theme-krave .cards .card.card-promo:first-child h3 {
    font-size: 2em;
  }
}

@media (width >=1024px) {
  .theme-krave .cards .card.card-promo:first-child h3 {
    font-size: 2.5em;
  }
}

/* brand specific - Bear Naked */
.theme-bear-naked .card.card-promo .cards-card-image img {
  aspect-ratio: 1;
}

/* brand specific - Extra */
.theme-all-bran .cards .card.card-promo:first-child h3 {
  font-size: 2em;
}

/* stand alone specific - Kashi */
.theme-kashi.stand-alone .cards.cards-small-spacing ul {
  padding: 1rem 0;
}

.theme-kashi.stand-alone .cards.expanding-promo-cards .card.card-promo .cards-card-image img {
  height: 100vw
}

.theme-kashi.stand-alone .cards.expanding-promo-cards .card.card-promo .cards-card-content::after {
  content: '';
  display: block;
  position: absolute;
  inset: 0;
  background: rgba(0 0 0 /15%);
  z-index: 1;
}

.theme-kashi.stand-alone .cards.expanding-promo-cards .card.card-promo .cards-card-content .cards-card-body {
  position: relative;
  z-index: 2;
}

.theme-kashi.stand-alone .cards.expanding-promo-cards .card.card-promo .cards-card-content p {
  line-height: 1.25;
  font-size: 1rem;
}

.theme-kashi.stand-alone .cards.expanding-promo-cards .card.card-promo h2 {
  font-size: 1.5rem
}

@media (width >=768px) {
  .theme-kashi.stand-alone .cards.expanding-promo-cards .card.card-promo .cards-card-content p {
    font-size: 1rem;
  }
}

@media (width >=1024px) {
  .theme-kashi.stand-alone .cards.expanding-promo-cards .card.card-promo .cards-card-content p {
    font-size: 1.25rem;
  }

  .theme-kashi.stand-alone .cards.expanding-promo-cards .card.card-promo .cards-card-content .cards-card-body {
    margin: 0 auto 1rem;
    max-width: 600px;
  }
}

/* stand alone specific - Special K */
.theme-special-k.stand-alone .cards.cards-4-up .card.card-promo .cards-card-body {
  margin-bottom: 0;
}

.theme-special-k.stand-alone .cards.cards-4-up .card.card-promo .cards-card-body h3 {
  font-size: 3rem;
  font-weight: 700;
  width: 3em;
  color: var(--white);
  margin: 0;
  text-align: center;
}

.theme-special-k.stand-alone .cards.cards-4-up .card.card-promo .cards-card-body h3 sup {
  font-size: 1.5rem;
}

.theme-special-k.stand-alone .cards.cards-4-up .card.card-promo .cards-card-body h3:has(sup) {
  width: auto;
}

@media (width >=768px) {
  .theme-special-k.stand-alone .cards .card.card-feature .cards-card-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 240px;
  }

  .theme-special-k.stand-alone .card.card-feature>.cards-card-image img {
    border-radius: 0;
  }

  .theme-special-k.stand-alone .cards.cards-4-up .card.card-promo .cards-card-body h3 {
    font-size: 4vw;
  }

  .theme-special-k.stand-alone .cards.cards-4-up .card.card-promo .cards-card-body h3 sup {
    font-size: 1rem;
  }

  .theme-kashi.stand-alone .cards.expanding-promo-cards .card.card-promo .cards-card-image img {
    height: auto;
  }
}

@media (width >=1024px) {
  .theme-kashi.stand-alone .cards.expanding-promo-cards .card.card-promo h2 {
    font-size: 2.25rem
  }
}

@media (width >=1200px) {
  .theme-special-k.stand-alone .cards.cards-4-up .card.card-promo .cards-card-body h3 {
    font-size: 3em;
  }

  .theme-special-k.stand-alone .cards.cards-4-up .card.card-promo .cards-card-body h3 sup {
    font-size: 1.5rem;
  }

  .theme-kashi.stand-alone .cards.expanding-promo-cards .card.card-promo h2 {
    font-size: 2.75rem
  }
}

/* stand alone specific - Rice Krispies */
.theme-rice-krispies.stand-alone .cards {
  max-width: 1200px;
}

.theme-rice-krispies.stand-alone .cards.cards-center-all {
  margin: 0 auto;
}

.theme-rice-krispies.stand-alone .cards .card.card-feature {
  border-radius: 1.5em;
  margin: 1em 0.5em;
  box-shadow: 0 0 1em rgba(0 0 0 / 15%);
}

.theme-rice-krispies.stand-alone .cards .card.card-feature>.cards-card-image {
  margin-bottom: 0;
}

.theme-rice-krispies.stand-alone .cards .card.card-feature>.cards-card-image img {
  border-radius: 1.5em 1.5em 0 0;
}

.theme-rice-krispies.stand-alone .cards .card.card-feature .cards-card-content {
  padding: 1.75rem;
  margin-top: 2rem;
}

.theme-rice-krispies.stand-alone .cards .card.card-feature .cards-card-content .cards-card-image.secondary-image {
  width: 11em;
}

.theme-rice-krispies.stand-alone .cards .card.card-feature .cards-card-content .cards-card-image.secondary-image:has(img[alt*="Treats"]) {
  width: 18em;
}

.theme-rice-krispies.stand-alone .cards .card.card-feature .cards-card-content .cards-card-body:not(.button-container) {
  margin-bottom: 0;
}

.theme-rice-krispies.stand-alone .cards .card.card-feature .cards-card-content .cards-card-body h3 {
  font-weight: 800;
  margin-top: 0;
}

.theme-rice-krispies.stand-alone .cards .card.card-feature .cards-card-content .cards-card-body p:not(.button-container) {
  font-size: 1.125em;
  color: var(--tertiary-color);
}

.theme-rice-krispies.stand-alone .cards .card.card-feature .cards-card-content .cards-card-body p.button-container a.button.primary {
  font-size: 1.125rem;
  padding: .75rem 1.75rem;
  margin-top: 1rem;
}

.theme-rice-krispies.stand-alone .cards.cards-4-up ul:has(.card.card-feature) .cards-card-content {
  margin-top: 0;
}

.theme-rice-krispies.stand-alone.ca-site .secondary-bg-section .cards .card.card-promo {
  background-color: transparent;
}

@media (width >=768px) {
  .theme-rice-krispies.stand-alone .cards.cards-3-up ul:has(.card.card-feature),
  .theme-rice-krispies.stand-alone .cards.cards-4-up ul:has(.card.card-feature) {
    flex-wrap: wrap;
    align-items: stretch;
  }

  .theme-rice-krispies.stand-alone .cards.cards-3-up ul .card.card-feature,
  .theme-rice-krispies.stand-alone .cards.cards-4-up ul .card.card-feature {
    flex-basis: 50%;
    display: flex;
    flex-direction: column;
  }

  .theme-rice-krispies.stand-alone .cards .card.card-feature {
    max-width: 24rem;
    margin: 0;
  }

  .theme-rice-krispies.stand-alone .cards .card.card-feature>.cards-card-image {
    margin-bottom: 0;
  }

  .theme-rice-krispies.stand-alone .cards .card.card-feature .cards-card-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 325px;
  }

  .theme-rice-krispies.stand-alone .cards.cards-4-up ul:has(.card.card-feature) .cards-card-content {
    height: 100%;
  }
}

@media (width >=1200px) {
  .theme-rice-krispies.stand-alone .cards.cards-3-up ul:has(.card.card-feature),
  .theme-rice-krispies.stand-alone .cards.cards-4-up ul:has(.card.card-feature) {
    flex-wrap: unset;
  }

  .theme-rice-krispies.stand-alone .cards.cards-3-up ul .card.card-feature {
    flex-basis: 33.3333%
  }

  .theme-rice-krispies.stand-alone .cards.cards-4-up ul .card.card-feature {
    flex-basis: 25%;
  }
}

.theme-rice-krispies.stand-alone .cards .card.card-promo .cards-card-image img:not(.secondary-image) {
  aspect-ratio: 4 / 3.5;
  border-radius: 1.5em;
}

.theme-rice-krispies.stand-alone .cards .card.card-promo .cards-card-content .secondary-image {
  width: 100%;
  max-width: 80%;
}

.theme-rice-krispies.stand-alone .cards .card.card-promo .cards-card-content .cards-card-body h3,
.theme-rice-krispies.stand-alone .cards .card.card-promo .cards-card-content .cards-card-body p:not(.button-container) {
  color: var(--white);
  text-shadow: .125rem .125rem .25rem rgb(0 0 0);
}

.theme-rice-krispies.stand-alone .cards .card.card-promo .cards-card-content .cards-card-body p.cards-card-body:not(.button-container) {
  font-size: 4vw;
}

.theme-rice-krispies.stand-alone .cards .card.card-promo .cards-card-content .cards-card-body p.button-container a {
  padding: .7em 1.5em;
  font-size: .875rem;
  vertical-align: middle;
  line-height: 1;
}

@media (width >=480px) {
  .theme-rice-krispies.stand-alone .cards .card.card-promo .cards-card-content .cards-card-body p.button-container a {
    font-size: 1rem;
  }
}

@media (width >=768px) {
  .theme-rice-krispies.stand-alone .cards .card.card-promo .cards-card-content .cards-card-body p.button-container a {
    font-size: 1.25rem;
  }

  .theme-rice-krispies.stand-alone .cards .card.card-promo .cards-card-content .secondary-image {
    padding-bottom: 0;
  }

  .theme-rice-krispies.stand-alone .cards.cards-3-up ul:has(.card.card-promo),
  .theme-rice-krispies.stand-alone .cards.cards-4-up ul:has(.card.card-promo) {
    flex-wrap: wrap;
  }

  .theme-rice-krispies.stand-alone .cards.cards-3-up ul .card.card-promo,
  .theme-rice-krispies.stand-alone .cards.cards-4-up ul .card.card-promo {
    flex-basis: 33.3333%;
  }

  .theme-rice-krispies.stand-alone .cards.cards-3-up ul:has(.card.card-promo) .cards-card-body,
  .theme-rice-krispies.stand-alone .cards.cards-4-up ul:has(.card.card-promo) .cards-card-body {
    margin: 0;
  }

  .theme-rice-krispies.stand-alone .cards.cards-3-up ul:has(.card.card-promo) .cards-card-body h3,
  .theme-rice-krispies.stand-alone .cards.cards-4-up ul:has(.card.card-promo) .cards-card-body h3 {
    font-size: 1.25rem;
    margin-bottom: 0;
  }

  .theme-rice-krispies.stand-alone .cards.cards-3-up ul:has(.card.card-promo) .cards-card-body p,
  .theme-rice-krispies.stand-alone .cards.cards-4-up ul:has(.card.card-promo) .cards-card-body p {
    font-size: 1rem;
    margin: 0;
  }

  .theme-rice-krispies.stand-alone .cards.cards-3-up ul:has(.card.card-promo) .cards-card-body p.button-container a,
  .theme-rice-krispies.stand-alone .cards.cards-4-up ul:has(.card.card-promo) .cards-card-body p.button-container a {
    font-size: .75rem;
  }
}

@media (width >=1024px) {
  .theme-rice-krispies.stand-alone .cards.cards-3-up ul:has(.card.card-promo) {
    flex-basis: 33.3333%;
    flex-wrap: unset;
  }

  .theme-rice-krispies.stand-alone .cards.cards-4-up ul:has(.card.card-promo) {
    flex-basis: 25%;
    flex-wrap: unset;
  }

  .theme-rice-krispies.stand-alone .cards .card.card-promo .cards-card-content .secondary-image {
    padding-bottom: 1rem;
  }

  .theme-rice-krispies.stand-alone .cards.cards-3-up ul:has(.card.card-promo) .cards-card-body h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .theme-rice-krispies.stand-alone .cards.cards-3-up ul:has(.card.card-promo) .cards-card-body p {
    font-size: 1rem;
    margin: 1rem 0;
  }

  .theme-rice-krispies.stand-alone .cards.cards-3-up ul:has(.card.card-promo) .cards-card-body p.button-container {
    margin: 0;
  }

  .theme-rice-krispies.stand-alone .cards.cards-3-up ul:has(.card.card-promo) .cards-card-body p.button-container a {
    font-size: 1rem;
  }
}

/* stand alone specific - Frosted Flakes */
.theme-frosted-flakes.stand-alone .cards ul .card.card-promo img {
  aspect-ratio: 4 / 3.5;
}

.theme-frosted-flakes.stand-alone .cards ul .card.card-contact {
  border: .15em solid var(--primary-color);
}

.theme-frosted-flakes.stand-alone .cards ul .card.card-contact .cards-card-content {
  text-align: center;
}

.theme-frosted-flakes.stand-alone .cards ul .card.card-contact .cards-card-content .cards-card-body h2,
.theme-frosted-flakes.stand-alone .cards ul .card.card-contact .cards-card-content .cards-card-body h3,
.theme-frosted-flakes.stand-alone .cards ul .card.card-contact .cards-card-content .cards-card-body h4,
.theme-frosted-flakes.stand-alone .cards ul .card.card-contact .cards-card-content .cards-card-body h5,
.theme-frosted-flakes.stand-alone .cards ul .card.card-contact .cards-card-content .cards-card-body h6 {
  background-color: var(--primary-color);
  color: var(--white);
  padding: .5rem;
  margin-bottom: 1rem;
}

.theme-frosted-flakes.stand-alone .cards ul .card.card-contact .cards-card-content .cards-card-body p {
  padding: 0 1em;
  margin-top: 0;
}

@media (width >=768px) {
  .theme-frosted-flakes.stand-alone .cards.cards-3-up ul:has(.card.card-contact),
  .theme-frosted-flakes.stand-alone .cards.cards-4-up ul:has(.card.card-contact) {
    flex-wrap: wrap;
  }

  .theme-frosted-flakes.stand-alone .cards.cards-3-up ul .card.card-contact,
  .theme-frosted-flakes.stand-alone .cards.cards-4-up ul .card.card-contact {
    flex-basis: 50%;
  }

  .theme-frosted-flakes.stand-alone .cards ul .card.card-contact {
    max-width: 448px;
  }

  .theme-frosted-flakes.stand-alone .cards ul .card.card-contact .cards-card-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
  }
}

@media (width >=1024px) {
  .theme-frosted-flakes.stand-alone .cards.cards-3-up ul:has(.card.card-contact),
  .theme-frosted-flakes.stand-alone .cards.cards-4-up ul:has(.card.card-contact) {
    flex-wrap: unset;
  }

  .theme-frosted-flakes.stand-alone .cards.cards-3-up ul .card.card-contact {
    flex-basis: 33.3333%
  }

  .theme-frosted-flakes.stand-alone .cards.cards-4-up ul .card.card-contact {
    flex-basis: 25%;
  }

  .theme-frosted-flakes.stand-alone .cards ul .card.card-contact .cards-card-content .cards-card-body h2,
  .theme-frosted-flakes.stand-alone .cards ul .card.card-contact .cards-card-content .cards-card-body h3,
  .theme-frosted-flakes.stand-alone .cards ul .card.card-contact .cards-card-content .cards-card-body h4,
  .theme-frosted-flakes.stand-alone .cards ul .card.card-contact .cards-card-content .cards-card-body h5,
  .theme-frosted-flakes.stand-alone .cards ul .card.card-contact .cards-card-content .cards-card-body h6 {
    font-size: 2rem;
  }
}

/* stand alone specific - Away From Home */
.theme-away-from-home.stand-alone .cards-wrapper:has(.logo-grid) {
  max-width: 75em;
}

.theme-away-from-home.stand-alone .cards.logo-grid {
  padding: 2rem 0;
}

.theme-away-from-home.stand-alone .cards.logo-grid>ul {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  gap: 1rem;
  margin: 0 -.5rem;
}

.theme-away-from-home.stand-alone .cards.logo-grid ul li {
  flex-basis: calc(33% - 1rem);
  width: 100%;
  padding: 0;
}

.theme-away-from-home.stand-alone .cards.logo-grid a,
.theme-away-from-home.stand-alone .cards.logo-grid picture {
  flex-direction: column;
}

.theme-away-from-home.stand-alone .cards.logo-grid ul li a {
  max-width: 12rem;
}

.theme-away-from-home.stand-alone .cards.logo-grid>ul>li img {
  width: 100%;
}

.theme-away-from-home.stand-alone .cards.logo-grid a[href*='college'] img {
  background: #C91245;
  border-radius: 100%;
}

.theme-away-from-home.stand-alone .cards.logo-grid a[href*='convenience'] img {
  background: #F36C21;
  border-radius: 100%;
}

.theme-away-from-home.stand-alone .cards.logo-grid a[href*='healthcare'] img {
  background: #FFBF3D;
  border-radius: 100%;
}

.theme-away-from-home.stand-alone .cards.logo-grid a[href*='k12'] img {
  background: #00A661;
  border-radius: 100%;
}

.theme-away-from-home.stand-alone .cards.logo-grid a[href*='lodging'] img {
  background: #004F38;
  border-radius: 100%;
}

.theme-away-from-home.stand-alone .cards.logo-grid a[href*='restaurant'] img {
  background: #4F8CFF;
  border-radius: 100%;
}

.theme-away-from-home.stand-alone .cards.logo-grid a[href*='vending'] img {
  background: #003DA5;
  border-radius: 100%;
}

.theme-away-from-home.stand-alone .cards.logo-grid a .cards-card-body p {
  padding: .66rem 0;
  font-weight: 500;
}

@media (width >=768px) {
  .theme-away-from-home.stand-alone .cards.logo-grid>ul {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    gap: 1rem;
  }

  .theme-away-from-home.stand-alone .cards.logo-grid ul li {
    flex-basis: calc(25% - 1rem);
    width: 100%;
    padding: 0;
  }
}

@media (width >=1024px) {
  .theme-away-from-home.stand-alone .cards.logo-grid>ul {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    gap: 1rem;
  }

  .theme-away-from-home.stand-alone .cards.logo-grid ul li {
    flex-basis: calc(14.28% - 1rem);
    width: 100%;
    padding: 0;
  }
}

/* Special K - Stand alone */
.theme-special-k.stand-alone .cards .card.card-promo .cards-card-image img {
  aspect-ratio: auto;
}

.theme-special-k.stand-alone .cards .card.card-promo .cards-card-body {
  font-size: 3.5vw;
}

.theme-special-k.stand-alone .cards .card.card-promo.cards-left.cards-top .cards-card-body {
  padding-right: 52%;
}

.theme-special-k.stand-alone .cards .card.card-promo.cards-left.cards-top .button {
  font-size: inherit
}

.theme-special-k.stand-alone .cards .card.card-promo h4 {
  font-size: 2em;
}


.theme-special-k.stand-alone .cards .card.card-promo p {
  line-height: 1.25;
  font-size: 1em;
}

@media (width >=45em) {
  .theme-special-k.stand-alone .cards .card.card-promo .cards-card-body {
    font-size: .9em;
  }
}

@media (width >=75em) {
  .theme-special-k.stand-alone .cards .card.card-promo .cards-card-body {
    font-size: 1em;
  }
}

/* button bottom alignment */

.cards-wrapper .cards.button-bottom-alignment ul {
  align-items: unset;
}

.cards-wrapper .cards.button-bottom-alignment ul .card.card-profile {
  display: flex;
  flex-direction: column;
}

.cards-wrapper .cards.button-bottom-alignment ul .card.card-profile .cards-card-content {
  margin-top: auto;
}

.cards.youtube-video li {
  text-align: center;
  color: var(--secondary-hover);
  box-shadow: 0 0 4rem rgba(0 0 0 / 15%);
  border-radius: 1.5rem;
  overflow: hidden;
  background-color: var(--white);
}

.cards.youtube-video img {
  aspect-ratio: auto;
  display: block;
}

.cards.youtube-video .video-card-img-wrapper {
  position: relative;
}

.cards.youtube-video .video-card-play {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

.cards.youtube-video .video-card-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5rem;
  height: 5rem;
  color: var(--white);
  border: none;
  border-radius: 100%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0.1rem 0.1rem 0.2rem rgba(0 0 0 / 33%));
  transition: color 0.2s;
  box-shadow: 0.05rem 0.05rem 0.2rem rgba(0 0 0 / 50%);
  overflow: hidden;
  opacity: 0.8;
}

.cards.youtube-video .video-card-play-button::before {
  display: block;
  content: "";
  background: var(--white);
  box-shadow: 1.65rem 0 0.2rem -1.55rem rgba(0 0 0 / 50%);
  height: 5rem;
  width: 4rem;
  left: -2.2rem;
  position: absolute;
  z-index: 1;
}

.cards.youtube-video .video-card-play-button::after {
  display: block;
  content: "";
  border: none;
  height: 5rem;
  width: 5rem;
  position: absolute;
  top: -1rem;
  left: -3.7rem;
  transform: translate3d(0, 0, 0) scaleY(0.6) rotate(-45deg);
  box-shadow: inset 0 0 0.3rem rgba(0 0 0 / 50%), 2rem 2rem 0 2rem white;
  margin: 1rem 1.3rem;
}

.cards.youtube-video .cards-card-content {
  padding: 1.25rem;
}

.cards.youtube-video .video-modal {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  z-index: 1000;
  display: flex;
  align-items: center;
}

.cards.youtube-video .video-wrapper {
  position: relative;
  inset: auto;
  z-index: 1;
  margin: 0 auto;
  overflow-y: visible;
  background: transparent;
  height: 0;
  width: calc(100% - 1em);
  padding-top: calc((100% - 1em) * 0.5625);
}

@media (width >=768px) {
  .cards.youtube-video .video-modal .video-wrapper {
    width: calc(100% - 12em);
    padding-top: calc((100% - 12em) * 0.5625);
  }
}

@media (width >=1024px) {
  .cards.youtube-video .video-modal .video-wrapper {
    width: calc(100% - 45em);
    padding-top: calc((100% - 45em) * 0.5625);
  }
}

.cards.youtube-video .video-close {
  position: absolute;
  width: 2.5rem;
  height: 2.5rem;
  top: -2rem;
  right: 0;
  cursor: pointer;
}

.cards.youtube-video .video-modal .video-wrapper .video-close::after,
.cards.youtube-video .video-modal .video-wrapper .video-close::before {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--white);
  position: absolute;
  top: 0;
}

.cards.youtube-video .video-modal .video-wrapper .video-close::before {
  transform: rotate(45deg);
}

.cards.youtube-video .video-modal .video-wrapper .video-close::after {
  transform: rotate(-45deg);
}

.cards.youtube-video .video-modal .video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.cards.youtube-video .video-modal .video-overlay {
  background-color: rgba(0 0 0 / 90%);
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  position: absolute;
  cursor: pointer;
}

/* away from home card-variation */

.cards-3-up.color-cards-big .cards-card-image {
  border: 4px solid yellow;
  padding: 1.25rem;
  width: 120px;
  min-height: 120px;
  border-radius: 50%;
  margin: 0 auto;
  position: relative;
  background: #fff;
}

.cards-3-up.color-cards-big {
  font-size: 2rem;
  line-height: 2.5rem;
  text-align: center;
}

.cards-3-up.color-cards-big .cards-card-content {
  padding: 4.5rem 1.25rem 1.25rem;
  border-radius: 1.25rem;
  font-weight: 600;
  margin-top: -3.375rem;
  height: 100%;
}

.cards-3-up.color-cards-big li.card {
  display: flex;
  flex-direction: column;
}

.cards.cards-3-up.color-cards-big .cards-card-image p {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.card.bg-color-dark-blue .cards-card-image {
  border: 4px solid #003ea4;
}

.card.bg-color-dark-blue .cards-card-content,
.color-cards-small .card.bg-color-dark-blue {
  background: #003ea4;
}

.card.bg-color-cheery .cards-card-image {
  border: 4px solid #c81344;
}

.card.bg-color-cheery .cards-card-content,
.color-cards-small .card.bg-color-cheery {
  background: #c81344;
}

.card.bg-color-orange .cards-card-image {
  border: 4px solid #ffbf3e;
}

.card.bg-color-orange .cards-card-content,
.color-cards-small .card.bg-color-orange {
  background: #ffbf3e;
}

.card.bg-color-light-blue .cards-card-image {
  border: 4px solid #4f8cfe;
}

.card.bg-color-light-blue .cards-card-content,
.color-cards-small .card.bg-color-light-blue {
  background: #4f8cfe;
}

.card.text-color-cheery,
.color-cards-small .card.text-color-cheery {
  color: #c81344;
}

.card.text-color-white,
.color-cards-small .card.text-color-white {
  color: #fff;
}

.color-cards-small {
  text-align: center;
}

.color-cards-small .card {
  padding: 1.25rem;
  border-radius: 1.25rem;
  font-size: 1.5rem;
  line-height: 1.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  text-align: center;
}

.sticky-card {
  position: fixed;
  left: 0;
  top: 4.5rem;
  transition: top 0.3s ease;
  z-index: 999;
  width: 100%;
}

.tertiary-cards .primary {
  background-color: var(--primary-color) !important;
}

.cards.tertiary-cards ul {
  background-color: var(--white);
  padding-top: 0.625rem;
  flex-flow: row wrap;
  gap: 0.5rem;
}

.cards .card.remove-card-body-hight .cards-card-body {
  height: auto;
}

.cards.tertiary-cards ul .cards-card-body {
  margin-bottom: 0;
}

/* Center align text inside each card body when author selects "Center Text" class */
.cards li.card-center-text .cards-card-body {
  text-align: center;
}

.cards li.card-center-text .cards-card-body * {
  text-align: inherit;
}

@media (width <=767px) {
  .cards.tertiary-cards ul {
    display: flex;
    flex-direction: column;
    padding-left: 1rem;
    padding-right: 1rem;
    gap: 0.625em;;
    width: 100%;
  }

  .cards.tertiary-cards ul li {
    width: 100%;
  }

  .cards.tertiary-cards ul li a.button:any-link {
    display: block;
  }
}
