/* ========================= GLOBAL ========================= */
ul li::marker {
  color: black !important;
}

@font-face {
  font-family: 'Impact';
  src: url('fonts/impact.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Helvetica';
  src: url('fonts/Helvetica.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}


h1, h2, h3 .impact,
#product-advantages .reveal-text .et_pb_module_header,
.et_pb_module_heading {
  font-family: 'Impact', Impact, sans-serif !important;
  font-weight: normal !important;
}
body.page #main-content h1,
body.page #main-content h2,
body.page #main-content h3,
body.page #main-content h4,
body.page #main-content h5,
body.page #main-content h6,
body.page .gform_title {
  font-weight: unset !important;
}

.bottom-left-clip {
  clip-path: polygon(0 0,100% 0,100% 100%,10% 100%,0 91%);
  -webkit-clip-path: polygon(0 0,100% 0,100% 100%,10% 100%,0 91%);
}

.helvetica, p, ul li, a, .et_pb_text_inner{
  font-family: 'Helvetica', Helvetica, sans-serif;
}

:not(.wp-core-ui) h1::after,
:not(.wp-core-ui) h2::after,
.et_pb_slide_title::after {
    content: none !important;
}
.et_pb_code_1_tb_footer {
  top: 24vh !important;
}
body.logged-in.admin-bar .et_pb_code_1_tb_footer {
  top: calc(24vh + 75px) !important;
}

.gform_title {
  font-family: Roboto, sans-serif !important;
}
/* ========================= #START SECTION ========================= */

#start .et_pb_heading_1 .et_pb_heading_container h1 {
  font-size: 60px;
}

/* ========================= #WHAT IS CBS SECTION ========================= */
#what-is-cbs::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  z-index: 0;
  pointer-events: none;
}

#what-is-cbs ul li::marker {
  content: "›";
  position: absolute !important;
  left: 5px;
  color: #135eaa !important;
  font-size: 1.2em;
}

/* ========================= #DISCOVER SECTION  ========================= */

.discover-funky-column {
  display: grid;
  grid-template-columns: 1fr;   /* default: single column */
  gap: 1.5rem;                  /* adjust spacing between items */
}

#discover .et_pb_row_3{
  position: relative;
  background-color:#fff;
  isolation:isolate;
}


#discover .et_pb_row_3 > .et_pb_column{
  position: relative;
  background: transparent !important;
  z-index: auto !important;
  transform: none !important;
  opacity: 1 !important;
  filter: none !important;
}

#discover .et_pb_row_3 > .et_pb_column > *{
  position: relative;
  z-index: 1;
}
.gap-row .et_pb_column_1_4::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:url('/wp-content/uploads/sites/3/2025/09/cbs-discover-section-shape-cropped-left.png') no-repeat right center / cover;
  mix-blend-mode:multiply;
  z-index:0;
}
.gap-row .et_pb_column_3_4::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:url('/wp-content/uploads/sites/3/2025/09/cbs-discover-section-shape-cropped-right.png') no-repeat left center / cover;
  mix-blend-mode:multiply;
  z-index:0;
}

#discover ul li::marker {
  color: #fff !important;
  content: "›";
  position: absolute !important;
  left: 5px;
  font-size: 1.2em;
}

#discover .et_pb_blurb h4 {
  text-transform: uppercase;
  font-family: 'Impact', Impact, sans-serif !important;
  padding-left: 0.5em;
}
#discover .et_pb_blurb .et_pb_image_wrap {
  margin-left: auto;
  margin: unset;
}
/* ========================= PRODUCT ADVANTAGES SECTION  ========================= */
.reveal-text {
  padding: 2em 1em;
  position: relative;
  overflow: hidden;
  /* min-height: 496px; */
  clip-path: polygon(0 0, 90% 0, 100% 11%, 100% 100%, 0 100%);
  -webkit-clip-path: polygon(0 0, 90% 0, 100% 11%, 100% 100%, 0 100%);
}

.reveal-text > * {
  position: relative;
  z-index: 2;
}

.reveal-text::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  min-height: 6.5em;
  background-color: rgba(0, 92, 171, 1);
  transition: height 300ms;
  pointer-events: none;
  z-index: 0;
}

