/* ── 補 navbar 高度 ── */
.mainContent {
  padding-top: 190px;
}

/* ── 成功訊息 ── */
.fb-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  padding: 40px 20px;
}

.fb-success__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #57a759;
  color: #fff;
  font-size: 42px;
  line-height: 80px;
  margin-bottom: 24px;
}

.fb-success p {
  font-size: 22px;
  font-weight: 600;
  color: #374151;
}

/* ── 表單外框 ── */
.fb-spine-wrap {
  display: flex;
  justify-content: center;
  padding: 40px 20px 64px;
}

.fb-spine-form {
  width: 100%;
  max-width: 480px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 40px 44px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
}

.fb-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.fb-label {
  font-size: 15px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}

.fb-required {
  color: #dc2626;
  margin-left: 3px;
}

.fb-field input,
.fb-field select,
.fb-field textarea {
  height: 42px;
  border: 1px solid #ced4da;
  border-radius: 6px;
  padding: 0 14px;
  font-size: 15px;
  color: #374151;
  outline: none;
  transition: border-color 200ms, box-shadow 200ms;
}

.fb-field input:focus,
.fb-field select:focus,
.fb-field textarea:focus {
  border-color: #6baed6;
  box-shadow: 0 0 0 3px rgba(107,174,214,0.18);
}

.fb-help {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
}

.fb-error {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  color: #dc2626;
}

.fb-error--top {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: 6px;
  color: #dc2626;
  font-size: 14px;
  padding: 10px 14px;
  margin-bottom: 20px;
  text-align: center;
}

.fb-submit {
  margin-top: 8px;
  text-align: center;
}

.fb-submit button {
  display: inline-block;
  padding: 0 48px;
  height: 48px;
  font-size: 17px;
  color: #fff;
  background-color: #57a759;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 250ms;
}

.fb-submit button:hover {
  background-color: #408a42;
}

/* ── YouTube 影片 ── */
.video-section {
  max-width: 800px;
  margin: 32px auto 0;
  padding: 0 20px;
}

.video-wrapper .embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.video-wrapper .embed-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ── 圖片 Gallery ── */
.gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 32px 24px;
  max-width: 800px;
  margin: 0 auto;
}

.gallery-item {
  width: 100%;
  max-width: 600px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  background: #fff;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── body1 ── */
.fb-body1 {
  text-align: center;
  padding: 12px 20px 0;
}

.fb-body1 h2 {
  text-align: center;
  font-size: 22px;
  line-height: 1.6;
  color: #374151;
}

.fb-body1 h2::first-line {
  font-size: 30px;
}

/* ── 平板（721~1300px）── */
@media (max-width: 1300px) and (min-width: 721px) {
  .mainContent {
    padding-top: 120px;
  }
}

/* ── 手機（≤720px）── */
@media (max-width: 720px) {
  .mainContent {
    padding-top: 100px;
  }
  .gallery {
    gap: 16px;
    padding: 20px 12px;
  }
  .gallery-item {
    max-width: 100%;
  }
  .fb-spine-wrap {
    padding: 24px 12px 48px;
  }
  .fb-spine-form {
    padding: 28px 20px;
  }
  .fb-body1 h2 {
    font-size: 18px;
  }
  .fb-body1 h2::first-line {
    font-size: 24px;
  }
  .fb-success p {
    font-size: 18px;
  }
  .fb-success__icon {
    width: 64px;
    height: 64px;
    font-size: 34px;
    line-height: 64px;
  }
  .video-section {
    padding: 0 12px;
    margin-top: 20px;
  }
}

/* ── body2 ── */
.fb-body2 {
  text-align: left;
  max-width: 640px;

  padding: 0 0 20px;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.9;
}

.fb-body2 p {
  margin-bottom: 12px;
}

.fb-body2 h1,
.fb-body2 h2,
.fb-body2 h3 {
  text-align: center;
  color: #374151;
  margin-bottom: 12px;
}

@media (max-width: 720px) {
  .fb-body2 {
    padding: 12px 16px 36px;
    font-size: 14px;
  }
}
