/* 字體配置 */
@font-face {
    font-family: 'HarmonyOS Sans TC Medium';
    src: url('../font/HarmonyOS_Sans_TC_Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'HarmonyOS Sans TC Regular';
    src: url('../font/HarmonyOS_Sans_TC_Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'HarmonyOS Sans TC Light';
    src: url('../font/HarmonyOS_Sans_TC_Light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'HarmonyOS Sans TC';
    src: url('../font/HarmonyOS_Sans_TC_Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'HarmonyOS Sans TC Black';
    src: url('../font/HarmonyOS_Sans_TC_Black.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* 基本樣式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'HarmonyOS Sans TC Regular', sans-serif;
    padding-top: 55px; /* 為固定header預留空間 */
    min-height: 100vh;
    position: relative;
}

/* Header 樣式 */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

#main-header .header-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.current-page {
    color: #333;
    border-bottom: 2px solid #333;
}

.current-page:hover {
    border: none;
}

/* Logo 樣式 */
.logo-container {
    height: 100%;
    display: flex;
    align-items: center;
}

#logo-img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
    margin-top: 5px;
}

#logo-img:hover {
    transform: scale(1.1);
}

/* 桌面選單樣式 */
.menu-container {
    display: flex;
    align-items: center;
    gap: 30px;
}

.desktop-menu ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.desktop-menu li a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #333;
    font-family: 'HarmonyOS Sans TC Medium', sans-serif;
    font-size: 15px;
    transition: transform 0.3s ease;
    text-align: center;
    line-height: 1.4;
}

.desktop-menu li a span {
    color: #83CBEB;
    font-size: 10px;
}

.right-controls a, .sidebar-menu a {
    text-decoration: none;
    color: #333;
    font-family: 'HarmonyOS Sans TC Medium', sans-serif;
    transition: transform 0.3s ease;
    display: inline-block;
}

.desktop-menu a:hover, .right-controls a:hover, .sidebar-menu a:hover {
    transform: scale(1.1);
    cursor: pointer;
}

/* 右側控制項 */
.right-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

#search-icon-img, #lang-icon-img {
    height: 25px;
    width: auto;
    transition: transform 0.3s ease;
    margin-top: 5px;
}

.search-btn:hover, .lang-switch:hover {
    transform: scale(1.1);
    cursor: pointer;
}

/* 行動控制項 - 默認隱藏 */
.mobile-controls {
    display: none;
    align-items: center;
}

.menu-toggle {
    background: none;
    border: none;
    font-size: 20px;
    color: #333;
    cursor: pointer;
    transition: transform 0.3s ease;
    margin-right: 15px;
}

.menu-toggle:hover {
    transform: scale(1.1);
}

.mobile-lang {
    position: absolute;
    right: 20px;
}

/* 搜尋框樣式 */
.search-popup {
    position: fixed;
    top: -250px;
    left: 0;
    width: 100%;
    height: 250px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    transition: top 0.3s ease-in-out;
}

.search-popup.active {
    top: 0;
}

.search-popup-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    position: relative;
}

.search-popup h2 {
    font-family: 'HarmonyOS Sans TC Medium', sans-serif;
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.search-box {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.search-box input {
    flex: 1;
    padding: 12px 20px;
    font-family: 'HarmonyOS Sans TC Regular', sans-serif;
    font-size: 16px;
    border: 2px solid #e7e7e7;
    border-radius: 30px;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-box input:focus {
    border-color: #83CBEB;
}

.search-box button {
    padding: 12px 30px;
    font-family: 'HarmonyOS Sans TC Medium', sans-serif;
    font-size: 16px;
    color: #fff;
    background-color: #83CBEB;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-box button:hover {
    background-color: #6ba8c4;
}

.hot-searches {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.hot-searches span {
    font-family: 'HarmonyOS Sans TC Regular', sans-serif;
    font-size: 14px;
    color: #666;
}

.hot-searches a {
    font-family: 'HarmonyOS Sans TC Regular', sans-serif;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    padding: 5px 15px;
    background-color: #f5f5f5;
    border-radius: 20px;
    transition: background-color 0.3s ease;
}

.hot-searches a:hover {
    background-color: #e7e7e7;
    cursor: pointer;
}

.search-popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 20px;
    color: #333;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.search-popup-close:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .search-popup {
        top: -300px;
        height: 300px;
    }
    .search-popup-content {
        padding: 20px 15px;
    }
    
    .search-popup h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .search-box {
        flex-direction: column;
        gap: 10px;
    }
    
    .search-box button {
        width: 100%;
    }
    
    .hot-searches {
        gap: 10px;
    }
}

/* Sidebar 樣式 */
.sidebar {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background-color: #fff;
    z-index: 1100;
    transition: left 0.3s ease;
    padding: 60px 0 20px;
}

.sidebar-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 20px;
    color: #333;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.sidebar-close:hover {
    transform: scale(1.1);
}

.sidebar-title img {
    width: 200px;
    height: auto;
    margin: 0 auto;
    display: block;
}

.sidebar-search {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.sidebar-menu ul {
    list-style: none;
}

.sidebar-menu li {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    display: none;
}


/* Footer 樣式 */
#main-footer {
    position: relative;
    /*top: calc(40vw + 1020px);  輪播容器下方1000px */
    margin-top: 50px;
    width: 100%;
    height: 120px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}

#main-footer p {
    font-family: 'HarmonyOS Sans TC Light', sans-serif;
    font-size: 12px;
    color: #333;
    margin-bottom: 0px;
}

