[data-domx-id="Template_027"] {
  margin-top: 50px; margin-bottom: 50px; margin-left: -15px; margin-right: -15px;
}

[data-domx-id="Template_027"] .card__figure {
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  width: 80%;
  padding-top: 80%;
  margin: 1rem auto;
  background: #f5f5f5;
}

[data-domx-id="Template_027"] .card__figure img{
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/*
 * 修正編輯器預設佔位圖無法呈現正圓形的問題。
 * 佔位圖 (.domx-size-placeholder) 的 inline style 預設為 position:relative，
 * 導致它落在 padding-top 撐出的空間下方，圓形上半部出現白色區域。
 * 改為 absolute 定位並四邊歸零，使佔位圖填滿整個圓形容器。
 * 需要 !important 才能覆蓋 inline style。
 */
[data-domx-id="Template_027"] .card__figure .domx-size-placeholder {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
}

[data-domx-id="Template_027"] .block__title {
  color: #333;
  font-weight: bold;
  font-size: 22px;
  margin: 1rem 0;
  text-align: left;
  line-height: 1.4;
}

[data-domx-id="Template_027"] .block__desc {
  color: #333;
  margin: 1rem 0;
  font-size: 18px;
  text-align: justify;
  line-height: 1.6;
}

@media (max-width: 768px) {
  [data-domx-id="Template_027"] .card__figure{
    width: 100%;
    padding-top: 100%;
  }

  [data-domx-id="Template_027"] .block__title {
    font-size: 20px;
    padding-bottom: 0;
  }

  [data-domx-id="Template_027"] .block__desc{
    font-size: 16px;
    line-height: 1.5;
  }
}
