/*
Theme Name: ShutterFam Neo
Theme URI: https://shutterfam.com/
Author: ShutterFam
Template: astra
Description: Dark, modern ShutterFam front-end – Astra child theme inspired by Tailark / Dusk hero.
Version: 0.53.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shutterfam-neo
*/

/* ================================================================
   COLOR TOKENS (referenced throughout)
   --sf-bg     : near-black base
   --sf-bg-alt : slightly lighter for dropdowns/sub-menus
   --sf-orange : ShutterFam orange accent (the "Fam" color)
   ================================================================ */
:root {
  --sf-bg: #09090b;
  --sf-bg-alt: #18181b;
  --sf-orange: #f97316;
}

/* ================================================================
   MOBILE NAV – hide Astra "Menu Toggle" text on submenu toggles
   ================================================================ */
.ast-header-break-point .sub-menu-toggle .screen-reader-text,
.ast-header-break-point .menu-toggle .screen-reader-text,
.ast-mobile-popup-drawer .sub-menu-toggle .screen-reader-text,
.ast-off-canvas-active .sub-menu-toggle .screen-reader-text,
button.ast-menu-toggle .screen-reader-text,
.menu-item .menu-toggle-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ================================================================
   BASE – dark EVERYWHERE, zero white leaks
   ================================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body,
#page,
.site,
#content,
.site-content,
.ast-separate-container,
.ast-plain-container,
.ast-page-builder-template,
.ast-page-builder-template .site-content > .ast-container,
.ast-theme-transparent-header #page {
  background-color: var(--sf-bg) !important;
  background: var(--sf-bg) !important;
  color: #a1a1aa;
}

html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Astra content-area boxes */
.ast-separate-container .ast-article-post,
.ast-separate-container .ast-article-single,
.ast-separate-container .ast-article-page,
.ast-separate-container .comment-respond,
.ast-separate-container .ast-comment-list li,
.ast-separate-container .ast-woocommerce-container,
.ast-separate-container .ast-article-single:not(.ast-related-post) .entry-content,
.ast-separate-container #primary,
.ast-separate-container #secondary,
.ast-separate-container .comments-area,
.entry-content,
.page-content,
.post-content,
article,
.ast-article-inner,
.ast-row,
.ast-col-md-12,
.ast-col-xs-12,
.widget-area,
.sidebar-main,
#secondary,
.ast-no-sidebar .entry-content,
.ast-plain-container .site-content .ast-container,
.ast-plain-container #primary {
  background-color: var(--sf-bg) !important;
  background: var(--sf-bg) !important;
}

/* Kill any white text/bg that Astra inlines */
.entry-content *,
.page-content * {
  color: inherit;
}

/* ---- Elementor: only ensure the page-level wrapper is dark ----
   Do NOT override individual Elementor sections/widgets — those
   pages (FAQ, Testimonials, etc.) already have their own styling. */
.elementor-page #content,
.elementor-page .site-content,
.elementor-page #primary {
  background-color: var(--sf-bg) !important;
  background: var(--sf-bg) !important;
}

/* Astra page title / breadcrumb header area */
.ast-archive-description,
.ast-breadcrumbs-wrapper,
.ast-page-header-section,
.ast-above-header-wrap,
.entry-header,
.page-header,
.ast-title-bar-wrap {
  background: var(--sf-bg) !important;
  background-color: var(--sf-bg) !important;
}

/* Ensure all headings and body text use light colors on dark bg */
h1, h2, h3, h4, h5, h6,
.entry-title,
.page-title,
.ast-archive-description .ast-archive-title {
  color: #e4e4e7 !important;
}

p, li, span, div {
  color: inherit;
}

/* Astra widgets and sidebar */
.widget,
.widget-title,
.widget a {
  color: #a1a1aa !important;
  background: transparent !important;
}

.widget a:hover {
  color: var(--sf-orange) !important;
}

/* ================================================================
   ASTRA HEADER – dark indigo matching logo
   ================================================================ */
.site-header,
.ast-primary-header-bar,
.ast-above-header,
.ast-below-header,
.ast-main-header-wrap,
.ast-above-header-wrap,
.ast-below-header-wrap,
.main-header-bar,
.ast-header-break-point .main-header-bar,
.ast-primary-header,
.ast-mobile-header-wrap,
#ast-desktop-header,
#ast-mobile-header,
.ast-main-header-bar-alignment,
.ast-builder-header-grid-columns,
#masthead,
.ast-transparent-header .main-header-bar,
.ast-primary-header-bar .site-primary-header-wrap,
.ast-above-header-bar,
.ast-below-header-bar {
  background: var(--sf-bg) !important;
  background-color: var(--sf-bg) !important;
  border-bottom: none !important;
}

.ast-primary-header-bar,
.main-header-bar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

/* Transparent header on homepage – floats over the hero */
body.home .site-header,
body.home #masthead {
  position: absolute !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent !important;
  background-color: transparent !important;
}
body.home #ast-desktop-header,
body.home #ast-mobile-header,
body.home .ast-main-header-wrap,
body.home .ast-primary-header-bar,
body.home .main-header-bar,
body.home .ast-primary-header-bar .site-primary-header-wrap,
body.home .ast-builder-grid-row,
body.home .ast-builder-layout-element,
body.home .ast-mobile-header-wrap,
body.home .ast-main-header-bar-alignment,
body.home .ast-builder-menu-1,
body.home .main-header-bar-navigation,
body.home .site-header-primary-section-right,
body.home .site-header-primary-section-left {
  background: transparent !important;
  background-color: transparent !important;
}
body.home .ast-primary-header-bar,
body.home .main-header-bar {
  border-bottom: none !important;
}


/* Nudge entire header content away from edges – desktop only */
@media (min-width: 641px) {
  .ast-builder-grid-row {
    padding-left: 32px !important;
    padding-right: 16px !important;
  }
}

