/* ============================================================
   专技继续教育导航平台 - 主样式表 V2
   浅色、温暖、亲和的设计风格
   ============================================================ */

/* ====== CSS Variables ====== */
:root {
    --primary: #8B6F47;
    --primary-light: #A68B5B;
    --primary-soft: #F5F0E8;
    --primary-dark: #5C4A2E;
    --accent: #C47A3A;
    --accent-light: #D9944F;
    --accent-hover: #B56E32;
    --accent-soft: #FDF3E8;
    --green: #2BA88B;
    --green-soft: #EAFAF1;
    --amber: #F5A623;
    --amber-soft: #FEF6E6;
    --purple: #8B5CF6;
    --purple-soft: #F3EEFF;
    --red: #EF4444;
    --red-soft: #FEF2F2;
    --bg: #FAF8F4;
    --bg-warm: #F5F0E8;
    --card: #FFFFFF;
    --text: #3A3226;
    --text-secondary: #7A6F5E;
    --text-muted: #A89E8E;
    --border: #E8E0D4;
    --border-light: #F0EBE3;
    --shadow-xs: 0 1px 2px rgba(58,50,38,0.04);
    --shadow-sm: 0 1px 4px rgba(58,50,38,0.04);
    --shadow-md: 0 4px 16px rgba(58,50,38,0.08);
    --shadow-lg: 0 8px 32px rgba(58,50,38,0.12);
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --font: 'Noto Sans SC', -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --font-serif: 'Noto Serif SC', 'SimSun', 'STSong', 'Songti SC', serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ====== Reset & Base ====== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; transition: color var(--transition); }
a:hover { color: var(--primary); }
ul { list-style: none; }
img { max-width: 100%; display: block; }
input, select, textarea, button { font-family: var(--font); font-size: inherit; }

/* ====== Container ====== */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ====== Navbar ====== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(250,248,244,0.95); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
    transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 62px;
}
.nav-brand {
    display: flex; align-items: center; gap: 10px;
    font-weight: 700; font-size: 1.05rem; color: var(--primary-dark);
}
.nav-brand:hover { color: var(--primary-dark); }
.nav-logo {
    width: 34px; height: 34px; border-radius: 8px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex; align-items: center; justify-content: center;
    color: white; font-weight: 800; font-size: 0.9rem;
    box-shadow: 0 2px 6px rgba(139,111,71,0.2);
}
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a {
    font-size: 0.92rem; color: var(--text-secondary); font-weight: 500;
}
.nav-links a:hover { color: var(--primary); }
.nav-cta {
    background: var(--accent) !important; color: white !important;
    padding: 8px 20px; border-radius: 8px; font-weight: 600; font-size: 0.88rem;
}
.nav-cta:hover { background: var(--accent-hover) !important; color: white !important; }

/* Nav Search */
.nav-search { display: flex; align-items: center; }
.nav-search form { display: flex; align-items: center; }
.nav-search-input {
    width: 200px; padding: 8px 12px; border: 1px solid var(--border);
    border-radius: 8px 0 0 8px; font-size: 0.88rem; outline: none;
    border-right: none; transition: border-color var(--transition);
}
.nav-search-input:focus { border-color: var(--primary); }
.nav-search-btn {
    padding: 8px 12px; background: var(--primary); color: white;
    border: none; border-radius: 0 8px 8px 0; cursor: pointer;
    display: flex; align-items: center; transition: background var(--transition);
}
.nav-search-btn:hover { background: var(--primary-dark); }

/* ====== Breadcrumb ====== */
.breadcrumb {
    padding: 20px 0 8px; font-size: 0.88rem; color: var(--text-muted);
}
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 6px; }

/* ====== Section Common ====== */
.section { padding: 72px 0; }
.section-alt { background: var(--card); }
.sec-head { text-align: center; margin-bottom: 44px; }
.sec-tag {
    display: inline-block; font-size: 0.85rem; font-weight: 600;
    color: var(--primary); background: var(--primary-soft);
    padding: 4px 12px; border-radius: 6px; margin-bottom: 10px;
    letter-spacing: 1px;
}
.sec-title { font-size: 1.7rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 8px; font-family: var(--font-serif); }
.sec-desc { font-size: 0.95rem; color: var(--text-secondary); max-width: auto; margin: 0 auto; }

/* ====== Buttons ====== */
.btn-main {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--accent); color: white; padding: 12px 26px;
    border-radius: 10px; font-size: 0.95rem; font-weight: 600;
    box-shadow: 0 4px 14px rgba(255,122,92,0.25);
    transition: all var(--transition); border: none; cursor: pointer;
}
.btn-main:hover { background: var(--accent-hover); color: white; transform: translateY(-2px); }
.btn-main-lg {
    flex-direction: column; align-items: flex-start;
    padding: 16px 32px; gap: 4px;
    box-shadow: 0 6px 20px rgba(196,122,58,0.35);
    border: 2px solid rgba(255,255,255,0.2);
}
.btn-main-lg:hover {
    background: var(--accent-hover);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(196,122,58,0.45);
}
.btn-main-text { font-size: 1.05rem; font-weight: 700; }
.btn-main-sub { font-size: 0.82rem; font-weight: 400; opacity: 0.9; }
.btn-main::after {
    content: '→';
    margin-left: 8px;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}
