/* roulang page: index */
:root {
  --primary: #0E1F1A;
  --primary-light: #102A24;
  --primary-dark: #091612;
  --gold: #C9A85C;
  --gold-light: #D4AF6A;
  --gold-dark: #B8944A;
  --bg: #F6F4EF;
  --card: #FFFFFF;
  --border: rgba(14,31,26,0.08);
  --border-dark: rgba(255,255,255,0.1);
  --text-1: #1B2A25;
  --text-2: #5B6B65;
  --text-3: #9AA6A1;
  --success: #2F8F6B;
  --warning: #C97B3D;
  --radius-card: 12px;
  --radius-btn: 8px;
  --radius-img: 8px;
  --radius-badge: 999px;
  --shadow-default: 0 1px 2px rgba(14,31,26,0.04);
  --shadow-hover: 0 12px 24px rgba(14,31,26,0.08);
  --transition: 0.2s ease;
  --sidebar-width: 252px;
  --font-main: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-main); font-size: 16px; line-height: 1.8; color: var(--text-1); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition), border-color var(--transition), background var(--transition); }
ul, ol { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: 15px; }
a:focus, button:focus, input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 2px; }
.app-shell { display: flex; min-height: 100vh; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ========== Sidebar ========== */
.sidebar { width: var(--sidebar-width); position: fixed; inset: 0 auto 0 0; background: var(--primary); z-index: 1000; display: flex; flex-direction: column; padding: 32px 20px 24px; overflow-y: auto; }
.brand { margin-bottom: 40px; }
.brand-link { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 42px; height: 42px; flex-shrink: 0; border-radius: 10px; background: rgba(201,168,92,0.15); border: 1px solid rgba(201,168,92,0.4); display: flex; align-items: center; justify-content: center; color: var(--gold-light); font-size: 18px; }
.brand-text { font-size: 15px; font-weight: 700; color: #fff; line-height: 1.5; letter-spacing: 0.3px; }
.side-nav { margin-top: 8px; }
.side-nav ul li { margin-bottom: 4px; }
.side-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 8px; color: rgba(255,255,255,0.75); font-size: 15px; font-weight: 500; transition: all var(--transition); }
.side-nav a i { width: 18px; text-align: center; color: rgba(255,255,255,0.4); transition: color var(--transition); }
.side-nav a:hover { background: rgba(255,255,255,0.06); color: #fff; }
.side-nav a:hover i { color: var(--gold-light); }
.side-nav a.active { background: rgba(201,168,92,0.12); color: var(--gold-light); border: 1px solid rgba(201,168,92,0.2); }
.side-nav a.active i { color: var(--gold-light); }
.sidebar-card { margin-top: auto; background: rgba(255,255,255,0.04); border: 1px solid var(--border-dark); border-radius: 12px; padding: 18px 16px; }
.sidebar-card-title { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 8px; }
.sidebar-card p { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.6; margin-bottom: 12px; }
.btn-sidebar { display: block; text-align: center; background: var(--gold); color: var(--primary); font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 8px; transition: background var(--transition); }
.btn-sidebar:hover { background: var(--gold-light); color: var(--primary-dark); }
.sidebar-footer { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--border-dark); font-size: 12px; color: rgba(255,255,255,0.35); text-align: center; }

/* ========== Mobile Header ========== */
.mobile-header { position: sticky; top: 0; z-index: 999; background: var(--primary); padding: 14px 16px; display: none; align-items: center; justify-content: space-between; box-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.mobile-brand { font-size: 14px; font-weight: 700; color: #fff; line-height: 1.4; letter-spacing: 0.2px; }
.mobile-toggle { color: var(--gold); font-size: 20px; padding: 6px 10px; border: 1px solid rgba(255,255,255,0.15); border-radius: 6px; }
.mobile-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--primary); padding: 10px 16px 16px; border-top: 1px solid var(--border-dark); box-shadow: 0 10px 20px rgba(0,0,0,0.3); }
.mobile-menu a { display: block; padding: 12px 8px; color: rgba(255,255,255,0.85); font-size: 15px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--gold-light); }

