@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Roboto', Arial, sans-serif; font-size: 16px; line-height: 1.4; background: #f0f0f0; color: #222; }
a { text-decoration: none; color: #0000ee; }
a:hover { text-decoration: underline; color: #ff0000; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 15px; }

/* === HEADER === */
.site-header { background: #edbd79; position: relative; }
.header-inner { display: flex; align-items: center; padding: 20px 0; gap: 20px; }
.site-logo { flex-shrink: 0; }
.site-logo img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 3px solid #612625; }
.site-logo-fallback { width: 120px; height: 120px; border-radius: 50%; background: #612625; display: flex; align-items: center; justify-content: center; color: #edbd79; font-size: 44px; border: 3px solid #612625; }
.site-branding { text-align: center; flex: 1; }
.site-branding h1 { font-family: Arial, sans-serif; font-weight: 900; font-size: 42px; line-height: 1.1; text-transform: uppercase; color: #612625; margin: 0; }
.site-branding h1 a { color: #612625; text-decoration: none; }
.site-branding .tagline { font-family: Arial, sans-serif; font-weight: 900; font-size: 16px; text-transform: uppercase; color: #612625; margin-top: 4px; }

/* === NAVIGATION === */
.main-nav { background: #612625; }
.nav-bar-mobile { display: none; align-items: center; padding: 8px 0; }
.menu-toggle { background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; padding: 6px 10px; border-radius: 4px; }
.menu-toggle:hover { background: rgba(255,255,255,0.15); }
.search-toggle { background: none; border: none; color: #fff; font-size: 20px; cursor: pointer; padding: 6px 10px; border-radius: 4px; margin-left: auto; }
.search-toggle:hover { background: rgba(255,255,255,0.15); }
.mobile-search-expand { display: none; padding: 0 15px 8px; background: #612625; }
.mobile-search-expand.show { display: flex; }
.mobile-search-input { flex: 1; padding: 8px 12px; border: none; border-radius: 4px 0 0 4px; font-size: 14px; outline: none; }
.mobile-search-btn { padding: 8px 14px; background: #edbd79; color: #612625; border: none; font-weight: 700; cursor: pointer; border-radius: 0 4px 4px 0; font-size: 14px; }
.nav-inner { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; }
.nav-inner a { color: #fff; padding: 10px 13px; font-weight: 700; font-size: 15px; display: block; text-decoration: none; border-right: 1px solid rgba(255,255,255,0.3); transition: background 0.2s; }
.nav-inner a:hover { background: rgba(255,255,255,0.15); text-decoration: none; }
.nav-inner .search-btn { margin-left: auto; }

/* === HOMEPAGE SEARCH BAR === */
.homepage-search-bar { background: #fff; border-bottom: 2px solid #612625; padding: 12px 0; }
.homepage-search-form { display: flex; max-width: 700px; margin: 0 auto; }
.homepage-search-input { flex: 1; padding: 12px 16px; font-size: 16px; border: 2px solid #612625; border-right: none; border-radius: 6px 0 0 6px; outline: none; }
.homepage-search-input:focus { border-color: #d3681f; }
.homepage-search-btn { padding: 12px 24px; background: #612625; color: #fff; border: 2px solid #612625; font-weight: 700; font-size: 16px; cursor: pointer; border-radius: 0 6px 6px 0; transition: background 0.2s; }
.homepage-search-btn:hover { background: #d3681f; border-color: #d3681f; }

/* === INFO / MARQUEE AREA === */
.info-section { background: #fff; padding: 10px 0; border-bottom: 3px solid #612625; }
.info-inner { max-width: 1100px; margin: 0 auto; padding: 0 10px; }
.info-heading { text-align: center; margin-bottom: 8px; }
.info-heading h2 { font-size: 18px; color: #000; font-weight: 700; font-family: Arial; }
.info-heading p { color: #ff0000; font-weight: 900; font-size: 14px; font-family: 'Arial Black', Arial; }

/* COLOR BOXES GRID */
.color-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; margin: 8px 0; }
.color-grid a { display: block; text-align: center; padding: 8px 4px; color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; line-height: 1.3; border: 2px solid #fff; transition: transform 0.2s; }
.color-grid a:hover { transform: scale(1.03); color: #fff; text-decoration: none; }

/* MARQUEE */
.marquee-row { background: #fff; padding: 5px 0; margin: 3px 0; }
.marquee-row marquee a { font-weight: 700; font-size: 14px; color: #0000ee; text-decoration: none; margin: 0 8px; }
.marquee-row marquee .sep { margin: 0 6px; color: #999; font-weight: 700; }

/* SOCIAL BUTTONS */
.social-btn-row { display: flex; gap: 8px; justify-content: center; margin-top: 8px; }
.social-pill { display: inline-flex; align-items: center; border-radius: 20px; color: #fff; font-weight: 700; font-size: 12px; padding: 4px 14px 4px 8px; text-decoration: none; }
.social-pill i { margin-right: 4px; font-size: 14px; }
.social-telegram { background: #0088cc; }
.social-whatsapp { background: #25d366; }
.social-youtube { background: #ff0000; }
.social-facebook { background: #1877f2; }
.social-x { background: #000; }
.social-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }

/* === PAGES === */
.page-content { background: #fff; }
.page-wrap { max-width: 900px; margin: 0 auto; }
.page-title { font-size: 26px; font-weight: 700; color: #612625; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 3px solid #612625; }
.page-body { line-height: 1.8; color: #333; }
.page-body h2 { font-size: 22px; color: #612625; margin: 25px 0 12px; }
.page-body h3 { font-size: 18px; color: #1a1a1a; margin: 20px 0 10px; }
.page-body p { margin-bottom: 12px; }
.page-body ul, .page-body ol { margin: 0 0 12px 20px; }
.page-body li { margin-bottom: 6px; }
.page-body a { color: #0000ee; }
.page-body a:hover { color: #ff0000; }
@media (max-width: 768px) {
  .page-title { font-size: 20px; }
  .page-body h2 { font-size: 18px; }
  .page-body h3 { font-size: 16px; }
}

/* === CONTENT AREA === */
.content-area { max-width: 1100px; margin: 0 auto; padding: 15px 10px; }

/* === FLEX CATEGORY BOXES === */
.flex-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 15px; width: 100%; }
.flex-box { border: 2px solid #d3681f; display: flex; flex-direction: column; background: #fff; }
.flex-box header { background: #7a312e; color: #fff; padding: 6px 8px; text-align: center; }
.flex-box header h2 { margin: 0; font-family: Arial, sans-serif; font-size: 18px; font-weight: 700; }
.flex-box article { flex: 1; padding: 8px 10px; font-size: 14px; }
.flex-box article ul { list-style: none; padding: 0; margin: 0; }
.flex-box article li { padding: 4px 0; border-bottom: 1px dotted #ddd; }
.flex-box article li:last-child { border-bottom: none; }
.flex-box article a { color: #0000ee; font-weight: 700; text-decoration: none; font-size: 14px; }
.flex-box article a:hover { color: #ff0000; }
.flex-box footer { padding: 8px; text-align: right; }
.flex-box footer a { font-weight: 700; font-size: 16px; color: #0501a1; text-decoration: none; }
.flex-box footer a:hover { color: #ff0000; }
.new-tag { background: #ff0000; color: #fff; font-size: 9px; font-weight: 700; padding: 1px 5px; border-radius: 2px; margin-right: 4px; animation: blink 1s infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.2; } }

/* === SINGLE POST === */
.post-wrap { display: flex; gap: 20px; }
.post-main { flex: 1; min-width: 0; }
.post-sidebar { width: 300px; flex-shrink: 0; }
@media (max-width: 992px) {
  .post-wrap { flex-direction: column; }
  .post-sidebar { width: 100%; }
}
.post-breadcrumb { padding: 10px 0; border-bottom: 1px solid #eee; margin-bottom: 15px; font-size: 12px; color: #888; }
.post-breadcrumb a { color: #612625; }
.post-title { font-size: 20px; font-weight: 700; color: #1a1a1a; margin-bottom: 10px; line-height: 1.4; }
.post-meta { font-size: 12px; color: #888; margin-bottom: 15px; display: flex; gap: 15px; flex-wrap: wrap; align-items: center; }
.post-meta .badge-cat { background: #612625; color: #fff; padding: 2px 8px; border-radius: 3px; font-size: 11px; }
.post-featured-img { max-width: 100%; height: auto; border-radius: 4px; margin-bottom: 15px; }
.post-content { line-height: 1.8; color: #333; }
.post-content p { margin-bottom: 12px; }
.post-content img { max-width: 100%; height: auto; }
.post-content a { color: #0000ee; }
.post-content h3, .post-content h4 { color: #612625; margin: 18px 0 10px; }

/* === RELATED POSTS CARDS === */
.related-heading { color: #612625; font-size: 22px; margin-bottom: 15px; padding-bottom: 8px; border-bottom: 3px solid #612625; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.related-card { display: flex; flex-direction: column; background: #fff; border-radius: 8px; overflow: hidden; text-decoration: none; color: #222; border: 1px solid #e0e0e0; transition: transform 0.2s, box-shadow 0.2s; }
.related-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.12); text-decoration: none; color: #222; }
.related-card-thumb { position: relative; width: 100%; height: 0; padding-bottom: 56.25%; overflow: hidden; background: #f0f0f0; }
.related-card-thumb img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.related-card-placeholder { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #f5f5f5, #e0e0e0); color: #aaa; font-size: 32px; }
.related-card-thumb .new-tag { position: absolute; top: 6px; left: 6px; z-index: 1; }
.related-card-body { padding: 10px 12px; flex: 1; display: flex; flex-direction: column; }
.related-card-cat { font-size: 11px; color: #d3681f; font-weight: 700; text-transform: uppercase; margin-bottom: 4px; }
.related-card-body h3 { font-size: 14px; font-weight: 700; line-height: 1.4; margin: 0; color: #1a1a1a; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 600px) {
  .related-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .related-card-body h3 { font-size: 13px; }
}

/* === BN POST HEADER BOX (Label-Value Grid) === */
.bn-post-header-box { margin-bottom: 20px; font-size: 16px; }
.bn-post-header-box .bn-row { display: grid; grid-template-columns: 170px 1fr; column-gap: 10px; margin-bottom: 10px; align-items: start; }
.bn-post-header-box .bn-row .bn-label { font-weight: bold; color: #d00; line-height: 1.4; }
.bn-post-header-box .bn-row .bn-value { color: #003399; font-size: 15px; font-weight: normal; line-height: 1.5; word-break: break-word; }
.bn-post-header-box .bn-row:first-child .bn-value { font-size: 25px; font-weight: 700; line-height: 1.35; color: #000; }
@media (max-width: 600px) {
  .bn-post-header-box .bn-row { grid-template-columns: 1fr; }
  .bn-post-header-box .bn-row .bn-label { margin-bottom: 4px; }
  .bn-post-header-box .bn-row:first-child .bn-value { font-size: 18px; }
}

/* === SARKARI-STYLE TABLE SYSTEM === */
.bn-table { width: 100%; border-collapse: collapse; margin: 0; font-size: 15px; }
.bn-table + .bn-table { margin: 0; }
.bn-table th, .bn-table td { border: 1px solid #000; padding: 7px; vertical-align: top; text-align: left; line-height: 1.6; }
.bn-table th { background: #ffffff; color: #000; font-weight: bold; font-size: 20px; text-align: center; }
.bn-table th h2 { margin: 0; font-size: 20px; color: #000; line-height: 1.4; }
.bn-table th.bn-th-red { background: #5c1802; color: #fff; font-size: 15px; border-color: #5c1802; text-align: center; }
.bn-table th.bn-th-green { background: #1b8a1b; color: #fff; font-size: 15px; border-color: #1b8a1b; text-align: center; }
.bn-table thead th { border-color: #000; }
.bn-table tbody tr:nth-child(even) { background: #f9f9f9; }
.bn-table tbody tr:hover { background: #fff3e0; }
.bn-site-brand { text-align: center; font-weight: bold; color: #d00; font-size: 15px; background: #fffbe6; padding: 8px; letter-spacing: 1px; border: 1px solid #000; }
.bn-list { list-style: disc; padding-left: 20px; margin: 0; }
.bn-list li { padding: 2px 0; line-height: 1.7; }
.bn-section-title { color: #612625; font-size: 20px; margin: 15px 0 5px 0; padding: 5px 0; border-bottom: 2px solid #612625; }
.bn-list-ol { margin: 10px 0 15px 20px; line-height: 2; }
.bn-link { color: #0000ee; font-weight: 600; text-decoration: none; }
.bn-link:hover { color: #ff0000; text-decoration: underline; }
.bn-center { text-align: center; }
.bn-highlight { color: #d00; font-weight: bold; }
.bn-title { text-align: center; font-weight: bold; margin: 10px 0; }

/* === SHARE BUTTONS === */
.share-section { margin-top: 15px; padding-top: 15px; border-top: 1px solid #eee; text-align: center; }
.share-section strong { display: block; margin-bottom: 8px; font-size: 14px; color: #333; }
.share-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.share-btn { display: inline-flex; align-items: center; gap: 5px; padding: 8px 16px; border-radius: 25px; color: #fff !important; font-weight: 700; font-size: 14px; text-decoration: none; border: none; cursor: pointer; transition: opacity 0.2s, transform 0.2s; white-space: nowrap; }
.share-btn:hover { opacity: 0.9; color: #fff !important; text-decoration: none; transform: translateY(-1px); }
.share-btn i { font-size: 16px; }
.share-whatsapp { background: #25d366; }
.share-telegram { background: #0088cc; }
.share-copy { background: #555; }
@media (max-width: 480px) {
  .share-buttons { gap: 6px; }
  .share-btn { padding: 7px 12px; font-size: 12px; }
  .share-btn i { font-size: 14px; }
}

/* Social join buttons inside posts */
.bn-social-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; border-radius: 25px; color: #fff !important; font-weight: 700; font-size: 14px; text-decoration: none !important; margin: 4px; transition: opacity 0.2s; }
.bn-social-btn:hover { opacity: 0.9; color: #fff !important; text-decoration: none !important; }
.post-content p:has(.bn-social-btn) { text-align: center; }
.post-content .bn-social-btn { text-align: center; }
.bn-social-btn-whatsapp { background: #25d366; }
.bn-social-btn-telegram { background: #0088cc; }
.bn-social-btn-youtube { background: #ff0000; }
.bn-social-btn-facebook { background: #1877f2; }
.bn-social-btn-x { background: #000; }
.bn-social-btn-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.bn-post-header-box { margin-bottom: 20px; }

/* FAQ section */
.bn-faq { margin: 15px 0; }
.bn-faq h3 { color: #612625; font-size: 20px; margin-bottom: 10px; }
.bn-faq-item { background: #f9f9f9; border-left: 4px solid #612625; padding: 10px 15px; margin-bottom: 8px; }
.bn-faq-q { font-weight: 700; color: #222; margin-bottom: 3px; }
.bn-faq-a { color: #444; font-size: 15px; }

@media (max-width: 600px) {
  .bn-post-header-box .bn-row { grid-template-columns: 1fr; }
  .bn-post-header-box .bn-row .bn-label { margin-bottom: 4px; }
  .bn-post-header-box .bn-row:first-child .bn-value { font-size: 18px; }
}

/* === SIDEBAR === */
.sidebar-widget { background: #fff; border: 1px solid #ddd; margin-bottom: 15px; }
.sidebar-widget-title { background: #612625; color: #fff; padding: 10px 14px; font-size: 14px; font-weight: 700; }
.sidebar-widget ul { list-style: none; padding: 0; margin: 0; }
.sidebar-widget li { padding: 8px 14px; border-bottom: 1px solid #f0f0f0; }
.sidebar-widget li:last-child { border-bottom: none; }
.sidebar-widget li a { color: #333; font-size: 13px; }
.sidebar-widget li a:hover { color: #612625; }

/* === FOOTER === */
.site-footer { background: #1a1a2e; color: #ccc; padding: 30px 0 0; margin-top: 25px; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 25px; padding: 0 15px; }
.footer-col h4 { color: #ffd700; font-size: 16px; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid #ffd700; display: inline-block; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 6px; }
.footer-col a { color: #ccc; font-size: 13px; }
.footer-col a:hover { color: #ffd700; text-decoration: none; }
.footer-col p { font-size: 13px; line-height: 1.7; }
.social-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.social-row a { display: inline-flex; align-items: center; border-radius: 20px; color: #fff; font-weight: 700; font-size: 11px; padding: 4px 12px 4px 8px; text-decoration: none; }
.footer-bottom { background: #111128; padding: 12px; text-align: center; margin-top: 20px; font-size: 13px; }

/* === RESPONSIVE === */
@media (max-width: 992px) {
  .post-wrap { flex-direction: column; }
  .post-sidebar { width: 100%; }
  .header-inner { flex-wrap: wrap; }
  .site-branding h1 { font-size: 32px; }
  .flex-container { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
@media (max-width: 768px) {
  .header-inner { flex-direction: column; text-align: center; padding: 10px; }
  .site-logo-fallback, .site-logo img { width: 70px; height: 70px; font-size: 28px; }
  .site-branding h1 { font-size: 22px; }
  .site-branding .tagline { font-size: 11px; }
  .nav-bar-mobile { display: flex; }
  .nav-inner { flex-direction: column; }
  .nav-inner a { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); text-align: center; padding: 8px 13px; font-size: 14px; }
  .nav-inner:not(.show) { display: none; }
  .nav-inner.show { display: flex; flex-direction: column; }
  .color-grid { grid-template-columns: repeat(2, 1fr); }
  .flex-container { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .footer-inner { grid-template-columns: 1fr !important; }
  .content-area { padding: 10px 8px; }
  .container { padding: 0 8px; }
  .site-footer { padding: 20px 0 0; }
  .footer-bottom { font-size: 12px; padding: 10px; }
  .post-content { font-size: 15px; }
  .post-content img { width: 100%; }
  .bn-table { font-size: 13px; }
  .bn-table th, .bn-table td { padding: 5px; font-size: 13px; }
  .social-btn-row { flex-wrap: wrap; }
  .homepage-search-bar { display: none; }
}
@media (max-width: 480px) {
  body { font-size: 14px; }
  .site-branding h1 { font-size: 18px; }
  .site-branding .tagline { font-size: 10px; }
  .site-logo-fallback, .site-logo img { width: 55px; height: 55px; font-size: 22px; }
  .color-grid a { font-size: 12px; padding: 6px 2px; }
  .flex-container { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .flex-box header h2 { font-size: 15px; }
  .flex-box article { font-size: 13px; padding: 6px 8px; }
  .flex-box article a { font-size: 13px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .related-card-body { padding: 8px; }
  .related-card-body h3 { font-size: 12px; }
  .related-card-cat { font-size: 10px; }
  .related-heading { font-size: 18px; }
  .bn-table { font-size: 12px; }
  .bn-table th, .bn-table td { padding: 4px; font-size: 12px; }
  .bn-table th h2 { font-size: 15px; }
  .bn-social-btn { padding: 6px 14px; font-size: 12px; }
  .nav-inner a { padding: 7px 10px; font-size: 13px; }
  .footer-col h4 { font-size: 14px; }
  .footer-col a, .footer-col p { font-size: 12px; }
  .mobile-search-input { font-size: 13px; }
}