/* guitar.css - 吉他曲谱网自定义样式 */
body {
    margin: 0;
    font-family: 'Helvetica Neue', Helvetica, Arial, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: #f8f8f8;
    color: #222;
}
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #222;
    padding: 10px 20px;
}
.logo img {
    height: 40px;
}
.search-box {
    display: flex;
    align-items: center;
}
.search-box input {
    padding: 6px 10px;
    border: none;
    border-radius: 4px 0 0 4px;
    outline: none;
}
.search-box button {
    padding: 6px 14px;
    border: none;
    background: #ff9800;
    color: #fff;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    width:60px;
}
.section {
    margin: 0px auto;
    max-width: 1100px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 24px 20px;
}
.section h2 {
    margin-top: 0;
    font-size: 1.5em;
    color: #ff9800;
}
.score-list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.score-item {
    background: #fafafa;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
    width: 240px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.score-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.score-item img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}
.score-item .info {
    padding: 12px;
}
.score-item h3 {
    margin: 0 0 8px 0;
    font-size: 1.1em;
}
.score-item h3 a {
    color: #000;
    text-decoration: none;
}
.score-item .desc {
    color: #888;
    font-size: 0.95em;
}
.category-list {
    display: flex;
    gap: 16px;
    margin-top: 12px;
}
.category-list a {
    background: #ff9800;
    color: #fff;
    padding: 6px 18px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 1em;
    transition: background 0.2s;
}
.category-list a:hover {
    background: #e67c00;
}
.thumbnails {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
}
.thumbnails img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #eee;
}
.score-image img {
    width: 100%;
    max-width: 600px;
    display: block;
    margin: 0 auto 18px auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.desc {
    font-size: 1.1em;
    color: #444;
    margin-bottom: 10px;
}
footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 18px 0 10px 0;
    margin-top: 40px;
}
.footer-content {
    text-align: center;
    font-size: 1em;
}
.footer-content a{ text-decoration: none; color: #fff;}

.footer-desc {
    margin-bottom: 8px;
    color: #eee;
    font-size: 1.08em;
    font-weight: 400;
    line-height: 1.7;
}
@media (max-width: 600px) {
    .footer-desc {
        font-size: 1em;
        margin-bottom: 6px;
    }
    .footer-content {
        font-size: 0.98em;
    }
}

@media (max-width: 900px) {
    .score-list {
        flex-direction: column;
        align-items: center;
    }
    .section {
        padding: 16px 6px;
    }
}
@media (max-width: 600px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 8px;
    }
    .logo img {
        height: 32px;
    }
    .score-item {
        width: 98vw;
        max-width: 340px;
    }
    .thumbnails img {
        width: 60px;
        height: 60px;
    }
    .score-image img {
        max-width: 98vw;
    }
}



        .navbar, .main-menu {
            background: #222;
            color: #fff;
        }
        .navbar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 20px;
            flex-wrap: nowrap;
            position: relative;
        }
        .logo img {
            height: 40px;
        }
        .search-box {
            display: flex;
            align-items: center;
            margin-left: auto;
        }
        .search-box input[type="text"] {
            padding: 6px 10px;
            border: none;
            border-radius: 3px 0 0 3px;
            outline: none;
        }
        .search-box button {
            padding: 6px 14px;
            border: none;
            background: #ff9800;
            color: #fff;
            border-radius: 0 3px 3px 0;
            cursor: pointer;
            width:60px;
        }
        .menu-toggle {
            display: none;
            background: none;
            border: none;
            color: #fff;
            font-size: 28px;
            margin-left: 16px;
            cursor: pointer;
        }
        .main-menu {
            display: flex;
            align-items: center;
        }
        .main-menu ul {
            display: flex;
            flex-wrap: wrap;
            margin: 0;
            padding: 0 20px;
            list-style: none;
            background: #222;
        }
        .main-menu li {
            margin: 0 10px;
        }
        .main-menu a {
            color: #fff;
            text-decoration: none;
            padding: 12px 10px;
            display: block;
            transition: background 0.2s;
        }
        .main-menu a:hover {
            background: #333;
        }
        @media (max-width: 768px) {
            .navbar {
                flex-direction: row;
                align-items: center;
                padding: 10px;
            }
            .logo {
                flex: 1 0 auto;
            }
            .search-box {
                width: auto;
                margin: 0 0 0 auto;
            }
            .menu-toggle {
                display: block;
            }
            .main-menu {
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background: #222;
                display: none;
                z-index: 1000;
            }
            .main-menu.active {
                display: block;
            }
            .main-menu ul {
                flex-direction: column;
                padding: 0 10px;
            }
            .main-menu li {
                margin: 0;
            }
            .main-menu a {
                padding: 12px 0;
            }
        }


