/*!
Theme Name: Block Theme Demo
Theme URI: https://example.com
Author: Your Name
Author URI: https://example.com
Description: Modern WordPress block theme for presentation
Requires at least: 6.0
Requires PHP: 8.0
Version: 1.0.12
License: GPL v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: block-theme-demo
Domain Path: /languages

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  font-family: var(--wp--preset--font-family--outfit, "Outfit", Helvetica, Arial, sans-serif);
  font-size: 1rem;
  line-height: 1.45;
  color: #000;
  background-color: #fff;
}

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

.site-header {
  background-color: #005a87;
  color: white;
  padding: 2rem 1rem;
  margin-bottom: 2rem;
}

.site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.site-branding h1,
.site-branding p {
  margin: 0;
  color: white;
  font-size: 1.5rem;
  text-decoration: none;
}

.site-branding a {
  color: white;
  text-decoration: none;
}

.site-branding a:hover {
  text-decoration: underline;
}

.site-description {
  font-size: 0.875rem;
  font-weight: normal;
  margin-top: 0.5rem;
}

#primary {
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1rem;
}

.site-main {
  width: 100%;
}

article {
  margin-bottom: 2rem;
}

.entry-header {
  margin-bottom: 1.5rem;
}

.entry-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.post-thumbnail {
  margin-bottom: 1.5rem;
  max-width: 100%;
}

.post-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}

.entry-content {
  line-height: 1.8;
}

.entry-content p {
  margin-bottom: 1rem;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.entry-content h1 { font-size: 2rem; }
.entry-content h2 { font-size: 1.75rem; }
.entry-content h3 { font-size: 1.5rem; }
.entry-content h4 { font-size: 1.25rem; }

.entry-content ul,
.entry-content ol {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.entry-content li {
  margin-bottom: 0.5rem;
}

.entry-content a {
  color: #0073aa;
  text-decoration: underline;
}

.entry-content a:hover {
  color: #005a87;
}

.site-footer {
  background-color: #f0f0f0;
  color: #333;
  padding: 2rem 1rem;
  margin-top: 2rem;
  border-top: 1px solid #ddd;
}

.site-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.site-info {
  text-align: center;
  font-size: 0.875rem;
  color: #666;
}

/* WordPress Block Styles */
.wp-block-group {
  margin-bottom: 1.5rem;
}

.wp-block-paragraph {
  margin-bottom: 1rem;
}

.wp-block-heading {
  margin-bottom: 1rem;
  font-weight: 600;
}

.wp-block-image {
  margin-bottom: 1rem;
}

.wp-block-image img {
  max-width: 100%;
  height: auto;
}

.wp-block-button {
  display: inline-block;
}

.wp-block-button__link {
  display: inline-block;
  padding: 0.75rem 2rem;
  background-color: var(--wp--preset--color--accent);
  color: var(--wp--preset--color--white);
  text-decoration: none;
  border-radius: 30px;
  border: 0;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: 0.02em;
  transition: background-color 0.2s ease, color 0.2s ease, filter 0.2s ease;
}

.wp-block-button__link:hover {
  background-color: var(--wp--preset--color--primary-dark);
  text-decoration: none;
}

.alignwide {
  max-width: 90rem;
  margin-left: auto;
  margin-right: auto;
}

/* alignfull is handled by WordPress' own layout engine (negative margins
   relative to the constrained container). A manual 100vw/-50vw override
   causes horizontal overflow because 100vw includes the scrollbar width. */

/* Responsive */
@media (max-width: 768px) {
  .entry-title {
    font-size: 1.5rem;
  }

  .site-header {
    padding: 1rem;
  }

  #primary {
    padding: 0 0.5rem;
  }

  .entry-content ul,
  .entry-content ol {
    margin-left: 1.5rem;
  }
}

/* --- Section "Werbung Cards" (Figma Section 02) --- */
.lsv-card {
  position: relative;
  overflow: hidden;
  /* fill the column so both cards are always the same height */
  height: 100%;
}

