/*********************

#companies

********************/

#companies {}

#companies .companies_txt {
  display: flex;
}

#companies .companies_txt li{
  width: 48%;
  margin-right: 16%;
}
#companies .companies_txt li:last-child{margin-right: 0;}

.companies_link{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

.companies_link li{
  width: 49%;
  background: #ffbb45;
  border-radius: 120px;
  text-align: center;
}

.companies_link li a {
  display: block;
  line-height: 68px;
  position: relative;
}

.companies_link li a::before{
  content: "";
  background: url(../img/arrow.png)center right no-repeat;
  background-size: auto;
  display: inline-block;
  margin-left: 20px;
  width: 12px;
  height: 8px;
  background-size: contain;
  position: absolute;
  top: 43%;
  right: 30px;
}

.graph_01_table tr{ border-bottom: none; }

.graph_01_table th{width: 26%;}
.graph_01_table td{width: 58%;}
.companies_link .two_line a{
  line-height: 1.4;
  padding-top: 12px;
  height: 52px;
}

@media screen and (max-width: 1400px) {
}

@media screen and (max-width: 1250px) {
  .graph_01_table td{width: 68%;}
  .graph_01_table th {width: 120px;}
  #companies .companies_txt li{margin-right: 12%;}
}

@media screen and (max-width: 1000px) {

  .companies_link{ font-size: 14px; }

  #companies .companies_txt { display: block; }

  #companies .companies_txt li{
    width: 100%;
    margin-right: 0;
  }
  .graph_01_table td{
    padding: 15px 0;
    text-align: left;
    width: 53%;
  }

}

@media screen and (max-width: 700px) {
  #companies .companies_txt{ display: block; }
  #companies .companies_txt li{
    width: 100%;
    margin-right: 0;
  }
  .companies_link{
    display: block;
    font-size: 12px;
  }
  .graph_01_table td{width: 100%;}

  .graph_01_table th{width: calc(100% - 20px);}

  .companies_link li{
    width: 100%;
    margin-bottom: 8px;
  }
  .companies_link li:last-child{margin-bottom: 0;}

  .companies_link .two_line a {padding-top: 18px;}
}

/* Navigation fixes for text wrapping and spacing issues */
#header_mv ul, #header_link ul {
  margin-left: 60px !important;
  padding-left: 20px !important;
}

/* Ultra-specific targeting for dynamically loaded content */
[data-template="header_mv"] li.mv_ttl.eng,
#header_mv ul li.mv_ttl.eng,
#header_mv li.mv_ttl.eng,
li.mv_ttl.eng,
.mv_ttl.eng {
  white-space: nowrap !important;
  width: auto !important;
  min-width: 200px !important;
  max-width: none !important;
  overflow: visible !important;
  word-break: keep-all !important;
  word-wrap: normal !important;
  text-overflow: visible !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
  vertical-align: top !important;
}

/* Ensure template container doesn't constrain width */
[data-template="header_mv"],
[data-template="header_mv"] ul {
  width: auto !important;
  min-width: 300px !important;
}

/* Additional rule to handle post-load styling */
body li.mv_ttl.eng {
  white-space: nowrap !important;
  display: inline-block !important;
  width: auto !important;
}

/* Force re-render after template load */
[data-template="header_mv"]:not(:empty) li.mv_ttl.eng {
  white-space: nowrap !important;
  width: auto !important;
  min-width: max-content !important;
}
