/* YFG Prestige 2026 brand-manual alignment.
 * Loaded last so the approved colour, typography, icon, imagery and spacing
 * tokens govern the public site without rewriting Breakdance content. */

@font-face {
  font-family: "YFG Source Han Serif SC";
  src: url("assets/fonts/SourceHanSerifSC-Regular-site.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "YFG Source Han Serif TC";
  src: url("assets/fonts/SourceHanSerifTC-Regular-site.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "YFG Source Han Sans SC";
  src: url("assets/fonts/SourceHanSansSC-Regular-site.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --yfg-brand-ink: #172436;
  --yfg-brand-navy: #172436;
  --yfg-brand-deep: #172436;
  --yfg-brand-copper: #8f5a39;
  --yfg-brand-gold: #d6b98c;
  --yfg-brand-sun: #edcc4d;
  --yfg-brand-paper: #f5f5f6;
  --yfg-brand-surface: #fbfbfb;
  --yfg-brand-white: #ffffff;
  --yfg-brand-rule: rgba(23, 36, 54, 0.18);
  --yfg-brand-muted: rgba(23, 36, 54, 0.72);
  /* Optima leads each mixed-language stack for Latin letters and numerals.
   * The bundled Source Han faces then supply Chinese glyphs with a consistent
   * ascent, descent and baseline. Licensed Hanyi/Fangzheng sources can replace
   * the Chinese faces later without changing these role names. */
  --yfg-font-latin: Optima, "Optima nova", "Avenir Next", Avenir;
  --yfg-font-title-cn: var(--yfg-font-latin), "YFG Source Han Serif SC", "YFG Hanyi XuanSong 55S", "Hanyi XuanSong 55S", "Songti SC", serif;
  --yfg-font-title-tc: var(--yfg-font-latin), "YFG Source Han Serif TC", "YFG Hanyi XuanSong 55S", "Hanyi XuanSong 55S", "Songti TC", serif;
  --yfg-font-body-cn: var(--yfg-font-latin), "YFG Source Han Sans SC", "YFG FZ LantingHei", "FZLanTingHei", "PingFang SC", sans-serif;
  --yfg-font-body-tc: var(--yfg-font-latin), "YFG Source Han Sans SC", "YFG FZ LantingHei", "FZLanTingHei", "PingFang TC", sans-serif;
  --yfg-font-en: var(--yfg-font-latin), sans-serif;
  --yfg-font-title: var(--yfg-font-en);
  --yfg-font-body: var(--yfg-font-en);
  --yfg-font-numeral: var(--yfg-font-en);
  --yfg-wide-width: 1440px;
  --yfg-content-shell-width: 1320px;
  --yfg-content-width: 1240px;
  --yfg-reading-width: 780px;
  --yfg-grid-gap: clamp(24px, 2.4vw, 36px);
  --yfg-page-gutter: clamp(22px, 4vw, 40px);
  --yfg-space-1: 8px;
  --yfg-space-2: 12px;
  --yfg-space-3: 20px;
  --yfg-space-4: 32px;
  --yfg-space-5: 48px;
  --yfg-space-6: 72px;
  --yfg-space-7: 96px;
  --yfg-section-space: clamp(72px, 7vw, 96px);
}

body.yfg-design-layer {
  /* One language-aware role system also powers older page-specific variable
   * names. This keeps the cascade predictable while Breakdance markup remains
   * untouched. */
  --yfg-font-title: var(--yfg-font-en);
  --yfg-font-body: var(--yfg-font-en);
  --yfg-type-serif: var(--yfg-font-title);
  --yfg-type-sans: var(--yfg-font-body);
  --yfg-nav-serif: var(--yfg-font-body);
  --yfg-refine-font: var(--yfg-font-body);
  --yfg-service-serif: var(--yfg-font-title);
  --yfg-service-sans: var(--yfg-font-body);
  --yfg-comp-serif: var(--yfg-font-title);
  --yfg-comp-sans: var(--yfg-font-body);
  --yfg-news-serif: var(--yfg-font-title);
  --yfg-news-sans: var(--yfg-font-body);
  --yfg-contact-serif: var(--yfg-font-title);
  --yfg-contact-sans: var(--yfg-font-body);
  --yfg-production-serif: var(--yfg-font-title);
  --yfg-production-sans: var(--yfg-font-body);
  --yfg-home-title-font: var(--yfg-font-title);

  --yfg-type-navy: var(--yfg-brand-navy);
  --yfg-type-copy: var(--yfg-brand-muted);
  --yfg-production-heading: var(--yfg-brand-navy);
  --yfg-production-copy: var(--yfg-brand-muted);
  --yfg-production-muted: var(--yfg-brand-muted);
  --yfg-refine-navy: var(--yfg-brand-navy);
  --yfg-refine-gold: var(--yfg-brand-copper);
  --yfg-refine-gold-hover: var(--yfg-brand-deep);
  --yfg-refine-hairline: var(--yfg-brand-rule);
  --yfg-refine-muted: var(--yfg-brand-muted);
  --yfg-service-navy: var(--yfg-brand-navy);
  --yfg-service-gold: var(--yfg-brand-copper);
  --yfg-service-copy: var(--yfg-brand-muted);
  --yfg-service-hairline: var(--yfg-brand-rule);
  --yfg-news-navy: var(--yfg-brand-navy);
  --yfg-news-deep-navy: var(--yfg-brand-deep);
  --yfg-news-copper: var(--yfg-brand-copper);
  --yfg-news-champagne: var(--yfg-brand-gold);
  --yfg-news-copy: var(--yfg-brand-muted);
  --yfg-news-muted: var(--yfg-brand-muted);
  --yfg-news-line: var(--yfg-brand-rule);
  --yfg-news-canvas: var(--yfg-brand-white);
  --yfg-comp-navy: var(--yfg-brand-navy);
  --yfg-comp-deep: var(--yfg-brand-deep);
  --yfg-comp-copper: var(--yfg-brand-copper);
  --yfg-comp-champagne: var(--yfg-brand-gold);
  --yfg-comp-copy: var(--yfg-brand-muted);
  --yfg-comp-muted: var(--yfg-brand-muted);
  --yfg-comp-line: var(--yfg-brand-rule);
  --yfg-comp-canvas: var(--yfg-brand-white);
  --yfg-contact-navy: var(--yfg-brand-navy);
  --yfg-contact-copper: var(--yfg-brand-copper);
  --yfg-contact-ink: var(--yfg-brand-ink);
  --yfg-contact-copy: var(--yfg-brand-muted);
  --yfg-contact-line: var(--yfg-brand-rule);
  --yfg-contact-mist: var(--yfg-brand-paper);
  --yfg-social-navy: var(--yfg-brand-navy);
  --yfg-social-gold: var(--yfg-brand-copper);
  --yfg-home-title-color: var(--yfg-brand-copper);
  --yfg-home-title-color-inverse: var(--yfg-brand-gold);

  color: var(--yfg-brand-ink);
  background: var(--yfg-brand-white);
  font-family: var(--yfg-font-body);
  font-synthesis: none;
}

html[lang^="zh"] body.yfg-design-layer {
  --yfg-font-title: var(--yfg-font-title-cn);
  --yfg-font-body: var(--yfg-font-body-cn);
}

html[lang="zh-HK"] body.yfg-design-layer,
html[lang="zh-TW"] body.yfg-design-layer {
  --yfg-font-title: var(--yfg-font-title-tc);
  --yfg-font-body: var(--yfg-font-body-tc);
}

html[lang^="zh"] body.yfg-design-layer,
html[lang^="zh"] body.yfg-design-layer :where(p, li, label, input, textarea, select, button, .bde-text, .bde-rich-text) {
  font-family: var(--yfg-font-body) !important;
}

body.yfg-design-layer :where(h1, h2, h3, h4, h5, h6, .bde-heading) {
  color: var(--yfg-brand-navy);
  font-family: var(--yfg-font-title) !important;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.005em !important;
  text-wrap: balance;
}

/* The shared Breakdance footer template carries page-specific legacy heading
 * colours. Keep every footer heading on the single approved navy. */
body.yfg-design-layer.breakdance .bde-section-1998-265 :where(
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  .bde-heading
) {
  color: var(--yfg-brand-navy) !important;
}

html[lang^="zh"] body.yfg-design-layer :where(h1, h2, h3, h4, h5, h6, .bde-heading) {
  font-family: var(--yfg-font-title) !important;
  letter-spacing: 0.02em !important;
  line-height: 1.32 !important;
}

body.yfg-design-layer :where(p, li, .bde-text, .bde-rich-text) {
  color: var(--yfg-brand-ink);
  line-height: 1.72;
}

body.yfg-design-layer :where(a, button, input, textarea, select) {
  font-family: var(--yfg-font-body);
}

/* Navigation and utility controls are body roles. Dates, years and counters
 * retain Optima in every language. */
body.yfg-design-layer :where(
  .bde-header-builder .breakdance-menu-link,
  .breakdance-dropdown-column__title,
  .breakdance-dropdown-link,
  .trp-language-item-name,
  .button-atom__text,
  .footer-link
) {
  font-family: var(--yfg-font-body) !important;
  letter-spacing: 0.015em !important;
}

/* Breakdance's header template ships a more specific retired serif rule.
 * Keep public navigation and utility controls on the current body role. */
body.yfg-design-layer.breakdance .bde-header-builder-1931-100 :is(
  .breakdance-menu-link,
  .breakdance-dropdown-column__title,
  .breakdance-dropdown-link,
  .breakdance-dropdown-link__label,
  .breakdance-dropdown-link__text,
  .trp-language-item-name,
  .button-atom__text
) {
  color: var(--yfg-brand-navy) !important;
  font-family: var(--yfg-font-body) !important;
}

body.yfg-design-layer.breakdance .bde-header-builder-1931-100 :is(
  .bde-button__button,
  .bde-icon-icon,
  .trp-shortcode-switcher,
  .trp-language-item,
  .trp-language-item__current,
  .trp-shortcode-arrow
) {
  color: var(--yfg-brand-navy) !important;
}

/* Desktop navigation and utility controls use copper only as an interaction
 * signal. No fill, outline or underline is introduced. */
@media (min-width: 1120px) {
  body.yfg-design-layer.breakdance .bde-header-builder-1931-100 :is(
    .breakdance-menu-link,
    .breakdance-dropdown-link,
    .bde-button__button,
    .bde-icon-icon,
    .trp-language-item,
    .trp-language-item__current
  ) {
    transition: color 180ms ease !important;
  }

  body.yfg-design-layer.breakdance .bde-header-builder-1931-100 :is(
    .breakdance-menu-link,
    .breakdance-dropdown-link,
    .bde-button__button,
    .bde-icon-icon,
    .trp-language-item,
    .trp-language-item__current
  ):is(:hover, :focus-visible),
  body.yfg-design-layer.breakdance .bde-header-builder-1931-100
    .breakdance-menu-link[aria-expanded="true"] {
    color: var(--yfg-brand-copper) !important;
  }

  body.yfg-design-layer.breakdance .bde-header-builder-1931-100
    .trp-current-language-item__wrapper:is(:hover, :focus-within)
    :is(.trp-language-item-name, .trp-shortcode-arrow) {
    color: var(--yfg-brand-copper) !important;
  }

  body.yfg-design-layer.breakdance .bde-header-builder-1931-100
    .trp-current-language-item__wrapper:is(:hover, :focus-within)
    .trp-shortcode-arrow path {
    stroke: var(--yfg-brand-copper) !important;
  }
}

body.yfg-design-layer.breakdance .bde-header-builder-1931-100
  .bde-icon-icon svg path {
  fill: currentColor !important;
}

body.yfg-design-layer.breakdance .bde-header-builder-1931-100
  .trp-shortcode-arrow path {
  stroke: currentColor !important;
}

/* Breakdance emits the mega-menu and footer template rules after plugin CSS.
 * Match those template paths so retired blue/copper values cannot re-enter the
 * public cascade. */
body.yfg-design-layer.breakdance
  .bde-header-builder-1931-100
  .bde-menu-1931-112
  .bde-menu-dropdown-1931-114
  :is(
    .breakdance-dropdown-link,
    .breakdance-dropdown-link__label,
    .breakdance-dropdown-link__text
  ) {
  color: var(--yfg-brand-navy) !important;
  font-family: var(--yfg-font-body) !important;
}

body.yfg-design-layer.breakdance
  .bde-header-builder-1931-100
  .bde-menu-1931-112
  .bde-menu-dropdown-1931-114
  :is(.breakdance-dropdown-section, .breakdance-dropdown-column) {
  border-color: var(--yfg-brand-rule) !important;
}

body.yfg-design-layer.breakdance .bde-section-1998-265 {
  border-top-color: var(--yfg-brand-copper) !important;
}

body.yfg-design-layer.breakdance .bde-section-1998-265 .footer-link {
  color: var(--yfg-brand-muted) !important;
  font-family: var(--yfg-font-body) !important;
}

/* The footer copyright element has an element-level legacy Inter declaration.
 * Match that template element directly so Latin copy and the copyright year on
 * Chinese routes continue to use the Optima-led mixed-language body stack. */
html[lang^="zh"] body.yfg-design-layer.breakdance
  .bde-section-1998-265 .bde-text-1998-295 {
  font-family: var(--yfg-font-body) !important;
  font-synthesis: none !important;
}

body.yfg-design-layer :where(
  time,
  .yfg-article-date,
  .bde-post-meta,
  .yfg-vtl-year,
  [data-yfg-number]
) {
  font-family: var(--yfg-font-numeral) !important;
  font-variant-numeric: lining-nums tabular-nums;
}

body.page-id-1795.yfg-design-layer .bde-post-loop-1795-148 .bde-post-meta-25-108,
body.page-id-216.yfg-design-layer .bde-post-loop-216-121 .bde-post-meta-25-108 {
  font-family: var(--yfg-font-numeral) !important;
  font-variant-numeric: lining-nums tabular-nums;
}

body.yfg-design-layer.single-post .bde-heading-17-104,
body.yfg-design-layer.single-post .bde-rich-text-17-106 :where(h2, h3, h4, h5, h6) {
  color: var(--yfg-brand-ink) !important;
  font-family: var(--yfg-font-title) !important;
  letter-spacing: 0.005em !important;
}

body.yfg-design-layer:is(.page-id-1795, .page-id-216, .page-id-18) :where(
  .bde-heading-1795-101,
  .bde-heading-25-154,
  .bde-heading-216-104,
  .bde-heading-18-101
) {
  font-family: var(--yfg-font-title) !important;
  letter-spacing: 0.005em !important;
}

body.page-id-1795.yfg-design-layer .bde-post-loop-1795-148 .bde-heading-25-154 {
  letter-spacing: 0.005em !important;
}

html[lang^="zh"] body.yfg-design-layer.single-post .bde-heading-17-104,
html[lang^="zh"] body.yfg-design-layer.single-post .bde-rich-text-17-106 :where(h2, h3, h4, h5, h6),
html[lang^="zh"] body.yfg-design-layer:is(.page-id-1795, .page-id-216, .page-id-18) :where(
  .bde-heading-1795-101,
  .bde-heading-25-154,
  .bde-heading-216-104,
  .bde-heading-18-101
) {
  letter-spacing: 0.02em !important;
}

html[lang^="zh"] body.page-id-1795.yfg-design-layer .bde-post-loop-1795-148 .bde-heading-25-154 {
  letter-spacing: 0.02em !important;
}

body.yfg-design-layer :where(a, button, [role="button"]):focus-visible {
  outline: 2px solid var(--yfg-brand-navy);
  outline-offset: 3px;
}

body.yfg-design-layer :where(.bde-button, .button-atom, button[type="submit"], input[type="submit"]) {
  min-height: 44px;
  border-radius: 2px !important;
  letter-spacing: 0.035em;
}

body.yfg-design-layer :where(.bde-button, .button-atom, button[type="submit"], input[type="submit"]):not(.is-secondary) {
  border-color: var(--yfg-brand-copper) !important;
}

body.yfg-design-layer :where(.section-container, .bde-section > .section-container) {
  max-width: var(--yfg-content-width);
}

body.yfg-design-layer :where(.bde-columns, .bde-div, .bde-grid) {
  column-gap: var(--yfg-grid-gap);
}

/* Photography uses the manual's 16:9 editorial crop and natural colour. */
body.yfg-design-layer img[src*="/yfg-brand-images/"]:not([src*="licence"]) {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9 !important;
  object-fit: cover !important;
  object-position: 62% 50%;
  filter: saturate(0.94) contrast(0.98);
}

/* The licence is a document, so it remains uncropped and legible. */
body.yfg-design-layer img[src*="yfg-broker-licence"] {
  height: auto !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  filter: none !important;
}

/* Consistent 2px line-icon presentation with rectangular endpoints. */
body.yfg-design-layer :where(.yfg-service-capability-grid, .yfg-service-grid) :where(svg, img[src*="/yfg-service-icons/"]) {
  width: 38px !important;
  height: 38px !important;
  padding: 0 !important;
  border-radius: 0 !important;
  color: var(--yfg-brand-navy) !important;
  background: transparent !important;
}

body.yfg-design-layer :where(.yfg-service-capability-grid, .yfg-service-grid) svg :where(path, line, polyline, circle, rect) {
  stroke: currentColor !important;
  stroke-width: 2px !important;
  stroke-linecap: square !important;
  stroke-linejoin: miter !important;
}

body.yfg-design-layer :where(.yfg-service-capability-grid, .yfg-service-grid) :where(.card, article, li) {
  border-color: var(--yfg-brand-rule) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* News/compliance controls share one restrained field system. */
body.yfg-design-layer :where(.wpgb-facet input, .wpgb-facet select, .wpgb-facet button, input[type="text"], input[type="email"], textarea) {
  color: var(--yfg-brand-ink) !important;
  background: var(--yfg-brand-white) !important;
  border-color: var(--yfg-brand-rule) !important;
  border-radius: 0 !important;
}

body.yfg-design-layer :where(.wpgb-facet button, button[type="submit"]):hover {
  color: var(--yfg-brand-white) !important;
  background: var(--yfg-brand-navy) !important;
  border-color: var(--yfg-brand-navy) !important;
}

.yfg-compliance-disclaimer {
  width: min(100%, var(--yfg-reading-width));
  margin: 36px auto 0;
  padding: 18px 20px;
  color: var(--yfg-brand-ink);
  background: var(--yfg-brand-paper);
  border-left: 2px solid var(--yfg-brand-copper);
  font-size: 14px;
  line-height: 1.7;
}

/* Bright editorial heroes: navy type remains readable in the pale left field. */
body.yfg-design-layer.breakdance :is(
  .bde-heading-21-102,
  .bde-heading-3-104,
  .bde-heading-824-109,
  .bde-heading-1367-101,
  .bde-heading-1795-101,
  .bde-heading-18-101,
  .bde-heading-13-101,
  .bde-heading-289-101,
  .bde-heading-301-101,
  .bde-heading-309-102,
  .bde-heading-344-101,
  .bde-heading-361-101,
  .bde-heading-715-101,
  .bde-heading-1287-101,
  .bde-heading-216-104
) {
  color: var(--yfg-brand-navy) !important;
  text-shadow: none !important;
}

body.yfg-design-layer.breakdance :is(
  .bde-section-21-100,
  .bde-section-3-103,
  .bde-section-824-108,
  .bde-section-1367-100,
  .bde-section-1795-100,
  .bde-section-18-100,
  .bde-section-13-100,
  .bde-section-289-100,
  .bde-section-301-100,
  .bde-section-309-101,
  .bde-section-344-100,
  .bde-section-361-100,
  .bde-section-715-100,
  .bde-section-1287-100,
  .bde-section-216-103
) > .section-background-overlay {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 58%) !important;
  opacity: 1 !important;
}

/* Shared page rhythm. The hero keeps its own composition; content areas use
 * the same 1240px content grid, side gutter and vertical spacing scale. */
body.page-id-1795.yfg-design-layer .bde-section-1795-139 > .section-container,
body.page-id-216.yfg-design-layer .bde-section-216-105 > .section-container {
  width: min(100%, var(--yfg-content-shell-width)) !important;
  max-width: var(--yfg-content-shell-width) !important;
  padding-top: var(--yfg-space-6) !important;
  padding-bottom: var(--yfg-space-6) !important;
  padding-right: var(--yfg-page-gutter) !important;
  padding-left: var(--yfg-page-gutter) !important;
}

body.page-id-18.yfg-design-layer .bde-section-18-149 > .section-container {
  width: min(calc(100% - 80px), var(--yfg-content-width)) !important;
  max-width: var(--yfg-content-width) !important;
  padding-top: var(--yfg-space-6) !important;
  padding-bottom: var(--yfg-space-6) !important;
}

body.yfg-design-layer :where(
  .bde-post-loop .bde-loop-item,
  .bde-icon-box,
  .yfg-service-capability-grid article,
  .yfg-service-capability-grid li
) {
  border-color: var(--yfg-brand-rule) !important;
  border-radius: 0 !important;
}

/* Homepage services use the same light daylight direction as the page heroes. */
body.yfg-shell.yfg-design-layer .bde-section-24-325 {
  --yfg-service-navy: var(--yfg-brand-navy);
  --yfg-service-card: rgba(255, 255, 255, 0.56);
  --yfg-service-card-hover: rgba(255, 255, 255, 0.7);
  --yfg-service-card-gold: var(--yfg-brand-copper);
  --yfg-service-card-gold-strong: var(--yfg-brand-copper);
  --yfg-service-card-ink: var(--yfg-brand-navy);
  --yfg-service-card-copy: rgba(23, 36, 54, 0.76);
  --yfg-mobile-service-gold-soft: var(--yfg-brand-copper);
  --yfg-mobile-service-copy: var(--yfg-brand-muted);
  --yfg-mobile-service-rule: var(--yfg-brand-rule);
  background:
    linear-gradient(90deg, rgba(245, 245, 246, 0.96), rgba(245, 245, 246, 0.76) 46%, rgba(245, 245, 246, 0.24)),
    url("yfg-service-backgrounds/yfg-advisory-boardroom-hong-kong-v1.jpg") center 52% / cover no-repeat !important;
  border-block-color: var(--yfg-brand-rule) !important;
  box-shadow: none !important;
}

body.yfg-shell.yfg-design-layer .bde-section-24-325 .bde-heading-24-326.bde-heading,
body.yfg-shell.yfg-design-layer .bde-section-24-325 .bde-heading-24-326.bde-heading span,
body.yfg-shell.yfg-design-layer .bde-section-24-325 .bde-heading-24-326.bde-heading span * {
  color: var(--yfg-brand-navy) !important;
  text-shadow: none !important;
}

body.yfg-shell.yfg-design-layer .bde-section-24-325 .bde-advancedslide .bde-div {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.42)) !important;
  border-color: rgba(255, 255, 255, 0.62) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 18px 48px rgba(23, 36, 54, 0.1) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.12) !important;
  backdrop-filter: blur(18px) saturate(1.12) !important;
}