/* keep the body text clear of the bottom-right arrow */
.lsv-card__text {
  padding-right: 3rem;
}

.lsv-card__body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.lsv-card__body .wp-block-buttons {
  margin-top: auto;
}

.lsv-card__cta {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: block;
  width: 39px;
  height: 39px;
}

.lsv-card__cta svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* --- Pill buttons (hero + contact CTA) ---
   A native paragraph (.lsv-pill) wrapping a link, with the trailing arrow added
   via CSS. No button/image/html block, so the editor never flags it invalid. */
.lsv-pill {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  width: max-content;
  max-width: 100%;
  margin: 0;
  padding: 0.5rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: 0.02em;
}

.lsv-pill a {
  color: inherit;
  text-decoration: none;
}

/* trailing arrow rendered via CSS so no <img> is needed in the markup */
.lsv-pill::after {
  content: "";
  display: block;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  background: center / contain no-repeat
    url("assets/images/arrow-pill-white.svg");
}

.lsv-pill:hover,
.lsv-pill:focus-within {
  filter: brightness(1.05);
}

.lsv-pill--bordeaux {
  background: #982942;
  color: #ffffff;
}

.lsv-pill--white {
  background: #ffffff;
  color: #982942;
}

/* --- Hero (Figma "Header") --- */
.lsv-hero {
  position: relative;
}

/* Left (gradient) column fills the row height, content vertically centered */
.lsv-hero__text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* --- Page frame & section spacing --- */
.lsv-main {
  position: relative;
  /* main is itself a .wp-block-group; cancel the theme's generic bottom margin
     that otherwise leaves a white strip below the footer. */
  margin-bottom: 0;
  /* and the top margin/gap so the first section (e.g. a full-bleed hero with an
     overlaid nav) sits flush against the header. */
  margin-top: 0;
  padding-top: 0;
}

/* First section (hero) must be flush to the top — the theme's blockGap adds a
   margin-top to every child, which would push a full-bleed hero down and leave
   a white strip above it. */
.lsv-main > :first-child {
  margin-top: 0;
}

.lsv-main > * {
  margin-bottom: var(--wp--preset--spacing--30, 1rem);
}

.lsv-main > :last-child {
  margin-bottom: 0;
}

/* Neutralise the theme's generic block bottom-margins inside the composed page;
   internal spacing is governed by each block's blockGap (which uses margin-top). */
.lsv-main > * .wp-block-group,
.lsv-main > * .wp-block-heading,
.lsv-main > * .wp-block-columns,
.lsv-main > * p {
  margin-bottom: 0;
}

/* --- Separate navigation (dynamic menu), overlaid on the hero --- */
.lsv-nav {
  position: absolute;
  top: var(--wp--preset--spacing--30, 1rem);
  left: var(--wp--preset--spacing--30, 1rem);
  right: var(--wp--preset--spacing--30, 1rem);
  z-index: 10;
}

/* Subtle top-down gradient for legibility of the overlaid nav, full-bleed
   and behind the nav content so it stays unobtrusive. */
.lsv-nav::before {
  content: "";
  position: absolute;
  top: calc(-1 * var(--wp--preset--spacing--30, 1rem));
  left: calc(-1 * var(--wp--preset--spacing--30, 1rem));
  right: calc(-1 * var(--wp--preset--spacing--30, 1rem));
  height: 220px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.2) 45%,
    rgba(0, 0, 0, 0) 100%
  );
  pointer-events: none;
  z-index: -1;
}

