/* Shared editorial content and FAQ styles for BuyHold tools. */

.bh-tool-content-band {
  background: #f4f6f8;
  border-top: 1px solid #e2e8f0;
  color: #1f2937;
  padding: 52px 20px 64px;
}

.bh-tool-content-inner {
  max-width: 900px;
  margin: 0 auto;
  font-family: var(--bh-font-body, "DM Sans", Arial, sans-serif);
}

.bh-tool-article {
  background: transparent;
  color: #1f2937;
}

.bh-tool-content-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  color: #111827;
  margin: 0 0 18px;
  letter-spacing: 0;
}

.bh-tool-content-inner p,
.bh-tool-editor-content .entry-content p {
  font-size: 16px;
  color: #334155;
  line-height: 1.72;
  margin: 0 0 16px;
}

.bh-tool-content-inner a {
  color: #4f8a24;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.bh-tool-content-inner a:hover,
.bh-tool-content-inner a:focus-visible {
  color: #356f16;
}

.bh-tool-content-inner b,
.bh-tool-content-inner strong {
  color: #111827;
  font-weight: 700;
}

.bh-tool-editor-content {
  margin-top: 38px;
  padding-top: 34px;
  border-top: 1px solid #dbe3ee;
}

.bh-tool-faq {
  max-width: 900px;
  margin: 46px auto 0;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.bh-tool-faq__heading {
  background: linear-gradient(135deg, #171d30 0%, #131722 100%);
  padding: 32px 40px 28px;
  border: 1px solid rgba(42, 46, 57, 0.8);
  border-radius: 16px 16px 0 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.10);
}

.bh-tool-faq__title {
  position: relative;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  padding-bottom: 6px;
  letter-spacing: 0;
  display: inline-block;
  line-height: 1.3;
  z-index: 1;
}

.bh-tool-faq__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #95ce5a, rgba(149, 206, 90, 0.2));
  border-radius: 3px;
}

.bh-tool-faq__list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #f7f7f7;
  border: 1px solid #e0e0e0;
  border-top: none;
  border-radius: 0 0 16px 16px;
}

.bh-tool-faq__item {
  background: #fff;
  border: 0;
  border-top: 1px solid #e0e0e0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  margin: 0;
}

.bh-tool-faq__item:first-child {
  border-top: 0;
}

.bh-tool-faq__question {
  list-style: none;
  cursor: pointer;
  width: 100%;
  padding: 18px 20px;
  background: #f8f9fa;
  border: none;
  text-align: left;
  color: #333;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: background-color .2s, color .2s;
}

.bh-tool-faq__question::-webkit-details-marker {
  display: none;
}

.bh-tool-faq__question::marker {
  content: "";
}

.bh-tool-faq__question:hover {
  background: #f2f2f2;
}

.bh-tool-faq__question:focus-visible {
  outline: 2px solid #95ce5a;
  outline-offset: -2px;
}

.bh-tool-faq__chevron {
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #e5e5e5;
  border: 1px solid #d6d6d6;
  color: #555;
  flex-shrink: 0;
  transition: background-color .2s, border-color .2s, color .2s;
}

.bh-tool-faq__chevron::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translate(-50%, -60%) rotate(45deg);
  transition: transform .2s;
}

.bh-tool-faq__item[open] .bh-tool-faq__question {
  color: #222;
}

.bh-tool-faq__item[open] .bh-tool-faq__chevron {
  background: rgba(149, 206, 90, 0.14);
  border-color: rgba(149, 206, 90, 0.48);
  color: #4f8a24;
}

.bh-tool-faq__item[open] .bh-tool-faq__chevron::before {
  transform: translate(-50%, -38%) rotate(-135deg);
}

.bh-tool-faq__answer {
  padding: 8px 20px 18px;
  background: #fff;
  color: #555;
}

.bh-tool-faq__answer p {
  margin: 0 0 14px !important;
  line-height: 1.6 !important;
  font-size: 15px !important;
  color: #555 !important;
}

.bh-tool-faq__answer p:last-child {
  margin-bottom: 0 !important;
}

.bh-tool-faq__answer ul,
.bh-tool-faq__answer ol {
  margin: 14px 0 !important;
  padding-left: 20px !important;
  color: #555 !important;
}

.bh-tool-faq__answer li {
  margin-bottom: 8px !important;
}

@media (prefers-reduced-motion: reduce) {
  .bh-tool-faq__question,
  .bh-tool-faq__chevron,
  .bh-tool-faq__chevron::before {
    transition: none !important;
  }
}

@media (max-width: 600px) {
  .bh-tool-content-band {
    padding: 38px 14px 48px;
  }

  .bh-tool-content-title {
    font-size: 22px;
  }

  .bh-tool-content-inner p,
  .bh-tool-editor-content .entry-content p {
    font-size: 15px;
    line-height: 1.68;
  }

  .bh-tool-faq {
    margin-top: 36px;
    border-radius: 12px;
  }

  .bh-tool-faq__heading {
    padding: 25px 20px 20px;
    border-radius: 12px 12px 0 0;
  }

  .bh-tool-faq__title {
    font-size: 22px;
  }

  .bh-tool-faq__list {
    border-radius: 0 0 12px 12px;
  }

  .bh-tool-faq__question {
    font-size: 15px;
    padding: 16px 18px;
  }

  .bh-tool-faq__answer {
    padding: 8px 18px 16px;
  }
}
