/* JACKSOFT shared modern navigation + home hero */
body {
    padding-top: 0px;
}
.js-site-menu,
.js-site-menu *,
.js-site-menu-mobile,
.js-site-menu-mobile *,
.js-home-hero,
.js-home-hero * {
    box-sizing: border-box;
}

textarea#url {
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

.js-site-menu {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    font-family: "Microsoft JhengHei", Arial, sans-serif;
    background: #fff;
}

.js-site-menu a {
    text-decoration: none;
}

.js-site-menu__top {
    height: 44px;
    background: #006b3f;
    color: #fff;
}

.js-site-menu__top-inner {
    width: min(1840px, 100%);
    height: 44px;
    margin: 0 auto;
    padding: 0 34px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    font-size: 14px;
}

.js-site-menu__top-link {
    color: #fff !important;
    line-height: 1;
    white-space: nowrap;
}

.js-site-menu__top-separator {
    opacity: 0.85;
}

.js-site-menu__language {
    height: 26px;
    min-width: 74px;
    padding: 1px 8px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #111;
}

.js-site-menu__main {
    height: 75px;
    background: #fff;
}

.js-site-menu__main-inner {
    width: min(1840px, 100%);
    height: 75px;
    margin: 0 auto;
    padding: 0 clamp(14px, 1.8vw, 34px);
    display: grid;
    grid-template-columns: clamp(150px, 12vw, 212px) minmax(0, 1fr) clamp(150px, 12vw, 226px);
    column-gap: clamp(14px, 1.8vw, 32px);
    align-items: center;
}

.js-site-menu__logo {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    min-width: 0;
}

.js-site-menu__logo img {
    display: block;
    width: clamp(150px, 12vw, 212px);
    max-height: 56px;
    object-fit: contain;
}

.js-site-menu__nav {
    min-width: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: clamp(0px, 0.12vw, 2px);
    height: 75px;
    padding: 0;
}

.js-site-menu__item {
    position: relative;
    display: flex;
    align-items: center;
}

.js-site-menu__link {
    display: inline-flex;
    align-items: center;
    height: 75px;
    padding: 0 clamp(4px, 0.52vw, 10px);
    border-bottom: 3px solid transparent;
    color: #555 !important;
    font-size: clamp(14px, 0.94vw, 18px);
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    transition:
        color 0.18s ease,
        border-color 0.18s ease,
        background-color 0.18s ease;
}

.js-site-menu__link:hover,
.js-site-menu__item:hover .js-site-menu__link {
    color: #006b3f !important;
    border-bottom-color: #ffc72c;
    background: rgba(0, 107, 63, 0.055);
}

.js-site-menu__link--plain::after {
    display: none;
}

