/* Keep every desktop section on the same 1100px content line. */
.hotel-pickup,
.hotel-area-discovery,
.rh-results {
  width: 100%;
  max-width: 1160px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 30px;
  padding-left: 30px;
}

.hotel-pickup {
  padding-top: 78px;
  padding-bottom: 18px;
}

.hotel-pickup .listing-pickup-head {
  margin-bottom: 24px;
}

.hotel-pickup .listing-pickup-head h2 {
  font-size: 30px;
}

.hotel-pickup .listing-pickup-head > p {
  max-width: 390px;
  font-size: 13px;
  line-height: 1.8;
}

.hotel-pickup .listing-pickup-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.hotel-pickup .listing-pickup-card {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 9px 28px rgba(7,55,76,.1);
}

.hotel-pickup .listing-pickup-photo,
.hotel-pickup .listing-pickup-card.is-primary .listing-pickup-photo {
  height: 228px;
  min-height: 228px;
}

.hotel-pickup .listing-pickup-photo > span {
  left: 14px;
  bottom: 14px;
  padding: 7px 10px;
  border-radius: 4px;
  background: var(--rh-navy);
  font-size: 9px;
}

.hotel-pickup .pickup-score {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
  padding: 7px 10px;
  border-radius: 5px;
  background: #fff;
  color: var(--rh-ink);
  box-shadow: 0 4px 13px rgba(0,0,0,.16);
  font-size: 13px;
}

.hotel-pickup .pickup-score i,
.hotel-pickup .listing-pickup-body footer b i {
  color: #f2aa16;
  font-style: normal;
}

.hotel-pickup .listing-pickup-body {
  display: flex;
  height: 100%;
  flex-direction: column;
  padding: 22px;
}

.hotel-pickup .listing-pickup-body > p {
  font-size: 11px;
}

.hotel-pickup .listing-pickup-body h3 {
  min-height: 72px;
  font-size: 17px;
  line-height: 1.55;
}

.hotel-pickup .listing-pickup-body footer {
  min-height: 67px;
  margin: 15px 0 13px !important;
  padding: 13px 0 0 !important;
}

.hotel-pickup .listing-pickup-body footer span b {
  color: #d99508;
  font-size: 13px;
}

.hotel-pickup .listing-pickup-body footer span small {
  margin-top: 4px;
  color: var(--rh-muted);
  font-size: 10px;
}

.hotel-pickup .pickup-price {
  margin-left: auto;
  text-align: right;
}

.hotel-pickup .pickup-price strong {
  display: block;
  margin-top: 3px;
  color: var(--rh-navy);
  font-size: 19px;
}

.hotel-pickup .pickup-detail-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding: 12px 14px;
  border-radius: 5px;
  background: var(--rh-coral);
  color: #fff !important;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 5px 13px rgba(237,115,90,.2);
}

.hotel-pickup .pickup-detail-button span {
  color: #fff !important;
}

/* Hotel list footer: keep review/access and price/action in two stable columns. */
.rh-card footer {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 210px !important;
  align-items: end !important;
  gap: 24px !important;
  width: 100%;
}

.rh-card footer > .rh-review-access {
  display: block !important;
  min-width: 0;
  max-width: none !important;
}

.rh-card footer > .rh-review-access strong,
.rh-card footer > .rh-review-access small {
  display: block !important;
}

