/* CMS page-builder block styles. Loaded render-blocking in <head> so blocks
   never flash unstyled before their (previously inline) <style> was parsed. */

/* ── hero_fs: full-viewport hero (Alpin Kayak Academy style) ── */
.hero-fs {
  position: relative; height: 100vh; height: 100dvh; width: 100%;
  display: flex; align-items: flex-end; overflow: hidden; padding: 0; margin: 0;
}
/* Background image as a real <img> so the CMS positioner's object-position +
   scale map 1:1 to what's shown in the editor. */
.hero-fs .hero-bg-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 50%; z-index: 0;
}
.hero-fs::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(180deg, rgba(25,26,27,calc(0.30 * var(--cms-photo-overlay, 0.5))) 0%, rgba(25,26,27,0) 30%, rgba(25,26,27,calc(0.60 * var(--cms-photo-overlay, 0.5))) 70%, rgba(25,26,27,min(1, calc(1.70 * var(--cms-photo-overlay, 0.5)))) 100%);
  z-index: 1;
}
.hero-fs::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='600' viewBox='0 0 320 600'%3E%3Cpath d='M160 0 C160 50,140 50,140 100 S160 150,160 200 S140 250,140 300 S160 350,160 400 S140 450,140 500 S160 550,160 600' stroke='%23ffffff' stroke-width='1' fill='none'/%3E%3C/svg%3E");
  background-repeat: repeat; background-size: 320px 600px;
}
.hero-fs .hero-content { position: relative; z-index: 2; width: 100%; padding: 0 4rem 5rem; max-width: 900px; }
.hero-fs .hero-content h1 {
  font-weight: 900; font-size: clamp(2rem, 4.5vw, 3.75rem); color: #fff; line-height: 0.95;
  margin: 0; letter-spacing: -0.03em; text-transform: uppercase;
}
.hero-fs .hero-subtitle {
  font-size: clamp(0.9rem, 1.4vw, 1.1rem); font-weight: 500; color: rgba(255,255,255,0.75);
  margin: 1.25rem 0 0; letter-spacing: 0.02em; max-width: 620px;
}
.hero-fs .hero-ctas { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }
.hero-fs .hero-ctas a {
  padding: 0.9rem 1.8rem; border-radius: 8px; font-weight: 700; font-size: 1rem;
  text-decoration: none; transition: all 0.2s; display: inline-block;
}
.hero-fs .cta-primary { background: var(--green); color: #fff; }
.hero-fs .cta-primary:hover { background: #e05e00; }
.hero-fs .cta-secondary { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.5); backdrop-filter: blur(4px); }
.hero-fs .cta-secondary:hover { background: rgba(255,255,255,0.22); }
.hero-cta-note { margin-top: 0.9rem; font-size: 0.85rem; letter-spacing: 0.01em; color: rgba(255,255,255,0.8); }
.hero-fs .hero-scroll-indicator {
  position: absolute; bottom: 3rem; right: 4rem; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem; cursor: pointer;
}
.hero-fs .scroll-text {
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.2em; color: rgba(255,255,255,0.5); writing-mode: vertical-rl;
}
.hero-fs .scroll-line {
  width: 1px; height: 60px; background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: heroFsScrollPulse 2s ease-in-out infinite;
}
@keyframes heroFsScrollPulse {
  0% { opacity: 1; transform: scaleY(1); } 50% { opacity: 0.3; transform: scaleY(0.5); } 100% { opacity: 1; transform: scaleY(1); }
}
@media (min-width: 1200px) {
  .hero-fs .hero-content { padding: 0 8rem 6rem; }
  .hero-fs .hero-scroll-indicator { right: 8rem; }
}
@media (max-width: 768px) {
  .hero-fs .hero-content { padding: 0 1.5rem 4rem; }
  .hero-fs .hero-content h1 { font-size: clamp(1.75rem, 8vw, 2.75rem); }
  .hero-fs .hero-scroll-indicator { right: 1.5rem; bottom: 2rem; }
  .hero-fs .scroll-text { display: none; }
  .hero-fs .scroll-line { height: 40px; }
}
