/* =========================================
         3. 内页专用样式 (Content Styles)
         ========================================= */
.page-wrapper {
    padding-top: 100px;
    padding-bottom: 80px;
    min-height: 80vh;
}

.main-content {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 60px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

/* 标题区 */
.doc-header {
    text-align: center;
    margin-bottom: 60px;
    border-bottom: 1px solid #eee;
    padding-bottom: 40px;
}

.doc-tag {
    background: var(--primary-green);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.doc-title {
    font-family: "Times New Roman", serif;
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin: 20px 0 10px;
    font-weight: bold;
    line-height: 1.2;
}

.doc-subtitle {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* 核心词条卡片 */
.term-definition-card {
    background: #FAFBFC;
    border-left: 5px solid var(--primary-green);
    padding: 40px;
    margin-bottom: 50px;
}

.term-head {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.term-word {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-blue);
    font-family: "Times New Roman", serif;
}

.term-phonetic {
    font-family: "Times New Roman", serif;
    font-style: italic;
    color: var(--accent-gold);
    font-size: 1.4rem;
}

.def-block {
    margin-bottom: 20px;
}

.def-label {
    font-weight: bold;
    color: var(--primary-green);
    font-size: 0.9rem;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
}

.def-text {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.8;
}

/* 文本与表格 */
.page-section-title {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin: 40px 0 20px;
    border-left: 4px solid var(--accent-gold);
    padding-left: 15px;
    font-weight: bold;
}

.text-block {
    margin-bottom: 20px;
    text-align: justify;
    color: #555;
    font-size: 1rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
}

.comparison-table th, .comparison-table td {
    border: 1px solid #eee;
    padding: 15px;
    text-align: left;
}

.comparison-table th {
    background: #f9f9f9;
    color: var(--primary-blue);
    width: 30%;
    font-weight: bold;
}

.highlight-green {
    color: var(--primary-green);
    font-weight: bold;
}

.highlight-red {
    color: #D9534F;
    text-decoration: line-through;
    opacity: 0.7;
}

/* 语法规范 */
.grammar-box {
    background: #FFFBF0;
    border: 1px dashed var(--accent-gold);
    padding: 30px;
    border-radius: 6px;
}

.grammar-item {
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding-bottom: 15px;
}

.grammar-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.grammar-label {
    font-weight: bold;
    min-width: 120px;
    color: var(--primary-blue);
}

.example {
    font-style: italic;
    color: #666;
    display: block;
    margin-top: 5px;
}

/* 下载区 */
.download-cta {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
    text-align: center;
}

.btn-download {
    background: var(--primary-blue);
    color: white;
    padding: 12px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 15px;
    transition: 0.3s;
}

.btn-download:hover {
    background: var(--primary-green);
    transform: translateY(-2px);
}

/* 内页响应式调整 */
@media screen and (max-width: 768px) {
    .main-content {
        padding: 30px 20px;
        width: 95%;
    }

    .doc-title {
        font-size: 1.5rem;
    }

    .term-word {
        font-size: 1.6rem;
    }
    .doc-subtitle {
        font-size: 1rem;
    }
    .grammar-item {
        flex-direction: column;
        gap: 5px;
    }

    .def-block[style*="grid"] {
        grid-template-columns: 1fr !important;
    }
}