/* =========================================
   1. Global Layout & Content Typography
   ========================================= */

:root {
  --lr-dark-blue: #001d43;
  --lr-red: #e5302d;
  --lr-light-blue: #43c1eb;
  --lr-green: #96bf0d;
  --lr-orange: #ea5b0b;

  --lureg-border-radius: 0.75rem;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

html {
  /* This enables the float behavior in Chrome/Edge/Safari */
  overflow-y: overlay;
}

/* --- ADD THIS TO MAKE IT LOOK LIKE AN OVERLAY --- */

/* html::-webkit-scrollbar {
  width: 16px;
}

html::-webkit-scrollbar-track {
  background-color: var(--lr-dark-blue);
}

html::-webkit-scrollbar-thumb {
  background-color: #ebebeb;
  border-radius: 10px;
  border: 2px solid var(--lr-dark-blue);
}

html::-webkit-scrollbar-thumb:hover {
  background-color: #cfcfcf;
} */
/*
@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1600px;
    }
}
*/

#page {
  /* Assumes your main wrapper ID is #page */
  flex: 1 0 auto;
  width: 100%;
}

.site#page {
  display: flex;
  flex-direction: column;
}

div#page {
  padding-top: 0px;
}

.wrapper {
  padding-top: var(--header-height);
}

.wrapper#page-wrapper {
  flex-grow: 1;
}

/* --- FONT DEFINITIONS --- */

