/* =========================================================
   Stimpfl Photography — Premium Dark Portfolio Stylesheet
   Version 2.0  |  2026
   ========================================================= */

/* ---- CSS Variables ---- */
:root {
  --sp-bg:       #100e0d;
  --sp-surface:  #171411;
  --sp-card:     #201c19;
  --sp-border:   rgba(255,255,255,0.08);
  --sp-text:     #e2e2e2;
  --sp-muted:    #777;
  --sp-gold:     #c8a45a;
  --sp-gold-lt:  #e0bc72;
  --sp-teal:     #5aadad;
  --sp-white:    #ffffff;
  --sp-font-h:   'Playfair Display', Georgia, serif;
  --sp-font-b:   'Inter', 'Helvetica Neue', Arial, sans-serif;
  --sp-radius:   4px;
  --sp-t:        0.3s ease;
  --sp-t-slow:   0.6s ease;
}

/* ================================================================
   GLOBAL — INSPIRO THEME DARK OVERRIDES
   ================================================================ */
html {
  scroll-behavior: smooth;
}

body.stimpfl-photo-site {
  background-color: var(--sp-bg) !important;
  color: var(--sp-text) !important;
  font-family: var(--sp-font-b) !important;
  -webkit-font-smoothing: antialiased;
  --inspiro-color-background-body: var(--sp-bg);
}

body.stimpfl-photo-site #page.site,
body.stimpfl-photo-site .site-content-contain,
body.stimpfl-photo-site #content.site-content,
body.stimpfl-photo-site .site-main,
body.stimpfl-photo-site main#main,
body.stimpfl-photo-site .builder-wrap,
body.stimpfl-photo-site .full-width,
body.stimpfl-photo-site .entry-content,
body.stimpfl-photo-site article {
  background: transparent !important;
  color: var(--sp-text) !important;
}

body.stimpfl-photo-site .builder-wrap.full-width,
body.stimpfl-photo-site .entry-content {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* Inspiro navbar — dark transparent */
body.stimpfl-photo-site .navbar {
  background: rgba(8, 8, 8, 0.90) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05) !important;
  padding: 16px 0 !important;
  transition: background 0.4s ease, box-shadow 0.4s ease !important;
  box-shadow: 0 1px 30px rgba(0,0,0,0.4);
}

body.stimpfl-photo-site .navbar a { color: rgba(255,255,255,0.8) !important; }

body.stimpfl-photo-site .navbar .site-title a,
body.stimpfl-photo-site .navbar .custom-logo-link img {
  color: var(--sp-gold) !important;
  font-family: var(--sp-font-h) !important;
  letter-spacing: 0.06em !important;
  text-decoration: none !important;
}

body.stimpfl-photo-site .navbar .primary-menu-wrapper a,
body.stimpfl-photo-site .navbar .nav.navbar-nav a,
body.stimpfl-photo-site .navbar nav a {
  color: rgba(220,220,220,0.85) !important;
  font-family: var(--sp-font-b) !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
}

body.stimpfl-photo-site .navbar .primary-menu-wrapper a:hover,
body.stimpfl-photo-site .navbar .nav.navbar-nav a:hover {
  color: var(--sp-gold) !important;
}

/* Has header image — gradient navbar */
body.stimpfl-photo-site.has-header-image .navbar,
body.stimpfl-photo-site.has-header-video .navbar {
  background: linear-gradient(to bottom, rgba(0,0,0,0.55), transparent) !important;
  box-shadow: none;
}

/* Footer */
body.stimpfl-photo-site .site-footer,
body.stimpfl-photo-site #colophon {
  background: #060606 !important;
  border-top: 1px solid var(--sp-border) !important;
  color: var(--sp-muted) !important;
}

body.stimpfl-photo-site .site-footer a,
body.stimpfl-photo-site #colophon a {
  color: var(--sp-teal) !important;
}

/* Typography overrides */
body.stimpfl-photo-site h1,
body.stimpfl-photo-site h2,
body.stimpfl-photo-site h3,
body.stimpfl-photo-site h4 {
  font-family: var(--sp-font-h);
  color: var(--sp-white);
}

/* ================================================================
   LAYOUT
   ================================================================ */
.stimpfl-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 768px) { .stimpfl-container { padding: 0 16px; } }

