/* Trip Semporna public site - About Us, Travel Tips, Contact and the legal pages.
   Part of the public CSS: the files in assets/css/public/ load in name order (TRIPSEM_Public::assets()). */

.tsp-legal { line-height: 1.7; overflow-wrap: anywhere; }
.tsp-legal-wrap .tsp-card:first-child { margin-top: 28px; }
/* Terms / Privacy: the full page width (like the other pages) */
.tsp-legal table { width: 100%; border-collapse: collapse; margin: 0 0 1em; font-size: .9rem; display: block; overflow-x: auto; }
@media (min-width: 700px) {
    .tsp-legal table { display: table; }
}
/* wide screens: the table spans the page; phones scroll it */
.tsp-legal th, .tsp-legal td { border: 1px solid var(--tsp-line); padding: 8px 10px; text-align: left; vertical-align: top; }
.tsp-legal th { background: #f1f2f4; }
.tsp-legal h2 { margin-top: 1.4em; scroll-margin-top: 90px; }
.tsp-legal mark { background: #fff3a3; padding: 0 3px; border-radius: 4px; }
/* About / Tips / Contact */
.tsx-split { display: grid; gap: 28px; align-items: center; }
@media (min-width: 860px) {
    .tsx-split { grid-template-columns: 1fr 1fr; gap: 48px; }
}
.tsp .tsx-h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; letter-spacing: -.03em; margin: 0 0 12px; line-height: 1.15; }
.tsx-split p { margin: 0 0 12px; }
.tsx-team-wrap { position: relative; z-index: 2; margin-top: -112px; }
.tsx-team { background: #fff; border-radius: 28px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(12, 12, 12, .25); }
.tsx-team-photo { display: block; width: 100%; height: auto; aspect-ratio: 2000 / 760; background: #f3f3f5; }
.tsx-team-text { display: grid; gap: 10px; padding: 4px 20px 22px; }
.tsx-team-text .tsh-eyebrow { margin-bottom: 8px; }
.tsp .tsx-team-text .tsx-h2 { margin: 0; }
.tsx-team-copy p { margin: 0 0 10px; color: #4a4a43; line-height: 1.7; }
.tsx-team-copy p:last-child { margin-bottom: 0; }
.tsx-team-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #ecedef; }
.tsx-team-stats > div { padding: 18px 8px; text-align: center; }
.tsx-team-stats > div + div { border-left: 1px solid #ecedef; }
.tsx-team-stats strong { display: block; font-size: clamp(1.2rem, 4.6vw, 1.9rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: var(--tsp-black); }
.tsx-team-stats span { font-size: .8rem; font-weight: 600; color: var(--tsp-muted); }
.tsx-team-wrap + .tsh-section { padding-top: 72px; }
@media (max-width: 699px) {
    .tsx-team-wrap { margin-top: -72px; }
    .tsx-team { border-radius: 22px; }
    .tsx-team-wrap + .tsh-section { padding-top: 48px; }
}
@media (min-width: 860px) {
    .tsx-team-text { grid-template-columns: 1fr 1.25fr; gap: 56px; padding: 8px 48px 36px; align-items: start; }
    .tsx-team-copy { padding-top: 26px; font-size: 1.02rem; }
    .tsx-team-stats > div { padding: 22px 8px; }
}
/* About Us: MOTAC licence */
.tsx-licence { display: grid; gap: 26px; align-items: center; }
.tsx-licence p { margin: 0 0 12px; color: #4a4a43; line-height: 1.7; }
.tsx-cert { margin: 0; padding: 12px; background: #fff; border: 1px solid var(--tsp-line); border-radius: 22px; box-shadow: 0 24px 50px -30px rgba(12, 12, 12, .3); }
.tsx-cert img { display: block; width: 100%; height: auto; border-radius: 12px; }
.tsx-licence-no { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 14px 16px; background: #fff; border: 1px solid var(--tsp-line); border-radius: 16px; }
.tsx-licence-no > span { flex: 0 0 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--tsp-yellow); }
.tsx-licence-no .tsh-ico { width: 20px; height: 20px; }
.tsx-licence-no small { display: block; font-size: .8rem; font-weight: 600; color: var(--tsp-muted); }
.tsx-licence-no strong { font-size: 1.08rem; }
@media (min-width: 860px) {
    .tsx-licence { grid-template-columns: 1fr 1fr; gap: 72px; }
    .tsx-cert { padding: 18px; }
}
/* About Us: review slider (swipe, arrows and dots; one review at a time with the next one peeking) */
.tsx-rv-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.tsx-rv-head .tsh-head { margin-bottom: 0; }
.tsx-rv-head .tsx-rv-nav { display: none; }
.tsx-rv-nav { display: flex; gap: 8px; }
.tsx-rv-btn { width: 42px; height: 42px; display: grid; place-items: center; padding: 0; border: 1px solid #dfe0e2; border-radius: 50%; background: #fff; color: var(--tsp-black); cursor: pointer; transition: background .2s, color .2s, transform .2s, opacity .2s; }
.tsx-rv-btn.is-next { background: var(--tsp-black); border-color: var(--tsp-black); color: var(--tsp-yellow); }
.tsx-rv-btn:hover:not(:disabled) { transform: translateY(-2px); }
.tsx-rv-btn:disabled { opacity: .35; cursor: default; }
.tsx-rv-btn .tsh-ico { width: 20px; height: 20px; }
.tsx-rv-track { position: relative; display: flex; gap: 12px; margin-top: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.tsx-rv-track::-webkit-scrollbar { display: none; }
.tsx-rv-track:focus-visible { outline: 3px solid #ffe866; outline-offset: 4px; }
.tsx-rv { flex: 0 0 86%; margin: 0; scroll-snap-align: start; display: grid; grid-template-columns: 64px 1fr; grid-template-areas: "pic who" "quote quote"; align-items: center; gap: 14px 12px; padding: 20px; background: #fff; border: 1px solid var(--tsp-line); border-radius: 24px; }
.tsx-rv-pic { grid-area: pic; display: block; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; background: #f0f1f3; }
.tsx-rv-who { grid-area: who; display: flex; flex-direction: column; gap: 2px; }
.tsx-rv-who strong { font-size: 1rem; }
.tsx-rv-stars { color: #f5b700; letter-spacing: 2px; font-size: .85rem; }
.tsx-rv-quote { grid-area: quote; align-self: start; }
.tsx-rv-mark { display: block; width: 28px; height: 28px; fill: var(--tsp-yellow); }
.tsx-rv blockquote { margin: 10px 0 0; color: #2a2a26; font-size: .98rem; font-weight: 500; line-height: 1.65; }
.tsx-rv-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.tsx-rv-dots { display: flex; align-items: center; gap: 6px; }
.tsx-rv-dots button { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 9px; background: #d3d4d6; cursor: pointer; transition: width .3s, background .3s; }
.tsx-rv-dots button.is-on { width: 26px; background: var(--tsp-black); }
.tsx-rv-count { display: none; font-size: .84rem; font-weight: 600; color: var(--tsp-muted); }
@media (min-width: 900px) {
    .tsx-rv-track { scroll-padding-inline: 32px; }
}
@media (min-width: 760px) {
    .tsx-rv-head .tsx-rv-nav { display: flex; }
    .tsx-rv-foot .tsx-rv-nav { display: none; }
    .tsx-rv-count { display: inline; }
    .tsx-rv-btn { width: 48px; height: 48px; }
    .tsx-rv-track { gap: 24px; margin-top: 30px; }
    .tsx-rv { flex-basis: min(860px, 82%); grid-template-columns: minmax(200px, 300px) 1fr; grid-template-areas: "pic quote" "pic who"; gap: 0; padding: 0; overflow: hidden; border-radius: 28px; }
    .tsx-rv-pic { width: 100%; height: 100%; min-height: 280px; max-height: 320px; border-radius: 0; background: #fff; object-fit: contain; object-position: 50% 50%; padding: 14px 0 14px 14px; box-sizing: border-box; }
    .tsx-rv-quote { align-self: end; padding: 34px 40px 0; }
    .tsx-rv-mark { width: 40px; height: 40px; }
    .tsx-rv blockquote { margin-top: 14px; font-size: clamp(1.05rem, 1.6vw, 1.25rem); font-weight: 600; letter-spacing: -.01em; color: var(--tsp-text); }
    .tsx-rv-who { align-self: start; flex-direction: row; align-items: center; gap: 12px; padding: 22px 40px 34px; }
    .tsx-rv-who strong::after { content: ""; display: inline-block; width: 4px; height: 4px; margin-left: 12px; border-radius: 50%; background: #c6c7c9; vertical-align: middle; }
}
.tsx-feats-light .tsh-feat { background: #fff; border: 1px solid var(--tsp-line); color: var(--tsp-text); }
.tsx-feats-light .tsh-feat p { color: var(--tsp-muted); }
.tsp .tsx-feats-light .tsh-feat h3 { color: var(--tsp-text); }
.tsx-feats-light .tsh-feat > span { background: var(--tsp-yellow); color: var(--tsp-black); }
.tsx-tips { display: grid; gap: 14px; }
@media (min-width: 760px) {
    .tsx-tips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.tsx-tip { display: flex; gap: 14px; padding: 20px; background: #fff; border: 1px solid var(--tsp-line); border-radius: 20px; transition: transform .2s, box-shadow .2s; }
.tsx-tip:hover { transform: translateY(-2px); box-shadow: var(--tsp-shadow); }
.tsx-tip > span, .tsx-ccard > span { flex: 0 0 auto; display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 14px; background: var(--tsp-yellow); }
.tsp .tsx-tip h3, .tsp .tsx-ccard h3 { margin: 0 0 4px; font-size: 1.08rem; }
.tsx-tip p { margin: 0; color: var(--tsp-muted); font-size: .95rem; }
.tsx-contact { display: grid; gap: 14px; }
@media (min-width: 640px) {
    .tsx-contact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
    .tsx-contact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.tsx-ccard { display: flex; flex-direction: column; gap: 6px; padding: 22px; background: #fff; border: 1px solid var(--tsp-line); border-radius: 20px; min-width: 0; }
.tsx-ccard > span { margin-bottom: 6px; }
.tsx-ccard p { margin: 0 0 12px; color: var(--tsp-muted); overflow-wrap: anywhere; flex: 1 1 auto; }
.tsx-map { min-height: 240px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border-radius: 26px; background: radial-gradient(circle at 30% 30%, #fff6bf, transparent 60%), repeating-linear-gradient(45deg, #eeeff1 0 12px, #e7e8ea 12px 24px); text-align: center; padding: 20px; }
.tsx-map > .tsh-ico { width: 40px; height: 40px; }
.tsx-map span { font-weight: 800; font-size: 1.1rem; }
.tsx-map a { font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
