/* .component-2 h2,
.component-2 h3,
.component-2 p,
.component-3 h2,
.component-3 h3,
.component-3 p,
.component-4 h2,
.component-4 h3,
.component-4 p,
.component-5 h2,
.component-5 h3,
.component-5 p,
.component-6 h2,
.component-6 h3,
.component-6 p
 {
    margin: 0 !important;
 } */
 .component-2 h2{
    margin-top: 20px !important;
 }
.component-heading-updated {
    padding: 10px 0 !important;
    margin-top: 15px;
}
h3.component-sub-heading-updated {
    /* margin: 8px 0 !important; */
    color: rgba(0,0,0,.87);
}
.updated-component strong {
    /* margin: 8px 0 !important; */
    color: rgba(0,0,0,.87);
    font-family: 'regular_semibold';
}
p.component-description-updated,
.updated-component p
{
    margin-bottom: 12px !important;
}

.top-tompanies-list{
    margin-left: 30px;
    margin-bottom: 15px;
}
.top-tompanies-list{
    list-style-type: decimal;
}

ul.main-nav-list {
    max-height: 400px;
    overflow: auto;
}

/* ------ cooke banner update css ---------- */

.cookiealert-container {
    text-align: left;
    flex: 0 0 50%;
    margin: 0 0 83%;
    margin: 0 10px 0 5px;
    font-size: 12px;
    line-height: 14px;
}

.cookiealert{
    /* height: 50px !important; */
    width: 250px;
    background-color: #fff;
    box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
    color: #000;
    left: 13%;
    right: auto;
    padding: 5px 10px !important;
}
button.acceptcookies {
    margin: 5px 0 !important;
    flex: 0 0 10% !important;
    background: #0e0a0ab8 !important;
    color: #fff !important;
    font-size: 14px !important;
    border: 1px solid transparent;
    border-radius: 20px;
    /* padding: 4px 12px; */
    padding: 2px 12px;
}
.cookiealert a {
    text-decoration: underline;
    color: #000;
    font-family: 'regular_semibold';
}

@media(max-width:991px){
    .cookiealert{
      width:290px !important;
      /* height: 40px !important; */
      left: 0;
      right: 0;
    }
    
    .cookiealert-container{
        font-size: 12px;
        line-height: 14px;
        flex: 0 0 60%;
    }
    /* .cookiealert{
        width: 95% !important;
    } */
    .cookiealert-container{
        flex: 0 0 60%;
    }
  }
@media (max-width:600px){
    .cookiealert-container{
        font-size: 10px;
        line-height: 12px;
    }
}
@media(max-width:300px){
    .cookiealert-container{
        font-size: 10px;
        line-height: 12px;
    }
    .cookiealert{
        width: 95% !important;
    }
}
.component h2{
    margin-top: 15px !important;
}
.component-3 ul{
    display: block;
    list-style: disc !important;
    margin-left: 12px;
}
/* .component h2, .component h3, .customize-report-form h3, .customize-toc h3{
    padding: 10px 0;
} */
#main p, #recent_developments li{
    line-height: 26px;
}
.segmentation-toc-table{
    margin-top: 10px;
}
#recent_developments p{
    margin-bottom: 12px;
}
p.component-subheading {
    font-family: 'regular_semibold';
    margin: 10px 0;
}

