@charset "UTF-8";
@layer reset, base, page, custom;
:root {
  --l-H-hero: 680px;
  --l-header: 80px;
  --l-header-: -80px;
  --l-header--mobile: 56px;
  --l-header--mobile-: -56px;
  --l-services-logo: 44px;
  --l-btnH: 36px;
  --l-h-sec-footer: 150px;
  --c-text: #3F3F3F;
  --c-heading: #1e1e1e;
  --c-nav: #494949;
  --c-brand-text: #848492;
  --c-primary: #2D925B;
  --c-secondary: #1e3659;
  --c-hightlight: #ec4e00;
  --c-primary-start: #f0da98;
  --c-primary-stop: #cfab3b;
  --c-secondary-start: #ffdc23;
  --c-secondary-stop: #ffe972;
  --f-services-title: 18px;
  --f-services-title-lh: 20px;
  --f-services-title--ch: 13px;
  --f-services-title--ch-lh: 16px;
  --z-nav: 10;
  --z-hero: 8;
  --z-main: 9;
  --c-sdg1: #c74140;
  --c-sdg2: #cfa94d;
  --c-sdg3: #6b9e47;
  --c-sdg4: #aa3433;
  --c-sdg5: #df5330;
  --c-sdg6: #71b8e0;
  --c-sdg7: #edc843;
  --c-sdg8: #8d2c44;
  --c-sdg9: #df7538;
  --c-sdg10: #bf3767;
  --c-sdg11: #e6a441;
  --c-sdg12: #b28f40;
  --c-sdg13: #567c4b;
  --c-sdg14: #5794d5;
  --c-sdg15: #7fbc45;
  --c-sdg16: #3d669a;
  --c-sdg17: #2f4768;
  --c-zdg1: #a47903;
  --c-zdg2: #be9115;
  --c-zdg3: #d7aa2d;
}

:root {
  --l-inner: 1024px;
}

