.header-nav .container {
  gap: 22px;
}
.nav-end {
  font-size: 10px;
}
.explore-card > img {
  width: 100%;
  height: 132px;
}
.explore-card > div {
  position: relative;
  padding: 22px;
}
.explore-card .stat-icon {
  position: absolute;
  right: 15px;
  top: -24px;
  background: var(--surface);
  border: 1px solid var(--border);
  width: 42px;
  height: 42px;
}
.explore-card h3 {
  font-size: 17px;
  margin: 0 0 11px;
}
.explore-card p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
.community-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  margin-top: 26px;
}
.community-hero > div {
  padding: 40px;
}
.community-hero h1 {
  font-size: 38px;
  line-height: 1.2;
  max-width: 470px;
  margin: 19px 0 15px;
}
.community-hero p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 25px;
  max-width: 400px;
}
.community-hero > img {
  width: 100%;
  height: 100%;
  max-height: 365px;
  min-height: 310px;
  object-fit: cover;
}
.community-card {
  position: relative;
  display: flex;
  flex-direction: column;
}
.community-card-image {
  height: 166px;
  position: relative;
  display: block;
  background: var(--border);
}
.community-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.community-card-image > .badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: var(--surface);
  font-size: 11px;
}
.community-card-image > .badge .icon {
  width: 13px;
  height: 13px;
}
.community-card-body {
  padding: 21px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.community-card-body h3 {
  font-size: 17px;
  line-height: 1.4;
  margin: 10px 0 14px;
  min-height: 48px;
}
.community-card-body .price {
  font-size: 22px;
}
.community-card-body .price small {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0;
}
.community-tags {
  gap: 6px;
  margin-bottom: 20px;
}
.community-tags .badge {
  font-size: 10px;
  font-weight: 500;
}
.community-card-body > .row.between {
  margin-top: auto;
}
.route-line {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
}
.route-line .icon {
  width: 18px;
  height: 18px;
  color: var(--link);
}
.journey-search {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 18px;
  align-items: end;
  margin-top: 22px;
}
.journey-search .field {
  margin: 0;
}
.journey-search > .btn {
  height: 46px;
}
.community-detail-image {
  height: 360px;
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
}
.company-search {
  display: grid;
  grid-template-columns: 1fr 260px auto;
  gap: 15px;
}
.company-card-cover {
  width: 100%;
  height: 195px;
}
.company-card-body {
  padding: 25px;
  position: relative;
}
.company-avatar {
  width: 62px;
  height: 62px;
  background: #123968;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 29px;
  font-weight: 650;
  border-radius: 15px;
  border: 4px solid var(--surface);
  margin-top: -57px;
  position: relative;
  margin-bottom: 15px;
}
.company-card-body > .badge {
  position: absolute;
  right: 22px;
  top: 19px;
  font-size: 11px;
}
.company-card-body > .badge .icon {
  width: 14px;
  height: 14px;
}
.company-card h2 {
  font-size: 23px;
  margin-bottom: 10px;
}
.company-card p {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 20px;
}
.company-cover {
  height: 265px;
  position: relative;
  overflow: hidden;
}
.company-cover > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.company-cover:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #081525d6, #0815251c);
}
.company-cover > div {
  position: absolute;
  left: 38px;
  top: 55px;
  max-width: 600px;
  z-index: 1;
}
.company-cover span {
  font-size: 13px;
  color: #c5d9f6;
}
.company-cover h2 {
  font-size: 30px;
  color: #fff;
  margin-top: 14px;
  max-width: 510px;
  line-height: 1.35;
}
.filter-panel {
  max-height: calc(100dvh - 170px);
  overflow-y: auto;
  scrollbar-width: thin;
}
.filter-category-fields {
  margin: 0 0 18px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--border);
}
.filter-category-fields:empty {
  display: none;
}
.filter-panel .field > .row {
  gap: 8px;
}
.search-results .community-card-body {
  padding: 18px;
}
.search-results .community-card-body h3 {
  font-size: 15px;
}
.search-results .community-card-image {
  height: 155px;
}
.community-detail-image[src$='new-travel.jpg'],
.community-card-image img[src$='new-travel.jpg'] {
  object-position: 50% 35%;
}
.listing-image img[src$='new-stroller.jpg'] {
  object-fit: contain;
  background: #eee;
}
.community-card .favorite {
  top: 10px;
  right: 10px;
}
.company-search select {
  font-size: 13px;
}
.community-hero .radar-eyebrow {
  font-size: 11px;
}
.community-hero img[src$='new-travel.jpg'] {
  object-position: 50% 42%;
}
.wizard-preview {
  overflow-wrap: anywhere;
}
.attribute b {
  max-width: 60%;
  text-align: right;
}
@media (max-width: 1300px) {
  .header-nav .nav-end {
    display: none;
  }
  .header-nav .container {
    justify-content: space-between;
    gap: 15px;
  }
  .community-hero > div {
    padding: 30px;
  }
  .community-hero h1 {
    font-size: 33px;
  }
}
@media (max-width: 800px) {
  .community-hero > div {
    padding: 27px;
  }
  .community-hero h1 {
    font-size: 28px;
  }
  .community-hero p {
    font-size: 13px;
  }
  .community-hero > img {
    min-height: 300px;
  }
  .journey-search {
    grid-template-columns: 1fr 1fr;
  }
  .company-search {
    grid-template-columns: 1fr 1fr;
  }
  .company-search > input {
    grid-column: 1/-1;
  }
  .company-card-cover {
    height: 165px;
  }
  .company-card-body {
    padding: 20px;
  }
  .company-card-body > .badge {
    font-size: 9px;
    right: 15px;
  }
  .company-card h2 {
    font-size: 20px;
  }
  .company-card-body > .row {
    flex-wrap: wrap;
  }
  .company-cover {
    height: 230px;
  }
  .company-cover > div {
    left: 30px;
    top: 45px;
  }
  .company-cover h2 {
    font-size: 27px;
  }
  .explore-card > img {
    height: 140px;
  }
  .filter-panel {
    max-height: none;
  }
  .community-detail-image {
    height: 290px;
  }
}
@media (max-width: 560px) {
  .community-hero {
    display: flex;
    flex-direction: column;
  }
  .community-hero > div {
    padding: 26px 22px;
  }
  .community-hero h1 {
    font-size: 30px;
  }
  .community-hero > img {
    height: 165px;
    min-height: 0;
  }
  .community-hero .btn {
    font-size: 12px;
  }
  .community-hero .row {
    gap: 8px;
  }
  .journey-search {
    padding: 19px;
    gap: 14px;
  }
  .journey-search > .btn {
    font-size: 11px;
    padding: 9px;
  }
  .journey-search .field > label {
    font-size: 12px;
  }
  .community-card-body {
    padding: 21px;
  }
  .community-card-image {
    height: 185px;
  }
  .community-card-body h3 {
    font-size: 18px;
    min-height: 0;
  }
  .community-card-body .price {
    font-size: 23px;
  }
  .community-tags .badge {
    font-size: 11px;
  }
  .search-results .grid-3:has(.community-card) {
    grid-template-columns: 1fr;
  }
  .search-results .community-card-image {
    height: 175px;
  }
  .search-results .community-card-body h3 {
    font-size: 17px;
  }
  .company-search {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .company-search > input {
    grid-column: auto;
  }
  .company-card-cover {
    height: 185px;
  }
  .company-card h2 {
    font-size: 23px;
  }
  .company-card-body > .badge {
    font-size: 10px;
  }
  .company-cover {
    height: 215px;
  }
  .company-cover > div {
    left: 24px;
    right: 24px;
    top: 35px;
  }
  .company-cover h2 {
    font-size: 26px;
  }
  .company-cover span {
    font-size: 12px;
  }
  .community-detail-image {
    height: 235px;
  }
  .explore-card > img {
    height: 105px;
  }
  .explore-card > div {
    padding: 18px 13px;
  }
  .explore-card h3 {
    font-size: 13px;
    line-height: 1.4;
    min-height: 37px;
  }
  .explore-card p {
    font-size: 10px;
  }
  .explore-card .stat-icon {
    width: 34px;
    height: 34px;
    right: 10px;
    top: -21px;
  }
  .explore-card .stat-icon .icon {
    width: 18px;
    height: 18px;
  }
  .journey-search input,
  .journey-search select {
    font-size: 12px;
  }
  .community-card .listing-bottom {
    font-size: 11px;
  }
  .attribute {
    gap: 10px;
  }
  .attribute b {
    overflow-wrap: anywhere;
  }
  .filter-form .field label {
    font-size: 13px;
  }
}

/* One choice per intent, grouped consistently across desktop and mobile. */
.create-hub {
  max-width: 1000px;
}
.create-group {
  margin: 0 0 34px;
}
.create-group-head {
  margin-bottom: 16px;
}
.create-group-head h2 {
  font-size: 19px;
  margin-bottom: 6px;
}
.create-choice {
  position: relative;
  min-height: 130px;
  align-items: center;
  padding-right: 46px;
}
.create-choice h3 {
  font-size: 18px;
  color: var(--heading);
  margin-bottom: 7px;
}
.create-choice p {
  margin: 0;
}
.create-choice .choice-arrow {
  position: absolute;
  right: 20px;
  top: 23px;
  width: 18px;
  color: var(--muted);
}
.mobile-detail-cta {
  display: none;
}
@media (max-width: 767px) {
  .create-choice {
    min-height: 120px;
    padding: 18px 36px 18px 16px;
    gap: 14px;
  }
  .create-choice h3 {
    font-size: 16px;
  }
  .create-choice .choice-arrow {
    right: 14px;
    top: 18px;
  }
  .mobile-detail-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(65px + env(safe-area-inset-bottom));
    padding: 12px 18px;
    background: var(--surface);
    border-top: 1px solid var(--border);
    z-index: 35;
    box-shadow: 0 -4px 16px rgb(0 0 0 / 4%);
  }
  .mobile-detail-cta .btn {
    min-width: 0;
    max-width: 68%;
    flex-shrink: 0;
    white-space: normal;
    line-height: 1.25;
  }
  .mobile-detail-cta > div {
    min-width: 0;
    flex: 1;
  }
  .mobile-detail-cta small {
    display: block;
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 3px;
  }
  .mobile-detail-cta strong {
    display: block;
    font-size: 15px;
    color: var(--heading);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  body:has(.mobile-detail-cta) main {
    padding-bottom: 100px;
  }
}
