

.jarallax-computer {
    background-image: url('../images/Industries/Industries-1.jpg');
    background-position: center center;
}

.jarallax-mobile {
    background-image: url('../images/Industries/Industries-m-1.jpg');
    background-position: center center;
}


/* ------------------------- Industrial advantages ----------------------- */

.industrial1 {
    background-image: url(../images/Industries/industrial_img_01.jpg);
}

.industrial2 {
    background-image: url(../images/Industries/industrial_img_02.jpg);
}

.industrial3 {
    background-image: url(../images/Industries/industrial_img_03.jpg);
}

.industrial4 {
    background-image: url(../images/Industries/industrial_img_04.jpg);
}

.industrial5 {
    background-image: url(../images/Industries/industrial_img_05.jpg);
}



.industrial-accordion-images {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    height: 350px;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.tusa-accordion-item {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0;
    transition: all 0.6s ease-in-out;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    min-width: 60px;
    border: none;
}
    /* 展開時放大比例 */
    .tusa-accordion-item.expanded {
        flex-grow: 3;
    }

    .tusa-accordion-item:first-of-type {
        border-top-left-radius: 0rem;
        border-top-right-radius: 0rem;
    }

    .tusa-accordion-item:hover .accordion-overlay-ash,
    .tusa-accordion-item.expanded .accordion-overlay-ash {
        opacity: 0;
    }

.industrial-image-wrapper {
    height: 100%;
    position: relative;
}

    .industrial-image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: 0.5s ease;
    }

.accordion-overlay-ash {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
    transition: opacity 0.4s ease;
}

.accordion-vertical-text {
    writing-mode: vertical-rl;
    position: absolute;
    left: 20px;
    top: 30px;
    color: #fff;
    font-weight: bold;
    letter-spacing: 2px;
    z-index: 2;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.tusa-accordion-item:hover .accordion-vertical-text,
.tusa-accordion-item.expanded .accordion-vertical-text {
    color: #1E53A4;
}
/* 對應內容區塊 */
.accordion-correspond-wrapper {
    position: relative;
    overflow: hidden;
}
/* 右下背景圖 */
.circle-bg-right {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 400px;
    max-width: 50vw;
    height: auto;
    z-index: 0;
    pointer-events: none;
}
/* 左上背景圖 */
.circle-bg-left {
    position: absolute;
    top: 0;
    left: -80px;
    width: 300px;
    height: auto;
    z-index: 0;
    pointer-events: none;
}

.industrial-accordion-content {
    position: relative;
    z-index: 1;
}

.industrial-accordion-content {
    display: none;
}

    .industrial-accordion-content.active {
        display: block;
    }

.picture-img-line::before {
    content: '';
    width: 1px;
    height: 50px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(-45%);
    background: #F3ABC5;
}

.industrial-section-img {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 313px;
}

.blue-title-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.yellow-highlight-title {
    position: relative;
    display: inline;
    padding-left: 15px;
    font-weight: bold;
    color: #1E53A4;
    background-repeat: repeat;
}

    .yellow-highlight-title mark {
        background: linear-gradient(to top, #F8EC8C 40%, transparent 40%);
        box-decoration-break: clone;
        -webkit-box-decoration-break: clone;
        line-height: 1.6;
        padding: 0 0.1em;
        color: inherit;
        font-weight: inherit;
        background-clip: padding-box;
    }
    /* 左側直條漸層 */
    .yellow-highlight-title::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 4px;
        height: 100%;
        background: linear-gradient(to bottom, #CF1F51 26%, #65489A 68%);
    }

.industrial-description {
    line-height: 1.9rem;
}

.industry-accordion-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    color: #1E53A4; /* 設定箭頭顏色 */
    transition: background-color 0.3s ease;
}

.industry-accordion-prev {
    left: 0;
}

.industry-accordion-next {
    right: 0;
}

.industry-accordion-nav:hover {
    background-color: rgba(255, 255, 255, 1);
    color: #3E3A39;
}

/* ---------------------------- Sharing results -------------------------- */

.share-card-custom {
    background: #fff;
    border: 1px solid #52A8FF;
    border-radius: 0.8rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    -webkit-transition: all 0.3s ease-in-out;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
    width: 100%;
}

    .share-card-custom:hover, .share-card-custom:focus {
        transform: translateY(-6px);
        box-shadow: 0 0 0.5rem rgba(0,0,0,0.1);
    }

.share-image-area {
    padding: 0rem 0rem 1.5rem 1.5rem;
    position: relative;
}
/* 背景漸層底色錯開偏移 */
.gradient-bg-shifted {
    position: absolute;
    inset: 0;
    transform: translate(-6%, 6%);
    border-radius: 0.8rem;
    background: linear-gradient( 80deg, rgba(78, 190, 217, 0.2) 7%, rgba(243, 171, 197, 0.2) 50%, rgba(111, 197, 198, 0.2) 96%);
    z-index: 0;
    margin: 1.5rem 0rem 1.3rem 1.7rem;
}

.share-img-wrapper {
    position: relative;
    aspect-ratio: 4 / 3;
    z-index: 1;
    border-radius: 0.8rem;
    overflow: hidden;
    width: 100%;
}

    .share-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 0.8rem;
    }