/* 1. Define Regular (Weight 400) */
@font-face {
  font-family: "Brandon Text";
  src: url("../fonts/BrandonText-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* 2. Define Black (Weight 900) */
@font-face {
  font-family: "Brandon Text";
  src: url("../fonts/BrandonText-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* 3. SAFETY MAPPING: Map standard "Bold" (700) to the Black file 
   This prevents the browser from creating an ugly "faux bold" 
   if you use <b> tags or standard bold classes. */
@font-face {
  font-family: "Brandon Text";
  src: url("../fonts/BrandonText-Black.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* --- TYPOGRAPHY STYLES --- */

body,
p,
a {
  font-family: "Brandon Text", Arial, sans-serif;
  font-weight: 400;
  /* Uses Regular */
  line-height: 1.6;
  /* Good for Brandon Text (it has a small x-height) */
  font-size: 16px;
  color: var(--lr-dark-blue);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Adds crispness on Mac */
}

li {
  font-family: "Brandon Text", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  font-size: 16px;
  color: var(--lr-dark-blue);
  -webkit-font-smoothing: antialiased;
}

a {
  cursor: pointer !important;
  text-decoration: none;
  /* Optional: standard cleanup */
}

@media (max-width: 767.98px) {
  a>* {
    pointer-events: none;
  }
}

/* --- HEADINGS --- */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Brandon Text", Arial, sans-serif;
  color: var(--lr-dark-blue);
  hyphens: none !important;
  -webkit-hyphens: auto;
  word-wrap: break-word;
  overflow-wrap: break-word;
  margin-top: 0;
  /* Best practice reset */
  text-transform: uppercase;
}

/* "Black für Titel" */
h1,
h2 {
  font-weight: 900;
  line-height: 1.2;
  /* Increased slightly from 1.15 to accommodate Brandon's height */
}

/* "Regular für kleine Titel" (Small Titles) */
h3,
h4,
h5,
h6 {
  font-weight: 400;
  line-height: 1.3;
}

h1 {
  font-size: 40px;
}

h2 {
  font-size: 34px;
}

h3 {
  font-size: 26px;
}

h4 {
  font-size: 16px;
}

/* Special case: Impressum often needs to be bold to stand out */
.impressum-content h4 {
  font-weight: 900;
  font-size: 22px;
}

/* Ensure bold tags use the Black font file */
strong,
b {
  font-weight: 700;
  /* Will map to Black file due to rule #3 above */
}

/* --- TABLET STYLES (≥ 768px) --- */
@media (min-width: 768px) {

  body,
  p,
  a,
  li,
  .wf-button a,
  .wf-button p,
  .sbi_load_btn,
  .sbi_follow_btn {
    font-size: 18px;
  }

  li:last-child {
    margin-bottom: 0;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 44px;
  }

  h3 {
    font-size: 28px;
  }

  h4 {
    font-size: 18px;
  }
}

/* --- DESKTOP STYLES (≥ 1200px) --- */
@media (min-width: 1200px) {

  body,
  p,
  a,
  li,
  .wf-button a,
  .wf-button p,
  .sbi_load_btn,
  .sbi_follow_btn {
    font-size: 20px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 48px;
  }

  h3 {
    font-size: 30px;
  }

  h4 {
    font-size: 20px;
  }
}

/* --- Content Blocks (WF Block) --- */

.wf-block .wf-layout {
  margin-bottom: 1rem;
}

.wf-block .wf-line {
  margin-top: 0;
}

.wf-block .wf-layout p {
  margin-bottom: 0;
  padding-bottom: 0;
}

.wf-block .wf-layout .wf-button {
  margin-top: 0rem;
}

.wf-layout br {
  margin-top: 10px;
  display: block;
  content: " ";
}

.wf-block .wf-layout:last-child,
.wf-block .wf-layout p:last-child,
.wf-block .wf-layout h3:last-child {
  margin-bottom: 0 !important;
}

.wf-block ul {
  margin-bottom: 0;
  list-style-type: circle;
  padding-left: 16px;
}

.wf-block ul li {
  margin-bottom: 0.25rem;
}

.block-intro,
.content-teaser-title {
  margin-bottom: 2rem;
}

.block-intro>*:last-child,
.content-teaser-title>*:last-child {
  margin-bottom: 0;
}

.mce-content-body p {
  font-family: unset !important;
}

@media (min-width: 992px) {
  .wf-block .wf-layout {
    margin-bottom: 1rem;
  }

  .wf-block .col-lg-6.wf-layout:nth-last-child(2) {
    margin-bottom: 0 !important;
  }
}

.post-password-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 20rem;
}

.post-password-form p:last-child {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.post-password-form input[type="password"] {
  padding: 0.3rem 1rem;
  font-size: 18px;
  line-height: 1.6;
  border: 1.5px solid var(--lr-dark-blue);
  box-sizing: border-box;
  border-radius: 50rem;
  width: auto;
  min-width: 0;
}

.post-password-form input[type="submit"] {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 1rem;
  border: 1.5px solid var(--lr-dark-blue) !important;
  background: var(--lr-dark-blue) !important;
  border-radius: 50rem;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: #ffffff !important;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

@media (hover: hover) and (pointer: fine) {
  .post-password-form input[type="submit"]:hover {
    border: 1.5px solid var(--lr-dark-blue) !important;
    background: white !important;
    color: var(--lr-dark-blue) !important;
  }
}

@media (max-width: 480px) {
  .post-password-form input[type="password"] {
    width: 100%;
    max-width: 10rem;
  }
}

@media (max-width: 375px) {
  .post-password-form p:last-child {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================
   2. Logos & Branding
   ========================================= */

.logo-wrapper svg {
  height: auto;
  display: block;
}

@media (max-width: 991.98px) {
  .home .logo-wrapper svg {
    width: auto !important;
    height: 70px !important;
  }

  .custom-offcanvas .right-panel {
    justify-content: flex-start !important;
  }

  .custom-offcanvas .right-panel {
    padding-top: 80px !important;
  }
}


@media (min-width: 992px) {
  .home .logo-wrapper svg {
    width: auto !important;
    height: 140px !important;
  }
}

.menu-inner-wrapper .offcanvas-logo .logo-wrapper svg {
  width: auto !important;
  height: 70px !important;
}

@media (min-width: 992px) {
  .menu-inner-wrapper .offcanvas-logo .logo-wrapper svg {
    width: auto !important;
    height: 100px !important;
  }
}

.logo-black path,
.logo-black rect,
.logo-black circle,
.logo-black polygon,
.logo-black ellipse,
.logo-black line,
.logo-black polyline {
  fill: black;
}

.logo-white path,
.logo-white rect,
.logo-white circle,
.logo-white polygon,
.logo-white ellipse,
.logo-white line,
.logo-white polyline {
  fill: white;
}

.logo-brand path,
.logo-brand rect,
.logo-brand circle,
.logo-brand polygon,
.logo-brand ellipse,
.logo-brand line,
.logo-brand polyline {
  fill: red;
}

/* =========================================
   3. Header Elements & Alerts
   ========================================= */

/* --- Hamburger Icon --- */
#dfHam {
  width: 50px;
  height: 50px;
  transform: rotate(0);
  transition: 0.4s ease-in-out;
  cursor: pointer;
  z-index: 9999;
  color: var(--wfcolor-dark) !important;
  background-color: var(--lr-dark-blue);
  border-radius: 50%;
}

/* Styles for small screen sizes*/
@media (max-width: 992px) {
  #dfHam {
    width: 40px !important;
    height: 40px !important;
  }

  .navbar-toggler .icon.understrap-icon-burger {
    width: 30px !important;
    height: 30px !important;
  }

  .wf-button-cta {
    min-height: 40px !important;
  }

  .fixed-nav-elements {
    padding: .9375rem 0 !important;
  }
}

@media (max-width: 340px) {
  .fixed-nav-elements .wf-button span {
    display: none;
  }
}

wf-button

/* --- Quicklinks --- */
.quicklinks-bar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.quicklinks-bar a {
  font-size: 12px !important;
  text-decoration: none;
  opacity: 0.6;
}

/* --- Alert Banner --- */
.wf-alert-banner {
  width: 100%;
  z-index: 9999;
  text-align: center;
  display: block;
  padding: 10px;
  background: var(--wfcolor-banner);
}

.wf-alert-banner span,
.wf-alert-banner a {
  color: var(--wfcolor-banner-text);
}

@media (min-width: 576px) {
  .wf-alert-banner {
    padding: 0.5rem;
  }

  .wf-alert-banner a {
    margin-left: 1rem;
    display: unset;
  }
}

/* =========================================
   GLOBAL STYLES
   ========================================= */

.navbar-toggler {
  border: none;
  padding: 0;
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

.navbar-toggler .icon.understrap-icon-burger {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Logo Sizing (Updated: Bigger on both) */
.navbar-brand img {
  height: 60px;
  /* Mobile */
  width: auto;
  transition: height 0.3s ease;
}

@media (min-width: 992px) {
  .navbar-brand img {
    height: 110px;
    /* Desktop (Big) */
  }
}

/* =========================================
   NAVBAR & WRAPPERS
   ========================================= */

/* Fixed Nav Elements */
.fixed-nav-elements-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1057;
  pointer-events: none;
  transition: padding-right 0s;
  /* Prevent transition on padding */
}

.fixed-nav-elements {
  pointer-events: auto;
  padding: 0.625rem 0;
  pointer-events: none;
}

.fixed-nav-elements>* {
  pointer-events: auto;
  /* Buttons and Burger become clickable again */
}

.home .fixed-nav-elements {
  padding-top: 1.625rem;
}

/* Navbars */
#wrapper-navbar {
  position: relative !important;
  z-index: 1040;
  margin-bottom: 4rem;
  padding-right: 0px !important;
}

#main-nav {
  position: absolute !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1050;
}

#main-nav.homepage-nav {
  background: transparent;
  border: none;
  padding-right: 0px !important;
}

#main-nav:not(.homepage-nav) {
  background-color: var(--lr-dark-blue) !important;
}

/* =========================================
   HOMEPAGE HEADER (FLEXBOX LAYOUT)
   ========================================= */

body.home .wrapper,
body.home #page-wrapper {
  padding-top: 0 !important;
}

body.menu-is-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow-y: hidden;
  /* Do NOT add top here — it's set dynamically in JS */
}

/* The Main Header Wrapper */
.header-video-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;

  /* Flexbox enabled for both Desktop and Mobile */
  display: flex;
  flex-direction: column;
}

/* Background Video */
.header-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* Dark Overlay */
.header-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
      rgba(0, 29, 67, 0.6) 0%,
      rgba(0, 0, 0, 0) 30%,
      rgba(0, 0, 0, 0) 40%,
      rgba(0, 29, 67, 1) 95%);
  z-index: -1;
}

/* Mobile Diagonal Overlay (Default Hidden) */
.mobile-diagonal-overlay {
  display: none;
}

/* =========================================
   MOBILE LAYOUT (max-width: 991px)
   ========================================= */
