@import url('./styles.css');

:root {
  --fullwidth: calc(100% + 480px);
  --fullwidthmargin: -240px;
}

@media (max-width: 1439px) {
  :root {
    --fullwidth: 100%;
    --fullwidthmargin: 0px;
  }
}

/* Important to turn scroll off for the templates */
.article,
.blank,
.content,
.helplegal,
.informational,
.shoppable,
.educational,
.guide {
  overflow-x: hidden;
}

main {
  max-width: var(--page-width);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  margin: 0 auto;
  box-sizing: border-box;
  position: relative;
  overflow: visible;
  width: 91%;
}

.commerce-mini-cart__message-wrapper {
  grid-column: span 12;
}

/* Various Sections */
@media (min-width: 992px) {
  .align-center {
    text-align: center;
  }
    body .embed > div{
    padding-bottom:6% !important;
    height: 495px !important;
    }
  .align-right {
    text-align: right;
  }

  .section-spacing-xs {
    padding: 8px 0;
  }

  .section-spacing-sm {
    padding: 16px 0;
  }

  .section-spacing-md {
    padding: 24px 0;
  }

  .section-spacing-lg {
    padding: 32px 0;
  }

  .section-spacing-xl {
    padding: 48px 0;
  }

  .section-spacing-xxl {
    padding: 64px 0;
  }
}

@media (max-width: 991px) {
  .align-center {
    text-align: center;
  }

  .align-right {
    text-align: right;
  }

  .section-spacing-xs {
    padding: 4px 0;
  }

  .section-spacing-sm {
    padding: 8px 0;
  }

  .section-spacing-md {
    padding: 16px 0;
  }

  .section-spacing-lg {
    padding: 24px 0;
  }

  .section-spacing-xl {
    padding: 32px 0;
  }

  .section-spacing-xxl {
    padding: 48px 0;
  }
}

/* Standard Sections */
.section.back-bread,
.section.content-standard,
.section.relatedarticles-standard {
  grid-column: span 12;
  margin: 0 auto;
  width: 100%;
}

.section.content-mini {
  max-width: var(--page-mini);
  margin: 0 auto;
  grid-column: span 12;
  width: 100%;
}

.section.relatedarticles-right {
  grid-column: 4 / span 9;
}

.section.relatedarticles-standard,
.section.relatedarticles-right {
  background-color: var(--background-light);
  padding: 16px;
}

.section.top-hero,
.section.contentfull-blue,
.section.contentfull-dark,
.section.contentfull-light,
.section.contentfull-lighter {
  margin-top: 0 !important;
}

@media (min-width: 992px) {
  .section.back-bread {
    margin-bottom: 20px !important;
    margin-top: 20px !important;
  }
}

@media (max-width: 991px) {
  .section.back-bread {
    margin-top: 20px !important;
  }

  .section.relatedarticles-right {
    grid-column: span 12;
  }
}

/* Full Sections */
.section.contentfull-lighter {
  background-color: var(--background-lighter);
}

.section.contentfull-light {
  background-color: var(--background-light);
}

.section.contentfull-blue {
  background-color: var(--background-paleblue);
}

.section.bottom-search {
  background-color: var(--neutral-grey);
}

.section.contentfull-dark {
  background-color: var(--background-dark);
}

.section.top-hero,
.section.contentfull-lighter,
.section.contentfull-light,
.section.contentfull-blue,
.section.contentfull-dark,
.section.bottom-search {
  grid-column: 1 / -1;
  margin-left: calc(50% - 50vw);
  width: 100vw;
  position: relative;
}

.section.contentfull-lighter > div,
.section.contentfull-light > div,
.section.contentfull-blue > div,
.section.contentfull-dark > div,
.section.bottom-search > div {
  max-width: var(--page-width);
  margin: 0 auto;
  width: calc(100% - 9.5%);
}

@media (min-width: 992px) {
  .section.contentfull-lighter > div:first-child,
  .section.contentfull-light > div:first-child,
  .section.contentfull-blue > div:first-child,
  .section.contentfull-dark > div:first-child,
  .section.bottom-search > div:first-child {
    padding-top: 48px;
  }

  .section.contentfull-lighter > div:last-child,
  .section.contentfull-light > div:last-child,
  .section.contentfull-blue > div:last-child,
  .section.contentfull-dark > div:last-child,
  .section.bottom-search > div:last-child {
    padding-bottom: 48px;
  }
}

