:root {
    --primary-color: #E6BA3C;
    --primary-color-dark: #8c6600;
}

.ir-home p, .ir-home h3, .ir-home h4 {
    margin: 0;
}

.ct-font-montagu {
    font-family: "Montagu Slab", serif;
}

.ct-font-title {
    font-family: "Montagu Slab", serif;
    text-align: center;
    font-size: 25px;
    margin-bottom: 100px;
    font-weight: 300;
}

a {
    color: black;
}

a:hover:not(.ir-button) {
    color: var(--primary-color);
}

.ct-footer a {
    color: white;
}

.ct-footer a:hover {
    color: var(--primary-color);
}

.ir-home h3 {
    font-size: 26px;
}

.d-none{
    display: none;
}

.stock-highlight {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #717176;
    color: white;
    gap: 18px;
    padding: 0.4rem 1rem;
}

.stock-highlight h4 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 0;
    color: white;
}

.stock-highlight p {
    font-size: 25px;
    margin-bottom: 0;
    color: white;
    font-weight: 300;
}

.stock-radius {
    display: flex;
    justify-content: center;
    flex-direction: row;
    background-color: #a6a6ab;
    padding: 0.4rem 1rem;
}

.stock-radius p {
    color: white;
}

.stock-radius p::after {
    content: "|";
    display: inline-block;
    margin-left: 8px;
    margin-right: 8px;
    color: white;
}


.stock-radius p:last-child::after {
    content: "";
}

.stock-quotes-update {
    font-size: 12px;
}

.news-calendar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    background-color: var(--primary-color);
    color: #000;
    min-width: 90px;
}

.news-calendar p {
    font-size: 12px;
    font-weight: bold;
}

.news-calendar .calendar-day {
    font-size: 1.5rem;
    line-height: 1;
}

.news-calendar p {
    margin: 0;
    text-align: center;
}

.publication-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 30px 0 20px;
}

.publication-card img {
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.15);
    margin-bottom: 1rem;
}

.publication-card a {
    margin: 0;
    color: black;
    font-weight: 700;
}

.publication-card p {
    color: #333;
}

.email-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ir-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #0a0500;
    color: white;
    border-radius: 50px;
    padding: 15px 25px !important;
    font-size: 15px !important;
    justify-content: center;
}

.ir-button.ir-button-primary {
    background-color: var(--primary-color);
    font-weight: bold;
    color: black;
}

.ir-button:hover {
    color: white;
    cursor: pointer;
}

.ir-button.ir-button-primary:hover {
    color: black;
}

.currency-button {
    background-color: #D3D3D3;
    padding: 0.4rem 1.5rem;
    cursor: pointer;
}

.currency-button span {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
}

.currency-button span::before {
    content: "";
    display: inline-block;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-image: url("/assets/imgs/icon-sg.png");
    background-repeat: no-repeat;
    transform: translateY(4px);
    margin-right: 8px;
}

.currency-button.hk span::before {
    background-image: url("/assets/imgs/icon-hk.png");
}

.currency-button.active {
    background-color: var(--primary-color);
}

.stock-information {
    display: flex;
    flex-direction: column;
}

.stock-information p {
    margin: 0;
    font-size: 12px;
}

.stock-information-table tr:nth-child(odd) {
    background-color: hsla(0,0%,50.2%,.07058823529411765);
}

.stock-information-table tr:nth-child(even) {
    background-color: #eeeeee;
}

.stock-information-table th {
    background-color: #949283;
    color: #fff;
}

.stock-information-table td, .stock-information-table th {
    font-size: 14px;
    padding: 7px;
    border: 1px solid #949283;
}

.include-strength-summary-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.include-strength-summary-title span {
    font-size: 21px;
    font-weight: 700;
}

@media only screen and (max-width: 600px) {
    .include-strength-summary-title span {
        font-size: 13px;
        font-weight: 700;
    }

    .include-strength-description p {
        font-size: 15px;
        text-align: center;
    }
}

.document-table {
    border: none;
}

.document-table th {
    font-size: 20px;
    font-weight: bold;
    padding: 15px;
    background-color: var(--primary-color);
    border: none;
    color: black;
}

