.site-branding { display: flex; align-items: center; gap: 0.8rem; }
.site-branding__logo img { width: auto; height: 7.5rem; max-height: 7.5rem; }
.site-branding__text { display: grid; }
.site-branding__name { color: white; font-size: clamp(1.05rem, 2vw, 1.35rem); font-weight: 800; text-decoration: none; }
.site-branding__slogan { color: rgb(255 255 255 / 0.75); font-size: 0.82rem; }
.menu { margin: 0; padding: 0; list-style: none; }
.menu--main { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.menu__item { position: relative; }
.menu__link { display: block; padding: 0.65rem 0; color: white; font-family: Arial, Helvetica, sans-serif; font-size: 0.875rem; font-weight: 400; letter-spacing: 0.0625rem; line-height: 1.3; text-decoration: none; text-transform: uppercase; }
.menu__link:hover, .menu__link:focus, .menu__link.is-active { color: white; background: transparent; text-decoration: underline; text-underline-offset: 0.22rem; }
.menu--submenu { min-width: 15rem; padding: 0.5rem; background: var(--tcs-green-900); box-shadow: var(--tcs-shadow); }
@media (min-width: 64.001rem) {
  .menu--submenu { position: absolute; top: 100%; right: 0; visibility: hidden; opacity: 0; transform: translateY(0.5rem); transition: 160ms ease; }
  .menu__item:hover > .menu--submenu, .menu__item:focus-within > .menu--submenu { visibility: visible; opacity: 1; transform: none; }
  .nav-toggle { display: none; }
}
.nav-toggle { width: 3rem; height: 3rem; padding: 0.65rem; border: 1px solid rgb(255 255 255 / 0.35); border-radius: 0.4rem; background: transparent; }
.nav-toggle span[aria-hidden] { display: block; height: 2px; margin: 0.3rem 0; background: white; }
@media (max-width: 64rem) {
  .site-branding__logo img { height: 3.75rem; max-height: 3.75rem; }
  .primary-navigation { display: none; position: absolute; inset: 5rem 0 auto; padding: 1rem; background: var(--tcs-green-900); }
  .primary-navigation.is-open { display: block; }
  .menu--main { align-items: stretch; flex-direction: column; gap: 0; }
  .menu__link { padding: 0.75rem 1rem; }
  .menu--submenu { padding-left: 1rem; box-shadow: none; }
}
.node__content > * + * { margin-top: 1.2rem; }
.node__content, .field-content { overflow-wrap: anywhere; }
.page-title, .page-title span { overflow-wrap: anywhere; word-break: break-word; }
.node__content iframe, .node__content embed, .node__content object { max-width: 100%; }
.node__content img { max-width: 100%; height: auto; }
.node__content table { display: block; max-width: 100%; overflow-x: auto; }
.node--unpublished { border-left: 0.3rem solid #b42318; padding-left: 1rem; }
.block { margin-block: 1.5rem; }
.views-row { margin-block: 1.25rem; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 0.75rem; border: 1px solid var(--tcs-border); text-align: left; }
th { background: var(--tcs-surface-soft); }
input:not([type='checkbox']):not([type='radio']), textarea, select { max-width: 100%; padding: 0.7rem 0.8rem; border: 1px solid var(--tcs-border); border-radius: 0.35rem; }
.button, button, input[type='submit'] { padding: 0.7rem 1rem; border: 0; border-radius: 0.35rem; color: white; background: var(--tcs-green-700); font-weight: 700; cursor: pointer; }
.button:hover, button:hover, input[type='submit']:hover { background: var(--tcs-green-900); }

.tcs-hero { position: relative; }
.tcs-hero__slide { display: none; margin: 0; }
.tcs-hero__slide.is-active { display: block; }
.tcs-hero-card { position: relative; min-height: clamp(24rem, 42.15vw, 50rem); margin: 0; color: white; background: var(--tcs-green-900); }
.tcs-hero-card__media, .tcs-hero-card__media > div { position: absolute; inset: 0; }
.tcs-hero-card__media img { width: 100%; height: 100%; object-fit: cover; }
.tcs-hero-card__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 0 0 / 0.05), rgb(0 0 0 / 0.2)); }
.tcs-hero-card__caption { position: relative; z-index: 1; display: flex; min-height: clamp(24rem, 42.15vw, 50rem); align-items: center; flex-direction: column; justify-content: end; padding-block: clamp(3.5rem, 6vw, 5rem); text-align: center; text-shadow: 0 0.1rem 0.2rem rgb(0 0 0 / 0.65); }
.tcs-hero-card__title { max-width: 18ch; margin: 0; font-size: clamp(2rem, 5vw, 4.5rem); }
.tcs-hero-card__title a, .tcs-hero-card__subtitle { color: white; }
.tcs-hero-card__title a { text-decoration: none; }
.tcs-hero-card__subtitle { max-width: 60rem; margin-top: 0.75rem; font-family: Arial, Helvetica, sans-serif; font-size: clamp(1.15rem, 2.4vw, 2rem); font-weight: 700; line-height: 1.55; text-transform: uppercase; }
.tcs-hero__controls { position: absolute; z-index: 2; bottom: 1.5rem; left: 50%; display: flex; gap: 0.5rem; transform: translateX(-50%); }
.tcs-hero__button { width: 0.85rem; height: 0.85rem; padding: 0; border: 2px solid white; border-radius: 50%; background: transparent; }
.tcs-hero__button[aria-current='true'] { background: var(--tcs-lime); }