.rh-card footer > .rh-review-access small {
  overflow: hidden;
  max-width: 100%;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rh-card footer > .rh-price {
  display: flex !important;
  width: 210px;
  min-width: 210px;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-end !important;
  text-align: right !important;
}

.rh-card footer > .rh-price > small,
.rh-card footer > .rh-price > b,
.rh-card footer > .rh-price > a {
  display: block !important;
  width: 100%;
}

.rh-card footer > .rh-price > small {
  margin: 0 0 2px !important;
}

.rh-card footer > .rh-price > b {
  margin: 0 !important;
  white-space: nowrap;
}

.rh-card footer > .rh-price > a {
  margin: 10px 0 0 !important;
  color: #fff !important;
  text-align: center;
}

.rh-card footer > .rh-price > a span {
  margin-left: 10px;
  color: #fff !important;
}

.hotel-pickup .pickup-detail-button:hover {
  background: #d95f49;
  transform: translateY(-1px);
}

.hotel-area-discovery {
  margin-top: 58px;
}

@media (max-width: 900px) {
  .hotel-pickup,
  .hotel-area-discovery,
  .rh-results {
    padding-right: 24px;
    padding-left: 24px;
  }

  .hotel-pickup .listing-pickup-grid {
    grid-template-columns: 1fr;
  }

  .hotel-pickup .listing-pickup-card {
    display: grid;
    grid-template-columns: 40% 60%;
  }

  .hotel-pickup .listing-pickup-photo,
  .hotel-pickup .listing-pickup-card.is-primary .listing-pickup-photo {
    height: 100%;
    min-height: 265px;
  }

  .hotel-pickup .listing-pickup-body h3 {
    min-height: 0;
  }

  .rh-card footer {
    grid-template-columns: minmax(0, 1fr) 190px !important;
    gap: 18px !important;
  }

  .rh-card footer > .rh-price {
    width: 190px;
    min-width: 190px;
  }
}

@media (max-width: 600px) {
  .hotel-pickup,
  .hotel-area-discovery,
  .rh-results {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hotel-pickup {
    padding-top: 55px;
  }

  .hotel-pickup .listing-pickup-head h2 {
    font-size: 25px;
  }

  .hotel-pickup .listing-pickup-card {
    display: flex;
  }

  .hotel-pickup .listing-pickup-photo,
  .hotel-pickup .listing-pickup-card.is-primary .listing-pickup-photo {
    width: 100%;
    height: 220px;
    min-height: 220px;
  }

  .hotel-pickup .listing-pickup-body h3 {
    min-height: 0;
    font-size: 17px;
  }

  .hotel-area-discovery {
    margin-top: 44px;
  }

  .rh-card footer {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .rh-card footer > .rh-review-access small {
    white-space: normal;
  }

  .rh-card footer > .rh-price {
    width: 100%;
    min-width: 0;
    text-align: left !important;
  }
}

/* Search results use the same visual language as the featured stays. */
.hotel-results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.hotel-result-card {
  display: flex;
  min-width: 0;
  height: auto;
  flex-direction: column;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 9px 28px rgba(7,55,76,.1);
  transition: transform .25s, box-shadow .25s;
}

.hotel-result-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(7,55,76,.16);
}

.hotel-result-photo {
  position: relative;
  display: grid;
  place-items: center;
  height: 270px;
  overflow: hidden;
  background: linear-gradient(145deg,var(--rh-blue),var(--rh-aqua));
  color: #fff;
}

.hotel-result-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,transparent 60%,rgba(7,55,76,.35));
  pointer-events: none;
}

.hotel-result-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.hotel-result-card:hover .hotel-result-photo img {
  transform: scale(1.03);
}

.hotel-result-photo > b {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  padding: 7px 10px;
  border-radius: 5px;
  background: #fff;
  color: var(--rh-ink);
  box-shadow: 0 4px 13px rgba(0,0,0,.16);
  font-size: 13px;
}

.hotel-result-photo > b i,
.hotel-result-body footer b i {
  color: #f2aa16;
  font-style: normal;
}

.hotel-result-empty {
  font-weight: 800;
  letter-spacing: .12em;
}

.hotel-result-body {
  display: flex;
  height: auto;
  flex-direction: column;
  padding: 22px;
}

.hotel-result-body > p {
  margin: 0 0 8px;
  color: var(--rh-blue);
  font-size: 11px;
  font-weight: 800;
}

.hotel-result-body h3 {
  display: -webkit-box;
  height: 82px;
  min-height: 82px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  margin: 0;
  color: var(--rh-navy);
  font-size: 17px;
  line-height: 1.55;
}

.hotel-result-body h3 a:hover {
  color: var(--rh-blue);
}

.hotel-result-body footer {
  display: flex !important;
  align-items: end !important;
  justify-content: space-between !important;
  gap: 15px !important;
  width: 100%;
  min-height: 68px;
  margin: 15px 0 13px !important;
  padding: 13px 0 0 !important;
  border-top: 1px solid var(--rh-line) !important;
  background: transparent !important;
  color: var(--rh-ink) !important;
}

.hotel-result-body footer > span {
  display: block;
}

.hotel-result-body footer b,
.hotel-result-body footer small,
.hotel-result-body footer strong {
  display: block;
}

.hotel-result-body footer b {
  color: #d99508;
  font-size: 13px;
}

.hotel-result-body footer small {
  margin-top: 4px;
  color: var(--rh-muted);
  font-size: 10px;
}

.hotel-result-price {
  margin-left: auto;
  text-align: right;
}

