/* Blog content tables — visible borders + mobile scroll */
.ybc_blog_layout_post .blog_description table,
.ybc-blog-wrapper .blog_description table,
.blog_description table,
#content-wrapper .blog_description table {
  width: 100% !important;
  max-width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  margin: 1.25rem 0 1.75rem;
  display: table;
  background: #fff;
  border: 1px solid #d9e0e6;
  box-shadow: 0 1px 0 rgba(16, 40, 56, 0.03);
  font-size: 0.95rem;
  line-height: 1.45;
  color: #243447;
}

.ybc_blog_layout_post .blog_description thead,
.blog_description thead {
  background: #f2f6f9;
}

.ybc_blog_layout_post .blog_description th,
.ybc_blog_layout_post .blog_description td,
.blog_description th,
.blog_description td {
  display: table-cell;
  border: 1px solid #d9e0e6;
  padding: 0.7rem 0.85rem;
  vertical-align: top;
  text-align: left;
  word-break: break-word;
}

.ybc_blog_layout_post .blog_description th,
.blog_description th {
  font-weight: 700;
  color: #1a2b3c;
  background: #eef3f7;
}

.ybc_blog_layout_post .blog_description tbody tr:nth-child(even) td,
.blog_description tbody tr:nth-child(even) td {
  background: #f8fafb;
}

.ybc_blog_layout_post .blog_description tbody tr:hover td,
.blog_description tbody tr:hover td {
  background: #f0f6fa;
}

/* Mobile: horizontal scroll wrapper injected by JS */
.cdg-blog-table-wrap {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.25rem 0 1.75rem;
  border: 1px solid #d9e0e6;
  background: #fff;
}

.cdg-blog-table-wrap > table {
  margin: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  min-width: 520px;
  max-width: none !important;
}

.cdg-blog-table-wrap th,
.cdg-blog-table-wrap td {
  max-width: none !important;
}

@media (max-width: 767px) {
  .ybc_blog_layout_post .blog_description th,
  .ybc_blog_layout_post .blog_description td,
  .blog_description th,
  .blog_description td {
    padding: 0.55rem 0.65rem;
    font-size: 0.88rem;
  }

  .cdg-blog-table-wrap > table {
    min-width: 480px;
  }
}

/* Blog post FAQ accordion */
.cdg-blog-faq {
  margin: 2.25rem 0 1.5rem;
  padding-top: 0.5rem;
}

.cdg-blog-faq__title {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  line-height: 1.3;
  font-weight: 700;
  color: #1a2b3c;
}

.cdg-blog-faq__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #d9e0e6;
}

.cdg-blog-faq__item {
  border-bottom: 1px solid #d9e0e6;
}

.cdg-blog-faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  padding: 0.95rem 0.15rem;
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  font-weight: 600;
  color: #1a2b3c;
  cursor: pointer;
}

.cdg-blog-faq__question:hover,
.cdg-blog-faq__question:focus {
  color: #0d6e8a;
  outline: none;
}

.cdg-blog-faq__icon {
  flex: 0 0 auto;
  width: 1.1rem;
  height: 1.1rem;
  position: relative;
}

.cdg-blog-faq__icon::before,
.cdg-blog-faq__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.cdg-blog-faq__icon::before {
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  margin-top: -1px;
}

.cdg-blog-faq__icon::after {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  margin-left: -1px;
}

.cdg-blog-faq__item.is-open .cdg-blog-faq__icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.cdg-blog-faq__answer {
  display: none;
  padding: 0 0.15rem 1rem;
  color: #3a4a5a;
  line-height: 1.55;
}

.cdg-blog-faq__item.is-open .cdg-blog-faq__answer {
  display: block;
}

.cdg-blog-faq__answer p:last-child {
  margin-bottom: 0;
}