.btn-main:hover::after {
    transform: translateX(4px);
}
.btn-ghost {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--card); color: var(--text); padding: 12px 22px;
    border-radius: 10px; font-size: 0.95rem; font-weight: 500;
    border: 1px solid var(--border); transition: all var(--transition); cursor: pointer;
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm {
    padding: 6px 14px; font-size: 0.82rem; border-radius: 6px;
    border: 1px solid var(--border); background: var(--card);
    color: var(--text-secondary); cursor: pointer; transition: all var(--transition);
}
.btn-sm:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm.active { background: var(--primary); color: white; border-color: var(--primary); }

/* ====== Cards ====== */
.card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); transition: all var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

/* ====== Tags ====== */
.tag {
    display: inline-block; padding: 2px 8px; border-radius: 4px;
    font-size: 0.8rem; font-weight: 600;
}
.tag-hot { background: var(--accent-soft); color: var(--accent); }
.tag-rec { background: var(--green-soft); color: var(--green); }
.tag-off { background: var(--primary-soft); color: var(--primary); }
.tag-policy { background: var(--primary-soft); color: var(--primary); }
.tag-guide { background: var(--green-soft); color: var(--green); }
.tag-news { background: var(--amber-soft); color: #92600a; }
.tag-info { background: var(--purple-soft); color: var(--purple); }

/* ====== Pagination ====== */
.pagination {
    display: flex; align-items: center; justify-content: center;
    gap: 6px; margin-top: 40px; flex-wrap: wrap;
}
.pagination a, .pagination span {
    padding: 8px 14px; border-radius: 8px; font-size: 0.88rem;
    border: 1px solid var(--border); color: var(--text-secondary);
    transition: all var(--transition);
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .active { background: var(--primary); color: white; border-color: var(--primary); }
.pagination .disabled { opacity: 0.4; pointer-events: none; }

/* ====== Hero ====== */
.hero-section {
    background: linear-gradient(160deg, var(--bg) 0%, var(--primary-soft) 50%, var(--accent-soft) 100%);
    padding: 120px 0 64px;
}
.hero-inner { display: flex; align-items: flex-start; gap: 40px; }
.hero-text { flex: 1; max-width: 520px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--card); border: 1px solid var(--border);
    padding: 6px 14px; border-radius: 100px;
    font-size: 0.82rem; color: var(--primary); font-weight: 600;
    margin-bottom: 20px; box-shadow: var(--shadow-xs);
}
.hero-badge-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero-title {
    font-size: 2.4rem; font-weight: 800; line-height: 1.3;
    color: var(--primary-dark); margin-bottom: 16px; font-family: var(--font-serif);
}
.hero-title em { font-style: normal; color: var(--accent); position: relative; }
.hero-title em::after {
    content: ''; position: absolute; bottom: 3px; left: 0; right: 0; height: 6px;
    background: rgba(196,122,58,0.15); border-radius: 3px; z-index: -1;
}
.hero-desc {
    font-size: 1.05rem; color: var(--text-secondary); line-height: 1.8;
    margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-cta-row { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.hero-trust-row { display: flex; gap: 24px; margin-top: 32px; flex-wrap: wrap; }
.hero-trust-chip {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.85rem; color: var(--text-muted);
}
.hero-trust-chip svg { color: var(--green); flex-shrink: 0; }

/* Hero Stats (inline) */
.hero-stats { display: flex; gap: 22px; }
.hero-stat { text-align: center; }
.hero-stat-num { font-size: 1.3rem; font-weight: 800; color: var(--primary); font-family: var(--font-serif); }
.hero-stat-num span { font-size: 0.82rem; font-weight: 600; }
.hero-stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }

/* Article List (two-column layout) */
.article-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.article-list .article-card {
    background: var(--card); border: 1px solid var(--border-light);
    border-radius: 10px; padding: 16px 18px;
    transition: all var(--transition); cursor: pointer;
    display: flex; gap: 14px; align-items: flex-start;
}
.article-list .article-card:hover { box-shadow: var(--shadow-md); border-color: var(--primary); }
.article-thumb {
    width: 90px; height: 66px; border-radius: 8px; flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary-soft), var(--accent-soft));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
}
.article-info { flex: 1; min-width: 0; }
.article-tag {
    display: inline-block; font-size: 0.78rem; font-weight: 600;
    padding: 2px 8px; border-radius: 4px; margin-bottom: 5px;
}
.article-tag.policy { background: var(--primary-soft); color: var(--primary); }
.article-tag.guide { background: var(--accent-soft); color: var(--accent); }
.article-list .article-title { font-size: 0.9rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 4px; line-height: 1.4; font-family: var(--font-serif); }
.article-desc { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-list .article-meta { font-size: 0.8rem; color: var(--text-muted); margin-top: 5px; display: flex; gap: 10px; }

/* FAQ List (two-column layout) */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-list .faq-item {
    background: var(--card); border: 1px solid var(--border-light);
    border-radius: 10px; overflow: hidden;
    transition: all var(--transition);
}
.faq-list .faq-item:hover { border-color: var(--primary); }

/* Hero Visual (right-side illustration) */
.hero-visual {
    flex-shrink: 0; width: 380px; height: 420px;
    margin-left: auto;
    background: var(--card); border-radius: var(--radius-xl);
    border: 1px solid var(--border); box-shadow: var(--shadow-lg);
    display: flex; flex-direction: column; overflow: hidden;
}
.hv-header {
    padding: 16px 20px; background: var(--primary-soft);
    border-bottom: 1px solid var(--border-light);
    display: flex; align-items: center; gap: 10px;
    font-weight: 600; font-size: 0.9rem; color: var(--primary);
}
.hv-header-dot { width: 8px; height: 8px; border-radius: 50%; }
.hv-body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.hv-card {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px; background: var(--bg); border-radius: 10px;
    transition: all 0.3s ease; cursor: pointer;
}
.hv-card:hover { background: var(--primary-soft); color: inherit; }
.hv-card-icon {
    width: 36px; height: 36px; border-radius: 8px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
}
.hv-card-icon.i1 { background: var(--accent-soft); }
.hv-card-icon.i2 { background: var(--green-soft); }
.hv-card-icon.i3 { background: var(--amber-soft); }
.hv-card-icon.i4 { background: var(--purple-soft); }
.hv-card-text { font-size: 0.82rem; font-weight: 500; color: var(--text); }
.hv-card-sub { font-size: 0.8rem; color: var(--text-muted); margin-top: 1px; }
.hv-card-badge {
    margin-left: auto; font-size: 0.8rem; padding: 2px 8px;
    border-radius: 4px; font-weight: 600; flex-shrink: 0;
}
.hv-card-badge.hot { background: var(--accent-soft); color: var(--accent); }
.hv-card-badge.ok { background: var(--green-soft); color: var(--green); }

/* ====== Province Grid ====== */
.prov-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
}
.prov-card {
    padding: 14px 8px; text-align: center; background: var(--card);
    border: 1px solid var(--border); border-radius: 10px;
    transition: all var(--transition); cursor: pointer; position: relative;
}
.prov-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.prov-card .name { font-size: 0.92rem; font-weight: 600; color: var(--text); }
.prov-card .count { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }
.prov-card .hot-dot {
    position: absolute; top: 8px; right: 8px;
    width: 6px; height: 6px; background: var(--accent); border-radius: 50%;
}
.prov-more { text-align: center; margin-top: 20px; }
.prov-more a { font-size: 0.9rem; color: var(--primary); font-weight: 500; }