.hotel-result-price strong {
  margin-top: 3px;
  color: var(--rh-navy);
  font-size: 19px;
  white-space: nowrap;
}

.hotel-result-body > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0;
  padding: 12px 14px;
  border-radius: 5px;
  background: var(--rh-coral);
  color: #fff !important;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 5px 13px rgba(237,115,90,.2);
}

.hotel-result-body > a span {
  color: #fff !important;
}

.hotel-result-body > a:hover {
  background: #d95f49;
  transform: translateY(-1px);
}

.rh-hero .rh-landing-intro {
  max-width: 720px;
  margin: 0;
  color: rgba(255,255,255,.94);
  font-size: 14px;
  line-height: 2;
  text-shadow: 0 1px 8px rgba(0,32,45,.45);
}

.rh-search .rh-search-submit {
  align-self: end;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 9px;
  background: var(--rh-coral);
  color: #fff;
  font-family: "Noto Sans JP",sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s ease;
}

.rh-search {
  width: min(1060px,92vw);
  max-width: none;
  min-height: 0;
  margin: -42px auto 0;
  padding: 20px;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 14px;
  align-items: end;
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(7,55,76,.15);
}

.rh-search label {
  display: block;
  min-width: 0;
  padding: 0;
  border: 0;
}

.rh-search label span {
  display: block;
  margin: 0 0 7px;
  color: var(--rh-ink);
  font-size: 12px;
  font-weight: 700;
}

.rh-search input,
.rh-search select {
  width: 100%;
  height: 52px;
  padding: 0 15px;
  border: 1px solid var(--rh-line);
  border-radius: 9px;
  outline: none;
  background: #fff;
  color: var(--rh-ink);
  font: 600 14px "Noto Sans JP",sans-serif;
}

.rh-search input:focus,
.rh-search select:focus {
  border-color: var(--rh-blue);
  box-shadow: 0 0 0 3px rgba(8,127,146,.1);
}

.rh-search input::placeholder {
  color: #98a9ad;
  font-weight: 400;
}

.rh-search .rh-keyword {
  grid-column: 1 / -1;
}

.rh-search .rh-search-submit:hover {
  background: #d95f49;
  transform: translateY(-1px);
}

.rh-result-head.rh-result-count-head {
  align-items: center;
  margin-bottom: 26px;
}

.rh-result-head.rh-result-count-head > p {
  margin: 0;
  color: var(--rh-ink);
  font-size: 16px;
  font-weight: 600;
}

.rh-result-actions {
  display: flex;
  align-items: end;
}

.rh-result-actions form,
.rh-result-actions label {
  margin: 0;
}

.rh-result-actions label span {
  display: block;
  margin-bottom: 6px;
  color: var(--rh-muted);
  font-size: 10px;
  font-weight: 700;
}

.rh-result-actions select {
  height: 42px;
  min-width: 170px;
  padding: 0 34px 0 13px;
  border: 1px solid var(--rh-line);
  border-radius: 8px;
  background: #fff;
  color: var(--rh-ink);
  font: 600 12px "Noto Sans JP",sans-serif;
}

@media (max-width: 900px) {
  .rh-search {
    grid-template-columns: 1fr 1fr;
    margin-right: auto;
    margin-left: auto;
  }

  .rh-search .rh-keyword,
  .rh-search .rh-search-submit {
    grid-column: 1 / -1;
  }

  .hotel-results-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .hotel-result-photo {
    height: 255px;
  }
}

@media (max-width: 600px) {
  .rh-result-head.rh-result-count-head {
    gap: 14px;
  }

  .rh-result-actions {
    align-items: flex-end;
    flex-direction: column;
    gap: 8px;
  }

  .rh-result-actions select {
    min-width: 150px;
  }

  .rh-search {
    width: calc(100% - 36px);
    grid-template-columns: 1fr;
    margin: -38px auto 0;
    padding: 18px;
  }

  .rh-search .rh-keyword,
  .rh-search .rh-search-submit {
    grid-column: 1;
  }

  .rh-search label {
    min-height: 0;
    border: 0;
  }

  .rh-hero .rh-landing-intro {
    max-width: 94%;
    font-size: 13px;
    line-height: 1.85;
  }

  .hotel-results-grid {
    grid-template-columns: 1fr;
  }

  .hotel-result-photo {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .hotel-result-body h3 {
    height: auto;
    min-height: 0;
    overflow: visible;
    -webkit-line-clamp: initial;
  }
}