body.yfg-shell.yfg-design-layer .bde-section-24-325 .bde-advancedslide h5 {
  color: var(--yfg-brand-navy) !important;
}

body.yfg-shell.yfg-design-layer .bde-section-24-325 .bde-advancedslide .bde-text {
  color: rgba(23, 36, 54, 0.76) !important;
  text-shadow: none !important;
}

body.yfg-shell.yfg-design-layer .bde-section-24-325 .bde-advancedslide a {
  color: var(--yfg-brand-copper) !important;
  border-color: rgba(143, 90, 57, 0.46) !important;
}

body.yfg-shell.yfg-design-layer .bde-section-24-325 .bde-advancedslide .bde-div:is(:hover, :focus-within) {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.52)) !important;
  border-color: rgba(255, 255, 255, 0.84) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 22px 54px rgba(23, 36, 54, 0.14) !important;
}

body.yfg-shell.yfg-design-layer .bde-section-24-325 .bde-advancedslide .bde-div:is(:hover, :focus-within) :is(.bde-text, a) {
  color: var(--yfg-brand-ink) !important;
}

body.yfg-shell.yfg-design-layer .bde-section-24-325 .bde-advancedslide .bde-div:is(:hover, :focus-within) h5 {
  color: var(--yfg-brand-navy) !important;
}