/* Section titles */
.stimpfl-section-title {
  font-family: var(--sp-font-h);
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--sp-white);
  text-align: center;
  margin: 0 0 10px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.stimpfl-section-title::after {
  content: '';
  display: block;
  width: 44px;
  height: 2px;
  background: var(--sp-gold);
  margin: 14px auto 0;
  opacity: 0.6;
}

.stimpfl-section-subtitle {
  text-align: center;
  color: var(--sp-muted);
  margin: 0 0 56px;
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 0.03em;
}

/* ================================================================
   VIDEO BANNER / HERO
   ================================================================ */
.stimpfl-video-banner {
  position: relative;
  overflow: hidden;
  background: #000;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
}

.stimpfl-video-wrap {
  position: absolute;
  inset: 0;
}

.stimpfl-banner-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 1.2s ease;
  position: absolute;
  top: 0; left: 0;
}

.stimpfl-banner-video.active  { opacity: 1; }
.stimpfl-banner-video.inactive { opacity: 0; }
.stimpfl-banner-video.fading  { opacity: 0; }

.stimpfl-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.05) 40%, rgba(0,0,0,0.65) 100%),
    radial-gradient(ellipse at 50% 50%, transparent 45%, rgba(0,0,0,0.35) 100%);
  z-index: 1;
}

.stimpfl-banner-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100vh;
  padding: 120px 24px 80px;
  text-align: center;
}

.stimpfl-banner-inner { max-width: 740px; }

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

.stimpfl-banner-title {
  font-family: var(--sp-font-h);
  font-size: clamp(3rem, 7vw, 6.5rem);
  color: #fff;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
  font-weight: 400;
  text-shadow: 0 2px 24px rgba(0,0,0,0.4);
  animation: fadeInUp 1s ease 0.15s both;
  line-height: 1.08;
}

.stimpfl-banner-subtitle {
  font-size: clamp(1rem, 2vw, 1.35rem);
  color: rgba(255,255,255,0.72);
  margin: 0 0 44px;
  font-style: italic;
  font-weight: 300;
  text-shadow: 0 1px 12px rgba(0,0,0,0.5);
  animation: fadeInUp 1s ease 0.35s both;
  letter-spacing: 0.04em;
}

.stimpfl-banner-cta {
  display: inline-block;
  padding: 13px 36px;
  background: transparent;
  color: #fff;
  font-weight: 400;
  font-size: 0.8rem;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.45);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: all 0.35s ease;
  animation: fadeInUp 1s ease 0.55s both;
  margin: 0 6px 8px;
  font-family: var(--sp-font-b);
}

.stimpfl-banner-cta:hover {
  background: var(--sp-gold);
  border-color: var(--sp-gold);
  color: #000;
  transform: translateY(-2px);
}

.stimpfl-banner-cta.sp-cta-primary {
  background: var(--sp-gold);
  border-color: var(--sp-gold);
  color: #000;
}

.stimpfl-banner-cta.sp-cta-primary:hover {
  background: var(--sp-gold-lt);
  border-color: var(--sp-gold-lt);
}

.stimpfl-scroll-arrow {
  display: block;
  font-size: 1.1rem;
  margin-top: 50px;
  opacity: 0.45;
  animation: bounce 2.5s infinite 1.5s;
  letter-spacing: 0;
}

@keyframes bounce {
  0%,100% { transform: translateY(0); opacity: 0.45; }
  50%      { transform: translateY(8px); opacity: 0.8; }
}

.stimpfl-sound-toggle {
  position: absolute;
  bottom: 28px;
  right: 28px;
  z-index: 3;
  background: rgba(0,0,0,0.38);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: rgba(255,255,255,0.7);
}

.stimpfl-sound-toggle:hover {
  background: rgba(200,164,90,0.25);
  border-color: var(--sp-gold);
  color: var(--sp-gold);
}

/* Photo slideshow fallback (no videos) */
.stimpfl-no-videos {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: #000;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.stimpfl-slideshow-wrap {
  position: absolute;
  inset: 0;
}

.stimpfl-slideshow-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.6s ease;
  transform: scale(1.04);
  animation: kenburns 16s linear infinite;
}

.stimpfl-slideshow-slide.active {
  opacity: 1;
}

