
/*
 * 2022/09 隱私權政策，個資蒐集聲明 編輯器【後台】樣板
 */
.theme-privacy {
  --p-fz-h1: 2.25rem;
  --p-fz-h2: 1.625rem;
  --p-fz-h3: 1.375rem;
  --p-fz-h4: 1.25rem;
  --p-fz-h5: 1.125rem;
  --p-fz-h6: 1.0625rem;
  --p-gap-title: 25px;
  --p-color-title: #0c1c50;
  line-height: 1.8;
}
.theme-privacy h1, .theme-privacy h2, .theme-privacy h3, .theme-privacy h4, .theme-privacy h5, .theme-privacy h6 {
  font-weight: bold;
  display: block;
  padding: 0;
  margin: 10px auto 20px;
  line-height: 1.4;
}
.theme-privacy h1 {
  font-size: var(--p-fz-h1);
}
.theme-privacy h2 {
  font-size: var(--p-fz-h2);
}
.theme-privacy h3 {
  font-size: var(--p-fz-h3);
}
.theme-privacy h4 {
  font-size: var(--p-fz-h4);
}
.theme-privacy h5 {
  font-size: var(--p-fz-h5);
}
.theme-privacy h6 {
  font-size: var(--p-fz-h6);
}
.theme-privacy ul {
  list-style: none;
  margin: 0 0 var(--p-gap-title) 0;
  padding: 0 0 0 1rem;
}
.theme-privacy ul li {
  position: relative;
  text-indent: -1rem;
  display: block;
  margin: 5px 0 5px 0;
}
.theme-privacy ol {
  list-style-image: url(data:0);
  list-style: decimal;
  margin: 0 0 var(--p-gap-title) 1em;
  padding: 0 0 0 1em;
}
.theme-privacy ol li {
  position: relative;
  padding: 0;
  margin: 12px 0 12px -1em;
  display: list-item;
  list-style-position: outside;
}
.theme-privacy p {
  margin: 0 0 calc(var(--p-gap-title) * 2) 0;
  padding: 0;
}

.theme-privacy-subhead {
  display: block;
  text-align: center;
  margin: 10px auto calc(var(--p-gap-title) * 2);
  color: var(--p-color-title);
  line-height: 1.4;
  font-size: var(--p-fz-h2);
}

.theme-privacy-block-title {
  display: block;
  margin: var(--p-gap-title) auto;
  color: var(--p-color-title);
  line-height: 1.4;
  font-size: var(--p-fz-h3);
}

@media (max-width: 991px) {
  .theme-privacy {
    --p-fz-h1: 1.875rem;
  }
}
@media screen and (min-width:768px){
  .theme-privacy-indient {
    padding-left: 2.6em;
  }
  .theme-privacy-indient > .theme-privacy-block-title,
  .theme-privacy-indient > h1,
  .theme-privacy-indient > h2,
  .theme-privacy-indient > h3,
  .theme-privacy-indient > h4 {
    margin-left: -2em;
  }
}
@media screen and (max-width:767px){
  .theme-privacy {
    --p-fz-h1: 1.4125rem;
    --p-fz-h2: 1.375rem;
    --p-fz-h3: 1.25rem;
    --p-fz-h4: 1.1875rem;
  }
}

/* ==== 樣板  ==== */
:root {
  --line-height-default: 2;
  --spac: 4px;
}

/*==== 預設通用樣式 ====*/
:where(.g-edit__wrap, .cke_editable) {
  margin: 0;
  padding: 0;
  /* font-family: "Poppins", sans-serif, "Noto Sans TC", "Microsoft JhengHei", "微軟正黑體"; */
  font-size: clamp(1rem, 1.2vw, 1.0625rem);
  color: #333;
  word-wrap: break-word;
  line-height: var(--line-height-default);
}
:where(.g-edit__wrap, .cke_editable) *,
:where(.g-edit__wrap, .cke_editable) *::after,
:where(.g-edit__wrap, .cke_editable) *::before {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
:where(.g-edit__wrap, .cke_editable) img {
  max-width: 100%;
  height: auto !important;
  text-decoration: none;
  vertical-align: top;
  border: 0;
}
:where(.g-edit__wrap, .cke_editable) a {
  color: #3BB379;
  outline: none;
  text-decoration: underline;
  -webkit-transition: all 0.35s ease-in-out;
  transition: all 0.35s ease-in-out;
}
:where(.g-edit__wrap, .cke_editable) a:visited, :where(.g-edit__wrap, .cke_editable) a:hover, :where(.g-edit__wrap, .cke_editable) a:focus, :where(.g-edit__wrap, .cke_editable) a:active {
  color: #a17647;
  text-decoration: underline;
}
:where(.cke_editable) p {
  margin: 0;
  padding: 5px 0;
  word-break: normal;
  line-height: inherit;
}
:where(.g-edit__wrap, .cke_editable) video, :where(.g-edit__wrap, .cke_editable) embed, :where(.g-edit__wrap, .cke_editable) iframe {
  width: 100%;
  max-width: 100% !important;
}
:where(.g-edit__wrap, .cke_editable) iframe[src*=youtube] {
  aspect-ratio: 16/9 !important;
}
:where(.g-edit__wrap, .cke_editable) table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid;
}
:where(.g-edit__wrap, .cke_editable) table tr {
  border-bottom: 1px solid #ddd;
}
:where(.g-edit__wrap, .cke_editable) table th, :where(.g-edit__wrap, .cke_editable) table td {
  padding: 12px 20px;
}
:where(.g-edit__wrap, .cke_editable) table th {
  width: 16.6667%;
  max-width: 250px;
  min-width: 110px;
  color: #fff;
  background: #a17647;
}
:where(.g-edit__wrap, .cke_editable) ul:not(.reset), :where(.g-edit__wrap, .cke_editable) ol:not(.reset) {
  margin: 0 0 1rem;
  padding: 0 0 0 22px;
}
:where(.g-edit__wrap, .cke_editable) .reset {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 0;
  border-spacing: 0;
  border-collapse: collapse;
}
:where(.g-edit__wrap, .cke_editable) .txt-center {
  text-align: center;
}
:where(.g-edit__wrap, .cke_editable) .g-edit__wrap-1400 {
  position: relative;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  width: 100%;
  max-width: 1448px;
}

