/* TebZone home hero (resources/views/design_1/web/tz/home/index.blade.php + partials/hero-slide.blade.php).
   Full-width banner slides stacked in one grid cell (the hero keeps the tallest slide's height and never jumps),
   then the "What do you need?" bar overlapping the banner's bottom edge, then the four service cards. */
.tz-hero-c { overflow: hidden; }
.tz-hs { position: relative; min-width: 0; }
.tz-hs-track { display: grid; }
.tz-hs-slide { grid-area: 1 / 1; min-width: 0; display: flex; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s linear .45s; }
.tz-hs-slide.is-active { opacity: 1; visibility: visible; transition: opacity .45s ease; }

.tz-hs-banner { position: relative; display: flex; flex-direction: column; width: 100%; min-height: 460px; }
.tz-hs-inner { position: relative; z-index: 1; display: flex; flex: 1; align-items: center; gap: 40px; width: 100%; padding-top: 48px; padding-bottom: 120px; }
.tz-hs-copy { min-width: 0; max-width: 600px; }
.tz-hs-welcome .tz-hs-copy { flex: 1; max-width: 680px; }

/* the image fills the banner; a dark fade from the start side keeps the text readable */
.tz-hs-art { position: absolute; inset: 0; display: block; overflow: hidden; }
.tz-hs-art picture { position: absolute; inset: 0; display: block; }
/* the site stylesheet sets img height:auto; the image must cover the whole box */
.tz .tz-hs-art img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; }
.tz-hs-art .tz-hs-art-icon { position: absolute; top: 50%; inset-inline-end: 8%; width: 180px; height: 180px; margin-top: -90px; color: rgba(255, 255, 255, .14); }
.tz-hs-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(4, 30, 40, .95) 0%, rgba(4, 30, 40, .88) 42%, rgba(4, 30, 40, .45) 66%, rgba(4, 30, 40, .08) 100%); }
[dir="rtl"] .tz-hs-shade { background: linear-gradient(270deg, rgba(4, 30, 40, .95) 0%, rgba(4, 30, 40, .88) 42%, rgba(4, 30, 40, .45) 66%, rgba(4, 30, 40, .08) 100%); }

.tz .tz-hs-title { margin: 0; font-family: var(--tz-font-head); font-size: 2.25rem; line-height: 1.15; color: #fff; }
.tz .tz-hs-title a { color: inherit; text-decoration: none; }
.tz .tz-hs-title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tz-hs-blurb { margin: 10px 0 0; color: rgba(255, 255, 255, .9); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tz-hs-facts { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tz-hs-facts li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .12); color: #fff; font-size: .875rem; line-height: 1.3; }
.tz-hs-facts li.is-live { background: var(--tz-gold); border-color: transparent; color: var(--tz-ink); font-family: var(--tz-font-head); }
.tz-hs-dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--tz-ink); animation: tz-hs-pulse 1.6s ease-in-out infinite; }
@keyframes tz-hs-pulse { 50% { opacity: .35; } }

