:root {
  --primary-blue: #002b5b;
  --dark-blue: #001a35;
  --accent-green: #28a745;
  --light-gray: #f4f7f6;
  --text-main: #222;
  --text-muted: #666;
  --border-color: #e8e8e8;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; color: var(--text-main); background: #fff; }
a { text-decoration: none; color: inherit; }

/* ===== TOP BAR ===== */
.top-bar {
  background: #000; color: #ccc; font-size: 11px; padding: 6px 0;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.trending-label { color: var(--accent-green); font-weight: 800; white-space: nowrap; }
.trending-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 400px; }
.top-links a { color: #ccc; margin-left: 12px; transition: color .2s; }
.top-links a:hover { color: #fff; }

/* ===== HEADER ===== */
.site-header { padding: 15px 0; border-bottom: 2px solid var(--border-color); background: #fff; }
.header-main { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo-img { height: 150px; }
.search-wrap {
  flex: 1; max-width: 500px; display: flex;
  border: 1px solid #ddd; border-radius: 25px; overflow: hidden; background: #f9f9f9;
}
.search-wrap input { flex: 1; border: none; padding: 10px 16px; background: transparent; outline: none; font-size: 13px; }
.search-wrap button { border: none; background: var(--primary-blue); color: #fff; padding: 0 18px; cursor: pointer; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.live-tv-btn { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.live-tv-btn i { color: var(--primary-blue); font-size: 28px; }
.live-tv-btn span { font-weight: 700; font-size: 13px; line-height: 1.2; }
.live-tv-btn small { font-weight: 400; color: #888; display: block; }
.btn-subscribe {
  background: var(--accent-green); color: #fff; padding: 10px 18px;
  border-radius: 5px; font-weight: 600; font-size: 13px; white-space: nowrap; transition: background .2s;
}
.btn-subscribe:hover { background: #218838; color: #fff; }

/* ===== NAV ===== */
.main-nav { background: var(--primary-blue); position: sticky; top: 0; z-index: 1000; }
.main-nav .container { display: flex; align-items: center; }
.main-nav ul { display: flex; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.main-nav ul li a {
  display: block; padding: 13px 14px; color: #e8e8e8; font-size: 12px;
  font-weight: 700; letter-spacing: .4px; transition: background .2s, color .2s;
}
.main-nav ul li a:hover, .main-nav ul li a.active {
  background: var(--accent-green); color: #fff;
}
.nav-toggle { display: none; background: transparent; border: none; color: #fff; font-size: 20px; padding: 10px 0; }

/* ===== HERO ===== */
.hero-section {
  position: relative; min-height: 480px;
  background: var(--dark-blue) center/cover no-repeat;
  display: flex; align-items: center; overflow: hidden;
}
.hero-section::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,27,53,.92) 50%, rgba(0,27,53,.3));
}
.hero-content { position: relative; z-index: 2; max-width: 520px; padding: 40px 0; }
.tag-badge {
  display: inline-block; padding: 4px 12px; border-radius: 3px;
  font-size: 10px; font-weight: 800; letter-spacing: 1px; margin-bottom: 14px;
  background: #1a73e8; color: #fff;
}
.hero-content h1 { font-size: 34px; font-weight: 900; line-height: 1.15; color: #fff; margin-bottom: 14px; }
.hero-content p { font-size: 15px; color: rgba(255,255,255,.85); margin-bottom: 24px; }
.btn-read-story {
  background: var(--accent-green); color: #fff; padding: 12px 28px;
  border-radius: 4px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; transition: background .2s;
}
.btn-read-story:hover { background: #218838; color: #fff; }
.hero-dots { position: absolute; bottom: 20px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; z-index: 2; }
.hero-dots span {
  width: 28px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.4); display: inline-block;
}
.hero-dots span.active { background: var(--accent-green); }

/* ===== SECTION HEADER ===== */
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.section-header h3 { font-size: 18px; font-weight: 800; color: var(--primary-blue); border-left: 4px solid var(--accent-green); padding-left: 10px; }
.view-all-link { font-size: 12px; color: var(--accent-green); font-weight: 600; }
.view-all-link:hover { text-decoration: underline; }

/* ===== EDITOR'S PICKS ===== */
.editors-section { padding: 50px 0 30px; }
.main-pick-card { border-radius: 8px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.07); }
.main-pick-card img { width: 100%; height: 240px; object-fit: cover; }
.main-pick-card .card-info { padding: 16px; }
.main-pick-card h3 { font-size: 18px; font-weight: 800; margin: 6px 0 8px; line-height: 1.3; }
.cat-tag { font-size: 10px; font-weight: 800; text-transform: uppercase; }
.meta-info { font-size: 11px; color: #999; }
.side-pick-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border-color); }
.side-pick-item:last-child { border-bottom: none; }
.side-pick-item img { width: 90px; height: 65px; object-fit: cover; border-radius: 5px; flex-shrink: 0; }
.side-pick-item h5 { font-size: 13px; font-weight: 700; line-height: 1.35; margin: 4px 0 5px; }

/* ===== SIDEBAR ===== */
.sidebar-box {
  background: var(--dark-blue); color: #fff; border-radius: 10px; padding: 20px; margin-bottom: 24px;
}
.live-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.live-header h4 { font-size: 14px; font-weight: 800; }
.live-badge { font-size: 10px; display: flex; align-items: center; gap: 5px; }
.live-dot { width: 8px; height: 8px; background: red; border-radius: 50%; animation: pulse 1.5s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.update-item { border-bottom: 1px solid rgba(255,255,255,.1); padding: 12px 0; display: flex; gap: 14px; }
.update-item:last-child { border-bottom: none; }
.update-time { font-weight: 700; font-size: 12px; color: var(--accent-green); min-width: 38px; }
.update-title { font-size: 13px; margin-bottom: 3px; font-weight: 600; }
.update-cat { font-size: 10px; color: #aaa; text-transform: uppercase; }
.view-updates-link { display: block; text-align: center; margin-top: 12px; font-size: 12px; color: #aaa; transition: color .2s; }
.view-updates-link:hover { color: #fff; }

.newsletter-box {
  background: #fff; border: 1px solid var(--border-color); border-radius: 10px;
  padding: 22px; box-shadow: 0 3px 12px rgba(0,0,0,.04);
}
.newsletter-box h4 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.newsletter-box p { font-size: 12px; color: #777; margin-bottom: 14px; }
.newsletter-box .newsletter-form { display: flex; gap: 6px; }
.newsletter-form input { flex: 1; padding: 10px 12px; border: 1px solid #ddd; border-radius: 4px; font-size: 13px; outline: none; }
.newsletter-form button {
  background: var(--accent-green); color: #fff; border: none;
  padding: 0 14px; border-radius: 4px; font-weight: 600; cursor: pointer; white-space: nowrap;
}

/* ===== GLOBAL SECTION ===== */
.global-section { background: var(--dark-blue); color: #fff; padding: 50px 0; }
.global-section .section-header h3 { color: #fff; border-left-color: var(--accent-green); }
.global-card {
  background: rgba(255,255,255,.06); border-radius: 8px; overflow: hidden;
  transition: transform .25s, background .25s;
}
.global-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.12); }
.global-card img { width: 100%; height: 130px; object-fit: cover; }
.global-card .card-info { padding: 14px; }
.global-card h4 { font-size: 13px; font-weight: 700; line-height: 1.4; margin: 6px 0 6px; color: #fff; }
.global-card .meta-info { color: #aaa; font-size: 11px; }
.global-card .cat-tag { color: var(--accent-green) !important; }

/* ===== BUSINESS DIRECTORY ===== */
.directory-section { padding: 60px 0; }
.dir-section-label { font-size: 11px; font-weight: 800; color: var(--accent-green); text-transform: uppercase; letter-spacing: 1px; }
.dir-section-label + h3 { font-size: 20px; font-weight: 800; margin-top: 4px; color: var(--primary-blue); }
.dir-tagline { font-size: 12px; color: #888; margin-bottom: 16px; }
.dir-search-wrap { display: flex; border: 1px solid #ddd; border-radius: 5px; overflow: hidden; margin-bottom: 20px; }
.dir-search-wrap input { flex: 1; border: none; padding: 12px 14px; outline: none; font-size: 13px; }
.dir-search-wrap button { background: var(--accent-green); color: #fff; border: none; padding: 0 18px; cursor: pointer; font-weight: 600; }
.dir-cat-icons { display: flex; gap: 18px; color: #777; font-size: 11px; text-align: center; }
.dir-cat-icons div { cursor: pointer; transition: color .2s; }
.dir-cat-icons div:hover { color: var(--accent-green); }
.dir-cat-icons div i { display: block; font-size: 20px; margin-bottom: 4px; }

.biz-card { display: flex; align-items: center; gap: 10px; border: 1px solid #f0f0f0; padding: 10px; border-radius: 8px; transition: box-shadow .2s; }
.biz-card:hover { box-shadow: 0 3px 10px rgba(0,0,0,.08); }
.biz-logo {
  width: 44px; height: 44px; background: #eee; border-radius: 6px;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 11px; flex-shrink: 0; overflow: hidden;
}
.biz-logo img { width: 100%; height: 100%; object-fit: contain; }
.biz-name { font-size: 13px; font-weight: 700; margin-bottom: 2px; }
.biz-cat { font-size: 11px; color: #888; }
.biz-verified { font-size: 10px; color: var(--accent-green); font-weight: 600; }

.promo-box { background: var(--primary-blue); color: #fff; padding: 30px; border-radius: 10px; text-align: center; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.promo-box h4 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.promo-box p { font-size: 13px; opacity: .85; margin-bottom: 20px; }
.btn-advertise { background: var(--accent-green); color: #fff; padding: 11px 24px; border-radius: 5px; font-weight: 700; display: inline-block; transition: background .2s; }
.btn-advertise:hover { background: #218838; color: #fff; }

/* ===== ARTICLE PAGE ===== */
.article-header { padding: 40px 0 20px; }
.article-header h1 { font-size: 32px; font-weight: 900; line-height: 1.2; }
.article-featured-img { width: 100%; max-height: 480px; object-fit: cover; border-radius: 8px; margin-bottom: 28px; }
.article-body { font-size: 16px; line-height: 1.85; color: #333; }
.article-body p { margin-bottom: 18px; }
.article-body h2 { font-size: 22px; margin: 28px 0 14px; font-weight: 800; }

/* ===== FOOTER ===== */
.site-footer { background: var(--primary-blue); color: #ccc; margin-top: 0; }
.footer-top { padding: 50px 0 30px; }
.footer-logo { height: 50px; object-fit: contain; filter: brightness(0) invert(1); }
.footer-heading { color: #fff; font-size: 14px; font-weight: 800; margin-bottom: 16px; border-bottom: 2px solid var(--accent-green); padding-bottom: 8px; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #aaa; font-size: 13px; transition: color .2s; }
.footer-links a:hover { color: var(--accent-green); }
.footer-about { font-size: 13px; color: #aaa; line-height: 1.7; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; margin-right: 6px; transition: background .2s; font-size: 13px; }
.social-links a:hover { background: var(--accent-green); }
.footer-newsletter { display: flex; border-radius: 4px; overflow: hidden; border: 1px solid rgba(255,255,255,.2); }
.footer-newsletter input { flex: 1; border: none; padding: 10px 12px; background: rgba(255,255,255,.1); color: #fff; outline: none; font-size: 13px; }
.footer-newsletter input::placeholder { color: rgba(255,255,255,.5); }
.footer-newsletter button { background: var(--accent-green); color: #fff; border: none; padding: 0 14px; font-weight: 600; cursor: pointer; }

.stats-bar { background: var(--dark-blue); padding: 28px 0; }
.stat-item { display: flex; align-items: center; justify-content: center; gap: 14px; }
.stat-item i { font-size: 28px; opacity: .45; color: #fff; }
.stat-num { display: block; font-size: 22px; font-weight: 900; color: #fff; }
.stat-label { font-size: 11px; color: #aaa; }

.footer-bottom { background: #000; padding: 14px 0; }
.footer-bottom p { color: #666; font-size: 11px; margin: 0; }

/* ===== CATEGORY PAGE ===== */
.page-hero { background: var(--primary-blue); color: #fff; padding: 32px 0; margin-bottom: 40px; }
.page-hero h1 { font-size: 28px; font-weight: 900; }
.page-hero p { opacity: .75; font-size: 14px; }

/* ===== POST CARD ===== */
.post-card { border-radius: 8px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.06); transition: box-shadow .25s; height: 100%; display: flex; flex-direction: column; }
.post-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.1); }
.post-card-img { width: 100%; height: 180px; object-fit: cover; }
.post-card-body { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.post-card-body h5 { font-size: 14px; font-weight: 700; line-height: 1.4; flex: 1; margin: 6px 0 10px; }
.post-card-body .meta-info { font-size: 11px; color: #999; margin-top: auto; }

/* ===== PAGINATION ===== */
.pagination .page-link { color: var(--primary-blue); border-color: var(--border-color); }
.pagination .page-item.active .page-link { background: var(--primary-blue); border-color: var(--primary-blue); }

/* ===== SEARCH PAGE ===== */
.search-result-item { padding: 20px 0; border-bottom: 1px solid var(--border-color); display: flex; gap: 16px; }
.search-result-img { width: 120px; height: 80px; object-fit: cover; border-radius: 5px; flex-shrink: 0; }
.search-result-title { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.search-result-title a:hover { color: var(--accent-green); }
.search-result-excerpt { font-size: 13px; color: #666; }

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .header-main { flex-wrap: wrap; gap: 12px; }
  .search-wrap { order: 3; width: 100%; max-width: 100%; }
  .hero-content h1 { font-size: 26px; }
}
@media (max-width: 767px) {
  .main-nav ul { display: none; flex-direction: column; width: 100%; }
  .main-nav ul.open { display: flex; }
  .nav-toggle { display: block; }
  .header-actions .live-tv-btn { display: none; }
  .trending-text { max-width: 200px; }
}
