/* Hero các mục (modules/hero.php, hero-support.php, hero-booking.php). Hero trang chủ ở home.css.
   Nền tràn hết bề ngang như hero trang chủ nhưng thấp hơn; ảnh lấy theo trang (biến --tv-hero-img), lớp phủ tối để chữ trắng đọc rõ */
.tv-hero-page{
  margin:-.5rem calc(50% - 50vw) 1rem;
  padding:6rem calc(50vw - 50%) 4rem;
  background:
    linear-gradient(180deg, rgb(0 0 0 / .55), rgb(0 0 0 / .25)),
    var(--tv-hero-img) center / cover no-repeat;
}
.tv-hero-page > :is(h1, p){text-shadow:0 .0625rem .375rem rgb(0 0 0 / .35)}
/* Hero thấp (trang xác nhận đặt dịch vụ, modules/hero-booking.php): chỉ tiêu đề + chip, không chiếm chỗ của form */
.tv-hero-page.tv-hero-low{padding-block:3rem 2rem}

/* Ô tìm kiếm: rộng tối đa 40rem, nằm giữa; chữ trong ô và menu gợi ý căn theo chiều viết (không ăn center-align của hero).
   Nền (--_background của .field.fill, cần .field.tv-hero-search để thắng beer): trong suốt nhẹ, làm mờ ảnh phía sau bằng small-blur của beer
   → hover sáng lên → đang gõ thì trắng đặc, chữ tối */
.field.tv-hero-search{max-inline-size:40rem;margin-inline:auto;text-align:start;--_background:rgb(255 255 255 / .18)}
.tv-hero-search > input{transition:background-color .2s}
.tv-hero-search > input::placeholder{color:rgb(255 255 255 / .85)}
.field.tv-hero-search:hover{--_background:rgb(255 255 255 / .28)}
.field.tv-hero-search:focus-within{--_background:#fff}
.tv-hero-search:focus-within > :is(input, i){color:rgb(0 0 0 / .87)}
.tv-hero-search:focus-within > input::placeholder{color:rgb(0 0 0 / .5)}

@media (max-width:600px){
  .tv-hero-page{padding-block:3.5rem 2.5rem}
  .tv-hero-page.tv-hero-low{padding-block:2rem 1.5rem}
  .tv-hero-page > h1.small{font-size:2rem}   /* thắng :is(h1,.h1).small của beer */
}