/* Nav links */
.ast-primary-header-bar .main-header-menu > .menu-item > a,
.ast-primary-header-bar .site-title a,
.ast-header-custom-item a,
.main-header-bar .main-header-menu > .menu-item > a,
.ast-builder-menu-mobile .main-header-menu .menu-item > a,
.ast-header-break-point .main-header-menu > .menu-item > a,
.ast-builder-menu .main-header-menu > .menu-item > .menu-link,
.site-branding .site-title a,
.ast-site-identity .site-title a,
.ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link,
.ast-header-account-wrap .ast-header-account-text,
.ast-header-account-wrap a {
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  text-shadow: none !important;
  transition: color 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              text-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Hover nav – orange glow on hover */
.ast-primary-header-bar .main-header-menu > .menu-item:hover > a,
.main-header-bar .main-header-menu > .menu-item:hover > .menu-link,
.ast-builder-menu-1 .main-header-menu > .menu-item:hover > .menu-link {
  color: var(--sf-orange) !important;
  font-size: 16px !important;
  text-shadow: 0 0 12px rgba(249, 115, 22, 0.6), 0 0 30px rgba(249, 115, 22, 0.2) !important;
}

/* Current/active page – orange on homepage */
body.home .main-header-menu > .menu-item.current-menu-item > a,
body.home .main-header-menu > .menu-item.current-menu-item > .menu-link {
  color: var(--sf-orange) !important;
  text-shadow: 0 0 12px rgba(249, 115, 22, 0.4) !important;
}

/* Active nav on non-home pages stays orange */
.ast-primary-header-bar .main-header-menu > .menu-item.current-menu-item > a,
.main-header-bar .main-header-menu > .menu-item.current-menu-item > .menu-link,
.ast-builder-menu-1 .main-header-menu > .menu-item.current-menu-item > .menu-link {
  color: var(--sf-orange) !important;
  font-size: 16px !important;
  text-shadow: none !important;
}

/* Dropdown / sub-menus */
.main-header-menu .sub-menu,
.ast-builder-menu .main-header-menu .sub-menu,
.ast-builder-menu-1 .main-header-menu .sub-menu,
.ast-desktop-header-content .main-header-menu .sub-menu,
.ast-header-break-point .main-navigation .sub-menu {
  background: var(--sf-bg-alt) !important;
  background-color: var(--sf-bg-alt) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.main-header-menu .sub-menu .menu-item > a,
.main-header-menu .sub-menu .menu-item > .menu-link {
  color: #a1a1aa !important;
  background: transparent !important;
}

.main-header-menu .sub-menu .menu-item:hover > a,
.main-header-menu .sub-menu .menu-item:hover > .menu-link {
  color: var(--sf-orange) !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

/* Mobile hamburger / toggle icon */
.ast-mobile-menu-trigger-minimal,
.ast-button-wrap .menu-toggle,
.ast-header-break-point .ast-mobile-menu-buttons-minimal .menu-toggle,
.menu-toggle,
.ast-mobile-menu-trigger-fill,
.ast-mobile-menu-trigger-outline,
.ast-mobile-menu-buttons .ast-button-wrap .menu-toggle,
[data-section="section-header-mobile-trigger"] .ast-button-wrap .ast-mobile-menu-trigger-minimal,
[data-section="section-header-mobile-trigger"] .ast-button-wrap .mobile-menu-toggle-icon .ast-mobile-svg,
.menu-toggle .ast-mobile-svg {
  color: #e4e4e7 !important;
  fill: #e4e4e7 !important;
}

/* ---- MOBILE MENU DRAWER (overrides Astra inline #ffffff) ---- */
.ast-mobile-popup-drawer,
.ast-mobile-popup-drawer .ast-mobile-popup-inner,
.ast-mobile-popup-drawer.active .ast-mobile-popup-inner,
.ast-mobile-popup-content,
.ast-mobile-popup-overlay,
.ast-mobile-header-content,
.ast-mobile-header-wrap .ast-mobile-header-content,
.ast-desktop-header-content,
.ast-header-break-point .main-header-bar .main-header-bar-navigation,
.ast-header-break-point .main-header-bar-navigation,
.ast-builder-menu-mobile .main-header-menu,
.ast-builder-menu-mobile .main-navigation .main-header-menu,
.ast-builder-menu-mobile .main-navigation .main-header-menu .sub-menu,
.ast-mobile-popup-drawer .main-header-menu,
.ast-mobile-header-content .main-header-menu,
.ast-mobile-popup-drawer .ast-builder-layout-element,
.ast-mobile-popup-inner,
.ast-mobile-popup-drawer .ast-mobile-popup-header {
  background: var(--sf-bg) !important;
  background-color: var(--sf-bg) !important;
  background-image: none !important;
  color: #a1a1aa !important;
}

/* Menu item links – light text, subtle separator */
.ast-mobile-popup-drawer .menu-item > a,
.ast-mobile-popup-drawer .menu-item > .menu-link,
.ast-mobile-header-content .menu-item > a,
.ast-mobile-header-content .menu-item > .menu-link,
.ast-builder-menu-mobile .menu-item > .menu-link,
.ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .menu-link,
.ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .ast-menu-toggle {
  color: #d4d4d8 !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
  background: transparent !important;
}

/* Hover + active – orange text, subtle dark bg */
.ast-mobile-popup-drawer .menu-item:hover > a,
.ast-mobile-popup-drawer .menu-item:hover > .menu-link,
.ast-mobile-header-content .menu-item:hover > a,
.ast-mobile-header-content .menu-item:hover > .menu-link,
.ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item:hover > .menu-link,
.ast-builder-menu-mobile .main-navigation .inline-on-mobile .menu-item:hover > .ast-menu-toggle,
.ast-builder-menu-mobile .main-navigation .menu-item:hover > .ast-menu-toggle {
  color: var(--sf-orange) !important;
  background: rgba(249, 115, 22, 0.08) !important;
}

/* Current / active menu item – orange */
.ast-builder-menu-mobile .main-navigation .menu-item.current-menu-item > .menu-link,
.ast-builder-menu-mobile .main-navigation .menu-item.current-menu-ancestor > .menu-link,
.ast-builder-menu-mobile .main-navigation .inline-on-mobile .menu-item.current-menu-item > .ast-menu-toggle,
.ast-builder-menu-mobile .main-navigation .menu-item.current-menu-item > .ast-menu-toggle {
  color: var(--sf-orange) !important;
  background: rgba(249, 115, 22, 0.08) !important;
}

/* Sub-menu toggle arrows */
.ast-mobile-popup-drawer .ast-menu-toggle,
.ast-mobile-header-content .ast-menu-toggle,
.ast-builder-menu-mobile .ast-menu-toggle,
.dropdown-menu-toggle.ast-header-navigation-arrow {
  color: #a1a1aa !important;
  fill: #a1a1aa !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
}

.ast-mobile-popup-drawer .ast-menu-toggle:hover,
.ast-builder-menu-mobile .ast-menu-toggle:hover {
  color: var(--sf-orange) !important;
  fill: var(--sf-orange) !important;
}

/* Close button in mobile menu */
.ast-mobile-popup-drawer .menu-toggle-close,
.ast-mobile-popup-drawer button.menu-toggle-close {
  color: #e4e4e7 !important;
}

.ast-mobile-popup-drawer .menu-toggle-close:hover,
.ast-mobile-popup-drawer button.menu-toggle-close:hover {
  color: var(--sf-orange) !important;
}

/* Header CTA button */
.ast-header-custom-item .ast-custom-button-link .ast-custom-button,
.ast-header-button-1 .ast-custom-button,
.ast-builder-layout-element .ast-builder-button-wrap .ast-custom-button {
  background: #ffffff !important;
  color: var(--sf-bg) !important;
  border: none !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  padding: 8px 20px !important;
  font-size: 14px !important;
}

/* Search in header */
.ast-search-menu-icon .search-form,
.ast-search-menu-icon .search-field,
.ast-header-search .search-form,
.ast-header-search .search-field {
  background: var(--sf-bg-alt) !important;
  color: #d4d4d8 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* ================================================================
   ASTRA FOOTER – dark everywhere, no white leaks
   ================================================================ */
.site-footer,
footer,
.ast-small-footer,
.ast-footer-overlay,
.ast-builder-footer-grid-columns,
.site-below-footer-wrap,
.site-above-footer-wrap,
.ast-footer-copyright,
.ast-builder-grid-row,
.ast-builder-footer-grid-columns .ast-builder-grid-row,
.ast-footer-html-inner,
.site-footer-primary-section-1,
.site-footer-primary-section-2,
.site-footer-primary-section-3,
.ast-builder-layout-element,
.ast-small-footer .ast-container,
.ast-builder-footer-grid-columns .ast-container,
.ast-footer-copyright .ast-container,
.ast-above-footer,
.ast-above-footer-wrap,
.ast-below-footer-wrap,
.site-primary-footer-wrap,
.site-primary-footer-wrap.ast-builder-grid-row-container,
.site-footer-section,
.footer-widget-area,
.footer-widget-area.widget-area,
.ast-footer-html-1,
.ast-footer-html-2,
.footer-adv-overlay,
#colophon {
  background: var(--sf-bg) !important;
  background-color: var(--sf-bg) !important;
  color: #a1a1aa !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
}

/* Newsletter section */
#pem-newsletter-signup-wrapper {
  max-width: 640px;
  margin: 0 auto;
  padding: 24px 24px 32px;
  text-align: center;
  background: transparent !important;
  border: none !important;
}

.pem-nl-heading {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff !important;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.pem-nl-subtext {
  font-size: 16px;
  line-height: 1.6;
  color: #a1a1aa !important;
  margin: 0 0 32px;
}

.pem-nl-subtext strong {
  color: #f97316 !important;
}

.pem-nl-fields {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  justify-content: center;
  flex-wrap: wrap;
}

.pem-nl-field {
  flex: 1;
  min-width: 160px;
  text-align: left;
}

.pem-nl-field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #71717a !important;
  margin-bottom: 6px;
}

.pem-nl-field input {
  width: 100%;
  padding: 12px 16px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 10px !important;
  background: #09090b !important;
  color: #e4e4e7 !important;
  font-size: 15px;
  transition: border-color 0.2s;
}

.pem-nl-field input:focus {
  border-color: #f97316 !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15) !important;
}

.pem-nl-field input::placeholder {
  color: #3f3f46 !important;
}

#pem-newsletter-submit {
  padding: 12px 32px !important;
  border: none !important;
  border-radius: 10px !important;
  background: #f97316 !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  cursor: not-allowed;
  opacity: 0.5;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3) !important;
  white-space: nowrap;
  align-self: flex-end;
  height: 46px;
}