@media (max-width: 991px) {
  .header-video-wrapper {
    min-height: 100vh;  /* statt height: 100vh */
    height: auto;
    /* Full viewport height */
    justify-content: flex-end;
    /* Push content to bottom */
  }

  /* The Diagonal Blue Shape */
  .mobile-diagonal-overlay {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45%;
    /* Height of the blue area */
    background-color: var(--lr-dark-blue);
    /* Solid Opaque Color */
    opacity: 0.5;
    /* Force Opaque */
    clip-path: polygon(0 20%, 100% 0, 100% 100%, 0% 100%);
    z-index: 1;
  }

  /* Card Appearance (Transparent Box) */
  .regatta-card {
    background: transparent;
    box-shadow: none;
    padding: 0;
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding-bottom: 5rem;
    text-align: right;
  }

  .regatta-card-wrapper {
    justify-content: flex-end;
  }

  /* Typography - FORCE WHITE */
  .card-content,
  .card-content h1,
  .card-content h2,
  .card-content p,
  .card-content * {
    color: #ffffff !important;
    text-shadow: none;
  }

  .card-content {
    font-size: 32px;
    font-weight: 800;
    text-transform: uppercase;
    text-align: right;
  }

  /* Buttons */
  .card-actions {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

@media (max-width: 991px) {
  .header-bg-video,
  .header-video-overlay {
    min-height: 100%;
  }
}

@media (max-width: 991px) {
  .regatta-card-wrapper {
    padding-top: 35vh;
  }
}

@media (max-height: 500px) {
  .card-content {
    font-size: 18px;
  }
  
  .regatta-card {
    padding-bottom: 2rem;
  }
  
  .card-actions .wf-button {
    font-size: 14px;
    padding: 0.2rem 0.75rem;
  }
}

@media (max-width: 768px) {
  .card-content {
    font-size: 30px;
  }
}

@media (max-width: 576px) {
  .card-content {
    font-size: 26px;
  }
}

@media (max-width: 420px) {
  .card-content {
    font-size: 22px;
  }
}

@media (max-width: 340px) {
  .card-content {
    font-size: 18px;
  }
}

/* =========================================
   DESKTOP LAYOUT (min-width: 992px)
   ========================================= */
@media (min-width: 992px) {
  .header-video-wrapper {
    height: 80vh;
    /* Or 50vh, based on preference */
    justify-content: flex-end;
    /* Center Vertically */
  }

  /* Card Appearance (Dark Box) */
  .regatta-card {
    border-radius: 12px;
    padding-bottom: 3rem;
    color: white;
    font-weight: 700;
    font-size: 3rem;
    max-width: 800px;
  }

  .card-actions {
    flex-wrap: wrap;
  }

  .regatta-card-wrapper .wf-button-inverted {
    font-size: 24px;
  }
}

/* =========================================
   OFFCANVAS - SMOOTH TRANSITIONS
   ========================================= */

/* Offcanvas Base */
.custom-offcanvas {
  width: 100% !important;
  background: transparent;
  border: none;
  height: 100vh !important;
  z-index: 1055;
  visibility: hidden;
  /* Smooth slide animation */
  transition:
    transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
    visibility 0s 0.4s !important;
}

.custom-offcanvas.show {
  visibility: visible !important;
  transition:
    transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
    visibility 0s 0s !important;
}

/* Offcanvas when hiding (sliding out) */
.custom-offcanvas.hiding {
  transform: translateX(100%) !important;
  transition:
    transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
    visibility 0s 0.4s !important;
}

.custom-offcanvas .right-panel {
  background-color: var(--lr-dark-blue);
  min-height: 100vh;
  position: relative;
  height: 100vh;        /* ADD THIS */
  overflow-y: auto;     /* ADD THIS */
  padding-top: 100px !important;
}

/* Backdrop Smooth Transition */
.offcanvas-backdrop {
  transition: opacity 0.4s ease !important;
  --bs-backdrop-zindex: 1040;
}

.menu-inner-wrapper {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.main-menu-list .nav-link {
  font-size: 1.5rem !important;
  font-weight: 700;
  color: #fff !important;
  transition: opacity 0.3s ease-in;
  text-transform: uppercase;
}

@media (hover: hover) and (pointer: fine) {
  .main-menu-list .nav-link:hover {
    opacity: 0.6;
  }
}

/* .main-menu-list .nav-link:not(.dropdown-toggle):hover {
  opacity: 0.6;
} */

@media (min-width: 991px) {
  .main-menu-list .nav-link {
    font-size: 2.2rem !important;
  }
}

.menu-separator {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.4);
  margin: 2rem 0;
}

@media (max-width: 990.98px) {
  .menu-separator {
    margin: 1rem 0;
  }
}


.nav-language ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 10px;
}

.nav-language a {
  color: #fff;
  text-decoration: none;
}

.nav-language li:not(:last-child):after {
  content: "|";
  color: #fff;
  margin-left: 10px;
  margin-top: 3px;
}

@media (max-width: 991px) {
  .menu-inner-wrapper {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .offcanvas-cta-wrapper {
    display: flex;
    justify-content: center;
  }
}

/* =========================================
   OFFCANVAS ACCORDION MENU STYLES
   ========================================= */

/* 1. Reset the dropdown to be inline (Static) */
.custom-offcanvas .dropdown-menu {
  position: static !important;
  float: none !important;
  transform: none !important;
  /* Disables Popper.js positioning */
  display: none;
  /* JS will handle the display */
  width: 100%;
  margin-top: 0;

  /* Remove the "White Box" look */
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;

  /* Indentation for hierarchy look */
  padding-left: 20px;
  padding-top: 0;
  padding-bottom: 10px;
}

/* 2. Styling the Submenu Links */
.custom-offcanvas .dropdown-menu .dropdown-item {
  font-size: 18px;
  /* Smaller than parent */
  padding: 8px 0;
  font-weight: 400;
  white-space: normal;
  /* Allow wrapping on mobile */
  color: white !important;
  transition: opacity 0.3s ease-in;
}

.custom-offcanvas .dropdown-menu .dropdown-item:focus {
  background: transparent !important;
  color: #fff !important;
  opacity: 0.6;
}

@media (hover: hover) and (pointer: fine) {
  .custom-offcanvas .dropdown-menu .dropdown-item:hover {
    background: transparent !important;
    color: #fff !important;
    opacity: 0.6;
  }
}

@media (min-width: 991px) {
  .custom-offcanvas .dropdown-menu .dropdown-item {
    font-size: 24px;
  }
}

/* 3. Optional: Arrow Rotation Helper Class */
/* We will toggle this class via JS on the <a> tag */
.dropdown-toggle.arrow-down::after {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

.dropdown-toggle::after {
  transition: transform 0.3s ease;
  margin-left: 10px;
  /* Space between text and arrow */
  vertical-align: middle;
}

@media (max-width: 991px) {
  .custom-offcanvas .right-panel {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    min-height: 100vh;
    padding-top: 80px !important;
  }
}

.home .header-wave-block {
  display: block !important;
}

/* --- 5. WAVES --- */
.header-wave-block {
  display: none;
  width: 100%;
  line-height: 0;
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.header-wave-img {
  display: block;
  width: 100%;
  min-width: 100%;
  height: 100px;
  -o-object-fit: fill;
  object-fit: fill;
  rotate: 180deg;
}

@media (min-width: 1600px) {
  .header-wave-img {
    height: 100px;
  }
}

@media (max-width: 991px) {
  .header-wave-img {
    height: 60px;
  }
}

/* =========================================
   5. Buttons & CTAs
   ========================================= */

/* Base Button Shape & Layout */
.wf-button {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 1rem;
  border: 1.5px solid var(--lr-dark-blue) !important;
  background: var(--lr-dark-blue) !important;
  border-radius: 50rem;
  /* Pill Shape */
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .wf-button:hover {
    border: 1.5px solid var(--lr-dark-blue) !important;
    background: white !important;
  }
}

.wf-button a,
.wf-button p {
  color: #ffffff !important;
}

@media (hover: hover) and (pointer: fine) {
  .wf-button:hover a,
  .wf-button:hover p {
    color: var(--wfcolor-cta) !important;
  }
}

/* 
   New CTA Class (Green Background, White Text) 
   Used for the top right header button 
*/
.wf-button-cta {
  background-color: var(--lr-green) !important;
  border-color: var(--lr-green) !important;
  color: #fff !important;
  /* White text */
  padding: 0.6rem 1.25rem;
  min-height: 50px;
}

@media (hover: hover) and (pointer: fine) {
  .wf-button-cta:hover {
    background-color: white !important;
    border-color: var(--lr-green) !important;
    color: var(--lr-green) !important;
    /* Green text on hover */
  }
}

@media (max-width: 991px) {
  .wf-button-cta {
    padding: 0.3rem 1rem;
  }
}

/* Inverted Style (Transparent Background, White Border) */
.wf-button-inverted {
  background-color: var(--lr-dark-blue);
  border-color: #fff !important;
  color: #fff !important;
}

@media (hover: hover) and (pointer: fine) {
  .wf-button-inverted:hover {
    background-color: #fff;
    color: var(--lr-dark-blue, #000) !important;
    border-color: #fff !important;
  }
}

/* Mobile/Offcanvas specific */
.offcanvas-cta-wrapper .wf-button {
  width: 100%;
  justify-content: center;
}

/* Dark Background Context */
.dark-bg .wf-button {
  background: var(--wfcolor-light);
  border-color: var(--wfcolor-light) !important;
  color: #1a1a1a;
}

.dark-bg .wf-button a,
.dark-bg .wf-button p {
  color: #1a1a1a;
}

@media (hover: hover) and (pointer: fine) {
  .dark-bg .wf-button:hover {
    background: none;
    border-color: var(--wfcolor-light) !important;
    color: var(--wfcolor-light);
  }
}

@media (hover: hover) and (pointer: fine) {
  .dark-bg .wf-button:hover a,
  .dark-bg .wf-button:hover p {
    color: var(--wfcolor-light);
  }
}

/* Button Wrappers */
.wf-button-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wf-button-wrapper .wf-button a,
.wf-button-wrapper .wf-button p {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wf-button-wrapper .wf-button a span,
.wf-button-wrapper .wf-button p span {
  font-size: 20px;
}

/* Text Links */
.wf-open-form {
  color: var(--wfcolor-light);
  font-size: 20px;
  display: block;
  font-weight: 300;
  transition: 0.4s ease;
  line-height: 1;
  text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
  .wf-open-form:hover {
    color: var(--wfcolor-dark);
  }
}

/* =========================================
   6. UI Components
   ========================================= */

.modal-content {
  padding: 2rem;
}

/* --- Event Badges --- */
.event-badge {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  background-color: var(--wfcolor-dark);
  color: var(--wfcolor-light);
  padding: 3px 15px;
  border-radius: 25px;
  z-index: 3;
}

.badge-container {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

/* =========================================
   7. Media & Embeds
   ========================================= */

.youtube-player {
  display: block;
  padding-bottom: 56.25%;
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 0;
  cursor: pointer;
}

.youtube-player img.youtube-thumbnail {
  bottom: 0;
  display: block;
  left: 0;
  margin: auto;
  max-width: 100%;
  width: 100%;
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  transition: 0.4s ease;
}

@media (hover: hover) and (pointer: fine) {
  .youtube-player img.youtube-thumbnail:hover {
    opacity: 0.7;
  }
}

.youtube-player div.youtube-play-btn {
  height: 72px;
  width: 72px;
  left: 50%;
  top: 50%;
  margin-left: -36px;
  margin-top: -36px;
  position: absolute;
  background: url("/wp-content/themes/understrap-child/img/play-fill.svg") no-repeat center center;
  background-size: 72px 72px;
  transition: 0.4s ease;
  z-index: 1;
}

@media (hover: hover) and (pointer: fine) {
  .youtube-player div.youtube-play-btn:hover {
    transform: scale(0.9);
  }
}

.youtube-player .youtube-iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

/* =========================================
   8. Page Specific Sections
   ========================================= */

/* --- 2. FOOTER WRAPPER --- */
.footer-outer-wrapper {
  flex-shrink: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  display: block;
}

.site-footer {
  background-color: #001d43;
  /* Dark Blue */
  color: #ffffff;
  width: 100%;
  margin-top: -1px;
  position: relative;
}

.footer-bg-layer {
  width: 100%;
  padding: 2rem 0 4rem 0;
  position: relative;
  overflow: hidden;
  /* Keeps the background image contained */

  /* === IMPORTANT FIX === */
  max-height: none !important;
  /* Allow the footer to grow infinitely */
  height: auto;
}

/* --- 3. BACKGROUND IMAGE (Contained) --- */
.footer-bg-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 500px;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
  display: flex;
  justify-content: center;
  padding-bottom: 0;
  /* Removed padding to sit flush on bottom */
}

.footer-bg-image-wrapper img {
  height: 100%;
  /* Ensures the image covers the CONTAINER area */
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
  display: block;
}

/* --- 4. QUICKLINKS (Spacing Fix) --- */
.footer-quicklinks {
  margin-top: 0;
  padding: 0;
  display: flex;
  justify-content: flex-end;
  /* Right align on desktop */
  align-items: center;
  /* FIX: Large gap on desktop */
  gap: 1.5rem;
}

.custom-footer-menu {
  margin-top: 0;
  display: flex;
  justify-content: flex-start;
  row-gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-quicklinks li,
.custom-footer-menu a {
  margin: 0;
  /* Remove default margins, rely on gap */
}

.footer-quicklinks a,
.custom-footer-menu a {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.3s ease-in;
}

.site-footer a {
  color: #ffffff !important;
  transition: opacity 0.3s ease-in;
  margin-left: 0 !important;
}

@media (hover: hover) and (pointer: fine) {
  .footer-quicklinks a:hover,
  .custom-footer-menu a:hover {
    color: #ffffff !important;
    opacity: 0.7;
  }
}

@media (hover: hover) and (pointer: fine) {
  .site-footer a:hover {
    opacity: 0.7 !important;
  }
}

.footer-content-container {
  padding-bottom: 2rem;
}

.footer-custom-menu-links {
  display: flex;
  column-gap: 1.5rem;
  flex-wrap: wrap;
}

/* --- 5. WAVES --- */
.footer-wave-block {
  width: 100%;
  line-height: 0;
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.footer-wave-img {
  display: block;
  width: 100%;
  min-width: 100%;
  height: 100px;
  -o-object-fit: fill;
  object-fit: fill;
}

@media (min-width: 1600px) {
  .footer-wave-img {
    height: 100px;
  }

  .footer-content-container {
    padding-bottom: 4rem;
  }
}

@media (max-width: 991px) {
  .footer-wave-img {
    height: 60px;
  }

  .footer-bg-layer {
    padding: 2rem 0 2rem 0;
  }

  .footer-content-container {
    padding-bottom: 0rem;
  }
}

/* --- 6. LOGO & ACCORDION (Renamed to FooterAccordion) --- */
.footer-logo-img {
  max-width: 250px;
  height: auto;
}

.FooterAccordion .accordion-body {
  padding: 1rem 0rem;
}

.FooterAccordion .site-map-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem 1rem;
  margin: 0;
  width: 100%;
}

.FooterAccordion .footer-nav-col {
  margin-bottom: 0;
  padding: 0;
}

@media (max-width: 576px) {
  .FooterAccordion .site-map-wrap {
    grid-template-columns: 1fr;
    gap: 1.5rem 1rem;
  }
}

.FooterAccordion .accordion-item {
  border: none;
  border-top: 1px solid #ffffff !important;
  border-bottom: 1px solid #ffffff !important;
}

.FooterAccordion .accordion-button {
  background: transparent;
  color: #ffffff;
  padding: 0.75rem 0;
  font-size: 20px;
  box-shadow: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.FooterAccordion .accordion-button:not(.collapsed) {
  background: transparent;
  color: #ffffff;
}

.FooterAccordion .accordion-button::after {
  display: none;
}

/* Plus Animation Icon (Force White) */
.FooterAccordion .plus-animation {
  width: 15px;
  height: 15px;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  margin-right: 0.5rem;
}

.FooterAccordion .plus-animation span {
  position: absolute;
  background-color: #ffffff !important;
  /* Force White */
  border-radius: 2px;
  transition: all 0.3s ease;
}

.FooterAccordion .plus-animation span:nth-child(1) {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.FooterAccordion .plus-animation span:nth-child(2) {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.FooterAccordion .accordion-button:not(.collapsed) .plus-animation span:nth-child(2) {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

/* --- 7. TYPOGRAPHY & SOCIALS --- */
.menu-main-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
  .menu-main-title:hover {
    color: #fff;
    opacity: 1;
  }
}

.subnav-link {
  color: #fff;
  text-decoration: none;
  opacity: 1;
  margin-bottom: 0.25rem;
  transition: opacity 0.7 ease-in;
}

@media (hover: hover) and (pointer: fine) {
  .subnav-link:hover {
    opacity: 0.7;
  }
}

.copyright-text,
.footer-meta-link {
  color: #ffffff;
  text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
  .footer-meta-link:hover {
    opacity: 1;
  }
}

.social-icon-link {
  color: #ffffff;
  font-size: 1.5rem;
  text-decoration: none;
  display: inline-block;
  transition:
    opacity 0.3s ease,
}

@media (hover: hover) and (pointer: fine) {
  .social-icon-link:hover {
    opacity: 0.7;
  }
}

/* --- 8. MOBILE TWEAKS --- */
@media (max-width: 991px) {
  .footer-quicklinks {
    margin-top: 1rem;
    text-align: left;
    justify-content: flex-start;
    /* Left align on mobile */
    gap: 1rem;
    /* Smaller gap on mobile */
    flex-wrap: wrap;
  }

  .footer-logo-img {
    max-width: 180px;
  }

  .footer-bottom-row {
    flex-direction: column-reverse;
  }

  .footer-bottom-row .col-md-4 {
    text-align: left !important;
    margin-bottom: 1rem;
    width: 100%;
  }

  .footer-bottom-row .col-md-8 {
    width: 100%;
  }

  .social-icon-link {
    margin-left: 0 !important;
    margin-right: 1rem;
  }
}

/* Custom styling for donate modal */
#donateModal .modal-dialog {
  max-width: 800px;
  margin: 0 auto;
  min-height: calc(100vh - 3.5rem);
  display: flex;
  align-items: center;
}

#donateModal .modal-content {
  border-radius: 1rem;
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  width: 100%;
}

#donateModal .modal-header {
  border-bottom: 1px solid #e9ecef;
  padding: 1.5rem 2rem;
}

#donateModal .modal-title {
  font-size: 1.75rem;
  font-weight: 600;
}

#donateModal .modal-body {
  padding: 2rem;
  font-size: 1.1rem;
}

#donateModal .modal-footer {
  border-top: 1px solid #e9ecef;
  padding: 1.5rem 2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #donateModal .modal-dialog {
    max-width: 90%;
    min-height: calc(100vh - 2rem);
  }

  #donateModal .modal-body,
  #donateModal .modal-header,
  #donateModal .modal-footer {
    padding: 1.25rem;
  }
}

/* =========================================
   9. Utilities & Helpers
   ========================================= */

/* --- Scroll to Top Button --- */
#scrollToTopBtn {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  border: none;
  outline: none;
  background-color: var(--wfcolor-cta);
  color: white;
  cursor: pointer;
  padding: 15px;
  padding-top: 19px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition:
    opacity 0.2s,
    visibility 0.2s,
    background-color 0.2s;
}

#scrollToTopBtn.show {
  opacity: 1;
  visibility: visible;
}

