/* ===== ROOT VARIABLES ===== */
:root {
  --primary: #0f6fff;
  --primary-dark: #0050cc;
  --primary-light: #e8f1ff;
  --secondary: #ff6b35;
  --secondary-light: #fff3ee;
  --accent: #00c896;
  --dark: #0d1117;
  --dark-2: #161b22;
  --dark-3: #21262d;
  --text: #24292f;
  --text-muted: #57606a;
  --text-light: #8b949e;
  --border: #d0d7de;
  --border-light: #eaeef2;
  --white: #ffffff;
  --bg: #f6f8fa;
  --bg-card: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.14);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --font: 'Hind Siliguri', 'Noto Sans Bengali', 'Segoe UI', sans-serif;
  --transition: all 0.25s ease;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }

/* ===== UTILITY ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-muted { color: var(--text-muted); }
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 12px; border-radius: 50px; font-size: 12px; font-weight: 600;
  letter-spacing: 0.3px;
}
.badge-primary { background: var(--primary-light); color: var(--primary); }
.badge-secondary { background: var(--secondary-light); color: var(--secondary); }
.badge-accent { background: #e6faf5; color: var(--accent); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 600;
  transition: var(--transition); cursor: pointer;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(15,111,255,0.35); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { background: var(--primary-light); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.section-header { margin-bottom: 40px; }
.section-header h2 { font-size: 28px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.section-header p { color: var(--text-muted); font-size: 16px; }
.section-header .line {
  width: 48px; height: 4px; background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px; margin: 12px 0;
}
.divider { height: 1px; background: var(--border-light); margin: 0; }

/* ===== TOP BAR ===== */
.topbar {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar-left { display: flex; align-items: center; gap: 20px; }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.topbar a { color: rgba(255,255,255,0.75); }
.topbar a:hover { color: var(--primary); }
.topbar-ticker { display: flex; align-items: center; gap: 8px; overflow: hidden; max-width: 500px; }
.topbar-ticker span { white-space: nowrap; animation: ticker 30s linear infinite; }
@keyframes ticker { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }

/* ===== HEADER / NAVBAR ===== */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  position: sticky; top: 0; z-index: 1000;
  box-shadow: var(--shadow-sm);
}
.navbar { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 44px; width: auto; border-radius: 8px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text .name { font-size: 20px; font-weight: 800; color: var(--primary); letter-spacing: -0.5px; }
.logo-text .tagline { font-size: 11px; color: var(--text-muted); font-weight: 500; }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 14px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600;
  color: var(--text); transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--primary); background: var(--primary-light); }
.nav-link .arrow { font-size: 10px; transition: var(--transition); }
.nav-item:hover .arrow { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  min-width: 220px; padding: 8px; opacity: 0; visibility: hidden;
  transform: translateY(-8px); transition: var(--transition); z-index: 100;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--radius-sm); font-size: 14px; color: var(--text);
}
.dropdown a:hover { background: var(--primary-light); color: var(--primary); }
.dropdown a .icon { font-size: 16px; width: 24px; text-align: center; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.search-btn {
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  background: var(--bg); border: 1px solid var(--border-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 16px; transition: var(--transition);
}
.search-btn:hover { background: var(--primary-light); color: var(--primary); border-color: var(--primary); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; }
.hamburger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }

/* ===== SEARCH OVERLAY ===== */
.search-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  z-index: 2000; display: flex; align-items: flex-start; justify-content: center;
  padding-top: 80px; opacity: 0; visibility: hidden; transition: var(--transition);
  backdrop-filter: blur(4px);
}
.search-overlay.active { opacity: 1; visibility: visible; }
.search-box {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 24px; width: 100%; max-width: 600px; margin: 0 20px;
  box-shadow: var(--shadow-lg);
}
.search-input-wrap { display: flex; align-items: center; gap: 12px; border: 2px solid var(--primary); border-radius: var(--radius-sm); padding: 12px 16px; }
.search-input-wrap input { flex: 1; border: none; outline: none; font-size: 16px; font-family: var(--font); }
.search-input-wrap .s-icon { color: var(--primary); font-size: 18px; }
.search-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.search-tag { padding: 6px 14px; background: var(--bg); border-radius: 50px; font-size: 13px; color: var(--text-muted); cursor: pointer; border: 1px solid var(--border-light); transition: var(--transition); }
.search-tag:hover { background: var(--primary-light); color: var(--primary); border-color: var(--primary); }
.search-close { float: right; font-size: 20px; color: var(--text-muted); cursor: pointer; margin-bottom: 12px; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #0d1117 0%, #0f2044 50%, #0d1117 100%);
  padding: 80px 0 60px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(15,111,255,0.18) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 30%, rgba(255,107,53,0.12) 0%, transparent 50%);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(15,111,255,0.15); border: 1px solid rgba(15,111,255,0.3); color: #7eb8ff; padding: 6px 16px; border-radius: 50px; font-size: 13px; font-weight: 600; margin-bottom: 20px; }
