.block-share-content > .row {
  position: relative;
  text-align: left;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  column-gap: 16px;
  row-gap: 40px;
  align-items: start;
  width: 100%;
  box-sizing: border-box;
  padding: 40px 16px 80px;
}
.block-share-content.has-link > .row {
  padding-bottom: 0;
}
.block-share-content.has-link > .row::before {
  content: "";
  position: absolute;
  grid-column: 8 / 9;
  left: 0;
  right: -16px;
  bottom: 40px;
  height: 1px;
  background: var(--jct-black);
}
.block-share-content > .row > .share-link {
  grid-column: 1 / 2;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font: var(--body2);
  color: inherit;
  text-decoration: none;
  justify-self: start;
}
.block-share-content > .row > .share-link svg {
  display: block;
  flex-shrink: 0;
}
.block-share-content > .row > .col-title {
  grid-column: 2 / 4;
  grid-row: 1;
}
.block-share-content > .row > .col-content {
  grid-column: 5 / 8;
  grid-row: 1;
  font: var(--body2);
}
.block-share-content > .row > .more-link {
  grid-column: 8 / 9;
  grid-row: 2;
  width: calc(100% + 16px);
  margin-right: -16px;
  padding-right: 16px;
  box-sizing: border-box;
}
.block-share-content h1,
.block-share-content h2,
.block-share-content h3,
.block-share-content h4 {
  padding: 0;
}
.block-share-content.block-style-white {
  background: var(--jct-white);
  color: var(--jct-black);
}
.block-share-content.block-style-white a {
  color: currentColor;
}
.block-share-content.block-style-white .more-link {
  border-color: var(--jct-black);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.block-share-content.block-style-white .more-link:hover {
  background: var(--jct-black);
  color: var(--jct-white);
  border-color: var(--jct-black);
}
.block-share-content.block-style-brown {
  background: var(--fj-brown);
  color: var(--fj-orange);
}
.block-share-content.block-style-brown a {
  color: currentColor;
}
.block-share-content.block-style-blue {
  background: var(--tjo-blue);
  color: var(--jct-black);
}
.block-share-content.block-style-blue a {
  color: currentColor;
}
.block-share-content.block-style-lightblue {
  background: var(--tjo-lightblue);
  color: var(--tjo-olive);
}
.block-share-content.block-style-lightblue a {
  color: currentColor;
}
.block-share-content.block-style-brown.has-link > .row::before,
.block-share-content.block-style-blue.has-link > .row::before,
.block-share-content.block-style-lightblue.has-link > .row::before {
  bottom: 0;
  height: 40px;
  background: var(--jct-black);
  border-top: 1px solid var(--jct-white);
}
.block-share-content.block-style-brown.has-link > .row > .more-link,
.block-share-content.block-style-blue.has-link > .row > .more-link,
.block-share-content.block-style-lightblue.has-link > .row > .more-link {
  color: var(--jct-white);
  border-color: var(--jct-white);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.block-share-content.block-style-brown.has-link > .row > .more-link:hover,
.block-share-content.block-style-blue.has-link > .row > .more-link:hover,
.block-share-content.block-style-lightblue.has-link > .row > .more-link:hover {
  background: var(--jct-white);
  color: var(--jct-black);
  border-color: var(--jct-black);
}
@media (max-width: 768px) {
  .block-share-content > .row {
    grid-template-columns: repeat(4, 1fr);
    padding: 20px 16px 40px;
  }
  .block-share-content > .row > .col-title {
    grid-column: 1 / 5;
    grid-row: auto;
  }
  .block-share-content > .row > .col-content {
    grid-column: 1 / 5;
    grid-row: auto;
    font: var(--body3);
  }
  .block-share-content > .row > .col-content,
  .block-share-content > .row > .col-content * {
    text-align: left !important;
  }
  .block-share-content.has-link > .row::before,
  .block-share-content > .row > .more-link {
    grid-column: 3 / 5;
    grid-row: auto;
  }
}
