/* Opt-in visual content blocks for use inside blog post content (via shortcodes or Gutenberg). Scoped to body.single-post. */

/* Stat Banner */
.oghemp-stat-banner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 30px 0;
}

.oghemp-stat-banner .stat-item {
  text-align: center;
  padding: 20px;
  background: rgba(22, 163, 74, .05);
  border-radius: 12px;
  border: 1px solid rgba(22, 163, 74, .15);
}

.oghemp-stat-banner .stat-number {
  font-size: 36px;
  font-weight: 700;
  color: #16a34a;
  margin-bottom: 8px;
}

.oghemp-stat-banner .stat-label {
  font-size: 14px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Comparison */
.oghemp-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 40px 0;
}

.oghemp-compare .brand-column {
  padding: 35px 30px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .03), 0 1px 3px rgba(0, 0, 0, .01);
  transition: all 0.3s ease;
}

.oghemp-compare .brand-column.big-brands {
  background: rgba(22, 163, 74, 0.03);
  border: 1px solid rgba(22, 163, 74, 0.15);
}

.oghemp-compare .brand-column.small-brands {
  background: rgba(0, 0, 0, 0.01);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.oghemp-compare .brand-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 25px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #1f2937;
}

.oghemp-compare .brand-features {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.oghemp-compare .feature-item {
  font-size: 13px;
  padding: 12px 10px 12px 25px;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  position: relative;
  list-style-type: none !important;
  line-height: 1.4;
}

.oghemp-compare .feature-item:last-child {
  border-bottom: none;
}

.oghemp-compare .feature-item:before {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: #16a34a;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(22, 163, 74, 0.8);
}

/* Decision Grid */
.oghemp-decision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 50px auto auto;
  gap: 0;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  margin: 30px 0;
}

.oghemp-decision-grid .axis-header {
  background: #f5f5f5;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-bottom: 2px solid #e0e0e0;
  border-right: 1px solid #e0e0e0;
}

.oghemp-decision-grid .quadrant {
  padding: 20px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-right: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

.oghemp-decision-grid .quadrant.high-impact-high-urgency {
  background: rgba(22, 163, 74, .1);
  border-top: 4px solid #16a34a;
}

/* Timeline */
.oghemp-timeline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin: 40px 0;
  padding: 0 20px;
}

.oghemp-timeline:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 20px;
  right: 20px;
  height: 2px;
  background: #e0e0e0;
  z-index: 1;
}

.oghemp-timeline .timeline-step {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
}

.oghemp-timeline .step-marker {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #16a34a;
  border: 4px solid #fff;
  margin: 0 auto 10px;
  box-shadow: 0 2px 8px rgba(22, 163, 74, .3);
}

.oghemp-timeline .step-content {
  margin-top: 10px;
}

.oghemp-timeline .step-title {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 5px;
}

.oghemp-timeline .step-description {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.4;
}

/* ==========================================================================
   FAQ Accordion — Clean Flat Design
   ========================================================================== */

/* Kill WordPress wpautop ghost <p> and <br> injected inside faq-item */
.oghemp-faq .faq-item > p,
.oghemp-faq .faq-item > br {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
  height: 0 !important;
}