/* ========== Main Area ========== */
.main-area { flex: 1; margin-left: var(--sidebar-width); display: flex; flex-direction: column; min-width: 0; }
.section { padding: 72px 0; }
.section-head { margin-bottom: 40px; max-width: 720px; }
.section-tag { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 1px; color: var(--gold-dark); background: rgba(201,168,92,0.1); border: 1px solid rgba(201,168,92,0.25); padding: 4px 14px; border-radius: var(--radius-badge); margin-bottom: 14px; }
.section-head h2 { font-size: 28px; font-weight: 700; line-height: 1.35; color: var(--text-1); margin-bottom: 14px; }
.section-head p { font-size: 16px; line-height: 1.8; color: var(--text-2); }

/* ========== Hero ========== */
.hero { position: relative; background-color: var(--primary); background-size: cover; background-position: center; color: #fff; padding: 90px 0 80px; min-height: 540px; display: flex; align-items: center; }
.hero-overlay { position: absolute; inset: 0; background: rgba(14,31,26,0.7); z-index: 0; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px); background-size: 36px 36px; z-index: 0; pointer-events: none; }
.hero-inner { position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(201,168,92,0.14); border: 1px solid rgba(201,168,92,0.45); color: var(--gold-light); font-size: 13px; font-weight: 600; letter-spacing: 0.5px; padding: 5px 16px; border-radius: var(--radius-badge); margin-bottom: 22px; }
.hero-badge i { font-size: 12px; }
.hero h1 { font-size: 34px; font-weight: 700; line-height: 1.4; color: #fff; margin-bottom: 18px; max-width: 640px; letter-spacing: 0.3px; }
.hero-desc { font-size: 16px; line-height: 1.8; color: rgba(255,255,255,0.8); max-width: 560px; margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 22px; border-radius: var(--radius-btn); font-size: 15px; font-weight: 600; transition: all var(--transition); cursor: pointer; line-height: 1.5; border: 1px solid transparent; }
.btn-hero-primary { background: var(--gold); color: var(--primary); border-color: var(--gold); }
.btn-hero-primary:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(201,168,92,0.3); }
.btn-hero-secondary { background: transparent; border-color: rgba(255,255,255,0.35); color: #fff; }
.btn-hero-secondary:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.6); }
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--gold); border-color: var(--gold); color: var(--primary-dark); }
.btn-secondary { background: transparent; border-color: var(--primary); color: var(--primary); }
.btn-secondary:hover { background: rgba(14,31,26,0.04); border-color: var(--primary-dark); }
.hero-stats { display: flex; gap: 0; flex-wrap: wrap; max-width: 640px; }
.hero-stats .stat-item { padding: 0 28px 0 0; margin-right: 28px; border-right: 1px solid var(--border-dark); }
.hero-stats .stat-item:last-child { border-right: none; margin-right: 0; }
.hero-stats .stat-num { font-size: 40px; font-weight: 700; line-height: 1.1; color: var(--gold-light); font-variant-numeric: tabular-nums; display: block; margin-bottom: 4px; }
.hero-stats .stat-num small { font-size: 18px; color: var(--gold); }
.hero-stats .stat-label { font-size: 13px; color: rgba(255,255,255,0.65); }
.hero-accent { position: absolute; left: 0; bottom: 0; width: 96px; height: 4px; background: var(--gold); z-index: 2; }

/* ========== Services ========== */
.services-section { background: var(--bg); }
.service-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 30px 24px 26px; height: 100%; transition: transform var(--transition), box-shadow var(--transition); position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--gold); opacity: 0; transition: opacity var(--transition); }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.service-card:hover::before { opacity: 1; }
.service-icon { width: 52px; height: 52px; border-radius: 12px; background: rgba(201,168,92,0.1); border: 1px solid rgba(201,168,92,0.25); display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--gold-dark); margin-bottom: 20px; }
.service-card h3 { font-size: 18px; font-weight: 700; color: var(--text-1); margin-bottom: 10px; }
.service-card p { font-size: 14px; line-height: 1.7; color: var(--text-2); margin-bottom: 18px; }
.service-card a { font-size: 14px; font-weight: 600; color: var(--gold-dark); display: inline-flex; align-items: center; gap: 6px; }
.service-card a i { font-size: 12px; transition: transform var(--transition); }
.service-card a:hover i { transform: translateX(4px); }

