/* 桌機版 (大於等於 992px) */
.carousel-inner {
    max-height: 800px;
  }
  .carousel-inner img {
    height: 800px;
    object-fit: cover;
  }

  /* 平板版 (介於 768px ~ 991.98px) */
  @media (max-width: 991.98px) {
    .carousel-inner {
      max-height: 600px;
    }
    .carousel-inner img {
      height: 600px;
      object-fit: cover;
    }
  }



  /* 行動裝置版 (小於 768px) */
  @media (max-width: 767.98px) {
    .carousel-inner {
      max-height: 600px;
    }
    .carousel-inner img {
      height: 600px;
      object-fit: cover;
      margin-top: 60px;
    }
  }

  .content_highlight {
    font-size: 0.7em;
    line-height: 1.5em;
    font-weight: 800;
    color: rgb(194, 15, 134);
    padding: 0.3em;
    animation: blinking 1.5s linear infinite;
  }

  @keyframes blinking {
    50% {
      opacity: 0;
    }
  }

  .text-rap-blue {
    color: #2E89CA;
  }


    .full-marquee-bg {
      background: linear-gradient(90deg, #2b7a6d, #216b86, #273b8e);
      padding: 0.65rem 0;
      width: 100%;
    }


    .marquee-text {
      display: inline-block;
      white-space: nowrap;
      color: white;
      font-size: 1rem;
      font-weight: 800;
      padding-left: 100%;
      animation: slide-left 30s linear infinite;
    }

    ul.nav > li {
      position: relative; /* 讓子選單定位相對於此 li */
    }

    /* 子選單（展開區塊） */
    ul.nav li ul.submenu {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      z-index: 9999; /* 一定要高於跑馬燈 */
      background-color: #fff; /* 自訂底色 */
      padding: 0.5rem;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    }

    /* hover 顯示子選單 */
    ul.nav li:hover ul.submenu {
      display: block;
    }

    @keyframes slide-left {
      0% {
        transform: translateX(0%);
      }
      100% {
        transform: translateX(-100%);
      }
    }

    .dropdown {
      position: absolute;
      z-index: 9999; /* 確保高過跑馬燈 */
    }
