/* HERO SECTION  */


.hd-product-page {
    margin-top: 114px;
}










.hd-product-page .hd-hero  {
    height: 80vh;
    background-image: url(https://stg-httpswwwduboischemicalscom-staging.kinsta.cloud/wp-content/uploads/2025/07/6600a6216340908f69711106_secondary-wave-30-op.avif), 
    linear-gradient(135deg, #003273, #3d8bc8);
    background-position: 50%, 0 0;
    background-repeat: no-repeat, repeat;
    background-size: cover, auto;
    background-attachment: fixed, scroll;
    overflow: hidden;
    display: flex;
    justify-content: center;

}

.hd-product-page .hero-inner {
    display: flex;
    flex-direction: row;
    max-width: 80vw;
    align-content: center;
    justify-content: space-evenly;
    align-items: center;
}

.hero-content {
    padding: 2rem;
    border-radius: .25rem;
    background-color: #fff;
    max-width: 50%;
}

.hd-product-page .hd-hero h1 {
    font-family: 'Univia-Pro';
    color: #003273;
    font-size: 3rem;
    line-height: 1.2em;
    font-weight: 400;
    margin-bottom: 5px;
}

.hd-product-page .hd-hero h2 {
    font-family: 'Univia-Pro';
    font-size: 2rem;
    line-height: 1.2em;
    font-weight: 400;
    margin-bottom: 15px;
}

.hd-product-page .hd-hero p {
    font-size: 1rem;
    line-height: 1.4em;
}

.hero-text {
        padding-bottom: 25px;
}

@media screen and (max-width: 1024px) {
    .hd-product-page .hero-inner {
        flex-direction: column;
        max-width: unset;
    }


    .hero-content {
        max-width: 80%;
        margin-bottom: 50px;
    }

    .hd-product-page .hd-hero {
      height: unset;

    }
    .hd-product-page {
        margin-top: 159px;
    }
  }


@media screen and (max-width: 767px) {
    .hd-product-page {
        margin-top: 0;
    }
}


/* END HERO SECTION */


/* VIDEO 50/50 SECTION */

.hd-video5050 {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5rem 0;
}

.video5050-inner {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 85%;
    max-width: 1500px;
}


.video5050-text {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
}

.video5050-embed iframe{
    max-width:100%;
}

@media screen and (max-width: 1280px) {
  
    .video5050-inner {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .hd-video5050 {
        padding: 2rem;
    }

    .video5050-text {
        padding: 70px 0;
    }


}

.video5050-text h1 {
    font-family: 'Univia-Pro';
    color: #003273;
    font-size: 2.25rem;
}
.video5050-text h2,
.video5050-text h3,
.video5050-text h4,
.video5050-text h5 {
    font-family: 'Univia-Pro';
    color: #003273;

    font-size: 1.75rem;
}

/*END VIDEO 50/50 SECTION */

/* PRODUCT LINE SECTION */
.product-line {
    max-width: 80%;
    margin: 50px auto;
}

.product-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.product-block {
    width: 100%; 
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-header {
    font-family: 'Univia-Pro';
    background-color: #003273;
    color: #fff;
    border-radius: .25rem;
    padding: .5rem .5rem .5rem 1rem;
    font-size: 1.75rem;

}


.subproduct-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.product-line-info {
    margin-bottom: 50px;
    max-width:50%;
}

.product-line-info h4 {
    font-family: 'Univia-Pro';
    color: #003273;
    font-size:22px;
    line-height: 1.4em;
    font-weight: 400;
}
.subproduct-card {
    border: 1px solid #00327340;
    border-radius: .25rem;
    transition: background-color .4s, box-shadow .4s;
    padding: 1.5rem;
}

.subproduct-title h4 {
    font-family: 'Univia-Pro';
    color: #003273;
    font-size:1.25rem;
    line-height: 1.4em;
    font-weight: 400;
}

.subproduct-details {
    padding: 10px;
    border-top: 1px solid #ccc;
    display: none;
    transition: all 0.3s ease;
}

.subproduct-card.active .subproduct-details {
    display: block !important;
}
.subproduct-title {
    cursor: pointer;
    font-weight: bold;
}

.subproduct-details h1, .subproduct-details h2 {
    font-family: 'Univia-Pro';
    color: #003273;
    font-size:24px;
    line-height: 1.4em;
    font-weight: 500;
}

.subproduct-details ul {
    list-style: unset;
    list-style-position: outside;
    margin: 15px 0;
}
@media screen and (max-width: 1024px) {
    .product-line-info {
        max-width:unset;
    }

    .product-grid {
        flex-direction: column;
    }
}

/* END PRODUCT LINE SECTION */


/* DUAL WYSIWYG SECTION */


.dual-wysiwyg {
    max-width: 80%;
    margin: 40px auto;
    padding: 80px 0;
}

.dual-wysiwyg-inner {
    display: flex;
    gap: 40px;
    align-content: space-around;
    justify-content: space-around;
}
.dual-wysiwyg-left,
.dual-wysiwyg-right {
    max-width: 50%;
}
.dual-wysiwyg h4 {
    font-family: 'Univia-Pro';
    color: #003273;
    font-size:24px;
    line-height: 1.4em;
    font-weight: 500;
}
.dual-wysiwyg p {
    font-size:14px;
}

.dual-wysiwyg-left ul,
.dual-wysiwyg-right ul {
    list-style: unset;
    list-style-position: inside;
    margin: 15px 0;
}



@media screen and (max-width: 1024px) {

    .dual-wysiwyg-left,
    .dual-wysiwyg-right {
        max-width: 100%;
    }
    .dual-wysiwyg-inner {
        flex-direction: column;
    }
}

/* END DUAL WYSIWYG SECTION */

/* CTA BLOCK SECTION */

.hd-cta-block {
    background: #f3f6f9;
    border: 1px solid #d4dee9;
    padding: 4rem 2rem;
    margin: 2rem auto;
    text-align: center;
    max-width: 1000px;
}

.hd-cta-block h2 {
    font-family: 'Univia-Pro';
    color: #003273;
    font-size:24px;
    line-height: 1.4em;
    font-weight: 500;
}

.hd-cta-block .cta-text {

    margin-bottom: 1.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hd-cta-block .blue-button {
    display: inline-block;
    background: #002f6c;
    color: #fff;
    padding: 1rem 2rem;
 
    font-weight: bold;
    border-radius: 4px;
}


.hd-divider {
    margin: auto;
    width: 50%;
    border: 0;
    border-top: 1px solid #d4dee9;
}

@media screen and (max-width: 1024px) {

.hd-cta-block {

    max-width: 90%;
}
}


/* END CTA BLOCK SECTION   */


/* IMAGE 50/50 SECTION */
.hd-image5050 {
        display: flex
;
    max-width: 1500px;
    margin: auto;
    flex-direction: column;
}
.image5050-inner {
   display: flex;
   padding: 25px;
   justify-content: space-around;
}

.image5050-left {
    max-width: 50%;
}



.image5050-left img { 
    max-width: 500px;

}
.image5050-text {
    max-width: 550px;
    padding: 25px;
}

.image5050-buttons .double {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.image5050-buttons .subproduct-card {
    min-width: 40%;
    width: 390px;
}

.image5050-text h1,
.image5050-text h2,
.image5050-text h3,
.image5050-text h4,
.image5050-text h5 {
    font-family: 'Univia-Pro';
    color: #003273;
    font-size: 22px;
    line-height: 1.4em;
    font-weight: 400;
}






@media screen and (max-width: 1500px) {

.image5050-buttons .double {
    flex-direction: column;
}

.image5050-buttons .subproduct-card {
    width: 100%;
}

}

@media screen and (max-width: 1200px) {

.image5050-text {
    max-width: unset;
    padding: 25px;
}


.image5050-inner {
    flex-direction: column;
}

.image5050-hex img {
    width: 100%;
    max-width: unset;
}

.image5050-hex {
    padding: 50px 0;
}
.image5050-left {
    max-width: unset;
}

}


/* END IMAGE 50/50 SECTION */

.hd-table tbody td {
    color:#003273;
}

 .hd-table-section .table-wrapper {
    overflow-x: auto;
    margin-bottom: 2rem;
  }
  
  .hd-table-section table {
    width: 100%;
    border-collapse: collapse;
    font-family: sans-serif;
    font-size: 14px;
    text-align: left;
  }
  
  .hd-table-section caption {
    font-weight: bold;
    text-align: left;
    margin-bottom: 0.5rem;
  }
  
  .hd-table-section thead {
    background-color: #002f6c; /* Deep blue */
    color: #fff;
  }
  
  .hd-table-section th, 
  .hd-table-section td {
    padding: 12px 16px;
    border: 1px solid #ccc;
  }
  
  .hd-table-section th {
    font-weight: bold;
    white-space: nowrap;
  }
  
  .hd-table-section tbody tr:nth-child(odd) {
    background-color: #f0f4f8; /* Light gray-blue row */
  }
  
  .hd-table-section tbody tr:nth-child(even) {
    background-color: #e0e6ee; /* Slightly darker alternating row */
  }

  .hd-table-section {
    max-width: 1500px;
    margin: 50px auto;
    padding: 25px;
  }





/* Legend pills under the table */
.hd-table-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 18px auto 0;
  max-width: 1200px;
  padding: 0 12px;
  justify-content: space-between;
}

.hd-table-legend .legend-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 22%;
  min-width: 220px;
  border-radius: 6px;
  background: #f3f6fb;
  border: 1px solid #d9e3ef;
  padding: 10px 14px;
}

.hd-table-legend .swatch {
  width: 20px; height: 20px; border-radius: 4px; display: inline-block;
  border: 1px solid rgba(0,0,0,.1);
}






  .hd-wysiwyg-section {
    margin: 2rem 0;
    font-family: sans-serif;
}

.wysiwyg-content {
    max-width: 1500px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.6;
    padding: 80px 25px;
}

.wysiwyg-content h2,
.wysiwyg-content h3,
.wysiwyg-content h4 {
    margin-top: 1.5em;
    margin-bottom: .8em;
    color: #002f6c;
    font-family: 'Univia-Pro';
}

.wysiwyg-content p {
    margin-bottom: 1em;
}

/* ===== hd-heximage-text ===== */
.hd-heximage-text { padding: clamp(40px, 6vw, 100px) 0; }

.heximage-text-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(20px, 4vw, 64px);
  align-items: center;
}

.heximage-text--reverse .heximage-text-inner {
  grid-template-columns: 2fr 1fr;
}

.heximage-text--reverse .heximage-text-media { order: 2; }
.heximage-text--reverse .heximage-text-content { order: 1; }

.heximage-text-media { position: relative; }
.heximage-text-img { display: block; width: 100%; height: auto; }

.heximage-text-content { max-width: 680px; }
.heximage-text-title {
  margin: 0 0 12px;
  font-size: clamp(28px, 2.4vw, 36px);
  color: #0b3c74;
  font-family: 'Univia-Pro';
}
.heximage-text-text {
  line-height: 1.7;
  color: #36454F;
}

@media (max-width: 960px) {
  .heximage-text-inner { grid-template-columns: 1fr; }
  .heximage-text-content { max-width: 720px; }
}


/* ===== hd-cardlist ===== */
.hd-cardlist { 
    padding: clamp(24px, 4vw, 48px) 25px;

    max-width: 1500px;
    margin: auto;

}

.cardlist-header {
  background: #04366e;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  padding: 16px 24px;
  border-radius: 2px;
  margin-bottom: 24px;
}

.cardlist-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;                 /* same spacing */
  align-items: flex-start;   /* don't stretch heights */
}

.cardlist-grid .subproduct-card {
  flex: 1 1 calc(50% - 12px);   /* two columns, wraps nicely */
  border: 1px solid #d9e3ef;
  border-radius: 4px;
  background: #fff;
}

.subproduct-title {
  padding: 18px 20px;
  font-weight: 700;
  color: #0b3c74;
  cursor: pointer;
}

.subproduct-details { padding: 0 20px 18px; }

/* mobile: single column */
@media (max-width: 980px) {
  .cardlist-grid .subproduct-card { flex-basis: 100%; }
}

.subproduct-card {
  border: 1px solid #d9e3ef;
  border-radius: 4px;
  background: #fff;
}

.subproduct-title {
  padding: 18px 20px;
  font-weight: 700;
  color: #0b3c74;
  cursor: pointer;
}

.subproduct-details {
  padding: 0 20px 18px;
}

@media (max-width: 980px) {
  .cardlist-grid { grid-template-columns: 1fr; }
}


/* ===== hd-hexgrid ===== */
.hd-hexgrid { 
    padding: clamp(32px, 6vw, 72px) 0; 
    text-align: center; }
.hexgrid-title { 
      color: #0b3c74;
  font-family: 'Univia-Pro';
    margin:0 0 24px; 
    font-size: clamp(26px,2.6vw,36px); }

.hexgrid {
  display:flex; 
  flex-wrap:wrap; 
  justify-content:center; 
  gap: clamp(20px,2.5vw,40px);
  max-width:1500px; 
  margin:0 auto; 
  padding:0 16px;
}

.hexcard {
  flex: 0 0 calc(25% - clamp(15px, 1vw, 20px)); /* 4 columns, minus gap */
  max-width: 280px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 50px;
}
.hexcard:focus { outline:2px solid #0b3c74; outline-offset:4px; }

.hexpic {
  width:100%; aspect-ratio:1/1; display:block; position:relative; overflow:hidden;

}
.hexpic-img { width:100%; height:100%; object-fit:cover; display:block; }

.hexlabel {
  font-size:12px; letter-spacing:.4px; color:#3a4b5a; text-transform:uppercase;
}

/* hover */
.hexcard:hover .hexpic { transform: translateY(-2px); transition: transform .15s ease; }

/* responsive sizing */
@media (max-width: 900px){ .hexcard{ width:min(200px, 28vw); padding: 0px;} }
@media (max-width: 600px){ .hexcard{ width:min(180px, 42vw); padding: 0px;} }


/* ===== hd-advantages ===== */
.hd-advantages {
  padding: clamp(32px, 6vw, 72px) 0;
}
.advantages-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 20px;
  gap: clamp(30px, 4vw, 60px);
}
.advantages-content {
  flex: 1;
}
.advantages-title {
  color: #0b3c74;
  margin-bottom: 24px;
  font-size: clamp(26px, 2.6vw, 36px);
  font-family: 'Univia-Pro';
}
.advantages-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.advantage-card {
  border: 1px solid #cfd8e3;
  padding: 18px 22px;
  border-radius: 4px;
  font-size: 16px;
  line-height: 1.4;
  color: #0b3c74;
}
.advantages-media {
  flex: 0 0 650px;
  max-width: 100%;
}
.advantages-img {
  display: block;
  width: 100%;
  height: auto;
}

/* Responsive */
@media (max-width: 900px) {
  .advantages-inner {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
  }
  .advantages-media {
    flex: none;
    max-width: 350px;
  }
}


/* ===== hd-wysiwyg-cards ===== */
.hd-wysiwyg-cards {
  padding: clamp(32px, 6vw, 72px) 0;
  min-height: 65vh;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.wysiwyg-cards-inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 20px;
}

.wysiwyg-cards-title {
  color: #0b3c74;
  text-align: center;
  margin: 0 0 24px;
  font-size: clamp(26px, 2.6vw, 36px);
  font-family: 'Univia-Pro';
}

.wysiwyg-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);  /* desktop: 3 wide */
  gap: clamp(18px, 2vw, 28px);
}

