[id][name], [name] {
    scroll-margin-top: 105px;
}
.article__section {
    margin: 3rem 0 5rem;
}
.context {
    position: relative;
    background: white;
    border-bottom: solid 1px #ccc;
    word-break: break-word;
}
.context:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 2rem;
    border-radius: 50%;
    box-shadow: 0 0 1rem rgba(0, 0, 0, .6);
    z-index: -1;
}
.article__maintitle {
    display: block;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}
.article__mainbanner {
    position: relative;
    margin-bottom: 1.5rem;
}
.article__coverdescpt {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    padding: 1rem 0.5rem 0.5rem 0.5rem;
    font-size: 0.8rem;
    line-height: 1.3;
    color: white;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .8));
}
.article__coverdescpt span:nth-child(2):before {
    content: '｜';
}
.article__introduction {
    font-weight: 400;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: solid 8px var(--color-primary);
}
.cke_editable ul li, .cke_editable ol li {
    margin-left: 2rem !important;
}
.cke_editable li a {
    display: inline;
}
.cke_editable .table-wrapper {
    width: 100%;
    overflow: auto;
}
.cke_editable {
    font-weight: 400;
    font-size: 1rem;;
    margin-bottom: 3rem;
}
.cke_editable img,
.cke_editable iframe {
    max-width: 100% !important;
}
.cke_editable img {
    display: block;
    width: 100%;
    height: auto !important;
    background: #eee;
}
.context__titlebox {
    font-size: 0.8rem;
}
.context__row {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: end;
    margin: 1rem 0;
}
.context__actions {
    display: inline-flex;
    text-align: right;
    white-space: nowrap;
    margin-bottom: 0.5rem;
}
.context__titlebox button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    border: 0;
    border-radius: 9999px;
    background: #eee;
    padding: 0 0.8rem;
    margin-left: 8px;
}
.context__titlebox .font_setter {
    width: 42px;
    padding: 0;
}
.context__titlebox button img {
    width: 22px;
}
.context__info {
    flex: 1 1 0%;
    padding-right: 1rem;
}
.context__info li {
    display: flex;
    margin-bottom: 0.2rem;
}
.context__info li:before {
    content: attr(data-infotype);
    color: #999;
    white-space: nowrap;
}
.context__info li:last-child {
    margin-bottom: 0;
}
.context__info li a {
    color: black;
}
.context__share {
    text-align: right;
}
.context__share img {
    width: 70px;
}
.article__update__content {
    display: flex;
    width: 100%;
    font-size: 0.9em;
    margin-bottom: 1.5rem;
    background: #eee;
    padding: 0.8rem;
    border-radius: 0.5rem;
    border-left: solid 0.5rem var(--color-primary);
}
.article__update__content:before {
    content: '\f0f3';
    margin: 0.2rem 0.5rem 0 0;
    font-size: 17px;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}