/* ====== Category Grid ====== */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 24px;
    transition: all var(--transition);
}
.cat-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.cat-top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.cat-ico {
    width: 46px; height: 46px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.cat-ico.c1 { background: var(--accent-soft); }
.cat-ico.c2 { background: var(--green-soft); }
.cat-ico.c3 { background: var(--amber-soft); }
.cat-ico.c4 { background: var(--purple-soft); }
.cat-ico.c5 { background: var(--primary-soft); }
.cat-ico.c6 { background: #FFF0F6; }
.cat-label { font-weight: 700; font-size: 1.05rem; color: var(--text); }
.cat-sub { font-size: 0.85rem; color: var(--text-muted); margin-top: 1px; }
.cat-list { display: flex; flex-direction: column; gap: 8px; }
.cat-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 9px 12px; background: var(--bg); border-radius: 8px;
    font-size: 0.85rem; transition: background var(--transition);
}
.cat-item:hover { background: var(--primary-soft); }
.cat-link {
    display: inline-flex; align-items: center; gap: 4px;
    margin-top: 14px; font-size: 0.85rem; color: var(--primary); font-weight: 500;
}

/* ====== Platform Cards ====== */
.platform-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.platform-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 24px;
    display: flex; gap: 16px; align-items: flex-start;
    transition: all var(--transition);
}
.platform-card:hover { box-shadow: var(--shadow-md); }
.platform-logo {
    width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
    background: var(--primary-soft); display: flex; align-items: center;
    justify-content: center; font-weight: 700; color: var(--primary); font-size: 1.1rem;
}
.platform-info { flex: 1; }
.platform-name { font-weight: 700; font-size: 1.05rem; color: var(--text); margin-bottom: 4px; }
.platform-name a:hover { color: var(--primary); }
.platform-desc { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; margin-bottom: 8px; }
.platform-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.platform-meta span { font-size: 0.85rem; color: var(--text-muted); }
.platform-rating { color: var(--amber); font-weight: 600; }

/* Platform list style */
.platform-list { display: flex; flex-direction: column; gap: 12px; }
.platform-list-item {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 20px 24px;
    display: flex; align-items: center; gap: 16px;
    transition: all var(--transition);
}
.platform-list-item:hover { box-shadow: var(--shadow-sm); border-color: var(--primary); }
.platform-meta-row { display: flex; gap: 16px; flex-wrap: wrap; font-size: 0.82rem; color: var(--text-muted); margin-top: 6px; }
.platform-meta-row strong { color: var(--text); font-weight: 600; }
.platform-action { flex-shrink: 0; }

/* ====== Article Cards ====== */
.article-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.article-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 24px;
    transition: all var(--transition);
}
.article-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.article-card h3 {
    font-size: 1.05rem; font-weight: 600; color: var(--text);
    line-height: 1.5; margin-bottom: 8px;
}
.article-card h3 a:hover { color: var(--primary); }
.article-card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 12px; }
.article-meta { font-size: 0.85rem; color: var(--text-muted); display: flex; gap: 14px; }

/* ====== Category Grid ====== */
.category-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px; margin-top: 24px;
}
.category-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 24px;
    transition: all var(--transition);
}
.category-card:hover { box-shadow: var(--shadow-md); border-color: var(--primary); }
.category-card h3 {
    font-size: 1.1rem; font-weight: 600; color: var(--text);
    margin-bottom: 16px; padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-soft);
}
.category-children { display: flex; flex-wrap: wrap; gap: 8px; }
.category-child-link {
    padding: 6px 14px; background: var(--primary-soft); color: var(--primary);
    border-radius: 20px; font-size: 0.85rem; text-decoration: none;
    transition: all var(--transition);
}
.category-child-link:hover { background: var(--primary); color: white; }
.category-empty { color: var(--text-muted); font-size: 0.88rem; }

