/* Taiwan PASS: additive accessibility fixes; keep brand/layout assets intact. */
/* Keep the original news line limits from tp-update.css.
   Full titles remain in the DOM, link title hints and destination articles. */

/* Enlarge hit areas, retaining the existing small visible pagination dots. */
.tpnews-dot {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    background: transparent;
    display: grid;
    place-items: center;
}
.tpnews-dot::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #767676;
}
.tpnews-dot.is-active {
    background: transparent;
}
.tpnews-dot.is-active::before {
    background: #b83b12;
}

/* Text links keep a non-color cue in prose, without underlining whole cards. */
.copy-right a,
#contact a[href^="tel:"],
#contact a[href^="mailto:"],
#tpnewsArticle a {
    /* Override style.css's global a { text-decoration: none !important }. */
    text-decoration: underline !important;
    text-underline-offset: 0.15em;
}

/* Restrict homepage changes to their sections; product pages share this file. */
.tpnews-date,
.tpnews-prevnext__label {
    color: #b83b12;
}
#productSpecial .product-special-title,
#productSpecial .version-title,
#productSpecial .icon-group {
    color: #995700;
}
.tp-tour-card[data-theme="hsr"] .tp-tour-card__badge {
    background-color: #b83b12;
}
.tp-tour-card[data-theme="hsr"] .tp-tour-card__button {
    color: #b83b12;
    border-color: #b83b12;
}
#teaching .tutorial-link-btn {
    background-color: #b83b12;
}
#teaching .tutorial-link-btn:hover,
#teaching .tutorial-link-btn:focus-visible {
    background-color: #99320f;
}

/* Main-banner pagination keeps its small glyph, with a larger hit area. */
[data-mainbanner="image"] .slick-dots li,
[data-mainbanner="image"] .slick-dots li button {
    width: 24px;
    height: 24px;
}
[data-mainbanner="image"] .slick-dots li button::before {
    width: 24px;
    height: 24px;
    line-height: 24px;
}
