/* COMMEET article components */

:root {
  --commmeet-orange: #ef7a00;
  --commmeet-cream: #fff9ef;
  --commmeet-line: #e2e5ea;
  --commmeet-table-line: #ffd382;
  --commmeet-text: #252525;
  --commmeet-muted: #555;
}

/* Article heading hierarchy. */
.entry-content h2,
.post-content h2,
.article-content h2,
article h2,
.elementor-widget-theme-post-content h2 {
  margin: 48px 0 20px;
  padding: 2px 0 2px 16px;
  /* border-bottom: 1px solid #eadfcf; */
  border-left: 4px solid var(--commmeet-orange);
  color: #3b3d42;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
}

.entry-content h3,
.post-content h3,
.article-content h3,
article h3,
.elementor-widget-theme-post-content h3 {
  margin: 24px 0 8px;
  padding: 4px 0;
  /* border-left: 3px solid #f3b15e; */
  color: #4c4e52;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0;
}

.entry-content h4,
.post-content h4,
.article-content h4,
article h4,
.elementor-widget-theme-post-content h4 {
  margin: 24px 0 10px;
  color: var(--commmeet-orange);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
}

/* .entry-content h4::before,
.post-content h4::before,
.article-content h4::before,
article h4::before,
.elementor-widget-theme-post-content h4::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 8px 3px 0;
  border-radius: 50%;
  background: var(--commmeet-orange);
  content: "";
} */

/* Standard article links. */
.commmeet-link {
  color: var(--commmeet-orange);
}

/* Standard article tables. */
.commmeet-table {
  width: 100%;
  margin: 20px 0;
  border: 3px var(--commmeet-table-line) dashed;
  border-collapse: collapse;
}

.commmeet-table td {
  padding: 10px;
  border: 1px solid var(--commmeet-table-line);
  vertical-align: top;
}

.commmeet-table__head {
  background: var(--commmeet-cream);
  text-align: center;
}

/* Standard article CTA. */
.commmeet-cta {
  padding: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #f8f9fd;
}

/* Reusable COMMEET workflow strip for product or solution sections. */
.commmeet-solution {
  margin: 24px 0;
  padding: 20px;
  border-left: 5px solid var(--commmeet-orange);
  border-radius: 0 8px 8px 0;
  background: var(--commmeet-cream);
}

.commmeet-solution__title {
  margin: 0 0 14px;
  color: var(--commmeet-orange);
  font-size: 18px;
}

.commmeet-solution__steps {
  width: 100%;
  border: 0;
  border-collapse: collapse;
  background: transparent;
}

.commmeet-solution__steps td {
  width: 33.33%;
  border: 0;
  vertical-align: top;
}

.commmeet-solution__steps td + td {
  border-left: 1px solid #eadfcf;
}

.commmeet-solution__number {
  color: var(--commmeet-orange);
  font-size: 20px;
}

.commmeet-solution__description,
.commmeet-solution__note {
  color: var(--commmeet-muted);
}

.commmeet-solution__note {
  margin: 14px 0 0;
}

/* Reusable FAQ accordion for long-form SEO articles. */
.commmeet-mkt-faq {
  margin: 24px 0;
  overflow: hidden;
  border: 1px solid var(--commmeet-line);
  border-radius: 8px;
  background: #fff;
}

.commmeet-mkt-faq .commmeet-faq__intro {
  padding: 18px 20px;
  border-bottom: 1px solid #eadfcf;
  background: var(--commmeet-cream);
}

.commmeet-mkt-faq .commmeet-faq__title,
.commmeet-mkt-faq .commmeet-faq__subtitle {
  margin: 0;
}

.commmeet-mkt-faq .commmeet-faq__title {
  margin-bottom: 4px;
  color: var(--commmeet-orange);
  font-size: 18px;
}

.commmeet-mkt-faq .commmeet-faq__subtitle {
  color: var(--commmeet-muted);
}

.commmeet-mkt-faq .commmeet-faq__item {
  border-bottom: 1px solid var(--commmeet-line);
}

.commmeet-mkt-faq .commmeet-faq__item:last-child {
  border-bottom: 0;
}

.commmeet-mkt-faq .commmeet-faq__question {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 16px 44px 16px 20px;
  color: var(--commmeet-text);
  cursor: pointer;
  list-style: none;
  line-height: 1.6;
}

.commmeet-mkt-faq .commmeet-faq__question::-webkit-details-marker {
  display: none;
}

.commmeet-mkt-faq .commmeet-faq__question::after {
  position: absolute;
  top: 15px;
  right: 20px;
  color: var(--commmeet-orange);
  content: "+";
  font-size: 22px;
  line-height: 1;
}

.commmeet-mkt-faq .commmeet-faq__item[open] .commmeet-faq__question::after {
  content: "−";
}

.commmeet-mkt-faq .commmeet-faq__question:focus-visible {
  outline: 2px solid var(--commmeet-orange);
  outline-offset: -2px;
}

.commmeet-mkt-faq .commmeet-faq__label {
  flex: 0 0 auto;
  min-width: 32px;
  color: var(--commmeet-orange);
}

.commmeet-mkt-faq .commmeet-faq__answer {
  padding: 0 20px 18px 60px;
  color: var(--commmeet-muted);
  line-height: 1.8;
}

@media (max-width: 640px) {
  .entry-content h2,
  .post-content h2,
  .article-content h2,
  article h2,
  .elementor-widget-theme-post-content h2 {
    margin: 36px 0 16px;
    padding: 8px 0 8px 12px;
    border-left-width: 4px;
    font-size: 26px;
  }

  .entry-content h3,
  .post-content h3,
  .article-content h3,
  article h3,
  .elementor-widget-theme-post-content h3 {
    margin: 26px 0 12px;
    padding-left: 10px;
    font-size: 21px;
  }

  .entry-content h4,
  .post-content h4,
  .article-content h4,
  article h4,
  .elementor-widget-theme-post-content h4 {
    margin: 20px 0 8px;
    font-size: 18px;
  }

  .commmeet-table {
    display: block;
    overflow-x: auto;
  }

  .commmeet-solution {
    padding: 16px;
  }

  .commmeet-solution__steps,
  .commmeet-solution__steps tbody,
  .commmeet-solution__steps tr,
  .commmeet-solution__steps td {
    display: block;
    width: 100%;
  }

  .commmeet-solution__steps td {
    padding: 10px 0;
  }

  .commmeet-solution__steps td + td {
    border-top: 1px solid #eadfcf;
    border-left: 0;
  }

  .commmeet-mkt-faq .commmeet-faq__question {
    padding: 14px 38px 14px 16px;
  }

  .commmeet-mkt-faq .commmeet-faq__question::after {
    right: 16px;
  }

  .commmeet-mkt-faq .commmeet-faq__answer {
    padding: 0 16px 16px;
  }
}
