/* Trip Semporna public site - Packages page: category tabs, filters, results.
   Part of the public CSS: the files in assets/css/public/ load in name order (TRIPSEM_Public::assets()). */

/* Package page + info pages: page header band */
.tsc-hero { position: relative; overflow: hidden; background: var(--tsp-yellow); padding: 44px 0 86px; }
.tsc-hero .tsp-wrap { position: relative; z-index: 1; }
.tsc-hero .tsh-eyebrow { color: rgba(12, 12, 12, .7); }
.tsp .tsc-hero h1 { margin: 0 0 8px; font-size: clamp(2rem, 6vw, 3.2rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.tsc-lead { margin: 0; max-width: 600px; font-size: 1.05rem; }
.tsc-hero + .tsh-section { padding-top: 48px; }
.tsc-hero:has(+ .tsh-section) { padding-bottom: 48px; }
/* Package page: the staff Packages catalog's category tabs (package-catalog.css), a little larger, on a card over the hero */
.tsc-tools { position: relative; z-index: 2; margin-top: -56px; }
.tsc-tools-card { min-width: 0; background: #fff; border: 1px solid var(--tsp-line); border-radius: 22px; box-shadow: 0 20px 50px rgba(12, 12, 12, .14); }
.tsc-tabs { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; min-width: 0; margin: 0; padding: 20px; }
/* Category filter: pills with a thin icon; hover lifts with a darker line; the chosen one is black with a yellow icon */
.tsp .tsc-tab { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px 0 15px; border: 1.5px solid #e3e5e9; border-radius: 100px; background: #fff; color: #2b3440; text-decoration: none; font-size: 14px; font-weight: 700; white-space: nowrap; cursor: pointer; transition: border-color .2s ease, background-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease; }
.tsp .tsc-tab .tsh-ico { width: 17px; height: 17px; color: #6b7380; transition: color .2s ease; }
.tsp .tsc-tab:hover, .tsp .tsc-tab:focus-visible { border-color: #b8bdc6; color: var(--tsp-black); transform: translateY(-1px); box-shadow: 0 6px 14px rgba(12, 12, 12, .08); outline: none; }
.tsp .tsc-tab:hover .tsh-ico, .tsp .tsc-tab:focus-visible .tsh-ico { color: var(--tsp-black); }
.tsp .tsc-tab.is-active { border-color: var(--tsp-black); background: var(--tsp-black); color: #fff; box-shadow: none; transform: none; }
.tsp .tsc-tab.is-active .tsh-ico { color: var(--tsp-yellow); }
.tsc-results.is-loading { opacity: .5; pointer-events: none; }
@media (max-width: 650px) {
    .tsc-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; gap: 8px; padding: 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .tsc-tabs::-webkit-scrollbar { display: none; }
    .tsp .tsc-tab { flex: none; min-height: 42px; padding: 0 15px 0 13px; font-size: 13px; }
}
@media (max-width: 859px) {
    .tsc-hero { padding: 28px 0 76px; }
}
.tsc-results { transition: opacity .15s ease; padding-top: 28px; }
.tsc-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 20px; }
.tsc-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tsc-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 8px 0 14px; border-radius: 99px; background: var(--tsp-black); color: var(--tsp-yellow) !important; font-size: .88rem; font-weight: 700; text-decoration: none; max-width: 100%; }
.tsc-chip .tsh-ico { width: 16px; height: 16px; }
.tsc-chip:hover { background: #333; }
.tsc-clear { min-height: 36px; display: inline-flex; align-items: center; padding: 0 6px; font-weight: 700; font-size: .9rem; color: var(--tsp-muted) !important; }
.tsc-empty { text-align: center; padding: 48px 20px; background: #fff; border: 1px dashed #d6d7d9; border-radius: 22px; }
.tsc-empty > span { display: inline-flex; width: 60px; height: 60px; align-items: center; justify-content: center; border-radius: 50%; background: var(--tsp-yellow); margin-bottom: 12px; }
.tsp .tsc-empty h2 { margin: 0 0 6px; font-size: 1.4rem; }
.tsc-empty p { margin: 0 auto 18px; max-width: 420px; color: var(--tsp-muted); }
.tsc-empty .tsh-cta-btns { justify-content: center; }
/* About Us: team photo card pulled up over the hero */
.tsc-hero:has(+ .tsx-team-wrap) { padding-bottom: 150px; text-align: center; }
.tsc-hero:has(+ .tsx-team-wrap) .tsc-lead { margin-inline: auto; }
@media (max-width: 699px) {
    .tsc-hero:has(+ .tsx-team-wrap) { padding-bottom: 96px; text-align: left; }
}
/* Package page filters: icon + choice on one line (no title label) */
.tsc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tsc-f-ico { display: inline-grid; place-items: center; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 9px; background: #fff; color: var(--tsp-black); }
.tsc-f-ico .tsh-ico { width: 16px; height: 16px; }
@media (max-width: 380px) {
    .tsc-f-ico { width: 24px; height: 24px; }
}