@media (hover: hover) and (pointer: fine) {
  #scrollToTopBtn:hover {
    opacity: 0.8;
  }
}

@media (max-width: 575.98px) {
  #scrollToTopBtn {
    bottom: 20px;
    right: 20px;
  }
}

/* =========================================
   10. Animations
   ========================================= */

.motion_reveal {
  position: relative;
  transform: translateY(150px);
  opacity: 0;
  transition: 1s all ease;
}

.motion_reveal.motion_active {
  transform: translateY(0);
  opacity: 1;
}

.motion_reveal_menu {
  position: relative;
  transform: translateY(150px);
  opacity: 0;
  transition: 0.5s all ease;
}

.motion_reveal_menu.motion_active {
  transform: translateY(0);
  opacity: 1;
}

/* =========================================
   11. Aktuelles page (/aktuelles/)
   ========================================= */

#aktuelles-page-wrapper .subref-img .img-wrapper img {
  border-radius: var(--lureg-border-radius);
}

#aktuelles-page-wrapper h3 {
  font-weight: 700;
  font-size: 22px;
}

@media (min-width: 1200px) {
  #aktuelles-page-wrapper h3 {
    font-size: 28px;
  }
}

@media (min-width: 768px) {
  #aktuelles-page-wrapper h3 {
    font-size: 24px;
  }
}