@keyframes kenburns {
  0%   { transform: scale(1.04); }
  100% { transform: scale(1); }
}

.stimpfl-slideshow-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.22) 0%, rgba(0,0,0,0.6) 100%);
  z-index: 1;
}

.stimpfl-no-videos-content {
  position: relative;
  z-index: 2;
  flex: 1;
}

/* ================================================================
   GALLERY SECTION
   ================================================================ */
.stimpfl-gallery-section {
  padding: 100px 0 80px;
  background: var(--sp-bg);
}

.stimpfl-album {
  margin-bottom: 80px;
}

.stimpfl-album-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--sp-border);
}

.stimpfl-album-title {
  font-family: var(--sp-font-h);
  font-size: 1.65rem;
  color: var(--sp-white);
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.stimpfl-album-count {
  color: var(--sp-muted);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}

.stimpfl-album-toggle {
  margin-left: auto;
  background: none;
  border: 1px solid var(--sp-border);
  color: var(--sp-muted);
  border-radius: var(--sp-radius);
  padding: 5px 14px;
  cursor: pointer;
  transition: all var(--sp-t);
  font-size: 0.82rem;
  font-family: var(--sp-font-b);
}

.stimpfl-album-toggle:hover { border-color: var(--sp-gold); color: var(--sp-gold); }
.stimpfl-album-toggle[aria-expanded="false"] .toggle-icon { transform: rotate(180deg); }
.toggle-icon { display: inline-block; transition: transform var(--sp-t); }

/* Masonry grid */
.stimpfl-album-grid {
  columns: 4 260px;
  column-gap: 6px;
}

@media (max-width: 1200px) { .stimpfl-album-grid { columns: 3 220px; } }
@media (max-width: 768px)  { .stimpfl-album-grid { columns: 2 150px; } }
@media (max-width: 480px)  { .stimpfl-album-grid { columns: 1; } }

/* Photo card */
.stimpfl-photo-item {
  break-inside: avoid;
  margin-bottom: 6px;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: var(--sp-card);
  display: block;
}

.stimpfl-photo-item a {
  display: block;
  position: relative;
  overflow: hidden;
  text-decoration: none !important;
}

.stimpfl-photo-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: brightness(0.9) saturate(0.95);
  vertical-align: bottom;
}

.stimpfl-photo-item:hover img {
  transform: scale(1.06);
  filter: brightness(1) saturate(1.05);
}

/* Hover vignette overlay — no text here anymore */
.stimpfl-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.45) 0%, transparent 40%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.stimpfl-photo-item:hover .stimpfl-photo-overlay { opacity: 1; }

