/* Thamel Grand Hotel  custom additions: lightbox, gallery grid, modern polish.
   Loaded after style.css so it can refine the template. Accent: brass #b9863b. */
:root{ --tgh-brass:#b9863b; --tgh-brass-deep:#9a6f2c; --tgh-ink:#2b2b2b; }

/* ---------- Lightbox ---------- */
.tgh-lb{position:fixed;inset:0;z-index:9999;background:rgba(12,12,14,.94);display:flex;
  align-items:center;justify-content:center;padding:24px;opacity:0;visibility:hidden;}
.tgh-lb.is-open{opacity:1;visibility:visible;}
.tgh-lb-stage{margin:0;display:flex;flex-direction:column;align-items:center;gap:12px;}
.tgh-lb-stage img{max-width:92vw;max-height:82vh;object-fit:contain;border-radius:3px;
  box-shadow:0 24px 70px rgba(0,0,0,.55);}
.tgh-lb-stage figcaption{color:rgba(255,255,255,.72);font-size:13px;letter-spacing:.02em;}
.tgh-lb-close{position:absolute;top:16px;right:22px;background:none;border:0;color:#fff;
  font-size:36px;line-height:1;cursor:pointer;opacity:.82;padding:4px 10px;}
.tgh-lb-close:hover,.tgh-lb-close:focus-visible{opacity:1;}
.tgh-lb-nav{position:absolute;top:50%;transform:translateY(-50%);background:rgba(255,255,255,.1);
  border:0;color:#fff;width:52px;height:52px;border-radius:50%;font-size:30px;line-height:1;
  cursor:pointer;transition:background .2s;}
.tgh-lb-nav:hover,.tgh-lb-nav:focus-visible{background:rgba(255,255,255,.24);}
.tgh-lb-prev{left:20px;} .tgh-lb-next{right:20px;}
.tgh-lb-counter{position:absolute;bottom:20px;left:0;right:0;text-align:center;
  color:rgba(255,255,255,.7);font-size:12.5px;letter-spacing:.1em;}
.tgh-lb :focus-visible{outline:2px solid var(--tgh-brass);outline-offset:3px;}
@media (max-width:600px){.tgh-lb-nav{width:42px;height:42px;font-size:24px;}
  .tgh-lb-prev{left:8px;}.tgh-lb-next{right:8px;}}
@media (prefers-reduced-motion:no-preference){.tgh-lb{transition:opacity .28s ease;}}

/* ---------- Gallery page ---------- */
.tgh-gallery-wrap{max-width:1240px;margin:0 auto;padding:0 20px;}
.tgh-gallery-filters{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin:0 0 36px;}
.tgh-gf{background:transparent;border:1px solid #d8d2c6;border-radius:40px;padding:9px 24px;
  font-size:12px;letter-spacing:2px;text-transform:uppercase;cursor:pointer;color:#6b675f;font-family:"Roboto",arial,sans-serif;transition:background .25s,color .25s,border-color .25s;}
.tgh-gf:hover{border-color:var(--tgh-brass);color:var(--tgh-brass-deep);}
.tgh-gf.active{background:var(--tgh-brass);border-color:var(--tgh-brass);color:#fff;}
.tgh-grid{column-count:3;column-gap:16px;}
.tgh-tile{break-inside:avoid;margin:0 0 16px;display:block;width:100%;padding:0;border:0;
  background:none;cursor:pointer;border-radius:5px;overflow:hidden;position:relative;line-height:0;}
.tgh-tile img{width:100%;display:block;border-radius:5px;transition:transform .55s ease;}
.tgh-tile::after{content:"";position:absolute;inset:0;background:rgba(30,24,16,0);
  transition:background .3s ease;border-radius:5px;}
.tgh-tile:hover img{transform:scale(1.06);}
.tgh-tile:hover::after{background:rgba(30,24,16,.16);}
.tgh-tile:focus-visible{outline:2px solid var(--tgh-brass);outline-offset:2px;}
@media (max-width:1000px){.tgh-grid{column-count:2;}}
@media (max-width:600px){.tgh-grid{column-count:1;}}

/* ---------- Homepage gallery teaser ---------- */
.tgh-teaser{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;}
.tgh-teaser a{display:block;overflow:hidden;border-radius:5px;line-height:0;position:relative;}
.tgh-teaser img{width:100%;height:100%;object-fit:cover;aspect-ratio:1/1;transition:transform .5s ease;}
.tgh-teaser a:hover img{transform:scale(1.07);}
@media (max-width:700px){.tgh-teaser{grid-template-columns:repeat(2,1fr);}}

/* ---------- Modern polish (tasteful, non-breaking) ---------- */
.btn-primary{transition:transform .2s ease,box-shadow .2s ease,background-color .2s ease;}
.btn-primary:hover{transform:translateY(-1px);box-shadow:0 8px 20px -8px rgba(185,134,59,.7);}
a{transition:color .2s ease;}
.site-block-half .text h2{letter-spacing:-.01em;}
img{max-width:100%;}

/* ---------- Real menu (Black Olives Cafe) ---------- */
.tgh-menu{max-width:1080px;margin:0 auto;background:#f6efe1;border-radius:8px;
  padding:40px 44px 46px;box-shadow:0 34px 80px -34px rgba(0,0,0,.65);}
.tgh-menu-tabs{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-bottom:36px;}
.tgh-menu-tab{background:transparent;border:1px solid #cdbf9f;color:#6b5f45;border-radius:40px;
  padding:9px 26px;font-size:12px;letter-spacing:2px;text-transform:uppercase;
  font-family:"Roboto",arial,sans-serif;cursor:pointer;transition:background .25s,color .25s,border-color .25s;}
.tgh-menu-tab:hover{border-color:#b9863b;color:#9a6f2c;}
.tgh-menu-tab.active{background:#b9863b;border-color:#b9863b;color:#fff;}
.tgh-menu-body{column-count:2;column-gap:50px;}
.menu-group{break-inside:avoid;margin:0 0 30px;}
.menu-group-title{font-family:"Playfair Display",Georgia,serif;font-size:20px;color:#2b2b2b;
  letter-spacing:.01em;margin:0 0 14px;padding-bottom:9px;border-bottom:1px solid #e2d5b8;position:relative;}
.menu-group-title::after{content:"";position:absolute;left:0;bottom:-1px;width:46px;height:2px;background:#b9863b;}
.menu-item{margin:0 0 13px;}
.mi-head{display:flex;align-items:baseline;}
.mi-name{font-weight:600;color:#33302a;font-size:15px;}
.mi-leader{flex:1 1 auto;margin:0 8px 5px;border-bottom:1px dotted #bcac86;min-width:14px;}
.mi-price{font-weight:600;color:#9a6f2c;font-size:14.5px;white-space:nowrap;font-variant-numeric:tabular-nums;}
.mi-desc{font-size:12.7px;color:#8a7d63;font-style:italic;line-height:1.45;margin-top:2px;max-width:54ch;}
@media (max-width:768px){.tgh-menu-body{column-count:1;} .tgh-menu{padding:26px 20px 30px;}}

/* ---------- Welcome video ---------- */
.tgh-welcome-video{max-height:560px;width:auto;max-width:100%;border-radius:14px;
  box-shadow:0 22px 55px -22px rgba(0,0,0,.45);display:inline-block;vertical-align:middle;}
@media (max-width:991px){.tgh-welcome-video{max-height:70vh;}}

/* ---------- Exterior video (about) ---------- */
.tgh-exterior-video{max-height:560px;width:auto;max-width:100%;border-radius:14px;
  box-shadow:0 22px 55px -22px rgba(0,0,0,.45);display:inline-block;vertical-align:middle;}
@media (max-width:991px){.tgh-exterior-video{max-height:65vh;}}

/* ---------- Welcome video slider (homepage) ---------- */
.tgh-video-slider{position:relative;display:inline-block;width:min(100%,360px);aspect-ratio:9/14;
  border-radius:14px;overflow:hidden;box-shadow:0 22px 55px -22px rgba(0,0,0,.45);background:#111;}
.tvs-slide{position:absolute;inset:0;opacity:0;transition:opacity .5s ease;pointer-events:none;}
.tvs-slide.is-active{opacity:1;pointer-events:auto;}
.tvs-slide video{width:100%;height:100%;object-fit:cover;display:block;}
/* One clip is landscape: rather than crop it to a strip (cover) or leave the
   card mostly black (contain), the frame itself switches to 16:9 for it. */
.tgh-video-slider{transition:aspect-ratio .45s ease;}
.tgh-video-slider.is-wide{aspect-ratio:16/9;}
.tvs-tag{position:absolute;top:12px;left:12px;z-index:3;padding:5px 12px;border-radius:999px;
  background:rgba(20,14,6,.55);backdrop-filter:blur(4px);color:#ffe6bf;font-size:10.5px;
  letter-spacing:1.5px;text-transform:uppercase;font-family:"Roboto",arial,sans-serif;}
.tvs-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:4;width:40px;height:40px;
  border:none;border-radius:50%;background:rgba(20,20,20,.45);color:#fff;font-size:24px;line-height:1;
  cursor:pointer;transition:background .2s;}
.tvs-arrow:hover{background:rgba(185,134,59,.85);}
.tvs-prev{left:10px;}.tvs-next{right:10px;}
.tvs-dots{position:absolute;bottom:12px;left:0;right:0;display:flex;justify-content:center;gap:7px;z-index:4;}
.tvs-dot{width:8px;height:8px;border-radius:50%;border:none;background:rgba(255,255,255,.55);
  cursor:pointer;padding:0;transition:background .2s;}
.tvs-dot.is-active{background:#ffba5a;}

/* ---------- Room video slide + lightbox video ---------- */
.rg-slide-video video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;}
.rg-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:2;
  width:62px;height:62px;border-radius:50%;background:rgba(20,20,20,.5);color:#fff;
  display:flex;align-items:center;justify-content:center;font-size:22px;padding-left:4px;pointer-events:none;
  transition:background .2s;}
.room-gallery:hover .rg-play{background:rgba(185,134,59,.85);}
.tgh-lb-video{max-width:92vw;max-height:82vh;border-radius:3px;box-shadow:0 24px 70px rgba(0,0,0,.55);background:#000;}

/* ---------- Homepage room grid (attractive overlay cards) ---------- */
.rooms-grid{margin-top:6px;}
.tgh-room-card{display:block;text-decoration:none;border-radius:12px;overflow:hidden;position:relative;
  box-shadow:0 12px 32px -16px rgba(0,0,0,.4);transition:transform .3s ease,box-shadow .3s ease;background:#000;}
.tgh-room-card:hover,.tgh-room-card:focus-visible{transform:translateY(-5px);box-shadow:0 24px 50px -20px rgba(0,0,0,.5);}
.rc-media{position:relative;aspect-ratio:4/3;overflow:hidden;}
.rc-media img,.rc-media video{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s ease;}
.tgh-room-card:hover .rc-media img{transform:scale(1.08);}
.rc-media .rc-video-tag{position:absolute;top:12px;left:12px;z-index:3;display:inline-flex;align-items:center;gap:6px;
  padding:5px 10px;border-radius:999px;background:rgba(20,14,6,.55);backdrop-filter:blur(4px);
  color:#ffe6bf;font-size:10px;letter-spacing:1.5px;text-transform:uppercase;font-family:"Roboto",arial,sans-serif;}
.rc-media .rc-video-tag::before{content:"";width:0;height:0;border-style:solid;border-width:5px 0 5px 8px;border-color:transparent transparent transparent #ffd89b;}
.rc-media::after{content:"";position:absolute;inset:0;
  background:linear-gradient(to top,rgba(20,14,6,.74),rgba(20,14,6,.05) 55%);}
.rc-body{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:20px 22px;}
.rc-name{font-family:"Playfair Display",Georgia,serif;font-weight:600;font-size:22px;line-height:1.15;
  color:#fff;margin:0 0 6px;}
.rc-cta{font-size:12px;letter-spacing:2px;text-transform:uppercase;color:#ffd89b;display:inline-flex;
  align-items:center;gap:7px;transition:gap .25s ease,color .25s ease;font-family:"Roboto",arial,sans-serif;}
.tgh-room-card:hover .rc-cta{gap:12px;color:#ffe6bf;}

/* ---------- Refinements v2: welcome frame + slicker menu ---------- */
.tgh-welcome-video{border:1px solid rgba(185,134,59,.35);box-shadow:0 26px 60px -24px rgba(0,0,0,.5);}
/* slicker menu */
.tgh-menu{background:#f7f2e6;padding:44px 48px 48px;}
.tgh-menu-body{column-gap:56px;}
.menu-group{margin:0 0 34px;}
.menu-group-title{font-size:21px;letter-spacing:.015em;}
.menu-item{margin:0 -12px 2px;padding:8px 12px 8px;border-radius:8px;transition:background .18s ease;}
.menu-item:hover{background:rgba(185,134,59,.07);}
.mi-name{font-size:15.5px;color:#2c2a24;}
.mi-price{color:#a06b1e;}
.mi-leader{border-bottom-color:#c9b98d;}
.mi-desc{margin-top:3px;color:#8c7f64;}
@media (max-width:768px){.tgh-menu{padding:26px 18px 30px;}}

/* ---------- Compact, semi-transparent header ---------- */
.site-header{padding-top:6px;padding-bottom:6px;transition:background .3s ease,box-shadow .3s ease,padding .3s ease;}
.site-header .logo-size{height:56px !important;width:56px !important;}
.site-header .site-logo a{font-size:22px;}
/* NOTE: backdrop-filter makes the header the containing block for its
   position:fixed children — the fullscreen nav overlay lives inside the
   header, so it must be disabled while the menu is open (see .menu-open). */
.site-header.scrolled{background:rgba(255,255,255,.82);-webkit-backdrop-filter:saturate(150%) blur(10px);
  backdrop-filter:saturate(150%) blur(10px);box-shadow:0 2px 16px rgba(0,0,0,.07);padding-top:2px;padding-bottom:2px;}
@media (prefers-color-scheme:dark){.site-header.scrolled{background:rgba(255,255,255,.82);}}
.menu-open .site-header,.menu-open .site-header.scrolled{-webkit-backdrop-filter:none;backdrop-filter:none;}
/* The nav overlay lives inside the header; the header's own z-index caps the
   overlay's stacking, so lift the whole header above page content when open. */
.menu-open .site-header,.menu-open .site-header.scrolled{z-index:9999;}

/* ---------- Homepage room-tour video ---------- */
.tgh-tour-video{max-height:560px;width:auto;max-width:100%;border-radius:14px;
  border:1px solid rgba(185,134,59,.35);box-shadow:0 26px 60px -24px rgba(0,0,0,.5);background:#000;display:inline-block;}
@media (max-width:991px){.tgh-tour-video{max-height:72vh;}}

/* ---------- Menu highlights: background-free dish shots above the menu ---------- */
/* The shots are cut out (transparent PNG/WebP), so they sit straight on the
   section photo with only a drop shadow grounding them - no card, no plate edge. */
.tgh-menu-highlights{max-width:1080px;margin:0 auto 40px;}
.tgh-menu .tgh-menu-highlights{margin:6px auto 34px;}
.tgh-menu .mh-card{color:#33302a;}
.tgh-menu .mh-card:hover,.tgh-menu .mh-card:focus-visible{background:rgba(185,134,59,.10);}
.tgh-menu .mh-group{color:#9a6f2c;}
.tgh-menu .mh-shot img{filter:drop-shadow(0 12px 14px rgba(60,40,10,.28));}
.mh-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:16px 8px;}
.mh-card{display:flex;flex-direction:column;align-items:center;text-align:center;
  background:none;border:0;padding:10px 6px 14px;cursor:pointer;color:#fff;border-radius:12px;
  transition:transform .22s ease,background .22s ease;font-family:"Roboto",arial,sans-serif;}
.mh-card:hover,.mh-card:focus-visible{transform:translateY(-6px);background:rgba(255,255,255,.07);outline:none;}
.mh-shot{display:flex;align-items:flex-end;justify-content:center;height:136px;width:100%;}
.mh-shot img{width:auto;height:auto;max-height:136px;max-width:100%;
  filter:drop-shadow(0 16px 18px rgba(0,0,0,.5));transition:transform .22s ease;}
.mh-card:hover .mh-shot img,.mh-card:focus-visible .mh-shot img{transform:scale(1.07);}
.mh-name{font-family:"Playfair Display",Georgia,serif;font-size:15.5px;margin-top:14px;}
.mh-group{font-size:10.5px;text-transform:uppercase;letter-spacing:.15em;color:#e2b877;margin-top:4px;}
/* Brief tint on the group you just jumped to. */
.menu-group{border-radius:8px;}
.mg-flash{animation:mgFlash 1.4s ease;}
@keyframes mgFlash{0%,100%{background:transparent;}18%{background:rgba(185,134,59,.16);}}
@media (max-width:768px){
  .mh-strip{grid-template-columns:repeat(2,1fr);gap:10px 6px;}
  .mh-shot{height:104px;} .mh-shot img{max-height:104px;}
  .mh-name{font-size:14px;margin-top:10px;} .tgh-menu-highlights{margin-bottom:28px;}
}

/* ---------- Trips & Tours cards: uniform image ratio (photos are CC0) ---------- */
.blog-post-entry .post .media-custom > a img{width:100%;aspect-ratio:3/2;object-fit:cover;display:block;border-radius:6px;}

/* ---------- Menu: dish photos as a compact rail beside the list ---------- */
.tgh-menu-split{display:flex;gap:36px;align-items:flex-start;}
.tgh-menu-split .tgh-menu-body{flex:1 1 auto;}
.tgh-menu .tgh-menu-highlights{flex:0 0 205px;margin:0;}
.tgh-menu .mh-strip{display:flex;flex-direction:column;gap:4px;}
.tgh-menu .mh-card{display:grid;grid-template-columns:62px 1fr;grid-template-rows:auto auto;column-gap:10px;align-items:center;text-align:left;padding:6px 8px;}
.tgh-menu .mh-card:hover,.tgh-menu .mh-card:focus-visible{transform:none;}
.tgh-menu .mh-shot{grid-row:1/3;height:52px;width:62px;align-items:center;}
.tgh-menu .mh-shot img{max-height:52px;}
.tgh-menu .mh-name{grid-column:2;font-size:13.5px;margin:0;align-self:end;line-height:1.2;}
.tgh-menu .mh-group{grid-column:2;margin-top:2px;font-size:9px;}
@media (max-width:991px){
  .tgh-menu-split{flex-direction:column-reverse;gap:0;}
  .tgh-menu .tgh-menu-highlights{width:100%;margin-bottom:16px;}
  .tgh-menu .mh-strip{flex-direction:row;overflow-x:auto;gap:8px;padding-bottom:6px;}
  .tgh-menu .mh-card{min-width:150px;}
}

/* ---------- Menu: inline dish thumbnail on the RIGHT (Nepali dishes only) ---------- */
.menu-item.has-photo{display:flex;align-items:center;gap:13px;}
.menu-item.has-photo .mi-text{flex:1 1 auto;min-width:0;}
.mi-thumb{flex:0 0 56px;width:56px;height:56px;object-fit:cover;border-radius:9px;margin-left:auto;
  box-shadow:0 4px 12px -4px rgba(60,40,10,.45);background:#fff;}

/* ---------- About: story timeline ---------- */
.tgh-timeline{list-style:none;max-width:940px;margin:0 auto;padding:0;position:relative;}
.tgh-timeline::before{content:"";position:absolute;left:50%;top:8px;bottom:8px;width:1px;
  background:linear-gradient(to bottom,transparent,#e2d5b8 12%,#e2d5b8 88%,transparent);transform:translateX(-.5px);}
.tl-item{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:46px;align-items:center;margin:0 0 58px;}
.tl-item:last-child{margin-bottom:0;}
.tl-item::after{content:"";position:absolute;left:50%;top:50%;width:13px;height:13px;border-radius:50%;
  background:var(--tgh-brass);border:3px solid #fff;box-shadow:0 0 0 3px rgba(176,138,70,.22);
  transform:translate(-50%,-50%);z-index:2;}
.tl-media{overflow:hidden;border-radius:12px;line-height:0;box-shadow:0 22px 46px -26px rgba(20,15,8,.6);}
.tl-media img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block;transition:transform .6s ease;}
.tl-item:hover .tl-media img{transform:scale(1.05);}
.tl-year{display:block;font-family:"Roboto",Arial,sans-serif;font-size:11.5px;font-weight:700;
  letter-spacing:.2em;text-transform:uppercase;color:var(--tgh-brass);margin-bottom:8px;}
.tl-title{font-family:"Playfair Display",Georgia,serif;font-size:24px;font-weight:600;
  color:var(--tgh-ink);margin:0 0 10px;line-height:1.2;}
.tl-text p{color:#6f685c;font-size:15px;line-height:1.7;margin:0;}
/* alternate sides */
.tl-item:nth-child(even) .tl-media{order:2;}
.tl-item:nth-child(even) .tl-text{order:1;text-align:right;}
@media (max-width:820px){
  .tgh-timeline::before{left:18px;}
  .tl-item{grid-template-columns:1fr;gap:16px;padding-left:48px;margin-bottom:40px;}
  .tl-item::after{left:18px;top:22px;}
  .tl-item:nth-child(even) .tl-media{order:0;}
  .tl-item:nth-child(even) .tl-text{order:0;text-align:left;}
}

/* --- footer: long unbreakable strings ------------------------------------
   The email address (and the plus-code address) are single long "words" that
   overflowed their col-md-3 below 992px, putting a horizontal scrollbar on
   every page. Let them wrap instead. */
.footer-section p{overflow-wrap:break-word;}