.reveal-text:hover::after {
  height: 100%;
  mix-blend-mode: multiply;
  /* background-color: rgba(0, 93, 234, 0.95); */
}
.reveal-text:hover .et_pb_blurb {
  height: auto;
}

.reveal-text .et_pb_blurb_position_left .et_pb_blurb_container {
    padding-left: 0;
    margin-left: 0;
}
.reveal-text .et_pb_blurb_description {
  opacity: 0;
  visibility: hidden;
  transition: 300ms;
  width: 100%;
  padding-top: 1em;
}

.reveal-text .et_pb_blurb_description p {
  color: #fff; 
}

.reveal-text .et_pb_module_header,
.reveal-text .et_pb_blurb .et-pb-icon  {
  color: #ffff !important; 
}

.reveal-text .et_pb_blurb_description > a {
  text-decoration: underline;
}
.reveal-text .et_pb_blurb  {
  height: 100%;
}
.reveal-text:hover .et_pb_blurb_description {
  opacity: 1;
  visibility: visible;

}

.reveal-text .et-pb-icon {
  transition: 300ms;
}

.reveal-text:hover .et-pb-icon {
  transform: rotate(90deg);
  margin-left: -15px;
}

#product-advantages .reveal-text .et_pb_blurb_content {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr auto;
  align-items: end;
  column-gap: .5rem;
  row-gap: .5rem;
  box-sizing: border-box;
  height: 100%;
}

#product-advantages .reveal-text .et_pb_blurb_container {
  display: contents;
}

#product-advantages .reveal-text .et_pb_blurb_description {
  grid-row: 1;
  grid-column: 1 / span 2;
}
#product-advantages .reveal-text .et_pb_module_header {
  grid-row: 3;
  grid-column: 1;
  margin: 0;
  text-transform: uppercase;
  padding-bottom: 0px !important;
}
#product-advantages .reveal-text .et_pb_main_blurb_image {
  grid-row: 3;
  grid-column: 2;
  align-self: end;
  justify-self: start;
  margin-left: .5rem;
  margin-bottom: 15px;
}


#product-advantages .reveal-text:hover .et_pb_module_header {
  grid-row: 1;
  grid-column: 1;
  margin: 0;
}
#product-advantages .reveal-text:hover .et_pb_main_blurb_image {
  grid-row: 1;
  grid-column: 2;
  align-self: start;
  justify-self: start;
  margin-left: .5rem;
  margin-bottom: 15px;
}
#product-advantages .reveal-text:hover .et_pb_blurb_description {
  grid-row: 3;
  grid-column: 1 / span 2;
}

/* ========================= POTENTIAL APPLCIATIONS SECTION  ========================= */
#potential-applications {
  display: flex;
  align-items: center;
}

#potential-applications ul li::marker {
  color: white !important;
  content: "›";
  position: absolute !important;
  left: 5px;
  font-size: 1.2em;
}

/* ========================= IMAGE BLOCK SECTION  ========================= */
#image-block-row .et_pb_row > .et_pb_column {
  position: relative;
  z-index: 0;
}

#image-block-row .et_pb_row > .et_pb_column::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
  pointer-events: none;
}

#image-block-row .et_pb_row > .et_pb_column > * {
  position: relative;
  z-index: 1;
}

#image-block-row .et_pb_button:hover {
  background-color: #005cab !important;
  border-color: #005cab !important;
  color: #fff !important;
}
.footer-menu .et_pb_widget .menu > li > a {
  transition: color 300ms ease 0ms;
}

.footer-menu .et_pb_widget .menu > li > a:hover {
  color: #eaeaea !important;
}

/* ========================= RESOURCES SECTION  ========================= */
.et_pb_button.list:after, ul.resource-list li a::after {
  background-color: #135eaa !important;
}
.et_pb_button.list:hover::after {
    background-color: #d6ad33 !important;
}

/* ========================= FOOTER SECTION  ========================= */
#contact .et_pb_button:after {
  color: white !important;
}

#contact .et_pb_button:hover:after {
  color: #135eaa !important;
}