/* ====== Province Grid ====== */
.province-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px; margin-top: 24px;
}
.province-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 20px;
    text-decoration: none; color: var(--text);
    transition: all var(--transition);
}
.province-card:hover { box-shadow: var(--shadow-md); border-color: var(--primary); transform: translateY(-2px); }
.province-card-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 12px;
}
.province-name { font-size: 1.1rem; font-weight: 600; color: var(--text); }
.province-short {
    font-size: 0.82rem; color: var(--primary); background: var(--primary-soft);
    padding: 2px 8px; border-radius: 10px;
}
.province-card-body {
    display: flex; align-items: center; justify-content: space-between;
}
.platform-count { font-size: 0.85rem; color: var(--text-secondary); }
.platform-count strong { color: var(--primary); font-size: 1.1rem; }
.arrow { color: var(--text-muted); font-size: 1.2rem; }

/* Article Magazine Layout */
.art-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.art-big {
    grid-row: span 2; background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden; transition: all var(--transition);
}
.art-big:hover { box-shadow: var(--shadow-lg); }
.art-big-img {
    height: 200px; background: linear-gradient(135deg, #E8EEFF 0%, #F5E6FF 100%);
    display: flex; align-items: center; justify-content: center; position: relative;
}
.art-big-img .art-tag-abs {
    position: absolute; bottom: 12px; left: 12px;
    background: var(--primary); color: white; padding: 3px 10px;
    border-radius: 5px; font-size: 0.82rem; font-weight: 600;
}
.art-big-body { padding: 24px; }
.art-big-body h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.5; margin-bottom: 10px; }
.art-big-body h3 a:hover { color: var(--primary); }
.art-big-body p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 14px; }
.art-sm {
    display: flex; gap: 16px; padding: 20px;
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); transition: all var(--transition);
}
.art-sm:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.art-sm-tag {
    flex-shrink: 0; align-self: flex-start;
    padding: 4px 10px; border-radius: 5px;
    font-size: 0.8rem; font-weight: 600;
}
.art-sm-tag.t1 { background: var(--primary-soft); color: var(--primary); }
.art-sm-tag.t2 { background: var(--green-soft); color: var(--green); }
.art-sm-tag.t3 { background: var(--amber-soft); color: #92600a; }
.art-sm-body h4 { font-size: 0.95rem; font-weight: 600; line-height: 1.5; margin-bottom: 6px; }
.art-sm-body h4 a:hover { color: var(--primary); }
.art-sm-body p { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.6; }
.art-sm-date { font-size: 0.82rem; color: var(--text-muted); margin-top: 6px; }

/* Category item tags */
.cat-item-tag { font-size: 0.8rem; padding: 2px 7px; border-radius: 4px; font-weight: 600; }

/* ====== Reveal Animations ====== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.show { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

/* Article detail */
.article-body { max-width: 760px; margin: 0 auto; }
.article-body h1 { font-size: 1.8rem; font-weight: 700; line-height: 1.4; margin-bottom: 16px; }
.article-body .meta { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 32px; display: flex; gap: 16px; }
.article-body .content { font-size: 1rem; line-height: 1.9; color: var(--text); }
.article-body .content h2 { font-size: 1.3rem; font-weight: 700; margin: 32px 0 16px; padding-left: 12px; border-left: 3px solid var(--primary); }
.article-body .content p { margin-bottom: 16px; }
.article-body .content table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.article-body .content th, .article-body .content td { padding: 10px 14px; border: 1px solid var(--border); text-align: left; font-size: 0.9rem; }
.article-body .content th { background: var(--bg); font-weight: 600; }
.article-body .callout {
    background: var(--primary-soft); border-left: 4px solid var(--primary);
    padding: 16px 20px; border-radius: 0 8px 8px 0; margin: 24px 0;
    font-size: 0.95rem; color: var(--primary-dark);
}

/* Article list page - reduced top padding */
.article-list-page { padding: 24px 0 72px; }
.article-list-page .sec-head { text-align: left; margin-bottom: 24px; }
.article-list-page .sec-tag { margin-bottom: 0; margin-right: 12px; }
.article-list-page .sec-title { margin-bottom: 0; display: inline-block; }

/* Province filter bar */
.prov-filter-bar {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 8px; margin-bottom: 32px;
}
.prov-filter-item {
    padding: 10px 8px; text-align: center; border-radius: 8px; font-size: 0.88rem;
    border: 1px solid var(--border); background: var(--card);
    color: var(--text-secondary); cursor: pointer;
    transition: all var(--transition); font-weight: 500;
}
.prov-filter-item:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }
.prov-filter-item.active { background: var(--primary); color: white; border-color: var(--primary); }

/* ====== Filter Bar ====== */
.filter-bar {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    margin-bottom: 28px; padding: 16px 20px;
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius);
}
.filter-form {
    display: flex; align-items: center; gap: 10px; flex: 1;
}
.filter-bar select, .filter-bar input {
    padding: 8px 12px; border: 1px solid var(--border); border-radius: 8px;
    font-size: 0.88rem; outline: none; background: var(--card);
    width: auto; min-width: 180px;
}
.filter-bar select:focus, .filter-bar input:focus { border-color: var(--primary); }
.filter-bar .btn-search {
    padding: 8px 18px; background: var(--primary); color: white;
    border: none; border-radius: 8px; font-size: 0.88rem; font-weight: 500;
    cursor: pointer; transition: background var(--transition);
    white-space: nowrap;
}
.filter-bar .btn-search:hover { background: var(--primary-dark); }