/* Homepage showcase modules keep their approved behavior while taking their
 * colour values from the same manual palette. */
body.home.yfg-design-layer .bde-section-24-387.yfg-awards-showcase {
  --yfg-awards-navy: var(--yfg-brand-navy);
  --yfg-awards-deep: var(--yfg-brand-deep);
  --yfg-awards-gold: var(--yfg-brand-copper);
  --yfg-awards-gold-light: var(--yfg-brand-gold);
  --yfg-awards-surface: var(--yfg-brand-surface);
  --yfg-awards-max: var(--yfg-wide-width);
}

body.home.yfg-design-layer .bde-section-24-420.yfg-milestone-horizontal {
  --yfg-milestone-navy: var(--yfg-brand-deep);
  --yfg-milestone-gold: var(--yfg-brand-copper);
  --yfg-milestone-gold-light: var(--yfg-brand-gold);
  --yfg-milestone-copy: rgba(255, 255, 255, 0.82);
}

body.yfg-shell.yfg-design-layer :is(
  .bde-section-361-110,
  .bde-section-1287-109,
  .bde-section-715-109,
  .bde-section-309-114,
  .bde-section-344-112,
  .bde-section-301-113,
  .bde-section-289-102
) {
  --yfg-capability-copy: var(--yfg-brand-muted);
}

