/*
 * CBA_HOME_DISCOVERY_V1
 *
 * Discovery-first homepage with voting integrated into
 * horizontal nominee collections.
 */

.cba-home-discovery {
  --cba-home-text: #111111;
  --cba-home-muted: #62666c;
  --cba-home-line: #e2e3e6;
  --cba-home-surface: #f5f5f3;
  --cba-home-accent: #d9af35;

  width: 100%;
  color: var(--cba-home-text);
  background: #ffffff;
}

.cba-home-discovery *,
.cba-home-discovery *::before,
.cba-home-discovery *::after {
  box-sizing: border-box;
}

.cba-home-discovery__shell {
  width: min(1460px, calc(100% - 40px));
  margin: 0 auto;
}

.cba-home-hero {
  position: relative;
  overflow: hidden;
  margin: 24px auto 20px;
  padding: clamp(36px, 6vw, 86px);
  border-radius: 30px;
  background: #000;
  color: #ffffff;
}

.cba-home-hero__content {
  position: relative;
  z-index: 1;
  max-width: 890px;
}

.cba-home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cba-home-eyebrow::before {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--cba-home-accent);
  content: "";
}

.cba-home-hero h1 {
  max-width: 850px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(38px, 5.8vw, 76px);
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.cba-home-hero__intro {
  max-width: 690px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.5;
}

.cba-home-search {
  display: grid;
  grid-template-columns:
    minmax(220px, 1fr)
    minmax(220px, 0.8fr)
    auto;
  align-items: center;
  gap: 0;
  max-width: 980px;
  margin-top: 34px;
  padding: 7px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.3);
}

.cba-home-search__field {
  position: relative;
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 6px 22px;
}

.cba-home-search__field + .cba-home-search__field {
  border-left: 1px solid #dddddd;
}

.cba-home-search__field label {
  color: #111111;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.cba-home-search__field input {
  width: 100%;
  min-width: 0;
  height: 26px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #222222;
  font: inherit;
  font-size: 14px;
}

.cba-home-search__field input::placeholder {
  color: #72767c;
}

.cba-home-search__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 124px;
  min-height: 54px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
}

.cba-home-search__button:hover,
.cba-home-search__button:focus-visible {
  background: #333333;
}

.cba-home-search__button:focus-visible {
  outline: 3px solid rgba(217, 175, 53, 0.45);
  outline-offset: 3px;
}

.cba-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.cba-home-hero__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.cba-home-hero__link:hover {
  border-color: #ffffff;
  color: #ffffff;
  text-decoration: none;
}

.cba-home-section {
  padding: clamp(34px, 5vw, 66px) 0 4px;
}

.cba-home-section + .cba-home-section {
  border-top: 1px solid var(--cba-home-line);
}

.cba-home-section__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.cba-home-section__copy {
  min-width: 0;
}

.cba-home-section__heading h2 {
  margin: 0;
  color: #111111;
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 820;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.cba-home-section__heading p {
  max-width: 720px;
  margin: 8px 0 0;
  color: var(--cba-home-muted);
  font-size: 15px;
  line-height: 1.5;
}

.cba-home-section__controls {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.cba-home-scroll-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--cba-home-line);
  border-radius: 999px;
  background: #ffffff;
  color: #111111;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.cba-home-scroll-button:hover:not(:disabled) {
  border-color: #111111;
}

.cba-home-scroll-button:disabled {
  opacity: 0.3;
  cursor: default;
}

/*
 * Convert the existing nomination grid into a modern discovery
 * rail without changing its API or vote implementation.
 */