/* 共用 */
.g-edit img {
  margin: 20px 0;
  border-radius: 6px;
}

.g-edit {
  padding-top: max(20px, 2.1vw);
  padding-bottom: max(20px, 2.1vw);
}
.g-edit:first-child {
  padding-top: 0;
}
.g-edit .flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.g-edit__title {
  margin: 0 0 10px;
  font-size: 1.25rem;
  font-weight: 500;
}
.g-edit__content P:first-child {
  padding-top: 0;
}
.g-edit__content P:last-child {
  padding-bottom: 0;
}

/* ==== 樣板 ==== */
/* 影片 */
.youtube-embed-wrapper {
  position: relative;
  margin: max(20px, 2.1vw) auto;
  max-width: 1220px;
  overflow: hidden;
}
.youtube-embed-wrapper::before {
  display: block;
  content: "";
  padding-bottom: 56.257%;
}
.youtube-embed-wrapper iframe {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border: none;
}

/* 上下圖文 */
.t-pic-b-txt .g-edit__content {
  margin: max(10px, 1vw) auto 0;
  max-width: 1300px;
}
.t-pic-b-txt img {
  margin-top: 0 !important;
}

.t-txt-b-pic .g-edit__content {
  margin: 0 auto max(10px, 1vw);
  max-width: 1300px;
}
.t-txt-b-pic img {
  margin-bottom: 0 !important;
}

/* 左右圖文 */
.l-pic-r-txt, .l-txt-r-pic {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: max(var(--spac) * 6, 2vw) 0;
}
.l-pic-r-txt img, .l-txt-r-pic img {
  margin: 0 !important;
}
.l-pic-r-txt .g-edit__image, .l-txt-r-pic .g-edit__image {
  width: 52%;
  max-width: 720px;
}
.l-pic-r-txt .g-edit__content, .l-txt-r-pic .g-edit__content {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.l-pic-r-txt .g-edit__content {
  padding: 0 max(var(--spac) * 5, 3.2vw) 0 max(var(--spac) * 10, 5.2vw);
}

.l-txt-r-pic {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
}
.l-txt-r-pic .g-edit__content {
  padding: 0 max(var(--spac) * 10, 5.2vw) 0 max(var(--spac) * 5, 3.2vw);
}

/* 三欄 */
.mutiple-columns {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}
.mutiple-columns .column-4 {
  width: 31.429%;
  max-width: 440px;
}
.mutiple-columns p {
  padding: 0;
  line-height: 1.8;
}
.mutiple-columns img {
  margin-top: 0 !important;
}

@media (max-width: 1365px) {
  :where(.cke_editable) p {
    padding: 5px 0;
  }
}
@media (max-width: 1279px) {
  .g-edit img {
    margin: 15px 0;
  }
}
@media (max-width: 1079px) {
  .g-edit__content P {
    line-height: 1.9;
  }
}
/* 左右圖文 */
@media (max-width: 991px) {
  .l-pic-r-txt .g-edit__image, .l-txt-r-pic .g-edit__image {
    margin: 0 auto;
    width: 100%;
  }
  .l-pic-r-txt .g-edit__content, .l-txt-r-pic .g-edit__content {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
            flex: 0 0 100%;
    margin: 0 auto;
    padding: 0;
    max-width: 720px;
    padding: 0 !important;
  }
}

/* 三欄 + 二欄 圖文 */
@media (max-width: 991px) {
  .mutiple-columns {
    -webkit-box-pack: center !important;
        -ms-flex-pack: center !important;
            justify-content: center !important;
  }
  .mutiple-columns .g-edit__content {
    margin: 0 auto;
    max-width: 720px;
    padding: 0 !important;
  }
  .mutiple-columns .column-4 {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 720px;
  }
  .mutiple-columns .column-4:not(:last-child) {
    margin-bottom: calc(max(20px, 2.1vw) * 2);
  }
  .mutiple-columns .column-4 img {
    width: 100%;
  }
}