/* 论坛详情页样式 - 绿色主题 */

body {
    background: var(--color-bg-page);
    padding-top: 50px;
}

/* 公告横幅 */
.banner {
    max-width: 600px;
    margin: 10px auto;
    padding: 0 10px;
}

.banner-content {
    background: linear-gradient(90deg, rgba(0, 217, 163, 0.1), rgba(0, 217, 163, 0.05));
    border-radius: var(--radius-lg);
    padding: 10px 10px;
    display: flex;
    align-items: center;
    margin: 10px;
}

.banner-tag {
    background: rgba(0, 217, 163, 0.15);
    color: var(--primary-color);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: var(--font-xs);
    font-weight: var(--font-medium);
    white-space: nowrap;
    margin-right: 10px;
}

.banner-text {
    flex: 1;
    font-size: var(--font-sm);
    color: #666;
}

/* 主内容区域 */
.main-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 10px 10px;
}

/* 详情卡片 */
.detail-card {
    background: var(--bg-white);
    border-radius:5px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

/* 图片区域 - 横向滚动缩略图 */
.detail-image {
    width: 100%;
/*    padding: 10px;*/
    box-sizing: border-box;
}

.media-scroll-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}

.media-scroll-track::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.media-thumb-item {
    position: relative;
    flex: 0 0 calc((100% - 24px) / 4); 
    aspect-ratio: 3 / 4;
    border-radius: 5px;
    overflow: hidden;
    scroll-snap-align: start;
    cursor: pointer;
    background: #f0f0f0;
    margin-bottom: 10px;
    margin-right: 10px;
}

.media-thumb-item img,
.media-thumb-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.media-thumb-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
}

.media-thumb-play svg {
    width: 24px;
    height: 24px;
}

.verified-badge {
    background: linear-gradient(to right, rgb(248 164 10 / 50%), #ff8fb3);
    color: #fff;
    font-size: 12px;
    border-radius: var(--radius-lg);
    padding: 3px 8px;
}

/* 内容区域 */
.detail-content {
    background: #fff;
    padding:10px;
}

.detail-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
/*    margin: 10px 0 0 0;*/
}

/* 统计信息 */
.detail-stats {
    display: flex;
    align-items: center;
/*    margin: 10px;*/
    flex-wrap: wrap;
    padding: 10px 0;
    border-bottom: 1px solid #ebe8e8;
    color: #666;
    font-size: 13px;
}

.stat-item {
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.stat-item svg {
    width: 16px;
    height: 16px;
    margin-right: var(--spacing-xs);
}

.badge {
    background: linear-gradient(135deg, #00d9a3  , #00c090 );
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    margin-right: var(--spacing-xs);
}

.badge svg {
    margin-right: var(--spacing-xs);
}

/* 详细信息 */
.detail-info {
    display: flex;
    flex-direction: column;
    padding: 10px 0;
}

.info-row {
    display: flex;
    font-size:14px;
    margin-bottom: 10px;
}

.info-row:last-child {
    margin-bottom: 0;
}

.info-label {
    color: #666;
    width: 50px;
    flex-shrink: 0;
}

.info-value {
    color: #333;
    flex: 1;
}

/* 详情介绍 */
.detail-description {
    padding-top: 10px;
    border-top: 1px solid #ebe8e8;
}

.description-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    text-align: left;
}

.description-content {
    color: #666;
    font-size:14px;
    padding-top: 10px;
    padding-bottom: 10px;
    line-height: 1.6;
}

.description-content p {
    margin-bottom: 10px;
}

.description-content p:last-child {
    margin-bottom: 0;
}

/* 查看方式按钮样式 */
.view-method-section {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 10px 10px;
}

.view-method-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    padding: 10px;
}

.view-method-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    text-align: left;
}

/* 联系方式说明样式 */
.contact-notice {
    background:linear-gradient(90deg, rgb(217 127 0 / 10%), rgba(0, 217, 163, 0.05));
    border-left: 4px solid var(--primary-color);
    border-radius: var(--radius-md);
    padding: 5px;
}

.contact-notice-content {
    display: flex;
    margin: 10px;
}

.contact-notice-icon {
    flex-shrink: 0;
    color: var(--primary-color);
    margin-right: 10px;
}

.contact-notice-icon svg {
    width: 20px;
    height: 20px;
    margin-top: 10px;
}

.contact-notice-icon2 svg {
    width: 20px;
    height: 20px;
    margin-top: 0px;
    margin-right:5px;
}

.contact-notice-text {
    flex: 1;
    color: #666;
    font-size: var(--font-sm);
    line-height: 1.6;
}

.contact-notice-text p {
    margin-bottom: var(--spacing-sm);
}

.contact-notice-text p:last-child {
    margin-bottom: 0;
}

.contact-notice-list {
    margin-top: var(--spacing-sm);
    padding-left: 10px;
}

.contact-notice-list li {
    margin-bottom: var(--spacing-xs);
    color: #333;
}

.view-method-buttons {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

.view-method-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0 0 0 ;
    padding: 12px;
    background: linear-gradient(135deg, #00d9a3 0%, #2ded5c 100%);
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size:16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 217, 163, 0.25);
}

.view-method-btn:last-child {
    margin-bottom: 0;
}

.view-method-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 6px rgba(0, 217, 163, 0.2);
}

.view-method-btn svg {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.view-method-btn.secondary {
    background: linear-gradient(to right, rgba(248 164 10 / 57%), #ff7da7);
    color: #fff;
    border: 0px solid #00d9a3;
    box-shadow: none;
    padding: 12px;
    text-align: center;
}

.view-method-btn.secondary:active {
    background: rgba(0, 217, 163, 0.05);
}

/* 响应式 */
@media (max-width: 480px) {


    .stat-item {
        margin-right: var(--spacing-sm);
    }

 
}
