/*
 * Two Bordered Boxed Content + Footer.
 * The :is() prefix beats the theme's global rule in assets/css/single.css:
 * section.single-post .section-inner .post-content * { ... }
 * Mobile: boxes stacked, centred footer. Desktop (768px+): boxes side by side.
 */
:is(section.single-post .section-inner .post-content, body) .two-bordered-boxed-content-footer {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-flow: column nowrap;
  gap: 16px;
  margin-top: 20px;
  margin-bottom: 24px;
}

:is(section.single-post .section-inner .post-content, body) .two-bordered-boxed-content-footer__boxes {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin: 0;
}

:is(section.single-post .section-inner .post-content, body) .two-bordered-boxed-content-footer__box {
  box-sizing: border-box;
  min-width: 0;
  display: flex;
  flex-flow: column nowrap;
  gap: 8px;
  margin: 0;
  padding: 16px 20px 16px 15px;
  background: #fff;
  border: 1px solid #534412;
  border-top-width: 5px;
  border-radius: 12px;
}

:is(section.single-post .section-inner .post-content, body) .two-bordered-boxed-content-footer__box--brown {
  border-color: #897c50;
}

:is(section.single-post .section-inner .post-content, body) .two-bordered-boxed-content-footer__title {
  margin: 0;
  color: #000;
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 26px;
  word-break: break-word;
}

:is(section.single-post .section-inner .post-content, body) .two-bordered-boxed-content-footer__list {
  display: flex;
  flex-flow: column nowrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

:is(section.single-post .section-inner .post-content, body) .two-bordered-boxed-content-footer__item {
  display: flex;
  align-items: flex-start;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

:is(section.single-post .section-inner .post-content, body) .two-bordered-boxed-content-footer__item::before,
:is(section.single-post .section-inner .post-content, body) .two-bordered-boxed-content-footer__item::marker {
  content: none;
}

:is(section.single-post .section-inner .post-content, body) .two-bordered-boxed-content-footer__bullet {
  display: block;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  margin: 0;
}

:is(section.single-post .section-inner .post-content, body) .two-bordered-boxed-content-footer__text {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  color: #3a3a3b;
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  word-break: break-word;
}

:is(section.single-post .section-inner .post-content, body) .two-bordered-boxed-content-footer__footer {
  box-sizing: border-box;
  display: flex;
  flex-flow: column nowrap;
  gap: 12px;
  margin: 0;
  padding: 20px;
  background: #fff8e6;
  border: 1px solid #e7c873;
  border-radius: 12px;
  text-align: center;
}

:is(section.single-post .section-inner .post-content, body) .two-bordered-boxed-content-footer__footer-title {
  margin: 0;
  color: #5c4400;
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 26px;
  word-break: break-word;
}

:is(section.single-post .section-inner .post-content, body) .two-bordered-boxed-content-footer__footer-text {
  margin: 0;
  color: #3a3a3b;
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  word-break: break-word;
}

@media (min-width: 768px) {
  :is(section.single-post .section-inner .post-content, body) .two-bordered-boxed-content-footer {
    gap: 24px;
  }

  :is(section.single-post .section-inner .post-content, body) .two-bordered-boxed-content-footer__boxes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  :is(section.single-post .section-inner .post-content, body) .two-bordered-boxed-content-footer__box {
    padding: 20px;
  }

  :is(section.single-post .section-inner .post-content, body) .two-bordered-boxed-content-footer__bullet {
    width: 26px;
    height: 26px;
  }

  :is(section.single-post .section-inner .post-content, body) .two-bordered-boxed-content-footer__text,
  :is(section.single-post .section-inner .post-content, body) .two-bordered-boxed-content-footer__footer-text {
    font-size: 18px;
    line-height: 26px;
  }

  :is(section.single-post .section-inner .post-content, body) .two-bordered-boxed-content-footer__footer {
    padding: 32px;
    text-align: left;
  }
}
