/* ==========================================================================
   Bootstrap 5 shim — loaded AFTER the template's CSS: the hooks main.js
   uses, then this template's own fixes (each one names the GATES.md line or
   owner note it answers). The neutral Bootstrap 3 defaults live in
   bs3-defaults.css, loaded before style.css — never restate them here.
   ========================================================================== */

/* Hooks main.js uses. */
.tv-preload *, .tv-preload *::before, .tv-preload *::after { transition: none !important; animation-duration: 0s !important; } /* released by main.js one frame after load */
.tv-nohover .dropdown-menu:not(.show) { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; } /* a hover-opened menu stays shut until the first mousemove / touch (main.js) — the cursor may be resting on the nav when the page paints */
#back-to-top { display: none; position: fixed; right: 20px; bottom: 20px; z-index: 999; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #f7ad0a; color: #fff; font: inherit; cursor: pointer; }
#back-to-top.is-visible { display: block; }
.tv-form-note { color: #f7ad0a; margin: 15px 0 0; font-size: 14px; font-weight: 600; }
.form-control.is-invalid, select.is-invalid, textarea.is-invalid, input.is-invalid { border-color: #dc3545 !important; }
.tv-lightbox { position: fixed; inset: 0; z-index: 99999; display: none; align-items: center; justify-content: center; background: rgba(0, 0, 0, .92); }
.tv-lightbox.is-open { display: flex; }
.tv-lightbox img { max-width: 92vw; max-height: 84vh; box-shadow: 0 10px 40px rgba(0, 0, 0, .6); }
.tv-lightbox button { position: absolute; border: 0; background: transparent; color: #fff; font-size: 34px; line-height: 1; cursor: pointer; opacity: .8; padding: 10px; }
.tv-lb-close { top: 10px; right: 20px; font-size: 42px; } .tv-lb-prev { left: 10px; top: 50%; transform: translateY(-50%); } .tv-lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
.tv-section-pb { padding-bottom: 80px; } /* for new pages whose last section needs a floor */

/* ==========================================================================
   This template — every rule below names the gate line or owner note it
   answers. Start empty; grow it from GATES.md, never from another template.
   ========================================================================== */

/* == biteonbite: content == */
/* v1's inline backgrounds, as classes */
.tv-bg-hero { background: rgba(0, 0, 0, 0) url('../images/Image24.jpeg') no-repeat scroll center top / cover; }
.tv-bg-services { background: rgba(0, 0, 0, 0) url('../images/Image8.png') no-repeat scroll center top / cover; }
.tv-bg-reviews { background: rgba(0, 0, 0, 0) url('../images/Image25.jpeg') no-repeat scroll center top / cover; }
/* owner round 1 "Unique Story since 1989 needed touchups": v1's BS3 columns were FLOATS — the tall first photo on the left, the other
   four packed 2 x 2 beside it. BS5's flex row lined them up 3 + 2 with a hole. Floats again, as BS3 had them. */
#story > .container > .row { display: block; }
#story > .container > .row::after { content: ""; display: table; clear: both; }
#story > .container > .row > [class*="col-"] { float: left; }
/* links added around v1 headings take the heading's own look */
a.tv-link-inherit, a.tv-link-inherit:hover, a.tv-link-inherit:focus { color: inherit; text-decoration: none; }
a.tv-link-inherit:hover { opacity: .8; }
/* favourites: the whole card opens the dish page */
.effect-marley { position: relative; }
.effect-marley .tv-cover-link { position: absolute; inset: 0; z-index: 5; }
/* == end biteonbite content == */

/* == biteonbite: inner == */
.tv-bg-inner { background: rgba(0, 0, 0, 0) url('../images/bgbanner.png') no-repeat scroll center top / cover; }
/* == end biteonbite inner == */

/* == biteonbite: chrome == */
/* blog single: the comments block sits in the post column beside no column — BS3 gave it a full line; the kit's
   ".tv-colhost > :not(col)" (made for a label beside an input) shrank it to 0 and every comment to 30px */
.tv-colhost > .coments { flex: 0 0 100% !important; max-width: 100%; } /* beats the kit rule's stacked :not()s */
/* v1's active menu item was amber (BS3 ".navbar-nav > .active > a" + v1's colour); the dark menu keeps that */
.navbar-fixed-top .navbar-nav > li.active > a.tv-menu { color: #f7ad0a; }
/* v1's pogoSlider (main.js reproduces it): slides stacked in the banner, the current one on top; "shrinkReveal" = scale + fade */
.tv-pogo { position: relative; overflow: hidden; }
/* the pogo-slider.min.css rules the slider uses (v1 linked that sheet only on the two slider pages; the shared shell does not) */
.tv-pogo > .pogoSlider-slide { position: absolute; width: 100%; height: 100%; background-size: cover; overflow: hidden; }
.tv-pogo .pogoSlider-progressBar { position: absolute; width: 100%; height: 5px; top: 0; left: 0; background: rgba(255, 255, 255, .2); z-index: 6; }
.tv-pogo .pogoSlider-progressBar-duration { position: absolute; height: 100%; left: 0; width: 0; background: #f7ad0a; }
.tv-pogo .pogoSlider-nav { position: absolute; bottom: 10px; padding: 0; margin: 0; z-index: 10; }
.tv-pogo .pogoSlider-nav-btn { width: 10px; height: 10px; padding: 0; border: none; border-radius: 50%; background: #fff; box-shadow: 0 1px 1px rgba(0, 0, 0, .1); cursor: pointer; }
.tv-pogo .pogoSlider-nav-btn--selected { background: #f7ad0a; box-shadow: 0 1px 1px rgba(0, 0, 0, .3); }
.tv-pogo > .pogoSlider-slide { top: 0; left: 0; opacity: 0; z-index: 0; transform: scale(1.08); transition: opacity .6s ease, transform 1.2s ease; }
.tv-pogo > .pogoSlider-slide.tv-pogo-current { opacity: 1; z-index: 1; transform: none; }
.tv-pogo .pogoSlider-nav { left: 0; right: 0; display: flex; justify-content: center; gap: 8px; list-style: none; }
@media (prefers-reduced-motion: reduce) { .tv-pogo > .pogoSlider-slide { transition: none; transform: none; } }
/* one <h1> per page: slides 2 and 3 carry an <h2> dressed exactly as v1's ".tv-banner-title > h1" */
.tv-banner-title > h2.tv-slide-title { color: #f7ad0a; font-size: 31px; font-weight: 800; letter-spacing: 5px; margin: 30px 0; text-transform: uppercase; line-height: 1.1; }
.tv-bg-slide-1 { background-image: url('../images/Image24.jpeg'); } .tv-bg-slide-2 { background-image: url('../images/Image25.jpeg'); } .tv-bg-slide-3 { background-image: url('../images/Image26.jpeg'); }
.tv-bg-slide-1, .tv-bg-slide-2, .tv-bg-slide-3 { background-size: cover; background-position: center; }
.tv-bg-hero-fixed { background-image: url('../images/Image24.jpeg'); } .tv-bg-services-fixed { background-image: url('../images/Image8.png'); } .tv-bg-reviews-fixed { background-image: url('../images/Image25.jpeg'); }
/* v1's masonry container was a plain block that the plugin sized; main.js lays the tiles out (kit's colhost made it display:contents) */
.tv-image-masonry.tv-colhost { display: block !important; position: relative; width: 100%; } /* beats the kit's .row > .tv-colhost:not(...) { display: contents } */
.tv-image-masonry > .t { position: absolute; max-width: 100%; } /* QA r1: Firefox sized a col-12 tile 533px at 320 */
/* QA r1: BS3's round indicators with v1's colours — BS5's [data-bs-target] bars (0,2,0) beat v1's ".carousel-indicators li" */
.carousel-indicators li[data-bs-target] { box-sizing: border-box; width: 10px; height: 10px; margin: 1px; padding: 0; flex: 0 0 auto; border-radius: 10px; background-color: #222222; border: 1px solid #222222; background-clip: border-box; opacity: 1; text-indent: -999px; }
.carousel-indicators li[data-bs-target].active { background-color: #f7ad0a; border-color: #f7ad0a; width: 10px; height: 10px; margin: 1px; }
.testimonial-content { padding-bottom: 36px; } /* the dots sat on the guest's name */
/* owner round 1 "menu is totally messed in submenu items" — the collapsed (phone) menu. v1 capped the collapse at 165px and let the rest
   spill over the hero with no background; the amber submenu panels then floated over the hero buttons. Now: one dark panel that
   scrolls, submenus flat and indented under an amber rule, every item readable. */
@media (max-width: 767.98px) {
  .navbar-fixed-top:has(.navbar-collapse.show), .navbar-fixed-top:has(.navbar-collapse.collapsing) { background: rgba(34, 34, 34, .98); }
  .navbar-fixed-top .navbar-collapse { max-height: calc(100vh - 120px) !important; overflow-y: auto; overscroll-behavior: contain; background: #222222; }
  .navbar-fixed-top .navbar-collapse .navbar-nav { text-align: left; padding: 6px 0 10px; }
  .navbar-fixed-top .navbar-collapse .navbar-nav > li { border-bottom: 1px solid rgba(255, 255, 255, .08); width: 100%; }
  .navbar-fixed-top .navbar-collapse .navbar-nav > li > a.tv-menu { width: 100%; }
  .navbar-fixed-top .navbar-collapse .navbar-nav a.tv-menu::after { display: none; } /* BS5's caret box was a third flex item: the chevron sat mid-row */
  .navbar-fixed-top .navbar-collapse .navbar-nav a.tv-menu > i, .navbar-fixed-top .navbar-collapse .Navigation-listItem > a > i { margin-left: auto; }
  .navbar-fixed-top .navbar-collapse .navbar-nav > li > a.tv-menu { display: flex; justify-content: space-between; align-items: center; padding: 14px 4px !important; }
  .navbar-fixed-top .navbar-collapse .dropdown-menu { position: static !important; float: none; transform: none !important; inset: auto !important; min-width: 0; width: auto;
    margin: 0 0 10px 6px !important; padding: 0 0 0 12px; background: transparent !important; border: 0; border-left: 2px solid #f7ad0a; border-radius: 0 !important; box-shadow: none; }
  .navbar-fixed-top .navbar-collapse .tv-sub-menu li a { display: flex; justify-content: space-between; align-items: center; color: #ffffff; background: transparent !important;
    border: 0; padding: 10px 8px; line-height: 1.4; font-size: 11px; letter-spacing: 1.5px; white-space: normal; border-radius: 0 !important; }
  .navbar-fixed-top .navbar-collapse .tv-sub-menu li a:hover, .navbar-fixed-top .navbar-collapse .tv-sub-menu li a:focus,
  .navbar-fixed-top .navbar-collapse .Navigation-listItem > a[aria-expanded="true"] { color: #f7ad0a; }
  .navbar-fixed-top .navbar-collapse .Navigation-listItem > a .fa-angle-right { transition: transform .2s; }
  .navbar-fixed-top .navbar-collapse .Navigation-listItem > a[aria-expanded="true"] .fa-angle-right { transform: rotate(90deg); }
  .navbar-fixed-top .navbar-collapse .Navigation-list .Navigation-list, .navbar-fixed-top .navbar-collapse .Navigation-listItem > .dropdown-menu { margin: 0 0 6px 4px !important; }
  .navbar-fixed-top .navbar-collapse .dropdown-toggle .fa-angle-down { transition: transform .2s; }
  .navbar-fixed-top .navbar-collapse .dropdown.open > .dropdown-toggle .fa-angle-down, .navbar-fixed-top .navbar-collapse .dropdown-toggle.show .fa-angle-down { transform: rotate(180deg); }
}
/* owner round 3 "in tab book button slide down": at 768–991 v1's header stacked brand / nav / book as three full-width rows, so the
   button sat alone on a third line. It moves up into the brand row, top right (empty at that width). */
/* owner round 3 answer: "should be in menu row" — ONE row on tablet, as on desktop: brand | menu | button */
@media (min-width: 768px) and (max-width: 991.98px) {
  .navbar-fixed-top > .container > .row { flex-wrap: nowrap; align-items: center; }
  .navbar-fixed-top > .container > .row > div { flex: 0 0 auto; width: auto; max-width: none; padding-left: 8px; padding-right: 8px; }
  .navbar-fixed-top > .container > .row > div:nth-child(2) { flex: 1 1 auto; min-width: 0; }
  .navbar-fixed-top .navbar-brand { font-size: 16px !important; letter-spacing: 1px; padding-left: 0; padding-right: 0; margin-left: 0 !important; }
  .navbar-fixed-top .navbar-header { justify-content: flex-start; text-align: left !important; }
  .navbar-fixed-top .navbar-collapse .navbar-nav { flex-wrap: nowrap; justify-content: center; }
  .navbar-fixed-top .navbar-nav .tv-menu { padding: 17px 5px !important; letter-spacing: .5px; font-size: 9.5px; white-space: nowrap; }
  .navbar-fixed-top .navbar-nav .tv-menu i { margin-left: 2px; }
  .navbar-fixed-top .tv-book-button { line-height: 50px; text-align: right; }
  .navbar-fixed-top .tv-book-button > a { padding: 8px 12px !important; font-size: 11px; letter-spacing: .5px; white-space: nowrap; }
}
/* the same on phones wide enough to seat brand + button + hamburger on one line (below 360 it keeps its own row) */
@media (min-width: 360px) and (max-width: 399.98px) {
  .navbar-fixed-top .navbar-brand { font-size: 17px !important; letter-spacing: 1px; }
  .navbar-fixed-top .tv-book-button > a { padding: 6px 10px !important; font-size: 10px !important; }
}
@media (min-width: 360px) and (max-width: 767.98px) {
  .navbar-fixed-top > .container { position: relative; }
  .navbar-fixed-top .row > div:has(> .tv-book-button) { position: absolute; top: 0; right: 64px; width: auto; padding: 0; }
  .navbar-fixed-top .tv-book-button { line-height: 50px; }
  .navbar-fixed-top .tv-book-button > a { padding: 7px 12px !important; font-size: 11px; letter-spacing: .5px; display: inline-flex; align-items: center; min-height: 32px; line-height: 1; vertical-align: middle; } /* QA r6: a tap target, not 25px */
}
/* final QA r1: the BOB Landing one-page menus carry 7 items — at 768–991 they ran into the Book button (Firefox) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .tv-navbar-padding-10 .navbar-collapse .navbar-nav .tv-menu { padding-left: 4px !important; padding-right: 4px !important; letter-spacing: .3px !important; font-size: 9px !important; }
  .tv-navbar-padding-10 .navbar-fixed-top .navbar-brand, .tv-navbar-padding-10 .navbar-brand { font-size: 15px !important; }
}
/* owner round 3 "in tab can you improve whole menu?" + round 5 "dark style" for desktop too — every un-collapsed menu (768+):
   solid charcoal bar with an amber hairline, evenly spaced items with an amber underline, dark rounded dropdown panels */
@media (min-width: 768px) and (max-width: 1199.98px) {
  .navbar-fixed-top .navbar-nav > li > a.tv-menu { font-size: 10px !important; letter-spacing: 1px !important; }
}
@media (min-width: 768px) {
  .navbar-fixed-top.navbar-default { background: rgba(28, 26, 25, .96); box-shadow: 0 1px 0 rgba(247, 173, 10, .55), 0 10px 26px rgba(0, 0, 0, .25); }
  .navbar-fixed-top .navbar-collapse .navbar-nav { gap: 2px; }
  .navbar-fixed-top .navbar-nav > li > a.tv-menu { position: relative; color: #fff; }
  .navbar-fixed-top .navbar-nav > li > a.tv-menu::before { content: ""; position: absolute; left: 50%; bottom: 10px; width: 0; height: 2px; background: #f7ad0a; transform: translateX(-50%); transition: width .25s; }
  .navbar-fixed-top .navbar-nav > li > a.tv-menu:hover::before, .navbar-fixed-top .navbar-nav > li.open > a.tv-menu::before, .navbar-fixed-top .navbar-nav > li > a.tv-menu.show::before { width: calc(100% - 12px); }
  .navbar-fixed-top .navbar-nav > li > a.tv-menu:hover, .navbar-fixed-top .navbar-nav > li.open > a.tv-menu { color: #f7ad0a; }
  .navbar-fixed-top .navbar-nav > li > a.tv-menu::after { display: none; } /* BS5's caret: v1 draws its own chevron */
  .navbar-fixed-top .navbar-nav > li > a.tv-menu > i { transition: transform .2s; }
  .navbar-fixed-top .navbar-nav > li.open > a.tv-menu > i, .navbar-fixed-top .navbar-nav > li > a.tv-menu.show > i { transform: rotate(180deg); }
  /* dropdown panels */
  .navbar-fixed-top .navbar-nav .dropdown-menu.tv-sub-menu { left: 0; margin-top: 0 !important; min-width: 210px; padding: 8px 0; background: #222 !important; border: 0; border-top: 2px solid #f7ad0a; border-radius: 0 0 10px 10px !important; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
  .navbar-fixed-top .navbar-nav > li:last-child > .dropdown-menu.tv-sub-menu { left: auto; right: 0; } /* Components: opens leftward, never off-screen */
  .navbar-fixed-top .navbar-nav .tv-sub-menu li a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 18px; line-height: 1.3; color: rgba(255, 255, 255, .88); background: transparent !important; border: 0; border-radius: 0 !important; font-size: 10.5px; letter-spacing: 1.2px; transition: color .2s, padding-left .2s; }
  .navbar-fixed-top .navbar-nav .tv-sub-menu li a:hover, .navbar-fixed-top .navbar-nav .tv-sub-menu li a:focus, .navbar-fixed-top .navbar-nav .Navigation-listItem > a[aria-expanded="true"] { color: #f7ad0a; padding-left: 22px; }
  .navbar-fixed-top .navbar-nav .tv-sub-menu li + li > a { border-top: 1px solid rgba(255, 255, 255, .06); }
  .navbar-fixed-top .navbar-nav .tv-sub-menu li a > i.fa-sm { width: 14px; color: #f7ad0a; }
  /* the nested Landing / Multi page flyout sits beside its parent item, same panel */
  .navbar-fixed-top .navbar-nav .Navigation-listItem > .dropdown-menu { top: -8px !important; left: 100% !important; margin-left: 4px !important; border-top: 0; border-left: 2px solid #f7ad0a; border-radius: 0 10px 10px 0 !important; }
}
/* owner round 4 "in tab it feels empty space for second row": Our Favorites is exactly three cards — 2 + 1 left half a row empty
   at 768–991; three across instead (tablet rule: a row of exactly three stays 3) */
@media (min-width: 768px) and (max-width: 991.98px) {
  #favorites .row > [class*="col-"] { flex: 0 0 33.3333%; width: 33.3333%; max-width: 33.3333%; }
}
/* QA r1: the added "Pages" item wrapped the nav at 992–1199 (v1's responsive.css: 10px links, 9px side padding) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .navbar .navbar-nav .tv-menu { padding-left: 6px !important; padding-right: 6px !important; letter-spacing: 1px; }
}
.tv-form-note { margin: 12px 0 0; color: inherit; font-weight: 600; }
.tv-form-note:focus { outline: none; }
.tv-link-form.was-validated .form-control:invalid { border-color: #dc3545; }
/* == end biteonbite chrome == */