@keyframes slide-f-right {
  from {
    opacity: 0;
    transform: translate3d(100%, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@keyframes slide-f-left {
  from {
    opacity: 0;
    transform: translate3d(-100%, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@keyframes slide-f-top {
  from {
    opacity: 0;
    transform: translate3d(0, -50px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes reveal-up-20 {
  from {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
.news-page .content-list {
  padding-top: 0 !important;
}

.news-page {
  --l-inner: 1280px;
}

@scope (.cards) {
  :scope {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    padding: 20px 0;
    list-style: none;
  }
  .section-related :scope {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
  @media only screen and (max-width: 860px) {
    :scope {
      grid-template-columns: 1fr;
    }
  }
  .item {
    display: flex;
    flex-direction: column;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  }
  .item:hover .item-img {
    transform: translate3d(0, -5px, 0);
  }
  .item:hover .item-img:before {
    transform: translate3d(0, 5px, 0);
  }
  .item-img {
    position: relative;
    aspect-ratio: 2/1;
    background-size: cover;
    background-position: center;
    transition: 0.3s;
  }
  .item-img:before {
    background: inherit;
    content: "";
    position: absolute;
    inset: 0;
    transform: translate3d(0, 5px, 0);
    filter: blur(20px);
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    opacity: 0.7;
    transition: 0.3s;
  }
  .item-img:after {
    background: inherit;
    content: "";
    position: absolute;
    inset: 0;
    transition: 0.3s;
  }
  .item-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .item-content {
    padding: 10px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
  }
  .item-content .category {
    padding-inline: 6px;
    display: inline-block;
    position: relative;
    color: #2D925B;
    font-size: 0.75rem;
    border-inline-start: 1px solid #2D925B;
    border-inline-end: 1px solid #2D925B;
  }
  .item-content .category a {
    color: #2D925B;
  }
  .item-content .title {
    font-size: 1rem;
    color: #1e3659;
    line-height: 1.4;
    font-weight: bold;
    margin-block-start: 6px;
    margin-block-end: 6px;
  }
  .item-content .introtext {
    font-size: 0.875rem;
    line-height: 1.7;
    color: rgba(30, 54, 89, 0.7);
    margin-block-start: 6px;
    margin-block-end: 6px;
  }
  .item .readmore {
    margin-inline-start: auto;
    padding: 4px 0;
    transition: 0.3s;
    position: relative;
  }
  .item .readmore a {
    color: #2D925B;
  }
  .item .readmore:after {
    content: "";
    position: absolute;
    inset: auto 100% 0 0;
    height: 1px;
    background: #2D925B;
    transition: 0.3s;
  }
  .item .readmore:hover:after {
    inset: auto 0 0 0;
  }
  .item .tags .tag {
    font-size: 13px;
    color: #2D925B;
    padding: 0 10px;
    border-left: 1px solid #2D925B;
    border-right: 1px solid #2D925B;
  }
  .item .datetime {
    font-size: 14px;
    color: #1e3659;
    font-weight: 500;
  }
  .item-footer {
    align-items: center;
    flex-wrap: wrap;
    color: #1e3659;
    font-size: 13px;
    gap: 5px;
    margin-top: auto;
  }
  .item-footer .date-published {
    font-size: 12px;
    opacity: 0.5;
  }
}
.cards {
  /* 原本 :scope 內容 */
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  padding: 20px 0;
  list-style: none;
  /* 若父層是 .section-related → 覆寫 */
  /* ------------------------------
     .item
  ------------------------------ */
}
.section-related .cards {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
@media only screen and (max-width: 860px) {
  .cards {
    grid-template-columns: 1fr;
  }
}
.cards .item {
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}
.cards .item:hover .item-img {
  transform: translate3d(0, -5px, 0);
}
.cards .item:hover .item-img:before {
  transform: translate3d(0, 5px, 0);
}
.cards .item-img {
  position: relative;
  aspect-ratio: 2/1;
  background-size: cover;
  background-position: center;
  transition: 0.3s;
}
.cards .item-img:before {
  background: inherit;
  content: "";
  position: absolute;
  inset: 0;
  transform: translate3d(0, 5px, 0);
  filter: blur(20px);
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  opacity: 0.7;
  transition: 0.3s;
}
.cards .item-img:after {
  background: inherit;
  content: "";
  position: absolute;
  inset: 0;
  transition: 0.3s;
}
.cards .item-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cards .item-content {
  padding: 10px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.cards .item-content .category {
  padding-inline: 6px;
  display: inline-block;
  position: relative;
  color: #2D925B;
  font-size: 0.75rem;
  border-inline-start: 1px solid #2D925B;
  border-inline-end: 1px solid #2D925B;
}
.cards .item-content .category a {
  color: #2D925B;
}
.cards .item-content .title {
  font-size: 1rem;
  color: #1e3659;
  line-height: 1.4;
  font-weight: bold;
  margin-block: 6px;
}
.cards .item-content .introtext {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(30, 54, 89, 0.7);
  margin-block: 6px;
}
.cards .item .readmore {
  margin-inline-start: auto;
  padding: 4px 0;
  transition: 0.3s;
  position: relative;
}
.cards .item .readmore a {
  color: #2D925B;
}
.cards .item .readmore:after {
  content: "";
  position: absolute;
  inset: auto 100% 0 0;
  height: 1px;
  background: #2D925B;
  transition: 0.3s;
}
.cards .item .readmore:hover:after {
  inset: auto 0 0 0;
}
.cards .item .tags .tag {
  font-size: 13px;
  color: #2D925B;
  padding: 0 10px;
  border-left: 1px solid #2D925B;
  border-right: 1px solid #2D925B;
}
.cards .item .datetime {
  font-size: 14px;
  color: #1e3659;
  font-weight: 500;
}
.cards .item-footer {
  align-items: center;
  flex-wrap: wrap;
  color: #1e3659;
  font-size: 13px;
  gap: 5px;
  margin-top: auto;
}
.cards .item-footer .date-published {
  font-size: 12px;
  opacity: 0.5;
}

/*# sourceMappingURL=news.css.map */