.cba-home-vote-rail.all-nominations,
.cba-home-vote-rail.account-nom-grid {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: stretch;
  gap: 18px !important;
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  padding: 4px 2px 24px !important;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.cba-home-vote-rail::-webkit-scrollbar {
  display: none;
}

.cba-home-vote-rail > .account-nom-card,
.cba-home-vote-rail > .account-nom-card-loading {
  flex: 0 0 clamp(250px, 23vw, 330px) !important;
  width: clamp(250px, 23vw, 330px) !important;
  min-width: clamp(250px, 23vw, 330px) !important;
  max-width: 330px !important;
  margin: 0 !important;
  scroll-snap-align: start;
}

.cba-home-vote-rail .account-nom-card {
  overflow: hidden;
  border: 1px solid var(--cba-home-line);
  border-radius: 18px !important;
  background: #ffffff;
  box-shadow: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.cba-home-vote-rail .account-nom-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.1);
}

.cba-home-vote-rail .account-nom-media {
  min-height: 360px;
  border-radius: 17px !important;
  background-color: #222222;
}

.cba-home-vote-rail .account-nom-top {
  padding: 16px !important;
}

.cba-home-vote-rail .account-nom-bottom {
  padding: 16px 16px 78px !important;
}

.cba-home-vote-rail .account-nom-biz-name {
  font-size: 17px !important;
  line-height: 1.25 !important;
}

.cba-home-vote-rail .account-nom-biz-excerpt {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.cba-home-vote-rail .account-nom-award {
  font-size: 13px;
  line-height: 1.35;
}

/*
 * allNominations.js creates a full-card voting overlay. On the
 * discovery homepage it becomes a persistent, explicit button.
 */
.cba-home-vote-rail .account-nom-vote {
  top: auto !important;
  right: 14px !important;
  bottom: 14px !important;
  left: 14px !important;
  z-index: 5 !important;
  display: flex !important;
  width: auto !important;
  height: 48px !important;
  min-height: 48px !important;
  padding: 8px 18px !important;
  transform: none !important;
  border: 1px solid #ffffff !important;
  border-radius: 999px !important;
  background: rgba(0, 0, 0, 0.92) !important;
  color: #ffffff !important;
  opacity: 1 !important;
  cursor: pointer;
}

.cba-home-vote-rail
.account-nom-vote:not(:disabled):hover {
  background: #ffffff !important;
  color: #111111 !important;
}

.cba-home-vote-rail
.account-nom-vote.account-nom-voted,
.cba-home-vote-rail
.account-nom-card.voted
.account-nom-vote {
  border-color: #ffffff !important;
  background: #ffffff !important;
  color: #111111 !important;
}

.cba-home-vote-rail .pushads-slot {
  display: none !important;
}

.cba-home-vote-rail .account-nom-empty {
  flex: 1 0 100%;
  padding: 30px;
  border: 1px dashed var(--cba-home-line);
  border-radius: 16px;
  color: var(--cba-home-muted);
  text-align: center;
}

.cba-home-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.cba-home-category-card {
  position: relative;
  display: flex;
  min-height: 180px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--cba-home-line);
  border-radius: 20px;
  background:
    radial-gradient(
      circle at 95% 5%,
      rgba(217, 175, 53, 0.3),
      transparent 42%
    ),
    var(--cba-home-surface);
  color: #111111;
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease;
}

.cba-home-category-card:hover {
  transform: translateY(-3px);
  border-color: #111111;
  color: #111111;
  text-decoration: none;
}

