/* ===== News Plugin ===== */

/* ---------- Banner ---------- */
.products .news-banner,.products .news-content {
max-width:1400px;
margin-left: auto;
margin-right: auto;
}
.news-banner {
    position: relative;
    width: 100%;
    padding-top:20px;
}
.news-banner img {
    width: 100%;
    display: inherit;
    border-radius: 15px;
    margin-bottom: 20px;
}
.news-banner .banner_block {
    position: absolute;
    top: calc(50% - 75px);
    left: 5%;
    width: 350px;
    height: 120px;
    text-align: center;
    vertical-align: middle;
}
.en .news-banner .banner_block {
    top: calc(50% - 95px);
}
.news-banner .banner_title {
    font-size: 48px;
    letter-spacing: 5px;
    font-weight: bold;
    text-align: left;
}
.news-banner .banner_description {
    font-size: 14px;
    text-align: left;
    font-weight: 600;
}

/* ---------- Content area ---------- */
.news-content {
    position: relative;
    width: 100%;
    min-height: 1px;
    padding: 30px;
    background: #fff;
    border-radius: 15px;
}
.news-list-content {
    padding: 30px 0;
}
.news-list-content .intro {
    padding-bottom: 30px;
}
.news-list-content .news-tag {
    margin-top: -15px;
    padding-bottom: 20px;
}
.news-list-content .news-tag a {
    border: 1px solid #999;
    padding: 5px 15px;
    font-size: 15px;
    margin-left: 10px;
    border-radius: 15px;
    cursor: pointer;
}
.news-list-content .news-tag i {
    color: #f60;
    border-radius: 50%;
    margin-left: 4px;
    font-size: 16px;
}
.news-list-content .news-tag a:hover {
    color: #f60;
    border: 1px solid #f60;
}
.news-list-content .content-in {
    display: flex;
    flex-wrap: wrap;
    margin-right: -30px;
}

/* ---------- List item ---------- */
.news-list-content .news-list-item {
    display: inline-block;
    width: 33.33%;
    padding-right: 30px;
    padding-bottom: 25px;
}
.news-list-item .item-in {
    display: table-cell;
    background: #fff;
    box-shadow: 1px 0px 6px #bbb;
}
.news-list-item:hover .item-in {
    box-shadow: 1px 0px 8px #666;
}
.news-list-item .item_bottom_block {
    text-align: right;
}
.news-list-item .item_bottom_block a {
    color: #f90;
    font-size: 14px;
    font-weight: bold;
}
.news-list-item .item_bottom_block a:hover {
    color: #f60;
}
.news-list-content .news-list-item img {
    width: 100%;
}
.news-list-content .item-content {
    padding: 10px;
}
.news-list-content .item_title {
    font-size: 18px;
    height: 42px;
    overflow: hidden;
    word-break: break-word;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.news-list-content .item_title a {
    font-weight: 600 !important;
}
.news-list-content .item-content .tag {
    border: 1px solid #999;
    padding: 3px 10px;
    font-size: 13px;
    margin-left: 10px;
    border-radius: 15px;
}
.news-list-content .item_intro {
    font-size: 14px;
    line-height: 1.6;
    color: rgb(175, 175, 175);
    font-weight: 400;
    max-height: 40px;
    min-height: 40px;
    overflow: hidden;
    margin-top: 20px;
    word-break: break-word;
    margin-bottom: 20px;
}
.item-in-image {
    display: table-cell;
    vertical-align: top;
}

/* ---------- Detail page ---------- */
.news-content #main {
    padding: 30px 0px 60px;
}
.news-content .entry-content img {
    max-width: 100%;
    border-radius: 15px;
    margin: 30px auto 0;
    display: block;
}
.news-content .entry-content .project {
    margin: 10px 0;
    text-align: center;
}
.news-content .entry-content .project a {
    border: 1px solid #f90;
    padding: 5px 30px;
    display: inline-block;
    border-radius: 5px;
    color: #f90;
    font-size: 14px;
    font-weight: bold;
}
.news-content .entry-content .project a:hover {
    background-color: #f90;
    color: #fff;
}