.document-table td {
    font-weight: bold;
    padding: 15px;
    border: none;
    border-bottom: 1px solid black;
}

.ir_stock_table.ir_tableBorder {
    border: none;
}

.ir_stock_table.ir_tableBorder .half_width {
    border-left: 1px solid #c9c9c9;
}

.ir_stock_table.ir_tableBorder .cellHeader {
    background-color: #414141;
    color: white;
    text-align: left;
}

.ir_stock_table.ir_tableBorder td {
    padding: 10px;
    font-weight: bold;
    border-bottom: 1px solid #949283;
    border-left: none;
    border-right: none;
}

table.highlights_table{
    border-radius: 12px;
    margin-bottom: 32px;;
}

table.highlights_table tr th {
    text-align: center;
    font-weight: bold;
    padding: 24px 12px;
    background-color: var(--primary-color);
    color: #0a0500;
}

table.highlights_table tr th, table.highlights_table tr td {
    text-align: center;
 }

table.highlights_table tr:nth-child(odd) {
    background-color: hsla(0,0%,50.2%,.07058823529411765);
}

.ir_textSubHighlight {
    color: #666;
}

.ir_textFootnote > p {
    margin-bottom: 15px;
}

.ir_textFootnote ol {
    list-style: lower-alpha;
    font-size: 14px;
    color: #333;
} 

h3.margin_stock {
    margin: 8px 0 23px;
}

.ir_table.ir_table_email {
    border: none;
}

.ir_table.ir_table_email tr td:first-child {
    width: 150px;
}

.ir_table.ir_table_email tr td input, .ir_table.ir_table_email tr td select {
    width: 50%;
}

.ct-image-grayscale {
    transition: all 0.3s ease-in-out;
}

.ct-image-grayscale:hover {
    filter: none;
}

/* utilities */
.ct-text-primary {
    color: #0a0500;
}

.ct-image-grayscale {
    filter: grayscale(1) brightness(2);
}

/* additional 17/10/2025*/
.process-wrapper {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  margin: auto;
  gap: 20px;
  position: relative;
}

.process-step {
  background-color: var(--primary-color);
  flex: 1 1 22%;
  color: #333;
  flex-shrink: 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: start;
  position: relative;
  align-items: stretch;
}

.step-header {
  background: #fff;
  padding: 15px;
  width: 100%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  position: relative;
}

.step-detail {
  padding: 20px;
}

.step-header img {
  width: 80px;
  height: auto;
  margin: 0 auto 10px;
}

.step-header .step-title {
  margin: 0 0 10px;
  font-size: 24px;
  color: #000;
  font-weight: 700;
  text-align: center;
}

.process-step p {
  margin: 0;
}

.arrow {
  position: absolute;
  top: 20%;
  right: -30px;
  transform: translateY(-50%);
  background: var(--primary-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.arrow svg {
  width: 16px;
  height: 16px;
  fill: #fff;
}

.title-bigger{
    font-size: 30px;
}

table.ir_table_history tr.rowHeader th{
    background: #fdfdd7;
    color: #0a0500;
}

@media (max-width: 1177px) {
  .process-step {
    flex: 1 1 48%;
  }
}

@media (max-width: 768px) {
  .process-step {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    flex: 1 1 100%;
  }

  .step-header {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    padding: 10px;
  }

  .step-header img{
    width: 70%;
  }

  .step-detail {
    flex: 2;
    display: flex;
    align-items: center;
    padding: 10px 15px;
    text-align: left;
  }
  .arrow {
    align-self: center;
    margin-left: 10px;
    top: 100%;
    right: 79%;
  }
  .arrow svg{
    transform: rotate(90deg);
  }
}





@media screen and (max-width: 480px) {    
    .document-table th {
        display: none;
    }

    .document-table tr {
        display: flex;
        flex-direction: column;
    }

    .document-table tr td > div {
        display: flex;
        justify-content: flex-start;
    }

    .document-table td {
        width: 100%;
        border-bottom: none;
    }

    .ir_table.ir_table_email tr td:first-child {
        width: 130px;
    }

    .ir_table.ir_table_email tr td input, .ir_table.ir_table_email tr td select {
        width: 100%;
    }

    table.highlights_table{
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .ct-font-title {
        font-size: 18px;
    }
}
