/*
Theme Name: meine.church
Author: Lucas Girod
Description: meine.church Template for WordPress
Version: 20260601.15
Text Domain: meine-church
Domain Path: /languages
*/

html {
  font-family: 'Source Sans 3', sans-serif;
}

body {
  font-family: 'Source Sans 3', sans-serif;
  color: #4c4c4c;
  font-size: 19px;
  line-height: 32px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.7px;
}

@media screen and (max-width: 1200px) {
}

@media screen and (max-width: 960px) {
}

@media screen and (max-width: 768px) {
}

@media screen and (max-width: 480px) {
}

a {
  color: #34e5b5;
  transition: all 0.25s linear;
}

a:hover {
  color: #00a87a;
  text-decoration: underline;
}

em {
  color: unset;
}

p {
}

a,
:focus {
  outline: none;
}

.uk-slidenav {
  color: black;
}

[class*='uk-position-center-left'],
[class*='uk-position-center-right'] {
  top: 90%;
}

.videoWrapper {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 */
  height: 0;
}

.videoWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Header */
header {
  height: 100px;
  max-height: 18vh;
  background: rgb(100, 100, 100);
  background: linear-gradient(
    180deg,
    rgba(100, 100, 100, 1) 0%,
    rgba(100, 100, 100, 0) 100%
  );
  position: fixed;
  z-index: 10;
  width: 1920px !important;
  left: 50%;
  margin-left: -960px;
}

.headerScrolled {
  background: rgb(150, 150, 150);
  max-height: unset !important;
}

.langswitch,
.menucontact,
.footerLangSwitch {
  color: #fff;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0.7px;
}

.langswitch span,
.menucontact span,
.footerLangSwitch span {
  padding: 0 5px;
}

.langswitch span:last-child,
.footerLangSwitch span:last-child {
  display: none;
}

.langswitch a,
.menucontact a,
.footerLangSwitch a {
  color: #fff;
  position: relative;
}

.langswitch a:hover,
.menucontact a:hover,
.footerLangSwitch a:hover {
  text-decoration: none;
}

.langswitch a::after,
.menucontact a::after,
.footerLangSwitch a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: -6px;
  left: 0;
  background-color: rgb(250, 250, 250);
  visibility: hidden;
  transform: scaleX(0);
  transition: all 0.3s ease-in-out 0s;
}

.langswitch a:hover::after,
.menucontact a:hover::after,
.footerLangSwitch a:hover::after {
  visibility: visible;
  transform: scaleX(1);
}

.menucontact a {
  margin: 0 20px;
}

.langswitchMobile,
.menucontactMobile {
  color: #fff;
  font-size: 16px;
  line-height: 20px;
  display: inline-block;
}

.langswitchMobile span,
.menucontactMobile span {
  padding: 0 5px;
}

.langswitchMobile span:last-child,
.menucontactMobile span:last-child {
  display: none;
}

@media screen and (min-width: 960px) {
  .langswitchMobile {
    margin-left: 30px;
  }
}

.langswitchMobile a,
.menucontactMobile a {
  color: #fff;
  position: relative;
}

.menucontactMobile a {
  margin-left: 20px;
}

.langswitchMobile a:hover,
.menucontactMobile a:hover {
  text-decoration: none;
}

.langswitchMobile a::after,
.menucontactMobile a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: -6px;
  left: 0;
  background-color: rgb(250, 250, 250);
  visibility: hidden;
  transform: scaleX(0);
  transition: all 0.3s ease-in-out 0s;
}

.langswitchMobile a:hover::after,
.menucontactMobile a:hover::after {
  visibility: visible;
  transform: scaleX(1);
}

.headerScrolled .langswitch,
.headerScrolled .langswitchMobile {
  /* color: #555; */
}

.headerScrolled .langswitch:hover,
.headerScrolled .langswitchMobile:hover {
  /* color: #000; */
}

.topBar {
  text-align: right;
  font-size: 16px;
  line-height: 18px;
  position: relative;
  z-index: 1;
  padding-top: 10px;
  color: #eee;
}

