@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@400;500;600;700;800&family=Noto+Sans:wght@400;500;600;700&family=DM+Sans:wght@400;500;600;700;800&display=swap');


* { box-sizing: border-box; margin: 0; padding: 0; }




body {
    font-family: 'DM Sans', 'Noto Sans Devanagari', 'Noto Sans', system-ui, sans-serif;
    color: #1e1e1e;
    background: #f7f7f7;
    line-height: 1.6;
}




a { text-decoration: none; color: inherit; }


img { max-width: 100%; display: block; }




.container { max-width: 1180px; margin: 0 auto; padding: 0 16px; }




/* ---- Top ticker bar ---- */
.top-bar {
    background: #0f172a;
    color: #fff;
    font-size: 12px;
    padding: 6px 0;
}


.top-bar .container { display: flex; justify-content: space-between; align-items: center; }


.top-bar .date { color: #94a3b8; }


.top-bar .social a { color: #cbd5e1; margin-left: 12px; font-size: 13px; }




/* ---- Header ---- */
.site-header {
    background: #fff;
    border-bottom: 1px solid #FAFAFA;
    padding: 1px 0;
}


.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }


.header-search { display: flex; }


.header-search input {
    padding: 9px 5px; border: 1.5px solid #e2e8f0; border-radius: 6px 0 0 6px; font-size: 17px; width: 200px;
}


.header-search button {
    background: #dc2626; color: #fff; border: none; padding: 0 16px; border-radius: 0 6px 6px 0; cursor: pointer;
}




/* ---- Nav ---- */
.main-nav { background: #dc2626; }


.main-nav ul { display: flex; list-style: none; flex-wrap: wrap; }


.main-nav a {
    display: block; padding: 1px 0px; color: #fff; font-weight: 600; font-size: 16.5px;
    transition: background 0.15s;
}


.main-nav a:hover, .main-nav a.active { background: #b91c1c; }




/* ---- Breaking ticker ---- */
.breaking-bar { background: #fff7ed; border-bottom: 1px solid #fed7aa; padding: 9px 0; }


.breaking-bar .container { display: flex; align-items: center; gap: 12px; }


.breaking-tag { background: #dc2626; color: #fff; font-size: 16px; font-weight: 700; padding: 4px 10px; border-radius: 4px; flex-shrink: 0; }


.breaking-bar .items { font-size: 13.5px; color: #7c2d12; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }




/* ---- Layout ---- */
.page-body { padding: 4px 0 50px; }


.two-col { display: grid; grid-template-columns: 1fr 320px; gap: 26px; align-items: start; }




/* ---- Hero (homepage top) ---- */
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; margin-bottom: 34px; }


.hero-main { position: relative; border-radius: 5px; overflow: hidden; background: #000; }


.hero-main img { width: 100%; height: 420px; object-fit: cover; opacity: 0.85; }


.hero-main .overlay {
    position: absolute; bottom: 0; left: 0; right: 0; padding: 24px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
}


.hero-main .cat-tag { color: #fca5a5; font-size: 12px; font-weight: 700; text-transform: uppercase; }


.hero-main h2 { color: #fff; font-size: 26px; line-height: 1.35; margin-top: 8px; }


.hero-side { display: flex; flex-direction: column; gap: 14px; }


.hero-side-item { display: flex; gap: 12px; background: #fff; border-radius: 8px; overflow: hidden; }


.hero-side-item img { width: 120px; height: 90px; object-fit: cover; flex-shrink: 0; }


.hero-side-item .txt { padding: 10px 12px 10px 0; }


.hero-side-item .cat-tag { color: #dc2626; font-size: 11px; font-weight: 700; text-transform: uppercase; }


.hero-side-item h3 { font-size: 16px; line-height: 1.4; margin-top: 4px; }




/* ---- Category section ---- */
.cat-section { 
    background: #fff; border-radius: 5px; padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06); margin-bottom: 24px;
}

.cat-section-head {
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px dashed #676767; width: auto; padding-bottom: 8px; margin-bottom: 18px;
}


.cat-section-head h2 { font-size: 25px; color: #0f172a; }


.cat-section-head h2 span { color: #000; }


.cat-section-head a { font-size: 25px; color: #dc2626; font-weight: 600; }


.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }


.post-card { background: #fff; border-radius: 0px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.06); transition: transform 0.15s; }


.post-card:hover { transform: translateY(-3px); }


.post-card img { width: 100%; height: 100px; object-fit: cover; border-radius: 5px; }


.post-card .txt { padding: 1px; }


.post-card h3 { font-size: 16px; font-weight: 500; line-height: 1.4; margin-bottom: 6px; color: #0f172a; }


.post-card .meta { font-size: 15px; font-weight: 500; color: #DC2626; }




/* ---- Post list (category/tag/search/author pages) ---- */
.post-list-item { display: flex; gap: 16px; background: #fff; border-radius: 5px; padding: 14px; margin-bottom: 14px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }


.post-list-item img { width: 200px; height: 130px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }


.post-list-item .txt { display: flex; flex-direction: column; }


.post-list-item h3 { font-size: 17px; margin-bottom: 6px; }


.post-list-item p { font-size: 13.5px; color: #64748b; margin-bottom: 8px; }


.post-list-item .meta { font-size: 12px; color: #94a3b8; margin-top: auto; }




/* ---- Sidebar ---- */
.sidebar-widget { background: #fff; border-radius: 5px; padding: 16px; margin-bottom: 20px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }


.sidebar-widget h3 { font-size: 25px; border-bottom: 1px dashed #676767; padding-bottom: 8px; margin-bottom: 14px; }


.sidebar-post { display: flex; gap: 10px; margin-bottom: 12px; }


.sidebar-post img { width: 80px; height: 70px; object-fit: cover; border-radius: 5px; flex-shrink: 0; }


.sidebar-post h4 { font-size: 16px; line-height: 1.4; font-weight: 500;}


.sidebar-widget-more { display: block; text-align: right; font-size: 12.5px; color: #dc2626; font-weight: 600; margin-top: 4px; }


.tag-cloud a { display: inline-block; background: #f1f5f9; color: #475569; font-size: 12px; padding: 5px 12px; border-radius: 15px; margin: 0 6px 6px 0; }


.tag-cloud a:hover { background: #dc2626; color: #fff; }




/* ---- Single article ---- */
.breadcrumb { font-size: 14px; color: #64748b; font-weight: 600; margin-bottom: 10px; }


.breadcrumb a { color: #dc2626; }


.breadcrumb-current { color: #64748b; }


.article-category-tag { display: inline-block; background: #fef2f2; color: #dc2626; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 20px; margin-bottom: 12px; }


.article-title { font-size: 35px; line-height: 1.35; margin-bottom: 16px; color: #0f172a; font-family: 'DM Sans', 'Noto Sans Devanagari', 'Noto Sans', sans-serif; font-weight: 700; }


.article-standfirst { font-size: 16px; line-height: 1.6; color: #475569; margin-bottom: 18px; }


.article-meta-row { display: flex; align-items: center; gap: 1px; color: #3b3b3b; font-weight: 500; font-size: 14px; margin-bottom: 10px; flex-wrap: wrap; padding-bottom: 10px; border-bottom: 1px dashed #e2e8f0; }


.article-meta-row a { color: #dc2626; font-weight: 600; }


.article-featured-img { border-radius: 5px 5px 0 0; overflow: hidden; margin-bottom: 0; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.06); padding: 10px 10px 10px; }
.article-featured-img img { width: 100%; max-height: 480px; object-fit: cover; border-radius: 5px; display: block; }
.img-caption { font-size: 12.5px; color: #94a3b8; margin-top: 8px; }


.article-body { font-size: 17px; color: #262626; background: #fff; border-radius: 5px; padding: 5px 10px 20px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); margin-top: 0; }
.article-featured-img + .article-body { border-radius: 5px; padding-top: 0; }

.article-footer-box { background: #fff; border-radius: 5px; padding: 20px 28px; margin: 10px 0 24px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
.article-footer-box .published-share-row { border-top: none; padding-top: 0; margin: 0 0 14px; }
.article-footer-box .article-tags { margin: 0; }


.article-body img { border-radius: 5px; margin: 10px 0; }


.article-body h2 { font-family: 'DM Sans', 'Noto Sans Devanagari', 'Noto Sans', sans-serif; font-size: 24px; font-weight: 800; margin: 34px 0 14px; padding-left: 14px; border-left: 4px solid #dc2626; color: #0f172a; line-height: 1.3; }


.article-body h3 { font-family: 'DM Sans', 'Noto Sans Devanagari', 'Noto Sans', sans-serif; font-size: 20px; font-weight: 700; margin: 28px 0 10px; color: #0f172a; line-height: 1.35; }


.article-body p { margin-bottom: 17px; }


.article-body ul, .article-body ol { margin: 0 0 17px 26px; }


.article-body blockquote { border-left: 4px solid #dc2626; padding: 10px 20px; color: #64748b; margin: 18px 0; background: #f8fafc; }


.article-body a { color: #dc2626; text-decoration: underline; }


.article-tags { margin: 0; font-size: 13.5px; }


.article-tags a { color: #334155; font-size: 13.5px; padding: 0; margin: 0; }
.article-tags a:not(:last-child)::after { content: '|'; color: #cbd5e1; margin: 0 8px; font-weight: 400; }


.about-author-box { position: relative; display: flex; gap: 16px; background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 18px 50px 18px 18px; margin: 28px 0; }
.about-author-box img { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-avatar-fallback { width: 70px; height: 70px; border-radius: 50%; background: #dc2626; color: #fff; font-size: 26px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.about-author-follow { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 50%; background: #1e293b; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.about-author-follow svg { width: 15px; height: 15px; }
.about-author-txt { min-width: 0; }
.about-author-label { display: block; font-size: 14px; font-weight: 600; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 3px; }
.about-author-name { font-size: 20px; font-weight: 700; color: #0f172a; }
.about-author-txt p { font-size: 17px; color: #262626; margin: 6px 0 8px; line-height: 1.6; }
.about-author-more { color: #dc2626; font-weight: 600; font-size: 13px; }


.published-line { font-size: 14px; color: #3b3b3b; font-weight: 700; margin: 0; text-transform: uppercase; letter-spacing: 0.3px; }


.article-tags-label { color: #dc2626; font-weight: 700; margin-right: 8px; font-size: 15px; }




/* ---- Share buttons ---- */
.share-buttons { display: flex; gap: 10px; margin: 20px 0; }


.share-ic {
    width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; transition: transform 0.15s, box-shadow 0.15s; box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}


.share-ic:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.18); }


.ic-share-fb { background: #1877f2; }


.ic-share-tw { background: #000; }


.ic-share-wa { background: #25d366; }


.ic-share-tg { background: #26a5e4; }

/* ---- Share widget: single toggle button + popup (new) ---- */
.published-share-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 20px 0 12px; padding-top: 16px; border-top: 1px solid #f1f5f9; }

.share-widget { position: relative; flex-shrink: 0; margin-left: auto; }

.share-toggle-btn { width: 34px; height: 34px; border-radius: 50%; background: #f1f5f9; border: none; display: flex; align-items: center; justify-content: center; color: #64748b; cursor: pointer; transition: background 0.15s, color 0.15s; }
.share-toggle-btn:hover { background: #e2e8f0; color: #334155; }

.share-popup { position: absolute; bottom: calc(100% + 10px); right: 0; background: #fff; border-radius: 30px; box-shadow: 0 6px 20px rgba(0,0,0,0.15); padding: 8px; gap: 8px; z-index: 20; }
.share-popup::after { content: ''; position: absolute; top: 100%; right: 12px; border: 6px solid transparent; border-top-color: #fff; }




/* ---- Related articles ---- */
.related-section { margin-top: 40px; }


.related-section h2 { font-size: 20px; border-bottom: 1px solid #0f172a; padding-bottom: 8px; margin-bottom: 18px; }


.latest-news-strip { margin: 30px 0; }
.latest-news-strip h2 { font-size: 20px; border-bottom: 1px dashed #0f172a; padding-bottom: 8px; margin-bottom: 16px; color: #0f172a; }
.latest-news-strip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.latest-strip-item { display: block; padding-bottom: 12px; border-bottom: 1px solid #f1f5f9; }
.latest-strip-cat { display: block; color: #dc2626; font-size: 11px; font-weight: 700; margin-bottom: 4px; }
.latest-strip-title { display: block; font-size: 17px; color: #1e1e1e; line-height: 1.45; }
.latest-strip-item:hover .latest-strip-title { color: #dc2626; }




/* ---- Comments ---- */
.comments-section { margin-top: 40px; }


.comments-section h2 { font-size: 20px; margin-bottom: 18px; }


.comment-form { background: #fff; border-radius: 5px; padding: 20px; margin-bottom: 24px; }


.comment-form input, .comment-form textarea {
    width: 100%; padding: 10px; border: 1.5px solid #e2e8f0; border-radius: 6px; margin-bottom: 12px; font-family: inherit; font-size: 14px;
}


.comment-form button { background: #dc2626; color: #fff; border: none; padding: 10px 24px; border-radius: 6px; font-weight: 600; cursor: pointer; }


.comment-item { background: #fff; border-radius: 5px; padding: 16px; margin-bottom: 12px; }


.comment-item .cname { font-weight: 700; font-size: 14px; }


.comment-item .cdate { font-size: 11.5px; color: #94a3b8; margin-left: 8px; }


.comment-item p { margin-top: 6px; font-size: 14px; color: #334155; }




/* ---- Pagination ---- */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 24px; }


.pagination a, .pagination span {
    padding: 8px 14px; border-radius: 6px; background: #fff; color: #334155; font-size: 13px; box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}


.pagination .current { background: #dc2626; color: #fff; }




/* ---- Footer ---- */
.site-footer { background: #0f172a; color: #cbd5e1; padding: 40px 0 20px; margin-top: 40px; }


.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 24px; }


.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }


.footer-col a { display: block; color: #94a3b8; font-size: 13.5px; margin-bottom: 8px; }


.footer-social a { display: inline-flex; margin-right: 10px; color: #fff; }


.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid #1e293b; font-size: 12.5px; color: #64748b; }




/* ---- 404 ---- */
.error-404 { text-align: center; padding: 80px 20px; }


.error-404 h1 { font-size: 80px; color: #dc2626; }


.error-404 p { font-size: 16px; color: #64748b; margin: 14px 0 24px; }




/* ================================================
   ABP NEWS STYLE REDESIGN — new components
   ================================================ */


/* ---- Trending ticker bar (black bar, red tag, single-line marquee) ---- */
.trending-bar { background: #0a0a0a; color: #fff; }


.trending-bar-inner { display: flex; align-items: stretch; gap: 0; padding-left: 15px; height: 42px; overflow: hidden; }


.trending-label { background: #dc2626; color: #fff; font-size: 15px; font-weight: 700; padding: 0 18px; display: flex; align-items: center; flex-shrink: 0; letter-spacing: 0.2px; }


.trending-ticker { flex: 1; overflow: hidden; white-space: nowrap; display: flex; align-items: center; padding-left: 16px; min-width: 0; }


.trending-ticker-track { display: inline-flex; align-items: center; animation: ticker-scroll 28s linear infinite; }


.trending-ticker-track a { color: #fff; font-size: 14px; font-weight: 500; margin-right: 60px; }


.trending-ticker-track a:hover { color: #fca5a5; }


.trending-right { display: flex; align-items: center; gap: 16px; flex-shrink: 0; padding: 0 16px; }


.trending-ad-text { color: #e2e8f0; font-size: 13px; font-weight: 600; white-space: nowrap; }


.trending-ad-text:hover { color: #fff; }


.trending-social { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }


.social-ic { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }


.ic-fb { background: #1877f2; }


.ic-ig { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }


.ic-wa { background: #25d366; }


.ic-tw { background: #000; }


.ic-yt { background: #1f1f1f; }


@keyframes ticker-scroll { 0% { transform: translateX(0); }
 100% { transform: translateX(-50%); }
 }




/* ---- New header layout ---- */
.site-header { position: relative; z-index: 50; }


.header-inner { display: flex; align-items: center; gap: 18px; padding: 10px 16px; }




/* Hamburger (mobile only) */
.nav-hamburger { display: none; flex-direction: column; justify-content: center; gap: 4px; width: 30px; height: 30px; background: none; border: none; cursor: pointer; padding: 0; flex-shrink: 0; }


.nav-hamburger span { display: block; width: 100%; height: 2.4px; background: #0f172a; border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }


.nav-hamburger.active span:nth-child(1) { transform: translateY(6.4px) rotate(45deg); }


.nav-hamburger.active span:nth-child(2) { opacity: 0; }


.nav-hamburger.active span:nth-child(3) { transform: translateY(-6.4px) rotate(-45deg); }




/* Logo: "new" + red "लिपि" badge, same to same as reference */
.logo { display: flex; align-items: center; font-size: 24px; font-weight: 800; color: #0f172a; flex-shrink: 0; line-height: 1; }


.logo img { height: 40px; }


.logo-icon { color: #dc2626; font-size: 20px; margin-right: 5px; transform: translateY(-1px); }


.logo-text { color: #0f172a; }


.logo-badge { background: #dc2626; color: #fff; font-size: 20px; font-weight: 800; padding: 3px 8px 4px; border-radius: 4px; margin-left: 4px; }




.main-nav-inline { flex: 1; min-width: 0; }


.main-nav-inline ul { display: flex; list-style: none; align-items: center; white-space: nowrap; overflow-x: auto; scrollbar-width: none; }


.main-nav-inline ul::-webkit-scrollbar { display: none; }


.main-nav-inline a { display: block; padding: 9px 11px; color: #262626; font-weight: 500; font-size: 16px; transition: color 0.15s; }


.main-nav-inline a:hover, .main-nav-inline a.active { color: #dc2626; }


.nav-more { position: relative; }


.nav-more-toggle { display: flex !important; align-items: center; gap: 5px; }


.nav-more-toggle .caret { width: 0; height: 0; border-left: 4.5px solid transparent; border-right: 4.5px solid transparent; border-top: 6px solid #dc2626; margin-top: 2px; }


.nav-dropdown { list-style: none; position: absolute; top: 100%; left: 0; background: #fff; min-width: 180px; box-shadow: 0 8px 24px rgba(0,0,0,0.12); border-radius: 6px; padding: 6px 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: all 0.15s; z-index: 60; }


.nav-more:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }


.nav-dropdown a { padding: 9px 16px; font-size: 13.5px; color: #334155; }


.nav-dropdown a:hover { background: #fef2f2; color: #dc2626; }




.header-icons { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }


.icon-btn { background: #f1f5f9; border: none; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #334155; transition: background 0.15s, color 0.15s; }


.icon-btn:hover { background: #dc2626; color: #fff; }




.header-search-panel { max-height: 0; overflow: hidden; background: #f8fafc; transition: max-height 0.2s ease; }


.header-search-panel.open { max-height: 70px; border-top: 1px solid #e2e8f0; }


.header-search-panel form { display: flex; gap: 8px; padding: 12px 16px; }


.header-search-panel input { flex: 1; padding: 9px 14px; border: 1.5px solid #e2e8f0; border-radius: 6px; font-size: 13.5px; }


.header-search-panel button { background: #dc2626; color: #fff; border: none; padding: 0 18px; border-radius: 6px; font-weight: 600; cursor: pointer; }




.nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 40; }


.nav-overlay.show { display: block; }




/* ---- Hero: featured story + red headline panel ---- */
.hero-section { display: grid; grid-template-columns: 1.7fr 1fr; gap: 0; border-radius: 5px; overflow: hidden; margin: 20px 0; box-shadow: 0 2px 10px rgba(0,0,0,0.08); }


.hero-featured { position: relative; background: #000; min-height: 360px; }


.hero-featured img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; opacity: 0.82; position: absolute; inset: 0; }


.hero-overlay { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; background: linear-gradient(transparent 40%, rgba(0,0,0,0.9)); min-height: 360px; }


.hero-cat { color: #fca5a5; font-size: 12px; font-weight: 700; text-transform: uppercase; }


.hero-overlay h1 { color: #fff; font-size: 27px; line-height: 1.35; margin-top: 8px; font-weight: 700; }


.hero-headlines-panel { background: #dc2626; padding: 22px 20px; display: flex; flex-direction: column; gap: 0; overflow-y: auto; }


.hero-headlines-panel a { color: #fff; font-size: 17px; line-height: 1.45; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.2); }


.hero-headlines-panel a:last-child { border-bottom: none; }


.hero-headlines-panel a:hover { text-decoration: underline; }


.hero-headlines-panel .chev { font-weight: 800; margin-right: 4px; }




/* ---- Secondary row: 4 mini cards ---- */
.secondary-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 30px; }


.mini-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }


.mini-card img { width: 100%; height: 110px; object-fit: cover; }


.mini-card h4 { font-size: 13px; line-height: 1.4; padding: 10px 12px; color: #0f172a; }




/* ---- Post card category tag (used in cat-grid / latest-news-grid) ---- */
.post-card-cat { display: inline-block; color: #dc2626; font-size: 11px; font-weight: 700; text-transform: uppercase; margin-bottom: 4px; }




/* ---- Latest News grid (3-col with excerpt) ---- */
.latest-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 36px; }


.latest-news-card { background: #fff; border-radius: 5px; padding: 0px; box-shadow: 0 0px 0px rgba(0,0,0,0.06); }


.latest-news-card h3 { font-size: 17px; font-weight: 500; line-height: 1.4; margin-bottom: 6px; color: #0f172a; }


.latest-news-card p { font-size: 14px; color: #64748b; margin-bottom: 8px; }


.latest-news-card .meta { font-size: 11.5px; color: #94a3b8; }




/* ---- Category showcase blocks (bottom of homepage) ---- */
.category-showcase-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 30px 0 40px; }


.category-showcase-block { background: #fff; border-radius: 5px; padding: 16px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }


.showcase-big img { width: 100%; height: 150px; object-fit: cover; border-radius: 5px; margin-bottom: 10px; }


.showcase-big h3 { font-size: 15px; line-height: 1.4; color: #0f172a; margin-bottom: 12px; }


.showcase-small { display: block; font-size: 14px; color: #334155; padding: 8px 0; border-top: 1px solid #f1f5f9; }


.showcase-small:hover { color: #dc2626; }




/* ---- New footer ---- */
.footer-links-row { display: flex; align-items: center; gap: 26px; padding: 20px 16px; flex-wrap: wrap; border-bottom: 1px solid #1e293b; }


.footer-links-row a { color: #cbd5e1; font-size: 13.5px; font-weight: 600; }


.footer-follow { margin-left: auto; color: #94a3b8; font-size: 12.5px; display: flex; align-items: center; gap: 10px; }


.footer-follow a { color: #fff; font-weight: 700; }


.footer-cats-row { display: flex; gap: 18px; flex-wrap: wrap; padding: 16px; }


.footer-cats-row a { color: #94a3b8; font-size: 13px; }


.footer-cats-row a:hover { color: #fff; }




/* ---- Responsive ---- */
@media (max-width: 900px) {
    .two-col { grid-template-columns: 1fr; }


    .cat-grid { grid-template-columns: repeat(2, 1fr); }


    .post-list-item { flex-direction: column; }


    .post-list-item img { width: 100%; height: 180px; }


    .hero-section { grid-template-columns: 1fr; }


    .hero-featured, .hero-featured img, .hero-overlay { min-height: 260px; }


    .secondary-row { grid-template-columns: repeat(2, 1fr); }


    .latest-news-grid { grid-template-columns: repeat(2, 1fr); }


    .category-showcase-row { grid-template-columns: 1fr; }




    /* header: switch to hamburger + slide-in nav */
    .nav-hamburger { display: flex; }


    .header-inner { padding: 10px 14px; gap: 12px; }


    .logo { font-size: 20px; }


    .logo-badge { font-size: 16px; padding: 2px 6px 3px; }


    .main-nav-inline { position: fixed; top: 0; left: -280px; width: 260px; height: 100vh; background: #fff; box-shadow: 2px 0 18px rgba(0,0,0,0.15); transition: left 0.25s ease; overflow-y: auto; z-index: 55; padding-top: 14px; }


    .main-nav-inline.open { left: 0; }


    .main-nav-inline ul { flex-direction: column; align-items: stretch; overflow: visible; }


    .main-nav-inline ul li { border-bottom: 1px solid #f1f5f9; }


    .main-nav-inline a { padding: 13px 18px; font-size: 17px; }


    .main-nav-inline a:hover, .main-nav-inline a.active { background: #fef2f2; color: #dc2626; }


    .nav-dropdown { position: static; box-shadow: none; opacity: 1; visibility: hidden; transform: none; max-height: 0; overflow: hidden; padding: 0; transition: max-height 0.2s ease; }


    .nav-more.open .nav-dropdown { visibility: visible; max-height: 260px; padding: 4px 0; background: #f8fafc; }


    .nav-more:hover .nav-dropdown { opacity: 1; visibility: hidden; }


    .nav-more.open .nav-dropdown { visibility: visible; }


    .icon-btn { width: 34px; height: 34px; }


    .trending-ad-text { display: none; }


}


@media (max-width: 600px) {
    .cat-grid { grid-template-columns: 1fr 1fr; }


    .article-title { font-size: 24px; }
    .article-body { padding: 18px 16px; }
    .latest-news-strip-grid { grid-template-columns: 1fr; }
    .about-author-box { flex-direction: column; padding: 18px; }
    .about-author-follow { top: 18px; right: 18px; }


    .hero-overlay h1 { font-size: 20px; }


    .secondary-row { grid-template-columns: repeat(2, 1fr); }


    .latest-news-grid { grid-template-columns: 1fr; }


    .footer-links-row { flex-direction: column; align-items: flex-start; gap: 10px; }


    .footer-follow { margin-left: 0; }


    .trending-label { font-size: 11px; padding: 0 10px; }


    .trending-ticker-track a { font-size: 12px; margin-right: 40px; }


    .logo-text { display: none; }


    .trending-ad-text { display: none; }


    .trending-right { padding: 0 10px; gap: 6px; }


    .social-ic { width: 20px; height: 20px; }


    .social-ic svg { width: 11px; height: 11px; }


}


/*==================================================
 PAGE HERO
==================================================*/


.page-hero{
    position:relative;
    width:100%;
    height:220px;
    margin:0 0 40px;
    background:url('/assets/images/newlipi about us.png') center center/cover no-repeat;
    display:flex;
    align-items:center;
}


.page-hero::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.45);
}


.page-hero-overlay{
    width:100%;
    position:relative;
    z-index:2;
}


.page-hero-content{
    width:100%;
    max-width:1180px;
    margin:auto;
    padding:0 20px;
}


.page-hero-breadcrumb{
    color:#fff;
    font-size:15px;
    margin-bottom:12px;
}


.page-hero-breadcrumb a{
    color:#fff;
    text-decoration:none;
}


.page-hero-breadcrumb span{
    margin:0 5px;
}


.page-hero-content h1{
    color:#fff;
    font-size:48px;
    font-weight:700;
    margin:0;
    text-transform:uppercase;
}


.two-col{
    margin-top:20px;
}


@media(max-width:768px){


.page-hero{
    height:170px;
}


.page-hero-content h1{
    font-size:30px;
}


}

/* ===========================
   MOBILE FULL WIDTH CONTENT
=========================== */
@media (max-width:768px){

    /* Container full width */
    .container{
        width:100%;
        max-width:100%;
        padding-left:10px;
        padding-right:10px;
    }

    /* Sidebar gap remove */
    .two-col{
        gap:0;
    }

    /* Article full width */
    article{
        width:100%;
    }

    /* White content area */
    .article-body{
        border-radius:0;
        margin:0;
        padding:5px;
        box-shadow:none;
    }

    /* Featured image */
    .article-featured-img{
        border-radius:0;
        padding:0;
        box-shadow:none;
    }

    .article-featured-img img{
        border-radius:0;
    }

    /* Category Section */
    .cat-section{
        border-radius:0;
        padding:10px 5px;
        margin-bottom:10px;
    }

    /* Sidebar */
    .sidebar-widget{
        border-radius:0;
        padding:10px 5px;
        box-shadow:none;
    }

}