.cba-home-category-card span {
  color: var(--cba-home-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cba-home-category-card strong {
  display: block;
  max-width: 240px;
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.cba-home-nominate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  margin: 64px auto;
  padding: clamp(30px, 5vw, 62px);
  border-radius: 26px;
  background: #111111;
  color: #ffffff;
}

.cba-home-nominate h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.cba-home-nominate p {
  max-width: 680px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.cba-home-nominate__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 23px;
  border-radius: 999px;
  background: #ffffff;
  color: #111111;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.cba-home-nominate__button:hover {
  background: var(--cba-home-accent);
  color: #111111;
  text-decoration: none;
}

@media (max-width: 1050px) {
  .cba-home-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cba-home-search {
    grid-template-columns: 1fr 1fr auto;
  }
}

@media (max-width: 760px) {
  .cba-home-discovery__shell {
    width: min(100% - 24px, 1460px);
  }

  .cba-home-hero {
    margin-top: 12px;
    padding: 32px 20px;
    border-radius: 22px;
  }

  .cba-home-hero h1 {
    font-size: clamp(38px, 12vw, 56px);
  }

  .cba-home-search {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 8px;
    border-radius: 20px;
  }

  .cba-home-search__field {
    padding: 10px 14px;
  }

  .cba-home-search__field + .cba-home-search__field {
    border-top: 1px solid #dddddd;
    border-left: 0;
  }

  .cba-home-search__button {
    width: 100%;
    margin-top: 6px;
  }

  .cba-home-section__heading {
    align-items: center;
  }

  .cba-home-section__controls {
    display: none;
  }

  .cba-home-vote-rail > .account-nom-card,
  .cba-home-vote-rail > .account-nom-card-loading {
    flex-basis: min(82vw, 300px) !important;
    width: min(82vw, 300px) !important;
    min-width: min(82vw, 300px) !important;
  }

  .cba-home-category-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .cba-home-category-grid::-webkit-scrollbar {
    display: none;
  }

  .cba-home-category-card {
    flex: 0 0 min(78vw, 280px);
    scroll-snap-align: start;
  }

  .cba-home-nominate {
    grid-template-columns: 1fr;
    margin: 46px auto;
  }

  .cba-home-nominate__button {
    width: 100%;
  }
}


/*
 * CBA_HOME_HERO_CLEANUP_CSS_V1
 * Hero eyebrow, visible labels, and decorative circle removed.
 */

/*
 * CBA_HOME_DISCOVERY_CARD_RESTYLE_V2
 *
 * Homepage-only discovery cards. Direct vote buttons remain
 * available in other nomination widgets and ballot pages.
 */

.cba-home-section .cba-home-hero__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 26px;
}

.cba-home-section .cba-home-hero__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  padding: 18px 22px;
  border: 1px solid #dedfe2;
  border-radius: 18px;
  background: #f6f6f4;
  color: #111;
  text-align: left;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}



.cba-home-section .cba-home-hero__link:hover,
.cba-home-section .cba-home-hero__link:focus-visible {
  border-color: #111;
  color: #111;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
}

.cba-home-section .cba-home-hero__link small {
  display: block;
  margin-bottom: 4px;
  color: #686b70;
  font-size: 12px;
  font-weight: 600;
}

.cba-home-section .cba-home-hero__link strong {
  display: block;
  color: #111;
  font-size: 17px;
  line-height: 1.25;
}

.cba-home-vote-rail > .account-nom-card,
.cba-home-vote-rail > .account-nom-card-loading {
  flex: 0 0 clamp(210px, 17vw, 260px) !important;
  width: clamp(210px, 17vw, 260px) !important;
  min-width: clamp(210px, 17vw, 260px) !important;
  max-width: 260px !important;
}

.cba-home-vote-rail .account-nom-card {
  display: flex;
  flex-direction: column;
  overflow: visible;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  cursor: pointer;
}

.cba-home-vote-rail .account-nom-card:hover {
  transform: none;
  box-shadow: none !important;
}

.cba-home-vote-rail .account-nom-media {
  width: 100%;
  min-height: 0 !important;
  aspect-ratio: 1.14 / 1;
  border-radius: 16px !important;
  background-position: center !important;
  background-size: cover !important;
  box-shadow: none !important;
}

.cba-home-vote-rail .account-nom-top {
  position: static !important;
  z-index: auto !important;
  display: block !important;
  padding: 12px 2px 0 !important;
  background: transparent !important;
  color: #111 !important;
}

.cba-home-vote-rail .account-nom-logo {
  display: none !important;
}

.cba-home-vote-rail .account-nom-biz {
  margin: 0 !important;
}

.cba-home-vote-rail .account-nom-biz-name {
  color: #111 !important;
  font-size: 16px !important;
  font-weight: 750 !important;
  letter-spacing: -0.015em;
  line-height: 1.25 !important;
}

.cba-home-vote-rail .account-nom-biz-excerpt {
  margin-top: 3px;
  color: #666a70 !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  -webkit-line-clamp: 2;
}