.wysiwyg-card {
  border: 1px solid #d9e3ef;
  border-radius: 6px;
  background: #fff;
}

.wysiwyg-card-body {
  padding: 20px 24px;
  color: #0b3c74;
  line-height: 1.6;
}

.wysiwyg-card-body ul {
    list-style: outside;
    margin-left: 15px;
}

.wysiwyg-card-body h1,
.wysiwyg-card-body h2,
.wysiwyg-card-body h3,
.wysiwyg-card-body h4,
.wysiwyg-card-body h5,
.wysiwyg-card-body h6 {
  margin: 0 0 12px;
  color: #0b3c74;
  font-family: 'Univia-Pro';
}

/* Tablet: 2 columns */
@media (max-width: 1024px) {
  .wysiwyg-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile: 1 column */
@media (max-width: 640px) {
  .wysiwyg-cards-grid { grid-template-columns: 1fr; }
}


/* ===== hd-case-studies ===== */
.hd-case-studies {
    padding: clamp(32px, 6vw, 72px) 0;
}

.case-studies-inner {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
}

.case-studies-title {
    color: #0b3c74;
    text-align: center;
    margin: 0 0 32px;
    font-size: clamp(26px, 2.6vw, 36px);
    font-family: 'Univia-Pro';
}

.case-study {
    margin-bottom: 40px;
}

.case-study-name {
    color: #0b3c74;
    font-size: clamp(20px, 2vw, 26px);
    margin: 0 0 16px;
}

.case-study-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.case-study-col {
    border: 1px solid #d9e3ef;
    border-radius: 6px;
    padding: 20px;
    background: #fff;
}

.case-study-label {
    display: inline-block;
    background: #0b3c74;
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    padding: 6px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.case-study-text {
    color: #0b3c74;
    line-height: 1.6;
}

/* Mobile: 1 column */
@media (max-width: 768px) {
    .case-study-columns {
        grid-template-columns: 1fr;
    }
}