#pem-newsletter-submit:not(:disabled) {
  opacity: 1;
  cursor: pointer;
}

#pem-newsletter-submit:not(:disabled):hover {
  background: #ea580c !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.45) !important;
}

#pem-newsletter-response {
  margin-top: 16px;
  font-size: 14px;
  color: #a1a1aa;
}

.ast-footer-html-1 *,
.ast-footer-html-inner * {
  color: #e4e4e7 !important;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.site-primary-footer-wrap.ast-builder-grid-row-container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.site-footer a,
.ast-small-footer a,
.ast-footer-copyright a,
.ast-builder-footer-grid-columns a,
#colophon a {
  color: #a1a1aa !important;
}

.site-footer a:hover,
.ast-small-footer a:hover,
.ast-footer-copyright a:hover,
#colophon a:hover {
  color: var(--sf-orange) !important;
}

/* ================================================================
   FRONT PAGE CONTAINER RESET
   ================================================================ */
.home .site-content,
.home #primary,
.home .ast-container,
.page-template-front-page .site-content,
.page-template-front-page #primary,
.page-template-front-page .ast-container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  display: block !important;
}

.home #primary,
.page-template-front-page #primary {
  float: none !important;
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.home #secondary,
.page-template-front-page #secondary {
  display: none !important;
}

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes orange-glow-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ================================================================
   HERO SECTION
   ================================================================ */
.sf-hero {
  position: relative;
  overflow: visible;
  min-height: 100vh;
  padding-top: 140px;
  display: flex;
  align-items: center;
  background: #000;
}

/* Full-bleed background image – extends below hero for overlap */
.sf-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: -120px;
  z-index: 0;
}

.sf-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 35% 20%;
  display: block;
}

/* Dark gradient overlay */
.sf-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: -120px;
  z-index: 1;
  background:
    linear-gradient(to right, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.1) 45%, transparent 75%),
    linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 25%, transparent 45%);
  pointer-events: none;
}

/* Hero text content */
.sf-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 620px;
  padding: 40px 48px 140px 80px;
}

/* Events strip – overlaps bottom of hero */
.sf-events-strip {
  background: rgba(9, 9, 11, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  overflow: hidden;
  position: relative;
  z-index: 3;
  margin-top: -120px;
  padding: 24px 0 24px 48px;
}

.sf-events-strip-inner {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-right: 48px;
  -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
  mask-image: linear-gradient(to right, black 85%, transparent 100%);
}

.sf-events-strip-inner::-webkit-scrollbar {
  display: none;
}

/* ---- Continuous orange-glow badge (ShutterFam Events) ----
   Solid orange border + pulsing box-shadow = zero gaps, always smooth. */
.sf-hero-badge {
  display: inline-block;
  position: relative;
  border-radius: 999px;
  padding: 2px;
  text-decoration: none !important;
  margin-bottom: 0;
  cursor: pointer;
  background: #f97316;
  color: #d4d4d8 !important;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: rgba(249, 115, 22, 0.25);
  tap-highlight-color: rgba(249, 115, 22, 0.25);
  box-shadow: 0 0 18px rgba(249, 115, 22, 0.45),
    0 0 40px rgba(249, 115, 22, 0.15);
}
.sf-hero-badge .sf-hero-badge-inner { color: #d4d4d8 !important; }
.sf-hero-badge .sf-hero-badge-arrow { color: #d4d4d8 !important; }
.sf-hero-badge:hover .sf-hero-badge-inner,
.sf-hero-badge:hover .sf-hero-badge-arrow { color: #f97316 !important; }
.sf-hero-badge:focus .sf-hero-badge-arrow { color: #f97316 !important; }

@keyframes badge-glow-pulse {
  0%,
  100% {
    box-shadow: 0 0 18px rgba(249, 115, 22, 0.45),
      0 0 40px rgba(249, 115, 22, 0.15);
  }
  50% {
    box-shadow: 0 0 28px rgba(249, 115, 22, 0.65),
      0 0 60px rgba(249, 115, 22, 0.25),
      0 0 90px rgba(249, 115, 22, 0.1);
  }
}

/* Inner content */
.sf-hero-badge-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: 999px;
  background: var(--sf-bg);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #d4d4d8;
  transition: background 0.2s, color 0.2s;
}

.sf-hero-badge:hover .sf-hero-badge-inner {
  background: #1a1408;
  color: var(--sf-orange);
}

.sf-hero-badge-arrow {
  opacity: 0.5;
  font-size: 14px;
  transition: opacity 0.2s, color 0.2s;
  color: inherit;
}

.sf-hero-badge:hover .sf-hero-badge-arrow,
.sf-hero-badge:focus .sf-hero-badge-arrow {
  opacity: 1;
  color: #f97316;
}

.sf-hero-badge:focus-visible {
  outline: 2px solid #f97316;
  outline-offset: 3px;
}

/* Heading */
.sf-hero-title {
  font-size: clamp(44px, 5.2vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 0 0 28px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6), 0 4px 30px rgba(0,0,0,0.3);
}

/* Lead paragraph */
.sf-hero-lead {
  font-size: 17px;
  line-height: 1.75;
  color: #ffffff;
  text-shadow: 0 1px 6px rgba(0,0,0,0.7);
  margin: 0 0 40px;
  max-width: 460px;
}

/* CTA buttons */
.sf-hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Primary white button → orange on hover */
.sf-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 10px;
  background: #ffffff;
  color: #09090b;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.sf-btn-primary:hover {
  background: var(--sf-orange);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
}

/* Book Now – orange glow border variant (same continuous spin) */
.sf-btn-book {
  display: inline-flex;
  position: relative;
  border-radius: 10px;
  padding: 2px;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
}

.sf-btn-book::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400%;
  height: 400%;
  margin-top: -200%;
  margin-left: -200%;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    #f97316 0deg,
    #fb923c 45deg,
    #fdba74 90deg,
    #fbbf24 135deg,
    #f59e0b 180deg,
    #ea580c 225deg,
    #c2410c 270deg,
    #ea580c 315deg,
    #f97316 360deg
  );
  animation: orange-glow-spin 3s linear infinite;
  will-change: transform;
}

.sf-btn-book::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400%;
  height: 400%;
  margin-top: -200%;
  margin-left: -200%;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    #f97316 0deg,
    #fb923c 45deg,
    #fdba74 90deg,
    #fbbf24 135deg,
    #f59e0b 180deg,
    #ea580c 225deg,
    #c2410c 270deg,
    #ea580c 315deg,
    #f97316 360deg
  );
  animation: orange-glow-spin 3s linear infinite;
  will-change: transform;
  filter: blur(14px);
  opacity: 0.35;
  z-index: -1;
}

.sf-btn-book-inner {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 8px;
  background: var(--sf-bg);
  color: #e4e4e7;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.25s ease;
}

.sf-btn-book:hover .sf-btn-book-inner {
  background: #1a1408;
  color: var(--sf-orange);
}

/* Ghost button → orange on hover */
.sf-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 10px;
  background: transparent;
  color: #a1a1aa;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: all 0.25s ease;
}