/* ====== City Tabs ====== */
.city-tabs {
    display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px;
}
.city-tab {
    padding: 8px 18px; border-radius: 20px; font-size: 0.88rem;
    border: 1px solid var(--border); background: var(--card);
    color: var(--text-secondary); cursor: pointer; transition: all var(--transition);
}
.city-tab:hover { border-color: var(--primary); color: var(--primary); }
.city-tab.active { background: var(--primary); color: white; border-color: var(--primary); }

/* ====== Stats Banner ====== */
.stats-banner {
    padding: 48px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-num { font-size: 2.2rem; font-weight: 800; color: white; }
.stat-num span { color: rgba(255,255,255,0.6); font-size: 0.9rem; font-weight: 500; margin-left: 2px; }
.stat-lab { font-size: 0.88rem; color: rgba(255,255,255,0.7); margin-top: 4px; }

/* ====== FAQ ====== */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.faq-item {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); overflow: hidden;
}
.faq-q {
    padding: 18px 20px; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    font-size: 0.92rem; font-weight: 600; color: var(--text);
    transition: background var(--transition);
}
.faq-q:hover { background: var(--bg); }
.faq-ico {
    width: 22px; height: 22px; border-radius: 50%; background: var(--bg);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; color: var(--text-muted); transition: all var(--transition); flex-shrink: 0;
}
.faq-item.open .faq-ico { background: var(--primary); color: white; transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a-inner {
    padding: 14px 20px 18px;
    font-size: 0.88rem; color: var(--text-secondary); line-height: 1.8;
    background: var(--bg); border-top: 1px solid var(--border-light);
}

/* ====== CTA Banner ====== */
.cta-box {
    background: linear-gradient(135deg, var(--primary-soft) 0%, var(--accent-soft) 100%);
    border-radius: var(--radius-xl); padding: 48px; text-align: center;
    border: 1px solid var(--border-light);
}
.cta-box h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; color: var(--primary-dark); font-family: var(--font-serif); }
.cta-box p { font-size: 0.95rem; color: var(--text-secondary); margin-bottom: 24px; }

/* ====== Group Buy Form ====== */
.form-card {
    background: var(--card); border-radius: var(--radius-xl);
    padding: 40px 44px; max-width: 640px; margin: 0 auto;
    box-shadow: var(--shadow-lg); border: 1px solid var(--border-light);
}
.form-header { text-align: center; margin-bottom: 28px; }
.form-header h2 { font-size: 1.4rem; font-weight: 700; margin-bottom: 6px; }
.form-header p { font-size: 0.9rem; color: var(--text-secondary); }
.form-group { margin-bottom: 22px; }
.form-label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 8px; }
.form-label .req { color: var(--accent); margin-left: 4px; }
.form-input, .form-select {
    width: 100%; padding: 12px 14px; border: 1.5px solid var(--border);
    border-radius: var(--radius); font-size: 0.95rem; color: var(--text);
    background: var(--card); transition: all 0.2s;
}
.form-input:focus, .form-select:focus {
    outline: none; border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79,125,240,0.1);
}
.form-note { font-size: 0.82rem; color: var(--text-muted); margin-top: 6px; }
.year-options { display: flex; gap: 10px; flex-wrap: wrap; }
.year-checkbox { display: none; }
.year-label {
    padding: 9px 22px; border: 1.5px solid var(--border);
    border-radius: 24px; font-size: 0.9rem; font-weight: 500;
    color: var(--text-secondary); cursor: pointer; transition: all 0.2s;
}
.year-label:hover { border-color: var(--primary); color: var(--primary); }
.year-checkbox:checked + .year-label {
    background: var(--primary); border-color: var(--primary); color: white;
}
.submit-btn {
    width: 100%; padding: 14px; background: var(--accent); color: white;
    border: none; border-radius: var(--radius); font-size: 1rem;
    font-weight: 600; cursor: pointer; transition: all 0.3s; margin-top: 4px;
}
.submit-btn:hover { background: var(--accent-hover); transform: translateY(-2px); }
.privacy-note {
    text-align: center; font-size: 0.82rem; color: var(--text-muted);
    margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 6px;
}

/* Province+City row (group-buy form) */
.form-card .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 0; }
.form-card .form-field { margin-bottom: 22px; }
.form-card .form-field .form-select {
    width: 100%; padding: 12px 14px; border: 1.5px solid var(--border);
    border-radius: var(--radius); font-size: 0.95rem; color: var(--text);
    background: var(--card); transition: all 0.2s;
}
.form-card .form-field .form-select:focus {
    outline: none; border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79,125,240,0.1);
}

.error-msg {
    background: var(--red-soft); color: var(--red); padding: 12px 16px;
    border-radius: 8px; font-size: 0.9rem; margin-bottom: 20px; text-align: center;
}
.success-msg {
    background: var(--green-soft); color: var(--green); padding: 16px 20px;
    border-radius: 8px; font-size: 0.95rem; margin-bottom: 20px; text-align: center;
}