/* ========== Stats ========== */
.stats-section { background: var(--primary); padding: 60px 0; }
.stats-panel { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-block { text-align: center; padding: 8px 24px; border-right: 1px solid rgba(255,255,255,0.1); }
.stats-block:last-child { border-right: none; }
.stats-block .num { font-size: 44px; font-weight: 700; color: var(--gold-light); font-variant-numeric: tabular-nums; line-height: 1.2; margin-bottom: 6px; }
.stats-block .num small { font-size: 20px; color: var(--gold); }
.stats-block .label { font-size: 14px; color: rgba(255,255,255,0.7); }
.stats-desc { text-align: center; color: rgba(255,255,255,0.5); font-size: 14px; margin-top: 28px; max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.8; }

/* ========== Cases ========== */
.cases-section { background: var(--bg); }
.case-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-card); overflow: hidden; height: 100%; transition: transform var(--transition), box-shadow var(--transition); }
.case-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.case-img-wrap { position: relative; overflow: hidden; aspect-ratio: 16/9; }
.case-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.case-card:hover .case-img-wrap img { transform: scale(1.03); }
.case-badge { position: absolute; top: 12px; left: 12px; background: rgba(14,31,26,0.78); color: var(--gold-light); font-size: 12px; padding: 4px 14px; border-radius: var(--radius-badge); border: 1px solid rgba(201,168,92,0.35); }
.case-body { padding: 22px 24px 24px; }
.case-body h3 { font-size: 17px; font-weight: 700; color: var(--text-1); margin-bottom: 8px; transition: color var(--transition); }
.case-card:hover .case-body h3 { color: var(--gold-dark); }
.case-body p { font-size: 14px; line-height: 1.75; color: var(--text-2); margin-bottom: 16px; }
.case-rating { font-size: 13px; color: var(--gold-dark); margin-bottom: 10px; letter-spacing: 1px; }
.case-rating span { color: var(--text-3); margin-left: 6px; letter-spacing: 0; }
.case-body a { font-size: 14px; font-weight: 600; color: var(--gold-dark); display: inline-flex; align-items: center; gap: 6px; }
.case-body a i { font-size: 12px; transition: transform var(--transition); }
.case-body a:hover i { transform: translateX(4px); }

/* ========== Steps ========== */
.steps-section { background: var(--bg); padding-top: 0; }
.steps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.step-item { text-align: center; padding: 24px 16px 0; position: relative; }
.step-item::after { content: ''; position: absolute; top: 54px; right: -12px; width: 24px; height: 2px; background: rgba(14,31,26,0.1); }
.step-item:last-child::after { display: none; }
.step-num { width: 58px; height: 58px; border-radius: 50%; background: var(--primary); color: var(--gold-light); display: inline-flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; margin-bottom: 16px; border: 1px solid rgba(201,168,92,0.4); transition: background var(--transition), color var(--transition); }
.step-item:hover .step-num { background: var(--gold); color: var(--primary); }
.step-item h3 { font-size: 17px; font-weight: 700; color: var(--text-1); margin-bottom: 8px; }
.step-item p { font-size: 14px; line-height: 1.7; color: var(--text-2); }

