/*
Theme Name: Fanclub Gruen-Weiss
Theme URI: https://www.fanclub-gruenweiss.de/
Author: TobiLogic
Description: Schlankes Custom Theme fuer den FRISCH AUF! Fanclub Gruen-Weiss e.V.
Version: 0.1.85
Text Domain: fanclub-gruenweiss
*/

@font-face {
  font-family: "Font Awesome 5 Brands";
  src: url("assets/webfonts/fa-brands-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Adamina";
  src: url("/wp-content/fonts/adamina/j8_r6-DH1bjoc-dwi-3UFht7Fns.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --fanclub-green: #337f58;
  --fanclub-green-dark: #256844;
  --fanclub-link: #01865d;
  --fanclub-text: #6d7680;
  --fanclub-heading: #3e4349;
  --fanclub-muted: #6d7680;
  --fanclub-page: #ffffff;
  --fanclub-bg: #34393c;
  --fanclub-shadow: 0 0 25px rgba(0, 0, 0, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

html.fanclub-stage-document {
  margin-top: 0 !important;
}

body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--fanclub-text);
  background: var(--fanclub-bg);
}

a {
  color: var(--fanclub-link);
  text-decoration: none;
}

a:hover,
a:focus {
  color: #020202;
}

img {
  max-width: 100%;
  height: auto;
}

#wpadminbar {
  background: rgba(0, 0, 0, 0.48) !important;
  backdrop-filter: blur(4px);
  position: fixed !important;
}

#wpadminbar .ab-sub-wrapper,
#wpadminbar ul,
#wpadminbar li {
  background-color: transparent;
}

.site-shell {
  width: min(1200px, 100%);
  margin: 0 auto;
  height: 100dvh;
  min-height: 100vh;
  background: var(--fanclub-page);
  box-shadow: var(--fanclub-shadow);
  display: flex;
  flex-direction: column;
}

.site-header {
  position: relative;
  z-index: 10;
  flex: 0 0 auto;
}

.desktop-header {
  display: block;
  position: relative;
  min-height: 158px;
  padding-top: 0;
  background: var(--fanclub-page);
}

.desktop-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 110px;
  background: var(--fanclub-green) url("/wp-content/uploads/2019/11/hg1.png") repeat;
}

.desktop-menu-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 260px;
  align-items: center;
  min-height: 110px;
  padding: 0 42px;
}

.menu-left .menu,
.menu-right .menu,
.footer-menu .menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.menu-left .menu {
  flex-direction: row-reverse;
  justify-content: flex-start;
}

.menu-right .menu {
  justify-content: flex-start;
}

.desktop-header .menu a {
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  line-height: inherit;
  white-space: nowrap;
}

.desktop-header .menu a:hover,
.desktop-header .menu a:focus {
  color: #d9dedb;
}

.site-logo {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 0;
  width: 220px;
  transform: translateX(-50%);
}

.site-logo img {
  display: block;
  width: 220px;
  height: auto;
}

.social-links {
  position: absolute;
  z-index: 4;
  top: 116px;
  right: 28px;
  display: flex;
  justify-content: flex-end;
  gap: 5px;
  padding: 0;
  min-height: 20px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  color: #000000;
  font-size: 25px;
  line-height: 1;
  padding: 5px;
  border-radius: 50%;
}

.fab {
  font-family: "Font Awesome 5 Brands";
  font-weight: 400;
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  text-rendering: auto;
}

.fa-facebook::before {
  content: "\f09a";
}

.fa-instagram::before {
  content: "\f16d";
}

.social-links a:hover {
  color: var(--fanclub-green-dark);
}

.mobile-header {
  display: none;
  position: relative;
  min-height: 160px;
  background: var(--fanclub-page);
}

.mobile-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 110px;
  background: var(--fanclub-green) url("/wp-content/uploads/2019/11/hg1.png") repeat;
}

.mobile-logo {
  position: absolute;
  left: 50%;
  top: 6px;
  width: 150px;
  transform: translateX(-50%);
}

.mobile-logo img {
  width: 150px;
  display: block;
}

