/* ==========================================
   广东省残疾人就业创业促进会 - 官方网站
   CR-Verified: zero inline styles, all classes
   ========================================== */

:root {
  --primary: #ea580c;
  --primary-dark: #c2410c;
  --primary-light: #ffedd5;
  --accent: #2563eb;
  --accent-light: #dbeafe;
  --text: #1f2937;
  --text-light: #6b7280;
  --bg: #f8fafc;
  --bg-white: #ffffff;
  --bg-gray: #f1f5f9;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
  --radius: 8px;
  --radius-lg: 12px;
  --max-width: 1200px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text); background: var(--bg); line-height: 1.7; -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 900px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ========== HEADER ========== */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); height: var(--header-h); transition: box-shadow .3s; }
.header.scrolled { box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; font-weight: 700; color: var(--primary); }
.logo-img { height: 40px; width: auto; flex-shrink: 0; }
.nav { display: flex; gap: 4px; }
.nav a { display: block; padding: 8px 14px; border-radius: 6px; color: var(--text-light); font-size: 0.9rem; font-weight: 500; transition: all .2s; white-space: nowrap; }
.nav a:hover, .nav a.active { background: var(--primary-light); color: var(--primary); }
.mobile-toggle { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--text); padding: 4px; }
.nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.3); z-index: 98; }
.nav-overlay.active { display: block; }

/* ========== HERO ========== */
.hero { margin-top: var(--header-h); background: linear-gradient(135deg, #f97316 0%, #ea580c 50%, #f59e0b 100%); color: #fff; padding: 80px 0 60px; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.hero-container { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; padding: 0 20px; }
.hero h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 16px; letter-spacing: 1px; }
.hero-desc { font-size: 1.15rem; opacity: 0.9; margin-bottom: 32px; line-height: 1.8; }
.hero-badge { display: inline-block; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25); border-radius: 20px; padding: 4px 16px; font-size: .85rem; margin-bottom: 12px; backdrop-filter: blur(4px); }
.hero-tagline { font-size: 1.05rem; max-width: 600px; margin: 0 auto 24px; line-height: 1.8; opacity: .9; }
.hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ========== BUTTONS ========== */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 12px 28px; border-radius: 8px; font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: all .2s; border: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #1d4ed8; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: rgba(255,255,255,0.15); color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.btn-outline:hover { background: rgba(255,255,255,0.25); }
.btn-center { display: block; text-align: center; margin-top: 28px; }

/* ========== SECTIONS ========== */
.section { padding: 64px 0; }
.section-gray { background: var(--bg-gray); }
.section-title { text-align: center; margin-bottom: 48px; }
.section-title h2 { font-size: 1.8rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.section-title p { color: var(--text-light); font-size: 0.95rem; }
.section-title .line { width: 50px; height: 3px; background: var(--primary); margin: 12px auto 0; border-radius: 2px; }
.section-title-left { text-align: left; margin-bottom: 32px; }

/* ========== STATS ========== */
.stats-section { padding: 0 0 48px 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: -40px; position: relative; z-index: 2; }
.stat-card { background: #fff; border-radius: var(--radius-lg); padding: 28px 20px; text-align: center; box-shadow: var(--shadow-md); transition: transform .3s; }
.stat-card:hover { transform: translateY(-4px); }
.stat-num { font-size: 2.2rem; font-weight: 800; color: var(--primary); }
.stat-label { color: var(--text-light); font-size: 0.9rem; margin-top: 4px; }

/* ========== CARDS ========== */
.card-grid { display: grid; gap: 20px; }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); transition: all .3s; border: 1px solid var(--border); }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: var(--primary-light); }
.card-icon { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 16px; }
.card-icon.blue { background: var(--accent-light); color: var(--accent); }
.card-icon.orange { background: var(--primary-light); color: var(--primary); }
.card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.card-desc { color: var(--text-light); font-size: 0.9rem; line-height: 1.6; }

/* ========== POLICY CARDS ========== */
.policy-card h3 { font-size: 1.05rem; }
.policy-meta { display: flex; gap: 16px; font-size: 0.8rem; color: var(--text-light); margin-top: 8px; }
.policy-summary { color: var(--text-light); font-size: 0.9rem; margin-top: 8px; line-height: 1.6; }
.policy-tags { margin-top: 10px; }
.tag { display: inline-block; background: var(--primary-light); color: var(--primary); font-size: 0.75rem; padding: 2px 10px; border-radius: 12px; margin-right: 6px; }

