/* =============================================================
   bo-founder-mid-page — Brand Offer Founder Mid-Page Section
   Alle Klassen mit bo-founder-mid-page- praefixiert
   ============================================================= */

.bo-founder-mid-page-wrapper {
  background-color: var(--bfmp-bg, #ffffff);
  padding: var(--bfmp-pad-top, 32px) 16px var(--bfmp-pad-bottom, 32px);
  box-sizing: border-box;
  width: 100%;
  display: block;
}

.bo-founder-mid-page-wrapper *,
.bo-founder-mid-page-wrapper *::before,
.bo-founder-mid-page-wrapper *::after {
  box-sizing: border-box;
}

.bo-founder-mid-page-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ===== Headline ===== */
.bo-founder-mid-page-headline {
  margin: 0;
  color: var(--bfmp-headline-color, #1a1a1a);
  font-size: var(--bfmp-headline-size, 18px);
  line-height: 1.3;
  text-align: var(--bfmp-headline-align, center);
  font-weight: 600;
}
.bo-founder-mid-page-headline p { margin: 0; }
.bo-founder-mid-page-headline p + p { margin-top: 6px; }

/* ===== Video ===== */
.bo-founder-mid-page-video-wrap {
  position: relative;
  width: var(--bfmp-video-width, 60%);
  max-width: 100%;
  margin: 4px auto 0;
  aspect-ratio: var(--bfmp-video-ratio, 16 / 9);
  border-radius: var(--bfmp-video-radius, 8px);
  overflow: hidden;
  background-color: #f5f1e8;
}

.bo-founder-mid-page-video-wrap-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed #d4d4d4;
}

.bo-founder-mid-page-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background-color: #000000;
}

.bo-founder-mid-page-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
  pointer-events: none;
}

.bo-founder-mid-page-empty-text {
  text-align: center;
  color: #999999;
  font-size: 13px;
  line-height: 1.5;
  padding: 16px;
}

/* ===== Play Button ===== */
.bo-founder-mid-page-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: var(--bfmp-play-size, 64px);
  height: var(--bfmp-play-size, 64px);
  border-radius: 50%;
  background-color: var(--bfmp-play-bg, #ffffff);
  color: var(--bfmp-play-color, #c87a3c);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 2;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.bo-founder-mid-page-play-button:hover {
  transform: translate(-50%, -50%) scale(1.06);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.bo-founder-mid-page-play-button:active {
  transform: translate(-50%, -50%) scale(0.96);
}

.bo-founder-mid-page-play-button svg {
  width: 42%;
  height: 42%;
  display: block;
  margin-left: 6%;
}

/* ===== Subline ===== */
.bo-founder-mid-page-subline {
  margin: 6px 0 0 0;
  color: var(--bfmp-subline-color, #555555);
  font-size: var(--bfmp-subline-size, 14px);
  line-height: 1.45;
  text-align: var(--bfmp-subline-align, center);
}
.bo-founder-mid-page-subline p { margin: 0; }
.bo-founder-mid-page-subline p + p { margin-top: 6px; }

/* ===== Caption ===== */
.bo-founder-mid-page-caption {
  margin: 8px auto 0;
  padding: 18px 24px;
  background-color: var(--bfmp-caption-bg, #f3ede1);
  border-radius: 8px;
  color: var(--bfmp-caption-color, #1a1a1a);
  font-size: var(--bfmp-caption-size, 14px);
  text-align: var(--bfmp-caption-align, center);
  line-height: 1.5;
  max-width: var(--bfmp-caption-width, 60%);
  width: 100%;
}
.bo-founder-mid-page-caption p { margin: 0; }
.bo-founder-mid-page-caption p + p { margin-top: 6px; }

/* ===== Button (Footer) ===== */
.bo-founder-mid-page-button-wrap {
  margin: 6px 0 0;
  text-align: var(--bfmp-btn-align, center);
}

.bo-founder-mid-page-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background-color: var(--bfmp-btn-bg, #000000);
  color: var(--bfmp-btn-color, #ffffff);
  font-size: var(--bfmp-btn-size, 16px);
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: var(--bfmp-btn-radius, 6px);
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.1s ease;
  line-height: 1.2;
}

.bo-founder-mid-page-button:hover { opacity: 0.92; }
.bo-founder-mid-page-button:active { transform: translateY(1px); }

/* ===== Mobile ===== */
@media screen and (max-width: 749px) {
  .bo-founder-mid-page-wrapper {
    padding-left: 12px;
    padding-right: 12px;
  }

  .bo-founder-mid-page-video-wrap {
    width: 100%;
  }

  .bo-founder-mid-page-caption {
    max-width: 100%;
    padding: 14px 18px;
  }

  .bo-founder-mid-page-play-button {
    width: calc(var(--bfmp-play-size, 64px) * 0.85);
    height: calc(var(--bfmp-play-size, 64px) * 0.85);
  }

  .bo-founder-mid-page-button {
    padding: 12px 22px;
  }
}