.share-gradients-section-line {
    position: relative;
    padding-left: 1rem;
    border-left: 4px solid transparent;
    background: linear-gradient(to bottom, #CF1F51 26%, #65489A 68%) left top / 4px 100% no-repeat;
    color: #1E53A4;
}

.share-card-date {
    color: #CF1F51;
    font-size: 0.85rem;
}

.sharetext-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #3E3A39;
    margin: 1.5rem 0;
}
/* 按鈕 */
.share-btn-custom {
    background-color: #1E53A4;
    border-color: #1E53A4;
    padding: 10px 40px;
    color: #fff !important;
    border-radius: 50rem !important;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-size: 260% 100%;
    border: 0;
}

    .share-btn-custom:focus, .share-btn-custom:hover {
        color: #fff;
        box-shadow: 0 1rem 2.5rem rgba(27,22,66,.1),0 .5rem 1rem -.75rem rgba(27,22,66,.1) !important;
        transform: translate3d(0,-3px,0);
    }
/* Pagination start area */
.pagination-container .page-link {
    color: #3E3A39;
    background-color: #fff;
    border: 1px solid #D9D9D9;
    border-radius: 0.375rem;
    width: 44px;
    height: 44px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    transition: all 0.3s ease-in-out;
}

    .pagination-container .page-link:hover {
        background-color: #1E53A4;
        color: #fff;
    }

.pagination-container .page-item.active .page-link {
    background-color: #1E53A4;
    color: #fff;
    border-color: #1E53A4;
}

.pagination-container .page-item.disabled .page-link {
    color: #ccc;
    pointer-events: none;
    background-color: #fff;
    border-color: #D9D9D9;
}

.pagination-container .page-link i {
    font-size: 1rem;
}

.page-item {
    margin: 4px;
}

/* ------------------------------ Event details ---------------------------- */

.event-search-box {
    border: 4px solid transparent;
    border-radius: 0.5rem;
    background-image: linear-gradient(#fff, #fff), linear-gradient(to bottom, #CF1F51, #65489A);
    background-origin: padding-box, border-box;
    background-clip: padding-box, border-box;
    padding: 1.5rem !important;
}

.event-closure-btn {
    background: linear-gradient(to bottom, #CF1F51 26%, #65489A 68%);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.8rem !important;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
}

.event-input-bg {
    background-color: #fff !important;
}

.event-quantity {
    color: #5A5A5A;
}

.deadline {
    background-color: #5A5A5A;
    color: #fff !important;
}

.event_circle {
    margin-left: -6rem !important;
    margin-top: -8rem !important;
    transform: translate(-50%, -50%) !important;
    left: 100% !important;
    top: 100% !important;
    z-index: -1;
}

.event_circle-img {
    width: 220px;
    height: 272px;
}

/* --------------------------- Event content page ------------------------- */

.event-content-area {
    background-color: #fff !important;
    border-radius: 0.8rem;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
}

.event-date {
    background-color: #1E53A4;
    color: #fff !important;
    font-weight: 400;
    font-size: 0.85rem;
}

.event-title {
    color: #1E53A4;
    background: linear-gradient(to bottom, #CF1F51 26%, #65489A 68%) left top / 4px 100% no-repeat;
    padding-left: 20px;
}

.event-info-box {
    border-width: 0.25rem;
    border-style: solid;
    border-color: transparent;
    border-radius: 0.5rem;
    background-image: linear-gradient(white, white), linear-gradient(to bottom, #CF1F51, #65489A);
    background-clip: padding-box, border-box;
    background-origin: padding-box, border-box;
    padding: 2rem !important
}

.event-text-info p {
    color: #3E3A39;
}

.event-info-label {
    background: linear-gradient(to bottom, #CF1F51 26%, #65489A 68%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-size: 1.1rem;
}

.event-divider {
    border-top: 1px solid #D9D9D9;
    margin: 1.5rem 0;
}

.event-describe {
    line-height: 2;
    color: #3E3A39;
}

.register-btn {
    background-color: #CF1F51;
    color: #fff !important;
}



/* ------------------------ Mobile and Tablet size ----------------------- */

/* 手機樣式 */
@media (min-width: 768px) {
}

@media (max-width: 767px) {
    .parallax-banner {
        height: 50vh;
    }

    .jarallax-img {
        background-position: center center !important;
    }

    .origin-image-wrapper {
        margin-top: 2rem;
    }

    .tusa-card {
        margin-bottom: 2rem;
    }

    .share-card-custom {
        padding: 1rem;
    }

    .event-info-box {
        padding: 1rem !important;
    }

    .information-area {
        flex-direction: inherit;
    }

    .divider {
        border-right: none;
        border-left: none;
    }

    .industrial-accordion-images {
        flex-direction: column;
        height: auto;
    }

    .tusa-accordion-item {
        flex: none;
        width: 100%;
        min-width: auto;
        height: 90px;
    }

        .tusa-accordion-item.expanded {
            height: 200px;
        }

    .accordion-vertical-text {
        writing-mode: horizontal-tb !important;
        transform: none !important;
        top: 30px;
        left: 30px;
        white-space: nowrap;
        font-size: 1rem;
    }

    .circle-bg-right {
        width: 300px;
    }

    .circle-bg-left {
        top: 20px;
        left: -40px;
        width: 200px;
    }

    .industrial-section-img {
        height: 200px;
    }
}

@media screen and (min-width: 992px) {
}

@media screen and (max-width: 991px) {
    .divider {
        border-left: none;
    }
}

/* 平板直立樣式 */
@media screen and (max-width: 1199px) {
    .map-mobile {
        display: block !important;
    }

    .map-desktop {
        display: none !important;
    }
}

/* 平板橫向、筆電樣式 */
@media screen and (min-width: 1200px) {
    .map-mobile {
        display: none !important;
    }

    .information-box {
        font-size: 0.9rem;
    }
}
