.tgeps{--black:#0D0F10;--charcoal:#171216;--wine:#8F2D56;--pink:#8F2D56;--white:#F5F5F5;--tgeps-wine-text:#E7CBD5;font-family:Montserrat,system-ui,sans-serif!important;background:var(--black);color:var(--white);width:100%;min-height:60vh;position:relative;overflow:hidden}
.tgeps,.tgeps *,.tgeps *::before,.tgeps *::after{box-sizing:border-box}.tgeps h1,.tgeps h2,.tgeps h3,.tgeps p,.tgeps figure{margin:0}.tgeps a{color:inherit;text-decoration:none}.tgeps button,.tgeps input,.tgeps select{font-family:inherit}.tgeps img{max-width:100%;display:block}.tgeps-container{width:min(1280px,calc(100% - 48px));margin:0 auto}.tgeps-kicker{font-size:12px;color:var(--tgeps-wine-text,#E7CBD5);font-weight:700;letter-spacing:.21em;text-transform:uppercase}.tgeps-hero{padding:clamp(150px,15vw,230px) 0 65px;min-height:55vh;display:flex;align-items:center;background:radial-gradient(ellipse at 81% 36%,#8F2D5666,transparent 47%),linear-gradient(120deg,#0D0F10,#171216)}.tgeps-hero h1{font-size:clamp(58px,9vw,124px);font-weight:800;line-height:.99;letter-spacing:-.07em;margin:17px 0 25px}.tgeps-hero h1 em{font-style:normal;color:var(--tgeps-wine-text,#E7CBD5)}.tgeps-hero p:last-child{color:#F5F5F5bb;max-width:680px;line-height:1.8;font-size:clamp(15px,1.4vw,18px)}
.tgeps-filters{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;padding:26px;margin:0 0 28px;background:linear-gradient(110deg,#171216,#0D0F10);border:1px solid #F5F5F525;border-radius:16px;transform:translateY(-25px);box-shadow:0 20px 50px #0005}.tgeps-filters label{flex:1 1 180px;display:flex;flex-direction:column;gap:8px;min-width:0}.tgeps-filters label:first-child{flex:2 1 260px}.tgeps-filters label>span{font-size:11px;letter-spacing:.14em;color:var(--tgeps-wine-text,#E7CBD5);font-weight:700;text-transform:uppercase}.tgeps-filters input,.tgeps-filters select{height:45px;border:1px solid #F5F5F53a;border-radius:8px;background:#0D0F10;color:var(--white);padding:0 15px;min-width:0;font-size:14px}.tgeps-filters input:focus,.tgeps-filters select:focus{outline:2px solid var(--wine);outline-offset:2px}.tgeps-filters>button,.tgeps-clear{height:45px;border:0;border-radius:30px;white-space:nowrap;padding:0 21px;background:var(--wine);color:var(--white);font-weight:750;cursor:pointer;display:inline-flex;align-items:center;gap:14px;transition:transform .32s}.tgeps-filters>button:hover{transform:translateY(-3px)}.tgeps-clear{background:transparent;border:1px solid #F5F5F53a;color:var(--white)}.tgeps-result-count{font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#F5F5F590;margin:0 0 25px!important}.tgeps-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:34px 23px;padding:0 0 65px}.tgeps-card{display:block;min-width:0;transition:transform .55s cubic-bezier(.2,.8,.2,1)}.tgeps-card:hover{transform:translateY(-10px)}.tgeps-card-media{height:clamp(255px,25vw,390px);position:relative;overflow:hidden;border-radius:5px;background:var(--charcoal)}.tgeps-card-media:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#0D0F10b0,transparent 40%);pointer-events:none}.tgeps-card-media img{width:100%;height:100%;object-fit:cover;transition:transform 1.1s cubic-bezier(.15,.8,.2,1),filter 1.1s ease}.tgeps-card:hover .tgeps-card-media img{transform:scale(1.08);filter:saturate(1.07)}.tgeps-no-photo{display:flex;height:100%;justify-content:center;align-items:center;font-size:70px;font-weight:800;color:var(--tgeps-wine-text,#E7CBD5)}.tgeps-card-open{position:absolute;z-index:2;bottom:20px;right:20px;display:inline-flex;align-items:center;justify-content:center;padding:12px 15px;font-size:10px;font-weight:700;letter-spacing:.13em;background:var(--wine);color:var(--white);border-radius:30px;opacity:0;transform:translateY(15px);transition:opacity .5s,transform .5s}.tgeps-card:hover .tgeps-card-open,.tgeps-card:focus-visible .tgeps-card-open{opacity:1;transform:translateY(0)}.tgeps-card-meta{display:flex;justify-content:space-between;gap:12px;align-items:center;color:var(--tgeps-wine-text,#E7CBD5);margin:20px 0 11px;font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.tgeps-card-meta time{color:#F5F5F58f}.tgeps-card h2{font-size:clamp(21px,2.2vw,29px);line-height:1.22;letter-spacing:-.045em;font-weight:700;margin:0 0 10px}.tgeps-card>p{color:#F5F5F5a3;line-height:1.7;font-size:14px}.tgeps-no-results{padding:80px 0;color:#F5F5F5aa;text-align:center}.tgeps-pagination{display:flex;justify-content:center;align-items:center;gap:7px;padding:0 0 75px}.tgeps-pagination>*{display:grid;place-items:center;min-width:42px;min-height:42px;padding:5px;border:1px solid #F5F5F528;color:var(--white);border-radius:50%}.tgeps-pagination>.current{background:var(--wine);color:var(--white)}
.tgeps-single-hero{min-height:clamp(520px,69vh,760px);padding:160px 0 74px;display:flex;align-items:flex-end;position:relative;background:#171216}.tgeps-single-hero:before{content:'';position:absolute;inset:0;background-image:var(--tgeps-hero);background-position:center center;background-size:cover;filter:saturate(.85);animation:tgepsSlowZoom 18s ease-in-out infinite alternate}.tgeps-single-hero:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#0D0F10 2%,#0D0F10dd 34%,#0D0F1050 85%),linear-gradient(90deg,#171216cc,transparent 85%)}.tgeps-single-hero .tgeps-container{position:relative;z-index:2}.tgeps-back{display:inline-flex;align-items:center;font-size:13px;font-weight:700;color:var(--white);background:#0D0F107e;border:1px solid #F5F5F540;border-radius:30px;padding:11px 16px;margin-bottom:55px;transition:background .3s,transform .3s}.tgeps-back:hover{background:var(--pink);transform:translateX(-5px)}.tgeps-single-hero h1{font-weight:800;font-size:clamp(42px,6vw,94px);letter-spacing:-.055em;line-height:1.04;max-width:1000px;margin:14px 0 22px;text-wrap:balance}.tgeps-project-data{display:flex;flex-wrap:wrap;gap:13px;align-items:center}.tgeps-project-data>*{border:1px solid #F5F5F550;padding:9px 16px;border-radius:30px;font-size:12px;font-weight:650}.tgeps-project-data strong{border-color:var(--tgeps-wine-text,#E7CBD5);color:var(--tgeps-wine-text,#E7CBD5)}.tgeps-intro{display:flex;align-items:start;justify-content:space-between;gap:30px;padding:45px 0 65px;border-bottom:1px solid #F5F5F530}.tgeps-intro>div{font-size:clamp(17px,2vw,21px);line-height:1.85;max-width:830px;color:#F5F5F5da}.tgeps-intro>span{font-size:11px;letter-spacing:.15em;color:var(--tgeps-wine-text,#E7CBD5);font-weight:700;white-space:nowrap}.tgeps-video{padding:70px 0}.tgeps-video h2{font-size:clamp(27px,4vw,50px);font-weight:800;letter-spacing:-.045em;margin:15px 0 28px}.tgeps-video video,.tgeps-embed{display:block;width:100%;max-width:1040px;aspect-ratio:16/9;background:#000;border-radius:8px;overflow:hidden}.tgeps-embed iframe{display:block;width:100%;height:100%;border:0}.tgeps-video a{color:var(--tgeps-wine-text,#E7CBD5)}
.tgeps-gallery-section{padding:65px 0 90px}.tgeps-gallery-title{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:32px}.tgeps-gallery-title h2{font-size:clamp(36px,4vw,62px);font-weight:800;letter-spacing:-.06em;margin:14px 0 0;line-height:1.1}.tgeps-gallery-title h2 em{font-style:normal;color:var(--tgeps-wine-text,#E7CBD5)}.tgeps-gallery-title>p{font-size:13px;color:#F5F5F58e}.tgeps-masonry{columns:3;column-gap:14px}.tgeps-photo{break-inside:avoid;position:relative;margin:0 0 14px!important;overflow:hidden;cursor:zoom-in;border-radius:4px;box-shadow:0 14px 30px #0003;transform:translateZ(0);transition:transform .7s cubic-bezier(.2,.76,.21,1),box-shadow .7s ease}.tgeps-photo:hover{transform:translateY(-10px) scale(1.012);box-shadow:0 30px 55px #0009;z-index:3}.tgeps-photo img{width:100%;height:auto;display:block;object-fit:cover;transition:transform 1s cubic-bezier(.2,.76,.21,1),filter 1s ease;user-select:none;-webkit-user-drag:none}.tgeps-photo:hover img{transform:scale(1.055);filter:brightness(.96) saturate(1.06)}.tgeps-zoom{position:absolute;bottom:15px;right:15px;min-width:40px;height:40px;border:1px solid #F5F5F5aa;border-radius:50%;color:var(--black);background:var(--wine);font-size:24px;opacity:0;transform:translateY(10px);transition:opacity .3s,transform .3s;cursor:zoom-in}.tgeps-photo:hover .tgeps-zoom,.tgeps-photo:focus-visible .tgeps-zoom{opacity:1;transform:translateY(0)}.tgeps-hidden{display:none!important}.tgeps-more-wrap{text-align:center;margin:48px 0 0}.tgeps-more{border:1px solid var(--wine);color:var(--white);background:var(--wine);border-radius:40px;font-size:12px;letter-spacing:.09em;text-transform:uppercase;font-weight:800;padding:17px 26px;cursor:pointer;transition:transform .3s}.tgeps-more:hover{transform:translateY(-4px)}.tgeps-end{text-align:center;padding:65px 20px 85px;border-top:1px solid #F5F5F526}.tgeps-end>p:first-child{color:var(--tgeps-wine-text,#E7CBD5);font-size:11px;letter-spacing:.14em;font-weight:700;text-transform:uppercase}.tgeps-end h2{font-size:clamp(29px,4vw,53px);line-height:1.1;letter-spacing:-.04em;margin:16px 0}.tgeps-end>p:nth-last-of-type(1){color:#F5F5F5ab;line-height:1.6}.tgeps-end a{display:inline-block;margin-top:25px;padding:15px 25px;border-radius:35px;background:var(--wine);color:var(--white);font-size:12px;font-weight:800;letter-spacing:.12em;transition:transform .25s}.tgeps-end a:hover{transform:translateY(-4px)}
.tgeps [data-tge-reveal]{opacity:1;transition:opacity .85s,translate .9s cubic-bezier(.2,.8,.2,1)}.tgeps.tgeps-ready [data-tge-reveal]:not(.is-visible){opacity:0;translate:0 25px}.tgeps [data-tge-reveal].is-visible{opacity:1;translate:0 0}@keyframes tgepsSlowZoom{from{transform:scale(1)}to{transform:scale(1.065)}}
.tgeps-lightbox{position:fixed;inset:0;z-index:2147483000;visibility:hidden;opacity:0;pointer-events:none;transition:opacity .26s,visibility .26s}.tgeps-lightbox.is-open{visibility:visible;opacity:1;pointer-events:auto}.tgeps-lightbox-backdrop{position:absolute;inset:0;background:#0D0F10ed;backdrop-filter:blur(15px)}.tgeps-lightbox-inner{position:relative;width:min(1450px,97vw);height:100vh;height:100dvh;margin:auto;display:flex;align-items:center;justify-content:center;padding:54px 66px 56px}.tgeps-lightbox-inner>img{width:auto;max-width:100%;height:auto;max-height:calc(100vh - 115px);max-height:calc(100dvh - 115px);object-fit:contain;box-shadow:0 30px 80px #0008}.tgeps-lightbox button{cursor:pointer;position:absolute;display:grid;place-items:center;border:1px solid #F5F5F54d;border-radius:50%;background:#171216;color:var(--white,#F5F5F5);transition:transform .2s,background .2s;z-index:2}.tgeps-lightbox button:hover{transform:scale(1.08);background:#8F2D56}.tgeps-lb-close{width:50px;height:50px;right:12px;top:13px;font-size:30px}.tgeps-lb-prev,.tgeps-lb-next{width:49px;height:49px;top:50%;transform:translateY(-50%);font-size:31px}.tgeps-lb-prev:hover,.tgeps-lb-next:hover{transform:translateY(-50%) scale(1.07)}.tgeps-lb-prev{left:5px}.tgeps-lb-next{right:5px}.tgeps-lb-count{position:absolute;bottom:20px;left:50%;translate:-50% 0;font-size:11px;letter-spacing:.18em;color:#F5F5F5b0}.tgeps-lock-scroll{overflow:hidden!important}
@media(max-width:1000px){.tgeps-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.tgeps-masonry{columns:2}.tgeps-hero{padding-top:155px}.tgeps-intro{flex-wrap:wrap}}
@media(max-width:650px){.tgeps-container{width:min(100% - 30px,1280px)}.tgeps-hero{padding:140px 0 55px}.tgeps-hero h1{font-size:clamp(48px,13vw,78px)}.tgeps-filters{padding:19px}.tgeps-filters label{flex:1 1 100%}.tgeps-cards{grid-template-columns:1fr;gap:36px}.tgeps-card-media{height:350px}.tgeps-single-hero{min-height:490px;padding:145px 0 60px}.tgeps-back{margin-bottom:38px}.tgeps-intro{padding:30px 0 43px}.tgeps-masonry{column-gap:9px}.tgeps-photo{margin-bottom:9px!important}.tgeps-gallery-title{display:block}.tgeps-gallery-title>p{margin-top:14px}.tgeps-gallery-section{padding:48px 0}.tgeps-lightbox-inner{padding:60px 20px 78px}.tgeps-lightbox-inner>img{max-height:calc(100dvh - 165px)}.tgeps-lb-prev,.tgeps-lb-next{top:auto;bottom:16px;transform:none}.tgeps-lb-prev:hover,.tgeps-lb-next:hover{transform:scale(1.04)}.tgeps-lb-count{bottom:33px}.tgeps-project-data>*{font-size:11px}}
@media(prefers-reduced-motion:reduce){.tgeps *{animation-duration:0.01ms!important;transition-duration:.01ms!important}.tgeps [data-tge-reveal]{opacity:1!important;translate:none!important}}

/* v1.1.0 multi-template + menu overlay refinements */
.tgeps--single{--tgeps-menu-space:180px;position:relative;margin-top:calc(var(--tgeps-menu-space) * -1);padding-top:0}
.admin-bar .tgeps--single{--tgeps-menu-space:212px}
.tgeps-single-hero{overflow:hidden;padding-top:calc(var(--tgeps-menu-space) + 26px);padding-bottom:84px;margin-bottom:0;border:0}
.tgeps-single-hero:after{background:linear-gradient(0deg,#0D0F10 0%,#0D0F10f0 16%,#0D0F10da 33%,#0D0F1096 66%,#0D0F1038 100%),linear-gradient(90deg,#07080dcc 0%,#07080d7d 38%,#07080d14 88%)}
.tgeps-single-hero .tgeps-container{padding-top:24px}
.tgeps-intro{padding-top:38px;margin-top:0;border-top:0}
.tgeps-project-data span:last-child{border-color:#F5F5F530;background:#0D0F1060}

/* visual templates */
.tgeps--template-editorial-wedding .tgeps-single-hero:before{filter:saturate(.95) brightness(1.02);animation:tgepsSlowZoom 22s ease-in-out infinite alternate}
.tgeps--template-editorial-wedding .tgeps-single-hero:after{background:linear-gradient(0deg,#0D0F10 0%,#0D0F10dd 16%,#0D0F10a6 38%,#0D0F1054 68%,rgba(13,15,16,.18) 100%),linear-gradient(90deg,rgba(13,15,16,.92) 0%,rgba(13,15,16,.62) 34%,rgba(13,15,16,.08) 90%),radial-gradient(circle at 82% 22%,rgba(143,45,86,.16),transparent 24%),radial-gradient(circle at 68% 34%,rgba(143,45,86,.18),transparent 28%)}
.tgeps--template-editorial-wedding .tgeps-single-hero h1{max-width:780px;font-size:clamp(42px,5.6vw,86px);line-height:1.02}
.tgeps--template-editorial-wedding .tgeps-intro{background:linear-gradient(135deg,rgba(245,245,245,.035),rgba(143,45,86,.09));border:1px solid rgba(245,245,245,.08);border-radius:26px;padding:34px;backdrop-filter:blur(10px);margin-top:34px}
.tgeps--template-editorial-wedding .tgeps-gallery-title h2 em,.tgeps--template-editorial-wedding .tgeps-end>p:first-child{color:var(--pink)}
.tgeps--template-editorial-wedding .tgeps-photo,.tgeps--template-editorial-wedding .tgeps-video video,.tgeps--template-editorial-wedding .tgeps-embed{border-radius:20px}
.tgeps--template-editorial-wedding .tgeps-photo:hover{transform:translateY(-12px) scale(1.018)}

.tgeps--template-dynamic-mosaic .tgeps-single-hero{min-height:clamp(560px,74vh,840px)}
.tgeps--template-dynamic-mosaic .tgeps-project-data>*{background:rgba(23,18,22,.42)}
.tgeps--template-dynamic-mosaic .tgeps-masonry{columns:4;column-gap:16px}
.tgeps--template-dynamic-mosaic .tgeps-photo{border-radius:18px}
.tgeps--template-dynamic-mosaic .tgeps-photo:nth-child(4n+2){transform:translateY(18px)}
.tgeps--template-dynamic-mosaic .tgeps-photo:nth-child(5n+3){transform:translateY(-8px)}
.tgeps--template-dynamic-mosaic .tgeps-photo:hover{transform:translateY(-12px) scale(1.02)!important}
.tgeps--template-dynamic-mosaic .tgeps-gallery-title{align-items:center}
.tgeps--template-dynamic-mosaic .tgeps-gallery-title>p{padding:12px 16px;border-radius:999px;border:1px solid rgba(245,245,245,.16);background:rgba(23,18,22,.4)}

.tgeps--template-minimal-story .tgeps-single-hero{min-height:clamp(420px,58vh,620px);padding-bottom:52px}
.tgeps--template-minimal-story .tgeps-single-hero:after{background:linear-gradient(0deg,#0D0F10 0%,#0D0F10f2 20%,#0D0F10bc 52%,rgba(13,15,16,.3) 100%),linear-gradient(90deg,rgba(13,15,16,.88),rgba(13,15,16,.24) 75%)}
.tgeps--template-minimal-story .tgeps-single-hero h1{font-size:clamp(36px,4.6vw,72px);max-width:740px}
.tgeps--template-minimal-story .tgeps-intro{display:block;padding:26px 0 44px}
.tgeps--template-minimal-story .tgeps-intro>span{display:inline-block;margin-top:18px}
.tgeps--template-minimal-story .tgeps-gallery-title{display:block}
.tgeps--template-minimal-story .tgeps-gallery-title>p{margin-top:12px}
.tgeps--template-minimal-story .tgeps-masonry{columns:2;column-gap:18px}
.tgeps--template-minimal-story .tgeps-photo{border-radius:10px}

.tgeps--template-cinematic-dark .tgeps-single-hero:before{animation:tgepsSlowZoom 18s ease-in-out infinite alternate}

@media(max-width:1100px){
  .tgeps--template-dynamic-mosaic .tgeps-masonry{columns:3}
}
@media(max-width:650px){
  .tgeps--single{--tgeps-menu-space:126px}
  .admin-bar .tgeps--single{--tgeps-menu-space:158px}
  .tgeps-single-hero{padding-top:calc(var(--tgeps-menu-space) + 18px);padding-bottom:60px}
  .tgeps--template-editorial-wedding .tgeps-intro{padding:24px}
  .tgeps--template-dynamic-mosaic .tgeps-masonry,
  .tgeps--template-minimal-story .tgeps-masonry{columns:2}
}

/* v1.3.1 — Match the existing TGE Private Gallery / Portfolio lightbox controls.
   Buttons are anchored to the viewport, not to the centered photo stage.
   High-specificity rules protect against inherited WordPress/theme button styles. */
body > .tgeps-lightbox .tgeps-lb-close,
body > .tgeps-lightbox .tgeps-lb-prev,
body > .tgeps-lightbox .tgeps-lb-next {
  -webkit-appearance:none!important;
  appearance:none!important;
  position:fixed!important;
  z-index:12!important;
  display:grid!important;
  place-items:center!important;
  width:40px!important;
  height:40px!important;
  min-width:0!important;
  min-height:0!important;
  max-width:none!important;
  max-height:none!important;
  padding:0!important;
  margin:0!important;
  border:1px solid #8F2D56!important;
  border-radius:2px!important;
  color:#f1d6e2!important;
  background:transparent!important;
  box-shadow:none!important;
  font:400 18px/1 Arial,sans-serif!important;
  text-align:center!important;
  text-transform:none!important;
  letter-spacing:0!important;
  cursor:pointer!important;
  transition:background-color .2s ease,color .2s ease,border-color .2s ease!important;
}
body > .tgeps-lightbox .tgeps-lb-close {
  top:max(10px,env(safe-area-inset-top))!important;
  right:max(12px,env(safe-area-inset-right))!important;
  bottom:auto!important;
  left:auto!important;
  transform:none!important;
  background:#8F2D56!important;
  color:#fff!important;
  font-size:19px!important;
}
body > .tgeps-lightbox .tgeps-lb-prev,
body > .tgeps-lightbox .tgeps-lb-next {
  top:50%!important;
  bottom:auto!important;
  transform:translateY(-50%)!important;
}
body > .tgeps-lightbox .tgeps-lb-prev {
  left:12px!important;
  right:auto!important;
}
body > .tgeps-lightbox .tgeps-lb-next {
  right:12px!important;
  left:auto!important;
}
body > .tgeps-lightbox .tgeps-lb-close:hover,
body > .tgeps-lightbox .tgeps-lb-prev:hover,
body > .tgeps-lightbox .tgeps-lb-next:hover {
  transform:none!important;
  background:#8F2D56!important;
  color:#fff!important;
}
body > .tgeps-lightbox .tgeps-lb-prev:hover,
body > .tgeps-lightbox .tgeps-lb-next:hover {
  transform:translateY(-50%)!important;
}
body > .tgeps-lightbox .tgeps-lb-close:focus-visible,
body > .tgeps-lightbox .tgeps-lb-prev:focus-visible,
body > .tgeps-lightbox .tgeps-lb-next:focus-visible {
  outline:2px solid #fff!important;
  outline-offset:4px!important;
}
@media(max-width:767px) {
  body > .tgeps-lightbox .tgeps-lb-prev,
  body > .tgeps-lightbox .tgeps-lb-next {
    width:34px!important;
    height:38px!important;
    font-size:17px!important;
  }
  body > .tgeps-lightbox .tgeps-lb-prev {left:4px!important;}
  body > .tgeps-lightbox .tgeps-lb-next {right:4px!important;}
}

/* v1.3.2 — restrained wedding/editorial palette. Burgundy CTAs, readable whites.
   All selectors scoped to TGE Projects; the main site header is unaffected. */
.tgeps .tgeps-filters>button,
.tgeps .tgeps-card-open,
.tgeps .tgeps-pagination>.current,
.tgeps .tgeps-zoom,
.tgeps .tgeps-more,
.tgeps .tgeps-end a{
  background:#8F2D56;
  border-color:#8F2D56;
  color:#F5F5F5;
}
.tgeps .tgeps-filters>button:hover,
.tgeps .tgeps-card-open:hover,
.tgeps .tgeps-more:hover,
.tgeps .tgeps-end a:hover{background:#AC4770;color:#fff}
.tgeps :is(a,button,input,select):focus-visible{outline:2px solid #E7CBD5;outline-offset:3px}
.tgeps .tgeps-hero h1 em,
.tgeps .tgeps-gallery-title h2 em{
  color:#F5F5F5;
  text-decoration:underline;
  text-decoration-color:#8F2D56;
  text-decoration-thickness:.065em;
  text-underline-offset:.14em;
}
.tgeps .tgeps-card-meta,
.tgeps .tgeps-kicker,
.tgeps .tgeps-intro>span,
.tgeps .tgeps-end>p:first-child{
  color:var(--tgeps-wine-text,#E7CBD5);
}
.tgeps .tgeps-project-data strong{border-color:#8F2D56;color:var(--tgeps-wine-text,#E7CBD5)}

/* v1.4.4 — Sport-only optional team pairing, subordinate to project title. */
.tgeps .tgeps-match-teams{display:flex;align-items:baseline;flex-wrap:wrap;column-gap:.36em;row-gap:.1em;max-width:1000px;margin:0 0 clamp(23px,3.2vw,38px)!important;color:#f5f5f5;font-family:Montserrat,system-ui,sans-serif;font-size:clamp(22px,2.6vw,41px);font-weight:650;line-height:1.28;letter-spacing:-.035em;text-shadow:0 2px 14px rgba(0,0,0,.26);text-transform:none}
.tgeps .tgeps-match-teams b{color:#e7cbd5;font-size:.58em;font-weight:800;letter-spacing:.09em;align-self:center;padding:0 .18em}
.tgeps .tgeps-card-teams{margin:0 0 12px!important;font-size:clamp(13px,1.15vw,16px);font-weight:650;line-height:1.42;color:#E7CBD5;letter-spacing:-.01em;overflow-wrap:anywhere}
.tgeps .tgeps-card-teams b{font-weight:800;font-size:.8em;color:#f5f5f5;padding:0 .25em}
@media(max-width:767px){.tgeps .tgeps-match-teams{font-size:clamp(19px,5.8vw,29px);margin-bottom:22px!important;max-width:100%}}

/* v1.4.5 — Score displayed between teams on Sport matches (not a second badge). */
.tgeps .tgeps-match-teams.tgeps-match-line--scored{
  align-items:center;column-gap:clamp(10px,1.25vw,20px);row-gap:12px;
  max-width:100%;font-size:clamp(22px,2.55vw,40px);
}
.tgeps .tgeps-match-teams .tgeps-match-team{min-width:0;overflow-wrap:break-word}
.tgeps .tgeps-match-teams .tgeps-match-score{
  display:inline-flex;align-items:center;justify-content:center;flex:none;
  border:1px solid rgba(231,203,213,.8);border-radius:999px;
  background:rgba(143,45,86,.22);color:#f1dce5;
  padding:9px clamp(12px,1.15vw,19px);font-family:Montserrat,system-ui,sans-serif;
  font-size:clamp(16px,1.5vw,23px);font-weight:800;line-height:1.1;
  letter-spacing:-.02em;white-space:nowrap;text-shadow:none;
}
.tgeps .tgeps-card-teams.tgeps-match-line--scored{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.tgeps .tgeps-card-teams .tgeps-match-score{
  display:inline-flex;align-items:center;justify-content:center;flex:none;
  font-size:.84em;line-height:1.2;font-weight:800;
  padding:2px 7px;border:1px solid rgba(231,203,213,.6);
  border-radius:999px;background:rgba(143,45,86,.18);
  color:#E7CBD5;white-space:nowrap;
}
@media(max-width:767px){
  .tgeps .tgeps-match-teams.tgeps-match-line--scored{
    display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
    gap:clamp(8px,2vw,14px);width:100%;font-size:clamp(15px,4.25vw,27px);
  }
  .tgeps .tgeps-match-teams.tgeps-match-line--scored .tgeps-match-team--a{text-align:right}
  .tgeps .tgeps-match-teams.tgeps-match-line--scored .tgeps-match-team--b{text-align:left}
  .tgeps .tgeps-match-teams .tgeps-match-score{font-size:clamp(13px,3.6vw,19px);padding:7px 9px}
}

/* v1.4.6 — Load More without column rebalancing.
   Each 24-photo batch is its own multi-column layout. Previously displayed
   batches are never repositioned when the next batch becomes visible. */
.tgeps .tgeps-photo-stream{display:block;width:100%;min-width:0}
.tgeps .tgeps-masonry-batch{width:100%;min-width:0}
.tgeps .tgeps-masonry-batch + .tgeps-masonry-batch{margin-top:14px}
.tgeps .tgeps-masonry-batch .tgeps-photo img{aspect-ratio:auto}
@media(max-width:650px){.tgeps .tgeps-masonry-batch + .tgeps-masonry-batch{margin-top:9px}}

/* v1.4.7 — Videos above photography, one hero player then responsive supporting players. */
.tgeps--single .tgeps-video-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;align-items:start}
.tgeps--single .tgeps-video-item{min-width:0}
.tgeps--single .tgeps-video-item:first-child{grid-column:1/-1}
.tgeps--single .tgeps-video-item h3{font-size:clamp(16px,1.6vw,23px);font-weight:700;line-height:1.35;margin:0 0 12px;color:#f5f5f5}
.tgeps--single .tgeps-video-item video,.tgeps--single .tgeps-video-item .tgeps-embed{width:100%;max-width:none;aspect-ratio:16/9;border:1px solid #ffffff19;border-radius:14px;overflow:hidden;background:#050505;display:block;object-fit:contain}
.tgeps--single .tgeps-video-item .tgeps-embed iframe{width:100%;height:100%;display:block}
.tgeps--single .tgeps-video-item--featured video,.tgeps--single .tgeps-video-item--featured .tgeps-embed{max-width:1120px}
@media(max-width:760px){.tgeps--single .tgeps-video-list{grid-template-columns:1fr;gap:24px}.tgeps--single .tgeps-video-item:first-child{grid-column:auto}}


/* v1.4.9 — Cinematic video mosaic. Match the photo gallery's edge-to-edge tiles,
   preserve native portrait/landscape ratios (no forced 16:9 letterboxing), and
   never enlarge the first clip independently from the rest of the collection. */
.tgeps--single .tgeps-video-gallery{padding:65px 0 55px;}
.tgeps--single .tgeps-video-gallery .tgeps-video-gallery-title{margin-bottom:32px;}
.tgeps--single .tgeps-video-gallery .tgeps-video-gallery-title h2{margin:14px 0 0;letter-spacing:-.06em;line-height:1.1;font-size:clamp(36px,4vw,62px);}
.tgeps--single .tgeps-video-gallery .tgeps-video-gallery-title h2 em{font-style:normal;color:var(--tgeps-wine-text,#E7CBD5);}
.tgeps--single .tgeps-video-mosaic{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:14px;align-items:start;grid-auto-flow:row;}
.tgeps--single .tgeps-video-mosaic .tgeps-video-tile{position:relative;grid-column:span 6;min-width:0;margin:0!important;overflow:hidden;border-radius:4px;box-shadow:0 14px 30px #0003;transform:translateZ(0);transition:transform .6s cubic-bezier(.2,.76,.21,1),box-shadow .6s ease;background:#090909;}
.tgeps--single .tgeps-video-mosaic .tgeps-video-tile:hover{transform:translateY(-5px);box-shadow:0 25px 46px #0007;z-index:2;}
.tgeps--single .tgeps-video-mosaic .tgeps-video-frame{position:relative;display:block;width:100%;min-width:0;overflow:hidden;line-height:0;background:#090909;}
.tgeps--single .tgeps-video-mosaic .tgeps-video-frame>video{display:block;width:100%!important;max-width:none!important;height:auto!important;min-height:0!important;aspect-ratio:auto!important;object-fit:contain!important;background:#090909;border:0!important;border-radius:0!important;margin:0!important;}
.tgeps--single .tgeps-video-mosaic .tgeps-video-frame>.tgeps-embed{display:block;width:100%!important;max-width:none!important;height:auto!important;aspect-ratio:16/9!important;overflow:hidden;background:#090909;border:0!important;border-radius:0!important;margin:0!important;}
.tgeps--single .tgeps-video-mosaic .tgeps-video-frame>.tgeps-embed iframe{width:100%!important;height:100%!important;border:0!important;display:block;}
.tgeps--single .tgeps-video-mosaic .tgeps-video-caption{position:absolute;left:12px;top:12px;right:12px;z-index:1;display:flex;justify-content:flex-start;pointer-events:none;line-height:1.3;}
.tgeps--single .tgeps-video-mosaic .tgeps-video-caption span{display:inline-block;max-width:100%;padding:8px 12px;border-radius:999px;background:rgba(13,15,16,.75);border:1px solid rgba(245,245,245,.24);color:#F5F5F5;font-family:Montserrat,Arial,sans-serif;font-weight:700;font-size:clamp(11px,1vw,14px);overflow-wrap:anywhere;backdrop-filter:blur(8px);}
.tgeps--single .tgeps-video-gallery + .tgeps-gallery-section{padding-top:48px;}
/* Keep tile corners visually consistent with each project's photo style. */
.tgeps--template-editorial-wedding .tgeps-video-mosaic .tgeps-video-tile{border-radius:20px;}
@media(max-width:760px){
  .tgeps--single .tgeps-video-mosaic{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}
  .tgeps--single .tgeps-video-mosaic .tgeps-video-tile{grid-column:auto!important;}
  .tgeps--single .tgeps-video-mosaic .tgeps-video-tile[data-video-orientation="landscape"],
  .tgeps--single .tgeps-video-mosaic .tgeps-video-tile[data-video-orientation="square"]{grid-column:1/-1!important;}
  .tgeps--single .tgeps-video-gallery{padding:48px 0 35px;}
  .tgeps--single .tgeps-video-mosaic .tgeps-video-caption{left:8px;top:8px;right:8px;}
  .tgeps--single .tgeps-video-mosaic .tgeps-video-caption span{padding:6px 9px;font-size:11px;}
}
@media(max-width:440px){
  /* Two upright films can sit alongside each other, like portrait photos. */
  .tgeps--single .tgeps-video-mosaic{gap:8px;}
  .tgeps--single .tgeps-video-mosaic .tgeps-video-tile:not([data-video-orientation="portrait"]){grid-column:1/-1!important;}
}
@media(prefers-reduced-motion:reduce){.tgeps--single .tgeps-video-mosaic .tgeps-video-tile{transition:none!important;}}
