.af-clarity-live {
  --af-cl-rule: #daddE8;
  --af-cl-spaced: clamp(25px, 5vw, 74px);
}

.af-clarity-live .af-editorial [id] { scroll-margin-block-start: 108px; }
.af-clarity-live.admin-bar .af-editorial [id] { scroll-margin-block-start: 140px; }
.af-clarity-live .af-editorial :is(p, li, address, h1, h2, h3, h4, summary) {
  overflow-wrap: break-word;
}
.af-clarity-live .af-ed-reading-block:not([open]) > summary + .af-ed-reading-copy {
  display: none;
}
.af-clarity-live .af-ed-reading-block > summary {
  display: list-item;
  padding-inline-end: 12px;
  padding-block: 8px;
}
.af-clarity-live .af-ed-reading-block > summary::marker { color: var(--aed-amber); }
.af-clarity-live .af-ed-reading-block[open] > summary {
  padding-block-end: 16px;
  border-block-end: 1px solid var(--af-cl-rule);
}
.af-clarity-live .af-ed-reading-block:target,
.af-clarity-live .af-cl-scope-list article:target,
.af-clarity-live .af-cl-course-grid article:target { outline: 2px solid #ac601d; outline-offset: 3px; }
.af-clarity-live .af-ed-reading-body { gap: 18px; }
.af-clarity-live .af-ed-reading-copy :is(p, ul, ol, blockquote) { line-height: 1.65; }
.af-clarity-live .af-ed-reading-copy h4 { margin-block-start: 24px; }
.af-clarity-live .af-ed-reading-nav { border-block-start: 3px solid var(--aed-orange); }
.af-clarity-live .af-ed-reading-nav a { padding-block: 9px; }

.af-clarity-live .af-ed-home {
  background: radial-gradient(ellipse at 86% 8%, #323c69 0%, transparent 54%), #101930;
}
.af-clarity-live .af-ed-home-grid {
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  padding-block: clamp(36px, 6.2vw, 84px) clamp(30px, 4.1vw, 57px);
}
.af-clarity-live .af-ed-home h1 {
  max-width: 12ch;
  font-size: clamp(2.55rem, 6.1vw, 5.9rem) !important;
  line-height: 1.03 !important;
  text-wrap: balance;
}
.af-clarity-live .af-ed-film-frame {
  aspect-ratio: 1.36;
  border-radius: 24px 24px 24px 4px;
  background-color: #273453;
  outline: 1px solid #ffffff3d;
  outline-offset: -1px;
}
.af-clarity-live .af-ed-film-scene figcaption {
  inset-inline: 22px;
  inset-block-end: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 690;
}
.af-clarity-live .af-ed-film-scene figcaption::before {
  content: "";
  flex: 0 0 22px;
  height: 2px;
  background: var(--aed-orange);
}
.af-clarity-live .af-ed-film-nav button { background-color: transparent; }
.af-clarity-live .af-ed-film-nav [aria-pressed="true"] { background-color: #344064; }
.af-clarity-live .af-ed-service-explorer,
.af-clarity-live .af-ed-article-card { border-radius: 16px; }
.af-clarity-live .af-ed-explorer-panel .af-ed-card { min-height: 118px; }
.af-cl-tool-preview {
  display: grid;
  gap: 12px;
  margin-block-start: 24px;
  padding: 16px;
  max-width: 34rem;
  border-radius: 13px;
  border: 1px solid #ffffff38;
  background: #161e39;
  color: #e0e7fa;
  font-size: .86rem;
}
.af-cl-tool-preview > div:not(.af-cl-tool-graphic) {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 5px 14px;
}
.af-cl-tool-preview strong,
.af-cl-tool-preview a { color: #fff; }
.af-cl-tool-preview a { text-underline-offset: 4px; }
.af-cl-tool-graphic {
  min-height: 85px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: end;
  gap: 5px;
  padding: 5px 8px 0;
  border-block-end: 1px solid #ffffff45;
  background: repeating-linear-gradient(to top, transparent 0 26px, #ffffff14 27px 28px);
}
.af-cl-tool-graphic i { height: 33%; border-radius: 3px 3px 0 0; background: #7c8fc7; }
.af-cl-tool-graphic i:nth-child(n+3) { height: 46%; }
.af-cl-tool-graphic i:nth-child(n+6) { height: 59%; }
.af-cl-tool-graphic i:nth-child(n+8) { height: 76%; background: #e48638; }
.af-cl-tool-graphic i:nth-child(n+11) { height: 88%; background: #ffad59; }

.af-clarity-live .af-ed-interior {
  background: linear-gradient(114deg, #f5f3ed 0%, #fffaf2 56%, #eceff8 100%);
}
.af-clarity-live .af-ed-interior-grid {
  align-items: center;
  padding-block: clamp(22px, 4.8vw, 65px);
  gap: clamp(18px, 4.7vw, 72px);
}
.af-clarity-live .af-ed-interior-copy { padding-block: clamp(4px, 2.6vw, 36px); }
.af-clarity-live .af-ed-interior h1 {
  font-size: clamp(2.25rem, 5.15vw, 4.8rem);
  text-wrap: balance;
}
.af-clarity-live .af-ed-interior-photo {
  min-height: 0;
  height: clamp(205px, 31vw, 430px);
  max-height: none;
  border-radius: 20px 20px 20px 4px;
  border-block-end: 5px solid var(--aed-orange);
}
.af-cl-page-nav { background: #fff; border-block-end: 1px solid var(--af-cl-rule); }
.af-cl-page-nav > div { display: flex; flex-wrap: wrap; gap: 2px 24px; }
.af-cl-page-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  gap: 6px;
  font-weight: 690;
  font-size: .9rem;
  text-decoration: none;
}
.af-cl-page-nav a::after { content: "↓" / ""; color: var(--aed-amber); }
.af-cl-page-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

.af-cl-scope-grid, .af-cl-course-grid, .af-cl-office-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(14px, 2vw, 26px);
}
.af-cl-scope-grid {
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  gap: var(--af-cl-spaced);
  align-items: start;
}
.af-cl-prepare {
  display: grid;
  justify-items: start;
  gap: 11px;
  margin-block-start: 24px;
  padding: clamp(17px, 3vw, 29px);
  background: #f6f0e7;
  border-radius: 3px 16px 16px 3px;
  border-inline-start: 3px solid #cf7836;
}
.af-cl-prepare h3 { font-size: 1.14rem; font-weight: 750; }
.af-cl-prepare p { color: var(--aed-muted); }
.af-cl-scope-list {
  display: grid;
  border-block-end: 1px solid var(--af-cl-rule);
}
.af-cl-scope-list article {
  display: grid;
  grid-template-columns: 13px minmax(0, 1fr);
  gap: clamp(12px, 2vw, 23px);
  align-items: start;
  padding: 20px 0;
  border-block-start: 1px solid var(--af-cl-rule);
}
.af-cl-scope-list article::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-block-start: .65em;
  border: 2px solid #a05b28;
  transform: rotate(45deg);
}
.af-editorial :is(.af-cl-scope-list,.af-cl-course-grid,.af-cl-office-grid) h3 {
  font-weight: 750;
  font-size: clamp(1.18rem, 2.6vw, 1.65rem);
  line-height: 1.24;
  letter-spacing: -.025em;
}
.af-cl-scope-list p, .af-cl-course-grid p { margin-block-start: 7px; color: var(--aed-muted); }
.af-cl-scope-list a { display: inline-block; padding-block: 7px; font-weight: 700; text-underline-offset: 4px; }
.af-cl-training { background: #f3f4f9; }
.af-cl-course-grid > article, .af-cl-office-grid > article {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: clamp(17px, 3vw, 32px);
  background: white;
  border: 1px solid var(--af-cl-rule);
  border-radius: 3px 18px 18px;
}
.af-cl-course-grid > article { border-block-start: 3px solid #b16932; }
.af-cl-course-top { margin-block-end: 10px; }
.af-cl-course-top span {
  display: inline-block;
  padding: 4px 10px;
  background: #f8ebdb;
  border-radius: 6px;
  color: #74380f;
  font-size: .82rem;
  font-weight: 730;
}
.af-editorial .af-cl-audience { font-weight: 690; margin-block: 12px; color: var(--aed-ink); }
.af-cl-course-grid h4 { font-size: .94rem; font-weight: 750; }
.af-cl-course-grid ul { padding-inline-start: 22px; margin-block: 7px 19px; }
.af-cl-course-grid li + li { margin-block-start: 4px; }
.af-cl-course-grid .af-cl-course-action { margin-block-start: auto; }
.af-cl-office-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.af-cl-office-grid > article { background: #f7f7fb; }
.af-cl-office-grid > article:first-child { background: #192346; color: #fff; }
.af-editorial .af-cl-country {
  margin-block-end: 6px;
  font-size: .79rem;
  font-weight: 720;
  color: #754018;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.af-cl-office-grid article:first-child .af-cl-country { color: #ffc78a; }
.af-cl-office-grid address { margin-block: 12px 15px; font-style: normal; }
.af-cl-office-links {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-self: stretch;
  margin-block-start: auto;
}
.af-cl-office-links a {
  padding-block: 7px;
  border-block-start: 1px solid #8e99b74d;
  overflow-wrap: anywhere;
  text-underline-offset: 4px;
}

.af-clarity-live .af-ed-form-shell { border-radius: 15px; }
.af-clarity-live .af-ed-form-host :is(.ff-el-group, .elementor-field-group) { min-width: 0; }
.af-clarity-live .af-ed-form-host :is(input:not([type=checkbox],[type=radio],[type=submit],[type=hidden]), select) {
  min-height: 44px;
}
.af-clarity-live .afcs-tools .afcs-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  padding: 7px;
  gap: 4px;
}
.af-clarity-live .afcs-tools .afcs-tabs button {
  white-space: normal;
  text-overflow: clip;
  overflow-wrap: break-word;
  padding: 9px 12px;
  border-radius: 7px;
  min-width: 0;
}
.af-clarity-live .afcs-tools :is(.afcs-fields, .afcs-result) { min-width: 0; }
.af-clarity-live .afcs-tools .afcs-result :is(th, td) { overflow-wrap: anywhere; }
.af-cl-chart-legend { display: flex; flex-wrap: wrap; gap: 6px; margin-block: 8px 2px; }
.af-cl-chart-legend[hidden], .af-cl-line-hidden { display: none !important; }
.afcs .af-cl-chart-legend button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid #b8bfd3;
  border-radius: 7px;
  background: #fff;
  color: #253257;
  font-weight: 675;
}
.afcs .af-cl-chart-legend button[aria-pressed="false"] { background: #eef0f6; color: #525a72; }
.af-cl-chart-legend button::before { content: ""; width: 15px; border-block-start: 3px solid currentColor; }
.af-cl-chart-legend [data-chart-key="growth"]::before { color: var(--up); border-block-start-style: dashed; }
.af-cl-chart-legend [data-chart-key="downside"]::before { color: var(--down); border-block-start-style: dotted; }

@media (max-width: 1000px) {
  .af-cl-office-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .af-clarity-live .af-ed-contact .af-ed-split { grid-template-columns: minmax(0, 1fr); }
  .af-clarity-live .af-ed-contact-links { display: flex; flex-wrap: wrap; gap: 9px 21px; }
}
@media (max-width: 760px) {
  .af-clarity-live .af-ed-home-grid, .af-cl-scope-grid { grid-template-columns: minmax(0, 1fr); }
  .af-clarity-live .af-ed-home-grid { gap: 23px; }
  .af-clarity-live .af-ed-home-copy h1 + p { margin-block-start: 13px; }
  .af-clarity-live .af-ed-home-copy .af-ed-actions { margin-block-start: 16px; }
  .af-clarity-live .af-ed-film-frame { aspect-ratio: 1.67; }
  .af-clarity-live .af-ed-interior-photo { height: clamp(150px, 44vw, 280px); }
  .af-cl-page-nav > div { gap: 0 19px; }
  .af-cl-page-nav a { min-height: 44px; }
}
@media (max-width: 550px) {
  .af-cl-office-grid, .af-cl-course-grid { grid-template-columns: minmax(0, 1fr); }
  .af-clarity-live .af-ed-switches { display: flex; flex-wrap: wrap; }
  .af-clarity-live .af-ed-switches button { flex: 1 1 82px; }
  .af-clarity-live .af-ed-service-explorer .af-ed-card { min-height: auto; }
}
@media (max-width: 365px) {
  .af-clarity-live .afcs-tools .afcs-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