.sf-btn-ghost:hover {
  border-color: var(--sf-orange);
  color: var(--sf-orange);
  box-shadow: 0 0 15px rgba(249, 115, 22, 0.15);
}

/* Feature bullets */
.sf-hero-features {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.sf-hero-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #d4d4d8;
  font-weight: 500;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.sf-hero-feature::before {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.4);
  color: var(--sf-orange);
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.2);
}

/* Event cards */
.sf-hero-card {
  flex: 0 0 auto;
  width: 220px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sf-hero-card:hover {
  transform: translateY(-6px);
}

.sf-hero-card-img {
  position: relative;
  width: 100%;
  height: 280px;
  border-radius: 14px;
  overflow: hidden;
  background-color: #18181b;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.3s ease;
}

/* Gradient fallbacks */
.sf-hero-card-img--fb1 {
  background: linear-gradient(145deg, #1c1917 0%, #292524 40%, #f97316 180%);
}
.sf-hero-card-img--fb2 {
  background: linear-gradient(145deg, #1a1a2e 0%, #16213e 40%, #0f3460 180%);
}
.sf-hero-card-img--fb3 {
  background: linear-gradient(145deg, #1c1917 0%, #292524 40%, #a16207 180%);
}
.sf-hero-card-img--fb4 {
  background: linear-gradient(145deg, #171717 0%, #262626 40%, #525252 180%);
}

/* "Past Event" / "Upcoming" label on card image */
.sf-hero-card-label {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  z-index: 2;
}

.sf-hero-card-label--upcoming {
  background: rgba(34, 197, 94, 0.25);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.4);
}

/* Past label – solid dark/black chip */
.sf-hero-card-label--past {
  background: rgba(0, 0, 0, 0.7);
  color: #a1a1aa;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Past events shown at full color – no overlay */

.sf-hero-card-info {
  padding: 12px 4px 0;
}

.sf-hero-card-title {
  font-size: 15px;
  font-weight: 500;
  color: #e4e4e7;
  margin: 0 0 3px;
  line-height: 1.4;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Past card title – full brightness, same as upcoming */

.sf-hero-card-meta {
  font-size: 13px;
  font-weight: 400;
  color: #52525b;
  margin: 0;
}

/* Past card meta – full brightness, same as upcoming */

/* ================================================================
   HOW SHUTTERFAM WORKS
   ================================================================ */
.sf-how-it-works {
  position: relative;
  background: var(--sf-bg);
  padding: 80px 48px;
  overflow: hidden;
}

.sf-how-it-works::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 80%, rgba(249,115,22,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 20%, rgba(246,211,101,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.sf-how-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.sf-how-title {
  text-align: center;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 48px;
  letter-spacing: -0.02em;
}

.sf-how-fam {
  color: var(--sf-orange);
}

.sf-how-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.sf-how-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 20px;
  border-radius: 16px;
  border: 1px solid rgba(249,115,22,0.2);
  background: rgba(255,255,255,0.03);
  box-shadow:
    0 0 20px rgba(249,115,22,0.06),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

.sf-how-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px rgba(249,115,22,0.3));
}

.sf-how-icon svg {
  width: 100%;
  height: 100%;
}

.sf-how-text h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
}

.sf-how-text p {
  font-size: 14px;
  line-height: 1.6;
  color: #a1a1aa;
  margin: 0;
}

/* ================================================================
   GALLERY SECTION – Premium UI
   ================================================================ */
.sf-gallery {
  position: relative;
  background: var(--sf-bg);
  padding: 100px 48px 80px;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.sf-gallery-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(249, 115, 22, 0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.sf-gallery-heading {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  width: 100%;
  margin: 0 0 32px;
  padding: 0 24px;
}

.sf-gallery-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sf-orange);
  margin: 0 0 18px;
  opacity: 0.9;
}

.sf-gallery-h2 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.sf-gallery-h2 .sf-how-fam {
  text-shadow: 0 0 30px rgba(249, 115, 22, 0.3);
}

.sf-gallery-sub {
  font-size: 18px;
  color: #a1a1aa;
  margin: 0;
  line-height: 1.7;
}

/* ---- Instagram CTA – frosted glass pill ---- */
a.sf-gallery-ig-btn,
a.sf-gallery-ig-btn:link,
a.sf-gallery-ig-btn:visited,
a.sf-gallery-ig-btn:hover,
a.sf-gallery-ig-btn:focus,
a.sf-gallery-ig-btn:active,
.sf-gallery a.sf-gallery-ig-btn {
  position: relative;
  z-index: 1;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  gap: 10px;
  width: -webkit-fit-content;
  width: fit-content;
  min-height: 52px;
  padding: 14px 28px;
  margin: 0 auto 48px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #ffffff !important;
  background: rgba(249, 115, 22, 0.06);
  border: 1px solid rgba(249, 115, 22, 0.28);
  border-radius: 9999px;
  text-decoration: none !important;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  -webkit-transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  appearance: none;
  overflow: hidden;
  -webkit-align-self: center;
  align-self: center;
}
a.sf-gallery-ig-btn .sf-gallery-ig-icon {
  stroke: #ffffff !important;
  color: #ffffff !important;
}
a.sf-gallery-ig-btn .sf-gallery-ig-arrow {
  fill: #ffffff !important;
  color: #ffffff !important;
}

.sf-gallery-ig-btn-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.18) 0%, rgba(234, 88, 12, 0.12) 100%);
  opacity: 0;
  -webkit-transition: opacity 0.35s ease;
  transition: opacity 0.35s ease;
  border-radius: inherit;
  pointer-events: none;
}

a.sf-gallery-ig-btn:hover {
  border-color: rgba(249, 115, 22, 0.55) !important;
  color: #ffffff !important;
  -webkit-transform: translateY(-2px);
  transform: translateY(-2px);
  box-shadow:
    0 0 30px rgba(249, 115, 22, 0.15),
    0 8px 32px rgba(0, 0, 0, 0.3);
}

a.sf-gallery-ig-btn:hover .sf-gallery-ig-btn-glow {
  opacity: 1;
}

a.sf-gallery-ig-btn:focus {
  outline: none;
}

a.sf-gallery-ig-btn:focus-visible {
  outline: 2px solid #f97316;
  outline-offset: 3px;
}

.sf-gallery-ig-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  opacity: 0.85;
}

.sf-gallery-ig-arrow {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.5;
  -webkit-transition: transform 0.35s ease, opacity 0.35s ease;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

a.sf-gallery-ig-btn:hover .sf-gallery-ig-arrow {
  opacity: 1;
  -webkit-transform: translateX(3px);
  transform: translateX(3px);
}

/* ---- Hero image with ambient light ---- */
.sf-gallery-hero {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0;
  box-sizing: border-box;
  margin: 0 auto;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
}

.sf-gallery-hero-ambient {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 110%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(249, 115, 22, 0.09) 0%, transparent 55%);
  pointer-events: none;
  -webkit-filter: blur(50px);
  filter: blur(50px);
  z-index: -1;
}

.sf-gallery-hero-frame {
  position: relative;
  width: min(860px, calc(100% - 48px));
  aspect-ratio: 800 / 533;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.3),
    0 12px 40px rgba(0, 0, 0, 0.45),
    0 32px 72px rgba(0, 0, 0, 0.25);
  -webkit-transition: box-shadow 0.45s ease, transform 0.45s ease, border-color 0.45s ease;
  transition: box-shadow 0.45s ease, transform 0.45s ease, border-color 0.45s ease;
  margin: 0 auto;
}

.sf-gallery-hero-frame:hover {
  border-color: rgba(249, 115, 22, 0.12);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.3),
    0 16px 48px rgba(0, 0, 0, 0.45),
    0 40px 80px rgba(0, 0, 0, 0.3),
    0 0 60px rgba(249, 115, 22, 0.06);
  -webkit-transform: translateY(-4px);
  transform: translateY(-4px);
}

