.mhrh-page,
.mhrh-page * {
  box-sizing: border-box;
}

.mhrh-page {
  --mhrh-green: #0b6533;
  --mhrh-green-dark: #064826;
  --mhrh-green-soft: #eaf5ee;
  --mhrh-yellow: #f2c500;
  --mhrh-ink: #17221b;
  --mhrh-muted: #647067;
  --mhrh-line: #e2e8e3;
  --mhrh-paper: #ffffff;
  background: #f8faf8;
  color: var(--mhrh-ink);
  font-family: inherit;
  line-height: 1.55;
  overflow: hidden;
}

/* Theme Travel Planning Pro đặt header ở position:absolute. JS sẽ đo đúng
   chiều cao header và tạo khoảng trống để nội dung banner không bị che. */
.mhrh-page.mhrh-has-overlay-header {
  padding-top: var(--mhrh-header-offset, 0px);
}

.mhrh-page a {
  color: inherit;
  text-decoration: none;
}

.mhrh-wrap,
.mhrh-hero-inner {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.mhrh-hero,
.mhrh-region-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 510px;
  padding: 72px 0 64px;
  color: #fff;
  background-color: var(--mhrh-green-dark);
  background-image:
    linear-gradient(100deg, rgba(5, 49, 27, .95), rgba(5, 67, 36, .72)),
    radial-gradient(circle at 80% 20%, #3d9861, #064826 65%);
  background-position: center;
  background-size: cover;
}

.mhrh-hero::after,
.mhrh-region-hero::after {
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(to top, rgba(0, 0, 0, .18), transparent);
  content: "";
}

.mhrh-hero-inner,
.mhrh-region-hero > .mhrh-wrap {
  text-align: center;
}

.mhrh-eyebrow,
.mhrh-region-hero > .mhrh-wrap > span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
  color: #ffdc38;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .13em;
}

.mhrh-eyebrow::before,
.mhrh-eyebrow::after,
.mhrh-region-hero > .mhrh-wrap > span::before,
.mhrh-region-hero > .mhrh-wrap > span::after {
  width: 24px;
  height: 1px;
  background: currentColor;
  content: "";
}

.mhrh-hero h1,
.mhrh-region-hero h1 {
  max-width: 840px;
  margin: 0 auto 14px;
  color: #fff;
  font-size: clamp(38px, 5.3vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.035em;
}

.mhrh-hero-inner > p,
.mhrh-region-hero > .mhrh-wrap > p {
  max-width: 730px;
  margin: 0 auto 33px;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(16px, 1.8vw, 20px);
}

.mhrh-region-hero nav {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, .74);
  font-size: 14px;
}

.mhrh-region-hero nav a:hover {
  color: #fff;
}

.mhrh-filter {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 12px;
  width: min(990px, 100%);
  margin: 0 auto;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 18px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 18px 50px rgba(0, 24, 10, .22);
  color: var(--mhrh-ink);
  text-align: left;
}

.mhrh-filter label {
  display: block;
  min-width: 0;
}

.mhrh-filter label > span {
  display: block;
  margin: 0 0 5px 3px;
  color: #59645c;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.mhrh-filter select {
  width: 100%;
  height: 48px;
  margin: 0;
  padding: 0 40px 0 14px;
  border: 1px solid #dbe2dc;
  border-radius: 10px;
  outline: 0;
  background-color: #fff;
  color: #263129;
  font: inherit;
  font-size: 14px;
}

.mhrh-filter select:focus {
  border-color: var(--mhrh-green);
  box-shadow: 0 0 0 3px rgba(11, 101, 51, .12);
}

.mhrh-filter button {
  align-self: end;
  min-width: 152px;
  height: 48px;
  margin: 0;
  padding: 0 22px;
  border: 0;
  border-radius: 10px;
  background: var(--mhrh-yellow);
  box-shadow: none;
  color: #172118;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform .2s ease, background .2s ease;
}