.cba-home-vote-rail .account-nom-bottom {
  position: static !important;
  z-index: auto !important;
  display: block !important;
  padding: 7px 2px 0 !important;
  background: transparent !important;
  color: #111 !important;
}

.cba-home-vote-rail .account-nom-award {
  color: #111 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em;
  line-height: 1.3 !important;
}

.cba-home-vote-rail .account-nom-vote {
  display: none !important;
}

.cba-home-card-meta {
  padding: 5px 2px 0;
  color: #666a70;
  font-size: 13px;
  line-height: 1.35;
}

.cba-home-ballot-card:focus-visible {
  outline: 3px solid rgba(17, 17, 17, 0.3);
  outline-offset: 5px;
  border-radius: 16px !important;
}

@media (max-width: 760px) {
  .cba-home-section .cba-home-hero__actions {
    grid-template-columns: 1fr;
  }

  .cba-home-vote-rail > .account-nom-card,
  .cba-home-vote-rail > .account-nom-card-loading {
    flex-basis: min(72vw, 260px) !important;
    width: min(72vw, 260px) !important;
    min-width: min(72vw, 260px) !important;
  }
}

/*
 * CBA_HOME_UNIQUE_BUSINESS_RAIL_CSS_V2
 *
 * The latest rail displays unique businesses rather than
 * every category nomination for each business.
 */
.cba-home-vote-rail[
  data-home-kind="businesses"
] .account-nom-bottom {
  display: none !important;
}