.topBarNav,
.topBarLang {
  display: inline-block;
}

.topBarLang {
  text-align: left;
}

.topBarNav {
}

.topBarNav a {
  color: #eee;
  position: relative;
  top: 1px;
}

.topBarNav a:hover {
  color: #fff;
  text-decoration: none;
}

.topBarLang > div {
  margin: 0;
  padding: 0;
}

.topBarLang a {
  padding: 0 0 0 10px !important;
  line-height: 18px !important;
  color: #eee;
}

.topBarLang a:hover {
  color: #fff;
  text-decoration: none;
}

.headerBar {
  margin-top: -25px;
}

.headerLogo {
}

#headerLogoImg {
  margin: 35px 0 0 0;
  max-height: 45px;
}

.mainNavItem {
  margin: 47px 20px 0 0;
  display: inline-block;
  color: #eee;
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  position: relative;
}

.mainNavItem:hover {
  color: #fff;
  text-decoration: none;
}

.mainNavItem:after {
  transition: all 0.5s;
  content: '';
  border-bottom: 2px solid transparent;
  height: 10px;
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  opacity: 0;
}

.mainNavItem:hover:after {
  opacity: 1;
  border-bottom: 2px solid #fff;
}

.mainNavItem:last-child {
}

.mainNavItemActive {
  color: #fff;
}

.mainNavItemActive:after {
  opacity: 1;
  border-bottom: 2px solid #fff;
}

@media screen and (min-width: 641px) and (max-width: 1200px) {
  .mainNavItem {
    margin-top: 0;
  }
}

.sociallinks {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sociallinks a {
  color: #fff;
}

.headerMenuMobileIcon {
  margin-top: 25px;
}

.headerMenuMobileIcon a {
  color: #fff;
}

.headerMenuMobileIcon a:hover {
  color: #fff;
}

.headerSearchIcon {
  color: #eee;
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.headerSearchIcon:hover {
  color: #fff;
  text-decoration: none;
}

#quickSearch {
  white-space: nowrap;
  position: absolute;
  top: -5px;
  right: 0;
  background: silver;
  padding: 5px 10px;
  display: none;
  z-index: 10;
}

#quickSearch a {
  color: #fff;
}

#quickSearch input {
  width: 200px;
}

#quickSearch a:hover {
  color: #fff;
  text-decoration: none;
}

@media screen and (max-width: 1280px) {
  header {
    width: 100% !important;
    left: 0;
    margin-left: 0;
  }
}

@media screen and (max-width: 959px) {
  .mainNavItem {
    margin: 0 20px 20px 20px;
    display: block;
    color: #fff;
    font-size: 18px;
  }

  .mainNavItem:hover {
    color: #fff;
    text-decoration: none;
  }

  .mainNavItemActive {
    font-weight: 600;
  }

  .mainNavItem:after {
    border-bottom: none;
  }

  .mainNavItem:hover:after {
    border-bottom: none;
  }

  .mainNavItemActive:after {
    border-bottom: none;
  }
}

@media screen and (max-width: 640px) {
  #headerLogoImg {
    margin: 20px 0 0 0;
    max-height: 45px;
  }
}

.mainNavItemIntern {
  padding: 40px 20px 20px 0;
  display: inline-block;
  color: #fff;
  font-size: 16px;
  text-transform: uppercase;
}

.mainNavItemIntern:hover {
  color: #fff;
  text-decoration: none;
}

.mainNavItemInternMobile {
  padding: 0;
  color: #fff;
  font-size: 16px;
  line-height: 20px;
  text-transform: uppercase;
}

.mainNavItemInternMobile:hover {
  color: #fff;
  text-decoration: none;
}

.langswitch {
  color: #fff;
  font-size: 16px;
  line-height: 20px;
}

.langswitchMobile {
  color: #fff;
  font-size: 16px;
  line-height: 20px;
}

.homevideo {
  width: 100%;
  max-width: 1920px;
  height: 55vw;
  max-height: calc(100vh - 52px);
  position: relative;
  z-index: 0;
  overflow: hidden;
  margin: 0 auto;
}

