/* Container */
.industry-tabs-row { 
width: 100% !important;
padding: 48px !important;
}

.industry-tabs-row .et_pb_toggle_title:before{
color: transparent !important;
}

.right-column-ups{
border-radius: 16px;
}

/* Titles (Work Sans) – desktop defaults */
.industry-tabs-row .et_pb_toggle_title{
  font-family: "Work Sans";
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.25px;
  color: #1A1E1D; /* rgba(26,30,29,1) */
}

/* Body text inside accordion */
.industry-tabs-row .et_pb_toggle_content{
  font-family: "Work Sans";
  font-weight: 400;
  font-size: 16px;
  letter-spacing: -0.10px;
  color: #1A1E1D;
}

.tab-learn-more{
  display:inline-block;
  margin-top: 12px;
  text-decoration:none;
  color:#A07A3E;             /* warm gold-ish link like comps */
}
.tab-learn-more:hover{ text-decoration: underline; }

/* UPS image + glass card */
.industry-ups{ position: relative; }
.industry-ups img{
  width:100%;
  height:auto;
  display:block;
  border-radius: 18px;
}
.ups-card{
  position:absolute;
  right: 16px;
  bottom: 16px;
  padding: 0;
  border-radius: 16px;
  background: rgb(152 137 126 / 55%); /* glassy brown overlay */
  color: #fff;
  backdrop-filter: blur(20px);
  max-width: 267px;
}

.industry-ups.mobile-ups .ups-card{
width: 100%;
    bottom: 0 !important;
    right: 0;
    max-width: 100%;
    border-radius: 0 0px 16px 16px !important;
    padding: 0 !important;
}
.ups-card .ups-title{
margin-bottom: 0;
padding:16px 16px 5px 16px;
}

/* UPS typography */
.ups-title{
  margin: 0 0 6px 0;
  font-family: "Inria Serif";
  font-weight: 700;
  font-size: 22px;           /* desktop */
  line-height: 1.2;
  color:#fff;
}
.ups-desc{
  margin: 0;
  font-family: "Work Sans";
  font-weight: 400;
  font-size: 12px;           /* label spec in comps */
  letter-spacing: -0.25px;
  color:#fff;
  padding:0 16px 16px 16px;
}

/* Show/Hide per breakpoint (Divi desktop ≥981px) */
.desktop-ups { display:block; }
.mobile-ups  { display:none; }

@media (max-width:980px){
   .industry-tabs-row { 
width: 100% !important;
padding: 24px !important;
}
  .desktop-ups { display:none; }
  .mobile-ups  { display:block; margin-top:16px; }

  /* Mobile sizes per spec */
  .industry-tabs-row .et_pb_toggle_title{ font-size:18px; }
  .industry-tabs-row .et_pb_toggle_content{ font-size:14px; }

  .mobile-ups .ups-title{ font-size:16px; }
  .mobile-ups .ups-desc { font-size:12px; }
}

/* Optional spacing to mimic separators like the comps */
.industry-tabs-accordion .et_pb_toggle{
    background-color: RGBA(255, 255, 255, 0);
    padding-top: 16px !important;
    padding-right: 0px !important;
    padding-bottom: 16px !important;
    padding-left: 0px !important;
    border-width: 0px 0px 1px 0px !important;
    border-bottom-color: #d6bcaf !important;
    margin-bottom: 0 !important;
}

@media only screen and (max-width: 980px){
.right-column-ups{
display: none !important;
}
}

/* Hide the title if it has no content */
.ups-title:empty {
  display: none;
}

/* Hide the description if it has no content */
.ups-desc:empty {
  display: none;
}

/* Hide the whole card if BOTH are empty */
.ups-card:has(.ups-title:empty):has(.ups-desc:empty) {
  display: none;
}