.hero-badge .dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }
.hero h1 { font-size: 46px; font-weight: 800; color: var(--white); line-height: 1.2; margin-bottom: 20px; }
.hero h1 span { background: linear-gradient(135deg, var(--primary), #7eb8ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p { font-size: 17px; color: rgba(255,255,255,0.7); margin-bottom: 32px; line-height: 1.8; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; margin-top: 40px; }
.hero-stat { text-align: center; }
.hero-stat .num { font-size: 28px; font-weight: 800; color: var(--white); }
.hero-stat .label { font-size: 13px; color: rgba(255,255,255,0.5); }
.hero-visual { position: relative; }
.hero-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 20px; backdrop-filter: blur(10px);
  transition: var(--transition);
}
.hero-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); }
.hero-card .icon { font-size: 28px; margin-bottom: 10px; }
.hero-card .title { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.hero-card .desc { font-size: 12px; color: rgba(255,255,255,0.5); }
.hero-card.featured { grid-column: span 2; background: linear-gradient(135deg, rgba(15,111,255,0.2), rgba(0,200,150,0.1)); }

/* ===== CATEGORIES ===== */
.categories-section { background: var(--white); }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 28px 20px; border-radius: var(--radius); border: 2px solid var(--border-light);
  background: var(--white); transition: var(--transition); cursor: pointer;
  position: relative; overflow: hidden;
}
.cat-card::before {
  content: ''; position: absolute; inset: 0; opacity: 0;
  transition: var(--transition);
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cat-card:hover::before { opacity: 1; }
.cat-card .cat-icon {
  width: 64px; height: 64px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin-bottom: 14px; transition: var(--transition);
}
.cat-card:hover .cat-icon { transform: scale(1.1) rotate(-5deg); }
.cat-card h3 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.cat-card p { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.cat-card .count { margin-top: 10px; font-size: 12px; font-weight: 600; }

/* Category color themes */
.cat-online .cat-icon { background: #fff3e0; }
.cat-online:hover { border-color: #ff9800; }
.cat-online .count { color: #ff9800; }
.cat-freelance .cat-icon { background: #e3f2fd; }
.cat-freelance:hover { border-color: var(--primary); }
.cat-freelance .count { color: var(--primary); }
.cat-digital .cat-icon { background: #fce4ec; }
.cat-digital:hover { border-color: #e91e63; }
.cat-digital .count { color: #e91e63; }
.cat-ecommerce .cat-icon { background: #e8f5e9; }
.cat-ecommerce:hover { border-color: var(--accent); }
.cat-ecommerce .count { color: var(--accent); }
.cat-passive .cat-icon { background: #ede7f6; }
.cat-passive:hover { border-color: #7c3aed; }
.cat-passive .count { color: #7c3aed; }
.cat-app .cat-icon { background: #e0f7fa; }
.cat-app:hover { border-color: #00bcd4; }
.cat-app .count { color: #00bcd4; }
.cat-news .cat-icon { background: #fff8e1; }
.cat-news:hover { border-color: var(--secondary); }
.cat-news .count { color: var(--secondary); }
.cat-business .cat-icon { background: #f3e5f5; }
.cat-business:hover { border-color: #9c27b0; }
.cat-business .count { color: #9c27b0; }

/* ===== FEATURED POSTS ===== */
.featured-section { background: var(--bg); }
.featured-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.post-card-main {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid var(--border-light);
}
.post-card-main:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.post-card-main .thumb { position: relative; overflow: hidden; height: 280px; }
.post-card-main .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.post-card-main:hover .thumb img { transform: scale(1.05); }
.post-card-main .thumb .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
}
.post-card-main .thumb .cat-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--primary); color: var(--white);
  padding: 5px 12px; border-radius: 50px; font-size: 12px; font-weight: 600;
}
.post-card-main .content { padding: 24px; }
.post-card-main h2 { font-size: 22px; font-weight: 700; color: var(--dark); margin-bottom: 10px; line-height: 1.4; }
.post-card-main h2 a:hover { color: var(--primary); }
.post-card-main .excerpt { color: var(--text-muted); font-size: 15px; line-height: 1.7; margin-bottom: 16px; }
.post-meta { display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--text-light); flex-wrap: wrap; }
.post-meta .author { display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--text-muted); }
.post-meta .author img { width: 24px; height: 24px; border-radius: 50%; }
.post-meta span { display: flex; align-items: center; gap: 4px; }
.sidebar-posts { display: flex; flex-direction: column; gap: 16px; }
.post-card-sm {
  display: flex; gap: 14px; background: var(--white);
  border-radius: var(--radius); padding: 16px; border: 1px solid var(--border-light);
  transition: var(--transition);
}
.post-card-sm:hover { box-shadow: var(--shadow); transform: translateX(4px); }
.post-card-sm .thumb { width: 90px; height: 70px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; }
.post-card-sm .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card-sm .info { flex: 1; }
.post-card-sm .cat { font-size: 11px; font-weight: 600; color: var(--primary); margin-bottom: 4px; }
.post-card-sm h4 { font-size: 14px; font-weight: 600; color: var(--dark); line-height: 1.4; margin-bottom: 6px; }
.post-card-sm h4 a:hover { color: var(--primary); }
.post-card-sm .date { font-size: 12px; color: var(--text-light); }

/* ===== POST GRID ===== */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border-light); transition: var(--transition);
}
.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.post-card .thumb { position: relative; overflow: hidden; height: 200px; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.post-card:hover .thumb img { transform: scale(1.08); }
.post-card .cat-tag {
  position: absolute; top: 12px; left: 12px;
  padding: 4px 10px; border-radius: 50px; font-size: 11px; font-weight: 700;
  background: var(--primary); color: var(--white);
}
.post-card .content { padding: 20px; }
.post-card h3 { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 8px; line-height: 1.5; }
.post-card h3 a:hover { color: var(--primary); }
.post-card .excerpt { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-card .footer { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--border-light); }
.post-card .read-more { font-size: 13px; font-weight: 600; color: var(--primary); display: flex; align-items: center; gap: 4px; }
.post-card .read-more:hover { gap: 8px; }

/* ===== TRENDING ===== */
.trending-section { background: var(--white); }
.trending-list { display: flex; flex-direction: column; gap: 0; }
.trending-item {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}
.trending-item:last-child { border-bottom: none; }
.trending-item:hover { padding-left: 8px; }
.trending-num {
  font-size: 28px; font-weight: 900; color: var(--border);
  min-width: 40px; line-height: 1;
}
.trending-item:nth-child(1) .trending-num { color: #ffd700; }
.trending-item:nth-child(2) .trending-num { color: #c0c0c0; }
.trending-item:nth-child(3) .trending-num { color: #cd7f32; }
.trending-info h4 { font-size: 15px; font-weight: 600; color: var(--dark); margin-bottom: 4px; line-height: 1.4; }
.trending-info h4 a:hover { color: var(--primary); }
.trending-info .meta { font-size: 12px; color: var(--text-light); display: flex; gap: 10px; }

/* ===== NEWSLETTER ===== */
.newsletter-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 72px 0; position: relative; overflow: hidden;
}
.newsletter-section::before {
  content: ''; position: absolute; top: -50%; right: -10%;
  width: 500px; height: 500px; background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.newsletter-content { position: relative; z-index: 1; text-align: center; max-width: 600px; margin: 0 auto; }
.newsletter-content h2 { font-size: 32px; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.newsletter-content p { color: rgba(255,255,255,0.8); font-size: 16px; margin-bottom: 32px; }
.newsletter-form { display: flex; gap: 0; max-width: 480px; margin: 0 auto; border-radius: var(--radius-sm); overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,0.2); }
.newsletter-form input {
  flex: 1; padding: 16px 20px; border: none; outline: none;
  font-size: 15px; font-family: var(--font);
}
.newsletter-form button { padding: 16px 28px; background: var(--secondary); color: var(--white); font-size: 15px; font-weight: 700; white-space: nowrap; transition: var(--transition); }
.newsletter-form button:hover { background: #e55a25; }

/* ===== TOOLS SECTION ===== */
.tools-section { background: var(--bg); }
.tools-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tool-card {
  background: var(--white); border-radius: var(--radius); padding: 24px 20px;
  text-align: center; border: 1px solid var(--border-light); transition: var(--transition);
}
.tool-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--primary); }
.tool-card .icon { font-size: 36px; margin-bottom: 12px; }
.tool-card h4 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.tool-card p { font-size: 13px; color: var(--text-muted); }

/* ===== FOOTER ===== */
.footer { background: var(--dark); color: rgba(255,255,255,0.75); }
.footer-top { padding: 64px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo .name { color: var(--white); }
.footer-brand p { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,0.55); margin-bottom: 20px; }
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: rgba(255,255,255,0.6); transition: var(--transition);
}
.social-link:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }
.footer-col h4 { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 28px; height: 3px; background: var(--primary); border-radius: 2px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.55); display: flex; align-items: center; gap: 6px; }
.footer-col ul li a:hover { color: var(--primary); padding-left: 4px; }
.footer-col ul li a::before { content: '›'; font-size: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-bottom-links a:hover { color: var(--primary); }

/* ===== BREADCRUMB ===== */
.breadcrumb { padding: 14px 0; background: var(--white); border-bottom: 1px solid var(--border-light); }
.breadcrumb-list { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.breadcrumb-list li { display: flex; align-items: center; gap: 8px; color: var(--text-muted); }
.breadcrumb-list li:last-child { color: var(--text); font-weight: 600; }
.breadcrumb-list a:hover { color: var(--primary); }
.breadcrumb-list .sep { color: var(--border); }

/* ===== ARTICLE PAGE ===== */
.article-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; padding: 40px 0 72px; }
.article-header { margin-bottom: 28px; }
.article-header .cat-badge { margin-bottom: 14px; }
.article-header h1 { font-size: 32px; font-weight: 800; color: var(--dark); line-height: 1.35; margin-bottom: 16px; }
.article-header .meta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 16px 0; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); margin-bottom: 24px; }
.article-header .author-info { display: flex; align-items: center; gap: 10px; }
.article-header .author-info img { width: 40px; height: 40px; border-radius: 50%; }
.article-header .author-info .name { font-size: 14px; font-weight: 700; color: var(--dark); }
.article-header .author-info .role { font-size: 12px; color: var(--text-muted); }
.article-thumb { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 32px; }
.article-thumb img { width: 100%; height: 420px; object-fit: cover; }
.article-body { font-size: 16px; line-height: 1.9; color: var(--text); }
.article-body h2 { font-size: 24px; font-weight: 700; color: var(--dark); margin: 32px 0 16px; }
.article-body h3 { font-size: 20px; font-weight: 700; color: var(--dark); margin: 24px 0 12px; }
.article-body p { margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 16px 0 20px 24px; }
.article-body li { margin-bottom: 8px; }
.article-body blockquote {
  border-left: 4px solid var(--primary); background: var(--primary-light);
  padding: 16px 20px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0; font-style: italic; color: var(--text-muted);
}
.article-body .tip-box {
  background: #e6faf5; border: 1px solid #00c896; border-radius: var(--radius);
  padding: 20px; margin: 24px 0;
}
.article-body .tip-box .tip-title { font-weight: 700; color: var(--accent); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.article-body .warning-box {
  background: #fff8e1; border: 1px solid #ffc107; border-radius: var(--radius);
  padding: 20px; margin: 24px 0;
}
.article-body .warning-box .warn-title { font-weight: 700; color: #f59e0b; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border-light); }
.article-tags .tag { padding: 6px 14px; background: var(--bg); border: 1px solid var(--border-light); border-radius: 50px; font-size: 13px; color: var(--text-muted); transition: var(--transition); }
.article-tags .tag:hover { background: var(--primary-light); color: var(--primary); border-color: var(--primary); }
.share-section { margin-top: 32px; padding: 24px; background: var(--bg); border-radius: var(--radius); }
.share-section h4 { font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.share-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.post-share { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 28px 0; padding: 20px; background: var(--bg); border-radius: var(--radius-lg); }
.post-share > span { font-weight: 700; font-size: 14px; color: var(--text-muted); }
.share-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; color: white !important; text-decoration: none; transition: var(--transition); }
.share-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); opacity: 0.9; }
.share-btn.fb { background: #1877f2; }
.share-btn.tw { background: #1da1f2; }
.share-btn.li { background: #0a66c2; }
.share-btn.wa { background: #25d366; }
.share-fb { background: #1877f2; }
.share-tw { background: #1da1f2; }
.share-wa { background: #25d366; }
.share-ln { background: #0077b5; }

/* ===== SIDEBAR ===== */
.sidebar { display: flex; flex-direction: column; gap: 24px; }
.widget { background: var(--white); border-radius: var(--radius); border: 1px solid var(--border-light); overflow: hidden; }
.widget-header { padding: 16px 20px; border-bottom: 1px solid var(--border-light); display: flex; align-items: center; gap: 10px; }
.widget-header h3 { font-size: 16px; font-weight: 700; color: var(--dark); }
.widget-header .icon { font-size: 18px; }
.widget-body { padding: 20px; }
.widget-posts { display: flex; flex-direction: column; gap: 14px; }
.widget-post { display: flex; gap: 12px; }
.widget-post .thumb { width: 70px; height: 56px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; }
.widget-post .thumb img { width: 100%; height: 100%; object-fit: cover; }
.widget-post h5 { font-size: 13px; font-weight: 600; color: var(--dark); line-height: 1.4; margin-bottom: 4px; }
.widget-post h5 a:hover { color: var(--primary); }
.widget-post .date { font-size: 11px; color: var(--text-light); }
.widget-cats { display: flex; flex-direction: column; gap: 4px; }
.widget-cat-item { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: var(--radius-sm); transition: var(--transition); }
.widget-cat-item:hover { background: var(--primary-light); }
.widget-cat-item .cat-name { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text); }
.widget-cat-item .cat-count { font-size: 12px; font-weight: 600; background: var(--bg); padding: 2px 8px; border-radius: 50px; color: var(--text-muted); }
.widget-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.widget-tag { padding: 6px 12px; background: var(--bg); border: 1px solid var(--border-light); border-radius: 50px; font-size: 12px; color: var(--text-muted); transition: var(--transition); }
.widget-tag:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ===== ABOUT PAGE ===== */
.about-hero { background: linear-gradient(135deg, var(--dark) 0%, #0f2044 100%); padding: 80px 0; text-align: center; }
.about-hero h1 { font-size: 42px; font-weight: 800; color: var(--white); margin-bottom: 16px; }
.about-hero p { font-size: 18px; color: rgba(255,255,255,0.7); max-width: 600px; margin: 0 auto; }
.about-content { padding: 72px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text h2 { font-size: 30px; font-weight: 800; color: var(--dark); margin-bottom: 16px; }
.about-text p { color: var(--text-muted); font-size: 16px; line-height: 1.8; margin-bottom: 16px; }
.about-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-img img { width: 100%; }
.team-section { background: var(--bg); padding: 72px 0; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; text-align: center; border: 1px solid var(--border-light); transition: var(--transition); }
.team-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.team-card .avatar { width: 100%; height: 200px; object-fit: cover; }
.team-card .info { padding: 20px; }
.team-card .name { font-size: 18px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.team-card .role { font-size: 14px; color: var(--primary); font-weight: 600; margin-bottom: 10px; }
.team-card .bio { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ===== CONTACT PAGE ===== */
.contact-section { padding: 72px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info h2 { font-size: 30px; font-weight: 800; color: var(--dark); margin-bottom: 16px; }
.contact-info p { color: var(--text-muted); font-size: 16px; line-height: 1.8; margin-bottom: 32px; }
.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; gap: 16px; }
.contact-item .icon-wrap { width: 48px; height: 48px; border-radius: var(--radius-sm); background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.contact-item .text h4 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.contact-item .text p { font-size: 14px; color: var(--text-muted); }
.contact-form { background: var(--white); border-radius: var(--radius-lg); padding: 36px; border: 1px solid var(--border-light); box-shadow: var(--shadow); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.form-control {
  width: 100%; padding: 12px 16px; border: 2px solid var(--border-light);
  border-radius: var(--radius-sm); font-size: 15px; font-family: var(--font);
  outline: none; transition: var(--transition); background: var(--bg);
}
.form-control:focus { border-color: var(--primary); background: var(--white); }
textarea.form-control { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ===== PAGINATION ===== */
.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 48px; }
.page-btn {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600; border: 1px solid var(--border-light);
  color: var(--text-muted); background: var(--white); transition: var(--transition);
}
.page-btn:hover, .page-btn.active { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 44px; height: 44px; background: var(--primary); color: var(--white);
  border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
  font-size: 18px; box-shadow: var(--shadow-lg); cursor: pointer;
  opacity: 0; visibility: hidden; transition: var(--transition); z-index: 999;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-4px); }

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed; top: 0; right: -100%; width: 300px; height: 100vh;
  background: var(--white); z-index: 2000; padding: 24px;
  box-shadow: var(--shadow-lg); transition: right 0.3s ease; overflow-y: auto;
}
.mobile-menu.open { right: 0; }
.mobile-menu-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 1999; opacity: 0; visibility: hidden; transition: var(--transition);
}
.mobile-menu-overlay.active { opacity: 1; visibility: visible; }
.mobile-menu-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.mobile-menu-close { font-size: 24px; color: var(--text-muted); cursor: pointer; }
.mobile-nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 600; color: var(--text); transition: var(--transition); }
.mobile-nav a:hover { background: var(--primary-light); color: var(--primary); }
.mobile-nav .section-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-light); padding: 16px 14px 6px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .hero-visual { display: none; }
  .hero-stats { gap: 20px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-grid { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .nav-menu, .nav-actions .btn { display: none; }
  .hamburger { display: flex; }
  .topbar-left .ticker-wrap { display: none; }
  .sidebar { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; border-radius: var(--radius); }
  .newsletter-form input, .newsletter-form button { border-radius: var(--radius-sm); }
  .section { padding: 48px 0; }
  .article-header h1 { font-size: 24px; }
  .article-thumb img { height: 240px; }
}
@media (max-width: 480px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { flex-wrap: wrap; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* ===== ADSENSE ===== */
.adsense-slot { text-align: center; overflow: hidden; }
.adsense-header .adsbygoogle { min-height: 90px; }
.adsense-sidebar .adsbygoogle { min-height: 250px; }