.js-site-menu__dropdown {
    min-width: 250px;
    max-width: 320px;
    padding: 12px 0;
    margin: 0;
    border: 0;
    border-radius: 0 0 8px 8px;
    background: rgba(17, 17, 17, 0.96);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

.js-site-menu__item:hover > .dropdown-menu {
    display: block;
}

.js-site-menu__section {
    display: block;
    padding: 7px 18px 5px;
    color: #67d88f;
    font-size: 16px;
    font-weight: 700;
}

.js-site-menu__dropdown .dropdown-item {
    padding: 8px 18px;
    color: #fff !important;
    font-size: 15px;
    line-height: 1.35;
    white-space: normal;
}

.js-site-menu__dropdown .dropdown-item:hover {
    color: #ffc72c !important;
    background: rgba(255, 255, 255, 0.08);
}

.js-site-menu__subscribe {
    display: inline-flex;
    align-items: center;
    justify-self: end;
    min-width: 0;
}

.js-site-menu__subscribe img {
    display: block;
    width: clamp(150px, 12vw, 226px);
    max-height: 52px;
    object-fit: contain;
}

.js-site-menu-mobile {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    display: none;
    background: #006b3f;
}

.js-site-menu-mobile__bar {
    height: 56px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.js-site-menu-mobile__toggle {
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 6px;
    background: transparent;
    color: #fff;
    font-size: 22px;
    line-height: 34px;
}

.js-site-menu-mobile__logo img {
    width: 150px;
    max-height: 42px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.js-site-menu-mobile__links {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.js-site-menu-mobile__links a,
.js-site-menu-mobile__links select {
    color: #fff;
    font-size: 14px;
}

.js-site-menu-mobile__links select {
    max-width: 76px;
    height: 28px;
    border: 0;
    border-radius: 999px;
    color: #111;
}

.js-site-menu-mobile__panel {
    max-height: calc(100vh - 56px);
    overflow-y: auto;
    background: #111;
}

.js-site-menu-mobile__panel .nav-link {
    padding: 11px 18px !important;
    color: #fff !important;
    font-size: 17px;
    font-weight: 700;
}

.js-site-menu-mobile__panel .dropdown-menu {
    position: static !important;
    float: none;
    width: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: #1b1b1b;
    transform: none !important;
}

.js-site-menu-mobile__panel .dropdown-item {
    color: #fff !important;
    white-space: normal;
}

.js-home-hero {
    background: linear-gradient(120deg, #035f34 0%, #159b63 48%, #5ad7aa 100%);
    color: #fff;
    overflow: hidden;
}

.js-home-hero__inner {
    width: min(1750px, 100%);
    min-height: 432px;
    margin: 0 auto;
    padding: clamp(44px, 4vw, 64px) clamp(20px, 4.4vw, 84px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 650px);
    gap: clamp(30px, 4.8vw, 72px);
    align-items: center;
    justify-content: space-between;
}

.js-home-hero__copy {
    justify-self: start;
    width: 100%;
    max-width: 690px;
    display: grid;
    grid-template-columns: clamp(130px, 11vw, 180px) minmax(0, 1fr);
    column-gap: clamp(22px, 2.2vw, 34px);
    align-items: start;
}

.js-home-hero__brand {
    grid-row: 1 / span 3;
    align-self: start;
}

.js-home-hero__logo {
    width: clamp(130px, 11vw, 180px);
    max-width: 100%;
    filter: drop-shadow(0 8px 18px rgba(0, 54, 30, 0.35));
}

.js-home-hero__title {
    margin: 0;
    font-family: "Microsoft JhengHei", Arial, sans-serif;
    font-weight: 800;
    line-height: 1.28;
    letter-spacing: 0;
}

.js-home-hero__title span {
    display: block;
    font-size: clamp(3.5rem, 2.7vw, 3.15rem);
    white-space: nowrap;
}

.js-home-hero__description {
    grid-column: 2;
    max-width: 560px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.94);
    font-size: 1.65rem;
    line-height: 1.8;
    letter-spacing: 0;
}

.js-home-hero__actions {
    grid-column: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.js-home-hero--no-media .js-home-hero__inner {
    grid-template-columns: 1fr;
    justify-items: center;
}

.js-home-hero--no-media .js-home-hero__copy {
    width: min(780px, 100%);
}

.js-home-hero__btn,
.js-home-hero__btn:hover,
.js-home-hero__btn:visited {
    min-height: 46px;
    padding: 10px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(0, 54, 30, 0.18);
}

.js-home-hero__btn--primary {
    background: #ffc72c;
    color: #245317 !important;
}

.js-home-hero__btn--primary:hover {
    background: #ffd85d;
}

.js-home-hero__btn--secondary {
    background: #fff;
    color: #163f2c !important;
}

.js-home-hero__btn--secondary:hover {
    background: #eef7f3;
}

.js-home-hero__media {
    width: 100%;
    max-width: 650px;
    justify-self: end;
    min-width: 0;
}

.js-home-hero__media .carousel {
    overflow: hidden;
    border-radius: 8px;
    background: #0d5f45;
    box-shadow: 0 18px 38px rgba(0, 42, 23, 0.28);
}

.js-home-hero__media .carousel-inner,
.js-home-hero__media .carousel-item {
    aspect-ratio: 16 / 9;
}

.js-home-hero__slide-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.js-home-hero__media .carousel-indicators {
    margin-bottom: 10px;
}

.js-home-hero__media .carousel-control-prev,
.js-home-hero__media .carousel-control-next {
    width: 9%;
}

@media screen and (max-width: 1400px) {
    .js-site-menu__top-inner {
        padding-left: 18px;
        padding-right: 18px;
        gap: 6px;
        font-size: 13px;
    }

    .js-site-menu__main-inner {
        grid-template-columns: 166px minmax(0, 1fr) 176px;
        column-gap: 14px;
        padding-left: 18px;
        padding-right: 18px;
    }

    .js-site-menu__logo img {
        width: 166px;
    }

    .js-site-menu__subscribe img {
        width: 176px;
    }

    .js-site-menu__link {
        padding: 0 5px;
        font-size: 16px;
    }

    .js-home-hero__inner {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 560px);
        gap: 42px;
    }

    .js-home-hero__media {
        max-width: 560px;
    }
}

@media screen and (max-width: 1180px) {
    .js-site-menu__top-inner {
        font-size: 12px;
    }

    .js-site-menu__main-inner {
        grid-template-columns: 138px minmax(0, 1fr) 142px;
        column-gap: 8px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .js-site-menu__logo img {
        width: 138px;
    }

    .js-site-menu__subscribe img {
        width: 142px;
    }

    .js-site-menu__link {
        padding: 0 3px;
        font-size: 14px;
    }

    .js-site-menu__dropdown {
        min-width: 220px;
    }

    .js-home-hero__inner {
        min-height: 390px;
        grid-template-columns: minmax(0, 1fr) minmax(300px, 470px);
        gap: 30px;
        padding-left: 28px;
        padding-right: 28px;
    }

    .js-home-hero__copy {
        grid-template-columns: 118px minmax(0, 1fr);
        column-gap: 20px;
    }

    .js-home-hero__logo {
        width: 118px;
    }

    .js-home-hero__title span {
        font-size: 2.2rem;
        white-space: normal;
    }

    .js-home-hero__description {
        max-width: 100%;
        font-size: 1.14rem;
        line-height: 1.65;
    }

    .js-home-hero__media {
        max-width: 470px;
    }
}

@media screen and (max-width: 900px) {
    .js-site-menu {
        display: none;
    }

    .js-site-menu-mobile {
        display: block;
    }

    .js-home-hero__inner {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 42px 5%;
    }

    .js-home-hero__media {
        max-width: 650px;
        margin: 0 auto;
        justify-self: center;
    }

    .js-home-hero__title span {
        white-space: normal;
    }
}

@media screen and (max-width: 767px) {
    .js-site-menu-mobile {
        background: white;
    }
    .js-site-menu-mobile__toggle {
        color: black;
        border: 1px solid rgb(0 0 0 / 65%);
    }
    .js-site-menu-mobile__links a,
    .js-site-menu-mobile__links select {
        color: black;
    }
    .js-site-menu-mobile__logo img {
        filter: unset;
    }
    .js-site-menu-mobile__links select {
        border: 1px solid black;
    }
    .js-home-hero {
        height: calc(100dvh - 56px);
        display: flex;
        padding: 5vh 0;
    }
    .js-home-hero__title span:first-child {
        /* color: #1f2a44; */
    }
    /* 第二個 span */
    .js-home-hero__title span:nth-child(2) {
        /* color: #087a5b; */
    }

    .js-home-hero__inner {
        min-height: 0;
        padding: 32px 16px 32px;
    }

    .js-home-hero__copy {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 85px minmax(0, 250px) minmax(0, 1fr);
        grid-template-areas:
            ". brand title ."
            "desc  desc  desc  desc"
            "actions actions actions actions";
        column-gap: 16px;
        row-gap: 16px;
    }

    .js-home-hero__brand {
        grid-area: brand;
        align-self: center;
    }

    .js-home-hero__logo {
        width: 92px;
    }

    .js-home-hero__title {
        grid-area: title;
        align-self: center;
    }

    .js-home-hero__title span {
        font-size: 2.2rem;
    }

    .js-home-hero__description {
        grid-area: desc;
        max-width: min(66.6%, 260px);
        margin: 0 auto;
        text-align: center;
        font-size: 1.08rem;
        line-height: 1.7;
        /* color: #1f2a44; */
    }

    .js-home-hero__actions {
        grid-area: actions;
        justify-content: center;
        margin-top: 4px;
    }

    .js-home-hero__btn,
    .js-home-hero__btn:hover,
    .js-home-hero__btn:visited {
        width: min(100%, 260px);
        font-size: 1rem;
        border: 1px solid #087a5b;
    }

    .js-home-hero__btn--primary,
    .js-home-hero__btn--primary:visited {
        background: linear-gradient(135deg, #f1d68d, #ffc72c);
    }

    .js-home-hero__btn--primary:hover {
        background: #f6bc1d;
    }

    .js-home-hero__btn--secondary,
    .js-home-hero__btn--secondary:visited {
        background: #fff;
        color: #087a5b !important;
    }

    .js-home-hero__btn--secondary:hover {
        background: #eef8f5;
    }
}

@media screen and (max-width: 520px) {
    .js-site-menu-mobile__bar {
        padding: 0 10px;
        gap: 8px;
    }

    .js-site-menu-mobile__logo img {
        width: 118px;
    }

    .js-site-menu-mobile__links {
        gap: 6px;
    }

    .js-site-menu-mobile__links a:first-child {
        display: none;
    }

    .js-site-menu-mobile__links a,
    .js-site-menu-mobile__links select {
        font-size: 12px;
    }

    .js-site-menu-mobile__links select {
        max-width: 58px;
    }
}

@media screen and (max-width: 380px) {
    .js-site-menu-mobile__logo img {
        width: 104px;
    }

    .js-site-menu-mobile__links a:nth-of-type(2) {
        display: none;
    }
    .js-home-hero__title span {
        font-size: 1.8rem;
    }
}
