/* ============================================
   全国天气预报平台 - 1:1还原样式
   配色: 背景#F5FAFF, 卡片#FFF, 主色#0D93F2, 徽章#47D175
   ============================================ */

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    background: #F5FAFF;
    color: #1F242E;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a { color: #0D93F2; text-decoration: none; transition: color .2s; }
a:hover { color: #0a7ad4; }

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

/* === Container === */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* === Header === */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 65px;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(215,224,234,0.5);
    transition: background .3s;
}

.header-inner {
    display: flex;
    align-items: center;
    height: 65px;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: #0D93F2;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #0D93F2, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
}

.nav-link {
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(31,36,46,0.8);
    border-radius: 6px;
    transition: all .2s;
    white-space: nowrap;
}

.nav-link:hover { background: rgba(13,147,242,0.08); color: #0D93F2; }
.nav-link.active { color: #0D93F2; background: rgba(13,147,242,0.1); }

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.search-box {
    display: flex;
    align-items: center;
    border: 1px solid #D7E0EA;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.search-box input {
    width: 220px;
    padding: 7px 12px;
    border: none;
    outline: none;
    font-size: 14px;
    background: transparent;
}

.search-box input::placeholder { color: #9ca3af; }

.search-btn {
    padding: 7px 10px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #6C7993;
    display: flex;
    align-items: center;
}

.search-btn:hover { color: #0D93F2; }

.login-link, .user-menu {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: rgba(31,36,46,0.8);
}

.login-link:hover { color: #0D93F2; }

.user-menu { position: relative; }
.user-name { font-weight: 500; }
.logout-link { color: #6C7993; font-size: 13px; margin-left: 8px; }
.logout-link:hover { color: #ef4444; }

.mobile-menu-btn {
    display: none;
    padding: 4px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #1F242E;
}

/* === Main Content === */
.site-main {
    flex: 1;
    padding-bottom: 40px;
}

/* === Hero Banner / Carousel === */
.hero-banner {
    margin-bottom: 32px;
}

.carousel {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
}

.carousel-inner {
    display: flex;
    transition: transform .5s ease;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
    display: none;
}

.carousel-slide.active { display: block; }

.carousel-slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 40px 40px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
}

.carousel-overlay h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.carousel-overlay p {
    font-size: 15px;
    opacity: 0.85;
    max-width: 600px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.9);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all .2s;
    z-index: 2;
}

.carousel-btn:hover { background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.carousel-btn.prev { left: 16px; }
.carousel-btn.next { right: 16px; }

.carousel-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.carousel-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all .3s;
}

.carousel-dots .dot.active {
    background: #fff;
    width: 24px;
    border-radius: 4px;
}

/* === Content Layout === */
.content-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
    margin-top: 24px;
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1F242E;
}

/* === Article Card Grid === */
.article-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.article-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.article-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
    transition: transform .2s, box-shadow .2s;
}

.article-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.card-image-link {
    display: block;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.card-image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}

.article-card:hover .card-image-link img {
    transform: scale(1.05);
}

.card-body {
    padding: 16px;
}

.category-badge {
    display: inline-block;
    padding: 2px 10px;
    background: #47D175;
    color: #fff;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}

.category-badge:hover { background: #3ab864; color: #fff; }

.card-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-title a { color: #1F242E; }
.card-title a:hover { color: #0D93F2; }

.card-excerpt {
    font-size: 14px;
    color: #6C7993;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: #9ca3af;
}

.card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* === Sidebar === */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.sidebar-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1F242E;
}

.sidebar-title svg { color: #0D93F2; }

.sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sidebar-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 8px;
    border-radius: 8px;
    transition: background .2s;
    color: #1F242E;
}

.sidebar-item:hover { background: #F5FAFF; }

.rank-num {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    background: #F5FAFF;
    color: #6C7993;
}

.rank-num.top {
    background: #0D93F2;
    color: #fff;
}

.sidebar-item-info {
    flex: 1;
    min-width: 0;
}

.sidebar-item-title {
    display: block;
    font-size: 14px;
    line-height: 1.4;
    color: #1F242E;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-item-meta {
    display: block;
    font-size: 12px;
    color: #9ca3af;
    margin-top: 2px;
}

/* === Tag Cloud === */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-pill {
    display: inline-block;
    padding: 4px 12px;
    background: #F5FAFF;
    color: #6C7993;
    border-radius: 20px;
    font-size: 13px;
    transition: all .2s;
    border: 1px solid #e5e7eb;
}

.tag-pill:hover {
    background: #0D93F2;
    color: #fff;
    border-color: #0D93F2;
}

/* === Pagination === */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: 6px;
    font-size: 14px;
    color: #1F242E;
    background: #fff;
    border: 1px solid #D7E0EA;
    transition: all .2s;
    cursor: pointer;
    text-decoration: none;
}

.page-btn:hover { background: #F5FAFF; color: #0D93F2; border-color: #0D93F2; }
.page-btn.active { background: #0D93F2; color: #fff; border-color: #0D93F2; }
.page-btn.disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }

.page-dots { padding: 0 4px; color: #9ca3af; }
.page-info { font-size: 13px; color: #9ca3af; margin-left: 8px; }

/* === Breadcrumb === */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 0;
    font-size: 14px;
    color: #6C7993;
}

.breadcrumb a { color: #6C7993; }
.breadcrumb a:hover { color: #0D93F2; }
.breadcrumb .sep { color: #d1d5db; }
.breadcrumb .current { color: #1F242E; }

/* === Page Header === */
.page-header {
    margin-bottom: 8px;
}

.page-title {
    font-size: 28px;
    font-weight: 700;
    color: #1F242E;
    margin-bottom: 4px;
}

.page-desc {
    font-size: 15px;
    color: #6C7993;
}

/* === Article Detail === */
.article-detail {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.article-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 16px;
    color: #1F242E;
}

.article-meta-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.article-meta-bar .meta-date,
.article-meta-bar .meta-views {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: #6C7993;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.article-cover {
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
}

.article-cover img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.article-summary {
    background: #F5FAFF;
    border-left: 4px solid #0D93F2;
    padding: 16px 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
    font-size: 15px;
    color: #4b5563;
}

.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
}

.article-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 32px 0 16px;
    color: #1F242E;
    padding-bottom: 8px;
    border-bottom: 2px solid #F0F5FA;
}

.article-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 24px 0 12px;
    color: #1F242E;
}

.article-content p { margin-bottom: 16px; }

.article-content ul, .article-content ol {
    margin: 12px 0;
    padding-left: 24px;
}

.article-content li { margin-bottom: 8px; }

.article-content img {
    border-radius: 8px;
    margin: 16px 0;
}

.article-content blockquote {
    border-left: 4px solid #0D93F2;
    padding: 12px 20px;
    margin: 16px 0;
    background: #F5FAFF;
    border-radius: 0 8px 8px 0;
    color: #4b5563;
}

/* === Article Actions === */
.article-actions {
    display: flex;
    gap: 12px;
    margin: 32px 0;
    padding-top: 24px;
    border-top: 1px solid #F0F5FA;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: #F5FAFF;
    border: 1px solid #D7E0EA;
    border-radius: 8px;
    font-size: 14px;
    color: #6C7993;
    cursor: pointer;
    transition: all .2s;
}

.action-btn:hover { border-color: #0D93F2; color: #0D93F2; }
.action-btn.active { background: #EBF5FF; border-color: #0D93F2; color: #0D93F2; }

/* === Prev/Next === */
.prev-next {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #F0F5FA;
}

.prev-article, .next-article {
    display: block;
    padding: 16px;
    background: #F5FAFF;
    border-radius: 8px;
    transition: background .2s;
}

.prev-article:hover, .next-article:hover { background: #EBF5FF; }

.next-article { text-align: right; }

.pn-label {
    display: block;
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 4px;
}

.pn-title {
    display: block;
    font-size: 14px;
    color: #1F242E;
    font-weight: 500;
}

/* === Related Articles (Sidebar) === */
.related-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.related-item {
    display: flex;
    gap: 12px;
    padding: 8px;
    border-radius: 8px;
    transition: background .2s;
}

.related-item:hover { background: #F5FAFF; }

.related-thumb {
    width: 80px;
    height: 56px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.related-info { flex: 1; min-width: 0; }

.related-title {
    display: block;
    font-size: 14px;
    color: #1F242E;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-meta {
    display: block;
    font-size: 12px;
    color: #9ca3af;
    margin-top: 4px;
}

/* === Footer === */
.site-footer {
    background: #fff;
    border-top: 1px solid #e5e7eb;
    padding: 40px 0 24px;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1F242E;
}

.footer-col p {
    font-size: 14px;
    color: #6C7993;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    font-size: 14px;
    color: #6C7993;
}

.footer-links a:hover { color: #0D93F2; }

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    margin-top: 24px;
    border-top: 1px solid #F0F5FA;
    font-size: 13px;
    color: #9ca3af;
}

/* === Auth Pages === */
.auth-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 40px 20px;
}

.auth-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.auth-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
}

.auth-subtitle {
    text-align: center;
    color: #6C7993;
    margin-bottom: 24px;
    font-size: 14px;
}

.auth-form .form-group { margin-bottom: 16px; }

.auth-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    color: #374151;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #D7E0EA;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color .2s;
}

.auth-form input:focus { border-color: #0D93F2; box-shadow: 0 0 0 3px rgba(13,147,242,0.1); }

.auth-hint {
    text-align: center;
    font-size: 13px;
    color: #9ca3af;
    margin-top: 16px;
}

.auth-links {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
    font-size: 14px;
}

/* === Buttons === */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    background: #0D93F2;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background .2s;
    text-decoration: none;
}

.btn-primary:hover { background: #0a7ad4; color: #fff; }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    background: #F5FAFF;
    color: #1F242E;
    border: 1px solid #D7E0EA;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
}

.btn-secondary:hover { background: #EBF5FF; border-color: #0D93F2; }

.btn-block { display: flex; width: 100%; }

.btn-sm {
    padding: 4px 12px;
    font-size: 13px;
    border-radius: 6px;
    background: #F5FAFF;
    color: #0D93F2;
    border: 1px solid #D7E0EA;
    cursor: pointer;
    text-decoration: none;
    transition: all .2s;
}

.btn-sm:hover { background: #EBF5FF; }

.btn-danger, .btn-sm.btn-danger {
    background: #FFF5F5;
    color: #ef4444;
    border-color: #fecaca;
}

.btn-danger:hover { background: #FEE2E2; }

/* === Alerts === */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}

.alert-error { background: #FEF2F2; color: #dc2626; border: 1px solid #FECACA; }
.alert-success { background: #F0FDF4; color: #16a34a; border: 1px solid #BBF7D0; }

/* === Forms === */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    color: #374151;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="number"],
.form-group input[type="url"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 9px 14px;
    border: 1px solid #D7E0EA;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    font-family: inherit;
    transition: border-color .2s;
    background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #0D93F2;
    box-shadow: 0 0 0 3px rgba(13,147,242,0.1);
}

.input-lg { font-size: 18px; padding: 12px 16px; }

/* === Status Badges === */
.status-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.status-badge.published, .status-badge.success { background: #DCFCE7; color: #16a34a; }
.status-badge.draft { background: #FEF3C7; color: #d97706; }
.status-badge.failed { background: #FEE2E2; color: #dc2626; }
.status-badge.admin { background: #EBF5FF; color: #0D93F2; }
.status-badge.user { background: #F3F4F6; color: #6C7993; }

/* === 404 Page === */
.error-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
    text-align: center;
}

.error-code { font-size: 96px; font-weight: 800; color: #D7E0EA; }
.error-title { font-size: 24px; margin-bottom: 8px; }
.error-desc { color: #6C7993; margin-bottom: 24px; }

/* === Search Page === */
.search-page-header { margin-bottom: 24px; }

.search-form-large {
    display: flex;
    gap: 12px;
    max-width: 600px;
}

.search-form-large input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #D7E0EA;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
}

.search-form-large input:focus { border-color: #0D93F2; }

.search-result-info {
    margin-top: 16px;
    color: #6C7993;
    font-size: 14px;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #9ca3af;
}

.empty-state svg { margin: 0 auto 16px; opacity: 0.3; }
.empty-hint { font-size: 14px; margin-top: 8px; }

/* === Install Page === */
.install-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 40px 20px;
    background: #F5FAFF;
}

.install-card {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 640px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
    overflow: hidden;
}

.install-header {
    text-align: center;
    padding: 32px;
    background: linear-gradient(135deg, #0D93F2, #06b6d4);
    color: #fff;
}

.install-header svg { margin: 0 auto 12px; }
.install-header h1 { font-size: 22px; }

.install-steps {
    display: flex;
    padding: 16px 32px;
    background: #F5FAFF;
    gap: 8px;
}

.install-step {
    flex: 1;
    text-align: center;
    padding: 8px;
    font-size: 13px;
    color: #9ca3af;
    border-bottom: 2px solid #e5e7eb;
}

.install-step.active { color: #0D93F2; border-color: #0D93F2; font-weight: 500; }

.install-body { padding: 32px; }
.install-body h2 { font-size: 20px; margin-bottom: 20px; }
.install-body fieldset { border: 1px solid #e5e7eb; border-radius: 8px; padding: 20px; margin-bottom: 20px; }
.install-body legend { font-weight: 600; padding: 0 8px; color: #1F242E; }

.check-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.check-table td { padding: 10px 12px; border-bottom: 1px solid #F0F5FA; }
.check-pass { color: #16a34a; font-weight: 500; }
.check-fail { color: #dc2626; font-weight: 500; }

.install-success { text-align: center; }
.install-success svg { margin: 0 auto 16px; }
.install-success h2 { color: #16a34a; margin-bottom: 8px; }
.install-warning { background: #FFFBEB; border: 1px solid #FDE68A; padding: 12px 16px; border-radius: 8px; margin: 20px 0; color: #92400e; font-size: 14px; }
.install-links { display: flex; justify-content: center; gap: 16px; margin-top: 24px; }

/* === Sitemap === */
.sitemap-content { margin-bottom: 40px; }
.sitemap-section { margin-bottom: 32px; }
.sitemap-section h2 { font-size: 20px; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid #F0F5FA; }
.sitemap-section ul { list-style: disc; padding-left: 24px; }
.sitemap-section li { margin-bottom: 6px; font-size: 14px; }

/* === Text Utilities === */
.text-muted { color: #9ca3af; }
.text-success { color: #16a34a; }
.text-error { color: #dc2626; }

/* === Responsive === */
@media (max-width: 1200px) {
    .content-layout { grid-template-columns: 1fr 320px; }
    .article-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .content-layout {
        grid-template-columns: 1fr;
    }

    .sidebar { order: 2; }

    .main-nav {
        display: none;
        position: fixed;
        top: 65px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 16px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.1);
        z-index: 99;
    }

    .main-nav.open { display: flex; }

    .mobile-menu-btn { display: block; }

    .search-box { display: none; }

    .article-grid,
    .article-grid.cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .carousel-slide img { height: 300px; }
    .carousel-overlay h2 { font-size: 22px; }

    .article-title { font-size: 24px; }
    .article-detail { padding: 20px; }

    .footer-grid { grid-template-columns: 1fr; gap: 24px; }

    .prev-next { grid-template-columns: 1fr; }

    .header-inner { gap: 12px; }
}

@media (max-width: 480px) {
    .article-grid,
    .article-grid.cols-3 {
        grid-template-columns: 1fr;
    }

    .carousel-slide img { height: 220px; }
    .carousel-overlay { padding: 30px 20px 20px; }
    .carousel-overlay h2 { font-size: 18px; }
}