/* ====== About Page ====== */
.about-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 32px; margin-bottom: 24px;
}
.about-card h2 { font-size: 1.3rem; font-weight: 700; margin-bottom: 16px; }
.about-card p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 12px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-feature {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 16px; background: var(--bg); border-radius: var(--radius);
}
.about-feature-icon { font-size: 1.5rem; flex-shrink: 0; }
.about-feature h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 4px; }
.about-feature p { font-size: 0.85rem; color: var(--text-secondary); }

/* ====== Sitemap ====== */
.sitemap-section { margin-bottom: 32px; }
.sitemap-section h3 {
    font-size: 1.1rem; font-weight: 700; margin-bottom: 16px;
    padding-bottom: 8px; border-bottom: 2px solid var(--primary-soft);
}
.sitemap-links {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px;
}
.sitemap-links a {
    padding: 8px 12px; font-size: 0.88rem; color: var(--text-secondary);
    border-radius: 6px; transition: all var(--transition);
}
.sitemap-links a:hover { background: var(--primary-soft); color: var(--primary); }

/* ====== Search Page ====== */
.search-hero {
    background: linear-gradient(135deg, #F0F5FF 0%, #FFF5F2 100%);
    padding: 100px 0 48px; text-align: center;
}
.search-box {
    max-width: 560px; margin: 0 auto; display: flex; gap: 0;
}
.search-box input {
    flex: 1; padding: 14px 18px; border: 2px solid var(--border);
    border-right: none; border-radius: var(--radius) 0 0 var(--radius);
    font-size: 1rem; outline: none;
}
.search-box input:focus { border-color: var(--primary); }
.search-box button {
    padding: 14px 24px; background: var(--primary); color: white;
    border: 2px solid var(--primary); border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 1rem; font-weight: 600; cursor: pointer;
}
.search-tabs {
    display: flex; gap: 8px; justify-content: center; margin-top: 20px;
}
.search-tab {
    padding: 8px 20px; border-radius: 20px; font-size: 0.88rem;
    border: 1px solid var(--border); background: var(--card);
    color: var(--text-secondary); cursor: pointer; transition: all var(--transition);
}
.search-tab.active { background: var(--primary); color: white; border-color: var(--primary); }
.search-result-count { font-size: 0.9rem; color: var(--text-muted); margin: 24px 0 16px; }

/* ====== 404 Page ====== */
.page-404 {
    text-align: center; padding: 120px 24px;
}
.page-404 .num { font-size: 6rem; font-weight: 900; color: var(--border); line-height: 1; }
.page-404 h1 { font-size: 1.5rem; font-weight: 700; margin: 16px 0 8px; }
.page-404 p { color: var(--text-secondary); margin-bottom: 28px; }

/* ====== Legal Pages ====== */
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content h1 { font-size: 1.6rem; font-weight: 700; margin-bottom: 8px; }
.legal-content .update-date { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 32px; }
.legal-content h2 {
    font-size: 1.15rem; font-weight: 700; margin: 28px 0 12px;
    padding-left: 12px; border-left: 3px solid var(--primary);
}
.legal-content p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 12px; }
.legal-content ul { padding-left: 20px; margin-bottom: 12px; }
.legal-content li { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.8; list-style: disc; }

/* ====== Footer ====== */
.footer {
    background: var(--bg-warm); border-top: 1px solid var(--border);
    padding: 40px 0 28px; margin-top: 64px;
}
.footer-top {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px;
    padding-bottom: 32px; border-bottom: 1px solid var(--border-light);
}
.footer-brand h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; color: var(--primary-dark); font-family: var(--font-serif); }
.footer-brand p { font-size: 0.85rem; color: var(--text-secondary); max-width: 280px; line-height: 1.7; }
.footer-col h4 {
    font-size: 0.8rem; font-weight: 600; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px;
}
.footer-col a {
    display: block; font-size: 0.88rem; color: var(--text-secondary);
    padding: 3px 0; transition: color var(--transition);
}
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
    padding-top: 20px; display: flex; justify-content: space-between;
    align-items: center; font-size: 0.85rem; color: var(--text-muted); flex-wrap: wrap; gap: 12px;
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--text-secondary); }

/* ====== Two-Column Layout (Homepage) ====== */
.main-layout { display: grid; grid-template-columns: 1fr 320px; gap: 20px; padding: 22px 0 50px; }
.left-col { min-width: 0; }
.right-col { display: flex; flex-direction: column; gap: 14px; }

/* Section headers (two-column version) */
.sec-head-left { display: flex; align-items: center; gap: 10px; }
.sec-more { font-size: 0.8rem; color: var(--text-muted); cursor: pointer; }
.sec-more:hover { color: var(--accent); }

/* Province section: tighter header-to-grid gap */
#provinces .sec-head { margin-bottom: 16px; }