/* ========== NEWS LIST ========== */
.news-list { display: flex; flex-direction: column; }
.news-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); transition: background .2s; }
.news-item:hover { background: var(--primary-light); margin: 0 -12px; padding: 18px 12px; border-radius: 8px; border-bottom-color: transparent; }
.news-item:last-child { border-bottom: none; }
.news-date { min-width: 60px; text-align: center; }
.news-date .day { font-size: 1.5rem; font-weight: 700; color: var(--primary); line-height: 1; }
.news-date .month { font-size: 0.75rem; color: var(--text-light); }
.news-content { flex: 1; }
.news-content h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 4px; }
.news-content h4 a { color: var(--text); }
.news-content h4 a:hover { color: var(--primary); }
.news-excerpt { color: var(--text-light); font-size: 0.85rem; line-height: 1.5; }

/* ========== PAGE BANNER ========== */
.page-banner { margin-top: var(--header-h); background: linear-gradient(135deg, #f97316, #ea580c); color: #fff; padding: 48px 0; text-align: center; }
.page-banner h1 { font-size: 1.8rem; font-weight: 700; }
.breadcrumb { font-size: 0.85rem; opacity: 0.8; margin-top: 8px; }
.breadcrumb a { color: #fff; opacity: 0.7; }
.breadcrumb a:hover { opacity: 1; }

/* ========== ABOUT ========== */
.about-content { max-width: 800px; margin: 0 auto; }
.about-content p { margin-bottom: 16px; color: var(--text-light); line-height: 1.9; }
.about-content h3 { font-size: 1.2rem; margin: 32px 0 12px; color: var(--primary); }
.about-note { font-size: 0.85rem; color: var(--text-light); }
.about-section-title { margin-bottom: 32px; text-align: left; }

/* ========== MEMBERSHIP TABLE ========== */
.membership-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.membership-table th, .membership-table td { padding: 12px 16px; border: 1px solid var(--border); text-align: left; }
.membership-table th { background: var(--primary); color: #fff; font-weight: 600; }
.membership-table tr:nth-child(even) { background: var(--bg-gray); }

/* ========== MEMBER GRID ========== */
.member-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.member-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 12px; text-align: center; transition: all .2s; }
.member-item:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.member-name { font-weight: 700; font-size: 0.95rem; }
.member-badge { display: inline-block; background: var(--primary-light); color: var(--primary-dark); font-size: 0.7rem; padding: 2px 8px; border-radius: 10px; margin-top: 6px; }

/* ========== POLICY LIST ========== */
.policy-item { padding: 20px 0; border-bottom: 1px solid var(--border); }
.policy-item:last-child { border-bottom: none; }
.policy-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.policy-desc { color: var(--text-light); font-size: 0.9rem; line-height: 1.7; }

/* ========== RECRUIT ========== */
.recruit-empty { background: var(--bg-gray); border-radius: var(--radius-lg); padding: 40px; text-align: center; }
.recruit-empty-icon { font-size: 3rem; margin-bottom: 16px; }
.recruit-empty h3 { margin-bottom: 8px; }
.recruit-desc { color: var(--text-light); }
.recruit-categories { margin-top: 40px; }
.recruit-categories h3 { margin-bottom: 16px; }

/* ========== JOB ========== */
.job-cta { background: linear-gradient(135deg, var(--accent-light), var(--primary-light)); border-radius: var(--radius-lg); padding: 32px; text-align: center; margin-top: 40px; }
.job-cta h3 { margin-bottom: 12px; }
.job-cta-email { font-size: 1.2rem; font-weight: 700; color: var(--primary); }
.job-cta-tel { font-size: 0.85rem; color: var(--text-light); margin-top: 8px; }

/* ========== CHARITY ========== */
.charity-cta { background: var(--bg-gray); border-radius: var(--radius-lg); padding: 32px; text-align: center; margin-top: 40px; }

/* ========== CONTACT ========== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; }
.contact-title { margin-bottom: 24px; }
.contact-info .info-item { display: flex; gap: 14px; margin-bottom: 24px; }
.contact-info .info-icon { width: 44px; height: 44px; background: var(--primary-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.contact-info .info-text h4 { font-size: 0.9rem; margin-bottom: 2px; }
.contact-info .info-text p { color: var(--text-light); font-size: 0.9rem; }
.contact-map { background: var(--bg-gray); border-radius: var(--radius-lg); min-height: 300px; display: flex; align-items: center; justify-content: center; color: var(--text-light); }
.contact-join { background: var(--bg-gray); border-radius: var(--radius-lg); padding: 24px; margin-top: 32px; }
.contact-join h3 { margin-bottom: 12px; }
.contact-join-desc { color: var(--text-light); font-size: 0.9rem; margin-bottom: 16px; }
.map-icon { font-size: 3rem; margin-bottom: 12px; }
.map-name { font-weight: 600; }
.map-addr { font-size: 0.9rem; color: var(--text-light); }
.map-transit { font-size: 0.85rem; color: var(--text-light); margin-top: 8px; }

/* ========== DETAIL PAGE ========== */
.detail { max-width: 800px; margin: 0 auto; }
.detail h1 { font-size: 1.5rem; margin-bottom: 12px; }
.detail-meta { display: flex; gap: 16px; font-size: 0.85rem; color: var(--text-light); margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.detail-body { color: var(--text); line-height: 2; font-size: 0.95rem; }
.detail-body p { margin-bottom: 16px; }
.detail-body img { max-width: 100%; border-radius: 8px; margin: 16px 0; }
.detail-back { margin-top: 40px; }
\n/* ========== DETAIL RELATED ========== */
.detail-related { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }
.detail-related h3 { font-size: 1.1rem; margin-bottom: 20px; color: var(--text); }

/* ========== FOOTER ========== */
.footer { background: linear-gradient(135deg, #2d1608, #1a0c04); border-top: 4px solid #ea580c; color: #fdba74; padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer p, .footer a { font-size: 0.85rem; line-height: 2; }
.footer a { color: #fdba74; }
.footer a:hover { color: #fff; }
.footer-subtitle { margin-top: 8px; font-size: 0.8rem; opacity: 0.7; }
.footer-bottom { border-top: 1px solid #9a3412; padding-top: 20px; text-align: center; font-size: 0.8rem; }
.footer-bottom a { color: #fdba74; }
.footer-contact-item { color: #fdba74; }
.footer-contact { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; padding: 16px 0; border-top: 1px solid #9a3412; font-size: 0.85rem; color: #fdba74; }
.footer-qr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.footer-qr-item { text-align: center; }
.footer-qr-item img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 6px; padding: 4px; display: block; }
.footer-qr-item span { display: block; font-size: 0.7rem; color: #fdba74; margin-top: 4px; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .card-grid-3, .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero h1 { font-size: 1.6rem; }
  .hero-desc { font-size: 0.95rem; }
  .section { padding: 40px 0; }
  .section-title h2 { font-size: 1.4rem; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-grid-2, .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav { display: none; position: absolute; z-index: 99; top: var(--header-h); left: 0; right: 0; background: #fff; flex-direction: column; padding: 12px; box-shadow: var(--shadow-lg); border-bottom: 1px solid var(--border); }
  .nav.open { display: flex; transition: transform .3s ease; }
  .mobile-toggle { display: block; }
  .news-item { flex-direction: column; gap: 6px; }
  .news-date { display: flex; gap: 6px; align-items: baseline; }
  .news-date .day { font-size: 1rem; }
}
@media (max-width: 480px) {
  .hero { padding: 40px 0 30px; }
  .hero h1 { font-size: 1.3rem; }
  .stat-num { font-size: 1.5rem; }
}
/* ========== QR CODE GRID ========== */
.qr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; max-width: 900px; margin: 0 auto; }
.qr-card { text-align: center; }
.qr-img-wrap { background: #fff; border-radius: 16px; padding: 16px; box-shadow: var(--shadow-md); transition: transform .3s, box-shadow .3s; margin-bottom: 14px; }
.qr-img-wrap:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.qr-img-wrap img { width: 100%; aspect-ratio: 1; object-fit: contain; display: block; border-radius: 8px; }
.qr-name { font-size: 1rem; font-weight: 600; color: var(--text); }
@media (max-width: 768px) { .qr-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; } }
@media (max-width: 480px) { .qr-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; } }

/* ========== v1.0.9 NEW ========== */
.news-thumb { width: 120px; height: 80px; flex-shrink: 0; border-radius: 8px; overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tag-cloud a:hover { background: #fed7aa !important; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 16px 0; border-top: 1px solid #9a3412; margin-bottom: 8px; }
.footer-links a { font-size: .8rem; color: #fdba74; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.header-search { display: flex; align-items: center; }
@media (max-width: 768px) {
  .news-thumb { width: 80px; height: 60px; }
}

/* ========== v1.1.3 NEW ========== */
/* Back to top */
.back-to-top { position: fixed; bottom: 30px; right: 30px; width: 44px; height: 44px; background: #ea580c; color: #fff; border: none; border-radius: 50%; font-size: 1.2rem; cursor: pointer; opacity: 0; visibility: hidden; transition: all .3s; z-index: 999; box-shadow: 0 2px 12px rgba(234,88,12,.3); }
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: #c2410c; transform: translateY(-2px); }

/* Social share */
.detail-share { display: flex; gap: 10px; align-items: center; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.share-btn { display: inline-block; padding: 6px 16px; border-radius: 6px; font-size: .85rem; text-decoration: none; cursor: pointer; }
.share-weibo { background: #e6162d; color: #fff; }
.share-copy { background: #f3f4f6; color: #374151; }
.share-bookmark { background: #fef3c7; color: #92400e; }

/* Dark mode toggle */
.dark-toggle { background: none; border: none; font-size: 1.1rem; cursor: pointer; padding: 4px 8px; border-radius: 6px; }
.dark-toggle:hover { background: var(--bg-gray); }

/* Dark mode */
body.dark { --text: #e5e7eb; --text-light: #9ca3af; --bg: #111827; --bg-gray: #1f2937; --border: #374151; --shadow-sm: 0 1px 3px rgba(0,0,0,.3); --shadow-md: 0 4px 12px rgba(0,0,0,.3); --shadow-lg: 0 8px 24px rgba(0,0,0,.4); }
body.dark .header { background: #111827; border-color: #1f2937; }
body.dark .card { background: #1f2937; border-color: #374151; }
body.dark .panel { background: #1f2937; border-color: #374151; }
body.dark .news-item { border-color: #374151; }
body.dark .footer { background: #0a0a0a; }
body.dark input, body.dark textarea, body.dark select { background: #1f2937; color: #e5e7eb; border-color: #374151; }
body.dark .section-gray { background: #0f172a; }
body.dark .nav { background: #111827; }
body.dark .news-date { background: #1f2937; }
body.dark .btn-outline { border-color: #374151; color: #e5e7eb; }
body.dark .dark-toggle { color: #fbbf24; }

/* Header search */
.header-search-link { font-size: 1.1rem; text-decoration: none; padding: 4px 8px; }

/* Search highlight */
.search-highlight { background: #fef08a; padding: 0 2px; border-radius: 2px; }

/* Responsive */
@media (max-width: 768px) {
  .back-to-top { bottom: 20px; right: 20px; width: 38px; height: 38px; }
  .dark-toggle { display: none; }
}

/* Header user menu */
.header-user{position:relative;margin-left:12px}
.header-user-btn{display:flex;align-items:center;gap:6px;padding:6px 14px;border-radius:20px;background:var(--pri,#ea580c);color:#fff;font-size:.85rem;text-decoration:none;transition:opacity .2s}
.header-user-btn:hover{opacity:.85}
.header-user-dropdown{display:none;position:absolute;right:0;top:100%;margin-top:8px;background:#fff;border-radius:8px;box-shadow:0 4px 20px rgba(0,0,0,.15);min-width:150px;z-index:100}
.header-user:hover .header-user-dropdown{display:block}
.header-user-dropdown a{display:block;padding:10px 16px;color:#333;font-size:.85rem;text-decoration:none;transition:background .2s}
.header-user-dropdown a:hover{background:#f5f5f5}

/* 技术支持板块 */
.tech-support {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 16px;
}
.tech-card {
  background: #f8fafc;
  border-left: 4px solid #ea580c;
  border-radius: 8px;
  padding: 20px 24px;
  transition: box-shadow 0.2s;
}
.tech-card:hover {
  box-shadow: 0 4px 16px rgba(234, 88, 12, 0.1);
}
.tech-card h4 {
  font-size: 1.05rem;
  color: #1e293b;
  margin-bottom: 8px;
}
.tech-card p {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.75;
  margin: 0;
}
@media (max-width: 768px) {
  .tech-card {
    padding: 16px;
  }
}