#main-footer .footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.footer-container .social-links {
    display: flex;
    gap: 15px;
    margin-top: 5px;
}

.footer-container .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: #fff;
    border: 2px solid #83CBEB;
    border-radius: 50%;
    color: #83CBEB;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-container .social-link:hover {
    background-color: #83CBEB;
    color: #fff;
    transform: translateY(-2px);
}

.footer-container .social-link i {
    font-size: 16px;
}

@media (max-width: 768px) {
    .footer-container .social-links {
        margin-top: 3px;
    }
    
    .footer-container .social-link {
        width: 30px;
        height: 30px;
    }
    
    .footer-container .social-link i {
        font-size: 14px;
    }
}

/* 輪播基本樣式 
.carousel-container {
    position: relative;
    width: 100%;
    height: 50vw;
    max-width: 1440px;
    max-height: 720px;
    overflow: hidden;

}*/

/* 預設 2:1 */
.carousel-container {
    height: 50vw;
    position: relative;
    max-width: 1680px;
    max-height: 560px;
    margin: 20px auto; /* <-- 修改這一行 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
  }
  
  /* 手機：1.5:1 */
  @media (max-width: 767px) {
    .carousel-container {
      height: 66.67vw;
    }
  }
  
  /* 桌機寬屏：3:1 */
  @media (min-width: 1200px) {
    .carousel-container {
      height: 33.33vw;
    }
  }
  

.carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.carousel-item {
    position: relative;
    min-width: 100%;
    width: 100%;
    height: 100%;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

/* 輪播控制按鈕 */
.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.2);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 2;
}

/* 手機寬度以下隱藏左右切換按鈕 */
@media (max-width: 767px) {
    .carousel-control-prev,
    .carousel-control-next {
      display: none !important;
    }
  }

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3e%3c/svg%3e");
}

/* 輪播指示器 */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-indicators button.active {
    background-color: rgba(131, 203, 235, 0.5);
}

/* 輪播文字說明 */
.carousel-caption {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
    max-width: 80%;
    z-index: 1;
}

