/*
 Theme Name:   SuperMag Child
 Theme URI:    https://91news.tw
 Description:  A child theme for SuperMag.
 Author:       George
 Author URI:   https://91news.tw
 Template:     supermag
 Version:      1.0.0
 Text Domain:  supermag-child
*/

.image-popup {
    cursor: zoom-in;
    display: inline-block;
}

.post-tags {
  margin-top: 25px;
}

.post-tags a {
    display: inline-block;
    padding: 6px 12px;
    margin: 0 5px 5px 0;
    border: 1px solid #ccc;
    border-radius: 10px;
    text-decoration: none !important;
    color: #333;
    background-color: #FFFBE5;
    transition: all 0.3s ease;
}

/* 滑鼠懸停時的樣式 */
.post-tags a:hover {
    background-color: #e5e5e5;
    border-color: #999;
}

.nav-previous a:before,
.nav-next a:after {
    content: none !important;
}

/* 移除邊框並設定連結顏色 */
.nav-links .nav-previous,
.nav-links .nav-next {
    border: none !important;
}

.nav-links .nav-previous a,
.nav-links .nav-next a {
    color: #007bff !important;
    border: none !important;
    text-decoration: none !important;
}

.nav-links .nav-previous a:hover,
.nav-links .nav-next a:hover {
    color: #0056b3 !important;
    text-decoration: none !important;
}

.socials a img {
    vertical-align: middle !important;
}

.post-views-counter.post-views-counter img, 
.post-views-counter.post-views-counter .post-views-count {
    font-size: 8px !important;
    font-weight: normal;
}

/* 正確的字型引用方式 */
@font-face {
    font-family: 'FontAwesome';
    src: url('/wp-content/fonts/fontawesome-webfont.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* 必須加這行 */
}

@font-face {
    font-family: 'Jost';
    src: url('/wp-content/fonts/jost/92zatBhPNqw73oDd4iYl.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap; /* 必須加這行 */
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}