.oghemp-faq {
  margin: 28px 0;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.oghemp-faq .faq-item {
  border-bottom: 1px solid #f0f0f0;
}

.oghemp-faq .faq-item:last-child {
  border-bottom: none;
}

/* The clickable row */
.oghemp-faq .faq-question {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 11px 16px !important;
  cursor: pointer !important;
  user-select: none !important;
  background: transparent !important;
  border: none !important;
  width: 100% !important;
  text-align: left !important;
  font-family: inherit !important;
  margin: 0 !important;
  transition: background 0.15s ease !important;
}

.oghemp-faq .faq-question:hover {
  background: #fafafa !important;
}

.oghemp-faq .faq-item.is-open > .faq-question {
  background: #f9fef9 !important;
}

.oghemp-faq .faq-question-text {
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #111827 !important;
  line-height: 1.45 !important;
  flex: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Chevron icon — pure CSS, no circle */
.oghemp-faq .faq-icon {
  flex-shrink: 0 !important;
  width: 16px !important;
  height: 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #9ca3af !important;
  font-size: 18px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  transition: transform 0.22s ease, color 0.15s ease !important;
  background: none !important;
  border: none !important;
}

.oghemp-faq .faq-item.is-open .faq-icon {
  transform: rotate(45deg) !important;
  color: #16a34a !important;
}

/* Hidden answer panel */
.oghemp-faq .faq-answer {
  overflow: hidden !important;
  max-height: 0 !important;
  height: 0 !important;
  padding: 0 16px !important;
  transition: max-height 0.3s ease, height 0.3s ease !important;
}

.oghemp-faq .faq-item.is-open .faq-answer {
  max-height: 800px !important;
  height: auto !important;
  padding: 0 16px 12px !important;
}

/* Answer text */
.oghemp-faq .faq-answer > p,
.oghemp-faq .faq-answer > div {
  font-size: 13px !important;
  line-height: 1.65 !important;
  color: #6b7280 !important;
  margin: 0 !important;
  padding-top: 8px !important;
  border-top: 1px solid #f3f4f6 !important;
}

.oghemp-faq .faq-answer strong {
  color: #16a34a !important;
  font-weight: 600 !important;
}

/* Fallback: keep legacy details/summary working if present */
.oghemp-faq details summary::-webkit-details-marker {

  display: none;
}


/* Anchored Summary */
.oghemp-anchored-summary {
  background: rgba(22, 163, 74, .05);
  border-left: 4px solid #16a34a;
  border-radius: 8px;
  padding: 20px;
  margin: 25px 0;
  box-shadow: 0 2px 10px rgba(22, 163, 74, .1);
}

.oghemp-anchored-summary h4 {
  color: #16a34a;
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.oghemp-anchored-summary ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.oghemp-anchored-summary li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(22, 163, 74, .1);
  position: relative;
  padding-left: 25px;
}

.oghemp-anchored-summary li:before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #16a34a;
}

.oghemp-anchored-summary li:last-child {
  border-bottom: none;
}

.oghemp-anchored-summary a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
}

.oghemp-anchored-summary a:hover {
  color: #16a34a;
  text-decoration: underline;
}

/* Usecase Box */
.oghemp-usecase-box {
  background: rgba(22, 163, 74, 0.03);
  border-left: 4px solid #16a34a;
  border-radius: 6px;
  padding: 18px 20px;
  margin: 20px 0;
  border-top: 1px solid rgba(22, 163, 74, 0.05);
  border-right: 1px solid rgba(22, 163, 74, 0.05);
  border-bottom: 1px solid rgba(22, 163, 74, 0.05);
}

.oghemp-usecase-box .usecase-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #16a34a;
  letter-spacing: 0.05em;
  margin-bottom: 4px !important;
}

.oghemp-usecase-box .usecase-list {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-left: 0 !important;
  list-style-type: none !important;
}

.oghemp-usecase-box .usecase-list li {
  font-size: 14px !important;
  line-height: 1.5 !important;
  color: #374151 !important;
  margin-bottom: 8px !important;
  position: relative !important;
  padding: 0 0 0 20px !important;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
}

.oghemp-usecase-box .usecase-list li::before,
.oghemp-usecase-box .usecase-list li:before {
  content: "" !important;
  position: absolute !important;
  left: 2px !important;
  top: 8px !important;
  width: 6px !important;
  height: 6px !important;
  background: #16a34a !important;
  border-radius: 50% !important;
  display: block !important;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15) !important;
}

.oghemp-usecase-box .usecase-list li::after,
.oghemp-usecase-box .usecase-list li:after {
  content: none !important;
  display: none !important;
}

.oghemp-usecase-box .usecase-list li:last-child {
  margin-bottom: 0 !important;
}