.sf-gallery-hero-frame {
  position: relative;
}

.sf-gallery-hero-frame img.sf-carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain; /* avoid cutting off the photo */
  object-position: center center;
  opacity: 0;
  z-index: 0;
  transition: opacity 1200ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
  pointer-events: none;
}

.sf-gallery-hero-frame img.sf-carousel-slide.is-active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

.sf-gallery-hero-frame img.sf-gallery-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain; /* keep full photo */
  object-position: center center;
  z-index: 1;
}

.sf-gallery-strip {
  display: flex;
  width: 100%;
  max-width: 1100px;
  height: 440px;
  margin: 0 auto;
  gap: 0;
  overflow: hidden;
  border-radius: 16px;
}

.sf-panel {
  position: relative;
  flex: 1 1 0%;
  min-width: 60px;
  background-size: auto 120%;
  background-position: center;
  background-color: var(--sf-bg-alt);
  border: 2px solid #1a1a1a;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: flex 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s ease,
    box-shadow 0.4s ease,
    background-size 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  transform: translateX(-40px);
  will-change: flex;
}

.sf-panel--active {
  flex: 7 1 0%;
  border-color: rgba(255,255,255,0.15);
  background-size: auto 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  z-index: 10;
}

.sf-panel:not(.sf-panel--active):hover {
  border-color: rgba(249, 115, 22, 0.3);
}

.sf-panel-shadow {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -40px;
  height: 140px;
  pointer-events: none;
  transition: bottom 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 -120px 0px -120px #000, inset 0 -120px 0px -80px #000;
}

.sf-panel--active .sf-panel-shadow {
  bottom: 0;
  box-shadow: inset 0 -140px 120px -120px #000, inset 0 -140px 120px -80px #000;
}

.sf-panel-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  z-index: 2;
  pointer-events: none;
}

.sf-panel-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(32,32,32,0.85);
  backdrop-filter: blur(10px);
  border: 2px solid #444;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}

.sf-panel-info {
  white-space: nowrap;
  overflow: hidden;
}