.main-wrapper {
    display: flex;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 10px;
}
.main-content {
    flex: 1 1 0%;
}
.sidebar-hot {
    width: 320px;
    flex-shrink: 0;
}
.latest-list-wrap {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.latest-item {
    display: flex;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 16px 12px;
    align-items: center;
    gap: 18px;
}
.latest-item .cover {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.latest-item .info {
    flex: 1;
}
.latest-item h3 {
    margin: 0 0 6px 0;
    font-size: 1.15em;
}
.latest-item h3 a{color: #000; text-decoration: none;}
.latest-item .author {
    color: #888;
    margin: 0 0 6px 0;
}
.latest-item .desc {
    color: #444;
    font-size: 1em;
    margin: 0;
}
.hot-list-ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.hot-list-ul li {
    margin-bottom: 8px;
    font-size: 1em;
    border-bottom: 1px dashed #eee;
    padding-bottom: 4px;
}
.hot-list-ul a {
    color: #ff9800;
    text-decoration: none;
    transition: color 0.2s;
}
.hot-list-ul a:hover {
    color: #e67c00;
    text-decoration: underline;
}
@media (max-width: 900px) {
    .main-wrapper {
        flex-direction: column;
        gap: 0;
    }
    .sidebar-hot {
        width: 100%;
        margin-top: 24px;
    }
}
@media (max-width: 600px) {
    .main-wrapper {
        flex-direction: column;
        padding: 10px 2px;
    }
    .sidebar-hot {
        width: 100%;
        margin-top: 18px;
    }
    .latest-list-wrap {
        gap: 12px;
    }
    .latest-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 6px;
    }
    .latest-item .cover {
        width: 100%;
        height: 180px;
        margin-bottom: 8px;
    }
    .latest-item .info {
        width: 100%;
    }
}

.detail-main-wrapper {
    display: flex;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 10px;
}
.detail-main-content {
    flex: 1 1 0%;
    min-width: 0;
}
.detail-hotlist {
    width: 320px;
    flex-shrink: 0;
    margin-top: 0;
}
@media (max-width: 900px) {
    .detail-main-wrapper {
        flex-direction: column;
        gap: 0;
    }
    .detail-hotlist {
        width: 100%;
        margin-top: 24px;
    }
}
@media (max-width: 600px) {
    .detail-main-wrapper {
        flex-direction: column;
        padding: 10px 2px;
    }
    .detail-hotlist {
        width: 100%;
        margin-top: 18px;
    }
}

.breadcrumb{font-size: 12px; color:#000;}
.breadcrumb a{ text-decoration: none; color: #000;}



.pagination-wrap {
    padding: 20px 10px;
    margin-top: 20px;
    background: #fff;
    border-radius: 8px;
  }
  .pagination-wrap .paging-cls {
    text-align: center;
  }
  .pagination-wrap .paging-cls li{
      display: inline-block;
      margin: 0 5px;
      list-style: none;
  }
  .pagination-wrap .paging-cls span,
  .pagination-wrap .paging-cls a {
    display: inline-block;
    border: 1px solid #eef3f8;
    border-radius: 5px;
    height: 44px;
    line-height: 44px;
    width: 44px;
    margin: 0 3px;
    font-size: 14px;
    color:#000000;
    text-decoration: none;
  }
  .pagination-wrap .paging-cls span:hover,
  .pagination-wrap .paging-cls a:hover {
    background: #0271db;
    color: #fff !important;
  }
  .pagination-wrap .paging-cls .current {
    background: #0271db;
    color: #fff;
    font-weight: bold;
  }
  .pagination-wrap .paging-cls .fa-angle-double-left::before {
    content: '<';
  }
  .pagination-wrap .paging-cls .fa-angle-double-right::before {
    content: '>';
  }
/* 下拉菜单样式和交互 */
.menu-item {
    position: relative;
}
.menu-item .arrow {
    display: inline-block;
    margin-left: 6px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    padding: 3px;
    transform: rotate(45deg);
    transition: border-color 0.2s;
}
.menu-item.has-dropdown > a {
    cursor: pointer;
    position: relative;
    padding-right: 18px;
}
.menu-item .dropdown-menu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 160px;
    background: #222;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    z-index: 1001;
    flex-direction: column;
    padding: 8px 0;
}
.menu-item .dropdown-menu li a {
    color: #fff;
    padding: 10px 18px;
    display: block;
    text-decoration: none;
    font-size: 1em;
    transition: background 0.2s;
}
.menu-item .dropdown-menu li a:hover {
    background: #333;
}
/* PC端悬停显示下拉菜单 */
@media (hover: hover) and (pointer: fine) {
    .menu-item.has-dropdown:hover .dropdown-menu {
        display: flex;
    }
    .menu-item.has-dropdown:hover .arrow {
        border-color: #ff9800;
    }
}
/* 移动端点击显示下拉菜单 */
@media (max-width: 900px) {
    .main-menu ul {
        flex-direction: column;
    }
    .menu-item .dropdown-menu {
        position: static;
        box-shadow: none;
        border-radius: 0;
        background: #222;
        padding: 0;
    }
}

.tag-desc {
    margin: 12px 0 24px 0;
    font-size: 1.08em;
    color: #555;
    background: #f6f6f6;
    border-radius: 6px;
    padding: 14px 18px;
    line-height: 1.7;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.tag-desc .tag-date {
    margin-top: 8px;
    font-size: 0.98em;
    color: #888;
    text-align: right;
}
@media (max-width: 600px) {
    .tag-desc {
        font-size: 1em;
        padding: 10px 8px;
    }
    .tag-desc .tag-date {
        font-size: 0.95em;
        text-align: left;
        margin-top: 6px;
    }
}