@font-face {
    font-family: Helvetica Neue;
    src: url("../fonts/HelveticaNeue.ttc");
    font-display: swap;
}

@font-face {
    font-family: Noto Sans TC;
    src: url("../fonts/NotoSansTC-Regular.ttf");
    font-display: swap;
}

body {
    position: relative;
    background: #F6F3F0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang HK", "Microsoft JhengHei", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.carousel-control-next-icon, .carousel-control-prev-icon {
    width: 3.5rem;
    height: 3.5rem;
}

.carousel-control-prev, .carousel-control-next {
    background: #fff;
    opacity: 0.1;
}

::marker {
    color: #D71318;
}

.animbox {
    position: relative;
    width: 25px;
    height: 25px;
    overflow: hidden;
    background: #D71318;
}

.animbox i {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    inset: 0;
    margin: auto;
    transition: transform .4s cubic-bezier(.16, 1, .3, 1);
    opacity: 1;
    color: #fff;
    font-size: 13px;
    line-height: 25px;
}

.animbox i:last-of-type {
    transform: translate3d(-300%, 0, 0);
}

.anim:hover .animbox i:first-of-type {
    opacity: 0;
}

.anim:hover .animbox i:last-of-type {
    transform: translate3d(0%, 0, 0);
}

.page-link {
    border-radius: 0 !important;
    background: inherit;
}

.pagination {
    margin-bottom: 2rem;
}

.pagination .page-item a {
    color: #333;
    background-color: inherit;
}

.pagination .page-item.active a {
    color: #D71318;
    border-color: inherit;
}

.pagination .page-item a:hover {
    color: #fff;
    background-color: #D71318;
}

.alert {
    border: 0;
    border-radius: 0;
    margin-top: 15px;
}

.modal-dialog {
    margin: 0;
}

.modal-content {
    min-height: 100vh;
    background: #F6F3F0;
    opacity: 0.95;
}

.footer-socials .list-inline-item {
    margin-right: 5px !important;
}

.list-inline-item:not(:last-child) {
    margin-right: .7rem;
}

.bg-red {
    background: #D71318 !important;
}

.form-check-input[type=checkbox] {
    border-radius: 50px;
}

.form-check-input:checked {
    box-shadow: none;
    background-color: #D71318;
    border-color: #D71318;
}

.w-45 {
    width: 45%;
}

.red {
    color: #D71318;
}

.white {
    color: #fff;
}

.gray {
    color: #666;
}

.dropdown-menu {
    padding-top: 15px;
    min-width: 180px;
}

.dropdown-menu.show {
    margin-left: -13px;
}

.dropdown-item.active, .dropdown-item:active {
    background-color: inherit;
    color: #333;
}

.red-line {
    margin-top: 20px;
    margin-bottom: 20px;
    height: 2px;
    background: #D71318;
    width: 100%;
    max-width: 280px;
}

img {
    max-width: 100%;
}

.full-row {
    margin-left: -12px;
    margin-right: -12px;
}

.full-row-right {
    margin-right: -12px;
}

.full-row-left {
    margin-left: -12px;
}

.page-txt {
    max-width: 400px;
}

.form-group {
    position: relative;
}

.form-group label {
    position: absolute;
    top: 10px;
    left: 13px;
    font-size: 13px;
}

.form-group .form-control {
    padding-top: 20px;
    padding-bottom: 0;
}

a {
    color: #333;
    text-decoration: none;
}

.dropdown-menu {
    background: #F6F3F0;
    padding: 0;
    border-radius: 0;
    width: 100%;
}

.dropdown-toggle::after {
    display: none !important;
}

.b-t {
    border-top: 1px solid #BFBDBC;
}

.b-t-red {
    border-top: 1px solid #D71318;
}

.b-r {
    border-right: 1px solid #BFBDBC;
}

.b-l {
    border-left: 1px solid #BFBDBC;
}

.b-b {
    border-bottom: 1px solid #BFBDBC;
}

.nav-link {
    position: relative;
    padding: 0 !important;
    margin: 0 0.5rem;
    color: #000;
}

