body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.main-content {
    width: 100%;
}

.news-type-menu {
    margin-bottom: 20px;
}

.nav-pills {
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.nav-pills .nav-item {
    margin-right: 10px;
    margin-bottom: 10px;
}

.nav-pills .nav-link {
    color: #495057;
    background-color: #e9ecef;
    border-radius: 4px;
    padding: 8px 16px;
}

.nav-pills .nav-link.active,
.nav-pills .nav-link:hover {
    color: #fff;
    background-color: #0d6efd;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
}

.news-image {
    width: 300px;
    height: 160px;
    object-fit: cover;
}

.news-info {
    padding: 15px;
    flex: 1;
}

.news-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    /* color: #0d6efd; */
}

.news-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tag a {
    background-color: #e9ecef;
    color: #495057;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    display: inline-block;
    margin-right: 5px;
}

.news-date {
    font-size: 12px;
    color: #666;
}

.breadcrumb {
    padding: 0;
    margin-bottom: 20px;
    list-style: none;
    background-color: transparent;
}
.breadcrumb-item {
    display: inline;
    font-size: 14px;
}
.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    padding: 0 5px;
}
.breadcrumb-item a {
    text-decoration: none;
}
.breadcrumb-item a:hover {
    text-decoration: underline;
}

/* 反馈和新闻类型部分的整体样式 */
.feedback-newstype-section {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 通用标题样式 */
.section-title {
    font-size: 22px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0d6efd;
}

/* 用户反馈容器 */
.feedback-container {
    flex: 1;
}

/* 反馈列表样式 */
.feedback-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 单个反馈项样式 */
.feedback-item {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feedback-item:hover {
    transform: translateY(-5px);
}

/* 反馈内容样式 */
.feedback-content {
    font-style: italic;
    color: #555;
    margin-bottom: 10px;
}

.feedback-content p {
    margin: 0;
    line-height: 1.6;
}

/* 反馈作者样式 */
.feedback-author {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.author-name {
    font-weight: bold;
    color: #333;
}

.author-identity {
    font-size: 0.9em;
    color: #666;
    background-color: #e9ecef;
    padding: 3px 8px;
    border-radius: 20px;
}

/* 新闻类型容器 */
.newstype-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* 新闻类型信息样式 */
.newstype-info {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.newstype-info p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* 教程列表容器 */
.tutorial-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

/* 教程卡片样式 */
.tutorial-card {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tutorial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* 教程图片样式 */
.tutorial-image {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%; /* 16:9 宽高比 */
}

.tutorial-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tutorial-card:hover .tutorial-image img {
    transform: scale(1.05);
}

/* 教程内容样式 */
.tutorial-content {
    padding: 20px;
}

/* 教程标题样式 */
.tutorial-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.4;
}

.tutorial-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.tutorial-title a:hover {
    color: #0056b3;
}

/* 教程描述样式 */
.tutorial-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* 教程元数据样式 */
.tutorial-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #888;
}

/* 标签样式 */
.tutorial-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.tag a {
    background-color: #e9ecef;
    color: #495057;
    padding: 3px 8px;
    border-radius: 20px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.tag a:hover {
    background-color: #0056b3;
    color: #ffffff;
}

/* 日期样式 */
.tutorial-date {
    font-style: italic;
}

/* 响应式设计 */
 
@media (max-width: 768px) {
    .news-card {
        flex-direction: column;
    }
    .news-image {
        width: 100%;
        height: 200px;
    }
    .feedback-newstype-section {
        flex-direction: column;
    }

    .section-title {
        font-size: 20px;
    }

    .feedback-item,
    .newstype-info {
        padding: 15px;
    }
    .tutorial-list {
        grid-template-columns: 1fr;
    }
    
    .tutorial-card {
        max-width: 100%;
    }
}