/* Articles section: more space from province above */
#articles { margin-top: 36px; }
#articles .sec-head { text-align: left; margin-bottom: 20px; }
.sec-head-left-inline {
    display: flex; align-items: center; gap: 10px;
    text-align: left;
}
.sec-head-left-inline .sec-tag { margin-bottom: 0; flex-shrink: 0; }
.sec-head-left-inline .sec-title {
    margin-bottom: 0;
    flex: 1; min-width: 0;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sec-more-inline { font-size: 0.8rem; color: var(--text-muted); white-space: nowrap; }
.sec-more-inline:hover { color: var(--accent); }

/* Sidebar Card */
.side-card {
    background: var(--card); border: 1px solid var(--border-light);
    border-radius: var(--radius); overflow: hidden;
}
.side-header {
    padding: 11px 14px; font-weight: 700; font-size: 0.85rem;
    border-bottom: 1px solid var(--border-light);
    display: flex; align-items: center; gap: 6px;
    color: var(--primary-dark); font-family: var(--font-serif);
}
a.side-header { cursor: pointer; transition: color var(--transition); }
a.side-header:hover { color: var(--accent); }
a.side-header::after { content: '→'; margin-left: auto; font-size: 0.8rem; opacity: 0; transition: opacity var(--transition); }
a.side-header:hover::after { opacity: 1; }
.side-header-dot { width: 8px; height: 8px; border-radius: 50%; }
.side-header-dot.ochre { background: var(--accent); }
.side-header-dot.brown { background: var(--primary); }
.side-header-dot.olive { background: #7A8B5B; }
.side-body { padding: 6px; }

/* Hot Platforms (sidebar) */
.hp-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 8px; border-radius: 8px;
    transition: background var(--transition); cursor: pointer;
}
.hp-item:hover { background: var(--primary-soft); color: inherit; }
.hp-rank {
    width: 22px; height: 22px; border-radius: 6px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem; font-weight: 700; color: white;
}
.hp-rank.r1 { background: linear-gradient(135deg, #C47A3A, #D9944F); }
.hp-rank.r2 { background: linear-gradient(135deg, #A68B5B, #C4A87B); }
.hp-rank.r3 { background: linear-gradient(135deg, #8B6F47, #A68B5B); }
.hp-rank.rn { background: var(--border); color: var(--text-muted); }
.hp-info { flex: 1; min-width: 0; }
.hp-title { font-size: 0.8rem; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-sub { font-size: 0.78rem; color: var(--text-muted); margin-top: 1px; }

/* Policy Feed (sidebar) */
.feed-item {
    padding: 10px 8px; border-bottom: 1px solid var(--border-light);
    transition: background var(--transition); cursor: pointer;
}
.feed-item:last-child { border-bottom: none; }
.feed-item:hover { background: var(--primary-soft); color: inherit; }
.feed-tag {
    display: inline-block; font-size: 0.75rem; font-weight: 600;
    padding: 2px 6px; border-radius: 4px; margin-bottom: 4px;
}
.feed-tag.new { background: var(--accent-soft); color: var(--accent); }
.feed-tag.update { background: #EAFAF1; color: #2BA88B; }
.feed-tag.hot { background: var(--primary-soft); color: var(--primary); }
.feed-title { font-size: 0.85rem; font-weight: 600; color: var(--text); line-height: 1.4; margin-bottom: 3px; }
.feed-time { font-size: 0.78rem; color: var(--text-muted); }

/* CTA Card (sidebar) */
.cta-card {
    background: linear-gradient(135deg, var(--primary-soft), var(--accent-soft));
    border-radius: var(--radius); padding: 22px 18px; text-align: center;
    border: 1px solid var(--border-light);
}
.cta-icon { font-size: 1.8rem; margin-bottom: 6px; }
.cta-title { font-size: 0.95rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 5px; font-family: var(--font-serif); }
.cta-desc { font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 12px; line-height: 1.5; }
.cta-btn {
    display: inline-flex; align-items: center; gap: 4px;
    background: var(--accent); color: white; padding: 8px 18px; border-radius: 8px;
    font-size: 0.8rem; font-weight: 600;
    box-shadow: 0 2px 8px rgba(196,122,58,0.25);
    transition: all var(--transition);
}
.cta-btn:hover { background: var(--accent-light); color: white; transform: translateY(-1px); }

/* Quick Links (sidebar) */
.ql-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ql-item {
    background: var(--primary-soft); border-radius: 8px;
    padding: 12px 10px; text-align: center;
    transition: all var(--transition); cursor: pointer;
}
.ql-item:hover { background: var(--primary); }
.ql-item:hover .ql-label { color: white; }
.ql-icon { font-size: 1.1rem; margin-bottom: 3px; }
.ql-label { font-size: 0.82rem; font-weight: 600; color: var(--primary); transition: color var(--transition); }

/* ====== Admin Styles ====== */
html { scroll-behavior: auto; }
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
    width: 220px; background: #1E293B; color: #94A3B8;
    position: fixed; top: 0; left: 0; bottom: 0;
    padding: 20px 0; overflow-y: auto; z-index: 50;
}
.admin-sidebar h2 {
    color: white; font-size: 1.1rem; padding: 0 20px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 16px;
}
.admin-sidebar nav { display: flex; flex-direction: column; }
.admin-sidebar a {
    padding: 12px 20px; font-size: 0.9rem; color: #94A3B8;
    transition: all 0.2s; border-left: 3px solid transparent;
}
.admin-sidebar a:hover { color: white; background: rgba(255,255,255,0.05); }
.admin-sidebar a.active {
    color: white; background: rgba(79,125,240,0.15);
    border-left-color: var(--primary);
}
.admin-main { margin-left: 220px; flex: 1; min-height: 100vh; }
.admin-header {
    height: 56px; background: var(--card); border-bottom: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 24px; position: sticky; top: 0; z-index: 40;
}
.admin-header h1 { font-size: 1.05rem; font-weight: 600; }
.admin-content { padding: 24px; }

/* Admin cards & tables */
.admin-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.admin-stat-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 20px;
}
.admin-stat-card .label { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 8px; }
.admin-stat-card .value { font-size: 1.8rem; font-weight: 700; color: var(--text); }
.admin-stat-card .trend { font-size: 0.78rem; margin-top: 4px; }
.admin-stat-card .trend.up { color: var(--green); }
.admin-stat-card .trend.down { color: var(--red); }

.admin-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.admin-table th {
    padding: 12px 16px; text-align: left; font-size: 0.82rem;
    font-weight: 600; color: var(--text-muted); background: var(--bg);
    border-bottom: 1px solid var(--border);
}
.admin-table td {
    padding: 12px 16px; font-size: 0.88rem; border-bottom: 1px solid var(--border-light);
}
.admin-table tr:hover td { background: var(--bg); }
.admin-table .actions a { font-size: 0.82rem; color: var(--primary); margin-right: 12px; }
.admin-table .actions a:hover { text-decoration: underline; }
.admin-table .actions a.danger { color: var(--red); }

.status-badge {
    display: inline-block; padding: 2px 8px; border-radius: 4px;
    font-size: 0.82rem; font-weight: 600;
}
.status-badge.success { background: var(--green-soft); color: var(--green); }
.status-badge.warning { background: var(--amber-soft); color: var(--amber); }
.status-badge.info { background: var(--primary-soft); color: var(--primary); }
.status-badge.danger { background: var(--red-soft); color: var(--red); }
.status-badge.default { background: var(--bg); color: var(--text-muted); }

/* Admin form */
.admin-form-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 28px; margin-bottom: 20px;
}
.admin-form-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border-light); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-row.single { grid-template-columns: 1fr; }
.form-field label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 6px; color: var(--text); }
.form-field input, .form-field select, .form-field textarea {
    width: 100%; padding: 10px 12px; border: 1px solid var(--border);
    border-radius: 8px; font-size: 0.9rem; outline: none;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--primary); }
.form-field textarea { min-height: 120px; resize: vertical; }
.form-actions { display: flex; gap: 12px; margin-top: 24px; }
.form-actions .btn-save {
    padding: 10px 24px; background: var(--primary); color: white;
    border: none; border-radius: 8px; font-weight: 600; cursor: pointer;
}
.form-actions .btn-save:hover { background: var(--primary-dark); }
.form-actions .btn-cancel {
    padding: 10px 24px; background: var(--bg); color: var(--text-secondary);
    border: 1px solid var(--border); border-radius: 8px; cursor: pointer;
}

/* Flash messages */
.flash-msg {
    padding: 12px 16px; border-radius: 8px; font-size: 0.9rem;
    margin-bottom: 20px;
}
.flash-msg.success { background: var(--green-soft); color: var(--green); }
.flash-msg.error { background: var(--red-soft); color: var(--red); }

/* ====== Platform Detail ====== */
.detail-layout { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: flex-start; }
.detail-main { min-width: 0; }
.detail-sidebar { position: sticky; top: 80px; }
.detail-sidebar .card { padding: 24px; }
.detail-sidebar .card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; }
.detail-sidebar .card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 16px; }
.detail-sidebar .card .btn-main { display: block; text-align: center; margin-bottom: 8px; }
.detail-sidebar .card .btn-ghost { display: block; text-align: center; }
.platform-tags { display: flex; align-items: center; gap: 12px; margin: 12px 0 24px; flex-wrap: wrap; }
.platform-tags .rating { color: var(--amber); font-weight: 600; font-size: 0.95rem; }
.platform-url { margin-top: 8px; }
.platform-url a { font-size: 0.88rem; color: var(--accent); text-decoration: none; word-break: break-all; }
.platform-url a:hover { text-decoration: underline; color: var(--accent-hover); }
.platform-detail-section { margin-bottom: 28px; }
.platform-detail-section h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; color: var(--text); }
.platform-detail-section p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.8; }
.info-table { width: 100%; border-collapse: collapse; }
.info-table td { padding: 10px 14px; border: 1px solid var(--border); font-size: 0.9rem; }
.info-table td:first-child { background: var(--bg); font-weight: 500; color: var(--text-secondary); width: 120px; }