body.yfg-shell.yfg-design-layer .bde-section-24-325 .swiper-pagination-bullet {
  background: rgba(23, 36, 54, 0.32) !important;
}

body.yfg-shell.yfg-design-layer .bde-section-24-325 .swiper-pagination-bullet-active {
  background: var(--yfg-brand-copper) !important;
}

@media (max-width: 767px) {
  :root {
    --yfg-grid-gap: 22px;
  }

  body.yfg-design-layer :where(.section-container, .bde-section > .section-container) {
    padding-right: 22px;
    padding-left: 22px;
  }

  body.page-id-18.yfg-design-layer .bde-section-18-149 > .section-container {
    width: calc(100% - 44px) !important;
  }

  body.yfg-design-layer img[src*="/yfg-brand-images/"]:not([src*="licence"]) {
    object-position: 66% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.yfg-design-layer *,
  body.yfg-design-layer *::before,
  body.yfg-design-layer *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* Borderless visual system.
 * The brand hierarchy is expressed through solid and tinted surfaces, spacing
 * and type. The ID branch raises specificity without requiring an element ID,
 * so this final layer also wins over Breakdance's generated border rules. */
:is(#yfg-borderless-scope, body.yfg-borderless) * {
  border: 0 !important;
  outline: 0 !important;
}

/* Keep keyboard focus visible as a filled state rather than an outline ring. */
:is(#yfg-borderless-scope, body.yfg-borderless)
  :where(a, button, [role="button"], input, textarea, select):focus-visible {
  outline: 0 !important;
  box-shadow: none !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless)
  :where(a, button, [role="button"]):focus-visible {
  background-color: rgba(237, 204, 77, 0.3) !important;
  color: var(--yfg-brand-navy) !important;
}

/* Form controls use quiet surface blocks and a champagne focus fill. */
:is(#yfg-borderless-scope, body.yfg-borderless) :where(
  input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
  textarea,
  select,
  .wpgb-input,
  .breakdance-form-field__input
) {
  background-color: var(--yfg-brand-paper) !important;
  box-shadow: none !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless) :where(
  input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
  textarea,
  select,
  .wpgb-input,
  .breakdance-form-field__input
):focus {
  background-color: rgba(214, 185, 140, 0.3) !important;
  box-shadow: none !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless) :where(
  .bde-button__button,
  .button-atom,
  button[type="submit"],
  input[type="submit"]
) {
  background-color: var(--yfg-brand-copper) !important;
  color: var(--yfg-brand-white) !important;
  box-shadow: none !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless) :where(
  .bde-button__button,
  .button-atom,
  button[type="submit"],
  input[type="submit"]
):is(:hover, :focus-visible) {
  background-color: var(--yfg-brand-navy) !important;
  color: var(--yfg-brand-white) !important;
}

/* Header utility and dropdown hierarchy. */
:is(#yfg-borderless-scope, body.yfg-borderless) .bde-columns-1931-105 {
  background-color: var(--yfg-brand-paper) !important;
  box-shadow: none !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless)
  :is(.bde-button-1931-107 .bde-button__button, .bde-icon-1931-109 .bde-icon-icon) {
  background-color: transparent !important;
  color: var(--yfg-brand-navy) !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless)
  .bde-menu-dropdown-1931-114 .breakdance-dropdown-section {
  background-color: var(--yfg-brand-surface) !important;
  box-shadow: none !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless)
  .bde-menu-dropdown-1931-114 .breakdance-dropdown-column:nth-child(even) {
  background-color: var(--yfg-brand-paper) !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless)
  .bde-menu-dropdown-1931-114 .breakdance-dropdown-link:is(:hover, :focus-visible) {
  background-color: rgba(214, 185, 140, 0.3) !important;
  color: var(--yfg-brand-navy) !important;
}

/* Homepage services: restrained architectural glass over the daylight image. */
:is(#yfg-borderless-scope, body.yfg-borderless)
  .bde-section-24-325 .bde-advancedslide .bde-div {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.42)) !important;
  background-color: rgba(255, 255, 255, 0.56) !important;
  border: 1px solid rgba(255, 255, 255, 0.62) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 18px 48px rgba(23, 36, 54, 0.1) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.12) !important;
  backdrop-filter: blur(18px) saturate(1.12) !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless)
  .bde-section-24-325 .bde-advancedslide .bde-div::before,
:is(#yfg-borderless-scope, body.yfg-borderless)
  .bde-section-24-325 .bde-advancedslide .bde-div::after {
  content: none !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless)
  .bde-section-24-325 .bde-advancedslide .bde-div:is(:hover, :focus-within) {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.52)) !important;
  background-color: rgba(255, 255, 255, 0.7) !important;
  border-color: rgba(255, 255, 255, 0.84) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 22px 54px rgba(23, 36, 54, 0.14) !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless)
  .bde-section-24-325 .bde-advancedslide .bde-text:has(a) a {
  display: inline-flex !important;
  padding: 7px 12px !important;
  background-color: rgba(214, 185, 140, 0.24) !important;
}

/* Awards and milestones distinguish active content with filled surfaces. */
:is(#yfg-borderless-scope, body.yfg-borderless) .yfg-award-card {
  background-color: var(--yfg-brand-paper) !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless) .yfg-award-card[aria-hidden="false"] {
  background-color: var(--yfg-brand-surface) !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: 0 24px 58px rgba(23, 36, 54, 0.12) !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless) .yfg-award-card[aria-hidden="false"]::before {
  content: none !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless) .yfg-award-card__number {
  background-color: rgba(214, 185, 140, 0.34) !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless) .yfg-awards-showcase__cta {
  background-color: var(--yfg-brand-copper) !important;
  color: var(--yfg-brand-white) !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless) :where(
  .yfg-vtl-card,
  .yfg-milestone-card-index,
  .yfg-milestone-arrows button,
  .yfg-milestone-dialog,
  .yfg-milestone-dialog-close
) {
  background-color: rgba(23, 36, 54, 0.92) !important;
  box-shadow: none !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless) .yfg-vtl-card::before,
:is(#yfg-borderless-scope, body.yfg-borderless) .yfg-vtl-card::after {
  content: none !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless)
  :is(.yfg-vtl-card:hover, .yfg-vtl-card:focus-within, .yfg-vtl-item.is-active .yfg-vtl-card) {
  background-color: rgba(23, 36, 54, 0.97) !important;
  box-shadow: none !important;
}