/* =========================================
   12. Vendor Plugins (PhotoSwipe)
   ========================================= */

.pswp {
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  overflow: hidden;
  touch-action: none;
  z-index: 1500;
  -webkit-text-size-adjust: 100%;
  backface-visibility: hidden;
  outline: none;
}

.pswp * {
  box-sizing: border-box;
}

.pswp img {
  max-width: none;
}

.pswp--animate_opacity {
  opacity: 0.001;
  will-change: opacity;
  transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1);
}

.pswp--open {
  display: block;
}

.pswp--zoom-allowed .pswp__img {
  cursor: zoom-in;
}

.pswp--zoomed-in .pswp__img {
  cursor: grab;
}

.pswp--dragging .pswp__img {
  cursor: grabbing;
}

.pswp__bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: opacity;
  transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1);
}

.pswp__scroll-wrap {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.pswp__container,
.pswp__zoom-wrap {
  touch-action: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  backface-visibility: hidden;
}

.pswp__zoom-wrap {
  width: 100%;
  transform-origin: left top;
  transition: transform 333ms cubic-bezier(0.4, 0, 0.22, 1);
}

.pswp--animated-in .pswp__bg,
.pswp--animated-in .pswp__zoom-wrap {
  transition: none;
}

.pswp__item {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  overflow: hidden;
}

.pswp__img {
  position: absolute;
  width: auto;
  height: auto;
  top: 0;
  left: 0;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

.pswp__img--placeholder {
  backface-visibility: hidden;
}

.pswp__img--placeholder--blank {
  opacity: 0;
  background: #222;
}

.pswp--ie .pswp__img {
  width: 100% !important;
  height: auto !important;
  left: 0;
  top: 0;
}

.pswp__error-msg {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  text-align: center;
  font-size: 14px;
  line-height: 16px;
  margin-top: -8px;
  color: #ccc;
}

.pswp__error-msg a {
  color: #ccc;
  text-decoration: underline;
}

.pswp__button {
  width: 44px;
  height: 44px;
  position: relative;
  background: none;
  cursor: pointer;
  overflow: visible;
  -webkit-appearance: none;
  display: block;
  border: 0;
  padding: 0;
  margin: 0;
  float: right;
  transition: opacity 0.2s;
  box-shadow: none;
  color: white;
  opacity: 0.5;
}

.pswp__button:focus {
  opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
  .pswp__button:hover {
    opacity: 1;
  }
}

.pswp__button:active {
  outline: none;
  opacity: 0.9;
}

.pswp__button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

.pswp__ui--over-close .pswp__button--close {
  opacity: 1;
}

.pswp__button,
.pswp__button--arrow--left:before,
.pswp__button--arrow--right:before {
  background-size: unset;
  width: auto;
  height: auto;
}

@media (min-resolution: 105dpi),
(min-resolution: 1.1dppx) {

  .pswp--svg .pswp__button,
  .pswp--svg .pswp__button--arrow--left:before,
  .pswp--svg .pswp__button--arrow--right:before {
    background-image: none;
  }

  .pswp--svg .pswp__button--arrow--left,
  .pswp--svg .pswp__button--arrow--right {
    background: none;
  }
}

.pswp__button--close {
  background-position: 0 -44px;
  height: 44px;
  line-height: 44px;
  color: #fff;
  font-size: 2rem;
}

.pswp__button--share {
  background-position: -44px -44px;
}

.pswp__button--fs {
  display: none;
}

.pswp--supports-fs .pswp__button--fs {
  display: block;
}

.pswp--fs .pswp__button--fs {
  background-position: -44px 0;
}

.pswp__button--zoom {
  display: none;
  background-position: -88px 0;
}

.pswp--zoom-allowed .pswp__button--zoom {
  display: block;
}

.pswp--zoomed-in .pswp__button--zoom {
  background-position: -132px 0;
}

.pswp--touch .pswp__button--arrow--left,
.pswp--touch .pswp__button--arrow--right {
  visibility: hidden;
}

.pswp__button--arrow--left,
.pswp__button--arrow--right {
  background: none;
  top: 50%;
  margin-top: -50px;
  width: 70px;
  height: 100px;
  position: absolute;
  font-size: 2rem;
}

.pswp__button--arrow--left {
  left: 0;
}

.pswp__button--arrow--right {
  right: 0;
}

.pswp__button--arrow--left:before {
  background-position: -138px -44px;
}

.pswp__button--arrow--right:before {
  background-position: -94px -44px;
}

.pswp__share-modal {
  display: block;
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  padding: 10px;
  position: absolute;
  z-index: 1600;
  opacity: 0;
  transition: opacity 0.25s ease-out;
  backface-visibility: hidden;
  will-change: opacity;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.pswp__share-modal--hidden {
  display: none;
}

.pswp__share-tooltip {
  z-index: 1620;
  position: absolute;
  background: #fff;
  top: 56px;
  border-radius: 2px;
  display: block;
  width: auto;
  right: 44px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
  transform: translateY(6px);
  transition: transform 0.25s;
  backface-visibility: hidden;
  will-change: transform;
}

.pswp__share-tooltip a {
  display: block;
  padding: 8px 12px;
  color: #000;
  text-decoration: none;
  font-size: 14px;
  line-height: 18px;
}

@media (hover: hover) and (pointer: fine) {
  .pswp__share-tooltip a:hover {
    text-decoration: none;
    color: #000;
  }
}

.pswp__share-tooltip a:first-child {
  border-radius: 2px 2px 0 0;
}

.pswp__share-tooltip a:last-child {
  border-radius: 0 0 2px 2px;
}

.pswp__share-modal--fade-in {
  opacity: 1;
}

.pswp__share-modal--fade-in .pswp__share-tooltip {
  transform: translateY(0);
}

.pswp--touch .pswp__share-tooltip a {
  padding: 16px 12px;
}

a.pswp__share--facebook:before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  top: -12px;
  right: 15px;
  border: 6px solid transparent;
  border-bottom-color: #fff;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  a.pswp__share--facebook:hover {
    background: #3e5c9a;
    color: #fff;
  }
}

@media (hover: hover) and (pointer: fine) {
  a.pswp__share--facebook:hover:before {
    border-bottom-color: #3e5c9a;
  }
}

@media (hover: hover) and (pointer: fine) {
  a.pswp__share--twitter:hover {
    background: #55acee;
    color: #fff;
  }
}

@media (hover: hover) and (pointer: fine) {
  a.pswp__share--pinterest:hover {
    background: #ccc;
    color: #ce272d;
  }
}

@media (hover: hover) and (pointer: fine) {
  a.pswp__share--download:hover {
    background: #ddd;
  }
}

.pswp__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  min-height: 44px;
  backface-visibility: hidden;
  background-color: rgba(0, 0, 0, 0.5);
}