.carousel-caption h5 {
    font-family: 'HarmonyOS Sans TC Medium', sans-serif;
    font-size: 24px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-caption p {
    font-family: 'HarmonyOS Sans TC Light', sans-serif;
    font-size: 16px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* 首頁部落格區 */
.top-blog-container {
    padding: 30px 0;
    background-color: #f7f7f7;
    display: flex;
    flex-direction: column;
}

.top-blog-title-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 10px;
}

.top-blog-title-container h2 {
    font-family: 'HarmonyOS Sans TC Black', sans-serif;
    font-size: 32px;
    padding-bottom: 20px;
    width: 100%;
    text-align: center;
    color: #333;
    background-image: linear-gradient(
        90deg,
        #e7e7e7 0%, #e7e7e7 45%,
        #83cbeb 45%, #83cbeb 55%,
        #e7e7e7 55%, #e7e7e7 100%
    );
    background-size: 50% 5px;
    background-repeat: no-repeat;
    background-position: center bottom;
}

.blog-posts-items-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.blog-posts-items-container .blog-posts-item {
    width: 300px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.blog-posts-items-container .blog-posts-item:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.blog-posts-items-container .blog-posts-item img {
    width: 100%;
    /*height: 200px;*/
    object-fit: cover;
}

.blog-posts-items-container .blog-posts-item .blog-posts-item-content {
    padding: 20px;
}

.blog-posts-items-container .blog-posts-item .blog-posts-item-content h3 {
    font-family: 'HarmonyOS Sans TC Medium', sans-serif;
    font-size: 20px;
    color: #333;
    margin-bottom: 8px;
}

.blog-posts-items-container .blog-posts-item .blog-posts-item-content h5 {
    font-family: 'HarmonyOS Sans TC Regular', sans-serif;
    font-size: 10px;
    color: #83cbeb;
    margin-left: 1px;
    margin-bottom: 10px;
}

.blog-posts-items-container .blog-posts-item .blog-posts-item-content p {
    font-family: 'HarmonyOS Sans TC Regular', sans-serif;
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.top-blog-readmore-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.top-blog-readmore-container a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    width: 160px;
    color: #333;
    font-family: 'HarmonyOS Sans TC Medium', sans-serif;
    font-size: 16px;
    text-decoration: none;
    background-color: #fff;
    border: #83CBEB 2px solid;
    border-radius: 40px;
}

.top-blog-readmore-container a:hover {
    background-color: #83CBEB;
    color: #fff;
    transition: background-color 0.3s ease;
}

.top-blog-readmore-container a::after {
    content: '';
    width: 10px;
    height: 10px;
    border-top: 3px solid #333;
    border-right: 3px solid #333;
    transform: rotate(45deg);
}

.top-blog-readmore-container a:hover::after {
    border-color: #fff;
    transition: border-color 0.3s ease;
}



/* 貼文標籤樣式 */
.blog-posts-item-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
}

.blog-posts-item-tags .tag {
    font-family: 'HarmonyOS Sans TC Regular', sans-serif;
    font-size: 12px;
    color: #83CBEB;
    background-color: rgba(131, 203, 235, 0.1);
    padding: 3px 8px;
    border-radius: 10px;
}

/* 貼文互動元素樣式 */
.blog-posts-item-interactions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.blog-posts-item-series {
    font-family: 'HarmonyOS Sans TC Regular', sans-serif;
    font-size: 12px;
    background-color: #bbb;
    color: #f6f6f6;
    padding: 3px 8px;
    border-radius: 10px;
}

.blog-posts-item-date {
    font-family: 'HarmonyOS Sans TC Regular', sans-serif;
    font-size: 12px;
    color: #83CBEB;
}

.blog-posts-item-likes, .blog-posts-item-pinned {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: 'HarmonyOS Sans TC Regular', sans-serif;
    font-size: 12px;
    color: #666;
}

.blog-posts-item-likes i, .blog-posts-item-pinned i {
    font-size: 14px;
    color: #83CBEB;
}

.blog-posts-items-container .new-label {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #83CBEB;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
}


/* 響應式調整 */
@media (max-width: 768px) {
    .carousel-caption h5 {
        font-size: 20px;
    }
    
    .carousel-caption p {
        font-size: 14px;
    }
}

@media (max-width: 500px) {
    .carousel-caption h5 {
        display: none;
    }
    
    .carousel-caption p {
        display: none;
    }
}

/* 響應式布局 */
@media (max-width: 768px) {
    .desktop-menu, .right-controls {
        display: none;
    }
    
    .mobile-controls {
        display: flex;
    }
    
    .logo-container {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    
    body.sidebar-open .sidebar {
        left: 0;
    }
    
    body.sidebar-open .sidebar-overlay {
        display: block;
    }

    .top-blog-title-container h2 {
        font-size: 24px;
    }

    .top-sdgs-container h2{
        font-size: 24px;
    }

    .top-sdgs-content-container{
        flex-direction: column;
        align-items: center;
        
    }
    .top-sdgs-content-container .top-sdgs-text-container {
        width: 80%;
    }

}

@media screen and (max-width: 300px) {
    #logo-img {
        content: url("../img/ntuca_logo.png");
    }
}

/* 臉書動態板塊 */
.top-dynamic-container {
    padding: 30px 0;
    background-color: #f6f6f6;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.top-dynamic-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap; /* 確保小螢幕時換行 */
    gap: 20px;
}

.top-dynamic-title {
    font-family: 'HarmonyOS Sans TC Black', sans-serif;
    font-size: 32px;
    padding-bottom: 20px;
    width: 100%;
    text-align: center;
    color: #333;
    background-image: linear-gradient(
        90deg,
        #e7e7e7 0%, #e7e7e7 45%,
        #83cbeb 45%, #83cbeb 55%,
        #e7e7e7 55%, #e7e7e7 100%
    );
    background-size: 50% 5px;
    background-repeat: no-repeat;
    background-position: center bottom;
    margin-bottom: 20px;
}

.top-dynamic-subtitle {
    font-family: 'HarmonyOS Sans TC Regular', sans-serif;
    font-size: 16px;
    color: #666;
    text-align: center;
    margin-bottom: 20px;
    padding: 0 50px;
}

.facebook-iframe {
    width: 100%;  /* 讓 iframe 寬度佔滿父容器 */
    max-width: 370px; /* 設置最大寬度，保持大螢幕時仍為 500px */
    height: 600px;
    border: none;
    overflow: hidden;
}


/* 當螢幕寬度較小時調整佈局 */
@media (max-width: 768px) {
    .top-dynamic-content {
        flex-direction: column;
    }
}

/* 桌面版子菜單 */
.blog-menu {
    position: relative;
}

.blog-menu .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    width: 160px;
    padding: 5px 0;
}

