/*
 * Post Colored Column Boxes.
 * The long selectors beat the theme's global rule in assets/css/single.css:
 * section.single-post .section-inner .post-content * { ... }
 */
.post-colored-column-boxes,
section.single-post .section-inner .post-content .post-colored-column-boxes {
  width: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-top: 20px;
  margin-bottom: 24px;
}

.post-colored-column-boxes__box,
section.single-post .section-inner .post-content .post-colored-column-boxes__box {
  box-sizing: border-box;
  min-width: 0;
  display: flex;
  flex-flow: column nowrap;
  align-items: flex-start;
  gap: 20px;
  margin: 0;
  padding: 20px 16px;
  border-top: 6px solid var(--post-colored-box-accent);
  border-radius: 12px;
  background: var(--post-colored-box-background);
}

.post-colored-column-boxes__box--blue {
  --post-colored-box-accent: #12508a;
  --post-colored-box-background: #eef3fe;
}

.post-colored-column-boxes__box--brown {
  --post-colored-box-accent: #897c50;
  --post-colored-box-background: #fef1e8;
}

.post-colored-column-boxes__box--red {
  --post-colored-box-accent: #db2b39;
  --post-colored-box-background: #fdecec;
}

.post-colored-column-boxes__header,
section.single-post .section-inner .post-content .post-colored-column-boxes__header {
  width: 100%;
  display: flex;
  flex-flow: column nowrap;
  gap: 10px;
  margin: 0;
}

.post-colored-column-boxes__badge-row,
section.single-post .section-inner .post-content .post-colored-column-boxes__badge-row {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  gap: 3px;
  margin: 0;
}

.post-colored-column-boxes__icon,
section.single-post .section-inner .post-content .post-colored-column-boxes__icon {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 22.33px;
  height: 22.33px;
  margin: 0;
}

.post-colored-column-boxes__box--brown .post-colored-column-boxes__icon,
section.single-post .section-inner .post-content .post-colored-column-boxes__box--brown .post-colored-column-boxes__icon {
  width: 20.5px;
  height: 21.42px;
}

.post-colored-column-boxes__box--red .post-colored-column-boxes__icon,
section.single-post .section-inner .post-content .post-colored-column-boxes__box--red .post-colored-column-boxes__icon {
  width: 23.19px;
  height: 20.54px;
}

.post-colored-column-boxes__icon img,
section.single-post .section-inner .post-content .post-colored-column-boxes__icon img {
  display: block;
  flex: 0 0 auto;
  max-width: none;
  margin: 0;
}

.post-colored-column-boxes__badge,
section.single-post .section-inner .post-content .post-colored-column-boxes__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 4px 10px;
  border-radius: 600px;
  background: var(--post-colored-box-accent);
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  word-break: break-word;
}

.post-colored-column-boxes__title,
section.single-post .section-inner .post-content .post-colored-column-boxes__title {
  width: 100%;
  margin: 0;
  color: #000;
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 26px;
  word-break: break-word;
}

.post-colored-column-boxes__list,
section.single-post .section-inner .post-content .post-colored-column-boxes__list {
  width: 100%;
  display: flex;
  flex-flow: column nowrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.post-colored-column-boxes__item,
section.single-post .section-inner .post-content .post-colored-column-boxes__item {
  display: flex;
  flex-flow: row nowrap;
  align-items: flex-start;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.post-colored-column-boxes__bullet,
section.single-post .section-inner .post-content .post-colored-column-boxes__bullet {
  display: block;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  margin: 0;
}

.post-colored-column-boxes__text,
section.single-post .section-inner .post-content .post-colored-column-boxes__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;
}

/* Closing button: pinned to the bottom so buttons line up across boxes. */
.post-colored-column-boxes__closing,
section.single-post .section-inner .post-content .post-colored-column-boxes__closing {
  width: 100%;
  margin: auto 0 0;
  padding: 4px 0 0;
}

.post-colored-column-boxes__button,
section.single-post .section-inner .post-content .post-colored-column-boxes__button {
  box-sizing: border-box;
  width: 100%;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 12px 24px;
  border: 1px solid var(--post-colored-box-accent);
  border-radius: 40px;
  background: transparent;
  color: #000;
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 18px;
  text-align: center;
  text-decoration: none;
  text-transform: capitalize;
  word-break: break-word;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.post-colored-column-boxes__button--filled,
section.single-post .section-inner .post-content .post-colored-column-boxes__button--filled {
  background: var(--post-colored-box-accent);
  color: #fff;
}

a.post-colored-column-boxes__button--outline:hover,
a.post-colored-column-boxes__button--outline:focus-visible,
section.single-post .section-inner .post-content a.post-colored-column-boxes__button--outline:hover,
section.single-post .section-inner .post-content a.post-colored-column-boxes__button--outline:focus-visible {
  background: var(--post-colored-box-accent);
  color: #fff;
  text-decoration: none;
}

a.post-colored-column-boxes__button--filled:hover,
a.post-colored-column-boxes__button--filled:focus-visible,
section.single-post .section-inner .post-content a.post-colored-column-boxes__button--filled:hover,
section.single-post .section-inner .post-content a.post-colored-column-boxes__button--filled:focus-visible {
  color: #fff;
  opacity: 0.88;
  text-decoration: none;
}

@media (min-width: 768px) {
  .post-colored-column-boxes--columns-2,
  section.single-post .section-inner .post-content .post-colored-column-boxes--columns-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .post-colored-column-boxes__box,
  section.single-post .section-inner .post-content .post-colored-column-boxes__box {
    padding: 20px;
  }

  .post-colored-column-boxes__bullet,
  section.single-post .section-inner .post-content .post-colored-column-boxes__bullet {
    width: 26px;
    height: 26px;
  }

  .post-colored-column-boxes__text,
  section.single-post .section-inner .post-content .post-colored-column-boxes__text {
    font-size: 18px;
    line-height: 26px;
  }

  .post-colored-column-boxes__button,
  section.single-post .section-inner .post-content .post-colored-column-boxes__button {
    min-height: 66px;
    padding: 11px 24px;
    line-height: 22px;
  }
}

@media (min-width: 1024px) {
  .post-colored-column-boxes--columns-3,
  section.single-post .section-inner .post-content .post-colored-column-boxes--columns-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
