
/*----------------------------------[8 content wrap]-------------------------------*/
.contents_wrap {
  font-size: 14px;
  line-height: 1.5;
}
.contents_wrap h1,
.contents_wrap h2,
.contents_wrap h3 {
  color: #4774ba !important;
  margin: 20px 0 15px 0;
  font-weight: 100;
}
.contents_wrap h4,
.contents_wrap h5,
.contents_wrap h6 {
  color: #4774ba !important;
  margin: 10px 0;
  font-weight: 500;
}
.contents_wrap h1 {
  font-size: 35px;
}
.contents_wrap h2 {
  font-size: 28px;
}
.contents_wrap h3 {
  font-size: 24px;
}
.contents_wrap h4 {
  font-size: 20px;
}
.contents_wrap h5 {
  font-size: 18px;
}
.contents_wrap h6 {
  font-size: 16px;
}
.contents_wrap p {
  margin-bottom: 25px;
}
.contents_wrap img {
  max-width: 100%;
}
.contents_wrap img.left {
  margin: 5px 15px 15px 0px;
}
.contents_wrap img.right {
  margin: 5px 0px 15px 15px;
}
.contents_wrap ul {
  padding-left: 25px;
}
.contents_wrap ol {
  padding-left: 25px;
}
.contents_wrap ul li {
  list-style-type: disc;
}
.contents_wrap ol li {
  list-style-type: decimal;
}
.contents_wrap li {
  padding-bottom: 10px;
}
.contents_wrap hr {
  margin: 15px 0;
  clear: both;
  display: block;
  overflow: hidden;
  border-top: #99c6dd 1px dotted;
}
.contents_wrap q,
.contents_wrap mark {
  background-color: #ff9;
}
.contents_wrap dl {
  padding: 10px 0;
  clear: both;
}
.contents_wrap dl dt {
  font-weight: 500;
  font-size: 15px;
  color: #4774ba;
}
.contents_wrap dl dd {
  margin: 0;
  padding: 0 0 10px 0;
}
.contents_wrap table {
  display: table;
  border-spacing: 0px;
  border-collapse: collapse;
  max-width: 100%;
  margin: 15px 0;
}
.contents_wrap table th {
  font-weight: bold;
  padding: 5px 10px;
  font-size: 15px;
}
.contents_wrap table td {
  padding: 5px 10px;
}
.chi .contents_wrap p {
  letter-spacing: 2px!important;
}
.eng .contents_wrap p {
  letter-spacing: 0px!important;
  word-spacing: 1px;
}

.section-entry-list {
  display: grid;
  gap: 14px;
}

.section-entry-card {
  border-bottom: 1px solid #d9e3e8;
  padding: 0 0 14px;
}

.section-entry-card:last-child {
  border-bottom: 0;
}

.section-entry-link {
  color: #222;
  display: grid;
  gap: 16px;
  grid-template-columns: 150px 1fr;
  text-decoration: none;
}

.section-entry-link:hover h2 {
  color: #3483db !important;
}

.section-entry-cover {
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  height: auto;
  object-fit: cover;
  width: 150px;
}

.section-entry-content h2 {
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 8px;
}

.section-entry-content p {
  color: #555;
  margin: 0;
}

.section-entry-date {
  color: #777;
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
}

.section-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 24px;
}

.section-pagination a {
  border: 1px solid #cbd8e1;
  border-radius: 4px;
  color: #4774ba;
  min-width: 34px;
  padding: 6px 10px;
  text-align: center;
  text-decoration: none;
}

.section-pagination a[aria-current="page"] {
  background: #4774ba;
  color: #fff;
}

@media screen and (max-width: 767px) {
  .section-entry-link {
    grid-template-columns: 92px 1fr;
  }

  .section-entry-cover {
    width: 92px;
  }

  .section-entry-content h2 {
    font-size: 17px;
  }
}

.album-filter-toggle {
  background: #4774ba;
  border: 0;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  float: right;
  margin: -52px 0 16px;
  padding: 7px 14px;
}

.album-filter-panel {
  background: #eef6fb;
  border: 1px solid #c7dcea;
  border-radius: 6px;
  clear: both;
  display: grid;
  gap: 18px;
  margin-bottom: 22px;
  padding: 16px;
}

.album-filter-group h2 {
  color: #4774ba !important;
  display: inline-block;
  font-size: 18px;
  font-weight: 500;
  margin: 0 12px 10px 0;
}

.album-filter-reset {
  color: #777;
  font-size: 13px;
}