/* ---------- Navigation (prev/next) ---------- */
.post-navigation .nav-links a {
    color: #333;
}
.post-navigation .nav-links a:hover {
    color: #f60;
}

/* ---------- Pagination ---------- */
.news-list-content .pages {
    display: block;
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 20px 0;
}
.news-list-content .pages li {
    display: inline-block;
}
.news-list-content .pages li a {
    padding: 0px 30px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 50px;
    color: #333;
}
.news-list-content .pages li a:hover {
    padding: 0px 30px;
    font-size: 14px;
    border: 1px solid #ff6600;
    border-radius: 50px;
    background: #ff6600;
    color: #fff !important;
    text-decoration: none;
}
.news-list-content .pages li a:hover ._1jxBs {
    color: #fff;
}
.news-list-content .pages ._1jxBs {
    display: flex;
    align-items: center;
    gap: 5px;
}
.news-list-content .pages ._1jxBs svg {
    fill: currentColor;
}

/* ---------- 禮品小百科 ---------- */
.news-tips {
    margin-top: 20px;
    padding-top: 30px;
    margin-left: -30px;
    margin-right: -30px;
    padding-left: 20px;
    padding-right: 20px;
    border-top: 1px solid #eee;
    background: #eee;
}
.news-tips-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}
.news-tips-list {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
}
.news-tips-item {
    width: 25%;
    padding-right: 15px;
    margin-bottom: 20px;
}
.news-tips-item a {
    display: block;
    background: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    color: #333;
    text-decoration: none;
    transition: box-shadow 0.3s;
}
.news-tips-item a:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    color: #333;
    text-decoration: none;
}
.tips-item-image {
    width: 100%;
    height: 140px;
    overflow: hidden;
}
.tips-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tips-item-content {
    padding: 10px;
}
.tips-item-name {
    font-size: 15px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 5px;
}
.tips-item-intro {
    font-size: 13px;
    color: #999;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-height: 39px;
}
@media (max-width: 991px) {
    .news-tips-item {
        width: 50%;
    }
}
@media (max-width: 450px) {
    .news-tips-item {
        width: 100%;
    }
}

/* ---------- Responsive ---------- */
@media screen and (min-width: 992px) {
    .news-content .article_list_item {
        width: 25%;
    }
    .news-content .article_list_item:nth-child(2n+1) {
        clear: unset;
    }
}
@media (max-width: 1199px) {
    .news-content {
        padding: 30px 20px;
    }
    .news-list-content .content-in {
        margin-right: -20px;
    }
    .news-list-content .news-list-item {
        padding-right: 20px;
        padding-bottom: 15px;
    }
}
@media (max-width: 991px) {
    .news-banner .banner_block {
        top: calc(50% - 65px);
    }
    .en .news-banner .banner_block {
        top: calc(50% - 85px);
    }
    .news-banner .banner_title {
        font-size: 32px;
    }
    .news-list-content .news-list-item {
        width: 50%;
    }
}
@media (max-width: 767px) {
    .news-list-content {
        padding-top: 15px;
    }
    .news-banner,
    .news-banner img {
        background: #fff;
        border-radius: 15px 15px 0 0;
    }
    .news-banner .banner_block {
        position: unset;
        text-align: center;
        height: auto;
        left: 0%;
        width: 100%;
    }
    .news-banner .banner_title {
        font-size: 36px;
        text-align: center;
        padding: 10px 0;
    }
    .news-banner .banner_description {
        font-size: 14px;
        text-align: center;
        font-weight: 600;
        padding-bottom: 20px;
    }
    .news-list-content .content-in {
        margin-right: -15px;
    }
    .news-list-content .news-list-item {
        padding-right: 15px;
        padding-bottom: 10px;
    }
    .news-content {
        padding: 10px;
        border-radius: 0 0 15px 15px;
    }
}
@media (max-width: 450px) {
    .news-list-content .news-list-item {
        width: 100%;
    }
}