.mhrh-filter button:hover {
  background: #ffda22;
  transform: translateY(-2px);
}

.mhrh-region-nav {
  position: relative;
  z-index: 5;
  border-bottom: 1px solid var(--mhrh-line);
  background: #fff;
  box-shadow: 0 7px 22px rgba(17, 48, 27, .06);
}

.mhrh-region-nav .mhrh-wrap {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 14px 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.mhrh-region-nav .mhrh-wrap::-webkit-scrollbar {
  display: none;
}

.mhrh-region-nav a {
  flex: 0 0 auto;
  padding: 9px 18px;
  border: 1px solid var(--mhrh-line);
  border-radius: 999px;
  background: #fff;
  color: #334038;
  font-size: 14px;
  font-weight: 700;
  transition: .2s ease;
}

.mhrh-region-nav a:hover,
.mhrh-region-nav a:focus {
  border-color: var(--mhrh-green);
  background: var(--mhrh-green);
  color: #fff;
}

.mhrh-region,
.mhrh-results {
  padding-top: 76px;
  padding-bottom: 82px;
  scroll-margin-top: 30px;
}

.mhrh-region-alt {
  background: #eef5f0;
}

.mhrh-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.mhrh-heading > div > span {
  display: block;
  margin-bottom: 4px;
  color: var(--mhrh-green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .13em;
}

.mhrh-heading h2 {
  margin: 0;
  color: var(--mhrh-ink);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.03em;
}

.mhrh-heading p {
  max-width: 680px;
  margin: 9px 0 0;
  color: var(--mhrh-muted);
}

.mhrh-heading > a {
  flex: 0 0 auto;
  padding: 10px 16px;
  border: 1px solid #b9cebf;
  border-radius: 999px;
  color: var(--mhrh-green);
  font-size: 14px;
  font-weight: 800;
  transition: .2s ease;
}

.mhrh-heading > a:hover {
  border-color: var(--mhrh-green);
  background: var(--mhrh-green);
  color: #fff;
}

.mhrh-featured-wrap {
  margin-bottom: 24px;
}

.mhrh-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.mhrh-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--mhrh-line);
  border-radius: 18px;
  background: var(--mhrh-paper);
  box-shadow: 0 9px 28px rgba(21, 49, 29, .07);
  transition: transform .25s ease, box-shadow .25s ease;
}

.mhrh-card:hover {
  box-shadow: 0 17px 40px rgba(21, 49, 29, .13);
  transform: translateY(-5px);
}

.mhrh-card-image {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #dce9df;
}

.mhrh-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  transition: transform .45s ease;
}

.mhrh-card:hover .mhrh-card-image img {
  transform: scale(1.045);
}

.mhrh-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: rgba(6, 72, 38, .5);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .13em;
}

.mhrh-featured-label {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--mhrh-yellow);
  color: #172118;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.mhrh-card-content {
  padding: 22px;
}

.mhrh-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 22px;
  margin-bottom: 8px;
}

.mhrh-location {
  overflow: hidden;
  color: var(--mhrh-green);
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.mhrh-stars {
  flex: 0 0 auto;
  color: #e9b500;
  font-size: 13px;
  letter-spacing: 1px;
}

.mhrh-card h2,
.mhrh-card h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 10px;
  color: var(--mhrh-ink);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -.015em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.mhrh-card h2 a:hover,
.mhrh-card h3 a:hover {
  color: var(--mhrh-green);
}

.mhrh-card-content > p {
  display: -webkit-box;
  min-height: 47px;
  overflow: hidden;
  margin: 0 0 18px;
  color: var(--mhrh-muted);
  font-size: 14px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.mhrh-price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-bottom: 17px;
  color: var(--mhrh-muted);
}

.mhrh-price small {
  margin-right: 2px;
  font-size: 12px;
}

.mhrh-price strong {
  color: var(--mhrh-green);
  font-size: 21px;
  font-weight: 900;
}

.mhrh-price span {
  font-size: 12px;
}

.mhrh-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.mhrh-card-actions.mhrh-one-action {
  grid-template-columns: 1fr;
}

.mhrh-card-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 8px 12px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  transition: .2s ease;
}

