﻿@layer components {
  :where(body.home, .editor-styles-wrapper) {
    --clx-page-frame: min(calc(100vw - 76px), 1680px);
    --clx-card-radius: 22px;
    --clx-card-shadow: 0 12px 34px rgba(12, 34, 58, .07);
  }

  :where(body.home, .editor-styles-wrapper) .clx-home-main,
  :where(body.home, .editor-styles-wrapper) .clx-home-main > .wp-block-post-content {
    box-sizing: border-box;
    max-width: none !important;
    padding-inline: 0 !important;
    width: 100% !important;
  }

  :where(body.home, .editor-styles-wrapper) .clx-header-shell,
  :where(body.home, .editor-styles-wrapper) .clx-site-footer .clx-footer-grid,
  :where(body.home, .editor-styles-wrapper) .clx-home-main .alignwide,
  :where(body.home, .editor-styles-wrapper) .clx-home-main .clx-home-card,
  :where(body.home, .editor-styles-wrapper) .clx-home-main .clx-card-section,
  :where(body.home, .editor-styles-wrapper) .clx-home-main .clx-home-cta,
  :where(body.home, .editor-styles-wrapper) .clx-home-main .clx-home-gallery,
  :where(body.home, .editor-styles-wrapper) .clx-home-main .clx-home-gallery-header {
    box-sizing: border-box;
    margin-inline: auto !important;
    max-width: var(--clx-page-frame) !important;
    width: var(--clx-page-frame) !important;
  }

  :where(body.home, .editor-styles-wrapper) .clx-home-main .clx-eyebrow {
    color: var(--wp--preset--color--chinalux-blue);
    font-size: clamp(13px, .92vw, 20px);
    font-weight: 900;
    letter-spacing: .035em;
    line-height: 1.1;
    margin: 0 0 12px;
    text-transform: uppercase;
  }

  :where(body.home, .editor-styles-wrapper) .clx-hero--home {
    border-radius: 24px;
    margin-block: clamp(32px, 3vw, 52px) 0;
    min-height: clamp(560px, 43vw, 740px) !important;
    overflow: hidden;
  }

  :where(body.home, .editor-styles-wrapper) .clx-hero--home .clx-hero__content {
    margin-inline: 0 auto;
    max-width: 820px;
    padding: clamp(78px, 8vw, 128px) 0 clamp(58px, 6vw, 96px) clamp(48px, 5.5vw, 96px);
  }

  :where(body.home, .editor-styles-wrapper) .clx-events-card {
    background: var(--wp--preset--color--surface) !important;
    border: 1px solid var(--wp--preset--color--border-soft) !important;
    border-radius: var(--clx-card-radius) !important;
    box-shadow: var(--clx-card-shadow) !important;
    margin-block: clamp(42px, 4.5vw, 76px) !important;
    padding: clamp(28px, 2.7vw, 44px) !important;
  }

  :where(body.home, .editor-styles-wrapper) .clx-events-card.has-global-padding {
    padding-inline: clamp(28px, 2.7vw, 44px) !important;
  }

  :where(body.home, .editor-styles-wrapper) .clx-events-card > .clx-home-events {
    align-items: stretch !important;
    display: grid !important;
    gap: clamp(44px, 4.5vw, 78px) !important;
    grid-template-columns: minmax(320px, 1fr) minmax(0, 2fr) !important;
    margin: 0 !important;
  }

  :where(body.home, .editor-styles-wrapper) .clx-events-card .wp-block-column {
    min-width: 0;
  }

  :where(body.home, .editor-styles-wrapper) .clx-events-card .clx-home-events__image,
  :where(body.home, .editor-styles-wrapper) .clx-events-card .clx-home-events__image figure {
    align-self: stretch;
    height: 100%;
    margin: 0 !important;
  }

  :where(body.home, .editor-styles-wrapper) .clx-events-card .clx-home-events__image img {
    aspect-ratio: auto !important;
    border-radius: 14px !important;
    box-shadow: none !important;
    height: 100% !important;
    min-height: clamp(500px, 34vw, 650px);
    object-fit: cover;
    width: 100% !important;
  }

  :where(body.home, .editor-styles-wrapper) .clx-events-card .clx-home-events > .wp-block-column:last-child {
    align-content: start;
    display: grid;
  }

  :where(body.home, .editor-styles-wrapper) .clx-events-card .clx-home-events-top {
    align-items: start !important;
    display: grid !important;
    gap: clamp(22px, 2vw, 34px);
    grid-template-columns: minmax(0, 1fr) auto;
    margin: 0 0 clamp(28px, 3vw, 46px) !important;
  }

  :where(body.home, .editor-styles-wrapper) .clx-events-card h2 {
    color: var(--wp--preset--color--navy-950);
    margin: 0 0 clamp(18px, 1.8vw, 26px);
  }

  :where(body.home, .editor-styles-wrapper) .clx-events-card h2:not(.clx-title-1):not(.clx-title-2):not(.clx-title-3) {
    font-size: clamp(2.35rem, 3vw, 3.2rem) !important;
    font-weight: 500;
    line-height: 1.05;
  }

  :where(body.home, .editor-styles-wrapper) .clx-events-card .clx-section-heading p:not(.clx-eyebrow) {
    color: var(--wp--preset--color--navy-700);
    margin: 0;
    max-width: 900px;
  }

  :where(body.home, .editor-styles-wrapper) .clx-events-card .clx-section-heading p:not(.clx-eyebrow):not(.clx-text-1):not(.clx-text-2) {
    font-size: clamp(18px, 1.15vw, 21px) !important;
    font-weight: 500;
    line-height: 1.4;
  }

  :where(body.home, .editor-styles-wrapper) .clx-events-card .clx-section-heading a {
    color: var(--wp--preset--color--chinalux-blue);
    font-weight: 700;
    text-decoration: none;
  }

  :where(body.home, .editor-styles-wrapper) .clx-events-card .clx-view-events-button .wp-block-button__link {
    background: transparent !important;
    border: 2px solid color-mix(in srgb, var(--wp--preset--color--chinalux-red), white 72%) !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    color: transparent !important;
    font-size: clamp(15px, 1vw, 18px) !important;
    font-weight: 800;
    min-height: 58px;
    min-width: 214px;
    padding-inline: 28px;
  }

  :where(body.home, .editor-styles-wrapper) .clx-events-card .clx-view-events-button .wp-block-button__link::after {
    content: " ->";
    font-weight: 900;
    margin-left: 10px;
  }

  :where(body.home, .editor-styles-wrapper) .clx-events-card .clx-home-event-list {
    border-top: 1px solid var(--wp--preset--color--border);
    display: grid;
    gap: 0;
    margin: 0 !important;
    max-width: none !important;
    width: 100%;
  }

  :where(body.home, .editor-styles-wrapper) .clx-events-card .clx-home-event-row {
    align-items: center;
    border: 0 !important;
    border-bottom: 1px solid var(--wp--preset--color--border-soft) !important;
    display: grid !important;
    gap: clamp(18px, 2.2vw, 38px);
    grid-template-columns: minmax(0, 1fr) minmax(132px, 160px) minmax(190px, 238px) !important;
    min-height: clamp(68px, 5vw, 82px);
    padding-block: 16px !important;
  }

  :where(body.home, .editor-styles-wrapper) .clx-events-card .clx-home-event-row p {
    color: var(--wp--preset--color--navy-900);
    font-size: clamp(16px, 1.05vw, 19px) !important;
    font-weight: 650;
    line-height: 1.25;
    margin: 0 !important;
  }

  :where(body.home, .editor-styles-wrapper) .clx-events-card .clx-event-date,
  :where(body.home, .editor-styles-wrapper) .clx-events-card .clx-add-calendar {
    color: var(--wp--preset--color--chinalux-blue) !important;
    font-weight: 900 !important;
    white-space: nowrap;
  }

  :where(body.home, .editor-styles-wrapper) .clx-events-card .clx-add-calendar {
    justify-self: end;
  }

  @media (min-width: 768px) {
    :where(body.home, .editor-styles-wrapper) .clx-events-card .clx-home-event-row > p:first-child {
      justify-self: start;
      text-align: left;
    }

    :where(body.home, .editor-styles-wrapper) .clx-events-card .clx-event-date {
      justify-self: center;
      text-align: center;
    }

    :where(body.home, .editor-styles-wrapper) .clx-events-card .clx-add-calendar {
      justify-self: end;
      text-align: right;
    }
  }

  :where(body.home, .editor-styles-wrapper) .clx-events-card .clx-add-calendar::after {
    border: 2px solid currentColor;
    border-radius: 6px;
    content: "";
    display: inline-block;
    height: 22px;
    margin-left: 16px;
    position: relative;
    top: 5px;
    width: 22px;
  }

  :where(body.home, .editor-styles-wrapper) .clx-home-news-header,
  :where(body.home, .editor-styles-wrapper) .clx-home-gallery-header {
    align-items: end;
    display: grid;
    gap: var(--wp--preset--spacing--lg);
    grid-template-columns: 1fr auto 1fr;
    margin-block-end: clamp(32px, 3.8vw, 56px);
  }

  :where(body.home, .editor-styles-wrapper) .clx-home-news-header .clx-section-heading {
    grid-column: 2;
    justify-items: center;
    text-align: center;
  }

  :where(body.home, .editor-styles-wrapper) .clx-home-news-header .clx-slider-controls,
  :where(body.home, .editor-styles-wrapper) .clx-home-gallery-header .clx-slider-controls {
    justify-self: end;
    position: static;
  }

  :where(body.home, .editor-styles-wrapper) .clx-news-card {
    border-radius: 16px;
    box-shadow: var(--clx-card-shadow);
    overflow: hidden;
  }

  :where(body.home, .editor-styles-wrapper) .clx-news-card img {
    aspect-ratio: 16 / 8.2;
    object-fit: cover;
  }

  :where(body.home, .editor-styles-wrapper) .clx-home-cta {
    border-radius: 18px;
    min-height: clamp(320px, 23vw, 420px);
  }

  :where(body.home, .editor-styles-wrapper) .clx-home-card:has(.clx-home-member-logos) {
    border-radius: 18px;
  }

  :where(body.home, .editor-styles-wrapper) .clx-home-gallery img {
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    object-fit: cover;
  }

  @media (max-width: 1023px) {
    :where(body.home, .editor-styles-wrapper) {
      --clx-page-frame: min(calc(100vw - 40px), 1680px);
    }

    :where(body.home, .editor-styles-wrapper) .clx-events-card > .clx-home-events,
    :where(body.home, .editor-styles-wrapper) .clx-events-card .clx-home-events-top,
    :where(body.home, .editor-styles-wrapper) .clx-home-news-header,
    :where(body.home, .editor-styles-wrapper) .clx-home-gallery-header {
      grid-template-columns: 1fr !important;
    }

    :where(body.home, .editor-styles-wrapper) .clx-events-card .clx-home-events__image img {
      aspect-ratio: 16 / 9 !important;
      height: auto !important;
      min-height: 0;
    }

    :where(body.home, .editor-styles-wrapper) .clx-home-news-header .clx-section-heading,
    :where(body.home, .editor-styles-wrapper) .clx-home-news-header .clx-slider-controls,
    :where(body.home, .editor-styles-wrapper) .clx-home-gallery-header .clx-slider-controls {
      grid-column: auto;
      justify-self: start;
      text-align: left;
    }
  }

  @media (max-width: 767px) {
    :where(body.home, .editor-styles-wrapper) {
      --clx-page-frame: min(calc(100vw - 28px), 1680px);
    }

    :where(body.home, .editor-styles-wrapper) .clx-hero--home .clx-hero__content {
      padding: 56px var(--wp--preset--spacing--lg);
    }

    :where(body.home, .editor-styles-wrapper) .clx-events-card,
    :where(body.home, .editor-styles-wrapper) .clx-events-card.has-global-padding {
      padding: var(--wp--preset--spacing--lg) !important;
    }

    :where(body.home, .editor-styles-wrapper) .clx-events-card .clx-home-event-row {
      grid-template-columns: 1fr !important;
    }

    :where(body.home, .editor-styles-wrapper) .clx-events-card .clx-add-calendar {
      justify-self: start;
    }
  }
}