@media (max-width: 991px) {
  .section.top-hero,
  .section.contentfull-lighter,
  .section.contentfull-light,
  .section.contentfull-blue,
  .section.contentfull-dark,
  .section.bottom-search {
    width: 100vw;
  }

  .section.contentfull-lighter > div:first-child,
  .section.contentfull-light > div:first-child,
  .section.contentfull-blue > div:first-child,
  .section.contentfull-dark > div:first-child,
  .section.bottom-search > div:first-child {
    padding-top: 24px;
  }

  .section.contentfull-lighter > div:last-child,
  .section.contentfull-light > div:last-child,
  .section.contentfull-blue > div:last-child,
  .section.contentfull-dark > div:last-child,
  .section.bottom-search > div:last-child {
    padding-bottom: 24px;
  }
}

/* Column Sections - Styles */
@media (max-width: 991px) {
  .colspan-1,
  .colspan-2,
  .colspan-3,
  .colspan-4,
  .colspan-5,
  .colspan-6,
  .colspan-7,
  .colspan-8,
  .colspan-10,
  .colspan-11 {
    grid-column: span 12 !important;
    padding-left: 16px;
    padding-right: 16px;
  }

  .colspan-9,
  .colspan-12 {
    grid-column: span 12 !important;
    padding-left: 0;
    padding-right: 0;
  }

  .right-xs {
    margin-right: 0;
  }

  .right-sm {
    margin-right: 0;
  }

  .right-md {
    margin-right: 0;
  }

  .right-lg {
    margin-right: 0;
  }

  .right-xl {
    margin-right: 0;
  }

  .right-xxl {
    margin-right: 0;
  }

  .find-store.search-container .text-wrapper,
  .find-store.search-container .search-wrapper{
    padding-left: 5px;
  }

  .colspan-6.title-container.button-container:has(.button-wrapper){
    padding-left: 0;
    padding-right: 0;
  }

  .colspan-6.title-container.button-container:has(.button-wrapper) a{
    width: 100%;
  }
}

@media (min-width: 992px) {
  .right-xs {
    margin-right: 8px;
  }

  .right-sm {
    margin-right: 16px;
  }

  .right-md {
    margin-right: 24px;
  }

  .right-lg {
    margin-right: 32px;
  }

  .right-xl {
    margin-right: 48px;
  }

  .right-xxl {
    margin-right: 64px;
  }
}

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

.bgcolor-lighter {
  background-color: var(--background-lighter);
}

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

.bgcolor-blue {
  background-color: var(--background-paleblue);
}

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

/* Custom Sections for Educational Template */

.educational .top-hero .columns-wrapper {
  max-width: var(--page-width);
  margin: 0 auto;
}

.educational .top-hero h2 {
  font-size: 48px;
  font-style: normal;
  font-weight: var(--font-weight-xtra-bold);
  line-height: normal;
  letter-spacing: 0;
  margin-left: 64px;
  padding-bottom: 8px;
}

.educational .top-hero .hero-right-bleed h2,
.educational .top-hero .hero-right-bleed h3,
.educational .top-hero .hero-right-bleed p {
  margin-left: 0;
}

.educational .top-hero h3 {
  font-size: var(--body-font-size-xl);
  line-height: var(--line-height-xxs-1);
  font-style: normal;
  font-weight: var(--font-weight-light-bold);
  margin-left: 64px;
  padding-bottom: 8px;
}

.educational .top-hero p {
  margin-left: 64px;
}

.educational .columns > div > div:first-child {
  flex-basis: 12%;
}

@media (max-width: 991px) {
  .ecucational .top-hero h2 {
    font-size: 36px;
  }
}

.article img {
  width: 100%;
}

.blank header.header-wrapper {
  min-height: inherit;
}

.section.align-center .image-wrapper {
  display: flex;
  justify-content: center;
}

[class^='colspan-'].card-container,
[class*=' colspan-'].card-container {
  margin-bottom: 1.5rem;
}

.educational .section.colspan-6.title-container.text-container {
  padding-left: 0;
  padding-right: 0;
}

.section.colspan-12.teaser-container {
  padding-left: 0px; 
  margin: 0 -1rem;
}
.text-container .title-wrapper .block{
  display: flex;
  align-items: center;
  gap:.5rem;
}
.text-container .title-wrapper .block .icon{
  display: flex;
  align-items: center;
}
.text-container .title-wrapper .center-align.block{
    justify-content: center;
}