.tcs-slideshow,
.tcs-slideshow > .views_slideshow_cycle_slide,
.tcs-slideshow > .views_slideshow_cycle_slide .views-row,
.tcs-slideshow > .views_slideshow_cycle_slide .views-field,
.tcs-slideshow > .views_slideshow_cycle_slide .field-content { height: fit-content !important; }
.tcs-slideshow { position: relative; }
.tcs-slideshow > .views_slideshow_cycle_slide { position: static !important; display: none !important; width: 100% !important; opacity: 1 !important; }
.tcs-slideshow > .views_slideshow_cycle_slide.is-active { display: block !important; }
.tcs-slideshow img { max-width: 100%; height: auto; object-fit: contain; }
.tcs-slideshow__controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1rem; }
.tcs-slideshow__button { min-width: 5.5rem; }
.tcs-slideshow__status { min-width: 4rem; text-align: center; }

.field--name-field-abschnitt .field__label { display: none; }

.tcs-highlight-card {
  display: grid;
  grid-template-columns: 17.5rem minmax(0, 53.125rem);
  align-items: start;
}
.tcs-highlight-card__label {
  padding-top: 0.65rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
}
.tcs-highlight-card__content { display: flex; align-items: flex-start; min-width: 0; }
.tcs-highlight-card__image { flex: 0 0 auto; }
.tcs-highlight-card__image img { width: auto; height: 12.4375rem; padding-right: 0.65rem; object-fit: contain; }
.tcs-highlight-card__copy { min-width: 0; padding-top: 0.65rem; }
.tcs-highlight-card__title { font-size: 1.2rem; font-weight: 700; line-height: 1.35; text-transform: uppercase; }
.tcs-highlight-card__body p { margin: 0.35rem 0 0; }
.front-highlights--terms .tcs-highlight-card,
.front-highlights--terms .tcs-highlight-card a,
.front-highlights--terms .tcs-highlight-card__title { color: white; }
.views-slideshow-controls-bottom { display: flex; justify-content: center; margin-top: 1rem; }
.views-slideshow-pager-bullets { margin: 0; padding: 0; }

#block-tcs-views-block-vorstand-block-1 { color: white; }
#block-tcs-views-block-vorstand-block-1 h2 { margin: 0 0 1.25rem; color: white; }
#block-tcs-views-block-vorstand-block-1 .views-element-container > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
#block-tcs-views-block-vorstand-block-1 .views-row {
  min-height: 8.125rem;
  margin: 0;
  padding: 1.25rem 1.875rem;
}
.tcs-board-member__name { font-size: 1.2rem; font-weight: 700; line-height: 1.25; text-transform: uppercase; }
.tcs-board-member__details { line-height: 1.45; }
#block-tcs-views-block-vorstand-block-1 a { color: white; }

@media (max-width: 54rem) {
  .tcs-highlight-card { grid-template-columns: 1fr; gap: 1rem; }
  .tcs-highlight-card__content { flex-direction: column; gap: 1rem; }
  .tcs-highlight-card__image img { width: auto; max-width: 100%; height: auto; max-height: 18rem; padding-right: 0; }
  #block-tcs-views-block-vorstand-block-1 .views-element-container > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 40rem) {
  #block-tcs-views-block-vorstand-block-1 .views-element-container > div { grid-template-columns: 1fr; }
  #block-tcs-views-block-vorstand-block-1 .views-row { min-height: 0; padding: 1rem 0; }
}

#block-tcs-views-block-stadtmeisterschaften-bilder-block-1,
#block-tcs-views-block-sponsoren-stadtmeisterschaften-block-1 { clear: both; }
#block-tcs-views-block-stadtmeisterschaften-bilder-block-1 .field-content {
  display: grid;
  width: 100% !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1rem;
}
#block-tcs-views-block-stadtmeisterschaften-bilder-block-1 .views-row { margin: 0; }
#block-tcs-views-block-stadtmeisterschaften-bilder-block-1 .views-field { width: 100% !important; }
#block-tcs-views-block-stadtmeisterschaften-bilder-block-1 img { width: 100%; height: 100%; max-height: 28rem; object-fit: cover; }

#block-tcs-views-block-sponsoren-stadtmeisterschaften-block-1 [class*='js-view-dom-id-'] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr));
  align-items: center;
  gap: 1.5rem;
}
#block-tcs-views-block-sponsoren-stadtmeisterschaften-block-1 .views-row { display: grid; place-items: center; margin: 0; }
#block-tcs-views-block-sponsoren-stadtmeisterschaften-block-1 .views-row,
#block-tcs-views-block-sponsoren-stadtmeisterschaften-block-1 .views-field,
#block-tcs-views-block-sponsoren-stadtmeisterschaften-block-1 .field-content,
#block-tcs-views-block-sponsoren-stadtmeisterschaften-block-1 a { width: 100% !important; min-width: 0; }
#block-tcs-views-block-sponsoren-stadtmeisterschaften-block-1 a { display: block; }
#block-tcs-views-block-sponsoren-stadtmeisterschaften-block-1 img { width: 100%; max-height: 8rem; object-fit: contain; }
@media (max-width: 40rem) {
  .node__content div[style*='width'] { max-width: 100%; }
  .node__content .align-left, .node__content .align-right { float: none; margin-inline: 0; }
}