/* Homepage QA - hero alignment against PNG reference. */
@layer components {
  :where(body.home, .editor-styles-wrapper) .clx-hero--home .wp-block-cover__inner-container {
    box-sizing: border-box;
    padding-left: clamp(68px, 5.6vw, 112px) !important;
    padding-right: clamp(42px, 4vw, 88px) !important;
    width: 100% !important;
  }

  :where(body.home, .editor-styles-wrapper) .clx-hero--home .clx-hero__content {
    box-sizing: border-box;
    margin-inline: 0 auto !important;
    max-width: 980px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  :where(body.home, .editor-styles-wrapper) .clx-hero--home h1 {
    max-width: 940px !important;
  }

  :where(body.home, .editor-styles-wrapper) .clx-hero--home p {
    max-width: 760px !important;
  }

  :where(body.home, .editor-styles-wrapper) .clx-home-hero-button .wp-block-button__link {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    min-height: 64px !important;
    min-width: min(100%, 520px) !important;
    padding-inline: 38px !important;
  }

  @media (max-width: 767px) {
    :where(body.home, .editor-styles-wrapper) .clx-hero--home .wp-block-cover__inner-container {
      padding-left: 28px !important;
      padding-right: 28px !important;
    }

    :where(body.home, .editor-styles-wrapper) .clx-hero--home h1 {
      max-width: 100% !important;
    }

    :where(body.home, .editor-styles-wrapper) .clx-home-hero-button .wp-block-button__link {
      min-width: 0 !important;
      width: 100% !important;
    }
  }
}

/* Homepage QA - events card true 1/3 2/3 proportion. */
@layer components {
  :where(body.home, .editor-styles-wrapper) .clx-events-card > .clx-home-events {
    box-sizing: border-box;
    display: grid !important;
    gap: clamp(46px, 4.4vw, 86px) !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  :where(body.home, .editor-styles-wrapper) .clx-events-card .clx-home-events > .wp-block-column {
    box-sizing: border-box;
    flex-basis: auto !important;
    max-width: none !important;
    width: 100% !important;
  }

  :where(body.home, .editor-styles-wrapper) .clx-events-card .clx-home-events__image,
  :where(body.home, .editor-styles-wrapper) .clx-events-card .clx-home-events__image figure,
  :where(body.home, .editor-styles-wrapper) .clx-events-card .clx-home-events__image img {
    max-width: none !important;
    width: 100% !important;
  }

  :where(body.home, .editor-styles-wrapper) .clx-events-card .clx-home-events__image img {
    min-height: clamp(560px, 35vw, 690px) !important;
  }

  @media (max-width: 1023px) {
    :where(body.home, .editor-styles-wrapper) .clx-events-card > .clx-home-events {
      grid-template-columns: 1fr !important;
    }

    :where(body.home, .editor-styles-wrapper) .clx-events-card .clx-home-events__image img {
      min-height: 360px !important;
    }
  }
}

/* Homepage QA - news section PNG fidelity. */
@layer components {
  :where(body.home, .editor-styles-wrapper) .clx-card-section:has(.clx-news-card) {
    box-sizing: border-box;
    margin-block: clamp(58px, 5.6vw, 92px) !important;
    max-width: var(--clx-page-frame) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: var(--clx-page-frame) !important;
  }

  :where(body.home, .editor-styles-wrapper) .clx-card-section:has(.clx-news-card) .clx-home-news-header {
    margin-inline: 0 !important;
    width: 100% !important;
  }

  :where(body.home, .editor-styles-wrapper) .clx-card-section:has(.clx-news-card) .clx-card-grid--3 {
    box-sizing: border-box;
    display: grid !important;
    --clx-news-card-gap: clamp(34px, 2.55vw, 54px);
    gap: var(--clx-news-card-gap) !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: none !important;
    width: 100% !important;
  }

  :where(body.home, .editor-styles-wrapper) .clx-card-section:has(.clx-news-card) .clx-card-grid--3 > .wp-block-column {
    box-sizing: border-box;
    flex-basis: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  :where(body.home, .editor-styles-wrapper) .clx-card-section:has(.clx-news-card) .clx-news-card {
    background: #fff !important;
    border: 1px solid rgba(3, 11, 47, .08) !important;
    border-radius: 16px !important;
    box-shadow: 0 14px 42px rgba(12, 34, 58, .075) !important;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    padding: 0 !important;
  }

  :where(body.home, .editor-styles-wrapper) .clx-card-section:has(.clx-news-card) .clx-news-card figure {
    margin: 0 !important;
    width: 100% !important;
  }

  :where(body.home, .editor-styles-wrapper) .clx-card-section:has(.clx-news-card) .clx-news-card img {
    aspect-ratio: 16 / 7.7 !important;
    border-radius: 0 !important;
    display: block;
    object-fit: cover;
    width: 100% !important;
  }

  :where(body.home, .editor-styles-wrapper) .clx-card-section:has(.clx-news-card) .clx-news-card > :not(.wp-block-image) {
    margin-left: clamp(26px, 2vw, 34px) !important;
    margin-right: clamp(26px, 2vw, 34px) !important;
  }

  :where(body.home, .editor-styles-wrapper) .clx-card-section:has(.clx-news-card) .clx-news-card h3 {
    margin-bottom: clamp(18px, 1.6vw, 24px) !important;
  }

  :where(body.home, .editor-styles-wrapper) .clx-card-section:has(.clx-news-card) .clx-news-card h3:not(.clx-title-1):not(.clx-title-2):not(.clx-title-3) {
    font-size: clamp(1.55rem, 1.55vw, 2rem) !important;
    line-height: 1.16 !important;
  }

  :where(body.home, .editor-styles-wrapper) .clx-card-section:has(.clx-news-card) .clx-news-card p:not(.clx-meta):not(.clx-text-1):not(.clx-text-2) {
    font-size: clamp(1rem, .98vw, 1.18rem) !important;
    line-height: 1.42 !important;
  }

  :where(body.home, .editor-styles-wrapper) .clx-card-section:has(.clx-news-card) .clx-news-card .wp-block-buttons {
    margin-top: auto !important;
    padding-top: clamp(24px, 2vw, 34px) !important;
    padding-bottom: clamp(28px, 2.4vw, 40px) !important;
  }

  @media (max-width: 1023px) {
    :where(body.home, .editor-styles-wrapper) .clx-card-section:has(.clx-news-card) .clx-card-grid--3 {
      grid-template-columns: 1fr !important;
    }
  }
}

/* Homepage QA - gallery section PNG fidelity. */
@layer components {
  :where(body.home, .editor-styles-wrapper) .clx-home-gallery-header {
    align-items: center !important;
    display: grid !important;
    gap: clamp(18px, 2vw, 32px) !important;
    grid-template-columns: 1fr auto !important;
    margin-block: clamp(48px, 4.8vw, 78px) clamp(24px, 2.4vw, 38px) !important;
    max-width: var(--clx-page-frame) !important;
    width: var(--clx-page-frame) !important;
  }

  :where(body.home, .editor-styles-wrapper) .clx-home-gallery-header h2 {
    margin: 0 !important;
  }

  :where(body.home, .editor-styles-wrapper) .clx-home-gallery-header h2:not(.clx-title-1):not(.clx-title-2):not(.clx-title-3) {
    font-size: clamp(2.2rem, 2.45vw, 3rem) !important;
    line-height: 1.08 !important;
  }

  :where(body.home, .editor-styles-wrapper) .clx-home-gallery-header .clx-slider-controls {
    grid-column: 2 !important;
    justify-self: end !important;
    position: static !important;
  }

  :where(body.home, .editor-styles-wrapper) .clx-home-gallery {
    box-sizing: border-box;
    display: grid !important;
    gap: clamp(24px, 2.2vw, 40px) !important;
    grid-template-columns: .72fr .92fr 1.5fr 1.32fr !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: var(--clx-page-frame) !important;
    overflow: hidden;
    width: var(--clx-page-frame) !important;
  }

  :where(body.home, .editor-styles-wrapper) .clx-home-gallery figure {
    margin: 0 !important;
    min-width: 0 !important;
    overflow: hidden;
  }

  :where(body.home, .editor-styles-wrapper) .clx-home-gallery img {
    aspect-ratio: 16 / 9 !important;
    border-radius: 8px !important;
    display: block;
    height: 100% !important;
    min-height: clamp(190px, 12vw, 245px) !important;
    object-fit: cover !important;
    width: 100% !important;
  }

  @media (max-width: 1023px) {
    :where(body.home, .editor-styles-wrapper) .clx-home-gallery {
      grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
  }

  @media (max-width: 767px) {
    :where(body.home, .editor-styles-wrapper) .clx-home-gallery-header {
      grid-template-columns: 1fr auto !important;
      margin-block-start: 42px !important;
    }

    :where(body.home, .editor-styles-wrapper) .clx-home-gallery {
      grid-template-columns: 1fr !important;
    }
  }
}

/* Homepage QA - gallery controls cleanup. */
@layer components {
  :where(body.home, .editor-styles-wrapper) .clx-home-gallery-header .clx-slider-controls {
    align-items: center !important;
    display: flex !important;
    gap: 14px !important;
    margin: 0 !important;
  }

  :where(body.home, .editor-styles-wrapper) .clx-home-gallery-header .clx-slider-control {
    flex: 0 0 54px !important;
    height: 54px !important;
    margin: 0 !important;
    width: 54px !important;
  }
}

/* Homepage QA - gallery final asset and right inset. */
@layer components {
  :where(body.home, .editor-styles-wrapper) .clx-home-gallery-header {
    padding-right: clamp(24px, 2.2vw, 44px) !important;
  }

  :where(body.home, .editor-styles-wrapper) .clx-home-gallery figure:nth-child(4) {
    background-image: url("../photos/gallery/gallery-speakers-discussion.jpg");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
  }

  :where(body.home, .editor-styles-wrapper) .clx-home-gallery figure:nth-child(4) img {
    opacity: 0;
  }
}
/* Homepage news carousel controls and horizontal rail. */
@layer components {
  :where(body.home, .editor-styles-wrapper) .clx-card-section:has(.clx-news-card) .clx-home-news-header {
    align-items: end !important;
  }

  :where(body.home, .editor-styles-wrapper) .clx-card-section:has(.clx-news-card) .clx-home-news-header .clx-slider-controls {
    align-items: center !important;
    display: flex !important;
    gap: 14px !important;
    justify-self: end !important;
    margin: 0 !important;
    padding-bottom: 6px;
  }

  :where(body.home, .editor-styles-wrapper) .clx-card-section:has(.clx-news-card) .clx-home-news-header .clx-slider-control {
    align-items: center !important;
    aspect-ratio: 1;
    background: #fff !important;
    border: 1px solid rgba(3, 11, 47, .11) !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 20px rgba(12, 34, 58, .075) !important;
    color: transparent !important;
    cursor: pointer;
    display: inline-flex !important;
    font-size: 0 !important;
    font-weight: 900 !important;
    height: 56px !important;
    justify-content: center !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    user-select: none;
    width: 56px !important;
  }


  :where(body.home, .editor-styles-wrapper) .clx-card-section:has(.clx-news-card) .clx-home-news-header .clx-slider-control::before {
    color: var(--wp--preset--color--chinalux-red);
    content: "\2039";
    font-size: 32px;
    font-weight: 900;
    line-height: 1;
    transform: translateY(-1px);
  }

  :where(body.home, .editor-styles-wrapper) .clx-card-section:has(.clx-news-card) .clx-home-news-header .clx-slider-control:nth-child(2)::before {
    content: "\203A";
  }

  :where(body.home, .editor-styles-wrapper) .clx-card-section:has(.clx-news-card) .clx-card-grid--3 > .wp-block-column:nth-child(4) .clx-meta::after {
    content: "view 214";
  }

  :where(body.home, .editor-styles-wrapper) .clx-card-section:has(.clx-news-card) .clx-card-grid--3 > .wp-block-column:nth-child(5) .clx-meta::after {
    content: "view 176";
  }
  :where(body.home, .editor-styles-wrapper) .clx-card-section:has(.clx-news-card) .clx-home-news-header .clx-slider-control:hover,
  :where(body.home, .editor-styles-wrapper) .clx-card-section:has(.clx-news-card) .clx-home-news-header .clx-slider-control:focus-visible {
    border-color: rgba(0, 164, 220, .28) !important;
    box-shadow: 0 14px 30px rgba(12, 34, 58, .12) !important;
    outline: 0;
    transform: translateY(-1px);
  }

  :where(body.home, .editor-styles-wrapper) .clx-card-section:has(.clx-news-card) .clx-card-grid--3 {
    display: flex !important;
    --clx-news-card-gap: clamp(34px, 2.55vw, 54px);
    gap: var(--clx-news-card-gap) !important;
    grid-template-columns: none !important;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding-bottom: 10px;
    scroll-behavior: smooth;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }

  :where(body.home, .editor-styles-wrapper) .clx-card-section:has(.clx-news-card) .clx-card-grid--3::-webkit-scrollbar {
    display: none;
  }

  :where(body.home, .editor-styles-wrapper) .clx-card-section:has(.clx-news-card) .clx-card-grid--3 > .wp-block-column {
    flex: 0 0 calc((100% - (var(--clx-news-card-gap) * 2)) / 3) !important;
    min-width: calc((100% - (var(--clx-news-card-gap) * 2)) / 3) !important;
    scroll-snap-align: start;
    width: calc((100% - (var(--clx-news-card-gap) * 2)) / 3) !important;
  }

  @media (max-width: 1023px) {
    :where(body.home, .editor-styles-wrapper) .clx-card-section:has(.clx-news-card) .clx-home-news-header .clx-slider-controls {
      justify-self: start !important;
      padding-bottom: 0;
    }

    :where(body.home, .editor-styles-wrapper) .clx-card-section:has(.clx-news-card) .clx-card-grid--3 > .wp-block-column {
      flex-basis: min(84vw, 560px) !important;
      min-width: min(84vw, 560px) !important;
      width: min(84vw, 560px) !important;
    }
  }

  @media (max-width: 767px) {
    :where(body.home, .editor-styles-wrapper) .clx-card-section:has(.clx-news-card) .clx-home-news-header .clx-slider-control {
      height: 54px !important;
      width: 54px !important;
    }
  }
}

