@charset "UTF-8";
/*
-----------------------------------
    1. 變數 
    2. section
    3. WTO相關資訊
    4. WTO訊息分享
    5. 相關網站
-----------------------------------
*/
/*===============================
    變數
================================*/
:root {
  --fontFamily: NotoSans, "PingFangTC", Microsoft JhengHei, "微軟正黑體", "Helvetica", "sans-serif";
  /*語意化顏色變數*/
  --color-gray-100: #f1f6fa;
  --color-gray-200: #f4f4f4;
  --color-gray-300: #ecf2f9;
  --color-gray-400: #ebeff2;
  --color-gray-500: #e3e8ed;
  --color-gray-600: #e1e1e1;
  --color-gray-700: #9fa4ac;
  --color-gray-800: #6c6c6c;
  --color-gray-900: #3d4e66;
  --color-black: #1f2429;
  --color-primary-darker: #00658c;
  --color-primary-dark: #006d97;
  --color-primary: #007eae;
  --color-primary-light: #c3eeff;
  --color-primary-lighter: #f0fbff;
  --color-secondary: #edf6ff;
  --color-secondary-light: #f3f9ff;
  --color-success: #00b428;
  --color-success-dark: #049624;
  --color-info: #1b61c0;
  --color-info-dark: #1654a8;
  --color-warning: #ffc700;
  --color-warning-light: #fff6e6;
  --color-warning-lighter: #fffaec;
  --color-danger: #ed0408;
  --color-text-primary: #007eae;
  --color-text-darkblue: #113563;
  --color-text-default: var(--color-gray-900);
  --color-text-light: var(--color-gray-700);
  --color-text-dark: var(--color-gray-800);
  --color-bg-primary: #f1f6fa;
  --color-bg-light: #ecf2f9;
  --color-bg-dark: #ebeff2;
  --color-border-default: var(--color-gray-600);
  --color-border-light: var(--color-gray-500);
  --color-linear: linear-gradient(to bottom, #f7fafd 0%, #eafbff 69%);
  --color-lakeblue: #daf7f7;
  --outlineBrown: #AE8800;
}

/*===============================
    section
================================*/
.section {
  width: 100%;
  padding: 2.5rem 0;
  box-sizing: border-box;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}
.section.info-section {
  background-color: #fff;
}
.section.news-section {
  background-image: url(../images/news_bg.jpg);
}
.section.website-section {
  background-image: url(../images/related\ links_bg.jpg);
}
.section h2.title {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-primary-dark);
}
@media screen and (max-width: 1199px) {
  .section .wrap {
    padding: 0 1rem;
  }
}

/*===============================
    WTO相關資訊
================================*/
.info-section .info-wrap {
  display: flex;
  align-items: flex-end;
  gap: 32px;
  padding-right: 92px;
  box-sizing: border-box;
}
.info-section .info-wrap .info-left,
.info-section .info-wrap .info-right {
  display: flex;
}
.info-section .info-wrap .info-left {
  flex: 1 1 786px;
}
.info-section .info-wrap .info-right {
  position: relative;
  flex: 0 0 290px;
}
.info-section .info-wrap .info-right .decor-img {
  width: 151px;
  height: 114px;
  object-fit: contain;
  position: absolute;
  right: -92px;
  bottom: 0;
}
.info-section .box {
  flex: 1;
  padding: 1.5rem;
  box-sizing: border-box;
  border-radius: 10px;
  box-shadow: 0 0 6px 0 rgba(235, 239, 242, 0.5);
  border: solid 1px var(--color-gray-400);
}
.info-section .box.topic {
  background-color: var(--color-warning-light);
}
.info-section .box.dictionary {
  background-color: var(--color-lakeblue);
}
.info-section .box.topic .box-content {
  margin-top: 0.5rem;
}
.info-section .box.topic .box-content .article-wrap {
  display: flex;
  gap: 24px;
  align-items: center;
}
.info-section .box.topic .box-content .article-wrap .decor-img {
  width: 227px;
  height: 170px;
  object-fit: contain;
  flex-grow: 0;
  border-radius: 8px;
  box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, 0.3);
}
@media screen and (max-width: 575px) {
  .info-section .box.topic .box-content .article-wrap {
    flex-direction: column;
  }
  .info-section .box.topic .box-content .article-wrap .decor-img {
    max-width: 100%;
    width: 100%;
    height: auto;
  }
}
.info-section .box.dictionary .box-content {
  margin-top: 1rem;
}
.info-section .article {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.info-section .article .article-title {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-primary-dark);
}
.info-section .article .article-content {
  font-size: 1rem;
  text-align: left;
  color: var(--color-text-default);
  overflow: hidden;
}
.info-section .article .article-content.ellipsis-4 {
  line-height: 1.375;
  height: 5.5em;
}
.info-section .article .article-content.ellipsis-5 {
  line-height: 1.375;
  height: 6.875em;
}
.info-section .article a.button {
  flex: 0 0 auto;
}

