/* Black-and-gold TopLimo video gallery inserted after the About CTA. */
.tl-video-section{padding:64px 0;background:#080809;border-top:1px solid #604725}.tl-video-intro{text-align:center;margin-bottom:25px}.tl-video-intro h2{color:#f3cd7f;font-size:clamp(26px,4vw,42px);margin:10px 0}.tl-video-intro p{color:#c6bcae}.tl-video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:20px}.tl-video-card{border:1px solid #674a27;background:#171517;border-radius:13px;overflow:hidden;min-width:0}.tl-video-art{padding:12px;background:#0d0d0e;display:flex;justify-content:center}.tl-video-play{position:relative;width:100%;max-width:100%;aspect-ratio:var(--tl-card-ratio,16 / 9);max-height:360px;border:0;background:#101012;border-radius:9px;overflow:hidden;cursor:pointer;color:#f7d388;display:flex;align-items:center;justify-content:center;padding:0}.tl-video-play img{width:100%;height:100%;object-fit:cover}.tl-video-play-icon{position:absolute;inset:auto;display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:rgba(12,10,8,.78);border:1px solid #d2a956;color:#f1ce85;font-size:23px}.tl-video-no-poster{padding:20px;text-align:center}.tl-video-info{padding:16px}.tl-video-info h3{color:#f2d18b;font-size:18px;margin:0 0 10px}.tl-video-info p{color:#ccc0af;line-height:1.65;white-space:normal;margin:0 0 12px}.tl-video-meta{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:13px;color:#bba98c}.tl-video-meta a{color:#edcb7e}.tl-video-note{font-size:12px;color:#a69b8f;margin-top:18px;text-align:center}.tl-video-dialog{border:1px solid #c49b56;border-radius:14px;background:#151417;color:#f3d18e;padding:0;max-width:min(96vw,1000px);width:max-content;min-width:min(320px,90vw);max-height:94vh}.tl-video-dialog::backdrop{background:rgba(0,0,0,.83)}.tl-video-dialog-header{display:flex;justify-content:space-between;align-items:center;padding:13px 18px;gap:20px;border-bottom:1px solid #73572d}.tl-video-dialog-header button{color:#f5ce83;background:none;border:0;font-size:27px;cursor:pointer}.tl-video-dialog-body{padding:10px;display:flex;justify-content:center}.tl-video-dialog iframe{width:min(86vw,870px);height:auto;aspect-ratio:var(--tl-ratio,16 / 9);max-height:72vh;border:0;background:#000}.tl-video-dialog[data-aspect="9:16"] iframe{width:min(50vw,405px)}.tl-video-dialog #tl-video-tweet{min-width:300px;max-height:72vh;overflow:auto;background:#fff;color:#111}.tl-video-dialog [hidden]{display:none!important}@media(max-width:950px){.tl-video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.tl-video-section{padding:42px 0}.tl-video-grid{grid-template-columns:minmax(0,1fr)}.tl-video-dialog[data-aspect="9:16"] iframe{width:min(85vw,370px)}}

/* Homepage feature block: zero records => section omitted entirely in PHP. */
.tl-video-home{padding:48px 0 55px;background:#080809;border-top:0;border-bottom:1px solid #49351e}
.tl-video-home .tl-video-intro{margin-bottom:23px}
.tl-video-home .tl-video-grid.tl-video-count-one{grid-template-columns:minmax(0,620px);justify-content:center}
.tl-video-home .tl-video-grid.tl-video-count-two{grid-template-columns:repeat(2,minmax(0,1fr));max-width:1050px;margin-inline:auto}
@media(max-width:600px){.tl-video-home{padding:35px 0}.tl-video-home .tl-video-grid.tl-video-count-one,.tl-video-home .tl-video-grid.tl-video-count-two{grid-template-columns:minmax(0,1fr)}}

/* Inline homepage playback: playback occupies the existing poster slot. */
.tl-video-home .tl-video-play[hidden],.tl-video-home .tl-video-inline-player[hidden]{display:none!important}
.tl-video-home .tl-video-inline-player{position:relative;width:100%;max-height:360px;aspect-ratio:var(--tl-card-ratio,16 / 9);background:#080809;border-radius:9px;overflow:hidden;display:flex;align-items:center;justify-content:center}
.tl-video-home .tl-video-inline-player iframe{display:block;border:0;width:100%;height:100%;background:#000}
.tl-video-home .tl-video-inline-stop{position:absolute;right:8px;top:8px;z-index:5;border:1px solid #d5af62;border-radius:50%;width:33px;height:33px;color:#f6d48c;background:rgba(12,10,8,.9);font-size:23px;line-height:1;cursor:pointer}
.tl-video-home .tl-video-inline-tweet{width:100%;height:100%;overflow:auto;text-align:center;background:#fff;color:#111}
.tl-video-home .tl-video-inline-stop:focus-visible{outline:2px solid #fff;outline-offset:2px}

/* Homepage featured films: picture-only cards, no duplicate title/platform/footer.
   Do not change About-page cards or third-party player controls. */
.tl-video-home .tl-video-card{background:#080809}
.tl-video-home .tl-video-art{padding:0;background:#080809}
.tl-video-home .tl-video-play,
.tl-video-home .tl-video-inline-player{border-radius:12px;max-height:none}
.tl-video-home .tl-video-inline-stop{opacity:0;transition:opacity .18s ease;background:rgba(0,0,0,.75)}
.tl-video-home .tl-video-inline-player:hover .tl-video-inline-stop,
.tl-video-home .tl-video-inline-player:focus-within .tl-video-inline-stop{opacity:1}
@media(hover:none){.tl-video-home .tl-video-inline-stop{opacity:.65}}

/* Homepage-only proportion-safe sizing. Never enlarge a single short into a tall banner.
   The iframe and poster are siblings and use identical aspect-ratio/width dimensions. */
.tl-video-home .tl-video-grid{justify-items:center;align-items:start}
.tl-video-home .tl-video-card{width:100%;max-width:420px;justify-self:center}
.tl-video-home .tl-video-card[data-video-aspect="9:16"]{max-width:202.5px}
.tl-video-home .tl-video-card[data-video-aspect="1:1"]{max-width:300px}
.tl-video-home .tl-video-card[data-video-aspect="4:3"]{max-width:400px}
.tl-video-home .tl-video-play,.tl-video-home .tl-video-inline-player{
    display:flex;aspect-ratio:var(--tl-card-ratio,16 / 9);width:100%;height:auto;
    max-height:360px;box-sizing:border-box
}
.tl-video-home .tl-video-play img{width:100%;height:100%;object-fit:cover}
.tl-video-home .tl-video-inline-player iframe{width:100%;height:100%;display:block}
@media(max-width:600px){
  .tl-video-home .tl-video-card[data-video-aspect="9:16"]{max-width:180px}
  .tl-video-home .tl-video-card[data-video-aspect="1:1"]{max-width:260px}
  .tl-video-home .tl-video-card[data-video-aspect="16:9"]{max-width:391px}
  .tl-video-home .tl-video-card[data-video-aspect="4:3"]{max-width:293px}
  .tl-video-home .tl-video-play,.tl-video-home .tl-video-inline-player{max-height:320px}
  .tl-video-home .tl-video-card[data-video-aspect="16:9"] .tl-video-play,
  .tl-video-home .tl-video-card[data-video-aspect="16:9"] .tl-video-inline-player{max-height:220px}
}

/* Homepage featured-video gallery: up to four closely spaced videos per row.
   Flex centering also centers an incomplete final row. About page unaffected. */
.tl-video-home .tl-video-grid,
.tl-video-home .tl-video-grid.tl-video-count-one,
.tl-video-home .tl-video-grid.tl-video-count-two{
    display:flex;
    flex-wrap:wrap;
    align-items:flex-start;
    justify-content:center;
    column-gap:8px;
    row-gap:12px;
    width:100%;
    max-width:834px;
    margin-inline:auto;
}
.tl-video-home .tl-video-grid > .tl-video-card{
    flex:0 0 calc((100% - 24px) / 4);
    width:calc((100% - 24px) / 4);
    max-width:202.5px;
    margin:0;
    justify-self:auto;
    box-sizing:border-box;
}
/* Two across on smaller tablets, one centered on phones. */
@media(min-width:601px) and (max-width:700px){
    .tl-video-home .tl-video-grid > .tl-video-card{
        flex-basis:calc((100% - 8px) / 2);
        width:calc((100% - 8px) / 2);
    }
}
@media(max-width:600px){
    .tl-video-home .tl-video-grid,
    .tl-video-home .tl-video-grid.tl-video-count-one,
    .tl-video-home .tl-video-grid.tl-video-count-two{
        column-gap:8px;
        row-gap:12px;
    }
    .tl-video-home .tl-video-grid > .tl-video-card{
        flex-basis:min(100%,391px);
        width:min(100%,391px);
        max-width:391px;
    }
    .tl-video-home .tl-video-grid > .tl-video-card[data-video-aspect="9:16"]{max-width:180px;flex-basis:min(100%,180px)}
    .tl-video-home .tl-video-grid > .tl-video-card[data-video-aspect="1:1"]{max-width:260px;flex-basis:min(100%,260px)}
    .tl-video-home .tl-video-grid > .tl-video-card[data-video-aspect="4:3"]{max-width:293px;flex-basis:min(100%,293px)}
}

/* Homepage video columns are selected by the administrator (2–5 per row).
   The compact gap and flex wrapping center the incomplete final row. */
@media(min-width:701px){
  .tl-video-home .tl-video-grid,
  .tl-video-home .tl-video-grid.tl-video-count-one,
  .tl-video-home .tl-video-grid.tl-video-count-two{
      max-width:calc(var(--tl-home-columns,4) * 202.5px + (var(--tl-home-columns,4) - 1) * 8px);
  }
  .tl-video-home .tl-video-grid > .tl-video-card{
      flex:0 0 calc((100% - (var(--tl-home-columns,4) - 1) * 8px) / var(--tl-home-columns,4));
      width:calc((100% - (var(--tl-home-columns,4) - 1) * 8px) / var(--tl-home-columns,4));
  }
}

/* TopLimo unified modal branding: preserve independent dynamic title nodes. */
.tl-modal-brand-logo{display:inline-block;vertical-align:middle;flex:none;width:39px;height:43px;object-fit:contain;margin-inline-end:11px}
.tl-modal-brand-heading{display:inline-flex;align-items:center;gap:0;min-width:0;max-width:100%}
.tl-modal-brand-heading .tl-modal-brand-logo{margin-inline-end:11px}
.tl-customer-dispatch-head h2,.tl-location-head h2,.tl-dispatch-head h2,.tl-payqr-head h2,.tl-invite-modal-head h2,.tl-order-route-dialog h2,.tl-order-confirm h3,.tl-dispatch-unavailable h2,.secret-delete-dialog h2{display:flex;align-items:center;min-width:0}
@media(max-width:600px){.tl-modal-brand-logo{width:33px;height:37px;margin-inline-end:8px}.tl-modal-brand-heading .tl-modal-brand-logo{margin-inline-end:8px}}