.footer-urls {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-urls a {
    position: relative;
}

.nav-link:focus, .nav-link:hover {
    color: var(--bs-navbar-color);
}

.nav-link:after, .footer-urls a:after, .more span:after {
    position: absolute;
    left: 0px;
    background-color: #D71318;
    content: '';
    display: block;
    height: 1.5px;
    margin-top: .1em;
    transition: width .5s;
    width: 0;
}

.nav-link.active:after, .nav-link:hover:after, .footer-urls a:hover:after, .more:hover span:after  {
    width: 100%;
}

.navbar-toggler {
    border: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar {
    padding: 0;
}

.navbar-brand {
    padding-right: 15px !important;
    z-index: 10;
}

.navbar-brand img {
    width: 130px;
}

.navbar-right {
    align-self: stretch;
}

.navbar-right div {
    display: flex;
    padding: 0px 20px;
    -webkit-transition: background-color 0.2s linear;
    -ms-transition: background-color 0.2s linear;
    transition: background-color 0.2s linear;
}

.navbar-right div:hover {
    background: #D71318;
}

.navbar-right div:hover a, .navbar-right div:hover a i {
    color: #fff;
}

.nav-item {
    font-weight: 500;
    color: black;
}

.navbar-right div a {
    align-self: center;
}

.navbar-nav {
    align-self: center;
    gap: 10px;
}

.owl-theme .owl-nav {
    margin-top: 20px;
}

.owl-nav {
    position: absolute;
    top: -80px;
    text-align: right !important;
    width: 100%;
    right: 0px;
}

.owl-nav button {
    background: inherit !important;
    color: #D71318 !important;
}

.owl-theme .owl-nav [class*=owl-] {
    border-radius: 0 !important;
    margin: 0 !important;
}

.owl-nav img {
    width: 30px;
    margin: 0px 5px;
}

.owl-carousel .owl-dots {
    text-align: right;
}

.owl-carousel .owl-dots .owl-dot span {
    border-radius: 0;
    width: 100px;
    height: 3px;
}

.owl-carousel .owl-dots .owl-dot:last-of-type span {
    margin-right: 0;
}

.owl-carousel .owl-dots .owl-dot.active span {
    background: #D71318;
}

.aspect-img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.home-partners img {
    height: auto;
    max-height: 95px;
    max-width: 170px;
    object-fit: contain;
    width: auto;
}

.partner-box {
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-logo {
    height: auto;
    max-width: 130px;
    width: 100%;
}

.lh-170 {
    line-height: 170%;
}

.fw-500 {
    font-weight: 500;
}

.mt-1p {
    margin-top: -1px;
}

.mt-10p {
    margin-top: 10px;
}

.ml-1p {
    margin-left: -1px;
}

.filter-box:hover {
    background: rgb(204,165,127,.14);
}

.for-banner-p {
    padding: 60px 20px;
}

.for-page-banner-img {
    aspect-ratio: 3 / 2;
    display: block;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.about-banner-img {
    aspect-ratio: 1920 / 779;
    display: block;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.footer-p {
    padding: 60px;
}

.more {
    display: flex;
    color: #333;
    align-items: center;
    font-size: 17px;
}

.more span {
    position: relative;
}

.right-arrow {
    width: 26px !important;
    margin-left: 5px;
}

.home-banner-title {
    font-size: 44px;
    font-weight: 500;
    line-height: 150%;
    letter-spacing: 6px;
}

.home-title, .service-toggle {
    font-size: 35px;
    letter-spacing: 8px;
    font-weight: 500;
}

.service-toggle {
    border-bottom: 2px solid #D71318;
}

.service-dropdown {
    max-width: 300px;
    font-size: 20px;
    text-align: center;
}

.home-content {
    font-size: 18px;
    line-height: 170%;
}

.activity-bg {
    background-size: cover;
    height: 200px;
}

.subtitle {
    font-size: 18px;
    color: #D71318;
    margin: 0;
    letter-spacing: 1px;
    font-weight:500;
}

.title {
    font-size: 33px;
    font-weight:500;
    Letter-spacing: 4px;
}

/* Semantic headings that replaced <p> titles keep the line-height of the paragraph they replaced. */
h1.title,
h2.title,
h1.home-title,
h2.home-title {
    line-height: inherit;
}

.product-title {
    font-size: 20px;
    font-weight: 500;
    margin: 0;
}

.for-sm-title {
    font-size: 20px;
    font-weight: 500;
    margin: 10px 0;
}

.teacher-title {
    font-size: 24px;
    margin: 0;
    color: black;
    font-weight: 500;
}

.why-box {
    text-align: center;
    border: 1px dashed #BFBDBC;
    border-right: 0;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.why-box p {
    font-size: 20px;
    font-weight: 500;
    margin: 0;
}

.why-box:last-of-type {
    border-right: 1px dashed #BFBDBC;
}

.why-box img {
    margin-bottom: 10px;
}

.grids {
    position: relative;
    border: 1px solid #BFBDBC;
    margin-left: -1px;
    margin-top: -1px;
    -webkit-transition: background-color 0.2s linear;
    -ms-transition: background-color 0.2s linear;
    transition: background-color 0.2s linear;
}

.grids:hover {
    background: #F1E5DA;
}

.home-feature-url {
    font-size: 20px;
    padding: 0px 20px;
}

.home-feature-url:hover {
    background: #F1E5DA;
}

.home-feature-url i {
    display: flex;
    width: 30px;
    height: 30px;
    justify-content: center;
    align-self: center;
}

.home-feature-url:hover i {
    color: #fff;
    background: #D71318;
    transform: translateX(3px);
}

.home-feature-url i {
    color: #D71318;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-transition: background-color 0.2s linear, transform 0.3s ease;
    -ms-transition: background-color 0.2s linear, transform 0.3s ease;
    transition: background-color 0.2s linear, transform 0.3s ease;
    font-size: 14px;
}

.home-feature-cover {
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
    min-height: 300px;
    background-repeat: no-repeat;
    opacity: 0;
    display: none;
    transition: opacity 0.2s linear;
}

.home-feature-cover.visible {
    display: block;
    opacity: 1;
}

.activity-type.rounded {
    font-size: 12px;
    border-width: 1px;
}

.activity-type {
    font-size: 15px;
    padding: 3px 10px;
    border: 1.5px solid #D71318;
    margin: 10px 10px 0px 0px;
    align-self: flex-start;
    -webkit-transition: background-color 0.2s linear;
    -ms-transition: background-color 0.2s linear;
    transition: background-color 0.2s linear;
}

.activity-type:hover {
    background: #D71318;
    color: #fff;
}

.home-stat {
    padding: 60px;
}

.home-stat div {
    background: #D71318;
    height: 3px;
    width: 60%;
    margin-bottom: 10px;
    border: 1.5px;
}

.home-stat p:first-of-type {
    font-size: 60px;
    margin-bottom: 3px;
}

.home-stat p:last-of-type {
    font-size: 18px;
}

.home-news-title {
    margin-top: 20px;
    margin-bottom: 5px;
    font-size: 20px;
    font-weight: 500;
}

.home-news-date {
    color: #9E9E9E;
    font-size: 14px;
}

.home-video-embed {
    aspect-ratio: 16 / 9;
    background: #111;
    border: 0;
    display: block;
    overflow: hidden;
    padding: 0;
    position: relative;
    width: 100%;
}

.home-video-embed img,
.home-video-embed iframe {
    border: 0;
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.home-video-facade {
    cursor: pointer;
}

.home-video-play {
    align-items: center;
    background: #D71318;
    color: #fff;
    display: flex;
    height: 64px;
    justify-content: center;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease, background-color 0.2s ease;
    width: 64px;
}

.home-video-facade:hover .home-video-play {
    background: #111;
    transform: translate(-50%, -50%) scale(1.06);
}

.home-video-list {
    border-top: 0;
}

.home-video-heading {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 18px;
}

.home-video-link {
    align-items: center;
    border-bottom: 1px solid #BFBDBC;
    color: #25282A;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    line-height: 1.5;
    padding: 16px 0;
}

.home-video-link i {
    align-items: center;
    color: #D71318;
    display: flex;
    flex: 0 0 30px;
    height: 30px;
    justify-content: center;
    transition: background-color 0.2s linear, color 0.2s linear, transform 0.3s ease;
    width: 30px;
}

.home-video-link:hover {
    color: #D71318;
}

.home-video-link:hover i {
    background: #D71318;
    color: #fff;
    transform: translateX(3px);
}

.news-content {
    padding: 5px 15px;
    word-break: break-all;
}

.news-content iframe {
    max-width: 100% !important;
}

.news-content img {
    height: auto !important;
}

.news-content table {
    max-width: 100%;
}

.news-content p, .news-content span {
    line-height: 170% !important;
}

.news-grids {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.share-title {
    font-size: 20px;
    font-weight: 500;
    margin-top: 10px;
}

.thumb-box {
    overflow: hidden;
}

.thumb-box img {
    transition: all .5s ease-in-out;
}

.thumb-box:hover img {
    transform: scale(1.1);
}

.home-call-title {
    font-size: 40px;
    color: #fff;
    letter-spacing: 8px;
}

.home-call-btn {
    display: inline-block;
    background: black;
    color: #fff;
    padding: 10px 15px;
    font-size: 18px;
    border: 0;
    -webkit-transition: background-color 0.2s linear;
    -ms-transition: background-color 0.2s linear;
    transition: background-color 0.2s linear;
}

.home-call-btn.b-t {
    border-top: 1px solid #BFBDBC !important;
}

.home-call-btn:hover {
    background: #321818 !important;
}

.home-call-btn i {
    margin-left: 10px;
}

.home-call-btn.submit-btn {
    background: #D71318;
}

.activity-feature {
    background: #EFE8E0;
    border-left: 2px solid #D71318;
    height: 100%;
    padding: 1rem;
}

.activity-feature i {
    font-size: 25px;
}

.activity-feature p:last-of-type {
    margin: 0;
}

.activity-filter {
    font-size: 18px;
}

.activity-grid img {
    width: 100%;
}

.activity-grid .title {
    font-size: 22px;
}

.activity-grid i {
    color: #D71318;
    font-size: 25px;
}

.activity-target {
    border: 1.5px solid #D71318;
    border-radius: 50px;
    padding: 2px 10px;
    display: inline-block;
}

.activity-target i {
    color: #D71318;
    margin-right: 3px;
}

.activity-more {
    padding: 5px 10px;
    color: #D71318;
    border: 1.5px solid #D71318;
    -webkit-transition: background-color 0.2s linear;
    -ms-transition: background-color 0.2s linear;
    transition: background-color 0.2s linear;
}

.activity-more:hover {
    background: #D71318;
    color: #fff;
}

.activity-desc-title {
    font-size: 22px;
}

.old-price {
    text-decoration: line-through;
    font-size: 13px;
    color: #666;
    margin-right: 5px;
}

.new-price {
    font-size: 28px;
    font-weight: 500;
    margin: 0;
}

.mw-800 {
    max-width: 800px;
    margin: auto;
}

.news-detail-title {
    font-size: 36px;
    font-weight: 500;
    line-height: 150%;
    letter-spacing: 8px;
}

.news-detail-date {
    color: #9E9E9E;
    font-size: 16px;
    margin: 0;
}

.news-divider {
    color: #D71318;
}

.contact-info i {
    color: #D71318;
    font-size: 35px;
    min-width: 50px;
    margin-top: 5px;
}

.map {
    filter: grayscale(100%) invert(92%) contrast(83%);
}

.marquee-container {
    overflow: hidden;
    position: absolute;
    left: 18px;
    height: 100%;
    top: 0;
    bottom: 0;
}

.marquee {
    top: 50%;
    font-size: 18px;
    animation: scroll-up 60s linear infinite;
    white-space: nowrap;
    -webkit-writing-mode: vertical-lr;
    writing-mode: vertical-lr;
}

.footer-contact a:hover {
    color: #D71318;
}

footer .choose-bel {
    padding: 0px 60px;
}

.footer-urls {
    list-style: none;
    padding-left: 0;
}

.footer-urls li {
    margin-bottom: 10px;
}

.footer-socials i {
    font-size: 25px;
}

.copyrights {
    margin: 0;
    padding: 20px;
}

.copyrights li {
    font-size: 13px;
}

.bel-form .form-control:focus {
    background: #F1E5DA;
}

.bel-form .form-control {
    border-radius: 0;
    line-height: 3;
    caret-color: #D71318;
    background: inherit;
    border: 0;
    box-shadow: inherit;
}

.bel-form .form-group {
    border: 1px solid #BFBDBC;
    margin-bottom: -1px;
    margin-left: -1px;
}

.bel-form .form-control::placeholder {
    color: #BFBDBC;
}

.submit-btn {
    background: #D71318;
    color: #fff !important;
}

.single-partner-item {
    border: 1px solid #BFBDBC;
    align-items: center;
    justify-content: center;
    display: flex;
    margin-left: -1px;
    margin-bottom: -1px;
    padding: 25px;
}

.single-partner-item img {
    height: auto;
    max-height: 95px;
    max-width: 170px;
    object-fit: contain;
    width: auto;
}

.detail-banner img {
    display: block;
    height: auto;
    margin: auto;
    max-height: 70vh;
    max-width: 100%;
}

.milestone .owl-stage, .testimonial .owl-stage, .activity-team .owl-stage {
    display: flex;
}

.milestone i {
    font-size: 40px;
}

.milestone .owl-item, .activity-team .owl-item {
    border: 1px solid #BFBDBC;
    border-right: 0;
    padding: 30px 20px;
}

.milestone .owl-item:last-of-type, .activity-team .owl-item:last-of-type {
    border-right: 1px solid #BFBDBC;
}

.activity-team .owl-stage-outer {
    height: auto !important;
}

.activity-team {
    margin-top: 60px;
}

.milestone .heading {
    font-size: 20px;
    font-weight: 500;
    margin: 0;
}

.milestone .owl-stage-outer {
    overflow: auto;
    padding-bottom: 10px;
}

.milestone .owl-stage-outer::-webkit-scrollbar {
    height: 5px;
}

.milestone .owl-stage-outer::-webkit-scrollbar-track {
    background: #9E9E9E;
    border-radius: 200px;
}

.milestone .owl-stage-outer::-webkit-scrollbar-thumb {
    background: #D71318;
    border-radius: 200px;
}

.cover {
    background-size: cover;
    background-position: center;
    background-color: #fff;
    width: 100%;
    height: 250px;
    margin: 20px 0px;
}

.testimonial .item {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.testimonial .item p:first-of-type {
    text-align: justify;
}

.testimonial .owl-item {
    border: 1px solid #BFBDBC;
}

.testimonial .icon {
    border-radius: 200%;
    height: 50px;
    width: 50px;
    background-size: cover;
    margin-right: 5px;
}

.other-news-box {
    border: 1px solid #BFBDBC;
    margin-bottom: -1px;
    -webkit-transition: background-color 0.2s linear;
    -ms-transition: background-color 0.2s linear;
    transition: background-color 0.2s linear;
}

.other-news-box:hover {
    background: #CCA57F;
}

.other-news-box p {
    font-size: 16px;
    font-weight: 500;
    line-height: 170%;
}

.media-title {
    font-size: 20px;
    font-weight: 500;
}

.news-title {
    font-size: 32px;
}

.news-details {
    font-size: 20px;
}

.grids.news-grids .product-title {
    margin-top: 10px;
}

.media-item {
    padding: 15px 10px;
    -webkit-transition: background-color 0.2s linear;
    -ms-transition: background-color 0.2s linear;
    transition: background-color 0.2s linear;
}

.media-item:hover {
    background: #F1E5DA;
}

.mobile-only {
    display: none;
}

@keyframes scroll-up {
    0% {
        transform: translateY(-50%);
    }
    100% {
        transform: translateY(-100%);
    }
}

@media only screen and (min-width: 992px) {
    .d-b-l {
        border-left: 1px solid #BFBDBC;
    }

    .activity-filter {
        margin-left: -12px;
        margin-right: -13px;
    }

    .ml-1 {
        margin-left: 1px;
    }

    .activity-bg .title {
        margin: 0;
    }

    .mobile-only-filter {
        pointer-events: none;
    }
}

@media only screen and (max-width: 991px) {
    .navbar-toggler {
        display: flex !important;
    }

    .home-call-title {
        font-size: 20px;
        letter-spacing: 5px;
    }

    .mobile-nav {
        display: flex;
        justify-content: space-between;
        background: #fff;
    }

    .mobile-nav img {
        height: 60px;
    }

    .mobile-nav-close {
        background: #000;
        height: 60px;
        width: 60px;
        align-items: center;
        justify-content: center;
        display: flex;
    }

    .mobile-nav-close i {
        color: #fff;
        font-size: 25px;
    }

    .mobile-menu {
        display: flex;
        flex-direction: column;
    }

    .mobile-menu-urls {
        flex: 1;
    }

    .mobile-menu-urls a {
        font-size: 18px;
        padding: 20px 15px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid #BFBDBC;
    }

    .mobile-menu-urls img {
        height: 30px;
    }

    .mobile-menu-urls a:last-of-type {
        border: 0;
    }

    .home-banner-title, .news-detail-title {
        font-size: 24px;
        line-height: 150%;
        letter-spacing: 3px;
    }

    .home-stat {
        padding: 30px 16px;
    }

    .home-stat div {
        height: 3px;
        width: 75%;
    }

    .home-stat p:first-of-type {
        font-size: 30px;
    }

    .home-stat p:last-of-type {
        font-size: 16px;
    }

    .home-title, .service-toggle {
        font-size: 25px;
        letter-spacing: 3px;
    }

    .footer-p {
        padding: 20px;
    }

    .footer-urls {
        padding-left: 0px;
        margin-right: 3rem;
    }

    .copyrights li {
        font-size: 12px;
    }

    .title {
        font-size: 25px;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    .ml-1p {
        margin-left: 0;
    }

    .p-lg-5 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .m-b-t {
        border-top: 1px solid #BFBDBC;
    }

    .m-b-b {
        border-bottom: 1px solid #BFBDBC;
    }

    .m-b-l {
        border-left: 1px solid #BFBDBC;
    }

    .m-v-n {
        border-top: 0;
        border-bottom: 0;
    }

    .m-h-n {
        border-left: 0;
        border-right: 0;
    }

    .m-p-0 {
        padding: 0;
    }

    .m-mw-auto {
        max-width: fit-content;
        width: inherit;
    }

    .main {
        margin-left: 0px;
        padding: 0;
    }

    .activity-btn {
        width: 30px !important;
        position: absolute;
        right: 0;
        bottom: 0;
    }

    .grids.news-grids {
        border: 0;
        border-bottom: 1px solid #BFBDBC;
    }

    .grids .details {
        font-size: 13px;
    }

    .grids.news-grids .details, .news-details {
        font-size: 14px;
    }

    .grids.news-grids .product-title {
        font-size: 20px;
    }

    .subtitle {
        font-size: 14px;
    }

    .mobile-filter {
        flex: 1;
    }

    .mobile-filter .accordion-button::after {
        background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23D71318'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !important;
    }

    .mobile-filter-header {
        font-size: 17px;
        padding: 15px;
        background: #fff;
    }

    .other-news-box {
        border-left: 0;
        border-right: 0;
    }

    .accordion-button:not(.collapsed) {
        color: inherit;
        background-color: #F1E5DA;
        box-shadow: none;
    }

    .accordion-button {
        border-bottom: 1px solid #BFBDBC;
    }

    .accordion-button:focus {
        border-color: #BFBDBC !important;
        box-shadow: none;
    }

    .filter-box {
        font-size: 13px;
    }

    .home-content {
        font-size: 16px;
    }

    .for-sm-title {
        font-size: 20px;
        margin: 3px 0px;
    }

    .page-link {
        font-size: 15px;
        padding: 5px 10px;
    }

    .modal-content {
        border-radius: 0;
    }

    .owl-carousel .owl-dots {
        text-align: left !important;
        margin-top: 0 !important;
    }

    .owl-carousel .owl-dots .owl-dot span {
        width: 50px;
        margin-left: 0;
        margin-right: 10px;
        margin-top: 0;
    }

    .activity-feature {
        padding: 0.8rem 1rem;
    }

    .why-box {
        border-right: 1px dashed #BFBDBC;
        padding: 10px !important;
    }

    .why-box p {
        font-size: 18px;
    }

    .activity-bg {
        padding: 36px 12px !important;
    }

    .activity-bg .title {
        font-size: 20px;
    }

    .product-title {
        font-size: 16px;
    }

    .teacher-title {
        font-size: 20px;
    }

    .home-feature-url {
        font-size: 17px;
        padding: 0px 10px;
    }

    .partner-box {
        height: 120px;
    }

    .for-banner-p {
        padding: 12px;
        padding-bottom: 3rem;
    }

    .news-title {
        font-size: 20px;
    }

    .news-content {
        padding: 5px 0px;
    }

    .news-content h1 {
        text-align: left !important;
    }

    .news-content h1 * {
        font-size: 25px !important;
    }

    .news-content a {
        font-size: 15px;
    }

    .share-title {
        font-size: 16px;
    }

    footer .choose-bel {
        padding: 30px 16px;
    }

    .media-item {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .media-item img {
        margin-left: 1.5rem;
    }

    .contact-info i {
        margin-right: 1.5rem;
    }

    .marquee-container {
        position: static;
        height: auto;
    }

    .marquee {
        top: 0;
        right: 0;
        animation: scroll-right 10s linear infinite;
        -webkit-writing-mode: inherit;
        writing-mode: inherit;
        padding: 10px 0px;
        font-size: 15px;
    }

    .accordion-milestone i {
        font-size: 24px;
        display: block;
    }

    .accordion-milestone .accordion-button, .accordion-milestone .accordion-item {
        background-color: #F6F3F0;
    }

    .modal-body .footer-socials {
        margin-bottom: 0;
    }

    .new-price {
        font-size: 26px;
    }

    .home-call-btn {
        font-size: 16px;
        padding: 8px 10px;
    }

    @keyframes scroll-right {
        0% {
            transform: translateX(-100%);
        }
        100% {
            transform: translateX(0%);
        }
    }
}

@media only screen and (max-width: 575px) {

}

.mobile-nav-close,
.navbar-toggler-icon,
.filter-modal-btn {
    background-color: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    padding: 0;
}

.share-link-btn {
    background: transparent;
    border: 0;
    padding: 0;
}

.navbar-brand img,
.mobile-nav img {
    display: block;
    height: auto;
}

.detail-banner .item img {
    aspect-ratio: 16 / 9;
    display: block;
    width: 100%;
}

.product-detail-banner .item img,
.product-detail-cover {
    aspect-ratio: 1 / 1;
    background: #f4f1ee;
    display: block;
    object-fit: contain;
    width: 100%;
}

.home-banner-image {
    padding-left: 0;
    padding-right: 0;
}

.home-banner .item > .row {
    --bs-gutter-x: 0;
    margin-left: 0;
    margin-right: 0;
}

.home-banner-visual {
    aspect-ratio: 1200 / 487;
    background: #f4f1ee;
    overflow: hidden;
    position: relative;
}

.home-banner-visual::before {
    content: "";
    display: none;
    inset: 0;
    position: absolute;
    z-index: 1;
}

.home-banner-visual picture,
.home-banner-link {
    display: block;
    height: 100%;
}

.home-banner-visual img {
    display: block;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    position: relative;
    width: 100%;
    z-index: 2;
}

.home-banner-copy {
    min-height: 230px;
}

.activity-detail-banner .item img {
    object-fit: cover;
}

.activity-detail-photo {
    display: block;
    height: auto;
    object-fit: contain;
    width: 100%;
}

.product-detail-banner .item img {
    object-fit: contain;
}

.home-banner.owl-carousel:not(.owl-loaded),
.detail-banner.owl-carousel:not(.owl-loaded) {
    display: block;
    min-height: 760px;
    overflow: hidden;
}

.home-banner.owl-carousel:not(.owl-loaded) .item:not(:first-child),
.detail-banner.owl-carousel:not(.owl-loaded) .item:not(:first-child) {
    display: none;
}

.mobile-only {
    display: none !important;
}

@media only screen and (min-width: 992px) {
    .desktop-only {
        display: block !important;
    }
}

@media only screen and (max-width: 991px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }

    .home-banner-visual {
        aspect-ratio: 16 / 9;
    }

    .home-banner-visual::before {
        background-image: var(--mobile-banner-image);
    }

    .home-banner-heading {
        order: 1;
    }

    .home-banner-image {
        order: 2;
    }

    .home-banner-heading,
    .home-banner-copy {
        padding-left: 12px;
        padding-right: 12px;
    }

    .home-banner-visual img {
        object-fit: cover;
        object-position: top center;
    }

    .home-banner-copy {
        min-height: 0;
        order: 3;
    }

    .home-banner .home-content {
        margin-top: 16px;
    }

    .home-banner-copy .text-end {
        justify-content: flex-start !important;
        margin-top: 12px;
    }

    .home-banner-title {
        margin-bottom: 12px;
    }

    .activity-detail-banner .item img {
        aspect-ratio: auto;
        height: auto;
        object-fit: contain;
    }

    .product-detail-banner .item img,
    .product-detail-cover {
        aspect-ratio: 1 / 1;
    }

    .home-video-link:nth-of-type(n+3) {
        display: none;
    }

    .home-banner.owl-carousel:not(.owl-loaded),
    .detail-banner.owl-carousel:not(.owl-loaded) {
        min-height: 0;
    }
}

/* News thumbnails keep their full, uncropped image at every screen size. */
.home-news .thumb-box {
    overflow: visible;
}

.home-news .aspect-img {
    aspect-ratio: auto;
    height: auto;
    object-fit: contain;
}

.home-news .thumb-box:hover img {
    transform: none;
}

.thumb-box,
.activity-grid .grids,
.partner-box {
    contain: layout paint;
}

.aspect-img,
.news-grids img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
    width: 100%;
}

.activity-grid .grids > img:first-child {
    aspect-ratio: 3 / 2;
    background: #f4f1ee;
    object-fit: contain;
    width: 100%;
}

.activity-card-image {
    aspect-ratio: 3 / 2;
    background: #f4f1ee;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.activity-card-image::before {
    background-image: var(--card-image);
    background-position: center;
    background-size: cover;
    content: "";
    filter: blur(14px);
    inset: -18px;
    opacity: 0.28;
    position: absolute;
    transform: scale(1.05);
}

.activity-card-image img {
    display: block;
    height: 100%;
    object-fit: contain;
    position: relative;
    width: 100%;
}

.product-card-image {
    aspect-ratio: 3 / 2;
    align-items: center;
    background: #f4f1ee;
    display: flex;
    justify-content: center;
    overflow: hidden;
    padding: 12px;
    width: 100%;
}

.product-card-image img {
    display: block;
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.product-title,
.home-news-title {
    min-height: 2.8em;
}

.home-feature-cover {
    min-height: 420px;
}

.mw-900 {
    margin-left: auto;
    margin-right: auto;
    max-width: 900px;
}

.not-found-section {
    min-height: 55vh;
}

.ai-cover-frame {
    align-items: center;
    aspect-ratio: 16 / 9;
    background: #111;
    display: flex;
    justify-content: center;
    overflow: hidden;
    width: 100%;
}

.ai-cover-frame img {
    display: block;
    height: 100%;
    object-fit: contain;
    transition: transform 0.35s ease;
    width: 100%;
}

a.ai-cover-frame:hover img {
    transform: scale(1.015);
}

.ai-feature-title {
    font-size: 36px;
    font-weight: 600;
    line-height: 1.35;
    margin: 0;
}

.ai-recent-title,
.ai-card-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
}

.ai-post-card {
    border-bottom: 1px solid #BFBDBC;
    border-right: 1px solid #BFBDBC;
    display: flex;
    flex-direction: column;
}

.ai-card-extract {
    color: #555;
    font-size: 15px;
}

.ai-promo-checklist li {
    line-height: 1.7;
    margin-bottom: 6px;
    padding-right: 10px;
}

.ai-classroom-promos .home-call-btn,
.ai-classroom-promos .activity-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    padding: 10px 15px;
    line-height: 1.4;
}

.ai-article-extract {
    font-size: 20px;
    line-height: 1.7;
    max-width: 900px;
}

.ai-article-content {
    font-size: 18px;
    line-height: 1.85;
    padding-top: 48px;
    word-break: normal;
}

.ai-article-content h2 {
    border-top: 1px solid #BFBDBC;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.4;
    margin: 52px 0 20px;
    padding-top: 32px;
}

.ai-article-content h3 {
    font-size: 21px;
    font-weight: 600;
    line-height: 1.5;
    margin: 32px 0 14px;
}

.ai-article-content p,
.ai-article-content li {
    line-height: 1.85 !important;
}

.ai-article-content a {
    color: #B90F14;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ai-article-content figure {
    margin: 36px 0;
}

.ai-article-content figure img {
    display: block;
    height: auto !important;
    margin: 0 auto;
    max-width: 100%;
}

.ai-article-content figcaption {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 10px;
    text-align: center;
}

.ai-article-content .ai-portrait-figure img {
    max-width: 560px;
}

.ai-article-content table {
    border-collapse: collapse;
    margin: 24px 0;
    width: 100%;
}

.ai-article-content th,
.ai-article-content td {
    border: 1px solid #777;
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
}

.ai-article-content th {
    background: #ECE8E4;
    font-weight: 600;
}

.ai-callout {
    background: #E8F4F8;
    border-left: 4px solid #2185A8;
    display: block;
    margin: 24px 0;
    padding: 18px 20px;
}

.ai-callout-warning {
    background: #FFF4D6;
    border-left-color: #D18A00;
}

.ai-prompt {
    background: #16191D;
    color: #fff;
    margin: 20px 0 28px;
    overflow-x: auto;
    padding: 24px 70px 24px 24px;
    position: relative;
    white-space: pre-wrap;
}

.ai-prompt code {
    color: inherit;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.75;
}

.ai-prompt-copy {
    background: #D71318;
    border: 0;
    color: #fff;
    font-size: 14px;
    padding: 8px 10px;
    position: absolute;
    right: 10px;
    top: 10px;
}

.ai-prompt-copy:hover,
.ai-prompt-copy:focus-visible {
    background: #fff;
    color: #111;
}

.ai-article-nav a {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

@media only screen and (min-width: 992px) and (max-width: 1399px) {
    .navbar-nav {
        gap: 0;
    }

    .navbar-nav .nav-link {
        font-size: 15px;
        padding-left: 8px;
        padding-right: 8px;
    }

    .navbar-right div {
        padding-left: 12px;
        padding-right: 12px;
    }
}

@media only screen and (max-width: 991px) {
    .ai-feature-title {
        font-size: 26px;
    }

    .ai-classroom-feature > div,
    .home-ai-classroom > div {
        border-right: 0;
    }

    .ai-article-content {
        font-size: 16px;
        padding-top: 30px;
    }

    .ai-article-content h2 {
        font-size: 23px;
        margin-top: 38px;
        padding-top: 24px;
    }

    .ai-article-content h3 {
        font-size: 19px;
    }

    .ai-post-card {
        border-right: 0;
    }
}

@media only screen and (max-width: 767px) {
    .home-ai-recent article:nth-child(n+2) {
        display: none;
    }

    .ai-article-extract {
        font-size: 16px;
    }

    .ai-article-content .ai-portrait-figure img {
        max-width: 100%;
    }

    .ai-prompt {
        padding: 58px 16px 18px;
    }

    .ai-article-nav > div + div {
        border-top: 1px solid #BFBDBC;
    }
}

/* Mobile home sections (AI classroom, news, video). Rendered only below 992px via d-lg-none. */
.mhome-head {
    align-items: flex-end;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 16px;
}

.mhome-head-link,
.mhome-head-link:hover {
    color: #D71318;
    font-size: 15px;
    font-weight: 500;
    padding-bottom: 6px;
    white-space: nowrap;
}

.mhome-panel {
    background: #fff;
    border: 1px solid #E5DED6;
    border-radius: 14px;
    color: #212529;
    display: block;
    overflow: hidden;
}

.mhome-panel-body {
    display: block;
    padding: 12px 14px 14px;
}

.mhome-cover {
    aspect-ratio: 16 / 9;
    background: #111;
    display: block;
    overflow: hidden;
}

.mhome-cover img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.mhome-meta {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
    margin-bottom: 8px;
}

.mhome-badge {
    background: #EFE8E0;
    border-radius: 50px;
    color: #5f554c;
    display: inline-block;
    font-size: 13px;
    padding: 3px 12px;
    white-space: nowrap;
}

.mhome-badge-new {
    background: #D71318;
    color: #fff;
}

.mhome-date {
    color: #8a8a8a;
    font-size: 14px;
}

.mhome-clamp-2 {
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.mhome-scroller {
    display: flex;
    gap: 12px;
    margin: 0 -16px;
    overflow-x: auto;
    padding: 0 16px 4px;
    scroll-padding: 0 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.mhome-scroller::-webkit-scrollbar {
    display: none;
}

.mhome-card {
    flex: 0 0 78%;
    scroll-snap-align: start;
}

.mhome-card-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
}

.mhome-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 16px 0 20px;
}

.mhome-dots button {
    background: #cfc8c0;
    border: 0;
    border-radius: 50%;
    height: 8px;
    padding: 0;
    width: 8px;
}

.mhome-dots button.active {
    background: #D71318;
}

.mhome-news-item {
    align-items: center;
    color: #212529;
    display: flex;
    gap: 12px;
    padding: 12px 14px;
}

.mhome-news-item + .mhome-news-item {
    border-top: 1px solid #EFE8E0;
}

.mhome-news-thumb {
    background: #eee;
    border-radius: 6px;
    flex: 0 0 80px;
    height: 60px;
    overflow: hidden;
}

.mhome-news-thumb img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.mhome-news-body {
    flex: 1;
    min-width: 0;
}

.mhome-news-body .mhome-meta {
    flex-wrap: nowrap;
    margin-bottom: 4px;
}

.mhome-news-title {
    display: block;
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mhome-news-item > i {
    color: #999;
    font-size: 20px;
}

.mhome-video-card,
.mhome-video-card:hover {
    color: #212529;
    display: block;
    flex: 0 0 84%;
    scroll-snap-align: start;
}

.mhome-video-thumb {
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 12px;
    display: block;
    overflow: hidden;
    position: relative;
}

.mhome-video-thumb img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.mhome-video-play {
    align-items: center;
    background: #D71318;
    border-radius: 50%;
    color: #fff;
    display: flex;
    font-size: 18px;
    height: 52px;
    justify-content: center;
    left: 50%;
    padding-left: 3px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
}

.mhome-video-title {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    margin-top: 10px;
}

.mhome-chat {
    align-items: center;
    background: #25D366;
    border-radius: 50%;
    bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    color: #fff;
    display: flex;
    font-size: 30px;
    height: 56px;
    justify-content: center;
    position: fixed;
    right: 16px;
    width: 56px;
    z-index: 1030;
}

.mhome-chat:hover {
    color: #fff;
}

/* Phone layout for 機構合作/學校活動 (side by side) and 熱門活動 (swipe cards). */
.mhome-scroller-tight {
    margin: 0 -12px;
    padding: 0 12px 4px;
    scroll-padding: 0 12px;
}

@media only screen and (max-width: 767px) {
    .home-duo > div {
        padding-bottom: 20px;
        padding-top: 20px;
    }

    .home-duo .subtitle {
        font-size: 12px;
        line-height: 1.4;
        min-height: 2.8em;
    }

    .home-duo .title {
        font-size: 22px;
        letter-spacing: 2px;
    }

    .home-duo .aspect-img {
        aspect-ratio: 1 / 1;
        height: auto;
        object-fit: cover;
        width: 100%;
    }

    .home-duo-text {
        -webkit-box-orient: vertical;
        display: -webkit-box;
        font-size: 14px;
        -webkit-line-clamp: 4;
        overflow: hidden;
    }

    .home-duo .more {
        font-size: 15px;
    }

}