@media screen and (max-width: 1199px) {
  .info-section {
    margin-top: 56px;
  }
  .info-section .info-wrap {
    flex-direction: column;
    align-items: normal;
    padding-right: 0;
    gap: 24px;
  }
  .info-section .info-wrap .info-left,
  .info-section .info-wrap .info-right {
    width: 100%;
    flex: 0 0 auto;
  }
  .info-section .info-wrap .info-right .decor-img {
    display: none;
  }
  .info-section .article .article-content.ellipsis-5 {
    height: auto;
  }
}
@media screen and (max-width: 575px) {
  .info-section .box.topic .box-content .article-wrap {
    align-items: flex-start;
  }
  .info-section .article .article-content.ellipsis-4 {
    height: auto;
  }
}
/*===============================
    WTO訊息分享
================================*/
.news-section {
  padding: 2.5rem 0;
  box-sizing: border-box;
}
.news-section .news-controls {
  display: flex;
  gap: 16px;
  position: relative;
}
.news-section .news-controls button {
  width: 44px;
  height: 44px;
  padding: 0.625rem;
  box-sizing: border-box;
  border-radius: 50%;
  border: none;
  background-color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}
.news-section .news-slider {
  width: 100%;
  overflow: hidden;
}
.news-section .news-items {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.news-section .news-item {
  margin: 0 0.25rem;
  border-radius: 10px;
  box-shadow: 0 0 6px 0 var(--color-gray-400);
  border: solid 1px var(--color-gray-400);
  background-color: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.news-section .news-item:has(a:hover), .news-section .news-item:has(a:focus) {
  box-shadow: 0 0 6px 0 #c1ccd4;
  border-color: var(--color-primary);
}
.news-section .news-item a {
  text-decoration: none;
  display: block;
  padding: 1rem;
  box-sizing: border-box;
}
.news-section .news-item a:hover .news-title,
.news-section .news-item a:hover .news-content p, .news-section .news-item a:focus .news-title,
.news-section .news-item a:focus .news-content p {
  color: var(--color-primary);
}
.news-section .news-item a:hover .news-content p, .news-section .news-item a:focus .news-content p {
  text-decoration: underline;
}
.news-section .news-item .news-date {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 0.625rem;
}
.news-section .news-item .news-date .date {
  box-sizing: border-box;
  padding: 0.25rem 0.625rem;
  border-radius: 8px;
  background-color: var(--color-bg-dark);
  display: flex;
  align-items: center;
  gap: 4px;
}
.news-section .news-item .news-date .date span {
  font-size: 1rem;
  line-height: 1.375;
  color: var(--color-text-darkblue);
  transform: translateY(1px);
}
.news-section .news-item .news-date .date::before {
  content: "";
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  background-image: url(../images/icon_calendar-week.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
.news-section .news-item .news-title {
  font-size: 1.125rem;
  font-weight: 500;
  text-align: left;
  color: var(--color-black);
  margin-bottom: 0.625rem;
  transition: color 0.3s ease;
}
.news-section .news-item .news-content p {
  font-size: 1rem;
  text-align: left;
  color: var(--color-text-default);
  transition: color 0.3s ease;
}
.news-section .news-item.new .news-date::after {
  content: "";
  width: 32px;
  height: 32px;
  background-image: url(../images/icon_new.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
.news-section .news-footer {
  text-align: center;
  margin-top: 1.5rem;
}

/*===============================
    相關網站
================================*/
.website-section h2 {
  justify-content: center;
  margin-bottom: 1.5rem;
}
.website-section .container + .container {
  margin-top: 1.25rem;
}
.website-section .container:last-child {
  margin-bottom: 2.8125rem;
}
@media screen and (max-width: 1199px) {
  .website-section .container:last-child {
    margin-bottom: 0;
  }
}
.website-section .website-type {
  padding: 0.625rem 0;
  box-sizing: border-box;
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  color: var(--color-black);
  margin-bottom: 1rem;
}
.website-section ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 258px));
  gap: 16px;
}
.website-section ul li {
  height: 100%;
}
@media screen and (max-width: 767px) {
  .website-section .website-type {
    text-align: center;
    padding: 0;
  }
  .website-section ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 3.75rem;
    box-sizing: border-box;
  }
  .website-section ul li {
    width: 100%;
    padding: 0 0.5rem;
    box-sizing: border-box;
  }
  .website-section ul li a.tag {
    max-width: none;
  }
}
.website-section .link-carousel .link-items {
  width: 100%;
  overflow: hidden;
}
.website-section .link-carousel .link-items .slick-track {
  display: flex;
  margin-left: 0;
}
.website-section .link-carousel .link-items .slick-slide {
  height: auto;
}
.website-section .link-carousel .link-items:has(.slick-arrow) {
  padding: 0 3.75rem;
}
.website-section .link-carousel .link-items:has(.slick-arrow) .slick-track {
  margin-left: auto;
}
.website-section .link-carousel .link-items:has(.slick-arrow) .link-item:first-child {
  padding-left: 0.5rem;
}
.website-section .link-carousel .link-items:has(.slick-arrow) .link-item a.tag {
  max-width: none;
}
.website-section .link-carousel .link-items:not(:has(.slick-arrow)) .link-item {
  width: auto !important;
}
.website-section .link-carousel .link-item {
  padding: 0 0.5rem;
  box-sizing: border-box;
}
.website-section .link-carousel .link-item:first-child {
  padding-left: 0;
}
.website-section .link-carousel .link-item a {
  outline-offset: -3px;
}
.website-section .link-carousel .slick-arrow {
  width: 44px;
  height: 44px;
  background-color: #f4f4f4;
  border: 0;
  border-radius: 36px;
  padding: 0.625rem;
  box-sizing: border-box;
  white-space: nowrap;
  text-indent: 140%;
  overflow: hidden;
  background-repeat: no-repeat;
  background-size: 24px;
  background-position: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  cursor: pointer;
}
.website-section .link-carousel .slick-arrow.slick-prev {
  background-image: url(../images/icon_arrow_left_gray.png);
  left: 0;
}
.website-section .link-carousel .slick-arrow.slick-next {
  background-image: url(../images/icon_arrow_right_gray.png);
  right: 0;
}

.tag {
  width: 100%;
  max-width: 258px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 0.625rem;
  border-radius: 4px;
  border: solid 1px var(--color-border-default);
  background-color: #fff;
  box-sizing: border-box;
  font-size: 1rem;
  text-align: center;
  color: var(--color-text-default);
}
.tag img {
  width: 100%;
  height: auto;
  object-fit: contain;
}/*# sourceMappingURL=index.css.map */