@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@100..900&family=Noto+Sans:wght@100..900&family=Noto+Sans+Arabic:wght@100..900&family=Noto+Sans+Khmer:wght@100..900&family=Noto+Sans+Thai:wght@100..900&family=Noto+Sans+SC:wght@100..900&display=swap');

/* Shared refresh typography. Only the refresh layouts load this stylesheet.
   Keep the scope explicit so legacy templates retain their original fonts. */
html.rr-refresh-page {
    --uat-body-font: 'Noto Sans', 'Noto Sans Arabic', 'Noto Sans Khmer', 'Noto Sans Thai', 'Noto Sans SC', 'Segoe UI', Arial, sans-serif;
    --uat-heading-font: 'Archivo', var(--uat-body-font);
    --uat-accent: #6A59FD;
    --rr-content-gutter: 72px;
    --rr-h1-size: 72px;
    --rr-h2-size: 32px;
}

@media (max-width: 1439.98px) {
    html.rr-refresh-page {
        --rr-h1-size: 56px;
        --rr-h2-size: 32px;
    }
}

@media (max-width: 999.98px) {
    html.rr-refresh-page {
        --rr-h1-size: 40px;
        --rr-h2-size: 24px;
    }
}

@media (max-width: 749.98px) {
    html.rr-refresh-page {
        --rr-h1-size: 32px;
        --rr-h2-size: 24px;
    }
}

/* Shared H2 scale for the new layouts, above page-specific size overrides. */
@layer rr-heading-scale {
    :where(html.rr-refresh-page) h2 {
        font-size: var(--rr-h2-size) !important;
    }
}

/* Shared content frame and prose. Pages opt in while keeping their own section
   layout, spacing and colours. Responsive frame sizes live in responsive-layout-new. */
:where(html.rr-refresh-page) .rr-content-frame {
    box-sizing: border-box;
    width: 100%;
    max-width: 1440px;
    margin-inline: auto;
    padding-inline: var(--rr-content-gutter);
}

:where(html.rr-refresh-page) .rr-prose {
    font: 400 16px/1.15 var(--uat-body-font);
    letter-spacing: normal;
}

:where(html.rr-refresh-page) .rr-prose :is(h1, h2, h3, h4, h5, h6) {
    color: inherit;
    text-transform: none;
}

:where(html.rr-refresh-page) .rr-prose h1 {
    font-size: var(--rr-h1-size);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -.02em;
    overflow-wrap: break-word;
}

:where(html.rr-refresh-page) .rr-prose h2 {
    font-size: var(--rr-h2-size);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: normal;
}