body.home.yfg-design-layer .bde-section-24-420.yfg-milestone-horizontal
  .yfg-milestone-card-copy > p {
  color: rgba(255, 255, 255, 0.92) !important;
  font-weight: 500 !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless) :where(
  .yfg-vtl-item::after,
  .yfg-milestone-card-node::before,
  .yfg-milestone-motion-label::before
) {
  border: 0 !important;
  outline: 0 !important;
  background-color: var(--yfg-brand-gold) !important;
  box-shadow: none !important;
}

/* News, compliance and archive controls. */
:is(#yfg-borderless-scope, body.yfg-borderless) :where(
  .bde-wpgbfacet-216-125 .wpgb-button,
  .bde-wpgbfacet-216-123 .wpgb-page > a,
  .bde-wpgbfacet-216-123 .wpgb-page > span,
  .bde-wpgbfacet-1795-149 .wpgb-page > a,
  .bde-wpgbfacet-1795-149 .wpgb-page > span
) {
  background-color: var(--yfg-brand-paper) !important;
  color: var(--yfg-brand-navy) !important;
  box-shadow: none !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless)
  .bde-wpgbfacet-216-125 .wpgb-button[aria-pressed="true"],
:is(#yfg-borderless-scope, body.yfg-borderless)
  :is(.bde-wpgbfacet-216-123, .bde-wpgbfacet-1795-149) a[aria-current="true"] {
  background-color: var(--yfg-brand-navy) !important;
  color: var(--yfg-brand-white) !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless) :where(
  .bde-wpgbfacet-216-125 .wpgb-button,
  .bde-wpgbfacet-216-123 .wpgb-page > a,
  .bde-wpgbfacet-1795-149 .wpgb-page > a
):is(:hover, :focus-visible) {
  background-color: rgba(214, 185, 140, 0.38) !important;
  color: var(--yfg-brand-navy) !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless) :where(
  .bde-columns-25-147,
  .bde-columns-25-147 .bde-icon-icon
) {
  background-color: var(--yfg-brand-paper) !important;
  box-shadow: none !important;
}

/* Single-post share controls own their complete interaction palette. Keep the
 * global focus treatment from replacing the component's high-contrast state. */
:is(#yfg-borderless-scope, body.single-post.yfg-borderless)
  .bde-social-share-buttons-17-117 .bde-social-share-button:is(:hover, :focus-visible) {
  background: transparent !important;
  background-color: transparent !important;
  color: var(--yfg-brand-copper) !important;
  box-shadow: none !important;
}

/* The compliance archive uses the same open editorial cards as Press Room. */
:is(#yfg-borderless-scope, body.yfg-borderless).page-id-1795.yfg-design-layer
  .bde-post-loop-1795-148 > .bde-loop > article.bde-loop-item {
  background: transparent !important;
  background-color: transparent !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless) :where(
  .bde-text-link-25-107,
  .bde-post-loop-1795-148 .bde-text-link-25-107
) {
  display: inline-flex !important;
  width: fit-content !important;
  padding: 6px 10px !important;
  background-color: rgba(214, 185, 140, 0.24) !important;
}

/* Contact page and footer forms use filled fields and panels. */
:is(#yfg-borderless-scope, body.yfg-borderless)
  .bde-section-18-149 .bde-icon-box {
  background-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: none !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless) :where(
  .bde-image2-18-165,
  .bde-image2-18-166,
  .bde-google-map-18-115
) {
  background-color: var(--yfg-brand-paper) !important;
  box-shadow: none !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless) .yfg-compliance-disclaimer {
  padding: 12px 16px !important;
  background-color: rgba(214, 185, 140, 0.22) !important;
}

/* Editorial heroes sit directly on photography. The former champagne title
 * plate diluted the composition and is intentionally removed. */
body.page-id-18.yfg-design-layer .bde-heading-18-101,
body.page-id-216.yfg-design-layer .bde-heading-216-104 {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

/* Contact information is presented as one calm navy field instead of seven
 * disconnected pale tiles. Existing addresses, channels and QR codes remain
 * unchanged and follow a 3 + 4 editorial grid. */
body.page-id-18.yfg-design-layer .bde-section-18-149 {
  background: var(--yfg-brand-navy) !important;
}

body.page-id-18.yfg-design-layer .bde-section-18-149 > .section-container {
  padding-top: 72px !important;
  padding-bottom: 72px !important;
}

body.page-id-18.yfg-design-layer .bde-section-18-149 .bde-columns-18-160 {
  gap: clamp(28px, 4vw, 64px) !important;
}

body.page-id-18.yfg-design-layer .bde-section-18-149 .bde-columns-18-150 {
  gap: 18px !important;
  margin-top: 42px !important;
  padding-top: 42px !important;
  border-top: 1px solid rgba(214, 185, 140, 0.26) !important;
}

body.page-id-18.yfg-design-layer .bde-section-18-149 .bde-icon-box {
  height: auto !important;
  min-height: 168px !important;
  padding: 8px 0 !important;
  border: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

body.page-id-18.yfg-design-layer .bde-section-18-149 .bde-columns-18-150 .bde-icon-box {
  min-height: 186px !important;
  padding: 26px 28px !important;
  background: rgba(255, 255, 255, 0.055) !important;
  background-color: rgba(255, 255, 255, 0.055) !important;
}

body.page-id-18.yfg-design-layer .bde-section-18-149 .bde-icon-box::after {
  content: none !important;
}

body.page-id-18.yfg-design-layer .bde-section-18-149 .ee-iconbox-content {
  flex-direction: column !important;
  gap: 9px !important;
}

body.page-id-18.yfg-design-layer .bde-section-18-149 .ee-iconbox-title {
  color: #ffffff !important;
  font-size: 24px !important;
  line-height: 1.2 !important;
}

body.page-id-18.yfg-design-layer .bde-section-18-149 .ee-iconbox-text {
  max-width: 36ch;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 14px !important;
  line-height: 1.62 !important;
}

body.page-id-18.yfg-design-layer :is(.bde-image2-18-165, .bde-image2-18-166) {
  height: 186px !important;
  padding: 14px !important;
  border: 0 !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

@media (max-width: 767px) {
  /* Breakdance retains a 20px max-width inset on this container. Remove it at
   * the final cascade layer so the rail is clipped only by the real viewport,
   * leaving a deliberate preview of the adjacent service card. */
  body.home.yfg-shell.yfg-design-layer .bde-section-24-325 > .section-container {
    width: 100vw !important;
    max-width: none !important;
    margin-inline: 0 !important;
    padding-inline: 0 !important;
  }

  body.home.yfg-shell.yfg-design-layer .bde-section-24-325 :is(
    .bde-advancedslider-24-327,
    .breakdance-swiper-wrapper,
    .swiper
  ) {
    width: 100vw !important;
    max-width: none !important;
    margin-inline: 0 !important;
    overflow: visible !important;
  }

  body.page-id-18.yfg-design-layer .bde-section-18-149 > .section-container {
    padding-top: 46px !important;
    padding-bottom: 48px !important;
  }

  body.page-id-18.yfg-design-layer .bde-section-18-149 .bde-columns-18-160 {
    gap: 28px !important;
  }

  body.page-id-18.yfg-design-layer .bde-section-18-149 .bde-columns-18-150 {
    gap: 10px !important;
    margin-top: 34px !important;
    padding-top: 34px !important;
  }

  body.page-id-18.yfg-design-layer .bde-section-18-149 .bde-icon-box {
    min-height: 0 !important;
    padding: 0 !important;
  }

  body.page-id-18.yfg-design-layer .bde-section-18-149 .bde-columns-18-150 .bde-icon-box {
    min-height: 154px !important;
    padding: 20px 18px !important;
  }

  body.page-id-18.yfg-design-layer .bde-section-18-149 .ee-iconbox-title {
    font-size: 21px !important;
  }

  body.page-id-18.yfg-design-layer .bde-section-18-149 .ee-iconbox-text {
    font-size: 13px !important;
  }

  body.page-id-18.yfg-design-layer :is(.bde-image2-18-165, .bde-image2-18-166) {
    height: 154px !important;
  }
}

/* 1.0.207 cascade proof. The borderless system deliberately carries ID-level
 * specificity, so approved white edges and editorial contact surfaces must
 * opt back in at the same level. */
:is(#yfg-borderless-scope, body.yfg-borderless).yfg-design-layer .yfg-award-card,
:is(#yfg-borderless-scope, body.yfg-borderless).yfg-design-layer .yfg-award-card[aria-hidden="false"] {
  box-sizing: border-box !important;
  border: 1px solid #ffffff !important;
  outline: 0 !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless).yfg-design-layer .yfg-award-card__number {
  color: rgba(23, 36, 54, 0.4) !important;
  border: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless).page-id-18.yfg-design-layer .bde-section-18-149 {
  color: var(--yfg-brand-navy) !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless).page-id-18.yfg-design-layer
  .bde-section-18-149 .bde-columns-18-160 > .bde-column + .bde-column {
  border-left: 1px solid rgba(23, 36, 54, 0.12) !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless).page-id-18.yfg-design-layer
  .bde-section-18-149 .bde-columns-18-150 {
  background: transparent !important;
  background-color: transparent !important;
  border-top: 1px solid rgba(23, 36, 54, 0.14) !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless).page-id-18.yfg-design-layer
  .bde-section-18-149 .bde-column-18-153 {
  border-left: 1px solid rgba(23, 36, 54, 0.12) !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless).page-id-18.yfg-design-layer
  .bde-section-18-149 .bde-icon-box,
:is(#yfg-borderless-scope, body.yfg-borderless).page-id-18.yfg-design-layer
  .bde-section-18-149 .bde-columns-18-150 .bde-icon-box {
  border: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless).page-id-18.yfg-design-layer
  .bde-section-18-149 .ee-iconbox-title {
  color: var(--yfg-brand-navy) !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless).page-id-18.yfg-design-layer
  .bde-section-18-149 .ee-iconbox-text {
  color: rgba(23, 36, 54, 0.68) !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless).page-id-18.yfg-design-layer
  .bde-form-builder-18-116 .breakdance-form-field__input {
  border: 0 !important;
  background: #f5f5f6 !important;
  background-color: #f5f5f6 !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless).page-id-18.yfg-design-layer
  .bde-form-builder-18-116 .breakdance-form-field__input:focus {
  border: 0 !important;
  background: #e9eaed !important;
  background-color: #e9eaed !important;
}

@media (max-width: 767px) {
  :is(#yfg-borderless-scope, body.yfg-borderless).page-id-18.yfg-design-layer
    .bde-section-18-149 .bde-columns-18-160 > .bde-column + .bde-column {
    border-top: 1px solid rgba(23, 36, 54, 0.1) !important;
    border-left: 0 !important;
  }

  :is(#yfg-borderless-scope, body.yfg-borderless).page-id-18.yfg-design-layer
    .bde-section-18-149 .bde-column-18-153,
  :is(#yfg-borderless-scope, body.yfg-borderless).page-id-18.yfg-design-layer
    .bde-section-18-149 .bde-column-18-157 {
    border-top: 1px solid rgba(23, 36, 54, 0.1) !important;
    border-left: 0 !important;
  }
}

:is(#yfg-borderless-scope, body.yfg-borderless)
  .bde-section-1998-265 .bde-form-builder-1998-293 input[type="email"] {
  background-color: var(--yfg-brand-paper) !important;
  box-shadow: none !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless)
  .bde-section-1998-265 .bde-form-builder-1998-293 .breakdance-form-button__submit {
  background-color: var(--yfg-brand-navy) !important;
  color: var(--yfg-brand-white) !important;
  box-shadow: none !important;
}

/* Single articles, insurance and MPF blocks. */
:is(#yfg-borderless-scope, body.yfg-borderless) .bde-rich-text-17-106 blockquote {
  padding: 20px 22px !important;
  background-color: var(--yfg-brand-paper) !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless) .bde-rich-text-17-106 hr {
  height: 6px !important;
  background-color: var(--yfg-brand-paper) !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless) :where(
  .bde-adjacentposts-17-116 > a,
  .bde-adjacentposts-17-116 .ee-adjacentposts-icon
) {
  background-color: var(--yfg-brand-paper) !important;
  box-shadow: none !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless) .yfg-ins-wrap,
:is(#yfg-borderless-scope, body.yfg-borderless) :where(
  .bde-div-289-478,
  .bde-div-289-485,
  .bde-div-289-492,
  .bde-div-289-499
) {
  background-color: var(--yfg-brand-paper) !important;
  box-shadow: none !important;
}

/* Data tables use alternating filled rows instead of cell outlines. */
:is(#yfg-borderless-scope, body.yfg-borderless) table {
  border-collapse: separate !important;
  border-spacing: 0 4px !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless) :where(th, thead td) {
  background-color: var(--yfg-brand-navy) !important;
  color: var(--yfg-brand-white) !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless) tbody tr:nth-child(odd) :where(th, td) {
  background-color: var(--yfg-brand-paper) !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless) tbody tr:nth-child(even) :where(th, td) {
  background-color: var(--yfg-brand-surface) !important;
}

/* Requested 1.0.197 refinements: the header utility sits directly on white,
 * the compliance archive no longer exposes manual search controls, and card
 * actions return to plain text links without a filled tile. */
:is(#yfg-borderless-scope, body.yfg-borderless) .bde-columns-1931-105 {
  background-color: var(--yfg-brand-white) !important;
}

body.page-id-1795.yfg-design-layer .bde-columns-1795-141 {
  display: none !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless) :where(
  .bde-text-link-25-107,
  .bde-post-loop-1795-148 .bde-text-link-25-107
) {
  padding: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless) :where(
  .bde-text-link-25-107,
  .bde-post-loop-1795-148 .bde-text-link-25-107
):is(:hover, :focus-visible) {
  background: transparent !important;
  background-color: transparent !important;
  color: var(--yfg-brand-copper) !important;
}

/* Requested 1.0.197 refinements: keep the open language control on pure white,
 * return service actions to plain text, and soften the awards stack with a
 * translucent white glass surface. */
:is(#yfg-borderless-scope, body.yfg-borderless) :where(
  .bde-shortcode-1931-111,
  .trp-shortcode-switcher,
  .trp-shortcode-switcher__wrapper,
  .trp-shortcode-anchor,
  .trp-shortcode-overlay,
  .trp-current-language-item__wrapper,
  .trp-language-item__current,
  .trp-switcher-dropdown-list,
  .trp-switcher-dropdown-list .trp-language-item,
  .trp-switcher-dropdown-list .trp-language-item-name
) {
  background: var(--yfg-brand-white) !important;
  background-color: var(--yfg-brand-white) !important;
  box-shadow: none !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless) :where(
  .trp-current-language-item__wrapper,
  .trp-language-item__current,
  .trp-switcher-dropdown-list .trp-language-item
):is(:hover, :focus, :focus-visible, :active) {
  background: var(--yfg-brand-white) !important;
  background-color: var(--yfg-brand-white) !important;
}

/* Breakdance's desktop header stylesheet carries a more specific transparent
 * declaration for the inner TranslatePress layers. Match that header path so
 * the visible current item is also computed as pure white. */
body.yfg-shell.yfg-design-layer.yfg-borderless
  .bde-header-builder-1931-100 :is(
    .bde-shortcode-1931-111,
    .trp-shortcode-switcher,
    .trp-shortcode-switcher__wrapper,
    .trp-shortcode-anchor,
    .trp-shortcode-overlay,
    .trp-current-language-item__wrapper,
    .trp-language-item__current,
    .trp-switcher-dropdown-list,
    .trp-switcher-dropdown-list .trp-language-item,
    .trp-switcher-dropdown-list .trp-language-item-name
  ),
body.yfg-shell.yfg-design-layer.yfg-borderless
  .bde-header-builder-1931-100 :is(
    .trp-current-language-item__wrapper,
    .trp-language-item__current,
    .trp-switcher-dropdown-list .trp-language-item
  ):is(:hover, :focus, :focus-visible, :active) {
  background: var(--yfg-brand-white) !important;
  background-color: var(--yfg-brand-white) !important;
  box-shadow: none !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless)
  .bde-section-24-325 .bde-advancedslide .bde-text:has(a) a,
:is(#yfg-borderless-scope, body.yfg-borderless)
  .bde-section-24-325 .bde-advancedslide .bde-text:has(a) a:is(:hover, :focus, :focus-visible, :active) {
  padding: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless) .yfg-award-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.42), rgba(245, 245, 246, 0.2)) !important;
  background-color: rgba(255, 255, 255, 0.34) !important;
  border: 1px solid rgba(255, 255, 255, 0.46) !important;
  -webkit-backdrop-filter: blur(14px) saturate(1.08) !important;
  backdrop-filter: blur(14px) saturate(1.08) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 12px 32px rgba(23, 36, 54, 0.045) !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless) .yfg-award-card[aria-hidden="false"] {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(245, 245, 246, 0.42)) !important;
  background-color: rgba(255, 255, 255, 0.62) !important;
  border-color: rgba(255, 255, 255, 0.9) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.12) !important;
  backdrop-filter: blur(18px) saturate(1.12) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 0 0 1px rgba(214, 185, 140, 0.16),
    0 28px 68px rgba(23, 36, 54, 0.14),
    0 6px 18px rgba(23, 36, 54, 0.08) !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless) .yfg-award-card[aria-hidden="false"]::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  content: "";
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.08) 28%, transparent 54%);
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.86),
    inset -1px -1px 0 rgba(23, 36, 54, 0.06);
}

:is(#yfg-borderless-scope, body.yfg-borderless) :where(
  .yfg-award-card__media,
  .yfg-award-card__body
) {
  background: transparent !important;
  background-color: transparent !important;
}

/* Language codes are Latin interface labels. Keep ENG, CN and TC on the
 * English Optima role even when the surrounding page switches to a Chinese
 * body stack. */
body.yfg-shell.yfg-design-layer
  .bde-header-builder-1931-100 :is(
    .trp-shortcode-switcher,
    .trp-language-item,
    .trp-language-item__current,
    .trp-language-item-name
  ) {
  font-family: var(--yfg-font-en) !important;
  font-synthesis: none !important;
}

/* Mobile language selector — make the complete three-column control readable
 * and tappable. Breakdance's authored buttons only painted behind the glyphs,
 * leaving ENG, 簡 and 繁 as three narrow copper bars. */
@media (max-width: 1119px) {
  body.yfg-shell.yfg-design-layer
    .bde-menu-1931-112 #dropdown-118 .breakdance-dropdown-custom-content {
    padding: 20px 30px 28px !important;
  }

  body.yfg-shell.yfg-design-layer
    .bde-menu-1931-112 #dropdown-118 .bde-grid-1931-119 {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 20px !important;
    width: 100% !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  body.yfg-shell.yfg-design-layer
    .bde-menu-1931-112 #dropdown-118 :is(
      .bde-button-1931-120,
      .bde-button-1931-121,
      .bde-button-1931-122
    ) {
    width: 100% !important;
    min-width: 0 !important;
  }

  body.yfg-shell.yfg-design-layer
    .bde-menu-1931-112 #dropdown-118 :is(
      .bde-button-1931-120,
      .bde-button-1931-121,
      .bde-button-1931-122
    ) .bde-button__button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 44px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    color: var(--yfg-brand-navy) !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-family: var(--yfg-font-en) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    letter-spacing: 0.06em !important;
    white-space: nowrap !important;
    text-align: center !important;
    text-decoration: none !important;
    transition:
      color 160ms ease,
      background-color 160ms ease,
      box-shadow 160ms ease !important;
  }

  body.yfg-shell.yfg-design-layer
    .bde-menu-1931-112 #dropdown-118 .bde-button__button .button-atom__text {
    color: inherit !important;
    font: inherit !important;
    letter-spacing: inherit !important;
    line-height: inherit !important;
    text-decoration: none !important;
  }

  body.yfg-shell.yfg-design-layer
    .bde-menu-1931-112 #dropdown-118 .bde-button__button:is(:hover, :focus-visible) {
    color: var(--yfg-brand-copper) !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.yfg-shell.yfg-design-layer
    .bde-menu-1931-112 #dropdown-118 .bde-button__button[aria-current="page"],
  body.yfg-shell.yfg-design-layer
    .bde-menu-1931-112 #dropdown-118 .bde-button__button[aria-current="page"]:is(:hover, :focus-visible) {
    color: var(--yfg-brand-copper) !important;
    background: transparent !important;
    box-shadow: none !important;
    font-weight: 600 !important;
  }
}