.sf-panel-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  opacity: 0;
  transform: translateX(25px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.sf-panel-meta {
  font-size: 14px;
  color: #a1a1aa;
  opacity: 0;
  transform: translateX(25px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.05s,
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.05s;
}

.sf-panel--active .sf-panel-title,
.sf-panel--active .sf-panel-meta {
  opacity: 1;
  transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
  .sf-panel {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .sf-panel-title,
  .sf-panel-meta,
  .sf-panel-shadow {
    transition: none !important;
  }
}

/* ================================================================
   SPONSORS / PARTNERS SECTION
   ================================================================ */
.sf-sponsors {
  position: relative;
  overflow: hidden;
  background: var(--sf-bg);
  padding: 80px 24px 120px;
  text-align: center;
}

.sf-sponsors-inner {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
}

.sf-sponsors-title {
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 700;
  color: #e4e4e7;
  line-height: 1.4;
  margin: 0 0 56px;
  letter-spacing: -0.01em;
}

.sf-sponsors-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(40px, 8vw, 100px);
  flex-wrap: wrap;
}

.sf-sponsor-logo {
  opacity: 0.75;
  transition: opacity 0.3s ease;
}

.sf-sponsor-logo:hover {
  opacity: 1;
}

.sf-sponsor-logo--hero {
  opacity: 1;
  transform: scale(1.15);
}

.sf-logo-sony {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sf-logo-alpha {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-style: italic;
  font-size: 1.1em;
  margin-left: 2px;
  color: #ffffff;
}

.sf-logo-tamron {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sf-logo-nanlite {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sf-logo-lite {
  font-weight: 400;
}

/* ---- Orange arc (planet horizon) – no transparent border (Safari shows blue) ---- */
.sf-sponsors-arc {
  position: absolute;
  bottom: -360px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  width: clamp(600px, 80vw, 1100px);
  height: 400px;
  border-radius: 50%;
  border: none;
  border-top: 2px solid #f97316;
  box-shadow:
    0 -8px 30px rgba(249, 115, 22, 0.35),
    0 -20px 80px rgba(249, 115, 22, 0.15),
    0 -40px 140px rgba(249, 115, 22, 0.06);
  pointer-events: none;
  z-index: 1;
}

/* ---- Ambient glow behind arc ---- */
.sf-sponsors::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 180px;
  background: radial-gradient(ellipse at center bottom, rgba(249,115,22,0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ---- Particles ---- */
.sf-sponsors-particles {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  height: 300px;
  pointer-events: none;
  z-index: 1;
}

.sf-sponsors-particles span {
  position: absolute;
  display: block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--sf-orange);
  opacity: 0;
  animation: sparkFloat 4s ease-in infinite;
}

@keyframes sparkFloat {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 0.9;
  }
  100% {
    transform: translateY(-220px) scale(0);
    opacity: 0;
  }
}

.sf-sponsors-particles span:nth-child(1)  { left: 15%; bottom: 0; animation-delay: 0s; }
.sf-sponsors-particles span:nth-child(2)  { left: 25%; bottom: 10px; animation-delay: 0.6s; width: 2px; height: 2px; }
.sf-sponsors-particles span:nth-child(3)  { left: 35%; bottom: 5px; animation-delay: 1.2s; }
.sf-sponsors-particles span:nth-child(4)  { left: 42%; bottom: 15px; animation-delay: 0.3s; width: 4px; height: 4px; }
.sf-sponsors-particles span:nth-child(5)  { left: 48%; bottom: 0; animation-delay: 1.8s; width: 2px; height: 2px; }
.sf-sponsors-particles span:nth-child(6)  { left: 52%; bottom: 8px; animation-delay: 0.9s; }
.sf-sponsors-particles span:nth-child(7)  { left: 58%; bottom: 20px; animation-delay: 2.2s; width: 4px; height: 4px; }
.sf-sponsors-particles span:nth-child(8)  { left: 65%; bottom: 5px; animation-delay: 0.4s; width: 2px; height: 2px; }
.sf-sponsors-particles span:nth-child(9)  { left: 72%; bottom: 12px; animation-delay: 1.5s; }
.sf-sponsors-particles span:nth-child(10) { left: 80%; bottom: 0; animation-delay: 2.8s; width: 2px; height: 2px; }
.sf-sponsors-particles span:nth-child(11) { left: 20%; bottom: 18px; animation-delay: 3.2s; width: 2px; height: 2px; }
.sf-sponsors-particles span:nth-child(12) { left: 30%; bottom: 0; animation-delay: 2.0s; width: 4px; height: 4px; }
.sf-sponsors-particles span:nth-child(13) { left: 45%; bottom: 10px; animation-delay: 3.6s; }
.sf-sponsors-particles span:nth-child(14) { left: 55%; bottom: 0; animation-delay: 1.0s; width: 2px; height: 2px; }
.sf-sponsors-particles span:nth-child(15) { left: 68%; bottom: 15px; animation-delay: 2.5s; width: 4px; height: 4px; }
.sf-sponsors-particles span:nth-child(16) { left: 38%; bottom: 22px; animation-delay: 0.7s; width: 2px; height: 2px; }
.sf-sponsors-particles span:nth-child(17) { left: 62%; bottom: 3px; animation-delay: 3.0s; }
.sf-sponsors-particles span:nth-child(18) { left: 78%; bottom: 8px; animation-delay: 1.4s; width: 2px; height: 2px; }
.sf-sponsors-particles span:nth-child(19) { left: 33%; bottom: 14px; animation-delay: 2.6s; width: 4px; height: 4px; }
.sf-sponsors-particles span:nth-child(20) { left: 85%; bottom: 5px; animation-delay: 0.2s; }

/* ================================================================
   ENTRANCE ANIMATIONS & PREMIUM EFFECTS
   ================================================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(16px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

html {
  scroll-behavior: smooth;
}

.sf-hero-badge {
  animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both,
    badge-glow-pulse 2.4s ease-in-out infinite;
}

.sf-hero-title {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.sf-hero-lead {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

.sf-hero-actions {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.65s both;
}

.sf-hero-features {
  animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.85s both;
}

.sf-events-strip {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

/* ---- Event card hover glow + cursor ---- */
.sf-hero-card {
  cursor: pointer;
}

.sf-hero-card-img {
  transition: border-color 0.3s ease, box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sf-hero-card:hover .sf-hero-card-img {
  box-shadow: 0 8px 32px rgba(249, 115, 22, 0.18),
    0 0 0 1px rgba(249, 115, 22, 0.15);
}

/* ---- How It Works: lift + stronger glow ---- */
.sf-how-card {
  transition: border-color 0.3s, box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}

.sf-how-card:hover {
  transform: translateY(-5px);
  border-color: rgba(249, 115, 22, 0.5);
  box-shadow:
    0 8px 30px rgba(249, 115, 22, 0.18),
    0 0 60px rgba(249, 115, 22, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.sf-how-icon {
  transition: filter 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sf-how-card:hover .sf-how-icon {
  filter: drop-shadow(0 0 14px rgba(249, 115, 22, 0.5));
  transform: scale(1.08);
}

/* ---- Soft bottom fade on How It Works ---- */
.sf-how-it-works::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--sf-bg));
  pointer-events: none;
}

/* ---- Newsletter wrapper glow border ---- */
#pem-newsletter-signup-wrapper {
  border: 1px solid rgba(249, 115, 22, 0.15) !important;
  box-shadow: 0 0 40px rgba(249, 115, 22, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#pem-newsletter-signup-wrapper:hover {
  border-color: rgba(249, 115, 22, 0.3) !important;
  box-shadow: 0 0 50px rgba(249, 115, 22, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* ---- Respect reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .sf-hero-badge,
  .sf-hero-title,
  .sf-hero-lead,
  .sf-hero-actions,
  .sf-hero-features,
  .sf-events-strip {
    animation: none !important;
  }

  .sf-how-it-works::after {
    animation: none !important;
  }

  .sf-sponsors-particles span {
    animation: none !important;
    opacity: 0.4;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .sf-hero-content {
    padding: 40px 24px 140px;
    text-align: center;
    max-width: 100%;
  }

  .sf-hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .sf-hero-actions {
    justify-content: center;
  }

  .sf-hero-features {
    align-items: center;
  }

  .sf-events-strip {
    padding: 20px 0 20px 24px;
  }

  .sf-events-strip-inner {
    padding-right: 24px;
  }

  .sf-how-it-works {
    padding: 60px 24px;
  }

  .sf-how-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .sf-hero-card {
    width: 220px;
  }

  .sf-hero-card-img {
    height: 280px;
  }

  .sf-gallery {
    padding: 60px 24px;
  }

  .sf-gallery-strip {
    height: 380px;
  }
}

@media (max-width: 640px) {
  .sf-hero {
    min-height: 85vh;
  }

  .sf-hero-bg-img {
    transform: scale(1.12) translateY(-4%);
    transform-origin: center top;
    object-position: 50% 0%;
  }

  .sf-hero-overlay {
    background:
      rgba(0,0,0,0.15),
      linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 30%, rgba(0,0,0,0.2) 55%, transparent 80%) !important;
  }

  .sf-hero-content {
    padding: 0 20px 100px;
    margin-top: auto;
    gap: 8px;
  }

  .sf-hero-title {
    font-size: 36px;
    margin-bottom: 12px;
    text-shadow: 0 2px 16px rgba(0,0,0,0.8), 0 4px 40px rgba(0,0,0,0.4);
  }

  .sf-hero-lead {
    font-size: 15px;
    color: #fff;
    text-shadow: 0 1px 6px rgba(0,0,0,0.8);
    margin-bottom: 16px;
  }

  .sf-hero-actions {
    margin-bottom: 8px;
  }

  .sf-hero-feature {
    color: #fff !important;
    text-shadow: 0 1px 6px rgba(0,0,0,0.8);
  }

  .sf-hero-features {
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    padding-top: 8px;
  }

  .sf-events-strip {
    margin-top: -80px;
    padding: 16px 0 16px 16px;
  }

  .sf-events-strip-inner {
    padding-right: 16px;
  }

  .sf-hero-card {
    width: 180px;
  }

  .sf-hero-card-img {
    height: 240px;
    border-radius: 12px;
  }

  .sf-how-it-works {
    padding: 48px 20px;
  }

  .sf-how-title {
    margin-bottom: 32px;
  }

  .sf-how-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .sf-how-card {
    flex-direction: row;
    text-align: left;
    padding: 20px;
    gap: 16px;
  }

  .sf-how-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    margin-bottom: 0;
  }

  .sf-gallery {
    padding: 64px 16px 48px;
  }

  .sf-gallery-glow {
    width: 360px;
    height: 360px;
  }

  .sf-gallery-heading {
    margin-bottom: 24px;
    padding: 0 12px;
  }

  .sf-gallery-eyebrow {
    font-size: 11px;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
  }

  .sf-gallery-h2 {
    font-size: clamp(28px, 8vw, 40px);
  }

  .sf-gallery-sub {
    font-size: 16px;
  }

  a.sf-gallery-ig-btn,
  a.sf-gallery-ig-btn:link,
  a.sf-gallery-ig-btn:visited {
    min-height: 48px;
    padding: 12px 22px;
    font-size: 14px;
    margin-bottom: 32px;
    color: #ffffff !important;
    text-decoration: none !important;
  }

  .sf-gallery-hero {
    padding: 0;
  }

  .sf-gallery-hero-frame {
    width: calc(100% - 24px);
    border-radius: 14px;
  }

  .sf-gallery-strip {
    height: 320px;
    border-radius: 12px;
  }

  .sf-panel--desktop-only {
    display: none !important;
  }

  .sf-panel-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 14px;
  }

  .sf-panel-title {
    font-size: 15px;
  }

  .sf-panel-meta {
    font-size: 12px;
  }

  .sf-panel-label {
    bottom: 10px;
    padding: 0 10px;
    gap: 8px;
  }

  #pem-newsletter-signup-wrapper {
    padding: 16px 16px 24px;
  }

  .pem-nl-fields {
    flex-direction: column;
  }

  .pem-nl-field {
    width: 100%;
  }

  #pem-newsletter-submit {
    width: 100%;
  }

  .sf-sponsors {
    padding: 56px 20px 100px;
  }

  .sf-sponsors-title {
    margin-bottom: 40px;
  }

  .sf-sponsors-logos {
    gap: 32px;
  }

  .sf-sponsor-logo--hero {
    transform: scale(1.1);
  }

  .sf-sponsors-arc {
    bottom: -380px;
    width: 500px;
    height: 400px;
    border: none;
    border-top: 2px solid #f97316;
  }

  .sf-sponsors-particles {
    height: 200px;
  }
}

/* ================================================================
   NEWSLETTER / FORMS / WIDGETS – dark everywhere, no white boxes
   ================================================================ */

/* Any widget or section wrapper between hero and footer */
.ast-above-footer-wrap,
.ast-below-footer-wrap,
.site-below-footer-wrap,
.site-above-footer-wrap,
.ast-footer-overlay,
.ast-builder-footer-grid-columns,
.ast-builder-grid-row,
.ast-builder-layout-element,
.widget_text,
.widget_custom_html,
.widget_block,
.wp-block-group,
.wp-block-column,
.wp-block-columns,
.elementor-section,
.elementor-widget,
.elementor-widget-container,
.mc4wp-form-fields,
.newsletter-section,
.wp-block-group__inner-container {
  background: var(--sf-bg) !important;
  background-color: var(--sf-bg) !important;
}

/* Newsletter card / form wrapper – dark with subtle border */
.mc4wp-form,
.newsletter-form,
.wp-block-group.has-background,
.elementor-widget-form,
[class*="newsletter"],
[class*="subscribe"],
[class*="signup"],
[class*="mailchimp"] {
  background: var(--sf-bg) !important;
  background-color: var(--sf-bg) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: #d4d4d8 !important;
}

/* All text inside newsletter/form areas → white */
.mc4wp-form *,
.newsletter-form *,
[class*="newsletter"] *,
[class*="subscribe"] *,
[class*="signup"] *,
[class*="mailchimp"] *,
.widget_text *,
.widget_custom_html *,
.textwidget *,
.wp-block-group * {
  color: #e4e4e7 !important;
}

/* Links in newsletter → orange */
.mc4wp-form a,
.textwidget a,
.widget_text a,
.widget_custom_html a,
[class*="newsletter"] a {
  color: var(--sf-orange) !important;
}

/* Form inputs – dark bg, light text, subtle border */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="url"],
input[type="tel"],
input[type="number"],
textarea,
select,
.mc4wp-form input[type="text"],
.mc4wp-form input[type="email"] {
  background: var(--sf-bg-alt) !important;
  background-color: var(--sf-bg-alt) !important;
  color: #e4e4e7 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 8px !important;
  padding: 12px 16px !important;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
textarea::placeholder {
  color: #52525b !important;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: var(--sf-orange) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15) !important;
}

/* Submit / subscribe buttons → vibrant orange */
input[type="submit"],
button[type="submit"],
.mc4wp-form input[type="submit"],
.mc4wp-form button,
.newsletter-form input[type="submit"],
[class*="subscribe"] input[type="submit"],
[class*="subscribe"] button {
  background: var(--sf-orange) !important;
  background-color: var(--sf-orange) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 14px 32px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3) !important;
}

input[type="submit"]:hover,
button[type="submit"]:hover {
  background: #ea580c !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.45) !important;
}

/* Labels */
label,
.mc4wp-form label {
  color: #a1a1aa !important;
  font-size: 14px !important;
}

/* Headings inside widgets/forms (like "Stay in the Loop!") */
.widget h2,
.widget h3,
.widget h4,
.textwidget h2,
.textwidget h3,
.textwidget h4,
.wp-block-heading,
.wp-block-group h2,
.wp-block-group h3 {
  color: #ffffff !important;
}

/* ================================================================
   SINGLE EVENT DETAIL PAGES (.single-photo_event)
   Premium editorial styling for /photo-events/* pages
   ================================================================ */

/* ---- Post header ---- */
.single-photo_event .entry-title {
  font-size: clamp(32px, 5vw, 52px) !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.15 !important;
  color: #ffffff !important;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
  padding-bottom: 20px;
  border-bottom: 3px solid var(--sf-orange);
  margin-bottom: 8px !important;
  text-align: center !important;
}
.single-photo_event .entry-header {
  text-align: center !important;
}
.single-photo_event .entry-header .entry-title {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Byline removed entirely via astra_single_post_meta filter in functions.php */

/* ---- Content area typography ---- */
.single-photo_event .entry-content {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  line-height: 1.8;
}

/* Content H1 (the "real" event title inside the post body) */
.single-photo_event .entry-content h1 {
  text-align: left !important;
}

/* Section headings (h2) – orange left accent */
.single-photo_event .entry-content h2 {
  position: relative;
  font-size: clamp(22px, 3vw, 30px) !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: -0.02em;
  margin: 48px 0 20px !important;
  padding-left: 18px;
  border-left: 4px solid var(--sf-orange);
  text-align: left !important;
}

/* Sub-headings (h3) */
.single-photo_event .entry-content h3 {
  font-size: clamp(18px, 2.5vw, 22px) !important;
  font-weight: 700 !important;
  color: #e4e4e7 !important;
  margin: 36px 0 14px !important;
}

/* Paragraphs */
.single-photo_event .entry-content p {
  color: #a1a1aa !important;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 18px;
}

/* Bold text */
.single-photo_event .entry-content strong,
.single-photo_event .entry-content b {
  color: #e4e4e7 !important;
  font-weight: 700;
}

/* Italic emphasis */
.single-photo_event .entry-content em {
  color: #d4d4d8 !important;
}

/* Links */
.single-photo_event .entry-content a {
  color: var(--sf-orange) !important;
  text-decoration: none !important;
  transition: color 0.2s, text-shadow 0.2s;
}
.single-photo_event .entry-content a:hover {
  color: #fb923c !important;
  text-shadow: 0 0 12px rgba(249,115,22,0.3);
}

/* ---- Lists: orange checkmark circles ---- */
.single-photo_event .entry-content ul.wp-block-list {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 16px 0 24px !important;
}
.single-photo_event .entry-content ul.wp-block-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 10px;
  color: #a1a1aa !important;
  font-size: 16px;
  line-height: 1.7;
}
.single-photo_event .entry-content ul.wp-block-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.4);
  color: var(--sf-orange);
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.15);
}