.menu-toggle {
  position: absolute;
  right: 18px;
  top: 38px;
  width: 42px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 30px;
  height: 3px;
  margin: 6px auto;
  background: currentColor;
  border-radius: 2px;
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle[aria-expanded="true"]::before {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"]::after {
  transform: translateY(-9px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 112px;
  background: var(--fanclub-green);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.mobile-menu.is-open {
  display: block;
}

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

.mobile-menu .menu a {
  display: block;
  padding: 14px 22px;
  color: #ffffff;
  font-size: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
}

.site-main {
  flex: 1;
  min-height: 0;
  position: relative;
  overflow-y: auto;
  overscroll-behavior: contain;
  width: 100%;
  width: calc(100% - 28px);
  margin-right: 28px;
  margin-bottom: 18px;
  background: var(--fanclub-page);
  padding: 18px 20px 72px 20px;
  scrollbar-gutter: stable;
}

.content-area {
  max-width: none;
  margin: 0 auto;
}

.content-area h1,
.content-area h2,
.content-area h3 {
  color: var(--fanclub-heading);
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

.content-area h1 {
  font-size: 30px;
}

.content-area h2 {
  font-size: 28px;
}

.content-area h3 {
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
}

.entry-content {
  font-size: 16px;
  line-height: 1.7;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content .alignright {
  float: right;
  max-width: min(45%, 573px);
  height: auto;
  margin: 0 0 18px 24px;
}

.entry-content .alignleft {
  float: left;
  max-width: min(45%, 573px);
  height: auto;
  margin: 0 24px 18px 0;
}

.entry-content::after {
  content: "";
  display: table;
  clear: both;
}

.home .entry-content h2:first-child {
  margin-top: 20px !important;
}

.stage-content-logo-spacer {
  display: none;
}

#sb_instagram {
  margin-left: auto;
  margin-right: auto;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden;
}

#sb_instagram #sbi_images {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

#sb_instagram .sbi_item {
  min-width: 0;
}

.site-footer {
  flex: 0 0 auto;
  color: #ffffff;
  background: var(--fanclub-green) url("/wp-content/uploads/2019/11/hg2.png") repeat;
}

.footer-inner {
  min-height: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 24px;
  padding: 14px 18px 8px;
  font-size: 14px;
  line-height: 1.2;
}

.footer-copy p {
  margin: 0;
  line-height: 1.2;
}

.footer-menu .menu {
  justify-content: flex-end;
  gap: 24px;
}

.footer-menu a {
  color: #ffffff;
}

.footer-menu a:hover,
.footer-menu a:focus {
  color: #d9dedb;
}

.fanclub-logo-stage-template {
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--fanclub-bg);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.page-template-template-logo-stage-php,
.page-template-template-logo-stage-php body,
html:has(body.fanclub-logo-stage-template),
html:has(body.fanclub-logo-stage-template) body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.page-template-template-logo-stage-php::-webkit-scrollbar,
.page-template-template-logo-stage-php body::-webkit-scrollbar,
html:has(body.fanclub-logo-stage-template)::-webkit-scrollbar,
html:has(body.fanclub-logo-stage-template) body::-webkit-scrollbar,
.fanclub-logo-stage-template::-webkit-scrollbar {
  display: none;
}

.logo-stage-scroll {
  width: min(1200px, 100%);
  height: 175dvh;
  min-height: 175vh;
  margin: 0 auto;
}

.fanclub-subpage-stage .logo-stage-scroll {
  height: 100dvh;
  min-height: 100vh;
  overflow: hidden;
}

.logo-stage {
  width: min(1200px, 100%);
  height: 100dvh;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--fanclub-page);
  box-shadow: var(--fanclub-shadow);
  position: sticky;
  top: 0;
  overflow: hidden;
  --stage-progress: 0;
  --stage-ui-progress: 0;
  --stage-green-height: 50vh;
  --stage-logo-top: 50vh;
  --stage-logo-translate-y: -50%;
}

.fanclub-subpage-stage .logo-stage {
  position: relative;
  height: 100%;
  min-height: 0;
}

.logo-stage__top {
  position: absolute;
  inset: 0 0 auto 0;
  height: var(--stage-green-height);
  background-color: var(--fanclub-green);
  background-image: url("/wp-content/uploads/2019/11/hg1.png");
  background-repeat: repeat-x;
  background-position: left bottom;
  background-size: auto 110px;
  transition: height 40ms linear;
}

.stage-forced-pending .logo-stage,
.stage-forced .logo-stage {
  --stage-progress: 1;
  --stage-ui-progress: 1;
  --stage-green-height: 110px;
  --stage-logo-top: 0px;
  --stage-logo-translate-y: 0%;
}

.logo-stage__normal {
  opacity: var(--stage-ui-progress);
  transition: opacity 120ms linear;
}

.logo-stage:not(.is-settled) .logo-stage__normal {
  pointer-events: none;
}

.logo-stage__normal-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 2;
  min-height: 158px;
}

.logo-stage__normal-header .menu a {
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
}

.stage-menu-toggle,
.stage-mobile-menu {
  display: none;
}

.logo-stage__normal-page {
  position: absolute;
  inset: 148px 0 0 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.logo-stage__normal-page .site-main {
  flex: 1;
  min-height: 0;
}

.logo-stage__normal-page .site-footer {
  flex: 0 0 auto;
}

.logo-stage__logo {
  display: block;
  position: absolute;
  z-index: 5;
  left: 50%;
  top: var(--stage-logo-top);
  width: 220px;
  line-height: 0;
  transform: translate(-50%, var(--stage-logo-translate-y));
  transition: top 40ms linear, transform 40ms linear;
  pointer-events: none;
}

.logo-stage.is-settled .logo-stage__logo {
  pointer-events: auto;
}

.stage-forced-pending .logo-stage__logo,
.stage-forced .logo-stage__logo {
  pointer-events: auto;
}

.logo-stage__logo img {
  display: block;
  width: 220px;
  height: auto;
}

.logo-stage__scroll-cue {
  position: absolute;
  z-index: 6;
  left: 50%;
  top: calc(50vh + 150px);
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #337f58;
  cursor: pointer;
  opacity: calc(1 - min(var(--stage-progress), 1));
  transform: translateX(-50%);
  transition: opacity 120ms linear;
}

.logo-stage__scroll-cue span {
  display: block;
  width: 22px;
  height: 22px;
  margin: 7px auto 0;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(45deg);
}

.logo-stage__scroll-cue:hover,
.logo-stage__scroll-cue:focus {
  color: #020202;
}

.logo-stage.is-settled .logo-stage__scroll-cue {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .desktop-header {
    display: none;
  }

  .mobile-header {
    display: block;
  }

  .site-main {
    padding-top: 28px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-menu .menu {
    justify-content: center;
  }
}

@media (max-width: 620px) {
  .site-shell,
  .logo-stage {
    height: 100svh;
    min-height: 100svh;
  }

  .logo-stage-scroll {
    height: 175svh;
    min-height: 175svh;
  }

  .site-shell {
    box-shadow: none;
  }

  .mobile-header .menu-toggle {
    left: 14px;
    right: auto;
    z-index: 60;
  }

  .mobile-header .mobile-menu {
    position: fixed;
    inset: 0;
    top: 0;
    z-index: 55;
    min-height: 100svh;
    padding-top: 76px;
    border-top: 0;
    background: rgba(0, 104, 56, 0.74);
    backdrop-filter: blur(6px);
  }

  .mobile-header .mobile-menu.is-open {
    display: block;
  }

  .mobile-header .social-links {
    top: 112px;
    right: 11px;
    z-index: 8;
  }

  .mobile-header .social-links a {
    color: #000000;
  }

  .site-main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .logo-stage__normal-header {
    min-height: 160px;
    z-index: 70;
    pointer-events: none;
  }

  .logo-stage__logo {
    z-index: 50;
  }

  .logo-stage__normal-header .desktop-menu-row {
    display: none;
  }

  .logo-stage__normal-header .stage-menu-toggle {
    display: block;
    top: 22px;
    left: 14px;
    right: auto;
    z-index: 60;
    pointer-events: auto;
  }

  .logo-stage__normal-header .stage-mobile-menu {
    position: fixed;
    inset: 0;
    top: 0;
    z-index: 55;
    min-height: 100svh;
    padding-top: 76px;
    background: rgba(0, 104, 56, 0.74);
    backdrop-filter: blur(6px);
    box-shadow: none;
    pointer-events: auto;
  }

  .logo-stage__normal-header .stage-mobile-menu.is-open {
    display: block;
  }

  .logo-stage__normal-header .social-links {
    top: 112px;
    right: 11px;
    z-index: 8;
    pointer-events: auto;
  }

  .logo-stage__normal-header .social-links a {
    color: #000000;
  }

  .site-footer {
    display: none;
  }

  .logo-stage__normal-page {
    inset: 150px 0 0 0;
  }

  .logo-stage__normal-page .site-main {
    width: calc(100% - 12px);
    margin-right: 12px;
    margin-bottom: 0;
    padding-left: 16px;
    padding-right: 18px;
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }

  .entry-content {
    font-size: 0.97rem;
  }

  .entry-content .alignright,
  .entry-content .alignleft {
    float: none;
    display: block;
    max-width: 100%;
    margin: 0 0 18px 0;
  }

  .content-area {
    padding-top: 24px;
  }

  .content-area h1 {
    margin-bottom: 0.35em;
  }

  .stage-content-logo-spacer {
    display: none;
    height: 0;
  }
}