/* Always-visible info bar below the image */
.stimpfl-photo-info {
  padding: 7px 9px 6px;
  background: var(--sp-card);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.stimpfl-photo-location,
.stimpfl-photo-title {
  color: rgba(225,225,225,0.93);
  font-size: 0.80rem;
  font-weight: 600;
  line-height: 1.3;
  font-family: var(--sp-font-b);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 5px;
}

.stimpfl-photo-date {
  color: rgba(160,160,160,0.70);
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.3;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 5px;
}

.sp-icon {
  font-size: 0.78rem;
  line-height: 1;
  flex-shrink: 0;
}

.stimpfl-photo-desc {
  color: rgba(140,140,140,0.65);
  font-size: 0.68rem;
  line-height: 1.35;
  margin-top: 4px;
  font-style: italic;
  font-family: var(--sp-font-b);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  max-height: 0;
  transition: opacity 0.25s ease, max-height 0.25s ease;
}

.stimpfl-photo-item:hover .stimpfl-photo-desc {
  opacity: 1;
  max-height: 3em;
}

/* Zoom icon on hover */
.stimpfl-photo-zoom {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.stimpfl-photo-item:hover .stimpfl-photo-zoom { opacity: 1; }

/* Buy button bar */
.stimpfl-gallery-buy {
  display: flex;
  gap: 4px;
  padding: 5px 6px;
  background: var(--sp-card);
  border-top: 1px solid rgba(255,255,255,0.04);
}

.stimpfl-btn-buy-small {
  flex: 1;
  background: var(--sp-gold);
  color: #000 !important;
  border-radius: var(--sp-radius);
  padding: 6px 8px;
  font-size: 0.74rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none !important;
  transition: background var(--sp-t);
  letter-spacing: 0.03em;
  font-family: var(--sp-font-b);
  display: block;
}

.stimpfl-btn-buy-small:hover { background: var(--sp-gold-lt); }

.stimpfl-btn-print-small {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--sp-border);
  color: var(--sp-muted) !important;
  border-radius: var(--sp-radius);
  padding: 6px 10px;
  font-size: 0.85rem;
  text-decoration: none !important;
  transition: all var(--sp-t);
  display: block;
}

.stimpfl-btn-print-small:hover { border-color: var(--sp-teal); color: var(--sp-teal) !important; }

/* ================================================================
   MAP SECTION
   ================================================================ */
.stimpfl-map-wrapper {
  padding: 100px 0;
  background: var(--sp-surface);
  border-top: 1px solid var(--sp-border);
  border-bottom: 1px solid var(--sp-border);
}

.stimpfl-map-container {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 0 60px rgba(0,0,0,0.6);
}

.stimpfl-photo-map { border-radius: 4px; }

.leaflet-popup-content-wrapper {
  background: var(--sp-card) !important;
  color: var(--sp-text) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  box-shadow: 0 4px 30px rgba(0,0,0,0.85) !important;
  border-radius: 4px !important;
}

.leaflet-popup-tip { background: var(--sp-card) !important; }

.stimpfl-map-popup img {
  width: 160px;
  height: 110px;
  object-fit: cover;
  border-radius: 2px;
  margin-bottom: 8px;
  display: block;
}

.stimpfl-map-popup h4 {
  margin: 0 0 4px;
  font-size: 0.88rem;
  color: var(--sp-gold);
  font-family: var(--sp-font-h);
  font-weight: 400;
}

.stimpfl-map-popup p  { margin: 2px 0; font-size: 0.76rem; color: var(--sp-muted); }
.stimpfl-map-popup a  { color: var(--sp-teal); text-decoration: none; font-size: 0.76rem; }
.stimpfl-map-popup a:hover { color: var(--sp-gold); }

/* ================================================================
   FANCYBOX EXIF CAPTION
   ================================================================ */
.f-caption .stimpfl-exif-caption {
  padding: 18px 24px;
  color: #ccc;
  background: rgba(0,0,0,0.9);
  border-top: 1px solid rgba(255,255,255,0.06);
  max-width: 800px;
  margin: 0 auto;
  font-family: var(--sp-font-b);
}

.stimpfl-exif-caption .exif-photo-title {
  font-family: var(--sp-font-h);
  font-size: 1.15rem;
  color: var(--sp-white);
  margin: 0 0 5px;
  font-weight: 400;
}

.stimpfl-exif-caption .exif-description {
  font-size: 0.86rem;
  color: #888;
  margin: 0 0 12px;
  font-style: italic;
}

.exif-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.exif-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 3px;
  padding: 4px 10px;
  font-size: 0.77rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.exif-icon  { font-size: 0.82rem; }
.exif-label { color: #777; margin-right: 2px; }
.exif-val   { color: #ddd; font-weight: 500; }
.exif-gps   { flex-basis: 100%; }
.exif-gps a { color: var(--sp-teal); text-decoration: none; }
.exif-gps a:hover { color: var(--sp-gold); }

/* ================================================================
   ABOUT SECTION
   ================================================================ */
.stimpfl-about-section {
  padding: 100px 0;
  background: var(--sp-bg);
  border-top: 1px solid var(--sp-border);
}

.stimpfl-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

@media (max-width: 900px) { .stimpfl-about-grid { grid-template-columns: 1fr; gap: 48px; } }

.stimpfl-about-text h2 {
  font-family: var(--sp-font-h);
  color: var(--sp-white);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 20px;
  font-weight: 400;
  line-height: 1.2;
}

.stimpfl-about-text p {
  color: #999;
  line-height: 1.78;
  margin-bottom: 14px;
  font-size: 0.98rem;
  font-weight: 300;
}

.stimpfl-about-stats {
  display: flex;
  background: var(--sp-card);
  border: 1px solid var(--sp-border);
  border-radius: 4px;
  overflow: hidden;
}

.stimpfl-stat {
  text-align: center;
  flex: 1;
  padding: 44px 16px;
  border-right: 1px solid var(--sp-border);
  transition: background 0.3s ease;
}

.stimpfl-stat:last-child { border-right: none; }
.stimpfl-stat:hover { background: rgba(200,164,90,0.05); }

.stat-number {
  display: block;
  font-family: var(--sp-font-h);
  font-size: 3.2rem;
  color: var(--sp-gold);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  display: block;
  color: var(--sp-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

/* ================================================================
   CONTACTS BLOCK (inside about section)
   ================================================================ */
.stimpfl-contacts {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stimpfl-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  color: var(--sp-text) !important;
  transition: color var(--sp-t);
}

.stimpfl-contact-item:hover { color: var(--sp-gold) !important; }

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--sp-border);
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: border-color var(--sp-t), background var(--sp-t);
}

.stimpfl-contact-item:hover .contact-icon {
  border-color: var(--sp-gold);
  background: rgba(200,164,90,0.08);
}

.contact-icon--fb { color: #4267B2; border-color: rgba(66,103,178,0.35); }
.stimpfl-contact-item:hover .contact-icon--fb { border-color: #4267B2; background: rgba(66,103,178,0.1); }

.contact-icon--ig { color: #C13584; border-color: rgba(193,53,132,0.35); font-size: 1rem; }
.stimpfl-contact-item:hover .contact-icon--ig { border-color: #C13584; background: rgba(193,53,132,0.1); }

.contact-label {
  font-size: 0.88rem;
  font-family: var(--sp-font-b);
  letter-spacing: 0.02em;
}

/* ================================================================
   BUTTONS
   ================================================================ */
.stimpfl-btn {
  display: inline-block;
  padding: 11px 28px;
  border-radius: var(--sp-radius);
  text-decoration: none !important;
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all var(--sp-t);
  cursor: pointer;
  border: none;
  font-family: var(--sp-font-b);
}

.stimpfl-btn-buy { background: var(--sp-gold); color: #000 !important; }
.stimpfl-btn-buy:hover { background: var(--sp-gold-lt); transform: translateY(-1px); }

.stimpfl-btn-print { background: transparent; color: var(--sp-text) !important; border: 1px solid var(--sp-border); }
.stimpfl-btn-print:hover { border-color: var(--sp-teal); color: var(--sp-teal) !important; }

.stimpfl-btn-cta { background: var(--sp-gold); color: #000 !important; font-size: 0.88rem; padding: 14px 40px; }
.stimpfl-btn-cta:hover { background: var(--sp-gold-lt); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(200,164,90,0.3); }

/* ================================================================
   HERO FALLBACK
   ================================================================ */
.stimpfl-hero {
  background: linear-gradient(160deg, #0a0a0a 0%, #141414 50%, #0a0a0a 100%);
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.stimpfl-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(200,164,90,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.stimpfl-hero-title {
  font-family: var(--sp-font-h);
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  color: var(--sp-white);
  margin-bottom: 20px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  position: relative;
}

.stimpfl-hero-sub,
.stimpfl-hero-subtitle {
  font-size: 1.1rem;
  color: #888;
  margin-bottom: 40px;
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.04em;
  position: relative;
}

/* ================================================================
   WP ADMIN
   ================================================================ */
.stimpfl-admin .stimpfl-admin-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.stimpfl-admin .stimpfl-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 20px;
}

.stimpfl-admin .stimpfl-card h3 { margin-top: 0; }

/* ================================================================
   WOOCOMMERCE EXIF TABLE
   ================================================================ */
.stimpfl-product-exif {
  margin: 20px 0;
  padding: 16px;
  background: #1a1a1a;
  border-radius: var(--sp-radius);
  border: 1px solid var(--sp-border);
}

.stimpfl-product-exif h4 { margin-bottom: 12px; color: var(--sp-gold); font-family: var(--sp-font-h); }
.stimpfl-exif-table { width: 100%; border-collapse: collapse; }
.stimpfl-exif-table th { text-align: left; padding: 5px 10px 5px 0; color: #666; font-weight: 500; width: 40%; }
.stimpfl-exif-table td { padding: 5px 0; }

/* ================================================================
   MISC
   ================================================================ */
.stimpfl-no-content {
  text-align: center;
  color: var(--sp-muted);
  padding: 80px 24px;
  font-size: 1rem;
}

/* Fancybox dark */
.fancybox__container { --fancybox-bg: rgba(0,0,0,0.97); }
.fancybox__toolbar { background: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent) !important; }

/* Image loading */
.stimpfl-photo-item img {
  background: #111;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 900px) {
  .stimpfl-video-banner, .stimpfl-no-videos { min-height: 72vh; }
  .stimpfl-banner-content { min-height: 72vh; padding: 80px 20px 60px; }
  body.stimpfl-photo-site .navbar { padding: 12px 0 !important; }
}

@media (max-width: 480px) {
  .stimpfl-album-grid { column-gap: 4px; }
  .stimpfl-photo-item { margin-bottom: 4px; }
  .stimpfl-gallery-section { padding: 64px 0 40px; }
  .stimpfl-about-section, .stimpfl-map-wrapper { padding: 64px 0; }
  .stimpfl-section-subtitle { margin-bottom: 36px; }
}

/* ================================================================
   LOAD MORE PAGINATION
   ================================================================ */
.stimpfl-photo-item.sp-hidden {
  display: none !important;
}

.stimpfl-photo-item.sp-reveal {
  animation: spFadeUp 0.4s ease both;
}

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

.stimpfl-load-more-wrap {
  text-align: center;
  padding: 24px 0 8px;
}

.stimpfl-load-more {
  display: inline-block;
  padding: 12px 36px;
  background: transparent;
  color: var(--sp-gold);
  border: 1px solid var(--sp-gold);
  border-radius: 2px;
  font-family: var(--sp-font-b);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--sp-t), color var(--sp-t);
}

.stimpfl-load-more:hover {
  background: var(--sp-gold);
  color: #000;
}

/* ================================================================
   LANGUAGE SWITCHER (Polylang)
   ================================================================ */
body.stimpfl-photo-site .navbar .pll-parent-menu-item > a,
body.stimpfl-photo-site .navbar li.lang-item > a,
body.stimpfl-photo-site .navbar .lang-item a {
  color: rgba(200, 164, 90, 0.9) !important;
  border: 1px solid rgba(200, 164, 90, 0.4) !important;
  border-radius: 3px !important;
  padding: 3px 8px !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.08em !important;
}

body.stimpfl-photo-site .navbar .pll-parent-menu-item > a:hover,
body.stimpfl-photo-site .navbar li.lang-item > a:hover {
  background: var(--sp-gold) !important;
  color: #000 !important;
}

body.stimpfl-photo-site .navbar .pll-parent-menu-item .sub-menu {
  background: rgba(20,17,14,0.97) !important;
  border: 1px solid rgba(200,164,90,0.2) !important;
  min-width: 90px !important;
}

body.stimpfl-photo-site .navbar .pll-parent-menu-item .sub-menu a {
  color: rgba(220,220,220,0.85) !important;
  border: none !important;
  padding: 6px 14px !important;
  font-size: 0.78rem !important;
}

/* ================================================================
   HEADER-INNER INNER-WRAP: expand full-width
   ================================================================ */
body.stimpfl-photo-site .navbar .header-inner.inner-wrap {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 32px !important;
  padding-right: 32px !important;
  box-sizing: border-box !important;
}

@media (max-width: 768px) {
  body.stimpfl-photo-site .navbar .header-inner.inner-wrap {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* ================================================================
   IPTC PHOTO TITLE + KEYWORD TAGS (gallery cards)
   ================================================================ */
.stimpfl-photo-iptc-title {
  color: var(--sp-white);
  font-size: 0.83rem;
  font-weight: 700;
  font-family: var(--sp-font-h);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.stimpfl-photo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-top: 5px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.25s ease;
}

.stimpfl-photo-item:hover .stimpfl-photo-tags {
  max-height: 5em;
  opacity: 1;
}

.sp-tag {
  display: inline-block;
  background: rgba(200,164,90,0.15);
  border: 1px solid rgba(200,164,90,0.35);
  color: rgba(200,164,90,0.9);
  font-size: 0.65rem;
  font-family: var(--sp-font-b);
  padding: 1px 6px;
  border-radius: 2px;
  line-height: 1.5;
  white-space: nowrap;
}

/* ================================================================
   KEYWORD TAGS in FANCYBOX CAPTION
   ================================================================ */
.exif-caption-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 6px 0 12px;
}

.exif-caption-tags .sp-tag {
  font-size: 0.72rem;
  padding: 2px 8px;
}

/* ================================================================
   ABOUT SECTION — ROUND PROFILE PHOTO
   ================================================================ */
.stimpfl-about-profile {
  margin-bottom: 24px;
}

.stimpfl-profile-avatar {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid rgba(200,164,90,0.55);
  box-shadow: 0 4px 20px rgba(0,0,0,0.45);
  display: block;
}

/* ================================================================
   PHOTO INTERACTIONS — Likes + Star Rating (in Fancybox caption)
   ================================================================ */
.sp-photo-interactions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.07);
  flex-wrap: wrap;
}

/* Like button */
.sp-like-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(230,230,230,0.6);
  font-size: 0.85rem;
  padding: 4px 12px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.sp-like-btn:hover     { color: #ff4477; border-color: rgba(255,68,119,0.45); background: rgba(255,68,119,0.08); }
.sp-like-btn.sp-liked  { color: #ff4477; border-color: rgba(255,68,119,0.55); }
.sp-like-icon { font-size: 1.05rem; line-height: 1; }
.sp-like-count { font-size: 0.8rem; }

/* Star rating */
.sp-star-rating {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
}
.sp-star {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  color: rgba(255,255,255,0.18);
  padding: 0 1px;
  transition: color 0.15s, transform 0.1s;
}
.sp-star:hover,
.sp-star.sp-hover,
.sp-star.sp-star--filled { color: var(--sp-gold); }
.sp-star:active           { transform: scale(1.3); }
.sp-star-rating.sp-rated .sp-star { cursor: default; }
.sp-star-rating.sp-rating-sending .sp-star { opacity: 0.4; pointer-events: none; }

.sp-rating-info {
  margin-left: 5px;
  font-size: 0.76rem;
  color: rgba(190,190,190,0.65);
}
.sp-rating-avg    { color: var(--sp-gold); font-weight: 600; }
.sp-rating-count  { color: rgba(150,150,150,0.6); }
.sp-rating-prompt { font-style: italic; color: rgba(160,160,160,0.5); font-size: 0.72rem; }

/* ================================================================
   MOBILE FANCYBOX CAPTION — compact, scrollable, won't cover photo
   ================================================================ */
@media (max-width: 768px) {
  /* Cap height + allow internal scroll so the photo stays visible */
  .f-caption {
    max-height: 38vh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .f-caption .stimpfl-exif-caption {
    padding: 10px 14px 8px;
  }

  /* Title: slightly smaller */
  .stimpfl-exif-caption .exif-photo-title {
    font-size: 0.92rem;
    margin-bottom: 4px;
    line-height: 1.3;
  }

  /* Tags under caption: smaller pills */
  .exif-caption-tags { gap: 4px; margin: 4px 0 8px; }
  .exif-caption-tags .sp-tag { font-size: 0.62rem; padding: 1px 5px; }

  /* EXIF grid: tighter, smaller text, hide labels (keep icon + value) */
  .exif-grid { gap: 4px; }
  .exif-item {
    padding: 3px 7px;
    font-size: 0.68rem;
    gap: 3px;
  }
  .exif-label { display: none; }        /* hide text labels on mobile, keep icons */
  .exif-icon  { font-size: 0.75rem; }
  .exif-val   { font-size: 0.68rem; }
  .exif-gps   { flex-basis: auto; }     /* don't force GPS to own row on mobile */

  /* Interactions bar */
  .sp-photo-interactions { gap: 14px; margin-top: 10px; padding-top: 8px; }
  .sp-like-btn  { font-size: 0.78rem; padding: 3px 10px; }
  .sp-star      { font-size: 1rem; }
  .sp-rating-info { font-size: 0.68rem; }
}

/* ─── Toast notification ─────────────────────────────────────────────── */
.sp-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: rgba(30,26,20,0.96);
  color: var(--sp-gold);
  border: 1px solid rgba(200,164,90,0.3);
  border-radius: 4px;
  padding: 9px 20px;
  font-size: 0.82rem;
  font-family: var(--sp-font-b);
  z-index: 99999;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.sp-toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
