.template-block-section {
  padding: 77px 0;
}

.template-block-section:has(div.content-list-bg-direction) {
  padding-bottom: 0;
}

.content-summary-block {
  max-width: 1400px;
  width: 90vw;
  margin-left: auto;
  margin-right: auto;
}

.content-summary-block .content-block-title {
  margin: 0 auto;
  display: table;
  position: relative;
  padding-bottom: 31px;
  font-weight: 600;
  font-size: 32px;
  color: #292929;
  text-align: center;
}

.content-summary-block .content-block-title::before {
  content: "";
  position: absolute;
  left: calc(50% - 150px);
  bottom: 0;
  width: 300px;
  height: 2px;
  background: #E9ECFB;
}

.content-summary-block .content-block-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 63px;
  height: 2px;
  background: #0C4CD1;
  transform: translate(-50%, 50%);
}

.content-summary-block .summary-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
  margin-top: 62px;
}

.content-summary-block .summary-media {
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border-radius: 4px;
}

.content-summary-block .summary-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.content-summary-block .summary-description {
  padding: 24px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;
  background: #f9fbff;
}

.content-summary-block .summary-description-title {
  width: 100%;
  font-weight: 600;
  font-size: 28px;
  color: #333333;
  line-height: 55px;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.content-summary-block .summary-description p {
  width: 100%;
  font-size: 16px;
  line-height: 1.9;
  color: #33415d;
  white-space: pre-wrap;
}

@media (max-width: 960px) {
  .content-summary-block .summary-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) {
  .template-block-section {
    padding: 56px 0;
  }

}

@media (max-width: 720px) {
  .credit-template-main {
    padding-top: 84px;
  }

  .template-block-section {
    padding: 42px 0;
  }

  .content-summary-block .summary-description {
    padding: 18px;
  }

  .content-summary-block .summary-description p {
    font-size: 16px;
    line-height: 1.8;
  }
}
