/* submenu */
.financial-submenu {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}
.financial-submenu {
  margin-bottom: 50px;
}
.financial-submenu .menu-item {
  display: block;
  margin: 0 20px;
  background: #e8e8e8 !important;
  border-radius: 22px !important;
  padding: 11px 22px 11px 22px !important;
  border: 1px solid #e8e8e8 !important;
  min-width: 200px;
  display: flex;
  justify-content: center;
}
.financial-submenu .menu-item:hover {
  font-weight: bold;
  background: #ec1d23 !important;
  border: 1px solid #ec1d23 !important;
  cursor: pointer;
}
.financial-submenu .current-menu-item {
  font-weight: bold;
  background: #ec1d23 !important;
  border: 1px solid #ec1d23 !important;
}
.financial-submenu a,
.financial-submenu a:visited {
  color: #000;
  text-decoration: none;
}
.financial-submenu .current-menu-item span {
  color: #fff !important;
}
.financial-submenu .menu-item:hover span {
  color: #fff !important;
}
.financial-submenu .menu-item span {
  font-size: 14px;
}

/* financial highlights */
.static-iframe.financial-highlights .chart-item canvas {
  height: 300px !important;
}
/*  */
.static-iframe.financial-highlights .chart-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 24px; /* real spacing control */
  row-gap: 42px;
  width: 100%;
}
/* Keep items smaller */
.static-iframe.financial-highlights .chart-item {
  width: 70%;
  height: 300px;
  margin: 0 20px;
}
/* LEFT column → push chart to the RIGHT */
.static-iframe.financial-highlights .chart-item:nth-child(odd) {
  justify-self: end;
}
/* RIGHT column → push chart to the LEFT */
.static-iframe.financial-highlights .chart-item:nth-child(even) {
  justify-self: start;
}
.financial-highlights .ir-note {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  margin-left: -11%;
}
.financial-highlights .ir-note p {
  font-size: 14px;
}
body .financial-submenu ::selection {
  background: transparent;
}
.financial-submenu ::selection {
  color: #000;
}

/* ------------------------------------------------ operational information  */
.financial-submenu.operational-submenu .menu-item {
  min-width: 280px;
}
.operational-container {
  width: 50%;
}
.operational-top {
  display: flex;
  width: 100%;
}
.operational-top .operational-header {
  width: 50%;
  display: flex;
  align-items: center;
}
.operational-top .operational-card {
  width: 50%;
}
.bbfb-import-shortcode.bb_footer_import_shortcode:has(.operational-container) {
  display: flex;
  justify-content: center;
}
/* header */
.operational-container h3 {
  text-align: center;
  font-weight: bold;
  color: #4b4b4b;
  padding: 10px 0px;
  font-size: 38px;
}
.operational-container h3 span {
  font-size: 20px;
  display: block;
  margin-bottom: -30px;
}
.operational-container h3 span::after {
  content: "";
  display: block;
  width: 180px;
  height: 2px;
  background: currentColor;
  margin: 0 auto 0;
}
.operational-container .operational-card #planted-chart {
  margin-top: 50px;
}

/* ------------------------------------------------------ oil palm age profile */
.bbfb-import-shortcode.bb_footer_import_shortcode:has(.oil-palm-wrapper) {
  display: flex;
  justify-content: center;
}
.oil-palm-table {
  margin-top: 30px;
}
.oil-palm-table th {
  background-color: #ed1c24;
  text-align: center;
  color: #fff;
  padding: 15px 02px;
  font-size: 16px;
  line-height: 22px;
  border-right: 1px solid #e8e8e8;
  font-weight: 600;
}
.oil-palm-table tbody tr:first-child {
  background: #ffffff;
}
.oil-palm-table tbody tr:last-child {
  background: #f3eeea;
}
.oil-palm-wrapper .opap-note li {
  font-size: 16px;
  color: grey;
}
.oil-palm-table td {
  color: grey;
  text-align: center;
}
.oil-palm-chart-inner {
  height: 420px;
}

/* ------------------------------------------------------ kay operational parameters */
.bbfb-import-shortcode.bb_footer_import_shortcode:has(
    .key-operational-parameters
  ) {
  display: flex;
  justify-content: center;
}
.key-operational-parameters .kop-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 24px; /* real spacing control */
  row-gap: 42px;
  width: 100%;
}
.key-operational-parameters .kop-grid .kop-card {
  min-width: 400px;
  height: 350px;
  margin: 0 30px;
}
.key-operational-parameters .kop-grid .kop-card canvas {
  height: 300px !important;
}
.key-operational-parameters .kop-text {
  margin-top: 50px;
}
.key-operational-parameters .chart-header {
  text-align: center;
  margin-bottom: 10px;
}
.key-operational-parameters .chart-header h3 {
  color: grey;
  font-weight: normal;
  margin-bottom: 0;
  font-size: 20px;
}

/* ------------------------------------------------------------------------ mobile responsive */
@media (max-width: 768px) {
  .static-iframe.financial-highlights .chart-grid {
    display: flex;
    flex-direction: column;
  }
  .static-iframe.financial-highlights .chart-item {
    width: 90%;
    height: 300px;
  }
  .static-iframe.financial-highlights canvas {
    height: 300px !important;
  }
  .financial-highlights .ir-note {
    margin-left: 15px;
  }
  .key-highlights-wrapper {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -16px;
  }
  .financial-submenu {
    margin: 30px 0 0;
  }

  /* operational information */
  .operational-container {
    width: 100%;
  }
  .operational-top {
    flex-direction: column;
    align-items: center;
  }
  .operational-top .operational-header,
  .operational-top .operational-card {
    width: 100%;
    justify-content: center;
  }

  /* oil palm */
  .oil-palm-chart-inner {
    height: 420px;
  }
  .oil-palm-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
  }

  /* parameter */
  .key-operational-parameters .kop-grid {
    display: flex;
    flex-direction: column;
    width: 50%;
  }
  .key-operational-parameters .kop-text {
    width: 90%;
    margin-left: 25px;
  }
  .key-operational-parameters .kop-grid .kop-card {
    min-width: 350px;
  }
}

/* --------remove later when live*/
.ir-home-div > .ir-home-item:first-child:hover {
  background-color: #e5e5e5;
}
.ir-home-div > .ir-home-item:first-child:hover h3 {
  color: #4b4b4b;
}
.owl-company-top a[href*="/investor-relations/stock-information/"],
.fmenu3 a[href*="/investor-relations/stock-information/"] {
  pointer-events: none;
  cursor: not-allowed;
}
#menu-item-4972 > a {
  pointer-events: none;
}
/* --------------- fix owl */
.owl-company-top a {
  text-decoration: none;
}