.pswp__caption small {
  font-size: 11px;
  color: #bbb;
}

.pswp__caption--empty {
  display: none;
}

.pswp__caption--fake {
  visibility: hidden;
}

.pswp__caption__center {
  text-align: center;
  font-size: 1rem;
  max-width: 420px;
  margin: 0 auto;
  padding: 10px;
  color: #fff;
}

.pswp__preloader {
  width: 44px;
  height: 44px;
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -22px;
  opacity: 0;
  transition: opacity 0.25s ease-out;
  will-change: opacity;
  direction: ltr;
}

.pswp__preloader__icn {
  width: 20px;
  height: 20px;
  margin: 12px;
}

.pswp__preloader--active {
  opacity: 1;
}

.pswp__preloader--active .pswp__preloader__icn {
  background: url(preloader.gif) 0 0 no-repeat;
}

.pswp--css_animation .pswp__preloader--active {
  opacity: 1;
}

.pswp--css_animation .pswp__preloader--active .pswp__preloader__icn {
  animation: clockwise 500ms linear infinite;
  background: none;
  opacity: 0.75;
  width: 14px;
  height: 14px;
  position: absolute;
  left: 15px;
  top: 15px;
  margin: 0;
}

.pswp--css_animation .pswp__preloader--active .pswp__preloader__donut {
  animation: donut-rotate 1000ms cubic-bezier(0.4, 0, 0.22, 1) infinite;
  box-sizing: border-box;
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  border-radius: 50%;
  border-left-color: transparent;
  border-bottom-color: transparent;
  position: absolute;
  top: 0;
  left: 0;
  background: none;
  margin: 0;
}