/* 1.0.204 final cascade guard: keep carousel depth without drawing a visible
 * frame around either the selected award or the side cards. */
:is(#yfg-borderless-scope, body.yfg-borderless) .yfg-award-card,
:is(#yfg-borderless-scope, body.yfg-borderless) .yfg-award-card[aria-hidden="false"] {
  border: 0 !important;
  outline: 0 !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless) .yfg-award-card {
  box-shadow: 0 10px 28px rgba(23, 36, 54, 0.035) !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless) .yfg-award-card[aria-hidden="false"] {
  box-shadow:
    0 28px 68px rgba(23, 36, 54, 0.14),
    0 6px 18px rgba(23, 36, 54, 0.08) !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless) .yfg-award-card[aria-hidden="false"]::before {
  content: none !important;
}

/* 1.0.206 visual refinement: every award receives a single white highlight
 * edge to suggest physical thickness. The index becomes quiet typography
 * instead of a champagne badge. */
body.yfg-shell.yfg-design-layer .yfg-award-card,
body.yfg-shell.yfg-design-layer .yfg-award-card[aria-hidden="false"] {
  box-sizing: border-box !important;
  border: 1px solid #ffffff !important;
  outline: 0 !important;
}

body.yfg-shell.yfg-design-layer .yfg-award-card__number {
  color: rgba(23, 36, 54, 0.4) !important;
  border: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  font-weight: 500 !important;
}

/* Contact information becomes one white editorial field. Hierarchy comes from
 * typography, whitespace and hairline separators rather than filled cards. */
body.page-id-18.yfg-design-layer .bde-section-18-149 {
  color: var(--yfg-brand-navy) !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
}

body.page-id-18.yfg-design-layer .bde-section-18-149 > .section-container {
  padding-top: 82px !important;
  padding-bottom: 78px !important;
}

body.page-id-18.yfg-design-layer .bde-section-18-149 .bde-columns-18-160 {
  gap: 0 !important;
}

body.page-id-18.yfg-design-layer .bde-section-18-149 .bde-columns-18-160 > .bde-column {
  padding: 0 42px !important;
}

body.page-id-18.yfg-design-layer .bde-section-18-149 .bde-columns-18-160 > .bde-column:first-child {
  padding-left: 0 !important;
}

body.page-id-18.yfg-design-layer .bde-section-18-149 .bde-columns-18-160 > .bde-column:last-child {
  padding-right: 0 !important;
}

body.page-id-18.yfg-design-layer .bde-section-18-149 .bde-columns-18-160 > .bde-column + .bde-column {
  border-left: 1px solid rgba(23, 36, 54, 0.12) !important;
}

body.page-id-18.yfg-design-layer .bde-section-18-149 .bde-columns-18-150 {
  grid-template-columns: minmax(0, 1fr) 184px minmax(0, 1fr) 184px !important;
  gap: 24px !important;
  margin-top: 64px !important;
  padding-top: 46px !important;
  border-top: 1px solid rgba(23, 36, 54, 0.14) !important;
}

body.page-id-18.yfg-design-layer .bde-section-18-149 .bde-column-18-153 {
  margin-left: 20px !important;
  padding-left: 44px !important;
  border-left: 1px solid rgba(23, 36, 54, 0.12) !important;
}

body.page-id-18.yfg-design-layer .bde-section-18-149 .bde-icon-box,
body.page-id-18.yfg-design-layer .bde-section-18-149 .bde-columns-18-150 .bde-icon-box {
  display: grid !important;
  grid-template-columns: 28px minmax(0, 1fr) !important;
  width: 100% !important;
  height: auto !important;
  min-height: 128px !important;
  padding: 0 !important;
  gap: 14px !important;
  border: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  align-items: start !important;
  align-content: center !important;
}

body.page-id-18.yfg-design-layer .bde-section-18-149 .bde-icon-box::after {
  content: none !important;
}

body.page-id-18.yfg-design-layer .bde-section-18-149 .ee-iconbox-icon.breakdance-icon-atom {
  width: 24px !important;
  height: 24px !important;
  margin-top: 3px !important;
  color: var(--yfg-brand-copper) !important;
}

body.page-id-18.yfg-design-layer .bde-section-18-149 .ee-iconbox-content {
  display: flex !important;
  gap: 9px !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

body.page-id-18.yfg-design-layer .bde-section-18-149 .ee-iconbox-title {
  color: var(--yfg-brand-navy) !important;
  font-size: 25px !important;
  line-height: 1.18 !important;
}

body.page-id-18.yfg-design-layer .bde-section-18-149 .ee-iconbox-text {
  max-width: 38ch !important;
  color: rgba(23, 36, 54, 0.68) !important;
  font-size: 14px !important;
  line-height: 1.62 !important;
}

body.page-id-18.yfg-design-layer :is(.bde-image2-18-165, .bde-image2-18-166) {
  width: 184px !important;
  height: 184px !important;
  padding: 10px !important;
  border: 0 !important;
  background: #ffffff !important;
  box-shadow: 0 12px 30px rgba(23, 36, 54, 0.08) !important;
}

body.page-id-18.yfg-design-layer .bde-form-builder-18-116 .breakdance-form-field__input {
  border: 0 !important;
  background: #f5f5f6 !important;
  background-color: #f5f5f6 !important;
}

body.page-id-18.yfg-design-layer .bde-form-builder-18-116 .breakdance-form-field__input:focus {
  border: 0 !important;
  background: #e9eaed !important;
  background-color: #e9eaed !important;
}

body.page-id-18.yfg-design-layer .bde-form-builder-18-116 .breakdance-form-field__input::placeholder {
  color: rgba(23, 36, 54, 0.5) !important;
}

@media (max-width: 767px) {
  body.page-id-18.yfg-design-layer .bde-section-18-149 > .section-container {
    padding-top: 52px !important;
    padding-bottom: 56px !important;
  }

  body.page-id-18.yfg-design-layer .bde-section-18-149 .bde-columns-18-160 {
    gap: 0 !important;
  }

  body.page-id-18.yfg-design-layer .bde-section-18-149 .bde-columns-18-160 > .bde-column,
  body.page-id-18.yfg-design-layer .bde-section-18-149 .bde-columns-18-160 > .bde-column:first-child,
  body.page-id-18.yfg-design-layer .bde-section-18-149 .bde-columns-18-160 > .bde-column:last-child {
    padding: 24px 0 !important;
    border-left: 0 !important;
  }

  body.page-id-18.yfg-design-layer .bde-section-18-149 .bde-columns-18-160 > .bde-column:first-child {
    padding-top: 0 !important;
  }

  body.page-id-18.yfg-design-layer .bde-section-18-149 .bde-columns-18-160 > .bde-column + .bde-column {
    border-top: 1px solid rgba(23, 36, 54, 0.1) !important;
  }

  body.page-id-18.yfg-design-layer .bde-section-18-149 .bde-columns-18-150 {
    grid-template-columns: minmax(0, 1fr) 132px !important;
    gap: 22px 16px !important;
    margin-top: 18px !important;
    padding-top: 32px !important;
  }

  body.page-id-18.yfg-design-layer .bde-section-18-149 .bde-column-18-153,
  body.page-id-18.yfg-design-layer .bde-section-18-149 .bde-column-18-157 {
    margin: 0 !important;
    padding-top: 28px !important;
    padding-left: 0 !important;
    border-top: 1px solid rgba(23, 36, 54, 0.1) !important;
    border-left: 0 !important;
  }

  body.page-id-18.yfg-design-layer .bde-section-18-149 .bde-icon-box,
  body.page-id-18.yfg-design-layer .bde-section-18-149 .bde-columns-18-150 .bde-icon-box {
    min-height: 104px !important;
  }

  body.page-id-18.yfg-design-layer .bde-section-18-149 .ee-iconbox-title {
    font-size: 23px !important;
  }

  body.page-id-18.yfg-design-layer .bde-section-18-149 .ee-iconbox-text {
    font-size: 13.5px !important;
  }

  body.page-id-18.yfg-design-layer :is(.bde-image2-18-165, .bde-image2-18-166) {
    width: 132px !important;
    height: 132px !important;
    padding: 8px !important;
  }
}

/* 1.0.207 final cascade authority. These opt-ins intentionally follow the
 * complete borderless layer so the user's approved exceptions render. */
:is(#yfg-borderless-scope, body.yfg-borderless).yfg-design-layer .yfg-award-card,
:is(#yfg-borderless-scope, body.yfg-borderless).yfg-design-layer .yfg-award-card[aria-hidden="false"] {
  box-sizing: border-box !important;
  border: 1px solid #ffffff !important;
  outline: 0 !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless).yfg-design-layer .yfg-award-card__number {
  color: rgba(23, 36, 54, 0.4) !important;
  border: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless).page-id-18.yfg-design-layer
  :is(.bde-section-18-102, .bde-section-18-149) {
  color: var(--yfg-brand-navy) !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless).page-id-18.yfg-design-layer
  .bde-section-18-149 .bde-columns-18-160 > .bde-column + .bde-column {
  border-left: 1px solid rgba(23, 36, 54, 0.12) !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless).page-id-18.yfg-design-layer
  .bde-section-18-149 .bde-columns-18-150 {
  background: transparent !important;
  background-color: transparent !important;
  border-top: 1px solid rgba(23, 36, 54, 0.14) !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless).page-id-18.yfg-design-layer
  .bde-section-18-149 .bde-column-18-153 {
  border-left: 1px solid rgba(23, 36, 54, 0.12) !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless).page-id-18.yfg-design-layer
  .bde-section-18-149 .bde-icon-box,
:is(#yfg-borderless-scope, body.yfg-borderless).page-id-18.yfg-design-layer
  .bde-section-18-149 .bde-columns-18-150 .bde-icon-box {
  border: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless).page-id-18.yfg-design-layer
  .bde-section-18-149 .ee-iconbox-title {
  color: var(--yfg-brand-navy) !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless).page-id-18.yfg-design-layer
  .bde-section-18-149 .ee-iconbox-text {
  color: rgba(23, 36, 54, 0.68) !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless).page-id-18.yfg-design-layer
  .bde-form-builder-18-116 .breakdance-form-field__input {
  border: 0 !important;
  background: #f5f5f6 !important;
  background-color: #f5f5f6 !important;
}

:is(#yfg-borderless-scope, body.yfg-borderless).page-id-18.yfg-design-layer
  .bde-form-builder-18-116 .breakdance-form-field__input:focus {
  border: 0 !important;
  background: #e9eaed !important;
  background-color: #e9eaed !important;
}

@media (max-width: 767px) {
  :is(#yfg-borderless-scope, body.yfg-borderless).page-id-18.yfg-design-layer
    .bde-section-18-149 .bde-columns-18-160 > .bde-column + .bde-column {
    border-top: 1px solid rgba(23, 36, 54, 0.1) !important;
    border-left: 0 !important;
  }

  :is(#yfg-borderless-scope, body.yfg-borderless).page-id-18.yfg-design-layer
    .bde-section-18-149 .bde-column-18-153,
  :is(#yfg-borderless-scope, body.yfg-borderless).page-id-18.yfg-design-layer
    .bde-section-18-149 .bde-column-18-157 {
    border-top: 1px solid rgba(23, 36, 54, 0.1) !important;
    border-left: 0 !important;
  }
}