:where(html.rr-refresh-page) .rr-prose :is(p, li, span, strong) {
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

/* Keep the layout defaults separate from component styles. */
:where(html.rr-refresh-page) main:is(.rr-main, .home) {
    min-height: 470px;
}

:where(html.rr-refresh-page main:is(.rr-main, .home)) a {
    color: #171245;
}

:where(html.rr-refresh-page main:is(.rr-main, .home)) a:is(:hover, :active, :focus-visible) {
    color: var(--uat-accent);
}

:where(html.rr-refresh-page) .zcwf_col_fld_slt {
    height: 30px;
}

/* Element defaults for landing pages that do not load Bootstrap. */
:where(.rr-landing-no-bootstrap, .rr-landing-no-bootstrap *, .rr-landing-no-bootstrap *::before, .rr-landing-no-bootstrap *::after) {
    box-sizing: border-box;
}

:where(.rr-landing-no-bootstrap) body {
    margin: 0;
    color: #171245;
}

:where(.rr-landing-no-bootstrap) :is(h1, h2, h3, h4, h5, h6) {
    margin: 0 0 .5rem;
}

:where(.rr-landing-no-bootstrap) :is(p, ul, ol) {
    margin: 0 0 1rem;
}

:where(.rr-landing-no-bootstrap) :is(img, svg) {
    vertical-align: middle;
}

:where(.rr-landing-no-bootstrap) :is(button, input, select, textarea) {
    margin: 0;
    font: inherit;
}

:where(.rr-landing-no-bootstrap) :is([hidden], .d-none) {
    display: none !important;
}

/* Shared artwork from the refreshFeaturesDecoration media picker. */
.rr-feature-ribbon {
    --rr-feature-ribbon-width: clamp(140px, calc(29.87 * var(--rr-design-unit, 1vw)), 430px);
    position: absolute;
    top: var(--rr-feature-ribbon-top, 0px);
    left: 0;
    width: var(--rr-feature-ribbon-width);
    max-width: 100%;
    height: auto;
    pointer-events: none;
}

svg.rr-feature-ribbon {
    height: calc(var(--rr-feature-ribbon-width) / (var(--rr-ribbon-aspect)));
    overflow: hidden;
}

@media (max-width: 1439.98px) {
    /* Keep the ribbon behind the photo as the smaller content frames move inward. */
    .rr-feature-ribbon {
        width: calc(var(--rr-feature-ribbon-width) + max(0px, (100% - var(--rr-design-width, 1440px)) / 2));
    }
}

@media (min-width: 1440px) {
    .rr-feature-ribbon {
        left: max(0px, (100% - var(--rr-design-width, 1440px)) / 2);
    }
}

/* Low specificity lets component typography override these defaults.
   Name prose and controls explicitly because legacy CSS sets their fonts.
   Icon elements and pseudo-elements retain their own font faces. */
:where(html.rr-refresh-page) body,
:where(html.rr-refresh-page) input,
:where(html.rr-refresh-page) select,
:where(html.rr-refresh-page) textarea,
:where(html.rr-refresh-page) button,
:where(html.rr-refresh-page) p,
:where(html.rr-refresh-page) li,
:where(html.rr-refresh-page) dt,
:where(html.rr-refresh-page) dd,
:where(html.rr-refresh-page) blockquote,
:where(html.rr-refresh-page) figcaption,
:where(html.rr-refresh-page) label,
:where(html.rr-refresh-page) legend,
:where(html.rr-refresh-page) td,
:where(html.rr-refresh-page) th {
    font-family: var(--uat-body-font) !important;
}

:where(html.rr-refresh-page) h1,
:where(html.rr-refresh-page) h2,
:where(html.rr-refresh-page) h3,
:where(html.rr-refresh-page) h4,
:where(html.rr-refresh-page) h5,
:where(html.rr-refresh-page) h6 {
    font-family: var(--uat-heading-font) !important;
}

/* Center the visible wrapper when TinyMCE centers its table. */
html.rr-refresh-page :is(.rr-table, .rr-article__table):has(
    > table:is(
        [style*="margin-left: auto" i], [style*="margin-left:auto" i]
    ):is(
        [style*="margin-right: auto" i], [style*="margin-right:auto" i]
    )
),
html.rr-refresh-page :is(.rr-table, .rr-article__table):has(> table[align="center" i]) {
    margin-inline: auto;
}

/* CMS tables also use the first row as headings when thead is absent. */
html.rr-refresh-page main :is(
    table > thead > tr,
    table:not(:has(> thead)) > tbody:first-of-type > tr:first-child,
    table:not(:has(> thead)) > tr:first-child
) > :is(td, th),
html.rr-refresh-page main :is(
    table > thead > tr,
    table:not(:has(> thead)) > tbody:first-of-type > tr:first-child,
    table:not(:has(> thead)) > tr:first-child
) > :is(td, th) p {
    text-align: center !important;
}

/* Refresh accent for teal text inherited from shared site styles. */
:where(html.rr-refresh-page) .b-section-title .b-action-link,
:where(html.rr-refresh-page) .load-more-list,
:where(html.rr-refresh-page) .wrap-home .group-content .item .item-content .readmore,
:where(html.rr-refresh-page) .group-image-section .item .item-content .readmore,
:where(html.rr-refresh-page) .news-group .related-title,
:where(html.rr-refresh-page) .related-title,
:where(html.rr-refresh-page) .item .item-content .readmore,
:where(html.rr-refresh-page) .item-content-news .readmore,
:where(html.rr-refresh-page) .more,
:where(html.rr-refresh-page) .arrow-1,
:where(html.rr-refresh-page) .end-section a.readmore,
:where(html.rr-refresh-page) #mobile-landind-top-slider .news-item .readmore,
:where(html.rr-refresh-page) #insights-filter #clear-all a:hover,
:where(html.rr-refresh-page) #case-studies-wrap .item-content .readmore,
:where(html.rr-refresh-page) #newsCaseStudiesID .item-content .readmore,
:where(html.rr-refresh-page) .lastest-ip-news .item-content .readmore,
:where(html.rr-refresh-page) #serviceSectionController li,
:where(html.rr-refresh-page) .sliderSlickWrapPeople .slick-arrow::before,
:where(html.rr-refresh-page) .sliderSlickWrapRelatedCase .slick-arrow::before,
:where(html.rr-refresh-page) #people-search-result .slick-arrow::before,
:where(html.rr-refresh-page) .section-content .readmore,
:where(html.rr-refresh-page) .text .readmore,
:where(html.rr-refresh-page) .b-action-link {
    color: var(--uat-accent);
}

:where(html.rr-refresh-page) .item .item-content .title:hover {
    color: var(--uat-accent) !important;
}

@media (min-width: 3840px) {
    :where(html.rr-refresh-page) .wrap-home .group-content .item .item-content .readmore {
        color: var(--uat-accent);
    }
}

@media (max-width: 1600px) {
    :where(html.rr-refresh-page) #newsCaseStudiesID .item-content .readmore,
    :where(html.rr-refresh-page) #case-studies-wrap .item-content .readmore {
        color: var(--uat-accent);
    }
}

@media (max-width: 1366px) {
    :where(html.rr-refresh-page) #newsCaseStudiesID .item-content .readmore,
    :where(html.rr-refresh-page) #case-studies-wrap .item-content .readmore {
        color: var(--uat-accent);
    }
}

@media (max-width: 1024px) {
    :where(html.rr-refresh-page) .load-more-list {
        color: var(--uat-accent);
    }
}

@media (max-width: 768px) {
    :where(html.rr-refresh-page) #newsRoomId .item-content-news .readmore {
        color: var(--uat-accent);
    }
}

@media only screen and (-webkit-min-device-pixel-ratio: 2) {
    :where(html.rr-refresh-page) .more-home {
        color: var(--uat-accent);
    }
}

/* Selected search filters use the same removable tags across refresh pages. */
.rr-filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.rr-filter-tags[hidden] {
    display: none !important;
}

.rr-filter-tag {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    padding: 7.5px 10px;
    border-radius: 20px;
    background: #91eef0;
    color: #171245;
    font: 400 14px/1.05 var(--uat-body-font, 'Noto Sans', sans-serif);
    letter-spacing: -.03em;
    text-transform: uppercase;
}

.rr-filter-tag__label {
    overflow-wrap: anywhere;
}

.rr-filter-tag > .rr-filter-tag__remove {
    position: relative;
    flex: 0 0 16px;
    width: 16px;
    min-width: 0;
    height: 16px;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: inherit;
    cursor: pointer;
}

.rr-filter-tag__remove::before,
.rr-filter-tag__remove::after {
    content: '';
    position: absolute;
    top: 7px;
    left: 2px;
    width: 12px;
    border-top: 1px solid currentColor;
    transform: rotate(45deg);
}

.rr-filter-tag__remove::after {
    transform: rotate(-45deg);
}

.rr-filter-tag__remove:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}