.lsv-nav__inner {
  max-width: 1366px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.lsv-nav__logo {
  display: inline-flex;
  flex: 0 0 auto;
}

.lsv-nav__menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* core/navigation renders <nav class="lsv-nav__menu"> > <ul class="wp-block-navigation__container"> > <li>.
   The item row lives on the inner container, so the gap/alignment go there. */
.lsv-nav__menu .wp-block-navigation__container {
  gap: 1.5rem;
  align-items: center;
}

.lsv-nav__menu li {
  position: relative;
  margin: 0;
}

.lsv-nav__menu,
.lsv-nav__menu a,
.lsv-nav__menu a:link,
.lsv-nav__menu a:visited,
.lsv-nav__menu .wp-block-navigation-item__label,
.lsv-nav__menu .wp-block-navigation__submenu-icon,
.lsv-nav__menu .wp-block-navigation-item__content.wp-block-navigation-item__content {
  color: #ffffff;
}

.lsv-nav__menu a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.lsv-nav__menu a:hover {
  opacity: 0.85;
}

.lsv-hero__row {
  overflow: hidden;
}

/* The image lives as a background on the column itself (a native core/column
   block) so there is no separate image block to trip up editor validation.
   cover + center keeps it cropped to fill, never distorted. */
.lsv-hero__img-col {
  align-self: stretch;
  min-height: 320px;
  background-image: url('assets/images/hero-still.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* --- Category tiles (Figma "Section 01") --- */
.lsv-cat {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: var(--wp--preset--spacing--30, 1rem);
  height: 100%;
}

/* icon + arrow are core/image blocks (class sits on the <figure>); zero the
   default wp-block-image margin and let the inner <img> fill the sized figure. */
.lsv-cat__icon {
  display: block;
  width: 48px;
  height: 48px;
  margin: 0;
}

.lsv-cat__arrow {
  position: absolute;
  top: 16px;
  right: 1rem;
  display: block;
  width: 39px;
  height: 39px;
  margin: 0;
}

.lsv-cat__icon img,
.lsv-cat__arrow img {
  display: block;
  width: 100%;
  height: 100%;
}

/* --- Accordion (Figma "Section 03") --- */
.lsv-acc {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lsv-acc__item {
  background: #beb7b0;
  border-radius: 12px;
  overflow: hidden;
}

.lsv-acc__item[open] {
  background: linear-gradient(156deg, #005b50 19%, #20d382 128%);
}

.lsv-acc__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 12px 12px 12px 19px;
  color: #ffffff;
  font-weight: 600;
  font-size: 1.3125rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.lsv-acc__item summary::-webkit-details-marker {
  display: none;
}

.lsv-acc__item summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #8f8984;
  color: #ffffff;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
}

.lsv-acc__item[open] summary::after {
  content: "\2212";
  background: #ffffff;
  color: #005b50;
}

.lsv-acc__body {
  padding: 0 19px 16px;
  color: #ffffff;
}

.lsv-acc__body p {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.45;
}

/* --- Footer (Figma "Footer") --- */
.lsv-footer {
  position: relative;
}

/* remove the large block-gap above the address text under its heading */
.lsv-footer .wp-block-column p {
  margin-top: 0;
}

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

.lsv-footer__links li {
  margin: 0;
}

.lsv-footer__links a {
  color: #ffffff;
  font-size: 1.125rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.lsv-footer__links a:hover {
  text-decoration: underline;
}

.lsv-footer__rule {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  margin: 0;
  width: 100%;
}

.lsv-footer__social {
  position: absolute;
  /* align flush with the columns text, and to the right edge of the 1366 grid
     (not the full-width section) */
  top: 96px;
  right: max(0px, calc((100% - 1366px) / 2));
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 8px;
}

.lsv-footer__social img {
  display: block;
  width: 27px;
  height: 27px;
}

/* --- Shared bits --- */
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lsv-icon48 {
  display: block;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
}

.lsv-eyebrow {
  font-size: 1.125rem;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* --- Logo (wordmark + Swiss Post badge, scaled by height, never distorted) --- */
.lsv-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  width: max-content;
  max-width: 100%;
}

.lsv-logo img {
  display: block;
  width: auto;
  max-width: none;
}

.lsv-logo__wordmark {
  height: 75%;
}

.lsv-logo__badge {
  height: 95%;
}

.lsv-logo__divider {
  width: 1px;
  height: 60%;
  background: rgba(255, 255, 255, 0.4);
}

/* --- About (Figma V2 "Section 04") --- */
.lsv-about__inner {
  position: relative;
  overflow: hidden;
  background-image: url('assets/images/about-bg.jpg');
  background-size: cover;
  background-position: center;
}

/* dark gradient overlay so the white text stays readable on the photo */
.lsv-about__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(228deg, rgba(71, 69, 66, 0) 14%, rgba(71, 69, 66, 0.8) 91%);
  z-index: 0;
}

.lsv-about__content {
  position: relative;
  z-index: 1;
}

/* content stays 640px wide but its left edge aligns with the 1024 column */
.lsv-about__content > * {
  max-width: 640px;
  margin-right: auto;
}

/* --- Berater finden card (Figma V2 "Section 05") --- */
.lsv-plz {
  display: block;
}

.lsv-plz input {
  width: 100%;
  border: 0;
  border-radius: 4px;
  background: #ffffff;
  padding: 0.5rem 0.75rem;
  font-family: inherit;
  font-size: 1.125rem;
  line-height: 1.45;
  color: #474542;
}

.lsv-plz input::placeholder {
  color: #8f8984;
}

.lsv-berater-search .wp-block-search__inside-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem;
  border: 0;
  border-radius: 8px;
  background: #ffffff;
}

.lsv-berater-search .wp-block-search__input {
  border: 0;
  padding: 0.5rem 0.75rem;
  font-family: inherit;
  font-size: 1.125rem;
  line-height: 1.45;
  color: #474542;
  background: transparent;
}

.lsv-berater-search .wp-block-search__input::placeholder {
  color: #8f8984;
}

.lsv-berater-search .wp-block-search__button {
  margin: 0;
  white-space: nowrap;
}

.lsv-link-underline {
  display: block;
  color: #ffffff;
  font-size: 1.125rem;
  letter-spacing: 0.02em;
  text-decoration: underline;
  text-underline-offset: 6px;
  width: max-content;
  margin-top: var(--wp--preset--spacing--40, 1.5rem);
}

.lsv-berater-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: #ffffff;
  border-radius: 16px;
}

.lsv-berater-card .wp-block-image {
  margin: 0;
}

.lsv-berater-card .wp-block-image img,
.lsv-berater-card__photo {
  display: block;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
}

.lsv-berater-card__name {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-align: center;
  color: #005b50;
}

.lsv-berater-card__name .lsv-eyebrow {
  color: #005b50;
}

.lsv-berater-card__name strong {
  font-weight: 600;
  font-size: 2rem;
  line-height: 1.15;
}

.lsv-berater-card__actions {
  display: flex;
  gap: 0.5rem;
}

.lsv-berater-card__actions .wp-block-image {
  margin: 0;
}

.lsv-berater-card__actions img {
  display: block;
  width: 48px;
  height: 48px;
}

/* --- News slider (Figma V2 "Section 06") --- */
.lsv-news__head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.lsv-news__foot-row {
  display: flex;
  justify-content: flex-start;
}

/* no gap above the slider button */
.lsv-news .lsv-news__foot {
  margin-top: 0;
}

.lsv-news__title {
  margin: 0;
  color: #474542;
  font-weight: 600;
  font-size: 3rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.lsv-news__dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  background: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 64px;
}

.lsv-news__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #beb7b0;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.lsv-news__dot:hover {
  background: #8f8984;
}

.lsv-news__dot.is-active {
  background: #474542;
}

.lsv-news__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  /* First card starts at the title (1024 column); cards bleed past on slide. */
  padding-left: max(var(--wp--preset--spacing--30, 1rem), calc((100% - 1024px) / 2));
  padding-right: var(--wp--preset--spacing--30, 1rem);
  scroll-padding-left: max(var(--wp--preset--spacing--30, 1rem), calc((100% - 1024px) / 2));
  -webkit-overflow-scrolling: touch;
  /* Hide the scrollbar (scrolling stays functional). */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.lsv-news__track::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.lsv-news__card {
  flex: 0 0 auto;
  width: min(640px, 85%);
  display: flex;
  background: #beb7b0;
  border-radius: 16px;
  overflow: hidden;
  scroll-snap-align: start;
}

.lsv-news__media {
  flex: 1 1 0;
  min-width: 0;
  background-size: cover;
  background-position: center;
}

.lsv-news__body {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 2rem;
  color: #ffffff;
}

.lsv-news__card-title {
  margin: 0;
  color: #ffffff;
  font-weight: 600;
  font-size: 2rem;
  line-height: 1.15;
}

.lsv-news__card-text {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.45;
}

.lsv-eyebrow--light {
  margin: 0;
  color: #ffffff;
  font-weight: 400;
}

.lsv-news__arrow {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: block;
  width: 39px;
  height: 39px;
}

.lsv-news__arrow svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* --- Modern pattern helpers --- */
.wp-block-button.is-style-lsv-pill .wp-block-button__link,
.lsv-button .wp-block-button__link {
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 2rem;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1;
  text-decoration: none;
}

.wp-block-button.is-style-lsv-pill .wp-block-button__link::after,
.lsv-button .wp-block-button__link::after {
  content: "";
  display: block;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  background: center / contain no-repeat url("assets/images/arrow-pill-white.svg");
}

.wp-block-button.is-style-lsv-pill:hover .wp-block-button__link,
.wp-block-button.is-style-lsv-pill:focus-within .wp-block-button__link,
.lsv-button:hover .wp-block-button__link,
.lsv-button:focus-within .wp-block-button__link {
  filter: brightness(1.05);
}

.wp-block-button.lsv-button--bordeaux .wp-block-button__link,
.lsv-button--bordeaux .wp-block-button__link {
  background: #982942;
  color: #ffffff;
}

.wp-block-button.lsv-button--white .wp-block-button__link,
.lsv-button--white .wp-block-button__link {
  background: #ffffff;
  color: #005b50;
}

.wp-block-button.lsv-button--white .wp-block-button__link::after,
.lsv-button--white .wp-block-button__link::after {
  background-image: url("assets/images/arrow-pill-bordeaux.svg");
}

.wp-block-button.lsv-button--outline .wp-block-button__link,
.lsv-button--outline .wp-block-button__link {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.lsv-hero-modern {
  overflow: hidden;
}

.lsv-hero-modern .wp-block-columns {
  align-items: stretch;
}

.lsv-hero-modern__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.lsv-hero-modern__media-col {
  display: flex;
}

.lsv-hero-modern__media {
  flex: 1 1 auto;
  min-height: 100%;
  height: auto;
  border-radius: 0;
}

.lsv-hero-modern__media .wp-block-cover__image-background {
  width: 100%;
  height: 100%;
}

.lsv-hero-modern__media,
.lsv-pattern-card-cover,
.lsv-image-story {
  min-height: 100%;
}

.lsv-dual-cards {
  text-align: center;
}

.lsv-pattern-card-cover {
  overflow: hidden;
  border-radius: 24px;
}

.lsv-pattern-card-cover .wp-block-cover__inner-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100%;
}

.lsv-pattern-card-cover .wp-block-buttons {
  margin-top: auto;
}

.lsv-accordion-modern__intro {
  max-width: 32rem;
}

.lsv-details-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lsv-details-list .wp-block-details {
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: #beb7b0;
}

.lsv-details-list .wp-block-details[open] {
  background: linear-gradient(156deg, #005b50 19%, #20d382 128%);
}

.lsv-details-list .wp-block-details summary {
  position: relative;
  padding: 1rem 4.75rem 1rem 1.5rem;
  color: #ffffff;
  font-size: 1.3125rem;
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
}

.lsv-details-list .wp-block-details summary::-webkit-details-marker {
  display: none;
}

.lsv-details-list .wp-block-details summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #8f8984;
  color: #ffffff;
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1;
}

.lsv-details-list .wp-block-details[open] summary::after {
  content: "\2212";
  background: #ffffff;
  color: #005b50;
}

.lsv-details-list .wp-block-details > :not(summary) {
  margin: 0;
  padding: 0 1.5rem 1.25rem;
  color: #ffffff;
}

.lsv-details-list .wp-block-details p {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.6;
}

.lsv-image-story {
  overflow: hidden;
  border-radius: 28px;
}

.lsv-image-story .wp-block-cover__inner-container {
  max-width: 40rem;
}

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

.lsv-feature-tile {
  height: 100%;
  border-radius: 22px;
}

.lsv-feature-tile__icon {
  width: 72px;
  height: 72px;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.lsv-feature-tile__icon img {
  display: block;
  width: 100%;
  height: 100%;
}

.lsv-feature-tile h3,
.lsv-feature-tile p {
  margin: 0;
}

.lsv-news-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.lsv-news-list__item {
  overflow: hidden;
  border-radius: 22px;
}

.lsv-news-list__image,
.lsv-news-list__image .wp-block-cover,
.lsv-news-list__image .wp-block-cover__image-background {
  min-height: 100%;
}

.lsv-news-list__date {
  margin: 0;
  color: #982942;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lsv-news-list__title,
.lsv-news-list__text {
  margin: 0;
}

/* --- Section responsiveness --- */
@media (max-width: 781px) {
  .lsv-nav__inner {
    padding: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .lsv-nav__menu {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .lsv-hero__img {
    min-height: 240px;
  }

  .lsv-news__card {
    width: 85%;
    flex-direction: column;
  }

  .lsv-news__media {
    min-height: 200px;
  }

  .lsv-about__content {
    max-width: 100%;
  }

  .lsv-details-list .wp-block-details summary {
    padding-right: 4rem;
    font-size: 1.125rem;
  }

  .lsv-image-story {
    border-radius: 20px;
  }

  .lsv-feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 782px) and (max-width: 1100px) {
  .lsv-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* ---------------------------------------------------------------------------
   Block: Ansprechperson (acf/ansprechperson)
   Red (bordeaux) card: 1/3 photo left, 2/3 name + funktion + button right.
   --------------------------------------------------------------------------- */
.lsv-ansprechperson {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: center;
  gap: 2.5rem;
  padding: 3rem clamp(1.5rem, 5vw, 5rem);
  background: #982942;
  color: #ffffff;
  border: 12px solid #ffffff;
}

.lsv-ansprechperson__media {
  align-self: stretch;
}

.lsv-ansprechperson__photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  border-radius: 12px;
}

.lsv-ansprechperson__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.lsv-ansprechperson__name {
  margin: 0;
  font-weight: 600;
  font-size: 1.75rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.lsv-ansprechperson__funktion {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
}

.lsv-ansprechperson__button {
  margin-top: 1rem;
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #ffffff;
  color: #982942;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 999px;
  transition: opacity 0.15s ease;
}

.lsv-ansprechperson__button:hover {
  opacity: 0.85;
}

.lsv-ansprechperson--placeholder {
  display: block;
  padding: 3rem;
  background: #982942;
  color: rgba(255, 255, 255, 0.85);
  border: 12px solid #ffffff;
  text-align: center;
}

@media (max-width: 600px) {
  .lsv-ansprechperson {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.75rem;
    text-align: center;
  }

  .lsv-ansprechperson__body {
    align-items: center;
  }

  .lsv-ansprechperson__photo {
    max-width: 200px;
    margin: 0 auto;
  }
}
