/* v1.1 – per-instance styling. All variables are attached to the instance,
   so two different rows can use distinct themes without affecting each other. */
@media(min-width:1101px){
 body.chakras-site .site-main #chakras-composer-content .chakras-reference-experiences .ref-card-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:clamp(12px,1.4vw,22px)!important}
 body.chakras-site .site-main #chakras-composer-content .chakras-reference-experiences .ref-card>img{height:210px}
}
@media(min-width:768px) and (max-width:1100px){body.chakras-site .site-main #chakras-composer-content .chakras-reference-experiences .ref-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:767px){body.chakras-site .site-main #chakras-composer-content .chakras-reference-experiences .ref-card-grid{grid-template-columns:1fr!important}}
.seven-exp-cards{min-width:0;width:100%;color:var(--se-title-color,#f1debd);box-sizing:border-box}
.seven-exp-cards *{box-sizing:border-box}
.seven-exp-cards .seven-exp-title{color:var(--se-title-color);font-size:clamp(18px,2.2vw,32px);font-family:Georgia,serif;line-height:1.15;text-align:center;margin:0 0 16px}
.seven-exp-cards .seven-exp-grid{display:grid;grid-template-columns:repeat(var(--seven-exp-cols,4),minmax(0,1fr));gap:var(--se-gap,16px);min-width:0;align-items:stretch}
.seven-exp-cards .seven-exp-card{display:flex;flex-flow:column nowrap;min-width:0;min-height:var(--se-card-height,245px);overflow:hidden;background:var(--se-card-bg,#33443a);color:var(--se-title-color,#f1debd);text-decoration:none;border-radius:12px;border:1px solid transparent;box-shadow:0 7px 22px #00000029;transition:transform .2s ease,box-shadow .2s ease}
.seven-exp-cards a.seven-exp-card:hover{color:var(--se-title-color);transform:translateY(-3px);box-shadow:0 12px 28px #00000038}
.seven-exp-cards .seven-exp-media{width:100%;height:var(--se-image-height,135px);min-height:0;flex-shrink:0;overflow:hidden;background:color-mix(in srgb,var(--se-card-bg) 75%,#000)}
.seven-exp-cards .seven-exp-media img{display:block;width:100%;height:100%;object-fit:cover;max-width:none;max-height:none;aspect-ratio:auto;border:0;border-radius:0}
/* Image-only zoom/crop; card dimensions, titles, and text never scale.
   Each Experience receives its own inline CSS variables on the media frame. */
.seven-exp-cards .seven-exp-card .seven-exp-media > img {
  transform: scale(var(--se-image-scale,1)) !important;
  transform-origin: var(--se-image-origin-x,50%) var(--se-image-origin-y,50%) !important;
  transition: transform .18s ease, transform-origin .18s ease;
  will-change: auto;
}
.seven-exp-cards .seven-exp-placeholder{height:100%;display:grid;place-items:center;color:var(--se-border-color);font-size:42px}
.seven-exp-cards .seven-exp-copy{flex:1;min-width:0;display:flex;flex-flow:column nowrap;align-items:stretch;padding:13px 15px 16px;line-height:1.3;text-align:var(--se-text-align,left);gap:5px}
.seven-exp-cards .seven-exp-card-title{display:block;min-height:var(--se-title-space,35px);font:600 var(--se-title-size,21px)/1.2 Georgia,serif;color:var(--se-title-color)!important;overflow-wrap:anywhere;margin:0}
.seven-exp-cards .seven-exp-card-desc{display:block;min-height:var(--se-desc-space,44px);font:400 var(--se-desc-size,13px)/1.45 system-ui,sans-serif;color:var(--se-desc-color)!important;overflow-wrap:anywhere;white-space:normal}
.seven-exp-cards .seven-exp-empty{padding:12px;border:1px dashed var(--se-border-color);color:var(--se-title-color)}
.seven-exp-hero-widget{position:absolute;left:var(--se-x,5%);top:var(--se-y,49%);width:var(--se-w,90%);z-index:50;pointer-events:auto;box-sizing:border-box}
/* Layouts: all are additive variations of a shared, scoped, accessible card structure. */
.seven-exp-style-outline .seven-exp-card{background:transparent!important;border:2px solid var(--se-border-color)!important;box-shadow:none;border-radius:10px}
.seven-exp-style-outline .seven-exp-copy{background:color-mix(in srgb,var(--se-card-bg) 45%,transparent)}
.seven-exp-style-glass .seven-exp-card{background:color-mix(in srgb,var(--se-card-bg) 52%,transparent)!important;backdrop-filter:blur(11px);-webkit-backdrop-filter:blur(11px);border:1px solid color-mix(in srgb,var(--se-border-color) 65%,transparent);box-shadow:0 15px 33px #00000036}
.seven-exp-style-minimal .seven-exp-card{background:transparent!important;box-shadow:none;border:0;border-radius:0}
.seven-exp-style-minimal .seven-exp-copy{padding-inline:2px;border-bottom:2px solid var(--se-border-color)}
.seven-exp-style-poster .seven-exp-card{position:relative;border-radius:3px;justify-content:flex-end}
.seven-exp-style-poster .seven-exp-media{position:absolute;inset:0;height:100%!important}
.seven-exp-style-poster .seven-exp-media:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 15%,#000000c9 100%)}
.seven-exp-style-poster .seven-exp-copy{position:relative;z-index:1;flex:0 0 auto;margin-top:auto;background:transparent;padding:16px}
.seven-exp-style-poster .seven-exp-card-title{color:#fff4dc!important}
.seven-exp-style-poster .seven-exp-card-desc{color:#f4ead5!important}
.seven-exp-style-editorial .seven-exp-card{border-radius:0;box-shadow:none;border-bottom:3px solid var(--se-border-color);background:transparent!important}
.seven-exp-style-editorial .seven-exp-media{border-radius:0}
.seven-exp-style-editorial .seven-exp-copy{padding:15px 1px}
.seven-exp-style-festival .seven-exp-card{border:3px double var(--se-border-color);border-radius:44% 44% 12px 12px;box-shadow:0 10px 30px #00000029}
.seven-exp-style-festival .seven-exp-media{border-radius:46% 46% 0 0}
.seven-exp-style-festival .seven-exp-copy{text-align:center}
.seven-exp-style-neon .seven-exp-card{background:color-mix(in srgb,var(--se-card-bg) 82%,#140d22);border:1px solid var(--se-border-color);box-shadow:0 0 14px color-mix(in srgb,var(--se-border-color) 40%,transparent),inset 0 0 16px #00000026;border-radius:9px}
.seven-exp-style-neon .seven-exp-card-title{text-shadow:0 0 9px color-mix(in srgb,var(--se-border-color) 55%,transparent)}
.seven-exp-style-paper .seven-exp-card{border-radius:2px;background:color-mix(in srgb,var(--se-card-bg) 15%,#f2e8cc);border-bottom:5px solid var(--se-border-color);box-shadow:3px 5px 0 #0000001f}
.seven-exp-style-paper .seven-exp-card-title{color:color-mix(in srgb,var(--se-title-color) 45%,#111)!important}
.seven-exp-style-paper .seven-exp-card-desc{color:color-mix(in srgb,var(--se-desc-color) 45%,#111)!important}
.seven-exp-style-split .seven-exp-card{border-radius:0;border-left:5px solid var(--se-border-color);box-shadow:0 5px 12px #00000024}
.seven-exp-style-split .seven-exp-copy{border-top:1px solid var(--se-border-color)}
@media(min-width:768px) and (max-width:1100px){
 .seven-exp-hero-widget{left:var(--se-tx,4%);top:var(--se-ty,52%);width:var(--se-tw,92%)}
 .seven-exp-hero-widget .seven-exp-grid{grid-template-columns:repeat(min(2,var(--seven-exp-cols,4)),minmax(0,1fr))}
}
@media(max-width:767px){
 .seven-exp-hero-widget{left:var(--se-mx,4%);top:var(--se-my,54%);width:var(--se-mw,92%)}
 .seven-exp-hero-widget .seven-exp-grid{grid-template-columns:1fr}
 .seven-exp-hero-widget .seven-exp-cards.seven-exp-mobile-carousel .seven-exp-grid{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,86%);grid-template-columns:none;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-inline:contain;padding:4px 3px 14px;scrollbar-width:thin;gap:12px}
 .seven-exp-cards.seven-exp-mobile-carousel .seven-exp-card{scroll-snap-align:center}
 .seven-exp-hero-widget .seven-exp-cards.seven-exp-mobile-stack .seven-exp-grid{grid-template-columns:1fr}
}

/* v1.1.4 — Mobile swipe restore.
   Use a horizontally scrollable FLEX TRACK instead of grid-auto-flow:column.
   Other Page Builder/Theme CSS can override grid templates at mobile sizes.
   This is deliberately scoped to this widget's carousel mode, never stack mode.
   The crop transform remains on the <img> only, NOT on the scroll container.
*/
@media screen and (max-width: 767px) {
  html body .seven-exp-hero-widget,
  html body .seven-exp-hero-widget .seven-exp-cards {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  html body .seven-exp-hero-widget .seven-exp-cards.seven-exp-mobile-carousel > .seven-exp-grid,
  html body .seven-exp-hero-widget .seven-exp-cards:not(.seven-exp-mobile-stack) > .seven-exp-grid,
  html body .seven-exp-cards.seven-exp-mobile-carousel > .seven-exp-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    grid-template-columns: none !important;
    grid-auto-columns: auto !important;
    grid-auto-flow: initial !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    scroll-padding-inline: 4px !important;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y !important;
    scrollbar-width: none;
    gap: 12px !important;
    padding: 4px 4px 16px !important;
    box-sizing: border-box !important;
  }
  html body .seven-exp-cards.seven-exp-mobile-carousel > .seven-exp-grid::-webkit-scrollbar,
  html body .seven-exp-hero-widget .seven-exp-cards:not(.seven-exp-mobile-stack) > .seven-exp-grid::-webkit-scrollbar {
    display: none;
  }
  html body .seven-exp-hero-widget .seven-exp-cards.seven-exp-mobile-carousel > .seven-exp-grid > .seven-exp-card,
  html body .seven-exp-hero-widget .seven-exp-cards:not(.seven-exp-mobile-stack) > .seven-exp-grid > .seven-exp-card,
  html body .seven-exp-cards.seven-exp-mobile-carousel > .seven-exp-grid > .seven-exp-card {
    flex: 0 0 84% !important;
    width: 84% !important;
    min-width: 84% !important;
    max-width: 84% !important;
    align-self: stretch !important;
    scroll-snap-align: start !important;
    scroll-snap-stop: always;
    height: auto;
  }
  html body .seven-exp-cards.seven-exp-mobile-carousel > .seven-exp-grid > .seven-exp-card .seven-exp-copy,
  html body .seven-exp-hero-widget .seven-exp-cards:not(.seven-exp-mobile-stack) > .seven-exp-grid > .seven-exp-card .seven-exp-copy {
    min-width: 0 !important;
    width: 100% !important;
  }
  /* A user-selected Vertical Stack must remain a stack. */
  html body .seven-exp-hero-widget .seven-exp-cards.seven-exp-mobile-stack > .seven-exp-grid,
  html body .seven-exp-cards.seven-exp-mobile-stack > .seven-exp-grid {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) !important;
    overflow-x: visible !important;
    scroll-snap-type: none !important;
  }
}