.blog-menu:hover .submenu {
    display: block;
}

.blog-menu .submenu li {
    list-style: none;
    padding: 8px 15px;
}

.blog-menu .submenu li a {
    text-decoration: none;
    font-size: 14px;
    color: #333;
    display: block;
    font-family: 'HarmonyOS Sans TC Regular', sans-serif;
    padding: 5px 10px;
}

.blog-menu .submenu li a:hover {
    background: #83CBEB;
    color: #fff;
    border-radius: 5px;
}

/* 行動版子菜單 */
.sidebar-submenu {
    display: none;
    padding-left: 15px;
}

.sidebar-submenu li {
    list-style: none;
    padding: 10px 0;
}

.sidebar-submenu li a {
    font-size: 14px;
    color: #333;
    text-decoration: none;
    display: block;
}

.sidebar-blog-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-family: 'HarmonyOS Sans TC Medium', sans-serif;
    font-size: 16px;
    cursor: pointer;
    padding: 0px 0px;
}

.sidebar-blog-toggle i {
    transition: transform 0.3s;
}

/* 當展開時改變箭頭方向 */
.sidebar-blog-toggle.active i {
    transform: rotate(180deg);
}

/* 貼文主題長條圖 */
.bar-chart-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 50px;
    align-items: center;
}

.chart-toggle-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.bar-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f0f0f0;
    padding: 10px;
    margin: 0px 30px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    width: 80%;
    max-width: 700px;
    cursor: pointer;
}

.bar-item:hover {
    background-color: #e0e0e0;
}

.bar-label {
    font-family: 'HarmonyOS Sans TC Regular';
    font-size: 16px;
    width: 120px;
    color: #333;
}

.bar-fill {
    background-color: #83CBEB;
    height: 25px;
    border-radius: 12.5px;
    margin-left: 10px;
    position: relative;
    transition: width 0.5s ease;
    text-align: right; /* 將數字放置在右邊 */
    overflow: hidden;
    /* 從左到右的擴展效果 */
    transform-origin: left;
}

.bar-count {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-family: 'HarmonyOS Sans TC Medium';
}

/* Toggle button styles */
.toggle-btn {
    font-family: 'HarmonyOS Sans TC Regular';
    background-color: #e0e0e0;
    border: none;
    padding: 10px 20px;
    margin: 20px 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 20px;
}

.toggle-btn.active {
    background-color: #83CBEB;
    color: white;
}

.toggle-btn:hover {
    background-color: #6ba8c4;
}

/* Responsive */
@media (max-width: 768px) {
    .bar-label {
        font-size: 14px;
    }

    .bar-fill {
        height: 20px;
    }

    .toggle-btn {
        padding: 8px 15px;
    }
    
}
/* 首頁 SDGs 區 */
.top-sdgs-container {
    padding: 30px 30px;
    background-color: #fff;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.top-sdgs-title-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.top-sdgs-title {
    font-family: 'HarmonyOS Sans TC Black', sans-serif;
    font-size: 32px;
    padding-bottom: 20px;
    width: 100%;
    text-align: center;
    color: #333;
    background-image: linear-gradient(
        90deg,
        #e7e7e7 0%, #e7e7e7 45%,
        #83cbeb 45%, #83cbeb 55%,
        #e7e7e7 55%, #e7e7e7 100%
    );
    background-size: 50% 5px;
    background-repeat: no-repeat;
    background-position: center bottom;
}


@media (max-width: 768px) {
    .facebook-iframe {
        width: 100%;
    }
    .top-dynamic-title {
        font-size: 24px;
    }
    .top-sdgs-title {
        font-size: 24px;
    }
}

.top-sdgs-content-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}


.top-sdgs-container .top-sdgs-text-container {
    font-family: 'HarmonyOS Sans TC Regular', sans-serif;
    font-size: 16px;
    color: #666;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 0 50px;
}

