* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: Georgia, 'Times New Roman', serif; background: #f4f4f0; color: #222; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid #ddd; }
.header-top { max-width: 1100px; margin: 0 auto; padding: 1rem 1.5rem; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #eee; }
.logo a { text-decoration: none; }
.logo svg { display: block; }
.ad-banner-header { background: #f9f9f9; border: 1px dashed #ccc; display: flex; align-items: center; justify-content: center; color: #aaa; font-size: 11px; font-family: Arial, sans-serif; width: 320px; height: 50px; border-radius: 4px; }

nav { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; display: flex; overflow-x: auto; }
nav a { font-size: 13px; color: #555; padding: 0.7rem 1rem; text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; font-family: Arial, sans-serif; transition: color 0.15s, border-color 0.15s; }
nav a:hover { color: #0F6E56; border-color: #0F6E56; }
nav a.active { color: #0F6E56; border-color: #0F6E56; font-weight: 600; }

/* Leaderboard */
.leaderboard-wrap { max-width: 1100px; margin: 1rem auto; padding: 0 1.5rem; }
.ad-leaderboard { background: #f9f9f9; border: 1px dashed #ccc; display: flex; align-items: center; justify-content: center; color: #aaa; font-size: 12px; font-family: Arial, sans-serif; height: 90px; border-radius: 4px; }

/* Layout */
.main-wrap { max-width: 1100px; margin: 0 auto; padding: 1.5rem; display: grid; grid-template-columns: 1fr 300px; gap: 1.5rem; }

/* Article hero */
.article-hero { background: #fff; border: 1px solid #ddd; border-radius: 6px; overflow: hidden; margin-bottom: 1.5rem; }
.hero-img { height: 340px; display: flex; align-items: flex-end; padding: 1.5rem; }
.article-tag { display: inline-block; background: #0F6E56; color: #fff; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 3px; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.8px; font-family: Arial, sans-serif; }
.hero-title { font-size: 30px; color: #fff; line-height: 1.3; margin-bottom: 8px; }
.hero-meta { font-size: 13px; color: rgba(255,255,255,0.7); font-family: Arial, sans-serif; }

/* Article body */
.article-body { background: #fff; border: 1px solid #ddd; border-radius: 6px; padding: 2rem; }
.article-body h2 { font-size: 22px; color: #111; margin: 2rem 0 0.75rem; padding-bottom: 0.5rem; border-bottom: 2px solid #f0f0f0; }
.article-body h3 { font-size: 17px; color: #222; margin: 1.5rem 0 0.5rem; }
.article-body p { font-size: 16px; line-height: 1.9; color: #333; margin-bottom: 1.2rem; font-family: Georgia, serif; }
.article-body ul { margin: 0.5rem 0 1.2rem 1.5rem; }
.article-body ul li { font-size: 15px; line-height: 1.8; color: #333; margin-bottom: 0.3rem; font-family: Arial, sans-serif; }

/* Tip/warning boxes */
.tip-box { background: #E1F5EE; border-left: 4px solid #1D9E75; border-radius: 0 6px 6px 0; padding: 1rem 1.25rem; margin: 1.5rem 0; }
.tip-box strong { font-size: 13px; color: #0F6E56; text-transform: uppercase; letter-spacing: 0.5px; font-family: Arial, sans-serif; display: block; margin-bottom: 4px; }
.tip-box p { font-size: 14px; color: #1a5c44; line-height: 1.7; margin: 0; font-family: Arial, sans-serif; }

.warning-box { background: #FFF3E0; border-left: 4px solid #E65100; border-radius: 0 6px 6px 0; padding: 1rem 1.25rem; margin: 1.5rem 0; }
.warning-box strong { font-size: 13px; color: #BF360C; text-transform: uppercase; letter-spacing: 0.5px; font-family: Arial, sans-serif; display: block; margin-bottom: 4px; }
.warning-box p { font-size: 14px; color: #5d2000; line-height: 1.7; margin: 0; font-family: Arial, sans-serif; }

/* Section heading */
.section-heading { font-size: 11px; font-weight: 700; color: #888; text-transform: uppercase; letter-spacing: 1.2px; border-left: 3px solid #0F6E56; padding-left: 10px; margin-bottom: 1rem; font-family: Arial, sans-serif; }

/* Ads */
.ad-mid { background: #f9f9f9; border: 1px dashed #ccc; display: flex; align-items: center; justify-content: center; color: #aaa; font-size: 12px; font-family: Arial, sans-serif; height: 90px; border-radius: 4px; margin: 1.5rem 0; }
.ad-300 { background: #f9f9f9; border: 1px dashed #ccc; display: flex; align-items: center; justify-content: center; color: #aaa; font-size: 12px; font-family: Arial, sans-serif; height: 250px; border-radius: 6px; }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 1.25rem; }
.sidebar-widget { background: #fff; border: 1px solid #ddd; border-radius: 6px; padding: 1rem; }

.toc { list-style: none; }
.toc li { padding: 5px 0; border-bottom: 1px solid #f5f5f5; }
.toc li:last-child { border-bottom: none; }
.toc a { font-size: 13px; color: #0F6E56; text-decoration: none; font-family: Arial, sans-serif; }

.related-item { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid #f0f0f0; }
.related-item:last-child { border-bottom: none; }
.related-emoji { font-size: 22px; }
.related-title { font-size: 13px; color: #222; line-height: 1.4; font-weight: 600; font-family: Arial, sans-serif; }
.related-cat { font-size: 11px; color: #0F6E56; margin-top: 2px; font-family: Arial, sans-serif; }

/* Footer */
footer { background: #1a1a1a; color: #ccc; margin-top: 2rem; padding: 2.5rem 1.5rem 1rem; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-desc { font-size: 13px; color: #888; line-height: 1.7; font-family: Arial, sans-serif; margin-top: 8px; }
.footer-heading { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #666; margin-bottom: 12px; font-family: Arial, sans-serif; }
.footer-links { list-style: none; }
.footer-links li { padding: 4px 0; }
.footer-links a { font-size: 13px; color: #888; text-decoration: none; font-family: Arial, sans-serif; }
.footer-links a:hover { color: #5DCAA5; }
.footer-bottom { max-width: 1100px; margin: 0 auto; padding-top: 1.5rem; border-top: 1px solid #333; font-size: 12px; color: #555; font-family: Arial, sans-serif; display: flex; justify-content: space-between; }

@media (max-width: 768px) {
  .main-wrap { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .header-top { flex-direction: column; align-items: flex-start; gap: 10px; }
  .ad-banner-header { width: 100%; }
  .hero-title { font-size: 22px; }
}
