
.teroubi-festival-page{
  --teroubi-green:#809f6c;
  --teroubi-orange:#e69e45;
  --teroubi-red:#ca411e;
  --teroubi-ink:#1e211d;
  --teroubi-muted:#697068;
  --teroubi-cream:#f8f2e9;
  --teroubi-white:#fff;
  --teroubi-line:rgba(30,33,29,.12);
  --teroubi-shadow:0 24px 65px rgba(31,39,31,.14);
  color:var(--teroubi-ink);
  background:#fffdf9;
}
.teroubi-festival-page *{box-sizing:border-box}
.teroubi-festival-page .alignfull{width:100%}
.teroubi-hero{position:relative}
.teroubi-hero .wp-block-cover__background{
  background:linear-gradient(90deg,rgba(15,18,15,.84),rgba(15,18,15,.28) 60%,rgba(15,18,15,.08))!important;
}
.teroubi-hero-inner{padding-top:170px;padding-bottom:95px}
.teroubi-eyebrow{
  display:inline-block;
  padding:10px 15px;
  border:1px solid rgba(255,255,255,.28);
  border-radius:999px;
  background:rgba(255,255,255,.12);
  color:#fff;
  font-size:.8rem;
  font-weight:900;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.teroubi-hero-title{
  max-width:900px;
  margin:24px 0 18px!important;
  color:#fff;
  font-size:clamp(4rem,8.2vw,8rem)!important;
  line-height:.87!important;
  letter-spacing:-.06em;
}
.teroubi-hero-copy{
  max-width:720px;
  color:rgba(255,255,255,.86);
  font-size:clamp(1.05rem,2vw,1.28rem);
  line-height:1.65;
}
.teroubi-buttons{margin-top:28px}
.teroubi-button .wp-block-button__link{
  min-height:52px;
  display:inline-flex;
  align-items:center;
  padding:0 22px;
  border-radius:999px;
  font-weight:900;
}
.teroubi-button-orange .wp-block-button__link{background:var(--teroubi-orange);color:#fff}
.teroubi-button-white .wp-block-button__link{background:#fff;color:var(--teroubi-ink)}
.teroubi-sticky-nav{
  position:sticky;
  top:0;
  z-index:40;
  padding:8px 16px;
  border-bottom:1px solid var(--teroubi-line);
  background:rgba(255,253,249,.92);
  backdrop-filter:blur(18px);
}
.teroubi-nav-buttons .wp-block-button__link{
  border:none!important;
  padding:10px 14px;
  color:var(--teroubi-ink)!important;
  font-size:.9rem;
  font-weight:800;
}
.teroubi-nav-buttons .wp-block-button__link:hover{
  background:var(--teroubi-cream);
  color:var(--teroubi-red)!important;
}
.teroubi-section{padding-top:100px!important;padding-bottom:100px!important}
.teroubi-kicker{
  color:var(--teroubi-red);
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.15em;
  text-transform:uppercase;
}
.teroubi-section-title{
  margin-top:10px!important;
  font-size:clamp(2.4rem,5vw,5rem)!important;
  line-height:.96!important;
  letter-spacing:-.05em;
}
.teroubi-body-copy{
  color:var(--teroubi-muted);
  font-size:1.06rem;
  line-height:1.8;
}
.teroubi-intro-program-columns{gap:42px}
.teroubi-intro-card{
  padding:52px;
  border-radius:38px;
  background:var(--teroubi-cream);
  box-shadow:0 18px 50px rgba(30,40,31,.08);
}
.teroubi-facts{gap:12px;margin-top:32px}
.teroubi-fact{
  padding:16px;
  border:1px solid var(--teroubi-line);
  border-radius:18px;
  background:#fff;
}
.teroubi-fact h3{margin:0;color:var(--teroubi-green);font-size:1.15rem}
.teroubi-fact p{margin:5px 0 0;color:var(--teroubi-muted);font-size:.84rem}
.teroubi-program-card{
  margin-left:-20px;
  padding:18px;
  border:1px solid var(--teroubi-line);
  border-radius:34px;
  background:#fff;
  box-shadow:var(--teroubi-shadow);
  transform:rotate(1deg);
}
.teroubi-program-image img{
  width:100%;
  max-height:680px;
  object-fit:contain;
  border-radius:22px;
}
.teroubi-program-image figcaption{
  padding:8px 8px 2px;
  color:var(--teroubi-muted);
  font-size:.85rem;
}
.teroubi-artists-section{
  background:linear-gradient(180deg,#fff,#f8f2e9);
}
.teroubi-day-heading{
  margin-top:65px!important;
  margin-bottom:18px!important;
  font-size:clamp(2rem,4vw,3.8rem)!important;
  letter-spacing:-.04em;
}
.teroubi-day-heading-second{margin-top:85px!important}
.teroubi-poster-wall{
  display:grid!important;
  grid-template-columns:175px repeat(4,minmax(0,1fr));
  gap:0!important;
  overflow:hidden;
  border:1px solid var(--teroubi-line);
  border-radius:34px;
  background:#fff;
  box-shadow:var(--teroubi-shadow);
}
.teroubi-poster-wall-right{
  grid-template-columns:repeat(4,minmax(0,1fr)) 175px;
}
.teroubi-date-panel{
  min-height:100%;
  padding:28px 22px;
  display:flex!important;
  flex-direction:column;
  justify-content:space-between;
  color:#fff;
}
.teroubi-date-panel p{
  margin:0;
  color:#fff;
  font-weight:900;
  letter-spacing:.08em;
}
.teroubi-date-panel h3{
  margin:auto 0 8px!important;
  color:#fff;
  font-size:4.5rem!important;
  line-height:.86!important;
}
.teroubi-date-green{background:var(--teroubi-green)}
.teroubi-date-red{background:var(--teroubi-red)}
.teroubi-date-orange{background:var(--teroubi-orange)}
.teroubi-poster{
  position:relative;
  margin:0!important;
  overflow:hidden;
  border-left:1px solid rgba(255,255,255,.45);
  background:#222;
}
.teroubi-poster-wall-right .teroubi-poster{
  border-left:0;
  border-right:1px solid rgba(255,255,255,.45);
}
.teroubi-poster img{
  width:100%;
  height:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  transition:transform .4s ease,filter .4s ease;
}
.teroubi-poster figcaption{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  margin:0;
  padding:45px 15px 16px;
  color:#fff;
  font-size:.86rem;
  font-weight:900;
  background:linear-gradient(180deg,transparent,rgba(12,14,12,.93));
  transform:translateY(38px);
  transition:transform .32s ease;
}
.teroubi-poster:hover img{transform:scale(1.055);filter:brightness(.78)}
.teroubi-poster:hover figcaption{transform:translateY(0)}
.teroubi-activities-section{position:relative}
.teroubi-activities-section:before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:9px;
  background:linear-gradient(90deg,var(--teroubi-green) 0 33.333%,var(--teroubi-orange) 33.333% 66.666%,var(--teroubi-red) 66.666%);
}
.teroubi-practical-section{
  color:#fff;
  background:var(--teroubi-ink);
}
.teroubi-practical-section .teroubi-kicker{color:var(--teroubi-orange)}
.teroubi-practical-grid{
  display:grid!important;
  grid-template-columns:1.25fr .75fr;
  grid-template-areas:
    "festival hours"
    "festival transport"
    "parking parking";
  gap:18px!important;
  margin-top:40px;
}
.teroubi-practical-card{
  overflow:hidden;
  padding:28px;
  border-radius:30px;
  color:var(--teroubi-ink);
  background:#fff;
}
.teroubi-practical-card h3{margin-top:0}
.teroubi-practical-festival{grid-area:festival;padding:0}
.teroubi-practical-festival h3,
.teroubi-practical-festival p{margin-left:28px;margin-right:28px}
.teroubi-practical-festival p{margin-bottom:28px}
.teroubi-hours{grid-area:hours;background:var(--teroubi-orange);color:#fff}
.teroubi-transport{grid-area:transport;background:var(--teroubi-green);color:#fff}
.teroubi-parking{grid-area:parking}
.teroubi-map{margin:0!important}
.teroubi-map img{width:100%;min-height:280px;object-fit:cover}
.teroubi-sponsors-section{text-align:center}
.teroubi-sponsor-window{
  overflow:hidden;
  margin-top:38px;
  mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
}
.teroubi-sponsor-track{
  width:max-content;
  gap:20px!important;
  animation:teroubi-scroll 28s linear infinite;
}
.teroubi-sponsor-window:hover .teroubi-sponsor-track{animation-play-state:paused}
.teroubi-sponsor-logo{
  flex:0 0 220px;
  width:220px;
  height:115px;
  margin:0!important;
  display:grid;
  place-items:center;
  padding:22px;
  border:1px solid var(--teroubi-line);
  border-radius:22px;
  background:#fff;
  box-shadow:0 10px 28px rgba(20,28,21,.07);
}
.teroubi-sponsor-logo img{
  width:100%;
  height:68px;
  object-fit:contain;
}
@keyframes teroubi-scroll{
  to{transform:translateX(calc(-50% - 10px))}
}
@media(max-width:1050px){
  .teroubi-intro-program-columns{flex-wrap:wrap!important}
  .teroubi-intro-card,
  .teroubi-program-card{flex-basis:100%!important}
  .teroubi-program-card{margin-left:0;transform:none}
  .teroubi-poster-wall,
  .teroubi-poster-wall-right{
    grid-template-columns:150px repeat(2,minmax(0,1fr));
  }
  .teroubi-poster-wall-right{
    grid-template-columns:repeat(2,minmax(0,1fr)) 150px;
  }
  .teroubi-date-panel{grid-row:span 2}
  .teroubi-poster-wall-right .teroubi-date-panel{grid-column:3;grid-row:1/span 2}
  .teroubi-practical-grid{
    grid-template-columns:1fr;
    grid-template-areas:"festival" "hours" "transport" "parking";
  }
}
@media(max-width:680px){
  .teroubi-hero-inner{padding-top:115px;padding-bottom:75px}
  .teroubi-section{padding-top:72px!important;padding-bottom:72px!important}
  .teroubi-intro-card{padding:28px}
  .teroubi-facts{grid-template-columns:1fr!important}
  .teroubi-poster-wall,
  .teroubi-poster-wall-right{
    grid-template-columns:repeat(2,minmax(0,1fr));
    border-radius:26px;
  }
  .teroubi-date-panel,
  .teroubi-poster-wall-right .teroubi-date-panel{
    grid-column:1/-1;
    grid-row:auto;
    min-height:145px;
  }
  .teroubi-date-panel h3{font-size:3.4rem!important}
  .teroubi-poster figcaption{transform:none}
  .teroubi-sponsor-logo{flex-basis:185px;width:185px;height:100px}
}
@media(prefers-reduced-motion:reduce){
  .teroubi-sponsor-track{animation:none}
}
