/* Trip Semporna public site - Package page: hero, gallery, details.
   Part of the public CSS: the files in assets/css/public/ load in name order (TRIPSEM_Public::assets()). */

.tsa-back { margin-top: 4px; }
/* Package card */
.tsa-pkg { display: grid; gap: 18px; margin-bottom: 22px; padding: 14px; background: #fff; border: 1px solid var(--tsp-line); border-radius: 26px; }
.tsa-gal { min-width: 0; }
.tsa-gal-main { margin: 0; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 18px; background: #edeef0; }
.tsa-gal-main img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tsa-thumbs { display: flex; gap: 10px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; padding: 3px; }
.tsa-thumbs::-webkit-scrollbar { display: none; }
.tsa-thumbs button { flex: 0 0 64px; height: 64px; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: #edeef0; cursor: pointer; opacity: .7; transition: opacity .2s, box-shadow .2s; }
.tsa-thumbs button:hover { opacity: 1; }
.tsa-thumbs button.is-on { opacity: 1; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--tsp-yellow); }
.tsa-thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tsa-info { min-width: 0; padding: 0 4px 6px; }
.tsa-info .tsh-eyebrow { margin: 0 0 6px; }
.tsp .tsa-info h1 { margin: 0; font-size: clamp(1.7rem, 4vw, 2.3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.tsa-from { margin: 8px 0 0; color: var(--tsp-muted); font-size: .92rem; }
.tsa-from strong { color: var(--tsp-text); font-size: 1.15rem; font-weight: 800; }
.tsa-desc { margin-top: 14px; color: #4a4a43; font-size: .95rem; line-height: 1.7; }
.tsa-desc > :first-child { margin-top: 0; }
.tsa-desc > :last-child { margin-bottom: 0; }
/* Same look as the staff description editor (package-editor.css .ots-rich-editor-surface): what staff write is what customers see. */
.tsa-desc p { margin: 0 0 11px; }
.tsa-desc h3 { margin: 18px 0 8px; color: var(--tsp-text); font-size: 1.12rem; line-height: 1.35; font-weight: 800; }
.tsa-desc h4 { margin: 15px 0 7px; color: var(--tsp-text); font-size: .98rem; line-height: 1.45; font-weight: 800; }
.tsa-desc ul, .tsa-desc ol { margin: 9px 0 12px; padding-left: 23px; }
.tsa-desc ul { list-style: disc; }
.tsa-desc ol { list-style: decimal; }
.tsa-desc li { margin: 3px 0; }
.tsa-desc a { color: #6b5900; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.tsa-desc a:hover { background: #fffbdb; }
@media (min-width: 720px) and (max-width: 899.98px) {
    .tsa-pkg { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 24px; padding: 16px; align-items: start; }
    .tsa-gal { position: sticky; top: 84px; }
    .tsa-info { padding: 4px 4px 4px 0; }
}
@media (min-width: 900px) {
    .tsa-pkg { grid-template-columns: minmax(320px, 440px) 1fr; gap: 36px; padding: 20px; }
    .tsa-info { padding: 10px 10px 10px 0; }
    .tsa-thumbs button { flex-basis: 72px; height: 72px; }
}
.tsa-editing { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; padding: 11px 14px; border-radius: 12px; background: #fff8cc; color: #4a3f00; font-weight: 700; font-size: .9rem; }
.tsa-editing svg { flex: 0 0 auto; width: 18px; height: 18px; }
@media (max-width: 600px) {
    .tsa-pkg { border-radius: 22px; }
}