.pswp--css_animation .pswp__preloader__cut {
  position: relative;
  width: 7px;
  height: 14px;
  overflow: hidden;
}

@media screen and (max-width: 1024px) {
  .pswp__preloader {
    position: relative;
    left: auto;
    top: auto;
    margin: 0;
    float: right;
  }
}

@keyframes clockwise {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes donut-rotate {
  0% {
    transform: rotate(0);
  }

  50% {
    transform: rotate(-140deg);
  }

  100% {
    transform: rotate(0);
  }
}

.pswp__ui {
  -webkit-font-smoothing: auto;
  visibility: visible;
  opacity: 1;
  z-index: 1550;
}

.pswp__top-bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 44px;
  width: 100%;
  backface-visibility: hidden;
  background: linear-gradient(180deg,rgba(0, 0, 0, 0.5) 0%, rgba(255, 255, 255, 0) 100%);
}

.pswp--has_mouse .pswp__button--arrow--left,
.pswp--has_mouse .pswp__button--arrow--right {
  visibility: visible;
  backface-visibility: hidden;
}

.pswp__ui--fit .pswp__top-bar,
.pswp__ui--fit .pswp__caption {
  background-color: #000;
}

.pswp__ui--idle .pswp__top-bar {
  opacity: 0;
}

.pswp__ui--idle .pswp__button--arrow--left,
.pswp__ui--idle .pswp__button--arrow--right {
  opacity: 0;
}

.pswp__ui--hidden .pswp__top-bar,
.pswp__ui--hidden .pswp__caption,
.pswp__ui--hidden .pswp__button--arrow--left,
.pswp__ui--hidden .pswp__button--arrow--right {
  opacity: 0.001;
}

.pswp__ui--one-slide .pswp__button--arrow--left,
.pswp__ui--one-slide .pswp__button--arrow--right,
.pswp__ui--one-slide .pswp__counter {
  display: none;
}

.pswp__element--disabled {
  display: none !important;
}

.pswp--minimal--dark .pswp__top-bar {
  background: none;
}

.pswp__button--arrow .pswp__icn {
    top: 50%;
    margin-top: -30px;
    width: 40px !important;
    height: 40px !important;
    background: 0 0;
    border-radius: 0;
}


/* 1. Grundzustand: Bilder sind NICHT zoombar -> Standard Cursor (keine Lupe, kein Minus) */
.pswp__img {
    cursor: default !important;
}

/* 2. Wenn PhotoSwipe sagt "Zoom erlaubt" (Ihr entdeckter Wrapper): Lupe mit Plus */
.pswp--zoom-allowed .pswp__img {
    cursor: zoom-in !important;
    cursor: -webkit-zoom-in !important;
}

/* 3. Wenn das Bild TATSÄCHLICH gezoomt ist: Lupe mit Minus */
/* (pswp--zoomed-in wird von PhotoSwipe hinzugefügt, wenn man reinzoomt) */
.pswp--click-to-zoom.pswp--zoomed-in .pswp__img {
    cursor: move !important;
    cursor: -webkit-grab !important;
    cursor: -moz-grab !important;
    cursor: grab !important;
}
/*# sourceMappingURL=child-theme-wf.css.map */