/* Ordered lists keep numbering but match theme */
.single-photo_event .entry-content ol {
  padding-left: 24px !important;
  margin: 16px 0 24px !important;
}
.single-photo_event .entry-content ol li {
  color: #a1a1aa !important;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 8px;
}
.single-photo_event .entry-content ol li::marker {
  color: var(--sf-orange);
  font-weight: 700;
}

/* ---- HR dividers: gradient fade ---- */
.single-photo_event .entry-content hr {
  border: none !important;
  height: 1px !important;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.1) 30%, rgba(255,255,255,0.1) 70%, transparent) !important;
  margin: 40px auto !important;
  max-width: 400px;
}

/* ---- Image carousel / gallery ---- */
.single-photo_event .metaslider,
.single-photo_event .flexslider,
.single-photo_event .gallery,
.single-photo_event .wp-block-gallery,
.single-photo_event .wp-block-jetpack-slideshow {
  border-radius: 16px !important;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.06);
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 40px !important;
  max-width: 780px;
}

/* Carousel arrows */
.single-photo_event .metaslider .flex-direction-nav a,
.single-photo_event .flexslider .flex-direction-nav a,
.single-photo_event .flex-prev,
.single-photo_event .flex-next {
  background: rgba(9, 9, 11, 0.7) !important;
  color: #e4e4e7 !important;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50% !important;
  width: 44px !important;
  height: 44px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
  opacity: 1 !important;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.single-photo_event .metaslider .flex-direction-nav a:hover,
.single-photo_event .flexslider .flex-direction-nav a:hover,
.single-photo_event .flex-prev:hover,
.single-photo_event .flex-next:hover {
  background: rgba(249, 115, 22, 0.2) !important;
  border-color: rgba(249, 115, 22, 0.4) !important;
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.2);
  color: var(--sf-orange) !important;
}

/* Carousel slide counter */
.single-photo_event .flex-control-paging li a,
.single-photo_event .metaslider .flex-control-paging li a {
  background: rgba(255,255,255,0.2) !important;
  border-radius: 50%;
}
.single-photo_event .flex-control-paging li a.flex-active,
.single-photo_event .metaslider .flex-control-paging li a.flex-active {
  background: var(--sf-orange) !important;
  box-shadow: 0 0 8px rgba(249,115,22,0.4);
}