.article__comment {
    color: var(--color-primary);
    text-decoration: underline;
    cursor: pointer;
}
.article__comment:after {
    content: '\f05a';
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Font Awesome 5 Free';
    padding: 0 6px 0 3px;
}
.article__comment__content {
    display: none;
    position: relative;
    width: 100%;
    max-width: 700px;
    font-size: 0.9em;
    padding: 0.5rem 1rem;
    margin: 0.5rem auto 1rem;
    background: white;
    border: solid 1px #ccc;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
}
.article__comment__content:after {
    content: '';
    position: absolute;
    width: 8px;
    height: 100%;
    top: 0;
    left: 0;
    background: var(--color-primary);
}
.context__event-subscription-plan {
    margin: 3em 0;
}
.context__event-subscription-plan a {
    color: var(--color-primary);
    font-size: 0.9rem;
    display: block;
    padding: 0.2rem 0.5rem;
    border-left: solid 3px #bbb;
}
.context__event-subscription-plan a p {
    margin: 0;
    text-decoration: underline;
}
.context__tagbox {
    margin: 2rem 0;
}
.context__tagbox i {
    color: #999;
}
.context__tagbox a {
    display: inline-block;
    font-size: 0.8rem;
    transition: .5s;
    color: #999;
    border: solid 1px #999;
    padding: 1px 6px;
    margin: 0 1px 3px;
}
.google__news {
    margin: 3rem auto;
}
.article__other > * {
    margin-bottom: 3rem;
}
.article__other > *:last-child {
    margin-bottom: 0;
}
.article_further li {
    position: relative;
    min-height: 3.5rem;
    padding-left: 1.3rem;
    border-bottom: dashed 1px #ccc;
    pointer-events: none;
    transition: .5s;
}
.article_further li:before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 50%;
    width: 8px;
    height: 8px;
    transform: translate(0, -50%);
    background: #ccc;
    border-radius: 100%;
}
.article_further li a {
    display: block;
    padding: 1rem 0.5rem;
    color: #555;
    font-family: "Noto Sans TC","Microsoft JhengHei","LiHei Pro","WenQuanYi Zen Hei",Arial !important;
    font-weight: 400;
    letter-spacing: 0.02rem;
    pointer-events: auto;
}
.article_further li a p {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}
.article_further li.pr a p:before {
    content: 'PR';
    font-size: 0.5rem;
    color: #999;
    border: solid 1px #999;
    padding: 0 4px;
    margin-right: 5px;
    vertical-align: middle;
}
.article_further li.pr a p:after,
.popular__content li.pr a p:after {
    content: '（'attr(data-subtitle)'）';
    opacity: 0.5;
    font-size: 0.8rem;
}
.next__box {
    width: 300px;
    border: 1px solid #ddd;
    position: fixed;
    bottom: 220px;
    opacity: 0;
    transition: all .3s ease-in-out;
    z-index: -1;
    display: none;
}
.next__box .next__close {
    border: 1px solid #ddd;
    height: 30px;
    width: 30px;
    position: absolute;
    top: -30px;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px 5px 0 0;
    background-color: white;
}
.next__box .next__titlebox {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    background-color: var(--color-primary);
}
.next__box .next__titlebox::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 25px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 3.5px 0 3.5px;
    border-color: var(--color-primary) transparent transparent transparent;
}
.next__box .next__title {
    color: white;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
}
.next__box .next__subtitle {
    color: white;
    font-size: 13px;
    font-weight: 400;
    line-height: 1;
    opacity: .8;
}
.next__box .next__content {
    position: relative;
    padding: 10px;
    display: flex;
    flex-direction: column;
    background-color: #fff;
}
.next__box .next__content a {
    color: #555;
    display: block;
}
.next__box .next__content .next__image {
    margin-bottom: 10px;
}
.next__box .next__content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.next__box .next__content .next__text h3 {
    font-size: 0.9rem;
    line-height: 1.5;
}
.next__box.next__show {
    opacity: 100%;
    z-index: 300;
    transition: all .3s ease-in-out;
}

/* 第三方廣告模組 cls */
._popIn_recommend {
    display: block;
    height: 500px;
}

@media (hover: hover) {
    .context__info li a:hover {
        color: var(--color-primary);
        text-decoration: underline !important;
    }
    .context__tagbox a:hover {
        color: white;
        background: var(--color-primary);
        border-color: var(--color-primary);
    }
    .article_further li:hover {
        background: #eee;
    }
    .next__box .next__close:hover {
        background-color: #ddd;
    }
    .next__box .next__content a:hover {
        color: var(--color-primary);
        text-decoration: underline !important;
    }
}

@media (max-width: 1279px) {
    .next__box {
        width: 60%;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        display: block;
    }
    .next__box .next__content {
        flex-direction: row;
    }
    .next__box .next__title {
        font-size: 14px;
    }
    .next__box .next__subtitle {
        font-size: 12px;
    }
    .next__box .next__content .next__image {
        margin-bottom: 0;
        margin-right: 10px;
        width: 24%;
    }
    .next__box .next__content .next__text {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        width: 70%;
        overflow: hidden;
        height: 80px;
    }
}

@media (max-width: 991px) {
    [id][name] {
        scroll-margin-top: 95px;
    }
}

@media (max-width: 639px) {
    .article__maintitle {
        font-size: 1.4rem;
    }
    .article__introduction {
        padding-left: 0.5rem;
        border-width: 5px;
    }
    .article__coverdescpt {
        position: relative;
        padding: 0;
        color: #555;
        background: none;
        margin-top: 0.5rem;
    }
    .context__info {
        padding-right: 0;
        margin: 1rem 0;
    }
    .context__row {
        display: block;
    }
    .context__row > *:nth-child(2) {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .context__actions {
        margin-bottom: 0;
        margin-left: -8px;
    }
    .context__share {
        display: inline-flex;
    }
    .context__share > *:not(:last-child) {
        margin-right: 5px;
    }
    .article__update__content {
        padding: 0.5rem;
    }
    .article__update__content:before {
        margin-right: 0.3rem;
    }
    .article_further ul {
        padding-left: 0;
    }
    .article_further li {
        padding-left: 0;
    }
    .article_further li:before {
        display: none;
    }
    .article_further li a {
        padding: 0.8rem 0.2rem;
    }
    .article_further li a p {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        white-space: normal;
    }
    .next__box {
        width: 100%;
    }
    /* 第三方廣告模組 cls */
    ._popIn_recommend {
        height: 400px;
    }
}

/* dev style */