/*-- -------------------------- -->
<---        Content Page        -->
<--- -------------------------- -*/

@keyframes floatAnimation {
  0% { transform: translateY(0); }
  50% { transform: translateY(-2rem); }
  100% { transform: translateY(0); }
}

@keyframes floatAnimation2 {
  0% { transform: translateY(0); }
  50% { transform: translateY(-3rem); }
  100% { transform: translateY(0); }
}

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #content-page-1399 {
    /* clear fixed nav (top bar + logo row on mobile) */
    padding: var(--nav-offset) 1rem var(--sectionPadding);
    background-color: #fff;
    overflow: hidden;
    position: relative;
    z-index: 1;
  }

  #content-page-1399 .cs-container {
    width: 100%;
    max-width: calc(1280 / 16 * 1rem);
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(2.5rem, 4vw, 4rem);
    position: relative;
  }

  #content-page-1399 .cs-content {
    text-align: left;
    width: 100%;
    max-width: calc(738 / 16 * 1rem);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  #content-page-1399 .cs-title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    line-height: 1.2em;
    font-weight: 900;
    margin: 0 0 1rem 0;
    color: var(--headerColor);
    text-transform: none;
  }

  #content-page-1399 h2,
  #content-page-1399 h3,
  #content-page-1399 h4,
  #content-page-1399 h5,
  #content-page-1399 h6 {
    font-weight: 700;
    text-align: inherit;
    margin: 0 0 1rem 0;
    color: var(--headerColor);
    text-transform: none;
  }

  #content-page-1399 h2 {
    font-size: 2rem;
    margin-top: 2rem;
  }

  #content-page-1399 h3 {
    font-size: 1.5rem;
    color: var(--primary);
  }

  #content-page-1399 h4,
  #content-page-1399 h5,
  #content-page-1399 h6 {
    font-size: 1.25rem;
  }

  #content-page-1399 .sb-button-solid {
    margin-bottom: 2rem;
  }

  #content-page-1399 .cs-color {
    color: var(--primary);
  }

  #content-page-1399 p {
    font-size: var(--bodyFontSize);
    line-height: 1.5em;
    text-align: inherit;
    width: 100%;
    margin: 0 0 1rem 0;
    color: var(--bodyTextColor);
  }

  #content-page-1399 p:last-of-type {
    margin-bottom: 2rem;
  }

  #content-page-1399 p a {
    font-size: inherit;
    line-height: inherit;
    text-decoration: underline;
    color: var(--primary);
  }

  #content-page-1399 ol,
  #content-page-1399 ul {
    padding-left: 1.5rem;
    margin: 0 0 2rem 0;
    color: var(--bodyTextColor);
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  #content-page-1399 ul li {
    list-style: none;
    color: inherit;
    position: relative;
  }

  #content-page-1399 ul li:before {
    content: "";
    width: 3px;
    height: 3px;
    background: currentColor;
    opacity: 1;
    border-radius: 50%;
    position: absolute;
    display: block;
    top: 0.625rem;
    left: -0.75rem;
  }

  #content-page-1399 img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* Mobile: image sits mid-article to break up text */
  #content-page-1399 .cs-mobile-media {
    width: 100%;
    margin: 0.5rem 0 1.75rem;
    border-radius: clamp(1.5rem, 4vw, 2.5rem);
    overflow: hidden;
    display: block;
  }

  #content-page-1399 .cs-mobile-media img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
  }

  /* Desktop sidebar image hidden on small screens */
  #content-page-1399 .cs-image-group {
    width: 100%;
    display: none;
    flex-direction: column;
    gap: clamp(1rem, 2.6vw, 1.25rem);
    position: relative;
  }

  #content-page-1399 .cs-flex {
    position: relative;
  }

  #content-page-1399 .cs-background {
    width: 100%;
    height: 100%;
    border-radius: clamp(2rem, 4vw, 3rem);
    overflow: hidden;
    object-fit: cover;
    display: block;
  }

  #content-page-1399 .cs-background img {
    width: 100%;
    height: 100%;
    min-height: 22rem;
    object-fit: cover;
    display: block;
  }

  #content-page-1399 .cs-box {
    text-align: left;
    width: 100%;
    max-width: calc(200 / 16 * 1rem);
    padding: 2rem;
    box-sizing: border-box;
    background-color: var(--primary);
    border-radius: 2rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    position: absolute;
    right: clamp(0.75rem, 1.9vw, 1.5rem);
    bottom: clamp(0.75rem, 1.9vw, 1.5rem);
  }

  #content-page-1399 .cs-box-icon {
    width: 3.75rem;
    height: auto;
    display: block;
  }

  #content-page-1399 .cs-desc {
    font-size: 1.25rem;
    line-height: 1.2em;
    text-align: inherit;
    font-weight: 700;
    width: 100%;
    margin: 0;
    color: var(--bodyTextColorWhite);
  }

  #content-page-1399 .cs-card-group {
    width: 100%;
    max-width: calc(630 / 16 * 1rem);
    margin: 0 0 1.5rem 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15.265rem, 1fr));
    align-items: center;
    gap: clamp(1rem, 2vw, 1.25rem);
  }

  #content-page-1399 .cs-item {
    list-style: none;
    padding: clamp(1rem, 3vw, 1.5rem);
    box-sizing: border-box;
    background-color: #f7f7f7;
    border-radius: 1rem;
    border: 1px solid #e8e8e8;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  #content-page-1399 .cs-item:before {
    display: none;
  }

  #content-page-1399 .cs-h3 {
    font-size: 1.25rem;
    line-height: 1.2em;
    font-weight: 700;
    margin: 0;
    color: var(--headerColor);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5rem;
  }

  #content-page-1399 .cs-h3-icon {
    width: 2rem;
    height: auto;
    display: block;
    flex: none;
  }

  #content-page-1399 .cs-item-text {
    font-size: 0.875rem;
    line-height: 1.5em;
    margin: 0;
    color: var(--bodyTextColor);
  }

  #content-page-1399 .cs-bubbles {
    font-size: min(2.5vw, 0.7em);
    width: calc(582 / 16 * 1em);
    height: calc(557 / 16 * 1em);
    display: none;
    position: absolute;
    right: calc(-260 / 16 * 1em);
    bottom: calc(-50 / 16 * 1em);
    z-index: -1;
  }

  #content-page-1399 .cs-bubbles:before {
    content: "";
    width: calc(464 / 16 * 1em);
    height: calc(464 / 16 * 1em);
    background: transparent;
    border: 1px solid var(--primary);
    border-radius: 50%;
    opacity: 1;
    position: absolute;
    display: block;
    top: 0;
    right: 0;
    animation: floatAnimation 5s ease-in-out infinite;
  }

  #content-page-1399 .cs-bubbles:after {
    content: "";
    width: calc(366 / 16 * 1em);
    height: calc(366 / 16 * 1em);
    background: var(--primary);
    opacity: 0.15;
    border-radius: 50%;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
    animation: floatAnimation2 14s ease-in-out infinite;
  }
}

/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #content-page-1399 .cs-container {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }

  #content-page-1399 .cs-content {
    width: 50%;
    max-width: calc(647 / 16 * 1rem);
    flex: none;
  }

  #content-page-1399 .cs-mobile-media {
    display: none;
  }

  #content-page-1399 .cs-image-group {
    width: 44%;
    max-width: calc(542 / 16 * 1rem);
    display: flex;
    order: 2;
  }
}

/* Desktop - 1200px */
@media only screen and (min-width: 75rem) {
  #content-page-1399 .cs-content {
    width: 53%;
  }

  #content-page-1399 .cs-image-group {
    width: 43%;
  }

  #content-page-1399 .cs-box {
    display: flex;
  }

  #content-page-1399 .cs-bubbles {
    font-size: 1em;
    margin-left: calc(600 / 16 * 1rem);
    display: block;
    right: auto;
    left: 50%;
    bottom: calc(-220 / 16 * 1rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  #content-page-1399 .cs-bubbles:before,
  #content-page-1399 .cs-bubbles:after {
    animation: none;
  }
}