/* ---- Single event: corner peek to preview next slide ---- */
.single-photo_event .sf-corner-peek {
  display: none !important;
}
.single-photo_event .sf-corner-peek-host {
  position: relative;
  overflow: visible;
}
.single-photo_event .sf-corner-peek {
  position: absolute;
  top: -2px;
  right: -2px;
  width: clamp(136px, 18vw, 220px);
  aspect-ratio: 1 / 1;
  z-index: 12;
  pointer-events: none;
  perspective: 980px;
  transform-style: preserve-3d;
  opacity: 0;
  transform: translate3d(8px, -10px, 0) scale(0.95);
  transition:
    opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  filter: saturate(0.9) brightness(0.9);
}
.single-photo_event .sf-corner-peek.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: saturate(1.04) brightness(1);
}
.single-photo_event .sf-corner-peek-next,
.single-photo_event .sf-corner-peek-shadow,
.single-photo_event .sf-corner-peek-flap,
.single-photo_event .sf-corner-peek-front,
.single-photo_event .sf-corner-peek-back {
  position: absolute;
  inset: 0;
  border-top-right-radius: 16px;
}
.single-photo_event .sf-corner-peek-next {
  background-size: cover;
  background-position: center;
  clip-path: polygon(34% 0, 100% 0, 100% 66%, 66% 100%, 0 34%);
  transform: translate3d(10px, -10px, -4px) scale(0.92);
  opacity: 0.88;
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.54),
    0 0 0 1px rgba(255,255,255,0.2) inset;
}
.single-photo_event .sf-corner-peek-next::after {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: inherit;
  background:
    radial-gradient(120% 100% at 100% 0, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0) 48%),
    linear-gradient(220deg, rgba(9,9,11,0), rgba(9,9,11,0.35) 72%);
}
.single-photo_event .sf-corner-peek-shadow {
  clip-path: polygon(34% 0, 100% 0, 100% 66%, 66% 100%, 0 34%);
  background: linear-gradient(220deg, rgba(0,0,0,0.5), rgba(0,0,0,0) 65%);
  transform: translate3d(6px, -4px, -8px) scale(0.98);
  filter: blur(2px);
  opacity: 0.66;
}
.single-photo_event .sf-corner-peek-flap {
  clip-path: polygon(38% 0, 100% 0, 100% 62%, 62% 100%, 0 38%);
  transform-origin: top right;
  transform-style: preserve-3d;
  transform: rotateY(-22deg) rotateX(4deg) translate3d(4px, -3px, 14px);
}
.single-photo_event .sf-corner-peek-front {
  clip-path: inherit;
  background:
    linear-gradient(140deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0.2) 28%, rgba(255,255,255,0.04) 58%, rgba(255,255,255,0) 74%),
    linear-gradient(235deg, rgba(24,24,27,0.08), rgba(9,9,11,0.3) 66%, rgba(9,9,11,0.48) 100%);
  border-top: 1px solid rgba(255,255,255,0.74);
  border-right: 1px solid rgba(255,255,255,0.74);
  box-shadow:
    0 0 0 1px rgba(249,115,22,0.24) inset,
    0 12px 30px rgba(0,0,0,0.34);
}
.single-photo_event .sf-corner-peek-front::after {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: inherit;
  background:
    repeating-linear-gradient(
      -26deg,
      rgba(255,255,255,0.065) 0 2px,
      rgba(255,255,255,0) 2px 8px
    );
}
.single-photo_event .sf-corner-peek-back {
  clip-path: inherit;
  background:
    linear-gradient(150deg, rgba(249, 115, 22, 0.36), rgba(249,115,22,0.1) 34%, rgba(255,255,255,0.14) 62%, rgba(255,255,255,0.25) 100%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.35) inset,
    0 -6px 16px rgba(0,0,0,0.22) inset;
  transform: rotateY(180deg);
  backface-visibility: hidden;
  opacity: 0.78;
}
.single-photo_event .sf-corner-peek-crease {
  position: absolute;
  top: 0;
  right: 0;
  width: 74%;
  height: 74%;
  clip-path: polygon(100% 0, 100% 100%, 0 0);
  background:
    linear-gradient(136deg, rgba(255,255,255,0.72) 0%, rgba(255,255,255,0.2) 16%, rgba(255,255,255,0) 40%),
    linear-gradient(228deg, rgba(249,115,22,0.45) 0%, rgba(249,115,22,0) 42%);
  mix-blend-mode: screen;
  opacity: 0.76;
}
.single-photo_event .sf-corner-peek.is-pulsing .sf-corner-peek-flap {
  animation: sf-page-turn-peel 1.12s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.single-photo_event .sf-corner-peek.is-pulsing .sf-corner-peek-shadow {
  animation: sf-page-turn-shadow 1.12s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.single-photo_event .sf-corner-peek.is-pulsing .sf-corner-peek-next {
  animation: sf-page-turn-next 1.12s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes sf-page-turn-peel {
  0%, 100% { transform: rotateY(-22deg) rotateX(4deg) translate3d(4px, -3px, 14px); }
  35% { transform: rotateY(-36deg) rotateX(7deg) translate3d(7px, -6px, 17px); }
  55% { transform: rotateY(-48deg) rotateX(10deg) translate3d(9px, -9px, 19px); }
  78% { transform: rotateY(-26deg) rotateX(5deg) translate3d(5px, -4px, 15px); }
}
@keyframes sf-page-turn-shadow {
  0%, 100% { opacity: 0.66; transform: translate3d(6px, -4px, -8px) scale(0.98); }
  52% { opacity: 0.9; transform: translate3d(13px, -8px, -8px) scale(1.04); }
}
@keyframes sf-page-turn-next {
  0%, 100% { transform: translate3d(10px, -10px, -4px) scale(0.92); opacity: 0.88; }
  52% { transform: translate3d(5px, -4px, -4px) scale(1); opacity: 1; }
}

/* Legacy class fallback (kept for older markup safety) */
.single-photo_event .sf-corner-peek-pane {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  opacity: 0;
}
.single-photo_event .sf-corner-peek-pane::after {
  content: none;
}
.single-photo_event .sf-corner-peek-edge {
  display: none;
}
.single-photo_event .sf-corner-peek::before {
  content: none;
}

/* ---- Registration / CTA section ---- */

.single-photo_event .pem-registration-form,
.single-photo_event .pem-reg-form-wrapper,
.single-photo_event .pem-reg-closed,
.single-photo_event .pem-interest-form-wrapper {
  background: rgba(255,255,255,0.02) !important;
  border: 1px solid rgba(249, 115, 22, 0.15) !important;
  border-radius: 16px !important;
  padding: 32px !important;
  box-shadow: 0 0 40px rgba(249, 115, 22, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  margin: 40px auto !important;
  max-width: 560px;
}

/* ---- Post navigation (hidden on single photo_event) ---- */
.single-photo_event .ast-single-post-navigation,
.single-photo_event .post-navigation,
.single-photo_event nav.navigation.post-navigation {
  display: none !important;
}

/* ---- Scroll-triggered entrance ---- */
.single-photo_event .sf-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.single-photo_event .sf-reveal.sf-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive for single event ---- */
@media (max-width: 640px) {
  .single-photo_event .entry-title {
    font-size: 28px !important;
    padding-bottom: 14px;
  }
  .single-photo_event .entry-content {
    padding-left: 16px;
    padding-right: 8px;
  }
  .single-photo_event .entry-content h2 {
    font-size: 22px !important;
    margin: 36px 0 16px !important;
    padding-left: 14px;
  }
  .single-photo_event .entry-content h3 {
    font-size: 18px !important;
  }
  .single-photo_event .entry-content ul li {
    padding-left: 30px;
  }
  .single-photo_event .sf-corner-peek {
    top: 0;
    right: 0;
    width: clamp(104px, 29vw, 156px);
  }
  .single-photo_event .sf-corner-peek-next {
    clip-path: polygon(40% 0, 100% 0, 100% 64%, 64% 100%, 0 40%);
  }
  .single-photo_event .sf-corner-peek-flap {
    clip-path: polygon(44% 0, 100% 0, 100% 60%, 60% 100%, 0 44%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .single-photo_event .sf-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .single-photo_event .sf-corner-peek {
    transition: none;
    transform: none;
  }
  .single-photo_event .sf-corner-peek.is-pulsing .sf-corner-peek-flap,
  .single-photo_event .sf-corner-peek.is-pulsing .sf-corner-peek-shadow,
  .single-photo_event .sf-corner-peek.is-pulsing .sf-corner-peek-next {
    animation: none;
  }
}