/* ========== FAQ ========== */
.faq-section { background: var(--bg); padding-top: 0; }
.faq-accordion { max-width: 860px; margin: 0 auto; }
.faq-accordion .accordion-item { background: var(--card); border: 1px solid var(--border); border-radius: 10px; margin-bottom: 12px; overflow: hidden; transition: border-color var(--transition), box-shadow var(--transition); }
.faq-accordion .accordion-item:hover { border-color: var(--gold); }
.faq-accordion .accordion-item.is-active { box-shadow: var(--shadow-default); }
.faq-accordion .accordion-title { font-size: 16px; font-weight: 600; color: var(--text-1); padding: 17px 22px; position: relative; background: #fff; border-bottom: 1px solid transparent; display: block; }
.faq-accordion .accordion-title:hover { background: #FFFCF7; color: var(--text-1); }
.faq-accordion .accordion-title::after { content: '\f067'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 14px; transition: transform 0.2s ease; }
.faq-accordion .accordion-item.is-active .accordion-title { border-bottom-color: var(--border); }
.faq-accordion .accordion-item.is-active .accordion-title::after { content: '\f068'; }
.faq-accordion .accordion-content { padding: 16px 22px; font-size: 15px; line-height: 1.85; color: var(--text-2); background: #fff; }

/* ========== News ========== */
.news-section { background: var(--bg); padding-top: 0; }
.news-list { max-width: 860px; margin: 0 auto; }
.news-card { display: flex; gap: 20px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 16px; transition: box-shadow var(--transition), border-color var(--transition); margin-bottom: 16px; }
.news-card:hover { box-shadow: var(--shadow-hover); border-color: rgba(201,168,92,0.4); }
.news-thumb { width: 120px; height: 84px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: var(--bg); }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.news-card:hover .news-thumb img { transform: scale(1.05); }
.news-info { flex: 1; min-width: 0; }
.news-info h3 { font-size: 16px; font-weight: 600; color: var(--text-1); margin-bottom: 6px; line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color var(--transition); }
.news-card:hover .news-info h3 { color: var(--gold-dark); }
.news-info p { font-size: 14px; color: var(--text-2); line-height: 1.6; margin-bottom: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news-meta { display: flex; align-items: center; gap: 14px; }
.news-cat { display: inline-block; background: rgba(201,168,92,0.12); border: 1px solid rgba(201,168,92,0.25); color: var(--gold-dark); font-size: 12px; padding: 2px 12px; border-radius: var(--radius-badge); }
.news-time { font-size: 13px; color: var(--text-3); }
.news-empty { text-align: center; padding: 48px 0; color: var(--text-3); font-size: 15px; background: var(--card); border: 1px dashed var(--border); border-radius: var(--radius-card); }
.news-more { text-align: center; margin-top: 28px; }

/* ========== Contact ========== */
.contact-section { background: var(--bg); padding-top: 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info-block { background: var(--primary); border-radius: 16px; padding: 36px 32px; color: #fff; }
.contact-info-block h3 { font-size: 20px; font-weight: 700; margin-bottom: 18px; color: #fff; }
.contact-info-item { display: flex; gap: 14px; margin-bottom: 18px; align-items: flex-start; }
.contact-info-item .ic { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,0.08); border: 1px solid var(--border-dark); display: flex; align-items: center; justify-content: center; color: var(--gold-light); font-size: 16px; flex-shrink: 0; }
.contact-info-item .txt h4 { font-size: 15px; font-weight: 600; color: rgba(255,255,255,0.9); margin-bottom: 2px; }
.contact-info-item .txt p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.6; }
.contact-form { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 32px; box-shadow: var(--shadow-default); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--text-2); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: var(--radius-btn); background: #FAF9F7; transition: border-color var(--transition), box-shadow var(--transition); color: var(--text-1); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,92,0.15); }
.form-group textarea { min-height: 100px; resize: vertical; }
.btn-block { width: 100%; }

/* ========== Footer ========== */
.footer { background: var(--primary); color: rgba(255,255,255,0.65); padding: 56px 0 0; margin-top: 32px; }
.footer-brand { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 12px; line-height: 1.5; }
.footer .footer-about { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,0.55); max-width: 320px; margin-bottom: 16px; }
.footer h4 { font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 16px; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a { font-size: 14px; color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer ul li a:hover { color: var(--gold-light); }
.footer ul li i { color: var(--gold); margin-right: 8px; font-size: 14px; }
.footer-bottom { border-top: 1px solid var(--border-dark); padding: 22px 0; margin-top: 44px; text-align: center; font-size: 13px; color: rgba(255,255,255,0.35); }

/* ========== Responsive ========== */
@media (max-width: 1023px) {
  .sidebar { display: none; }
  .main-area { margin-left: 0; }
  .mobile-header { display: flex; }
  .hero { padding: 60px 0 56px; min-height: auto; }
  .hero h1 { font-size: 28px; }
  .stats-panel { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .stats-block:nth-child(2) { border-right: none; }
  .stats-block:nth-child(4) { border-right: none; }
  .steps-row { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .step-item::after { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}
@media (max-width: 767px) {
  .section { padding: 48px 0; }
  .section-head h2 { font-size: 24px; }
  .hero { padding: 48px 0 44px; }
  .hero h1 { font-size: 24px; line-height: 1.5; }
  .hero-desc { font-size: 15px; }
  .hero-stats { gap: 12px; }
  .hero-stats .stat-item { padding-right: 14px; margin-right: 14px; }
  .hero-stats .stat-num { font-size: 30px; }
  .service-card h3 { font-size: 16px; }
  .case-body h3 { font-size: 16px; }
  .news-list { padding: 0; }
  .news-card { flex-direction: column; padding: 14px; }
  .news-thumb { width: 100%; height: 150px; }
  .stats-block .num { font-size: 36px; }
  .footer { padding-top: 40px; }
  .footer-bottom { margin-top: 28px; }
  .contact-form { padding: 22px; }
}
@media (max-width: 520px) {
  body { font-size: 15px; }
  .container { padding: 0 16px; }
  .hero-stats { max-width: 100%; }
  .hero-stats .stat-item { padding-right: 10px; margin-right: 10px; }
  .hero-stats .stat-num { font-size: 26px; }
  .steps-row { grid-template-columns: 1fr; }
  .news-info h3 { white-space: normal; }
  .news-info p { white-space: normal; }
}

/* roulang page: article */
:root {
  --primary: #0E1F1A;
  --primary-2: #102A24;
  --accent: #C9A85C;
  --accent-2: #D4AF6A;
  --bg: #F6F4EF;
  --card: #FFFFFF;
  --border: rgba(14,31,26,0.08);
  --border-dark: rgba(255,255,255,0.1);
  --text-1: #1B2A25;
  --text-2: #5B6B65;
  --text-3: #9AA6A1;
  --success: #2F8F6B;
  --warning: #C97B3D;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 999px;
  --shadow-sm: 0 1px 2px rgba(14,31,26,0.04);
  --shadow-md: 0 12px 24px rgba(14,31,26,0.08);
  --font: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); font-size: 16px; line-height: 1.8; color: var(--text-1); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.layout { display: flex; min-height: 100vh; }
.sidebar { width: 264px; position: fixed; top: 0; left: 0; bottom: 0; background: var(--primary); z-index: 200; }
.sidebar-inner { padding: 32px 24px; display: flex; flex-direction: column; height: 100%; }
.brand { margin-bottom: 48px; }
.brand-link { display: flex; align-items: center; gap: 12px; }
.brand-badge { display: inline-flex; width: 44px; height: 44px; border-radius: 10px; background: var(--accent); color: var(--primary); align-items: center; justify-content: center; font-size: 20px; font-weight: 700; flex-shrink: 0; }
.brand-text { color: #fff; font-size: 15px; font-weight: 600; line-height: 1.55; letter-spacing: .3px; }
.side-nav ul { display: flex; flex-direction: column; gap: 2px; }
.side-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 10px; color: rgba(255,255,255,0.65); font-size: 15px; font-weight: 500; transition: all .2s ease; }
.side-nav a:hover { background: rgba(255,255,255,0.06); color: #fff; }
.side-nav a.active { background: rgba(201,168,92,0.15); color: var(--accent); }
.side-nav a i { width: 20px; text-align: center; font-size: 15px; }
.sidebar-note { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--border-dark); }
.sidebar-note p { color: rgba(255,255,255,0.4); font-size: 13px; letter-spacing: .5px; line-height: 1.7; }

.main { flex: 1; margin-left: 264px; display: flex; flex-direction: column; min-height: 100vh; min-width: 0; }
.mobile-header { display: none; position: sticky; top: 0; z-index: 150; background: var(--primary); padding: 14px 20px; align-items: center; justify-content: space-between; box-shadow: 0 2px 12px rgba(14,31,26,0.3); }
.mobile-logo { color: #fff; font-size: 15px; font-weight: 600; line-height: 1.4; }
.mobile-home-btn { display: inline-flex; align-items: center; gap: 6px; background: rgba(201,168,92,0.15); color: var(--accent); border: 1px solid rgba(201,168,92,0.4); padding: 6px 14px; border-radius: var(--radius-lg); font-size: 13px; font-weight: 500; transition: all .2s; }
.mobile-home-btn:hover { background: var(--accent); color: var(--primary); }

.article-page { flex: 1; padding: 48px 0 72px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--text-3); margin-bottom: 20px; }
.breadcrumb a { color: var(--text-2); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: #c8c4bc; }
.breadcrumb .current { color: var(--text-1); font-weight: 500; max-width: 360px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.article-header { margin-bottom: 24px; }
.article-header h1 { font-size: 32px; font-weight: 700; line-height: 1.4; color: var(--text-1); margin-bottom: 18px; letter-spacing: .5px; }
.article-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; font-size: 14px; color: var(--text-2); }
.meta-item { display: inline-flex; align-items: center; gap: 7px; }
.meta-item i { color: var(--accent); font-size: 14px; }
.badge { display: inline-block; padding: 3px 14px; border-radius: var(--radius-lg); background: rgba(201,168,92,0.12); color: #8a6d2f; border: 1px solid rgba(201,168,92,0.3); font-size: 13px; font-weight: 500; letter-spacing: .3px; }

.article-cover { margin-bottom: 40px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.article-cover img { width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; }

.article-body { max-width: 720px; }
.article-body p { margin-bottom: 24px; font-size: 16px; line-height: 1.9; color: var(--text-1); }
.article-body h2 { font-size: 22px; font-weight: 700; margin: 40px 0 16px; color: var(--text-1); line-height: 1.5; }
.article-body h3 { font-size: 18px; font-weight: 600; margin: 32px 0 14px; color: var(--text-1); line-height: 1.5; }
.article-body ul, .article-body ol { margin: 0 0 24px 24px; }
.article-body li { margin-bottom: 8px; line-height: 1.8; color: var(--text-1); }
.article-body ul li { list-style: disc; }
.article-body ol li { list-style: decimal; }
.article-body blockquote { border-left: 3px solid var(--accent); background: rgba(201,168,92,0.06); padding: 16px 24px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 24px 0; color: var(--text-2); font-size: 15px; }
.article-body blockquote p:last-child { margin-bottom: 0; }
.article-body img { border-radius: var(--radius-sm); margin: 24px 0; box-shadow: var(--shadow-sm); }
.article-body figcaption { font-size: 13px; color: var(--text-3); text-align: center; margin-top: -16px; margin-bottom: 28px; }
.article-body a { color: #8a6d2f; border-bottom: 1px solid rgba(201,168,92,0.4); }
.article-body a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.article-pagination { display: flex; gap: 12px; justify-content: center; margin-top: 40px; }
.article-pagination a { display: inline-block; padding: 8px 20px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 14px; color: var(--text-2); background: #fff; transition: all .2s; }
.article-pagination a:hover { border-color: var(--accent); color: var(--accent); }

.article-empty { text-align: center; padding: 80px 24px; background: #fff; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-sm); max-width: 720px; }
.article-empty i { font-size: 42px; color: var(--text-3); margin-bottom: 16px; display: block; }
.article-empty p { color: var(--text-2); font-size: 17px; font-weight: 500; margin-bottom: 24px; }

.btn-outline { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: transparent; border: 1px solid var(--primary); color: var(--primary); border-radius: var(--radius-sm); padding: 10px 24px; font-size: 15px; font-weight: 600; transition: all .2s ease; cursor: pointer; }
.btn-outline:hover { background: rgba(14,31,26,0.04); border-color: var(--primary); color: var(--primary); }
.btn-solid { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--primary); color: #fff; border-radius: var(--radius-sm); padding: 10px 24px; font-size: 15px; font-weight: 600; transition: all .2s ease; cursor: pointer; }
.btn-solid:hover { background: var(--accent); color: var(--primary); }

.related-section { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--border); }
.related-section .sec-title { font-size: 24px; font-weight: 700; margin-bottom: 8px; color: var(--text-1); }
.related-section .sec-sub { font-size: 14px; color: var(--text-3); margin-bottom: 32px; max-width: 600px; line-height: 1.7; }
.related-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; height: 100%; }
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.related-thumb { overflow: hidden; position: relative; aspect-ratio: 16 / 9; }
.related-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.related-card:hover .related-thumb img { transform: scale(1.03); }
.related-thumb .badge { position: absolute; top: 12px; left: 12px; background: rgba(14,31,26,0.72); color: var(--accent); border: 1px solid rgba(201,168,92,0.35); backdrop-filter: blur(4px); }
.related-info { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.related-info h3 { font-size: 16px; font-weight: 600; line-height: 1.55; margin-bottom: 10px; color: var(--text-1); transition: color .2s; flex: 1; }
.related-card:hover .related-info h3 { color: #8a6d2f; }
.related-info .related-desc { font-size: 13px; color: var(--text-3); line-height: 1.6; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.related-info .related-foot { font-size: 13px; color: var(--text-3); display: flex; align-items: center; gap: 12px; }
.related-info .related-foot i { color: var(--accent); }
.related-action { margin-top: 40px; text-align: center; }

.footer { background: var(--primary); color: rgba(255,255,255,0.8); padding: 64px 0 24px; }
.footer h4 { color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 18px; letter-spacing: .5px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; display: flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,0.6); }
.footer li i { width: 16px; color: var(--accent); font-size: 13px; }
.footer a { color: rgba(255,255,255,0.6); transition: color .2s; }
.footer a:hover { color: var(--accent); }
.footer-brand { color: #fff; font-size: 18px; font-weight: 700; margin-bottom: 12px; line-height: 1.5; }
.footer-about { color: rgba(255,255,255,0.5); font-size: 14px; line-height: 1.8; max-width: 360px; }
.footer-bottom { border-top: 1px solid var(--border-dark); margin-top: 40px; padding-top: 22px; text-align: center; color: rgba(255,255,255,0.4); font-size: 13px; }

@media (max-width: 1023px) {
  .sidebar { display: none; }
  .main { margin-left: 0; }
  .mobile-header { display: flex; }
  .article-page { padding: 32px 0 56px; }
  .article-header h1 { font-size: 26px; }
  .article-cover img { aspect-ratio: 16 / 8; }
}

@media (max-width: 767px) {
  .container { padding: 0 16px; }
  .article-header h1 { font-size: 22px; line-height: 1.45; }
  .article-meta { gap: 12px; font-size: 13px; }
  .article-body p { font-size: 15px; line-height: 1.85; }
  .article-body h2 { font-size: 19px; }
  .article-body h3 { font-size: 17px; }
  .article-cover { margin-bottom: 28px; }
  .article-cover img { aspect-ratio: 16 / 10; }
  .related-section { margin-top: 48px; padding-top: 36px; }
  .related-section .sec-title { font-size: 20px; }
  .related-info h3 { font-size: 15px; }
  .footer { padding: 48px 0 20px; }
  .footer-brand { font-size: 16px; }
}

@media (max-width: 520px) {
  .breadcrumb .current { max-width: 180px; }
  .article-header h1 { font-size: 20px; }
  .article-body blockquote { padding: 12px 16px; }
  .article-body blockquote p { font-size: 14px; }
  .btn-solid, .btn-outline { padding: 9px 18px; font-size: 14px; }
  .related-thumb .badge { top: 8px; left: 8px; padding: 2px 10px; font-size: 12px; }
}
