.home-page.home-page--public {
  padding: 0 0 var(--s7);
  color: var(--text);
}

.avoon-home-hero-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
  padding-block: clamp(32px, 5vw, 64px);
}

.avoon-home-hero h1 {
  margin: 0;
  font-size: clamp(30px, 3.7vw, 52px);
  font-weight: 750;
  letter-spacing: -.045em;
  line-height: 1.2;
  word-break: keep-all;
}

.avoon-home-photo {
  max-height: 236px;
  overflow: hidden;
  border-radius: var(--r-card);
  aspect-ratio: 16 / 9;
  background: var(--bg-section);
}

.avoon-home-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 53%;
}

.avoon-home-hero-controls { margin-top: var(--s5); }

.avoon-home-region {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  max-width: 100%;
  margin-bottom: var(--s2);
  padding: 0 12px;
  border: 0;
  border-radius: var(--r-ctl);
  background: var(--bg-section);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 680;
  cursor: pointer;
}

.avoon-home-region:hover { background: var(--bg-selected); }
.avoon-home-region .ui-icon:first-child { color: var(--btn); }
.avoon-home-region span { overflow-wrap: anywhere; }

.avoon-home-search { gap: var(--s2); }

.avoon-home-search .dsc-search-field {
  height: 52px;
  border-color: var(--line);
  border-radius: var(--r-ctl);
  background: var(--bg-section);
}

.avoon-home-search .dsc-search-field:focus-within {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
  background: var(--bg);
}

.avoon-home-search .dsc-search-field input::placeholder { color: var(--text-2); }

.avoon-home-search .dsc-search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 76px;
  height: 52px;
  padding-inline: 16px;
  border-radius: var(--r-ctl);
  background: var(--btn);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.avoon-home-search .dsc-search-submit > .ui-icon { display: none; }
.avoon-home-search .dsc-search-submit:hover { background: var(--btn-hover); }

.avoon-home-browse-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px 20px;
  margin-bottom: var(--s2);
}

.avoon-home-browse h2 {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 720;
  letter-spacing: -.035em;
  line-height: 1.25;
}

.avoon-home-count {
  margin: 3px 0 0;
  color: var(--text-2);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.avoon-home-count:empty { display: none; }

.avoon-home-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: var(--btn);
  font-size: 14px;
  font-weight: 700;
  text-align: right;
  word-break: keep-all;
}

.avoon-home-all:hover { text-decoration: underline; text-underline-offset: 3px; }

.avoon-home-choices {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s2);
}

.avoon-home-choice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--s2);
  min-height: 68px;
  padding: 8px 12px;
  border-radius: var(--r-card);
  background: var(--bg-section);
  color: var(--text);
  transition: background-color var(--t-fast);
}

.avoon-home-choice:hover { background: var(--bg-selected); }

.avoon-home-choice-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--r-ctl);
  background: var(--bg-selected);
  color: var(--btn);
}

.avoon-home-choice-label {
  font-size: 15px;
  font-weight: 690;
  line-height: 1.3;
  word-break: keep-all;
}

.avoon-home-choice > .ui-icon { color: var(--text-2); }

.avoon-home-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--s5);
  margin-top: var(--s4);
  border-bottom: 1px solid var(--line);
}

.avoon-home-shortcuts a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  gap: 4px;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 650;
}

.avoon-home-shortcuts a:hover { color: var(--btn); }
.home-page--public .home-banner-slot:empty,
.home-page--public .home-discovery[hidden] { display: none; }
.home-page--public .home-banner-slot:not(:empty) { margin-top: var(--s5); }

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

@media (max-width: 650px) {
  .avoon-home-hero-wrap { grid-template-columns: minmax(0, 1fr); padding-block: var(--s6); }
  .avoon-home-photo { display: none; }
  .avoon-home-hero-controls { margin-top: var(--s4); }
  .avoon-home-choice { min-height: 62px; padding-inline: 8px; }
  .avoon-home-choice-icon { width: 30px; height: 30px; }
  .avoon-home-choice-icon .ui-icon { width: 18px; height: 18px; }
  .avoon-home-choice > .ui-icon { width: 14px; height: 14px; }
  .avoon-home-choice-label { font-size: 14px; }
  .avoon-home-shortcuts { column-gap: var(--s4); }
}