/* Table css */
.unconventional-table-container {
    overflow-x: auto;
    width: 100%;
    -webkit-overflow-scrolling: touch;
  }
  
  .unconventional-table {
    border-collapse: collapse;
    width: max-content;
    /* margin: 20px auto 0; */
    margin: 20px 0 auto;
  }
  .unconventional-table th{
    font-family: regular_bold;
  }
  .unconventional-table th,
  .unconventional-table td {

    border: 1px solid #DEE2E6;
    color: #002F75;
    padding: 5px;
    font-size: 16px;
    text-align: left;
    /* white-space: nowrap;    */
    min-width: 150px;     
    max-width: 250px;
  }
  .sup-head {
    vertical-align: super;
    font-size: smaller;
    position: static !important;
    top: auto !important;
  }

  .table-text-align-left p{
    text-align: left !important;
  }
  .table-text-align-center p{
    text-align: center !important;
  }
  .table-responsive-extended{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .align-note-source-left{
    align-items: baseline !important;
  }
  .extended-table-heading{
    font-family: regular_bold;
  }
  @media(max-width:991px){
    .table-responsive-extended{
        align-items: flex-start;
    }
  }

  .component p, .component li{
    margin-bottom: 10px;
    font-family: regular_medium;
    line-height: 26px;
    text-align: justify;
  }
  .component .extended-table-heading, .table-source{
    margin-bottom: 0 !important;
  }
    .component .component-subheading{
    margin-bottom: 3px;
    /* margin-bottom: 0; */
  }
  .table-note-source{
    margin-top: 12px;
  }
  .component ul{
    list-style: disc;
    margin-left: 18px;
  }
  .customize-toc ul{
    margin-left: 0;
  }
  .extended-table-heading, .component-subheading{
    font-family: regular_bold !important;
  }


  /* ==================Extended table Design=================== */
  :root {
    --mi-blue: #0069b4; /* primary brand blue          */
    --mi-aqua: #22b6c8; /* secondary aqua accent       */
    --mi-blue-10: #e8f2fa; /* very light tint for rows    */
    --mi-grey: #f5f7fa; /* light grey header background*/
    --mi-border: #dde3ea; /* subtle border colour        */
    --mi-text: #182026; /* default body text           */
    --mi-danger: #d64545; /* restraint (negative) accent */
    --mi-danger-10: #fdecec;
  }
  
  /* body{font:15px/1.55 "Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",
          Roboto,Helvetica,Arial,sans-serif;margin:2rem;color:var(--mi-text);} */
  
  /* h2{margin:0 0 .5rem;font-size:1.35rem;font-weight:600} */
  
  /* ===== TABLE CORE ===== */
  .impact-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    margin-bottom: 0 !important;
  }
  .impact-table caption {
    display: none;
  } /* visual headline handled by <h2> */
  .impact-table thead th {
    padding: 0.75rem;
    background: var(--mi-grey);
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    border: 1px solid var(--mi-border);
    /* font-family: regular_semibold; */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
      Arial, sans-serif;
      font-weight: 600;
    text-align: left;
  }
  .impact-table tbody td {
    padding: 0.75rem;
    border: 1px solid var(--mi-border);
    vertical-align: top;
    font-size: 15px;
    /* font-family: regular_medium; */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
      Arial, sans-serif;
  }
  
  /* ===== COLOUR-CODED ROW STYLES ===== */
  .driver td:first-child {
    border-left: 4px solid #578dbb;
    background: var(--mi-blue-10);
  }
  .restraint td:first-child {
    border-left: 4px solid #578dbb;
    background: var(--mi-danger-10);
  }
  
  /* ===== MOBILE TRANSFORMATION (<600 px) ===== */
  .accordion-icon {
    display: none;
  }
  @media (max-width: 600px) {
    .impact-table thead {
      display: none;
    }
    .impact-table,
    .impact-table tbody,
    .impact-table tr,
    .impact-table td {
      display: block;
      width: 100%;
    }
    .impact-table tr {
      margin: 0 0 1.25rem;
      border: 1px solid var(--mi-border);
      border-radius: 6px;
      overflow: hidden;
    }
    .impact-table td {
      border: none;
      border-bottom: 1px solid var(--mi-border);
    }
    .impact-table td:last-child {
      border-bottom: none;
    }
    .impact-table td::before {
      content: attr(data-label);
      display: block;
      font-weight: 300;
      text-transform: uppercase;
      font-size: 0.7rem;
      letter-spacing: 0.04em;
      margin-bottom: 0.25rem;
      color: #5a6776;
    }
    .accordion-icon {
      display: block;
    }
    /* .driver td:first-child{
        border-left:4px solid var(--mi-blue);
        }
        .restraint td:first-child{
            border-left:4px solid var(--mi-danger);
        } */
  }
  
  /* Accordion styles for mobile */
  @media (max-width: 600px) {
    .impact-table thead {
      display: none;
    }
    .impact-table,
    .impact-table tbody,
    .impact-table tr,
    .impact-table td {
      display: block;
      width: 100%;
    }
    .impact-table tr {
      margin-bottom: 1rem;
      border: 1px solid var(--mi-border);
      border-radius: 6px;
      overflow: hidden;
    }
    .impact-table td {
      border: none;
      border-bottom: 1px solid var(--mi-border);
      padding: 0.75rem;
    }
    .impact-table td:last-child {
      border-bottom: none;
    }
    .impact-table td::before {
      content: attr(data-label);
      display: block;
      font-weight: 300;
      text-transform: uppercase;
      font-size: 0.7rem;
      letter-spacing: 0.04em;
      margin-bottom: 0.25rem;
      color: #5a6776;
    }
  
    /* Accordion behavior */
    .accordion-row:not(.active) td:not(:first-child) {
      display: none;
    }
  
    .accordion-row td:not(:first-child) {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
    }
  
    .accordion-row.active td:not(:first-child) {
      max-height: 500px; /* enough to show all content */
    }
  }
  /* Accordion icon styling for mobile */
  @media (max-width: 600px) {
    .impact-table thead {
      display: none;
    }
  
    .impact-table,
    .impact-table tbody,
    .impact-table tr,
    .impact-table td {
      display: block;
      width: 100%;
    }
  
    .impact-table tr {
      margin-bottom: 1rem;
      border: 1px solid var(--mi-border);
      border-radius: 6px;
      overflow: hidden;
    }
  
    .impact-table td {
      border: none;
      border-bottom: 1px solid var(--mi-border);
      padding: 0.75rem;
    }
  
    .impact-table td:last-child {
      border-bottom: none;
    }
  
    .impact-table td::before {
      content: attr(data-label);
      display: block;
      font-weight: 300;
      text-transform: uppercase;
      font-size: 0.7rem;
      letter-spacing: 0.04em;
      margin-bottom: 0.25rem;
      color: #5a6776;
    }
  
    .accordion-row:not(.active) td:not(:first-child) {
      display: none;
    }
  
    .accordion-toggle {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
  
    .accordion-icon {
      font-size: 1rem;
      transition: transform 0.3s ease;
    }
  
    .accordion-row.active .accordion-icon {
      transform: rotate(180deg);
    }
  
    .accordion-row .accordion-icon {
      transform: rotate(0deg);
      transition: transform 0.3s ease;
    }
  
    .accordion-row.active .accordion-icon {
      transform: rotate(180deg);
    }
    .accordion-toogle-action:hover {
      cursor: pointer;
    }
  }
  

  .table-source, .table-note{
    font-family: regular_regular !important;
  }
  .table-note-source{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }

  /* ===========H tags change to P but design same design========== */
  .heading-2-in-p{
    font-size: 1.2rem;
    color: #195571 !important;
    font-family: "regular_bold";
    margin-bottom: 10px;
    margin-top: 2rem;
    font-weight: 300;
  }

  .heading-h4-in-p{
    text-align: left;
    font-family: "regular_semibold" !important;
    font-size: 1rem;
  }
  .impact-table abbr{
    text-decoration: none;
  }
  h2.component-heading{
    margin-bottom: 10px !important;
  }

  .key-take-ways-wrap{
    border-radius: 5px;
    padding: 10px 20px;
    /* padding-left: 35px; */
    background-color: #e6f4fe   ;                
    box-shadow: rgba(12, 37, 64, 0.35) 0px -3px 7px 0px inset;
    margin-left: 0;
 }

 .key-take-ways-wrap .component-subheading{
  padding-left: 0;
  margin-top: 0;
 }
  .key-take-ways-wrap li{
    margin-bottom: 10px;
  }
  .key-take-ways-wrap li:last-child{
    margin-bottom: 0;
  }