.homevideo video {
  position: absolute;
  top: 50%;
  left: 0%;
  min-width: auto;
  min-height: auto;
  width: 100%;
  height: auto;
  z-index: -1000;
  overflow: hidden;
  transform: translateY(-50%);
}

.homevideoText {
  position: absolute;
  max-width: 1200px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 100%;
  bottom: 12vh;
  color: #fff;
  text-shadow: 0 0 3px #555;
}

.homevideoTextBig {
  /*
    font-size: 80px;
    line-height: 90px;
    */
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12vw;
  line-height: 13vw;
  color: #fff;
}

.homevideoTextLogo {
  display: inline-block;
  width: auto;
  height: auto;
  max-width: 80%;
  max-height: 18vw;
  filter: drop-shadow(0 0 3px #555);
}

.homevideoTextSmall {
  margin: 30px 100px 0 100px;
  font-size: 25px;
  line-height: 40px;
  text-transform: uppercase;
  color: #fff;
}

@media screen and (min-width: 1920px) and (min-height: 1130px) {
  .homevideo {
    max-height: 1080px;
  }
}

@media screen and (max-width: 959px) {
  .homevideoTextBig {
    font-size: 60px;
    line-height: 70px;
  }

  .homevideoTextSmall {
    margin: 30px 100px 0 100px;
    font-size: 22px;
    line-height: 35px;
    text-transform: uppercase;
  }
}

@media screen and (max-width: 768px) {
  .homevideoText {
    bottom: 10vh;
  }

  .homevideoTextBig {
    font-size: 40px;
    line-height: 50px;
  }

  .homevideoTextSmall {
    margin: 30px 100px 0 100px;
    font-size: 20px;
    line-height: 30px;
    text-transform: uppercase;
  }
}

@media screen and (max-width: 660px) {
  .homevideoText {
    bottom: 5vh;
  }
}

@media screen and (max-width: 480px) {
  .homevideoTextBig {
    font-size: 30px;
    line-height: 40px;
  }

  .homevideoTextSmall {
    margin: 30px 20px 0 20px;
    font-size: 16px;
    line-height: 20px;
  }
}

.homeGrid {
  margin: 100px 0;
}

.homeGridItem {
  box-shadow: 0 0 5px #555;
}

.homeGridItem:hover a {
  text-decoration: none !important;
  color: #34e5b5;
}

.homeGridItemImage img {
  width: 100%;
  height: 370px;
  object-fit: cover;
  object-position: center;
}

.homeGridItemText {
  padding: 15px;
}

.homeGridItemTitle {
  font-size: 30px;
  line-height: 34px;
  font-weight: 600;
  margin-bottom: 10px;
}

.homeGridItemLead {
  font-size: 16px;
  line-height: 20px;
  margin-bottom: 10px;
}

.homeGridItemLink a {
  font-size: 16px;
  line-height: 20px;
  color: #34e5b5;
}

@media screen and (max-width: 1280px) {
  .homeGridItemImage img {
    height: 28vw;
  }
}

@media screen and (max-width: 959px) {
  .homeGridItemImage img {
    height: 45vw;
  }
}

@media screen and (max-width: 639px) {
  .homeGridItemImage img {
    height: 96vw;
  }
}

.PageTop {
  max-width: 1920px;
  margin: 0 auto;
}

.PageTopInner {
  position: relative;
  z-index: -1;
}

.PageTopImage {
  object-fit: cover;
  width: 100%;
  height: 100%;
  min-height: 300px;
  max-height: 640px;
}

.PageTopImageSmall {
  object-fit: cover;
  width: 100%;
  height: 100%;
  min-height: 300px;
  max-height: 500px;
}

/* "Grosses Headerbild" (per-page option): the header image fills the viewport
   with the sub-menu still peeking at the bottom — mirrors the home video hero
   (same 55vw / calc(100vh - 52px) sizing, incl. the large-screen cap). */
.PageTopInnerBig {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

/* Reserve room for the sub-menu to peek at the bottom only when a real menu is
   actually rendered (the .PageTopInnerBigMenu modifier is set by header.php for
   one-pager/home pages with sibling or child entries). Pages without a real menu
   fill the full viewport — the decorative strip is omitted there. */
.PageTopInnerBig.PageTopInnerBigMenu {
  height: calc(100vh - 52px);
  height: calc(100dvh - 52px);
}

.PageTopInnerBig .PageTopImage,
.PageTopInnerBig .PageTopImageSmall {
  height: 100%;
  min-height: 0;
  max-height: none;
}

/* Move the title/subtitle/excerpt block down into the lower hero area, like
   the home video text. Scoped selectors keep priority over the default and
   responsive .PageTopText / :has(.PageTopTextLogo) rules. */
.PageTopInnerBig .PageTopText,
.PageTopInnerBig .PageTopText:has(.PageTopTextLogo) {
  top: auto;
  bottom: 12vh;
  height: auto;
  display: block;
  padding: 0;
  transform: none;
}

@media screen and (max-width: 768px) {
  .PageTopInnerBig .PageTopText,
  .PageTopInnerBig .PageTopText:has(.PageTopTextLogo) {
    bottom: 10vh;
  }
}

@media screen and (max-width: 660px) {
  .PageTopInnerBig .PageTopText,
  .PageTopInnerBig .PageTopText:has(.PageTopTextLogo) {
    bottom: 5vh;
  }
}

/* 404 page: header image fills the whole viewport. */
.pageError404 .PageTop {
  max-width: none;
}

.pageError404 .PageTopImageSmall {
  height: 100vh;
  height: 100dvh;
  max-height: none;
}

.pageError404 .PageTopText {
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
}

.PageTopText {
  position: absolute;
  top: 40%;
  left: 0;
  width: 100%;
  text-align: center;
}

.PageTopTextString {
  color: #fff;
  font-weight: 600;
  font-size: 70px;
  line-height: 80px;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.PageTopTextSubtitle {
  color: #fff;
  font-weight: 300;
  font-size: 40px;
  line-height: 50px;
  letter-spacing: 1px;
  margin: 4px 0 0;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.37);
}

/* When a title logo is present, let the overlay fill the header height and
   center the logo. Top padding keeps it clear of the navigation bar. */
.PageTopText:has(.PageTopTextLogo) {
  top: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 90px 24px 24px;
}

.PageTopTextLogo {
  display: block;
  width: auto;
  height: auto;
  max-width: 60%;
  max-height: 85%;
  filter: drop-shadow(0 0 3px #555);
}

.PageTopTextStringSmall {
  color: #fff;
  font-size: 35px;
  font-style: italic;
  line-height: 45px;
  font-weight: 300;
}

@media screen and (max-width: 959px) {
}

@media screen and (max-width: 768px) {
  .PageTopText {
    top: auto;
    bottom: 5%;
  }

  .PageTopText:has(.PageTopTextLogo) {
    padding-top: 64px;
  }

  .PageTopTextLogo {
    max-width: 70%;
  }

  .PageTopTextString {
    font-size: 60px;
    line-height: 70px;
  }

  .PageTopTextSubtitle {
    font-size: 32px;
    line-height: 40px;
  }

  .PageTopTextStringSmall {
    font-size: 30px;
    line-height: 35px;
    margin: 0;
  }
}

@media screen and (max-width: 640px) {
  .PageTopText {
    top: auto;
    bottom: 5%;
  }

  .PageTopTextString {
    font-size: 50px;
    line-height: 60px;
  }

  .PageTopTextSubtitle {
    font-size: 28px;
    line-height: 36px;
  }

  .PageTopTextStringSmall {
    font-size: 25px;
    line-height: 30px;
    margin: 0;
  }
}

@media screen and (max-width: 480px) {
  .PageTopText {
    top: auto;
    bottom: 5%;
  }

  .PageTopTextString {
    font-size: 35px;
    line-height: 45px;
  }

  .PageTopTextSubtitle {
    font-size: 22px;
    line-height: 28px;
  }

  .PageTopTextStringSmall {
    font-size: 20px;
    line-height: 25px;
    margin: 0;
  }
}

.pageContent {
  min-height: 200px;
}

.pageContentOnePager {
  min-height: auto;
}

.pageContentLead {
  font-weight: bold;
  margin: 75px 0 50px 0;
}

.pageContentBody {
  margin: 0 0 75px 0;
}

.pageContent ol li {
  margin-bottom: 20px;
}

.pageContent ol li::marker {
  color: #34e5b5;
  font-weight: 600;
  /* font-size: 1.5em; */
}

.pageContent ol li strong {
  font-weight: 600;
}

.pageContentHome {
  background: rgb(245, 245, 250);
}

.subMenu {
  background: #34e5b5;
}

/* No menu items: keep a slim decorative brand strip instead of an empty bar.
   Purely visual divider between header and content; carries no navigation. */
.subMenuEmpty {
  min-height: 8px;
  background: linear-gradient(90deg, #34e5b5 0%, #007a59 100%);
}

.subMenuFirst {
  background: #00a87a;
}

.subMenuItem {
  text-transform: uppercase;
  color: #4a4a4a;
  padding: 10px;
  display: inline-block;
  vertical-align: top;
  font-weight: 600;
  font-size: 16px;
}

.subMenuItem:hover,
.subMenuItemActive {
  text-decoration: none;
  color: #000000;
}

.subMenuItemSubtitle {
  display: block;
  text-transform: none;
  font-weight: 300;
  font-size: 0.8em;
  line-height: 1.2;
  opacity: 0.8;
}

@media screen and (max-width: 480px) {
  .subMenu {
    /*        display: none; */
    line-height: 20px;
  }
  .subMenuItem {
    padding: 0;
    display: block;
  }
}

.subPage {
  margin: 100px 0;
}

.subPageTitle {
  text-transform: uppercase;
  color: #01d59b;
  /* color: #fff; */
  text-shadow: 0px 1px 6px #a0a0a0;
  font-size: 6vw;
  line-height: 6vw;
  font-weight: 600;
  text-align: center;
  /* margin-bottom: 30px; */
  margin-bottom: 60px;
}

/* Tightened title/logo spacing when a subtitle follows it. */
.subPageTitleHasSub {
  margin-bottom: 12px !important;
}

.subPageSubtitle {
  color: #4a4a4a;
  font-size: 2.4vw;
  line-height: 2.8vw;
  font-weight: 300;
  text-align: center;
  margin-top: 0;
  margin-bottom: 60px;
}

.subPageTitleLogo {
  display: block;
  margin: 0 auto 60px;
  width: auto;
  height: auto;
  max-width: 60%;
  max-height: 220px;
}

.subPageLead {
  font-size: 2vw;
  text-align: center;
  margin-bottom: 30px;
  font-style: italic;
  color: #404040;
}

.subPageContent {
}

.subPageParallax {
  height: 400px;
}

.subPageTitleParallax {
  padding: 0;
  color: #fff;
  font-size: 8vw;
  line-height: 8vw;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0;
  text-shadow: 1px 1px 6px #888;
  bottom: -1.5vw;
}

.subPageTitleParallaxLogo {
  align-self: center;
  width: auto;
  height: auto;
  max-width: 60%;
  max-height: 75%;
  filter: drop-shadow(1px 1px 6px #888);
}

.subPageTitleParallaxWrap {
  padding-bottom: 1vw;
}

/* When grouped with a subtitle, the title no longer positions itself. */
.subPageTitleParallaxWrap .subPageTitleParallax {
  position: static;
  bottom: auto;
  margin: 0;
}

.subPageTitleParallaxSubtitle {
  padding: 0;
  color: #fff;
  font-size: 3vw;
  line-height: 3.4vw;
  font-weight: 300;
  margin: 0;
  text-shadow: 1px 1px 6px #888;
}

@media screen and (max-width: 768px) {
  .subPage {
    margin: 60px 0;
  }

  .subPageTitle {
    margin-bottom: 30px;
  }

  .subPageSubtitle {
    margin-bottom: 30px;
  }

  .subPageTitleLogo {
    margin-bottom: 30px;
  }

  .subPageParallax {
    height: 250px;
  }

  .subPageTitleParallax {
  }
}

@media screen and (max-width: 480px) {
  .subPage {
    margin: 30px 0;
  }

  .subPageTitle {
    margin-bottom: 20px;
  }

  .subPageSubtitle {
    margin-bottom: 20px;
  }

  .subPageTitleLogo {
    margin-bottom: 20px;
  }

  .subPageParallax {
    height: 175px;
  }

  .subPageTitleParallax {
  }
}

/* login form */
#loginform {
}

.loginformTitle {
  font-size: 20px;
  line-height: 26px;
  font-weight: 500;
  margin-bottom: 25px;
}

.loginformClose {
  color: #000;
  position: absolute;
  top: 20px;
  right: 20px;
}

#loginform .login-username label,
#loginform .login-password label {
  width: 150px;
  display: inline-block;
}

#loginform .login-remember,
#loginform .login-submit {
  margin-left: 150px;
}

/* search result page */
.searchresultform {
  margin: 20px 0;
}

.searchresultitem {
  display: block;
  margin-bottom: 20px;
}

.searchresultitem:hover {
  text-decoration: none;
}

.searchresultitemtexttitle {
  font-weight: 500;
  font-size: 22px;
  line-height: 28px;
}

.searchresultitemtextlead {
  font-size: 18px;
  line-height: 22px;
}

.searchresultitemtextinfo {
  font-size: 14px;
  line-height: 18px;
  font-style: italic;
}

.searchresultmessage {
  padding: 30px 0 100px 0;
  font-weight: 500;
  font-size: 22px;
  line-height: 28px;
}

.pagingBox {
  padding: 20px 0 50px 0;
  margin-left: 115px;
}

.pagingItem {
  border: 1px solid #34e5b5;
  color: #34e5b5;
  margin: 0 10px 0 0;
  width: 30px;
  text-align: center;
  display: inline-block;
}

.pagingItem:hover,
.pagingItemActive {
  border: 1px solid #34e5b5;
  background: #34e5b5;
  color: #fff;
  margin: 0 10px 0 0;
  width: 30px;
  text-align: center;
  display: inline-block;
  text-decoration: none;
}

/* so widget tab */
.so-widget-ink-tabs {
}

.so-widget-ink-tabs ul {
  padding-left: 0px;
}

.iw-so-tabs-content {
  border: 1px solid #eee;
  padding: 10px;
}

/* so buttons */
.sowb-button,
.ff-btn {
  background: #34e5b5 !important;
  border-color: #34e5b5 !important;
  color: #4a4a4a !important;
}

/* so buttons */
.sowb-button span {
  color: #4a4a4a !important;
}

/* team */
.item-holder {
  padding: 0 10%;
  text-align: center;
  margin-bottom: 30px !important;
}

.item-holder:hover img {
  filter: grayscale(0%);
}

.item-holder a {
  color: #34e5b5;
}

.item-holder a:hover {
  text-decoration: none;
}

.team-thumbnail img {
  border-radius: 50%;
  filter: grayscale(100%);
}

.team-member-name {
  text-transform: uppercase;
  font-size: 18px;
  line-height: 22px;
  margin: 20px 0 10px 0;
  font-weight: 600;
}

.team-member-position {
  text-transform: uppercase;
  font-size: 14px;
  line-height: 16px;
  margin: 0;
  font-weight: 400;
}

.team-member-icons a {
  color: #aaa;
}

.team-member-icons a:hover {
  color: #555;
}

@media screen and (max-width: 959px) {
  .item-holder {
    padding: 0 15%;
    text-align: center;
  }
}

@media screen and (max-width: 639px) {
  .item-holder {
    padding: 0 25%;
    text-align: center;
  }
}

/* footer */
footer {
  background: #606060;
  margin: 0 auto;
  color: #fff;
  max-width: 1920px;
  font-size: 16px;
  line-height: 24px;
  padding: 40px 0 60px 0;
}

footer a {
  color: #eee;
}

footer a:hover {
  color: #fff;
}

.footer1 {
  font-size: 14px;
  line-height: 18px;
}

.footer1 div {
  margin-bottom: 8px;
}

.footer2 {
}

.footer2 ul {
  list-style-type: none;
  padding-left: 0;
}

.footer2 li {
  display: inline-block;
  margin-left: 10px;
}

.footer2 li a {
  color: #eee;
  font-weight: 600;
}

.footer2 li a:hover,
.footer2 .current-menu-item a {
  color: #fff;
  text-decoration: none;
}

.footer3 {
  padding-bottom: 30px;
}

.footer3 > div {
  display: inline-block;
  text-align: left;
}

@media screen and (max-width: 639px) {
  .footer1 {
    margin-bottom: 20px !important;
  }

  .footer2 li {
    display: block;
  }
}

/*
* Fluent Form Styles
*/
@media (min-width: 481px) {
  .fluentform .ff-el-form-left .ff-el-input--label,
  .fluentform .ff-el-form-right .ff-el-input--label {
    2padding-top: 0 !important;
  }
}

.ff-el-input--content .ff-el-form-check:first-child {
  padding-top: 10px;
}

.ff-el-section-break {
  margin-top: 40px !important;
  margin-bottom: 10px !important;
}

.ff-el-section-break hr {
  margin-top: 10px;
}

/*
 * print styles
 */
@media print {
  .uk-grid {
    display: inline !important;
  }
}

/* ==========================================================================
   Mobile off-canvas navigation (levels 1-3: accordion + drilldown)
   Markup: Header::render_mobile_nav(); behaviour: assets/scripts/mobile-nav.js
   Scoped to below the UIkit @l breakpoint; desktop navigation is untouched.
   ========================================================================== */
@media screen and (max-width: 1199px) {

  .mobileNavBar {
    background: rgba(0, 0, 0, 0.95);
    width: 320px;
    max-width: 85vw;
    padding: 60px 0 30px;
  }

  .mobileNavBar .uk-offcanvas-close {
    color: #fff;
  }

  /* Panel stack: root list plus absolutely-stacked drilldown panels. */
  .mobileNav {
    position: relative;
  }

  /* Visually-hidden helper for the toggle/drilldown screen-reader labels.
     Self-contained so it does not depend on a UIkit class name. */
  .mobileNavSrOnly {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .mobileNavPanels {
    position: relative;
    overflow: hidden;
  }

  .mobileNavPanel {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  /* Root panel slides out of the way (and is hidden from AT/tab order) once a
     drilldown view is open. The delay keeps it visible during the slide-in. */
  .mobileNavPanel--root {
    transition: visibility 0s 0s;
  }

  .mobileNavPanels.has-drill-open .mobileNavPanel--root {
    visibility: hidden;
    transition-delay: 0.3s;
  }

  .mobileNavItem {
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  /* Label + toggle live side by side: tapping the label navigates, tapping
     the chevron expands (accordion) or drills in. */
  .mobileNavRow {
    display: flex;
    align-items: stretch;
  }

  .mobileNavLink {
    flex: 1 1 auto;
    display: block;
    padding: 14px 20px;
    color: #fff;
    font-size: 17px;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .mobileNavLink:hover,
  .mobileNavLink:focus {
    color: #fff;
    text-decoration: none;
  }

  .mobileNavSubtitle {
    display: block;
    text-transform: none;
    font-weight: 300;
    font-size: 0.78em;
    line-height: 1.2;
    opacity: 0.7;
  }

  /* Active page / section marker. */
  .mobileNavItem.is-active > .mobileNavRow > .mobileNavLink,
  .mobileNavLink[aria-current="page"] {
    color: #34e5b5;
    box-shadow: inset 3px 0 0 #34e5b5;
  }

  .mobileNavToggle {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    background: none;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
  }

  .mobileNavToggle:hover,
  .mobileNavToggle:focus {
    background: rgba(255, 255, 255, 0.08);
    color: #34e5b5;
  }

  .mobileNavChevron {
    transition: transform 0.3s ease;
  }

  .mobileNavToggle[aria-expanded="true"] .mobileNavChevron {
    transform: rotate(180deg);
  }

  /* Level 1 -> 2 accordion: collapsed by default, expands in place. */
  .mobileNavAccordion {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    background: rgba(255, 255, 255, 0.05);
  }

  .mobileNavAccordion.is-open {
    max-height: 1500px;
    visibility: visible;
  }

  /* Sub-levels (accordion L2 + drilldown L3) read lighter than the
     uppercase top-level so the hierarchy stays legible. */
  .mobileNavAccordion .mobileNavLink,
  .mobileNavPanel--drill .mobileNavLink {
    font-size: 15px;
    text-transform: none;
    letter-spacing: 0;
  }

  .mobileNavAccordion .mobileNavLink {
    padding-left: 36px;
  }

  /* Level 2 -> 3 drilldown: panel slides in from the right over the root. */
  .mobileNavPanel--drill {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    transform: translateX(100%);
    visibility: hidden;
    background: rgba(0, 0, 0, 0.95);
  }

  .mobileNavPanel--drill.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .mobileNavPanel--drill:focus {
    outline: none;
  }

  .mobileNavBack {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .mobileNavBackBtn {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    background: none;
    border: 0;
    color: #34e5b5;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
  }

  .mobileNavBackBtn:hover,
  .mobileNavBackBtn:focus {
    color: #fff;
  }

  /* Enable motion only after the initial (possibly pre-expanded) state is
     painted; mobile-nav.js adds .is-ready on the next frame. */
  .mobileNav.is-ready .mobileNavAccordion {
    transition: max-height 0.3s ease, visibility 0.3s;
  }

  .mobileNav.is-ready .mobileNavPanel--drill {
    transition: transform 0.3s ease, visibility 0.3s;
  }

  /* Extras (language switch, contact, socials) below the navigation. */
  .mobileNavExtras {
    margin-top: 24px;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .mobileNavExtras a {
    color: #fff;
  }

  .mobileNavExtras .menucontactMobile {
    display: block;
    margin: 12px 0;
    text-transform: uppercase;
  }

  .mobileNavExtras .sociallinks {
    gap: 10px;
  }
}

/* Compact header below the @l breakpoint: with the full navigation moved into
   the off-canvas, the mobile header only needs the logo + hamburger, so the
   tall desktop header band is trimmed down. Overrides height even in the
   scrolled state (.headerScrolled removes the max-height cap). */
@media screen and (max-width: 1199px) {
  header {
    height: 60px;
  }

  #headerLogoImg {
    margin-top: 14px;
    max-height: 32px;
  }

  .headerMenuMobileIcon {
    margin-top: 8px;
  }
}

/* Course overview ("meine.church Kurse" widget view): courses stacked
   vertically, each with an image header carrying a bold title, followed by
   the description and a link/registration button. */
.course-overview {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.course-item {
  display: flex;
  flex-direction: column;
}

.course-header {
  position: relative;
  /* Full-bleed: break out of the constrained widget container so the image
     spans the full viewport width. */
  width: 100vw;
  left: 50%;
  margin-left: -50vw;
  height: 220px;
  overflow: hidden;
}

/* Image is oversized and offset so the uk-parallax scroll movement never
   exposes the container edges. */
.course-header-img {
  position: absolute;
  top: -30%;
  left: 0;
  display: block;
  width: 100%;
  height: 160%;
  object-fit: cover;
}

/* Title sits at the bottom of the image; gradient darkens the lower part
   for legibility. */
.course-header-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.5rem;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.6) 100%);
  text-align: center;
}

.course-header-title {
  margin: 0;
  color: #fff;
  line-height: 1.1;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.course-header-title a,
.course-header-title a:hover {
  color: inherit;
  text-decoration: none;
}

.course-content {
  padding: 1.5rem 0 0;
  text-align: center;
}

.course-subtitle {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.course-description {
  max-width: 720px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

@media screen and (min-width: 960px) {
  .course-header {
    height: 360px;
  }
}
