:root {
  --club-ink: #151916;
  --club-muted: #59625b;
  --club-line: #dce2dd;
  --club-surface: #ffffff;
  --club-surface-soft: #f3f6f3;
  --club-green: #1f7a43;
  --club-green-dark: #14552e;
  --club-green-deep: #0d3d22;
  --club-focus: #e0a51c;
  --club-content: 74rem;
}

html {
  scroll-behavior: smooth;
}

body.site {
  overflow-x: hidden;
  color: var(--club-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  letter-spacing: 0;
  background: var(--club-surface);
}

a {
  color: var(--club-green-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover,
a:focus-visible {
  color: var(--club-green);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--club-focus);
  outline-offset: 3px;
}

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

.container-header {
  position: relative;
  z-index: 50;
  color: var(--club-ink);
  background: var(--club-surface);
  background-image: none;
  border-top: 4px solid var(--club-green);
  border-bottom: 0;
  box-shadow: none;
}

.container-header .grid-child {
  display: flex;
  align-items: center;
  width: min(calc(100% - 2rem), var(--club-content));
  min-height: 5.25rem;
  padding: 0.55rem 0;
}

.container-header .navbar-brand,
.container-header .navbar-brand a {
  color: var(--club-ink);
}

.container-header .brand-logo {
  display: inline-flex;
  gap: 0.9rem;
  align-items: center;
  text-decoration: none;
}

.container-header .brand-logo img {
  width: 3.75rem;
  height: 3.75rem;
  object-fit: contain;
  content: url("/images/background/svpappelaubeiningen.png");
}

.container-header .brand-logo::after {
  color: var(--club-ink);
  font-size: 1.3rem;
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: 0;
  content: "SV Pappelau/Beiningen";
}

@supports (display: grid) {
  body.has-sidebar-right .site-grid {
    grid-template-areas:
      "side-r side-r side-r side-r side-r side-r"
      "banner banner banner banner banner banner"
      "top-a top-a top-a top-a top-a top-a"
      "top-b top-b top-b top-b top-b top-b"
      "comp comp comp comp comp comp"
      "side-l side-l side-l side-l side-l side-l"
      "bot-a bot-a bot-a bot-a bot-a bot-a"
      "bot-b bot-b bot-b bot-b bot-b bot-b";
  }
}

.container-sidebar-right {
  position: sticky;
  top: 0;
  z-index: 45;
  width: 100%;
  background: var(--club-surface);
  border-top: 1px solid var(--club-line);
  border-bottom: 1px solid var(--club-line);
}

.container-sidebar-right .sidebar-right,
.container-sidebar-right .sidebar-right.card {
  width: 100%;
  margin: 0;
  color: var(--club-ink);
  background: var(--club-surface);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.container-sidebar-right .card-header {
  display: none;
}

.container-sidebar-right .card-body {
  padding: 0;
}

.container-sidebar-right .mod-menu {
  display: flex;
  flex-flow: row nowrap;
  align-items: stretch;
  width: min(calc(100% - 2rem), var(--club-content));
  min-height: 3.45rem;
  margin: 0 auto;
  padding: 0;
  overflow-x: auto;
  list-style: none;
  scrollbar-width: none;
}

.container-sidebar-right .mod-menu::-webkit-scrollbar {
  display: none;
}

.container-sidebar-right .mod-menu > li {
  flex: 0 0 auto;
  width: auto;
  margin: 0;
}

.container-sidebar-right .mod-menu > li:nth-last-child(2) {
  margin-left: auto;
}

.container-sidebar-right .mod-menu > li > a {
  display: flex;
  align-items: center;
  min-height: 3.45rem;
  padding: 0.7rem 0.75rem 0.55rem;
  color: var(--club-ink);
  font-size: 0.9rem;
  font-weight: 680;
  line-height: 1.25;
  letter-spacing: 0;
  white-space: nowrap;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}

.container-sidebar-right .mod-menu > li > a:hover,
.container-sidebar-right .mod-menu > li > a:focus-visible {
  color: var(--club-green-dark);
  background: var(--club-surface-soft);
  border-bottom-color: #9bc9aa;
}

.container-sidebar-right .mod-menu > li.active > a {
  color: var(--club-green-dark);
  background: transparent;
  border-bottom-color: var(--club-green);
}

.mod-breadcrumbs__wrapper {
  display: none;
}

.container-component {
  grid-column: full-start / full-end;
  min-width: 0;
  padding-bottom: 3rem;
}

.container-component > main {
  width: 100%;
  margin: 2rem auto 0;
}

.com-content-article,
.com-content-category-blog {
  width: min(calc(100% - 2rem), var(--club-content));
  margin-inline: auto;
  padding: 2rem;
  background: var(--club-surface);
  border: 1px solid var(--club-line);
  border-radius: 6px;
}

body.itemid-101:not(.has-sidebar-left) .site-grid .container-component {
  grid-column: full-start / full-end;
  padding-bottom: 0;
}

.itemid-101 .container-component > main {
  margin-top: 0;
}

.itemid-101 .com-content-article {
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
}

.com-content-article__body > :first-child,
.com-content-category-blog > :first-child {
  margin-top: 0;
}

.com-content-article__body h1,
.com-content-category-blog > h1 {
  margin-bottom: 1rem;
  color: var(--club-ink);
  font-size: 2.25rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.com-content-article__body h2,
.com-content-category-blog h2 {
  margin-top: 2rem;
  color: var(--club-ink);
  font-size: 1.65rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.blog-items {
  display: grid;
  gap: 0;
}

.com-content-category-blog__item {
  padding: 1.5rem 0;
  border-top: 1px solid var(--club-line);
}

.com-content-category-blog__item:first-child {
  border-top: 0;
}

.com-content-category-blog__item .item-content > h1,
.com-content-category-blog__item .item-title {
  margin: 0 0 0.75rem;
  font-size: 1.45rem;
  line-height: 1.3;
}

.com-content-category-blog__children {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--club-green);
}

.club-home {
  width: 100%;
  color: var(--club-ink);
  background: var(--club-surface);
}

.club-label {
  margin: 0 0 0.65rem;
  color: var(--club-green-dark);
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: 0;
}

.club-label--light {
  color: #ffffff;
}

.club-hero {
  position: relative;
  display: grid;
  min-height: 34rem;
  overflow: hidden;
  isolation: isolate;
}

.club-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: rgb(7 17 10 / 55%);
}

.club-hero__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.club-hero__content {
  align-self: center;
  width: min(calc(100% - 2rem), var(--club-content));
  margin-inline: auto;
  padding: 4rem 0 4.5rem;
  color: #ffffff;
}

.club-hero h1 {
  max-width: 18ch;
  margin: 0;
  color: #ffffff;
  font-size: 3.5rem;
  font-weight: 780;
  line-height: 1.04;
  letter-spacing: 0;
}

.club-hero__lead {
  max-width: 43rem;
  margin: 1.25rem 0 0;
  color: #ffffff;
  font-size: 1.18rem;
  line-height: 1.55;
}

.club-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.75rem;
}

.club-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.72rem 1.05rem;
  color: #ffffff;
  font-weight: 720;
  line-height: 1.2;
  letter-spacing: 0;
  text-decoration: none;
  background: var(--club-green);
  border: 2px solid var(--club-green);
  border-radius: 4px;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.club-button:hover,
.club-button:focus-visible {
  color: #ffffff;
  background: var(--club-green-dark);
  border-color: var(--club-green-dark);
}

.club-button--secondary {
  color: #ffffff;
  background: rgb(0 0 0 / 16%);
  border-color: #ffffff;
}

.club-button--secondary:hover,
.club-button--secondary:focus-visible,
.club-button--light {
  color: var(--club-green-deep);
  background: #ffffff;
  border-color: #ffffff;
}

.club-button--light:hover,
.club-button--light:focus-visible {
  color: var(--club-green-deep);
  background: var(--club-surface-soft);
  border-color: var(--club-surface-soft);
}

.club-intro {
  background: var(--club-surface);
}

.club-intro__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 4rem;
  align-items: start;
  width: min(calc(100% - 2rem), var(--club-content));
  margin-inline: auto;
  padding: 4.75rem 0;
}

.club-intro h2,
.club-section__heading h2,
.club-contact h2 {
  margin: 0;
  letter-spacing: 0;
}

.club-intro h2 {
  max-width: 17ch;
  color: var(--club-ink);
  font-size: 2.35rem;
  line-height: 1.17;
}

.club-intro__copy > p {
  max-width: 40rem;
  margin: 0;
  color: var(--club-muted);
  font-size: 1.08rem;
}

.club-facts {
  display: flex;
  gap: 2.75rem;
  margin: 2rem 0 0;
}

.club-facts > div {
  padding-left: 1rem;
  border-left: 3px solid var(--club-green);
}

.club-facts dt {
  color: var(--club-ink);
  font-size: 1.6rem;
  font-weight: 780;
  line-height: 1.1;
}

.club-facts dd {
  margin: 0.3rem 0 0;
  color: var(--club-muted);
  font-size: 0.92rem;
}

.club-departments-section {
  background: var(--club-surface-soft);
  border-top: 1px solid var(--club-line);
}

.club-section__inner {
  width: min(calc(100% - 2rem), var(--club-content));
  margin-inline: auto;
  padding: 4.75rem 0 5rem;
}

.club-section__heading {
  display: flex;
  gap: 2rem;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.club-section__heading h2 {
  color: var(--club-ink);
  font-size: 2.25rem;
  line-height: 1.15;
}

.club-section__heading > p {
  max-width: 29rem;
  margin: 0 0 0.2rem;
  color: var(--club-muted);
}

.club-departments {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.club-department {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  overflow: hidden;
  color: var(--club-ink);
  text-decoration: none;
  background: var(--club-surface);
  border: 1px solid var(--club-line);
  border-radius: 6px;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.club-department:hover,
.club-department:focus-visible {
  color: var(--club-ink);
  border-color: #9fbaa7;
  box-shadow: 0 0.7rem 1.5rem rgb(18 41 25 / 9%);
  transform: translateY(-3px);
}

.club-department img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.club-department__body {
  display: grid;
  gap: 0.45rem;
  align-content: start;
  padding: 1.15rem;
}

.club-department strong {
  color: var(--club-ink);
  font-size: 1.25rem;
  line-height: 1.25;
}

.club-department__body > span:not(.club-department__link) {
  color: var(--club-muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.club-department__link {
  align-self: end;
  margin-top: 0.55rem;
  color: var(--club-green-dark);
  font-size: 0.9rem;
  font-weight: 720;
}

.club-contact {
  color: #ffffff;
  background: var(--club-green-deep);
}

.club-contact__inner {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 2rem), var(--club-content));
  margin-inline: auto;
  padding: 3.75rem 0;
}

.club-contact h2,
.club-contact p {
  color: #ffffff;
}

.club-contact h2 {
  max-width: 31ch;
  font-size: 2rem;
  line-height: 1.2;
}

.club-contact p:not(.club-label) {
  margin: 0.65rem 0 0;
}

.club-home-footer {
  color: #cbd5cd;
  background: var(--club-ink);
}

.club-home-footer__inner {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 2rem), var(--club-content));
  min-height: 4.75rem;
  margin-inline: auto;
  padding: 1rem 0;
}

.club-home-footer__inner strong {
  color: #ffffff;
}

.club-home-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.club-home-footer a {
  color: #ffffff;
  text-decoration: none;
}

.club-home-footer a:hover,
.club-home-footer a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 68rem) {
  .container-sidebar-right .mod-menu > li:nth-last-child(2) {
    margin-left: 0;
  }

  .club-departments {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 47.99rem) {
  .container-header .grid-child {
    width: min(calc(100% - 1.25rem), var(--club-content));
    min-height: 4.65rem;
  }

  .container-header .brand-logo {
    gap: 0.7rem;
  }

  .container-header .brand-logo img {
    width: 3.2rem;
    height: 3.2rem;
  }

  .container-header .brand-logo::after {
    font-size: 1.02rem;
  }

  .container-sidebar-right .mod-menu {
    width: 100%;
    min-height: 3.25rem;
    padding-inline: 0.65rem;
    scroll-snap-type: x proximity;
  }

  .container-sidebar-right .mod-menu > li {
    scroll-snap-align: start;
  }

  .container-sidebar-right .mod-menu > li > a {
    min-height: 3.25rem;
    padding-inline: 0.7rem;
    font-size: 0.87rem;
  }

  .container-component {
    padding-bottom: 2.5rem;
  }

  .com-content-article,
  .com-content-category-blog {
    width: 100%;
    padding: 1.25rem 1rem;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .itemid-101 .com-content-article {
    padding: 0;
  }

  .com-content-article__body h1,
  .com-content-category-blog > h1 {
    font-size: 1.85rem;
  }

  .club-hero {
    min-height: 30rem;
  }

  .club-hero::after {
    background: rgb(7 17 10 / 58%);
  }

  .club-hero__image {
    object-position: 56% center;
  }

  .club-hero__content {
    width: min(calc(100% - 2rem), var(--club-content));
    padding: 3rem 0 3.35rem;
  }

  .club-hero h1 {
    max-width: 13ch;
    font-size: 2.55rem;
    line-height: 1.06;
  }

  .club-hero__lead {
    max-width: 31rem;
    margin-top: 1rem;
    font-size: 1.02rem;
    line-height: 1.5;
  }

  .club-actions {
    gap: 0.55rem;
    margin-top: 1.5rem;
  }

  .club-button {
    min-height: 2.85rem;
    padding: 0.65rem 0.8rem;
    font-size: 0.9rem;
  }

  .club-intro__inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: min(calc(100% - 2rem), var(--club-content));
    padding: 3.5rem 0;
  }

  .club-intro h2 {
    font-size: 2rem;
  }

  .club-facts {
    gap: 1.75rem;
  }

  .club-section__inner {
    width: min(calc(100% - 2rem), var(--club-content));
    padding: 3.5rem 0 3.75rem;
  }

  .club-section__heading {
    display: block;
    margin-bottom: 1.5rem;
  }

  .club-section__heading h2 {
    font-size: 2rem;
  }

  .club-section__heading > p {
    margin-top: 0.8rem;
  }

  .club-departments {
    grid-template-columns: 1fr;
  }

  .club-department {
    grid-template-columns: minmax(7.5rem, 38%) minmax(0, 1fr);
    grid-template-rows: 1fr;
  }

  .club-department img {
    height: 100%;
    min-height: 10.25rem;
    aspect-ratio: auto;
  }

  .club-department__body {
    padding: 1rem;
  }

  .club-contact__inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 3.25rem 0;
  }

  .club-contact h2 {
    font-size: 1.75rem;
  }

  .club-home-footer__inner {
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
    padding: 1.5rem 0;
  }
}

@media (max-width: 26rem) {
  .container-header .brand-logo::after {
    max-width: 12rem;
    font-size: 0.95rem;
  }

  .club-hero h1 {
    font-size: 2.2rem;
  }

  .club-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .club-button {
    width: 100%;
  }

  .club-facts {
    flex-direction: column;
    gap: 1rem;
  }

  .club-department {
    grid-template-columns: 1fr;
  }

  .club-department img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .club-button,
  .club-department {
    transition: none;
  }
}
