body {
    background-color:#f4f4f4;
    font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    font-size:16px;
    transition:background-color 0.3s, color 0.3s;
}

.nav .nav-link {
    color:#000 !important;
}

.nav .nav-link.active {
    color:#206be7 !important;
}

.h-150 {
    height:150px!important;
}

/* 桌面端图片高度限制 */
@media (min-width: 768px) {
    .desktop-img-fixed {
        height: 150px !important;
        object-fit: cover;
    }
}

/* 移动端图片高度不限制 */
@media (max-width: 767.98px) {
    .desktop-img-fixed {
        height: auto !important;
    }
}

/* 去掉导航栏折叠按钮的边框和点击边框 */
.navbar-toggler {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.navbar-toggler:focus {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.navbar-toggler:active {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}
#introduction {
    line-height: 1.8;
}
#introduction h2{
    font-size:18px;
}
#introduction img {
    width: 100%;
}

/* 基础设置 */
:root {
    font-size: 16px; /* PC端基准大小 */
    --main-color: #ff2e2e; /* 主色变量 */
    --text-color: #333; /* 文字主色 */
}

@media screen and (max-width: 768px) {
    :root {
        font-size: 14px; /* 移动端基准大小 */
    }
}

/* 列表项 */
.adtg_item {
    margin: 0.5rem 0;
    margin: 8px 0;
    transition: transform 0.3s ease;
}

.adtg_item a {
    display: flex;
    align-items: center;
    padding: 1rem;
    padding: 16px;
    background: #f5f5f5;
    border-radius: 0.6rem;
    border-radius: 9.6px;
    text-decoration: none;
}

/* 图片容器 */
.item_img {
    flex-shrink: 0;
    width: 4.2rem;
    width: 67.2px;
    height: 4.2rem;
    height: 67.2px;
    border-radius: 0.8rem;
    border-radius: 12.8px;
    object-fit: cover;
}

/* 内容区域 */
.item_intr {
    margin-left: 1rem;
    margin-left: 16px;
    flex-grow: 1;
    min-width: 0; /* 防止内容溢出 */
}

.intr_t {
    display: flex;
    /* 移除 space-between 改用默认排列 */
    align-items: center; 
    /* 防止内容换行 */
    flex-wrap: nowrap; 
    /* 处理元素间默认间隙 */
    gap: 0;
}

.name {
    font-size: 1rem;
    font-size: 16px;
    color: var(--text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.topaa1 {
    font-size: 0.875rem;
    font-size: 14px;
    color: #f54d4a;
    margin-left: 0.625rem;
    margin-left: 10px;
}

.intr_b {
    margin-top: 0.5rem;
    margin-top: 8px;
}

.fanw {
    font-size: 0.875rem;
    font-size: 14px;
    color: #ff5d00;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 按钮样式 */
.item_btn {
    flex-shrink: 0;
    padding: 0 1rem;
    padding: 0 16px;
    height: 2.4rem;
    height: 38.4px;
    line-height: 2.4rem;
    line-height: 38.4px;
    border-radius: 1.2rem;
    border-radius: 19.2px;
    background: var(--main-color);
    color: #fff;
    font-size: 1.2rem;
    font-size: 16px;
    transition: opacity 0.3s;
}

/* 响应式调整 */
@media (max-width: 480px) {
    .adtg_item a {
        flex-wrap: wrap;
        padding: 0.75rem;
        padding: 12px;
    }
    
    .item_img {
        width: 3.5rem;
        width: 56px;
        height: 3.5rem;
        height: 56px;
    }
    
    .item_btn {
        width: 100%;
        margin-top: 0.5rem;
        margin-top: 8px;
        text-align: center;
    }
}

/* 交互效果 */
.adtg_item:hover {
    transform: translateY(-2px);
}

.item_btn:hover {
    opacity: 0.9;
}

/* PC端专属样式 */
@media (min-width: 769px) {
    .adtg_item {
        margin: 0.75rem 0;
        margin: 12px 0;
    }
}