/* 基础样式 - 复刻自 ruc-global-opinion */


/* 学术蓝主色 */

:root {
    --color-academic-blue: #2563eb;
    --color-academic-blue-dark: #134864;
}

html,
body {
    font-feature-settings: "kern";
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}


/* Prose 样式 */

.prose h1,
.prose h2,
.prose h3 {
    scroll-margin-top: 80px;
}
.list-paddingleft-2{padding-left: 0!important;}
/* About 页面内容区域样式 */
.aljs .items-stretch:nth-child(even) {
    flex-direction: row-reverse;
}
@media screen and (max-width: 1025px) {
    .aljs .items-stretch:nth-child(even) {
    flex-direction: column;
}
}
.about-content-prose>*:first-child {
    margin-top: 0 !important;
}

.about-content-prose {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    font-size: 1.05rem;
    line-height: 1.75;
    --tw-prose-headings: #134864;
}

.about-content-prose h3 {
    margin-top: 0 !important;
    margin-bottom: 1rem !important;
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    color: #134864 !important;
}

.about-content-prose p,
.about-content-prose li {
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

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


/* 调查详情页：强调重要发现列表 */

.survey-prose ol>li,
.survey-prose ul>li {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
    line-height: 1.75;
    padding-left: 0.25rem;
}


/* 调查详情页段落间距 */

.survey-prose p {
    margin-bottom: 1.25rem;
    line-height: 1.75;
    font-size: 1rem;
}


/* 调查详情页标题样式 */

.survey-prose h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #134864;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.survey-prose h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #134864;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}


/* 辅助类 */

.text-academicBlue {
    color: #134864;
}

.bg-academicBlue {
    background-color: #134864;
}

.border-academicBlue {
    border-color: #134864;
}

.hover\:text-academicBlue:hover {
    color: #134864;
}

.hover\:bg-academicBlue:hover {
    background-color: #134864;
}


/* 平滑过渡 */

a,
button {
    transition: all 0.2s ease-in-out;
}


/* 图片响应式 */

img {
    max-width: 100%;
    height: auto;
}


/* Tab 激活状态 */

.tab-active {
    border-bottom: 2px solid #134864;
    color: #134864;
}

.tab-inactive {
    border-bottom: 2px solid transparent;
    color: #6b7280;
}

.tab-inactive:hover {
    border-bottom-color: #d1d5db;
    color: #374151;
}


/* 卡片阴影 */

.card-shadow {
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
}

.card-shadow:hover {
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    transform: translateY(-2px);
}


/* 响应式隐藏 */

@media (max-width: 768px) {
    .md-hidden {
        display: none;
    }
    .nav-text {
        font-size: 0.75rem;
    }
}


/* Tab 样式 */

.tab-button {
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
    color: #6b7280;
    cursor: pointer;
}

.tab-button.active {
    border-bottom-color: #134864;
    color: #134864;
}

.tab-button:not(.active):hover {
    border-bottom-color: #d1d5db;
    color: #374151;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.custom-marker-list {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

.custom-marker-list li {
    position: relative;
    padding-left: 1.5rem;
}

.custom-marker-list li::before {
    content: '';
    position: absolute;
    left: 0.45rem;
    top: 0.9em;
    transform: translateY(-50%);
    width: 0.4rem;
    height: 0.4rem;
    background-color: #d1d5db;
    border-radius: 50%;
}