/* SCFHS: a white card with the logo on the welcome banner only (the logo is navy and green); other slides name SCFHS in their accreditation fact */
.tz-scfhs-card { flex: none; width: 300px; padding: 20px 22px; border-radius: 18px; background: #fff; color: var(--tz-ink); text-align: center; box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .55); border-top: 4px solid var(--tz-gold); }
.tz .tz-scfhs-kicker { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 12px; font-family: var(--tz-font-head); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: #075167; }
.tz .tz-scfhs-logo { display: block; width: 100%; max-width: 240px; height: auto; margin: 0 auto; }
.tz .tz-scfhs-name { margin: 12px 0 0; font-size: .875rem; line-height: 1.4; color: #3c4a52; }

/* controls: bottom end corner of the banner, above the "What do you need?" bar */
.tz-hs-controls-wrap { position: absolute; z-index: 2; inset-inline: 0; bottom: 64px; pointer-events: none; }
.tz-hs-controls { display: flex; justify-content: flex-end; }
.tz-hs-controls-pill { display: flex; align-items: center; gap: 8px; padding: 4px; border-radius: 999px; background: rgba(4, 30, 40, .55); pointer-events: auto; }
.tz-hs-btn { width: 40px; height: 40px; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: #fff; cursor: pointer; transition: background .2s; }
.tz-hs-btn:hover { background: rgba(255, 255, 255, .22); }
.tz-hs-btn:focus-visible, .tz-hs-dot:focus-visible { outline: 2px solid var(--tz-gold); outline-offset: 2px; }
.tz-hs-dots { display: flex; align-items: center; }
.tz-hs-dot { width: 22px; height: 40px; padding: 0; border: 0; background: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: width .3s; }
.tz-hs-dot::before { content: ""; width: 10px; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .5); box-shadow: 0 0 0 1px rgba(4, 30, 40, .25); transition: width .3s, background .3s; }
.tz-hs-dot[aria-current="true"] { width: 36px; }
.tz-hs-dot[aria-current="true"]::before { width: 26px; background: var(--tz-gold); }
[dir="rtl"] .tz-hs-flip { transform: scaleX(-1); }
.tz-hs:not(.is-auto) .tz-hs-toggle { display: none; }
.tz-hs .tz-hs-ico-play, .tz-hs[data-paused] .tz-hs-ico-pause { display: none; }
.tz-hs[data-paused] .tz-hs-ico-play { display: block; }

/* "What do you need?" bar */
.tz-picks-wrap { margin-top: -56px; }
.tz-picks { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px 28px; align-items: start; padding: 22px 26px; }
.tz-picks-head { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.tz-picks-head h2, .tz-picks-head p { margin: 0; }
/* guests: the text and Sign in / Register on one line, the job picker under them */
.tz-picks-guest { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.tz-picks-guest > .min-w-0 { flex: 1 1 260px; }
.tz-picks-job [data-tz-guest-job] select { flex: 1 1 230px; max-width: 280px; }
.tz-picks-go { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 14px; }
.tz-pillars-after { margin-top: 24px; }

@media (max-width: 1023px) {
    .tz-hs-banner { min-height: 400px; }
    .tz-scfhs-card { width: 240px; }
    .tz-picks { grid-template-columns: minmax(0, 1fr); }
}
/* phones: image on top, the text under it; the bar becomes a stacked card */
@media (max-width: 767px) {
    .tz-hs-banner { min-height: 0; }
    .tz-hs-inner { flex-direction: column; align-items: stretch; gap: 22px; padding-top: 28px; padding-bottom: 92px; }
    .tz-hs-media .tz-hs-inner { padding-top: 18px; }
    .tz-hs-art { position: relative; inset: auto; aspect-ratio: 16 / 9; width: 100%; }
    .tz-hs-art .tz-hs-art-icon { width: 72px; height: 72px; margin-top: -36px; }
    .tz-hs-shade { display: none; }
    .tz .tz-hs-title { font-size: 1.5rem; }
    .tz-scfhs-card { width: 100%; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 12px 16px; }
    .tz .tz-scfhs-kicker { margin: 0; }
    .tz .tz-scfhs-logo { width: 160px; margin: 0; }
    .tz-hs-controls-wrap { bottom: 40px; }
    .tz-hs-controls { justify-content: flex-start; }
    .tz-picks-wrap { margin-top: -32px; }
    .tz-picks { padding: 18px; }
}
@media (pointer: coarse) { .tz-hs-btn { width: 44px; height: 44px; } .tz-hs-dot { height: 44px; } }
@media (prefers-reduced-motion: reduce) { .tz-hs-slide, .tz-hs-slide.is-active, .tz-hs-dot, .tz-hs-dot::before { transition: none; } .tz-hs-dot-live { animation: none; } }