.album-filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.section-filter-search {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.section-filter-search label {
  display: grid;
  flex: 1 1 220px;
  gap: 5px;
}

.section-filter-search label span {
  color: #4774ba;
  font-size: 14px;
}

.section-filter-search input {
  border: 1px solid #cbd8e1;
  border-radius: 4px;
  min-height: 34px;
  padding: 6px 10px;
}

.section-filter-search button {
  background: #4774ba;
  border: 0;
  border-radius: 4px;
  color: #ffffff;
  cursor: pointer;
  min-height: 34px;
  padding: 6px 14px;
}

.album-filter-options a,
.album-detail-tags a {
  background: #fff;
  border: 1px solid #cbd8e1;
  border-radius: 999px;
  color: #4774ba;
  display: inline-flex;
  line-height: 1.25;
  padding: 5px 10px;
  text-decoration: none;
}

.album-filter-options a[aria-current="true"],
.album-detail-tags a:hover {
  background: #4774ba;
  color: #fff;
}

.album-card-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}

.album-card {
  background: #fff;
  border: 1px solid #d7e4ec;
  border-radius: 6px;
  overflow: hidden;
}

.album-card-link {
  color: #222;
  display: block;
  text-decoration: none;
}

.album-card-cover {
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.album-card-content {
  min-height: 104px;
  padding: 12px;
  position: relative;
}

.album-card-content h2 {
  color: #4774ba !important;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  margin: 0 42px 10px 0;
}

.album-card-count {
  background: #99c6dd;
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  min-width: 30px;
  padding: 3px 8px;
  position: absolute;
  right: 10px;
  text-align: center;
  top: 10px;
}

.album-card-date,
.album-detail-header time {
  color: #777;
  font-size: 13px;
}

.album-template-head {
  position: relative;
}

.album-back-link {
  background: #4774ba;
  border-radius: 4px;
  color: #fff;
  padding: 6px 14px;
  position: absolute;
  right: 10px;
  text-decoration: none;
  top: 10px;
}

.album-detail-shell {
  background: #fff;
  border: 1px solid #d7e4ec;
  border-top: 0;
  padding: 20px;
}

.album-detail-header h1 {
  color: #4774ba !important;
  font-size: 28px;
  font-weight: 500;
  margin: 0 0 8px;
}

.album-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}

.album-masonry {
  column-count: 4;
  column-gap: 12px;
}

.album-masonry-item {
  break-inside: avoid;
  margin: 0 0 12px;
}

.album-lightbox-trigger {
  background: none;
  border: 0;
  cursor: pointer;
  display: block;
  padding: 0;
  width: 100%;
}

.album-masonry-item img {
  border-radius: 4px;
  display: block;
  width: 100%;
}

.album-masonry-item figcaption {
  color: #666;
  font-size: 12px;
  line-height: 1.35;
  padding: 5px 2px 0;
}

.gallery-lightbox-open {
  overflow: hidden;
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox {
  inset: 0;
  position: fixed;
  z-index: 10000;
}

.gallery-lightbox-backdrop {
  background: rgba(0, 0, 0, 0.5);
  inset: 0;
  position: absolute;
}

.gallery-lightbox-dialog {
  align-items: center;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  inset: 24px;
  position: absolute;
}

.gallery-lightbox-content {
  align-items: center;
  display: grid;
  justify-items: center;
  min-height: 0;
}

.gallery-lightbox-content img {
  background: #111;
  max-height: calc(100vh - 130px);
  max-width: 100%;
  object-fit: contain;
}

.gallery-lightbox-content p {
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  margin: 10px 0 0;
  max-width: 100%;
  padding: 6px 10px;
}

.gallery-lightbox-toolbar {
  display: flex;
  gap: 8px;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
}

.gallery-lightbox button {
  background: rgba(0, 0, 0, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
}

.gallery-lightbox-toolbar button {
  font-size: 24px;
  height: 40px;
  line-height: 1;
  width: 40px;
}

.gallery-lightbox-prev,
.gallery-lightbox-next {
  align-self: center;
  font-size: 42px;
  height: 58px;
  justify-self: center;
  line-height: 1;
  width: 44px;
}

.gallery-lightbox.is-fullscreen .gallery-lightbox-dialog {
  inset: 0;
}

.gallery-lightbox.is-fullscreen .gallery-lightbox-content img {
  max-height: calc(100vh - 70px);
}

@media screen and (max-width: 991px) {
  .album-masonry {
    column-count: 3;
  }
}

@media screen and (max-width: 767px) {
  .album-filter-toggle {
    float: none;
    margin: 0 0 14px;
  }

  .album-card-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .album-masonry {
    column-count: 2;
  }

  .gallery-lightbox-dialog {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    inset: 10px;
  }

  .gallery-lightbox-prev,
  .gallery-lightbox-next {
    font-size: 34px;
    width: 36px;
  }
}
