/* 三级页面样式 */

.content-detail-page {
    background-color: #f9f9f9;
    min-height: 100%;
}

.content-detail {
    padding: 20px 16px;
}

.content-header {
    text-align: center;
    margin-bottom: 30px;
}

.content-title-container {
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 16px;
    border: 1px solid #f0f0f0;
}

.content-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.3;
}

.content-explanation {
    font-size: 16px;
    color: #666;
    font-weight: 400;
    margin-bottom: 12px;
    line-height: 1.6;
    text-align: center;
    padding: 0;
    background: none;
    border: none;
    font-style: normal;
}

.content-subtitle {
    font-size: 14px;
    color: #999;
    line-height: 1.5;
    margin-bottom: 0;
}

/* 外部链接按钮 */
.external-link-container {
    margin-top: 16px;
    text-align: center;
}

.external-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #d4af37, #f4e4a6);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
    text-decoration: none;
}

.external-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, #c19b26, #e6d395);
}

.external-link-btn:active {
    transform: translateY(0);
}

.external-link-icon {
    margin-right: 8px;
    font-size: 16px;
}

.external-link-text {
    margin-right: 8px;
}

.external-link-arrow {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.external-link-btn:hover .external-link-arrow {
    transform: translateX(2px);
}

/* 仅外部链接内容区域 */
.external-content-only {
    text-align: center;
    padding: 40px 20px;
}

.external-content-message {
    margin-bottom: 24px;
}

.external-content-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.8;
}

.external-content-text {
    font-size: 16px;
    color: #666;
    margin-bottom: 0;
    line-height: 1.5;
}

.external-content-actions {
    margin-top: 24px;
}

.external-content-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #d4af37, #f4e4a6);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
    text-decoration: none;
}

.external-content-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, #c19b26, #e6d395);
}

.external-content-btn:active {
    transform: translateY(0);
}

.external-content-btn .external-btn-icon {
    margin-right: 10px;
    font-size: 18px;
}

.external-content-btn .external-btn-text {
    margin-right: 10px;
}

.external-content-btn .external-btn-arrow {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.external-content-btn:hover .external-btn-arrow {
    transform: translateX(3px);
}

.content-body {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    line-height: 1.8;
}

.content-section {
    margin-bottom: 24px;
}

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

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #d4af37;
}

.section-content {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
}

.section-content p {
    margin-bottom: 12px;
}

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

/* 引用样式 */
.quote {
    background-color: #f8f9fa;
    border-left: 4px solid #d4af37;
    padding: 16px 20px;
    margin: 20px 0;
    font-style: italic;
    color: #666;
}

.quote-author {
    text-align: right;
    margin-top: 8px;
    font-size: 14px;
    color: #999;
}

/* 列表样式 */
.content-list {
    list-style: none;
    padding: 0;
}

.content-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 20px;
}

.content-list li:before {
    content: '•';
    color: #d4af37;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.content-list li:last-child {
    border-bottom: none;
}

/* 标签 */
.content-tags {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.tag {
    display: inline-block;
    padding: 4px 8px;
    background-color: #f0f0f0;
    color: #666;
    font-size: 12px;
    border-radius: 4px;
    margin-right: 8px;
    margin-bottom: 4px;
}

.tag-gold {
    background-color: #d4af37;
    color: #fff;
}

/* 简洁控制面板 */
.simple-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f5f5f5;
    border-radius: 8px;
    margin-bottom: 16px;
    position: relative;
}

.content-count {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.sort-button {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    transition: all 0.2s ease;
}

.sort-button:hover {
    background: #f8f8f8;
    border-color: #ccc;
}

.sort-icon {
    font-size: 16px;
    line-height: 1;
}

.sort-text {
    font-size: 14px;
}



/* 多行内容样式 */
.multi-line-content {
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}



.multi-line-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    margin-bottom: 12px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 2px solid #d4af37;
    cursor: pointer;
    transition: all 0.3s ease;
}

.multi-line-item:last-child {
    margin-bottom: 0;
}

.multi-line-item:hover {
    background-color: #f0f8ff;
    border-color: #c19b26;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.25);
}

.multi-line-item-content {
    flex: 1;
    text-align: left;
}

.multi-line-item-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.multi-line-item-desc {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.multi-line-item-arrow {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #d4af37;
    font-size: 16px;
}

.external-link-icon {
    font-size: 18px;
}

.arrow-icon {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.multi-line-item:hover .arrow-icon {
    transform: translateX(3px);
}

/* 响应式调整 */
@media (max-width: 360px) {
    .content-detail {
        padding: 16px 12px;
    }

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

    .content-subtitle {
        font-size: 14px;
    }

    .content-body {
        padding: 20px 16px;
    }

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

    .section-content {
        font-size: 14px;
    }

    /* 简洁控制面板小屏幕适配 */
    .simple-controls {
        padding: 10px 12px;
    }

    .content-count {
        font-size: 13px;
    }

    .sort-button {
        padding: 5px 10px;
        font-size: 13px;
    }

    .sort-icon {
        font-size: 14px;
    }

    .sort-text {
        font-size: 13px;
    }



    /* 多行内容小屏幕适配 */
    .multi-line-content {
        padding: 16px;
    }



    .multi-line-item {
        padding: 12px;
        margin-bottom: 10px;
    }

    .multi-line-item-title {
        font-size: 15px;
    }

    .multi-line-item-desc {
        font-size: 13px;
    }

    .multi-line-item-arrow {
        gap: 6px;
    }

    .external-link-icon {
        font-size: 16px;
    }
}