.mhrh-read {
  border: 1px solid #bfd0c3;
  color: var(--mhrh-green) !important;
}

.mhrh-read:hover {
  border-color: var(--mhrh-green);
  background: var(--mhrh-green-soft);
}

.mhrh-price-link {
  background: var(--mhrh-green);
  color: #fff !important;
}

.mhrh-price-link:hover {
  background: var(--mhrh-green-dark);
}

.mhrh-card-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, .65fr);
  min-height: 390px;
}

.mhrh-card-featured .mhrh-card-image {
  height: 100%;
  aspect-ratio: auto;
}

.mhrh-card-featured .mhrh-card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 52px);
}

.mhrh-card-featured h2 {
  font-size: clamp(25px, 3vw, 36px);
  -webkit-line-clamp: 3;
}

.mhrh-card-featured .mhrh-card-content > p {
  display: block;
  min-height: 0;
  margin-bottom: 22px;
}

.mhrh-card-featured .mhrh-card-actions {
  max-width: 390px;
}

.mhrh-empty {
  margin: 0;
  padding: 32px;
  border: 1px dashed #bdd0c2;
  border-radius: 14px;
  background: #fff;
  color: var(--mhrh-muted);
  text-align: center;
}

.mhrh-pagination {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 38px;
}

.mhrh-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--mhrh-line);
  border-radius: 9px;
  background: #fff;
  color: var(--mhrh-ink);
  font-size: 14px;
  font-weight: 700;
}

.mhrh-pagination .current,
.mhrh-pagination a:hover {
  border-color: var(--mhrh-green);
  background: var(--mhrh-green);
  color: #fff;
}

.mhrh-disclosure {
  padding: 29px 0;
  border-top: 1px solid #d9e6dc;
  background: var(--mhrh-green-soft);
}

.mhrh-disclosure .mhrh-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
}

.mhrh-disclosure strong {
  flex: 0 0 auto;
  color: var(--mhrh-green);
}

.mhrh-disclosure p {
  margin: 0;
  color: #526057;
  font-size: 13px;
}

@media (max-width: 980px) {
  .mhrh-filter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mhrh-filter button {
    width: 100%;
  }

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

  .mhrh-card-featured {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .mhrh-wrap,
  .mhrh-hero-inner {
    width: min(100% - 28px, 1180px);
  }

  .mhrh-hero,
  .mhrh-region-hero {
    min-height: 0;
    padding: 60px 0 46px;
  }

  .mhrh-hero h1,
  .mhrh-region-hero h1 {
    font-size: 39px;
  }

  .mhrh-filter {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 13px;
    border-radius: 14px;
  }

  .mhrh-filter button {
    margin-top: 3px;
  }

  .mhrh-region-nav .mhrh-wrap {
    justify-content: flex-start;
  }

  .mhrh-region,
  .mhrh-results {
    padding-top: 54px;
    padding-bottom: 58px;
  }

  .mhrh-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .mhrh-grid {
    grid-template-columns: 1fr;
  }

  .mhrh-card-featured {
    display: block;
    min-height: 0;
  }

  .mhrh-card-featured .mhrh-card-image {
    aspect-ratio: 16 / 10;
  }

  .mhrh-card-featured .mhrh-card-content {
    padding: 24px;
  }

  .mhrh-card-featured h2 {
    font-size: 25px;
  }

  .mhrh-disclosure .mhrh-wrap {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    text-align: left;
  }
}

@media (max-width: 380px) {
  .mhrh-card-actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mhrh-page *,
  .mhrh-page *::before,
  .mhrh-page *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
