.jarallax-computer {
    background-image: url('../images/Achievements/sharing_banner.jpg') !important;
    background-position: center center;
}

.jarallax-mobile {
    background-image: url('../images/Achievements/sharing_banner_mobile.jpg') !important;
    background-position: center center;
}

.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;
}