/* =========================================
   Instagram Feed - Border Radius & Styling
   ========================================= */

#sb_instagram .sbi_inner_wrap {
  border-radius: var(--lureg-border-radius) !important;
}

#sb_instagram .sbi_bio_info {
  display: none !important;
}

#sb_instagram .sbi_date {
  color: #ffffff;
}

@media (max-width: 480px) {
  #sb_instagram .sbi_item {
    padding-left: 0px !important;
    padding-right: 0px !important;
    padding-bottom: 0.75rem !important;
    padding-top: 0px !important;
    width: 100% !important;
  }
}

#sbi_lightbox .sbi_lb-data .sbi_lb-caption a {
  font-weight: 400 !important;
}

#sbi_lightbox .sbi_lb-data .sbi_lb-caption,
#sbi_lightbox .sbi_lightbox_username p {
  font-size: inherit !important;
  line-height: inherit !important;
}

/* Rounds the Left corners (Top-Left, Bottom-Left) */
#sbi_lightbox .sbi_lb-container,
#sbi_lightbox .sbi_lb-container-wrapper {
  border-radius: var(--lureg-border-radius) 0 0 var(--lureg-border-radius) !important;
}

#sbi_lightbox .sbi_lb-outerContainer {
  border-radius: var(--lureg-border-radius);
}

/* Rounds the Right corners (Top-Right, Bottom-Right) */
.sbi_lb-comments-enabled .sbi_lb-dataContainer {
  border-radius: 0 var(--lureg-border-radius) var(--lureg-border-radius) 0 !important;
  overflow: hidden !important;
}

#sbi_lightbox .sbi_video {
  object-fit: fill !important;
  border-radius: 0px !important;
}

/* =========================================
   Instagram Feed - Scroll Lock
   ========================================= */

/* Lock body scroll when lightbox is open */
body.sbi-no-scroll,
html.sbi-no-scroll {
  overflow: hidden !important;
}

body.sbi-no-scroll {
  position: fixed !important;
  width: 100% !important;
}

/* Fix overlay position */
#sbi_lightboxOverlay {
  position: fixed !important;
  width: 100% !important;
  height: 100% !important;
  top: 0 !important;
  left: 0 !important;
}

/* Fix lightbox position */
#sbi_lightbox {
  position: fixed !important;
}

/* Allow scrolling only inside caption area */
#sbi_lightbox .sbi_lb-dataContainer {
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

/* =========================================
   Instagram Feed - Styling
   ========================================= */

#sbi_lightbox .sbi_lb-image {
  object-fit: fill;
}

/* =========================================
   Smash Balloon Instagram Feed Buttons
   ========================================= */

/* Make button container flex row */
#sb_instagram #sbi_load {
  display: flex !important;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: row !important;
}

/* Base styles - must match plugin specificity */
#sb_instagram #sbi_load .sbi_load_btn,
#sb_instagram .sbi_follow_btn.sbi_custom a {
  user-select: none;
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.3rem 1rem !important;
  margin: 0 !important;
  min-height: unset !important;
  border: 1.5px solid var(--lr-dark-blue) !important;
  border-radius: 50rem !important;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.3s ease !important;
  font-family: "Brandon Text", Arial, sans-serif !important;
  font-weight: 400 !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  background-image: none !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  vertical-align: top;
}

/* Text styles */
#sb_instagram #sbi_load .sbi_load_btn .sbi_btn_text,
#sb_instagram .sbi_follow_btn.sbi_custom a span {
  margin: 0 !important;
  padding: 0 !important;
  font-family: "Brandon Text", Arial, sans-serif !important;
  font-weight: 400 !important;
  font-size: inherit !important;
  line-height: 1.6 !important;
  color: inherit !important;
}

#sb_instagram #sbi_load .sbi_follow_btn {
  margin-left: 1rem !important;
}

/* Instagram icon */
#sb_instagram .sbi_follow_btn.sbi_custom a svg {
  fill: currentColor;
  width: 1.2em;
  height: 1.2em;
  flex-shrink: 0;
}

#sb_instagram .sbi_follow_btn .fa,
#sb_instagram .sbi_follow_btn svg {
  margin-right: 0px !important;
}

/* Load More - outlined */
#sb_instagram #sbi_load .sbi_load_btn {
  background: #ffffff !important;
  border-color: var(--lr-dark-blue) !important;
  color: var(--lr-dark-blue) !important;
}

@media (hover: hover) and (pointer: fine) {
  #sb_instagram #sbi_load .sbi_load_btn:hover {
    background: var(--lr-dark-blue) !important;
    border-color: var(--lr-dark-blue) !important;
    color: #ffffff !important;
  }
}

/* Follow - filled */
#sb_instagram .sbi_follow_btn.sbi_custom a {
  background: var(--lr-dark-blue) !important;
  border-color: var(--lr-dark-blue) !important;
  color: #ffffff !important;
}

@media (hover: hover) and (pointer: fine) {
  #sb_instagram .sbi_follow_btn.sbi_custom a:hover {
    background: #ffffff !important;
    border-color: var(--lr-dark-blue) !important;
    color: var(--lr-dark-blue) !important;
  }
}

/* Hide loader */
.sbi_loader {
  display: none !important;
}

#sb_instagram #sbi_load .sbi_load_btn .sbi_btn_text {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Responsive */
@media (min-width: 768px) {

  #sb_instagram #sbi_load .sbi_load_btn,
  #sb_instagram .sbi_follow_btn.sbi_custom a {
    font-size: 18px !important;
  }
}

@media (min-width: 1200px) {

  #sb_instagram #sbi_load .sbi_load_btn,
  #sb_instagram .sbi_follow_btn.sbi_custom a {
    font-size: 20px !important;
  }
}

/* WPML */
.wpml-ls-legacy-list-horizontal .wpml-ls-item {
  display: flex !important;
  flex-direction: row !important;
}

.wpml-ls-legacy-list-horizontal {
  padding: 0.5rem 0.5rem 0.5rem 0rem !important;
}

.wpml-ls-legacy-list-horizontal li:first-of-type a {
  padding: 0.5rem 0.5rem 0.5rem 0rem !important;
}

.wpml-ls-legacy-list-horizontal li a {
  padding: 0.5rem !important;
}