/* ====== Province Hero ====== */
.province-hero { padding: 84px 0 24px; background: linear-gradient(180deg, var(--primary-soft) 0%, var(--bg) 100%); }
.province-hero h1 { font-size: 1.6rem; font-weight: 700; margin-bottom: 8px; }
.province-hero p { font-size: 0.95rem; color: var(--text-secondary); max-width: 600px; }
.empty-state { text-align: center; padding: 48px 0; color: var(--text-muted); }
.empty-state p { margin-bottom: 16px; }

/* ====== Responsive ====== */
@media (max-width: 1024px) {
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
    .platform-grid { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .admin-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .hero-inner { flex-direction: column; }
    .hero-visual { display: none; }
    .hero-title { font-size: 1.8rem; }
    .cat-grid { grid-template-columns: 1fr; }
    .article-grid { grid-template-columns: 1fr; }
    .art-grid { grid-template-columns: 1fr; }
    .art-big { grid-row: auto; }
    .faq-grid { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .nav-search { display: none; }
    .prov-grid { grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); }
    .sitemap-links { grid-template-columns: repeat(3, 1fr); }
    .form-row { grid-template-columns: 1fr; }
    .detail-layout { grid-template-columns: 1fr; }
    .detail-sidebar { position: static; }
    .admin-sidebar { width: 180px; }
    .admin-main { margin-left: 180px; }
    .admin-cards { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-section { padding: 100px 0 40px; }
    .form-card { padding: 24px 18px; }
    .cta-box { padding: 32px 20px; }
}