.cba-home-vote-rail[
  data-home-kind="businesses"
] .account-nom-biz-name {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.cba-home-vote-rail[
  data-home-kind="businesses"
] .account-nom-biz-excerpt {
  -webkit-line-clamp: 2;
}

.cba-home-vote-rail[
  data-home-kind="businesses"
] .cba-home-card-meta {
  padding-top: 7px;
}

/*
 * CBA_HOME_DISCOVERY_CLEANUP_CSS_V4
 *
 * PushIcons chevrons and simplified category discovery.
 */
.cba-home-scroll-button[icon="chevron"] {
  padding: 0 !important;
}

.cba-home-scroll-button[
  data-home-scroll-previous
][icon="chevron"] {
  transform: rotate(180deg);
}

.cba-home-scroll-button[
  data-home-scroll-next
][icon="chevron"] {
  transform: rotate(0deg);
}

.cba-home-scroll-button[
  data-home-scroll-previous
][icon="chevron"]:hover,
.cba-home-scroll-button[
  data-home-scroll-previous
][icon="chevron"]:focus-visible {
  transform: rotate(180deg);
}

.cba-home-scroll-button[
  data-home-scroll-next
][icon="chevron"]:hover,
.cba-home-scroll-button[
  data-home-scroll-next
][icon="chevron"]:focus-visible {
  transform: rotate(0deg);
}

.cba-home-category-card {
  justify-content: end;
  background: #ebebeb;
}

.cba-home-category-card strong {
  display: block;
  max-width: 240px;
  font-size: clamp(20px, 2vw, 23px);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

/*
 * CBA_HOME_PUSHICON_DIRECTION_FIX_V1
 *
 * The PushIcons chevron points down by default.
 * Rotate it left or right based on the button direction.
 */
.cba-home-scroll-button[icon="chevron"] {
  padding: 0 !important;
}

[icon="chevron"] svg {
  width: 12px;
  height: 12px;
}

.cba-home-scroll-button[
  data-home-scroll-previous
][icon="chevron"] {
  transform: rotate(90deg);
}

.cba-home-scroll-button[
  data-home-scroll-next
][icon="chevron"] {
  transform: rotate(-90deg);
}

.cba-home-scroll-button[
  data-home-scroll-previous
][icon="chevron"]:hover,
.cba-home-scroll-button[
  data-home-scroll-previous
][icon="chevron"]:focus-visible {
  transform: rotate(90deg);
}

.cba-home-scroll-button[
  data-home-scroll-next
][icon="chevron"]:hover,
.cba-home-scroll-button[
  data-home-scroll-next
][icon="chevron"]:focus-visible {
  transform: rotate(-90deg);
}

.cba-home-section .cba-home-hero__link-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-left: 18px;
  padding: 0;
  border-radius: 999px;
  background: #fff;
  color: #111;
}

.cba-home-section
.cba-home-hero__link-icon[icon="arrow_right"] svg {
  width: 14px;
  height: 14px;
}

/*
 * CBA_HOME_TOP_CITIES_CSS_V1
 */
.cba-home-city-rail {
  display: flex;
  gap: 16px;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 0 10px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.cba-home-city-rail::-webkit-scrollbar {
  display: none;
}

.cba-home-city-card {
  position: relative;
  display: flex;
  flex: 0 0 clamp(225px, 21vw, 280px);
  min-height: 190px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 22px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: #ebebeb;
  color: #111;
  scroll-snap-align: start;
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.cba-home-city-card:hover,
.cba-home-city-card:focus-visible {
  border-color: #111;
  color: #111;
  text-decoration: none;
box-shadow:
    0 16px 32px
    rgba(0, 0, 0, 0.09);
}

.cba-home-city-card__location {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding-right: 44px;
}

.cba-home-city-card__location strong {
  display: block;
  font-size: clamp(22px, 2.2vw, 28px);
  letter-spacing: -0.04em;
  line-height: 1.03;
}

.cba-home-city-card__location span {
  color: #65686d;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.cba-home-city-card__metrics {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  color: #595d62;
  font-size: 13px;
  line-height: 1.35;
}

.cba-home-city-card__arrow {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #fff;
  color: #111;
}

.cba-home-city-card__arrow[
  icon="arrow_right"
] svg {
  width: 14px;
  height: 14px;
}

.cba-home-city-card--loading {
  min-height: 190px;
  pointer-events: none;
  animation:
    cba-home-city-pulse
    1.15s ease-in-out infinite;
}

.cba-home-city-empty {
  width: 100%;
  margin: 0;
  padding: 28px 0;
  color: #65686d;
}

@keyframes cba-home-city-pulse {
  0%,
  100% {
    opacity: 0.55;
  }

  50% {
    opacity: 1;
  }
}

@media (max-width: 760px) {
  .cba-home-city-card {
    flex-basis: min(76vw, 280px);
  }
}

/*
 * CBA_HOME_CITY_FULL_STATE_CSS_V2
 */
.cba-home-city-card__location {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  padding-right: 44px;
}

.cba-home-city-card__location
.cba-home-city-card__state {
  display: block;
  color: #595d62;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  text-transform: none;
}

.cba-home-city-card__metrics {
  display: none !important;
}

/*
 * CBA_HOME_CATEGORY_ARROW_CSS_V1
 */
.cba-home-category-card {
  position: relative;
  padding-right: 70px;
}

.cba-home-category-card__arrow {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 999px;
  background: #fff;
  color: #111;
}

.cba-home-category-card__arrow[
  icon="arrow_right"
] svg {
  width: 14px;
  height: 14px;
}

/*
 * CBA_HOME_HEADER_PARITY_SEARCH_CSS_V1
 */
.cba-home-search {
  position: relative;
  overflow: visible;
}

.cba-home-search__field {
  position: relative;
  overflow: visible;
}

.cba-home-search__location-icon {
  position: absolute;
  top: 50%;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  pointer-events: none;
}

.cba-home-search__location-icon svg {
  width: 18px;
  height: 18px;
}

.cba-home-search__field[
  data-home-location-field
] input[type="search"] {
  padding-left: 44px;
}

.cba-home-search__suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 500;
  width: max(100%, 330px);
  max-height: min(420px, 60vh);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid #d8dadd;
  border-radius: 14px;
  background: #fff;
  color: #111;
  box-shadow:
    0 18px 46px
    rgba(0, 0, 0, 0.16);
}

.cba-home-search__field[
  data-home-location-field
] .cba-home-search__suggestions {
  right: 0;
  left: auto;
}

.cba-home-search__suggestions[hidden] {
  display: none !important;
}

.cba-home-search__suggestion-heading {
  padding: 9px 11px 6px;
  color: #74777c;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.cba-home-search__suggestion {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 11px;
  padding: 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #111;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.cba-home-search__suggestion:hover,
.cba-home-search__suggestion:focus-visible,
.cba-home-search__suggestion.is-active {
  outline: none;
  background: #f0f1f2;
}

.cba-home-search__suggestion-thumb {
  display: inline-flex;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 9px;
  background: #eceeef;
  object-fit: cover;
}

.cba-home-search__suggestion-thumb svg {
  width: 18px;
  height: 18px;
}

img.cba-home-search__suggestion-thumb {
  display: block;
  object-fit: cover;
}

.cba-home-search__suggestion-content {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.cba-home-search__suggestion-content strong {
  overflow: hidden;
  color: #111;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cba-home-search__suggestion-content small {
  overflow: hidden;
  color: #6b6f74;
  font-size: 12px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cba-home-search__suggestion-message {
  padding: 15px 12px;
  color: #6b6f74;
  font-size: 13px;
}

.cba-home-search__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.cba-home-search__button [icon="search"] {
  display: inline-flex;
}

.cba-home-search__button [icon="search"] svg {
  width: 17px;
  height: 17px;
}

@media (max-width: 760px) {
  .cba-home-search__suggestions,
  .cba-home-search__field[
    data-home-location-field
  ] .cba-home-search__suggestions {
    right: 0;
    left: 0;
    width: 100%;
    min-width: 0;
  }
}

/*
 * CBA_HOME_SEARCH_POPOVER_VISIBILITY_CSS_V1
 */
.cba-home-search__suggestions {
  display: none;
}

.cba-home-search__suggestions.is-open {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.cba-home-search__suggestions[
  hidden
]:not(.is-open) {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.cba-home-search__field {
  z-index: 1;
}

.cba-home-search__field:focus-within {
  z-index: 510;
}

.cba-home-search__suggestions.is-open {
  z-index: 520;
}

/*
 * CBA_HOME_SEARCH_BUTTON_ICON_ONLY_CSS_V1
 */
.cba-home-search__button {
  min-width: 54px;
  min-height: 54px;
  padding: 0;
}

.cba-home-hero {
  overflow: unset;
}

.cba-home-search__button [icon="search"] svg {
  fill: #fff;
}

.cba-home-search__suggestion {
  justify-content: start;
}

/*
 * CBA_HOME_SHARED_HEADER_SEARCH_CSS_V1
 */
.cba-home-search-host {
  position: relative;
  z-index: 600;
  width: min(890px, 100%);
  margin-top: 34px;
}

.cba-home-search-host:empty {
  min-height: 54px;
}

.cba-home-search-host
.cba-search-v3 {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
}

.cba-home-search-host
.cba-search-v3-fields {
  width: 100%;
  max-width: none;
}

.cba-home-search-host
.cba-search-v3-field {
  min-width: 0;
}

.cba-home-search-host
.cba-search-v3-dropdown {
  z-index: 1000;
}

.cba-home-search-host
.cba-search-v3
.submit {
  min-width: 54px;
  min-height: 54px;
  padding: 0;
}

.cba-home-search-host
.cba-search-v3
.submit [icon="search"] svg {
  fill: #fff;
}

.cba-home-header-search-source-empty {
  display: none !important;
  width: 0 !important;
  min-width: 0 !important;
  max-width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.cba-home-hero {
  overflow: visible;
}

@media (max-width: 760px) {
  .cba-home-search-host {
    width: 100%;
    margin-top: 26px;
  }
}

/*
 * CBA_HOME_SHARED_HEADER_SEARCH_CSS_V2
 *
 * These rules only apply while the shared header search is
 * mounted inside the homepage hero.
 */
.cba-home-search-host {
  width: 100%;
  max-width: 1000px;
  min-height: 68px;
  margin-top: 34px;
}

.cba-home-search-host:empty {
  min-height: 68px;
}

.cba-home-search-host
.cba-search-v3 {
  width: 100%;
  max-width: none;
  margin: 0;
}

.cba-home-search-host
.cba-search-v3-fields {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  min-height: 68px;
  padding: 7px 13px;
  overflow: visible;
  border: 0;
  border-radius: 999px;
  background: #fff;
  box-shadow: none;
}

.cba-home-search-host
.cba-search-v3-field {
  min-width: 0;
  min-height: 54px;
  border: 0;
  background: transparent;
}

.cba-home-search-host
.cba-search-v3-field
input {
  min-height: 54px;
  border: 0;
  outline: 0;
  background: transparent;
}

.cba-home-search-host
.cba-query-field {
  border-right:
    1px solid
    rgba(0, 0, 0, 0.12);
}

.cba-home-search-host
.cba-search-v3
.submit {
  box-sizing: border-box;
  flex: 0 0 54px;
  width: 54px;
  min-width: 54px;
  max-width: 54px;
  height: 54px;
  min-height: 54px;
  max-height: 54px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #111;
}

.cba-home-search-host
.cba-search-v3
.submit:hover,
.cba-home-search-host
.cba-search-v3
.submit:focus-visible {
  border-radius: 999px;
  background: #222;
  transform: none;
}

.cba-home-search-host
.cba-search-v3
.submit [icon="search"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cba-home-search-host
.cba-search-v3
.submit [icon="search"] svg {
  width: 19px;
  height: 19px;
  fill: #fff;
}

.cba-home-search-host
.cba-search-v3-dropdown {
  top: calc(100% + 12px);
  z-index: 1200;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow:
    0 20px 50px
    rgba(0, 0, 0, 0.2);
}

.cba-home-search-host
.cba-search-v3-dropdown
.item,
.cba-home-search-host
.cba-search-v3-dropdown
.loc-item {
  justify-content: flex-start;
  text-align: left;
}

.cba-home-hero {
  overflow: visible;
}

@media (max-width: 760px) {
  .cba-home-search-host {
    width: 100%;
    min-height: 60px;
    margin-top: 26px;
  }

  .cba-home-search-host:empty {
    min-height: 60px;
  }

  .cba-home-search-host
  .cba-search-v3-fields {
    min-height: 60px;
    padding: 4px;
  }

  .cba-home-search-host
  .cba-search-v3
  .submit {
    flex-basis: 52px;
    width: 52px;
    min-width: 52px;
    max-width: 52px;
    height: 52px;
    min-height: 52px;
    max-height: 52px;
  }
}

/*
 * CBA_HOME_CITY_CATEGORY_ROWS_CSS_V1
 */
[data-home-source="popular"]
.account-nom-top {
  display: none !important;
}

[data-home-source="popular"]
.account-nom-bottom {
  padding-top: 13px;
}

[data-home-source="popular"]
.account-nom-award {
  font-size: 16px;
  line-height: 1.3;
}

[data-home-source="popular"]
.cba-home-card-meta {
  color: #62666b;
  font-size: 13px;
  line-height: 1.4;
}

.cba-home-city-category-rows {
  display: grid;
  gap: 42px;
  margin-top: 26px;
}

.cba-home-city-category-row {
  min-width: 0;
}

.cba-home-city-category-row__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.cba-home-city-category-row__title {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  color: inherit;
  text-decoration: none;
}

.cba-home-city-category-row__title h3 {
  margin: 0;
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.2;
}

.cba-home-city-category-row__title [
  icon="arrow_right"
] {
  display: inline-flex;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #f1f2f3;
}

.cba-home-city-category-row__title [
  icon="arrow_right"
] svg {
  width: 14px;
  height: 14px;
}

.cba-home-city-category-row__controls {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.cba-home-city-category-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns:
    clamp(170px, 15vw, 220px);
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 5px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}

.cba-home-city-category-rail::-webkit-scrollbar {
  display: none;
}

.cba-home-city-category-card {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 7px;
  color: inherit;
  text-decoration: none;
}

.cba-home-city-category-card__image {
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 0.82;
  border-radius: 17px;
  background: #eceeef;
}

.cba-home-city-category-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.cba-home-city-category-card:hover
.cba-home-city-category-card__image img,
.cba-home-city-category-card:focus-visible
.cba-home-city-category-card__image img {
  transform: scale(1.025);
}

.cba-home-city-category-card:focus-visible {
  outline: 2px solid #111;
  outline-offset: 5px;
  border-radius: 17px;
}

.cba-home-city-category-card__title {
  overflow: hidden;
  font-size: 15px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cba-home-city-category-card__meta {
  overflow: hidden;
  color: #696d72;
  font-size: 13px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cba-home-city-category-row__loading-heading {
  width: min(360px, 55%);
  height: 25px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: #eceeef;
}

.cba-home-city-category-card.is-loading {
  min-height: 215px;
  border-radius: 17px;
  background:
    linear-gradient(
      100deg,
      #eceeef 20%,
      #f6f7f7 40%,
      #eceeef 60%
    );
  background-size: 200% 100%;
  animation:
    cba-home-category-row-loading
    1.2s linear infinite;
}

.cba-home-city-category-empty {
  margin: 0;
  padding: 24px 0;
  color: #696d72;
}

@keyframes cba-home-category-row-loading {
  from {
    background-position: 200% 0;
  }

  to {
    background-position: -200% 0;
  }
}

@media (max-width: 760px) {
  .cba-home-city-category-rows {
    gap: 34px;
  }

  .cba-home-city-category-row__heading {
    align-items: flex-end;
  }

  .cba-home-city-category-row__title h3 {
    font-size: 20px;
  }

  .cba-home-city-category-rail {
    grid-auto-columns:
      minmax(155px, 72vw);
  }
}

/*
 * CBA_HOME_SCROLL_CHEVRON_DIRECTIONS_V1
 *
 * The PushIcons chevron points downward by default.
 * Rotate the SVG itself so button hover/focus transforms
 * cannot change the navigation direction.
 */
.cba-home-scroll-button[
  data-home-scroll-previous
] svg,
.cba-home-city-category-row__controls
.cba-home-scroll-button[
  data-direction="previous"
] svg {
  transform:
    rotate(90deg)
    !important;
  transform-origin: center;
}

.cba-home-scroll-button[
  data-home-scroll-next
] svg,
.cba-home-city-category-row__controls
.cba-home-scroll-button[
  data-direction="next"
] svg {
  transform:
    rotate(-90deg)
    !important;
  transform-origin: center;
}

/*
 * CBA_HOME_OLDER_CHEVRON_DOUBLE_ROTATION_FIX_V1
 *
 * Older homepage section controls already rotated the button.
 * The newer direction rule rotates the SVG, causing both
 * transforms to combine and point upward.
 *
 * Keep the button stationary and rotate only the SVG.
 */
.cba-home-section__controls
.cba-home-scroll-button[
  data-home-scroll-previous
],
.cba-home-section__controls
.cba-home-scroll-button[
  data-home-scroll-next
],
.cba-home-section__controls
.cba-home-scroll-button[
  data-home-scroll-previous
]:hover,
.cba-home-section__controls
.cba-home-scroll-button[
  data-home-scroll-next
]:hover,
.cba-home-section__controls
.cba-home-scroll-button[
  data-home-scroll-previous
]:focus-visible,
.cba-home-section__controls
.cba-home-scroll-button[
  data-home-scroll-next
]:focus-visible {
  transform: none !important;
}

.cba-home-section__controls
.cba-home-scroll-button[
  data-home-scroll-previous
] svg {
  transform: rotate(90deg) !important;
  transform-origin: center;
}

.cba-home-section__controls
.cba-home-scroll-button[
  data-home-scroll-next
] svg {
  transform: rotate(-90deg) !important;
  transform-origin: center;
}

