/*
 * File:         tpr.c9650602.css
 * Path:         public_html/public/assets/css/tpr.c9650602.css
 * Last updated: 2026-12-04 12:55 IST
 * Change:       New. The style block from public_html/includes/tour_photo_rows.php (lines 145-222 of the 3 Dec 2026 version),
 *               moved here unchanged so the page HTML is smaller and browsers cache it (homepage size
 *               work, 4 Dec 2026). The code in the name is a version: after editing, save the file under
 *               a new code and change its line in includes/assets.php, so visitors get the new version.
 * Previous:     none (new file)
 */
/* ---- Tour photo rows (includes/tour_photo_rows.php) ------------------------
   Colours fall back to the brand hex values so the component works on pages
   that don't define the homepage's --c-* tokens. */
.tpr-row + .tpr-row { margin-top: 2.25rem; }
.tpr-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .2rem 1rem; margin-bottom: .4rem; }
.tpr-title { flex: 1 1 14rem; min-width: 0; margin: 0; font-size: .875rem; font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; color: var(--c-navy-deep, #1d204e); }
@media (min-width: 768px) { .tpr-title { font-size: 1rem; } }
.tpr-count { font-weight: 600; opacity: .6; font-size: .8em; letter-spacing: .08em; }
.tpr-link { flex: 0 0 auto; font-size: .75rem; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; color: var(--c-burgundy, #6b1932); text-decoration: none; }
.tpr-link:hover { text-decoration: underline; }
.tpr-meta { flex-basis: 100%; margin: 0; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--c-navy-mid, #474c84); opacity: .75; }
.tpr-wrap { position: relative; }
.tpr-track { display: flex; gap: .75rem; overflow-x: auto; padding: .75rem 0 3.5rem; margin-bottom: -2.25rem;   /* bottom room = the full drop shadow, so the scroll box never clips it */ scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; }
.tpr-track::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .tpr-track { gap: 1.25rem; } }

/* Card: same 3D treatment as the homepage "Choose Your Destination" tiles -
   light edge, layered navy shadow, springy 8% lift on hover. */
.tpr-card { position: relative; display: block; flex: 0 0 auto; width: 38vw; aspect-ratio: 4 / 3; border-radius: .75rem; overflow: hidden;
   background: var(--c-navy-deep, #1d204e); border: 1px solid rgba(255,255,255,.35);
   box-shadow: 0 2px 4px rgba(29,32,78,.18), 0 10px 20px -6px rgba(29,32,78,.50), 0 24px 44px -16px rgba(29,32,78,.62);
   transition: transform .35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow .3s ease, border-color .3s ease; }
@media (min-width: 640px) { .tpr-card { width: 187px; } }
@media (min-width: 768px) { .tpr-card { width: 214px; border-radius: 1rem; } }
.tpr-card:hover, .tpr-card:focus-visible { transform: scale(1.08); border-color: rgba(255,255,255,.55); z-index: 10;
   box-shadow: 0 3px 6px rgba(29,32,78,.20), 0 16px 32px -8px rgba(29,32,78,.56), 0 36px 66px -20px rgba(29,32,78,.68); }
.tpr-card:focus-visible { outline: 3px solid var(--c-rose, #a8536b); outline-offset: 3px; }
.tpr-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tpr-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.25rem .6rem .5rem; font-size: 10px; font-weight: 700; color: #f7fbfd;
   background: linear-gradient(0deg, rgba(29,32,78,.85), rgba(29,32,78,0)); opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.tpr-card:hover .tpr-cap, .tpr-card:focus-visible .tpr-cap { opacity: 1; }

.tpr-arrow { position: absolute; top: calc(50% - .5rem); transform: translateY(-50%); z-index: 20; width: 40px; height: 40px; border-radius: 999px; border: 0;
   display: flex; align-items: center; justify-content: center; cursor: pointer; background: #f7fbfd; color: var(--c-navy-deep, #1d204e);
   box-shadow: 0 4px 16px rgba(29,32,78,.25); transition: transform .15s ease, box-shadow .15s ease; }
.tpr-arrow:hover { transform: translateY(-50%) scale(1.08); box-shadow: 0 6px 20px rgba(29,32,78,.35); }
.tpr-arrow:focus-visible { outline: 3px solid var(--c-rose, #a8536b); outline-offset: 2px; }
.tpr-arrow svg { width: 24px; height: 24px; fill: currentColor; }
.tpr-arrow-left { left: -8px; } .tpr-arrow-right { right: -8px; }
@media (min-width: 768px) { .tpr-arrow-left { left: -20px; } .tpr-arrow-right { right: -20px; } }

.tpr-pause { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .9rem; border-radius: 999px; cursor: pointer;
   border: 1.5px solid rgba(29,32,78,.3); background: transparent; color: var(--c-navy-deep, #1d204e);
   font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; transition: background .2s ease, border-color .2s ease; }
.tpr-pause:hover { background: rgba(29,32,78,.06); border-color: rgba(29,32,78,.5); }
.tpr-pause:focus-visible { outline: 3px solid var(--c-rose, #a8536b); outline-offset: 2px; }
.tpr-pause svg { width: 16px; height: 16px; fill: currentColor; }
.tpr-pause .tpr-ico-play, .tpr-pause[aria-pressed="true"] .tpr-ico-pause { display: none; }
.tpr-pause[aria-pressed="true"] .tpr-ico-play { display: inline; }
.tpr-pause[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
   .tpr-card, .tpr-arrow, .tpr-cap { transition: none; }
   .tpr-card:hover, .tpr-card:focus-visible { transform: none; }
}

/* Viewer */
#tprLightbox { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 3.5rem 1rem 5.5rem; background: rgba(15,17,45,.94); }
#tprLightbox[hidden] { display: none !important; }
#tprLightbox .tprlb-img { max-width: min(100%, 1600px); max-height: 100%; object-fit: contain; border-radius: .75rem; box-shadow: 0 20px 60px rgba(0,0,0,.5); background: #0f112d; }
#tprLightbox .tprlb-btn { position: absolute; width: 48px; height: 48px; border-radius: 9999px; border: 0; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; transition: background .2s ease; }
#tprLightbox .tprlb-btn:hover { background: rgba(255,255,255,.28); }
#tprLightbox .tprlb-btn[hidden] { display: none; }
#tprLightbox .tprlb-btn:focus-visible, #tprLightbox .tprlb-link:focus-visible { outline: 3px solid #a8536b; outline-offset: 2px; }
#tprLightbox .tprlb-btn svg { width: 24px; height: 24px; fill: currentColor; }
#tprLightbox .tprlb-close { top: .75rem; right: .75rem; }
#tprLightbox .tprlb-prev { left: .75rem; top: 50%; transform: translateY(-50%); }
#tprLightbox .tprlb-next { right: .75rem; top: 50%; transform: translateY(-50%); }
#tprLightbox .tprlb-bar { position: absolute; left: 0; right: 0; bottom: 0; padding: .9rem 1rem 1.1rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .4rem 1.25rem; color: #f7fbfd; text-align: center; }
#tprLightbox .tprlb-title { font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
#tprLightbox .tprlb-count { font-size: 12px; opacity: .75; }
#tprLightbox .tprlb-cap { flex-basis: 100%; font-size: 13px; opacity: .9; }
#tprLightbox .tprlb-cap:empty { display: none; }
#tprLightbox .tprlb-link { font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: #a8536b; text-decoration: none; }
#tprLightbox .tprlb-link:hover { text-decoration: underline; }
@media (max-width: 767px) { #tprLightbox .tprlb-prev, #tprLightbox .tprlb-next { top: auto; bottom: 4.5rem; transform: none; } #tprLightbox { padding-bottom: 8.5rem; } }