.footer .et_pb_widget ul li {
  margin-bottom: 0px !important;
}

/* ========================= RESPONSIVE ========================= */

/* ========== Mobile-first: up to 320px ========== */
@media (max-width: 320px) {
  .reveal-text::after {
    min-height: 10em !important;
  }
  #proven-solutions h3.et_pb_module_header {
    font-size: 16px;
  }
}

@media (max-width: 375px) {
  .reveal-text::after {
    min-height: 11em; /* No !important */
  }
  #proven-solutions h3.et_pb_module_header {
    font-size: 17px;
  }
}

@media (max-width: 425px) {
  .reveal-text::after {
    min-height: 9em;
  }
  #proven-solutions h3.et_pb_module_header {
    font-size: 18px;
  }
}

@media (min-width: 768px) and (max-width: 1350px) {
  .discover-funky-column {
    grid-template-columns: 1fr 1fr;
  }
}

/* ========== up to 980px (for logo curve override) ========== */
@media (max-width: 980px) {
   .footer .et_pb_widget ul li {
    margin-bottom: 0.5em !important;
  }
}


/* ========== Tablet: 768px to 981px ========== */
@media (max-width: 980px) and (min-width: 769px) {
  #discover .dsm_icon_list_text h3 {
    font-size: 1.75rem;
  }
}

@media (min-width: 981px) {
  .reveal-text {
    clip-path: polygon(0 0, 80% 0, 100% 11%, 100% 100%, 0 100%);
    -webkit-clip-path: polygon(0 0, 80% 0, 100% 11%, 100% 100%, 0 100%);
  }
  
  .bottom-left-clip {
    clip-path: polygon(0 0,100% 0,100% 100%,19% 100%,0 80%);
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 19% 100%, 0 80%);
  }
}

@media (min-width: 1024px){
  .reveal-text::after {
    min-height: 9em;
  }
}

@media (min-width: 981px) and (max-width: 1240px) {
  .footer .et_pb_text, .footer-menu .et_pb_widget .menu > li > a{
    font-size: 14px !important;
  }
}

@media (max-width: 1350px) {
   #discover .gap-row {
    flex-direction: column;
  }
  #discover .gap-row > .et_pb_column:before {
    display: none;
    width: 100% !important;
  }
  #discover .et_pb_gutters1 .et_pb_column_3_4,
  #discover .et_pb_gutters1.et_pb_row .et_pb_column_3_4,
  #discover .et_pb_gutters1 .et_pb_column_1_4,
  #discover .et_pb_gutters1.et_pb_row .et_pb_column_1_4 {
    width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  #discover .gap-row .et_pb_heading_2 .et_pb_heading_container h2 {
    text-align: left !important;
  }
  #discover .icon-list ul li {
    justify-content: flex-start;
  }
  #discover .gap-row::before {
    content: "";
    position: absolute;
    inset: 0;
    mix-blend-mode: multiply;
    background-color: #135eaa;
  }
  #discover .et_pb_blurb_content {
    max-width: unset;
  }
}

@media (min-width: 1241px) {
  .reveal-text {
    min-height: 496px;
  }
}

/* ========== min-width: 1280px ========== */
@media only screen and (min-width: 1280px) {
  #mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-item > a.mega-menu-link:hover,
  #mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-item > a.mega-menu-link:focus {
    background: white;
    color: #135eaa;
    font-weight: normal;
    text-decoration: none;
    border-color: #fff;
  }
  .footer .et_pb_text, .footer-menu .et_pb_widget .menu > li > a{
    font-size: 16px !important;
  }
}

@media (min-width: 1351px) {
  .discover-funky-column {
    grid-template-columns: 1fr;
  }
}

/* ========== min-width: 1600px ========== */
@media (min-width: 1600px) {
  #potential-applications .et_pb_row {
    padding-top: 100px !important;
    padding-left: 75px !important;
    padding-right: 75px !important;
    padding-bottom: 100px !important; 
  }
  #start .et_pb_heading_1 .et_pb_heading_container h1 {
    font-size: 75px;
  }

  .reveal-text::after {
    min-height: 7em;
  }

}