/*
Theme Name: BiharInfraTales
Theme URI: https://biharinfratales.com
Author: BiharInfraTales
Author URI: https://biharinfratales.com
Description: A modern, fast, SEO-first Hindi news WordPress theme for large-scale Indian news portals. Dynamic categories/pages/menus, dark mode, schema.org, AdSense-friendly ad slots, AJAX search, and Core Web Vitals optimised markup. Content in Hindi, structure in English.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bharat-news-pro
Tags: news, blog, two-columns, right-sidebar, custom-menu, custom-logo, featured-images, rtl-language-support, translation-ready, block-styles, full-width-template
*/

/* ==========================================================================
   1. CSS Variables / Design Tokens
   ========================================================================== */
:root {
  --bnp-primary: #c8102e;
  /* news red */
  --bnp-primary-dark: #9c0c23;
  --bnp-accent: #111111;
  /* secondary black */
  --bnp-secondary: #111111;
  --bnp-bg: #ffffff;
  --bnp-bg-alt: #ffffff;
  /* pure white paper bg */
  --bnp-surface: #ffffff;
  --bnp-text: #111111;
  --bnp-text-muted: #555555;
  --bnp-border: #e6e8ec;
  --bnp-header-bg: #ffffff;
  --bnp-topbar-bg: #ffffff;
  --bnp-topbar-text: #111111;
  --bnp-link: #111111;
  --bnp-shadow: 0 1px 3px rgba(16, 18, 29, .05), 0 1px 2px rgba(16, 18, 29, .03);
  --bnp-radius: 0px;
  /* sharp corners */
  --bnp-radius-sm: 0px;
  /* sharp corners */
  --bnp-maxw: 1200px;
  --bnp-gap: 24px;
  /* Inter — general UI text, navigation, metadata (body). */
  --bnp-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  /* Noto Sans Devanagari — Hindi news headlines & article body. */
  --bnp-font-hindi: "Noto Sans Devanagari", "Hind", "Inter", system-ui, sans-serif;
  /* Playfair Display — brand title */
  --bnp-font-brand: "Playfair Display", "Georgia", serif;
  /* Lora — editorial subheadings and widget titles */
  --bnp-font-editorial: "Lora", "Tiro Devanagari Hindi", Georgia, serif;
  /* Headings font */
  --bnp-font-head: "Noto Sans Devanagari", "Lora", "Tiro Devanagari Hindi", Georgia, serif;
  /* Outfit — labels, category tags. */
  --bnp-font-display: "Outfit", "Noto Sans Devanagari", system-ui, sans-serif;
}

[data-theme="dark"] {
  --bnp-bg: #0f1115;
  --bnp-bg-alt: #161922;
  --bnp-surface: #1a1e28;
  --bnp-text: #e8eaed;
  --bnp-text-muted: #9aa0ac;
  --bnp-border: #272c38;
  --bnp-header-bg: #12151c;
  --bnp-link: #7aa2ff;
  --bnp-shadow: 0 1px 3px rgba(0, 0, 0, .4);
}

/* ==========================================================================
   2. Reset & Base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--bnp-font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--bnp-text);
  background: var(--bnp-bg-alt);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  max-width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--bnp-link);
  text-decoration: none;
  transition: color .15s ease;
}

a:hover {
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--bnp-font-head);
  line-height: 1.3;
  margin: 0 0 .5em;
  color: var(--bnp-text);
}

p {
  margin: 0 0 1em;
}

ul {
  margin: 0;
  padding: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.bnp-container {
  max-width: var(--bnp-maxw);
  margin: 0 auto;
  padding: 0 16px;
}

.screen-reader-text {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 8px;
  top: 8px;
  background: #fff;
  color: #000;
  padding: 8px 14px;
  z-index: 9999;
  border-radius: 6px;
}

/* ==========================================================================
   3. Top Bar
   ========================================================================== */
.bnp-topbar {
  background: var(--bnp-topbar-bg);
  color: var(--bnp-topbar-text);
  font-size: 12px;
  border-bottom: 1px solid var(--bnp-border);
}

.bnp-topbar a {
  color: var(--bnp-topbar-text);
}

.bnp-topbar .bnp-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 32px;
  flex-wrap: wrap;
  padding: 4px 16px;
}

.bnp-topbar__date {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--bnp-text-muted);
}

.bnp-topbar__date svg {
  color: var(--bnp-primary);
}

.bnp-topbar__right {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.bnp-weather {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--bnp-text-muted);
  font-weight: 500;
}

.bnp-weather svg {
  color: var(--bnp-primary);
}

.bnp-lang-switch select {
  background: transparent;
  color: var(--bnp-topbar-text);
  border: 1px solid var(--bnp-border);
  border-radius: 2px;
  padding: 2px 6px;
  font-size: 11px;
  outline: none;
  cursor: pointer;
  font-family: var(--bnp-font);
}

.bnp-lang-switch select:focus {
  border-color: var(--bnp-primary);
}

/* Search toggle inside topbar */
.bnp-topbar .bnp-search-toggle {
  background: transparent;
  border: none;
  width: auto;
  height: auto;
  border-radius: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--bnp-text-muted);
  font-size: 11px;
  font-family: var(--bnp-font);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
  line-height: 1;
}

.bnp-topbar .bnp-search-toggle svg {
  color: var(--bnp-primary);
}

.bnp-topbar .bnp-search-toggle:hover {
  color: var(--bnp-primary);
}

/* Breaking ticker */
.bnp-breaking {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bnp-surface);
  border-bottom: 1px solid var(--bnp-border);
  overflow: hidden;
}

.bnp-breaking__label {
  background: var(--bnp-primary);
  color: #fff;
  font-weight: 700;
  padding: 8px 14px;
  white-space: nowrap;
  font-size: 13px;
  letter-spacing: .3px;
  position: relative;
  flex-shrink: 0;
}

.bnp-breaking__track {
  overflow: hidden;
  flex: 1;
  position: relative;
}

.bnp-breaking__list {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: bnp-ticker 30s linear infinite;
  will-change: transform;
}

.bnp-breaking__list:hover {
  animation-play-state: paused;
}

.bnp-breaking__list a {
  color: var(--bnp-text);
  font-size: 14px;
  padding: 8px 0;
}

@keyframes bnp-ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   4. Header
   ========================================================================== */
.bnp-header {
  background: var(--bnp-header-bg);
  padding: 12px 0 10px;
}

.bnp-header__main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
}

.bnp-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.bnp-logo__home {
  /* Logo mark + wordmark as a single horizontal brand unit, centered. */
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

/* Rounded container holding the logo image: subtle, refined, soft shadow. */
.bnp-logo__mark {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  padding: 7px;
  background: #fff;
  border: 1px solid var(--bnp-border);
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(16, 18, 29, .12);
}

.bnp-logo__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.bnp-logo img,
.bnp-logo__img {
  max-height: 48px;
  width: auto;
  height: auto;
  display: block;
  padding-inline-end: 0;
  border-inline-end: none;
}

.bnp-logo__text-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.bnp-logo__text {
  font-family: var(--bnp-font-brand);
  font-weight: 800;
  font-size: 38px;
  color: var(--bnp-secondary);
  letter-spacing: -0.01em;
  line-height: 1;
}

.bnp-logo-accent {
  color: var(--bnp-primary);
}

.bnp-header__ad {
  margin-inline-start: auto;
  max-width: 728px;
  overflow: hidden;
}

.bnp-header__tools {
  position: absolute;
  inset-inline-end: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Centered logo layout */
.bnp-header__main--centered {
  position: relative;
  justify-content: center;
}

.bnp-header__main--centered .bnp-logo {
  margin: 0 auto;
}

.bnp-header__main--centered .bnp-header__tools {
  position: absolute;
  inset-inline-end: 0;
  top: 50%;
  transform: translateY(-50%);
  margin-inline-start: 0;
}

.bnp-search-toggle,
.bnp-theme-toggle,
.bnp-menu-toggle {
  background: transparent;
  border: 1px solid var(--bnp-border);
  width: 34px;
  height: 34px;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bnp-text);
  transition: all 0.15s ease;
}

.bnp-search-toggle:hover,
.bnp-menu-toggle:hover {
  background: var(--bnp-primary);
  color: #fff;
  border-color: var(--bnp-primary);
}

.bnp-menu-toggle {
  display: none;
}

/* ==========================================================================
   5. Navigation + Mega Menu
   ========================================================================== */
.bnp-nav-wrap {
  background: var(--bnp-primary);
  position: relative;
  z-index: 50;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 2px solid var(--bnp-primary-dark);
}

.bnp-nav-wrap.is-sticky {
  position: sticky;
  top: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}

/* Drawer branding header — only shown inside the mobile slide-out menu. */
.bnp-drawer-head {
  display: none;
}

.bnp-nav {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bnp-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  /* Force one line */
  overflow-x: auto;
  /* Horizontal scroll if overflow */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Hide scrollbar Firefox */
  -ms-overflow-style: none;
  /* Hide scrollbar IE/Edge */
  width: 100%;
  justify-content: center;
  /* Center-aligned menu */
  margin: 0;
  padding: 0;
}

.bnp-nav ul::-webkit-scrollbar {
  display: none;
  /* Hide scrollbar Chrome/Safari */
}

.bnp-nav>ul>li>a {
  color: #ffffff;
  /* White text color for visibility */
  padding: 12px 15px;
  /* Compact padding */
  display: block;
  font-weight: 700;
  font-size: 13px;
  /* Compact font size to fit on one line */
  font-family: var(--bnp-font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  /* Prevent wrapping inside items */
  transition: all 0.15s ease;
}

.bnp-nav>ul>li {
  position: relative;
}

.bnp-nav>ul>li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 30%;
  bottom: 30%;
  right: 0;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.2);
  /* Subtle white vertical divider */
}

.bnp-nav>ul>li:hover>a {
  background: var(--bnp-primary-dark);
  color: #ffffff;
  text-decoration: none;
}

.bnp-nav .sub-menu {
  position: absolute;
  top: 100%;
  inset-inline-start: 0;
  min-width: 220px;
  background: var(--bnp-surface);
  box-shadow: 0 4px 12px rgba(16, 18, 29, .08);
  display: block;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .18s ease;
  border-radius: 0;
  padding: 6px 0;
  border: 1px solid var(--bnp-border);
  border-top: 3px solid var(--bnp-primary);
  z-index: 60;
}

.bnp-nav li:hover>.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.bnp-nav .sub-menu li a {
  color: var(--bnp-text);
  padding: 8px 16px;
  display: block;
  font-size: 13px;
  font-family: var(--bnp-font);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.bnp-nav .sub-menu li a:hover {
  background: var(--bnp-bg-alt);
  color: var(--bnp-primary);
  text-decoration: none;
}

/* Mega menu */
.bnp-mega {
  position: absolute;
  top: 100%;
  inset-inline-start: 0;
  width: 760px;
  max-width: 92vw;
  background: var(--bnp-surface);
  border: 1px solid var(--bnp-border);
  border-top: 3px solid var(--bnp-primary);
  box-shadow: var(--bnp-shadow);
  padding: 18px;
  border-radius: 0 0 10px 10px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 18px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .2s ease;
  z-index: 60;
}

.bnp-nav .menu-item-has-mega:hover .bnp-mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.bnp-mega__feature img {
  border-radius: 8px;
  aspect-ratio: 16/9;
  object-fit: cover;
  width: 100%;
}

.bnp-mega__feature h4 {
  margin: 8px 0 0;
  font-size: 15px;
}

.bnp-mega h5 {
  color: var(--bnp-primary);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-bottom: 8px;
}

.bnp-mega ul li {
  list-style: none;
}

.bnp-mega ul li a {
  color: var(--bnp-text);
  font-size: 13.5px;
  padding: 5px 0;
  display: block;
  border-bottom: 1px dashed var(--bnp-border);
}

/* ==========================================================================
   6. Layout grid
   ========================================================================== */
.bnp-main {
  padding: 24px 0 40px;
}

.bnp-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--bnp-gap);
  align-items: start;
}

.bnp-sidebar {
  position: sticky;
  top: 70px;
  display: grid;
  gap: 20px;
}

.bnp-section {
  margin-bottom: 36px;
}

.bnp-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--bnp-border);
  position: relative;
}

.bnp-section__title {
  font-size: 22px;
  margin: 0;
  position: relative;
  padding-inline-start: 14px;
  font-family: var(--bnp-font-display);
  font-weight: 700;
  letter-spacing: -.01em;
}

.bnp-section__title::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 4px;
  bottom: 4px;
  width: 5px;
  background: var(--bnp-primary);
  border-radius: 3px;
}

.bnp-viewall {
  font-size: 13px;
  font-weight: 600;
  color: var(--bnp-primary);
  white-space: nowrap;
  font-family: var(--bnp-font-display);
}

/* ==========================================================================
   7. Cards
   ========================================================================== */
.bnp-card {
  background: var(--bnp-surface);
  border: 1px solid var(--bnp-border);
  border-radius: var(--bnp-radius);
  overflow: hidden;
  box-shadow: var(--bnp-shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}

.bnp-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(16, 18, 29, .12);
}

.bnp-card__thumb {
  position: relative;
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bnp-bg-alt);
}

.bnp-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.bnp-card:hover .bnp-card__thumb img {
  transform: scale(1.04);
}

.bnp-cat-badge {
  position: absolute;
  inset-inline-start: 8px;
  top: 8px;
  background: var(--bnp-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 4px;
  letter-spacing: .3px;
  font-family: var(--bnp-font-display);
  text-transform: uppercase;
}

.bnp-cat-badge--inline {
  position: static;
  display: inline-block;
  vertical-align: middle;
  inset-inline-start: auto;
  top: auto;
  color: #fff;
  text-decoration: none;
}

.bnp-cat-badge--inline:hover {
  opacity: .9;
}

.bnp-card__body {
  padding: 12px 14px 16px;
}

.bnp-card__title {
  font-size: 16px;
  margin: 0 0 6px;
  line-height: 1.4;
}

.bnp-card__title a {
  color: var(--bnp-text);
}

.bnp-card__title a:hover {
  color: var(--bnp-primary);
  text-decoration: none;
}

.bnp-card__meta {
  font-size: 12px;
  color: var(--bnp-text-muted);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-family: var(--bnp-font);
}

.bnp-card__excerpt {
  font-size: 14px;
  color: var(--bnp-text-muted);
  margin-top: 8px;
}

.bnp-grid {
  display: grid;
  gap: var(--bnp-gap);
}

.bnp-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.bnp-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.bnp-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* List style card */
.bnp-list-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--bnp-border);
  align-items: flex-start;
}

.bnp-list-item:last-child {
  border-bottom: 0;
}

.bnp-list-item__thumb {
  flex: 0 0 92px;
  width: 92px;
  height: 63px;
  aspect-ratio: 16/11;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bnp-bg-alt);
  align-self: flex-start;
}

.bnp-list-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bnp-list-item>div {
  min-width: 0;
}

.bnp-list-item__title {
  font-size: 14.5px;
  margin: 0;
  line-height: 1.4;
}

.bnp-list-item__title a {
  color: var(--bnp-text);
}

.bnp-list-item__title a:hover {
  color: var(--bnp-primary);
}

/* In sidebar widgets, clamp long headlines so rows stay compact (no tall gaps). */
.bnp-sidebar .bnp-list-item__title a {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bnp-list-item__meta {
  font-size: 11.5px;
  color: var(--bnp-text-muted);
  margin-top: 4px;
}

.bnp-rank {
  font-size: 24px;
  font-weight: 800;
  color: var(--bnp-primary);
  opacity: .35;
  flex: 0 0 30px;
  line-height: 1;
}

/* ==========================================================================
   8. Hero / Breaking slider
   ========================================================================== */
.bnp-hero {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
  align-items: stretch;
}

.bnp-hero__main {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 440px;
  height: 100%;
  box-shadow: 0 10px 34px rgba(16, 18, 29, .16);
}

.bnp-hero__counter {
  position: absolute;
  top: 16px;
  inset-inline-end: 16px;
  z-index: 4;
  font-family: var(--bnp-font-display);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .08em;
  color: #fff;
  background: rgba(0, 0, 0, .35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .2);
}

.bnp-hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity .6s ease;
}

.bnp-hero__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.bnp-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.bnp-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}

.bnp-hero__main:hover .is-active .bnp-hero__media img {
  transform: scale(1.04);
}

.bnp-hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px 30px;
  z-index: 2;
  background: linear-gradient(to top, rgba(0, 0, 0, .85) 0%, rgba(0, 0, 0, .45) 40%, rgba(0, 0, 0, .10) 100%);
}

.bnp-hero__tags {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.bnp-hero__pill {
  background: rgba(255, 255, 255, .16);
  color: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  padding: 6px 16px;
  font-family: var(--bnp-font-display);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
}

.bnp-hero__live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(200, 16, 46, .9);
  color: #fff;
  border-radius: 999px;
  padding: 5px 12px;
  font-family: var(--bnp-font-display);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: .06em;
}

.bnp-hero__live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: bnp-pulse 1.3s ease-in-out infinite;
}

@keyframes bnp-pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .3;
  }
}

.bnp-hero__overlay h2 {
  margin: 0;
  font-family: var(--bnp-font-head);
  font-weight: 800;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.22;
  max-width: 90%;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .45);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.bnp-hero__overlay h2 a,
.bnp-hero__overlay h2 a:hover,
.bnp-hero__overlay h2 a:focus,
.bnp-hero__overlay h2 a:active,
.bnp-hero__overlay h2 a:visited {
  color: #fff;
  text-decoration: none;
}

.bnp-hero__overlay h2 a:hover {
  opacity: .92;
}

.bnp-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: rgba(255, 255, 255, .85);
  font-size: 13px;
  margin-top: 12px;
  font-family: var(--bnp-font);
}

.bnp-hero__author {
  font-weight: 600;
  color: #fff;
}

.bnp-hero__dot {
  opacity: .5;
}

.bnp-hero__cta {
  margin-top: 18px;
}

.bnp-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--bnp-font-display);
  font-weight: 700;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: 12px;
  transition: transform .15s ease, box-shadow .2s ease;
}

.bnp-hero__btn--primary {
  background: linear-gradient(120deg, var(--bnp-primary), #e23);
  color: #fff;
  box-shadow: 0 6px 18px rgba(200, 16, 46, .4);
}

.bnp-hero__btn--primary:hover {
  transform: translateY(-2px);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(200, 16, 46, .5);
}

/* Side trending */
.bnp-hero__side {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-content: start;
}

.bnp-hero__thumb {
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
  background: var(--bnp-surface);
  border: 1px solid var(--bnp-border);
  border-radius: 12px;
  padding: 9px;
  cursor: pointer;
  text-align: start;
  text-decoration: none;
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  position: relative;
}

.bnp-hero__thumb:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(16, 18, 29, .12);
  text-decoration: none;
}

.bnp-hero__thumb.is-active {
  border-color: var(--bnp-primary);
  background: rgba(200, 16, 46, .04);
  box-shadow: 0 0 0 1px var(--bnp-primary) inset;
}

.bnp-hero__thumb-img {
  flex: 0 0 78px;
  width: 78px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bnp-bg-alt);
}

.bnp-hero__thumb-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bnp-hero__thumb-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.bnp-hero__thumb-cat {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-family: var(--bnp-font-display);
}

.bnp-hero__thumb-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--bnp-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bnp-hero__thumb-meta {
  font-size: 11px;
  color: var(--bnp-text-muted);
}


/* ==========================================================================
   9. Category block
   ========================================================================== */
.bnp-catblock {
  margin-bottom: 34px;
}

.bnp-catblock__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--bnp-border);
  padding-bottom: 10px;
  position: relative;
}

.bnp-catblock__head::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: -1px;
  width: 64px;
  height: 3px;
  background: var(--cat-color, var(--bnp-primary));
  border-radius: 3px;
}

.bnp-catblock__head-left {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.bnp-catblock__title {
  font-size: 19px;
  margin: 0;
  color: var(--bnp-text);
  font-family: var(--bnp-font-display);
  font-weight: 700;
  letter-spacing: -.01em;
}

.bnp-catblock__count {
  font-size: 12px;
  font-weight: 600;
  color: var(--bnp-text-muted);
  background: var(--bnp-bg-alt);
  border: 1px solid var(--bnp-border);
  padding: 1px 9px;
  border-radius: 999px;
  font-family: var(--bnp-font);
}

.bnp-catblock__head .bnp-viewall {
  color: var(--cat-color, var(--bnp-primary));
  font-family: var(--bnp-font-display);
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
}

.bnp-catblock__head .bnp-viewall:hover {
  opacity: .8;
}

/* Shared card styling inside category blocks */
.bnp-catblock {
  --cat-feat-thumb: 200px;
}

.bnp-catblock .bnp-card {
  background: var(--bnp-surface);
  border: 1px solid var(--bnp-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--bnp-shadow);
}

.bnp-catblock .bnp-card__thumb {
  aspect-ratio: 16/9;
  display: block;
  overflow: hidden;
}

.bnp-catblock .bnp-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.bnp-catblock .bnp-card:hover .bnp-card__thumb img {
  transform: scale(1.04);
}

.bnp-catblock .bnp-card__title {
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bnp-catblock .bnp-card__excerpt {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--bnp-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 5px 0 0;
}

.bnp-catblock .bnp-card__meta {
  margin-top: 6px;
}

/* The feature card hugs its own content — never stretches to match a taller
   sibling column (which would leave a large empty gap below the text). */
.bnp-catblock__feature {
  display: flex;
  flex-direction: column;
  height: auto;
}

.bnp-catblock__feature .bnp-card__thumb {
  aspect-ratio: 16/9;
  height: auto;
  flex: 0 0 auto;
}

.bnp-catblock__feature .bnp-card__body {
  padding: 14px 16px;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
}

.bnp-catblock__feature .bnp-card__title {
  font-size: clamp(16px, 1.4vw, 20px);
  -webkit-line-clamp: 3;
}

/* ---- Variant: SOLO (single post) — compact wide card, two-column ---- */
.bnp-catblock__solo .bnp-card {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: stretch;
}

.bnp-catblock__solo .bnp-card__thumb {
  aspect-ratio: auto;
  height: 100%;
  min-height: 200px;
}

.bnp-catblock__solo .bnp-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 22px;
}

.bnp-catblock__solo .bnp-card__title {
  font-size: clamp(18px, 1.8vw, 22px);
}

.bnp-catblock__solo .bnp-card__excerpt {
  font-size: 14px;
  -webkit-line-clamp: 3;
}

/* ---- All feature+side variants share one height band ---- */
.bnp-catblock__grid {
  display: grid;
  gap: 18px;
  align-items: stretch;
}

.bnp-catblock__grid--spotlight,
.bnp-catblock__grid--feat2x2,
.bnp-catblock__grid--listv,
.bnp-catblock__grid--overlay {
  grid-template-columns: 1.4fr 1fr;
}

/* SPOTLIGHT (feature + headline list) */
.bnp-catblock__list {
  display: flex;
  flex-direction: column;
}

.bnp-catblock__list .bnp-list-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--bnp-border);
}

.bnp-catblock__list .bnp-list-item:first-child {
  padding-top: 0;
}

.bnp-catblock__list .bnp-list-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* GRID (feature + 2x2 equal cards) */
.bnp-catblock__mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}

.bnp-minicard {
  display: flex;
  flex-direction: column;
}

.bnp-minicard .bnp-card__thumb {
  aspect-ratio: 16/9;
}

.bnp-minicard .bnp-card__body {
  padding: 9px 11px 12px;
}

.bnp-minicard .bnp-card__title {
  font-size: 13.5px;
  line-height: 1.55;
  -webkit-line-clamp: 2;
}

/* OVERLAY (text-over-hero + compact rail) */
.bnp-catblock__hero {
  position: relative;
  height: 100%;
}

.bnp-catblock__hero .bnp-card__thumb {
  aspect-ratio: auto;
  height: 100%;
  min-height: var(--cat-feat-thumb);
}

.bnp-catblock__hero-overlay {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 36px 20px 16px;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, .85), rgba(0, 0, 0, .35) 60%, transparent);
}

.bnp-catblock__hero-overlay .bnp-card__title {
  color: #fff;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.55;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bnp-catblock__hero-overlay .bnp-card__title,
.bnp-catblock__hero-overlay .bnp-card__meta {
  text-shadow: 0 1px 3px rgba(0, 0, 0, .5);
}

.bnp-catblock__hero-overlay .bnp-card__meta {
  color: rgba(255, 255, 255, .85);
}

.bnp-catblock__hero:hover .bnp-card__title {
  opacity: .9;
}

.bnp-catblock__rail {
  display: flex;
  flex-direction: column;
}

.bnp-catblock__rail .bnp-list-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--bnp-border);
}

.bnp-catblock__rail .bnp-list-item:first-child {
  padding-top: 0;
}

.bnp-catblock__rail .bnp-list-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* LIST (feature + numbered headline list) */
.bnp-catblock__numlist {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: bnp-num;
  display: flex;
  flex-direction: column;
}

.bnp-catblock__numlist li {
  counter-increment: bnp-num;
  border-bottom: 1px solid var(--bnp-border);
}

.bnp-catblock__numlist li:last-child {
  border-bottom: none;
}

.bnp-catblock__numlist a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 10px 0;
}

.bnp-catblock__numlist a::before {
  content: counter(bnp-num, decimal-leading-zero);
  font-family: var(--bnp-font-display);
  font-weight: 800;
  font-size: 16px;
  color: var(--cat-color, var(--bnp-primary));
  opacity: .55;
  line-height: 1.3;
}

.bnp-catblock__numtitle {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.32;
  color: var(--bnp-text);
}

.bnp-catblock__numlist a:hover .bnp-catblock__numtitle {
  color: var(--cat-color, var(--bnp-primary));
}

.bnp-catblock__nummeta {
  display: block;
  font-size: 11.5px;
  color: var(--bnp-text-muted);
  margin-top: 3px;
}

/* ==========================================================================
   10. Ads
   ========================================================================== */
.bnp-ad {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: var(--bnp-bg-alt);
  border: 1px dashed var(--bnp-border);
  border-radius: 8px;
  margin: 20px 0;
  overflow: hidden;
  min-height: 90px;
  text-align: center;
}

.bnp-ad__label {
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--bnp-text-muted);
  padding: 4px;
}

.bnp-ad--sidebar {
  min-height: 250px;
}

.bnp-ad--sticky-mobile {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  margin: 0;
  border-radius: 0;
  background: var(--bnp-surface);
  box-shadow: 0 -2px 8px rgba(0, 0, 0, .12);
  display: none;
}

.bnp-ad--sticky-mobile .bnp-ad__close {
  position: absolute;
  top: -22px;
  inset-inline-end: 6px;
  background: var(--bnp-surface);
  border: 1px solid var(--bnp-border);
  border-radius: 50% 50% 0 0;
  width: 34px;
  height: 22px;
  line-height: 1;
}

/* ==========================================================================
   11. Single post
   ========================================================================== */
.bnp-article {
  background: var(--bnp-surface);
  border: 1px solid var(--bnp-border);
  border-radius: var(--bnp-radius);
  padding: 36px 40px;
  box-shadow: var(--bnp-shadow);
  margin-bottom: 40px;
}

.bnp-related {
  margin-top: 48px;
}

.bnp-breadcrumb {
  font-size: 13px;
  color: var(--bnp-text-muted);
  margin-bottom: 16px;
  font-family: var(--bnp-font);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.bnp-breadcrumb a {
  color: var(--bnp-text-muted);
  text-decoration: none;
}

.bnp-breadcrumb a:hover {
  color: var(--bnp-primary);
}

.bnp-breadcrumb span[aria-current] {
  color: var(--bnp-primary);
  font-weight: 600;
}

.bnp-article__labels {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.bnp-label {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .4px;
  font-family: var(--bnp-font-display);
}

.bnp-label--breaking {
  background: var(--bnp-primary);
  animation: bnp-blink 1.4s steps(1) infinite;
}

.bnp-label--exclusive {
  background: #6a1b9a;
}

.bnp-label--factcheck {
  background: #1b7a3d;
}

@keyframes bnp-blink {
  50% {
    opacity: .55;
  }
}

.bnp-article__title {
  font-size: 36px;
  line-height: 1.22;
  margin: 0 0 12px;
  font-family: var(--bnp-font-head);
  letter-spacing: -.01em;
}

/* Static pages (About, Contact, etc.) are named in English → Outfit. */
.bnp-page .bnp-article__title {
  font-family: var(--bnp-font-display);
  font-weight: 700;
  letter-spacing: -.01em;
}

/* Category / tag / search archive headings are English → Outfit. */
.bnp-archive-title {
  font-family: var(--bnp-font-display);
  font-weight: 700;
  letter-spacing: -.01em;
}

.bnp-archive-desc {
  font-family: var(--bnp-font);
}

.bnp-article__subtitle {
  font-size: 19px;
  color: var(--bnp-text-muted);
  font-weight: 500;
  margin: 0 0 20px;
  line-height: 1.5;
}

.bnp-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding: 16px 0;
  border-block: 1px solid var(--bnp-border);
  margin-bottom: 22px;
  font-size: 13.5px;
  color: var(--bnp-text-muted);
  font-family: var(--bnp-font);
}

.bnp-article__meta .bnp-author {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  color: var(--bnp-text);
}

.bnp-article__meta .bnp-author img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--bnp-border);
}

.bnp-article__meta .bnp-author a {
  color: var(--bnp-text);
}

.bnp-article__meta .bnp-author a:hover {
  color: var(--bnp-primary);
}

.bnp-article__meta-sep {
  opacity: .4;
}

.bnp-article__featured {
  margin: 0 0 8px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(16, 18, 29, .10);
}

.bnp-article__featured img {
  width: 100%;
  height: auto;
  display: block;
}

.bnp-article__caption {
  font-size: 12.5px;
  color: var(--bnp-text-muted);
  margin-bottom: 22px;
  text-align: center;
  font-style: italic;
}

.bnp-article__content {
  font-size: 18.5px;
  line-height: 1.95;
  font-family: var(--bnp-font-hindi);
  color: var(--bnp-text);
  max-width: 72ch;
}

.bnp-article__content h2,
.bnp-article__content h3,
.bnp-article__content h4 {
  font-family: var(--bnp-font-head);
  scroll-margin-top: 80px;
}

.bnp-article__content p {
  margin: 0 0 1.3em;
}

/* Drop cap on the first paragraph */
.bnp-article__content>p:first-of-type::first-letter {
  float: inline-start;
  font-family: var(--bnp-font-display);
  font-weight: 800;
  font-size: 3.4em;
  line-height: .82;
  padding-inline-end: 10px;
  padding-top: 4px;
  color: var(--bnp-primary);
}

.bnp-article__content h2 {
  font-size: 26px;
  margin: 1.5em 0 .5em;
  padding-inline-start: 14px;
  border-inline-start: 4px solid var(--bnp-primary);
}

.bnp-article__content h3 {
  font-size: 21px;
  margin: 1.2em 0 .5em;
}

.bnp-article__content img {
  border-radius: 10px;
  margin: 1.2em auto;
  display: block;
}

.bnp-article__content ul,
.bnp-article__content ol {
  margin: 0 0 1.3em;
  padding-inline-start: 1.4em;
}

.bnp-article__content li {
  margin-bottom: .5em;
}

.bnp-article__content blockquote {
  border-inline-start: 4px solid var(--bnp-primary);
  background: var(--bnp-bg-alt);
  margin: 1.6em 0;
  padding: 18px 24px;
  border-radius: 0 10px 10px 0;
  font-style: italic;
  font-size: 1.05em;
  position: relative;
}

.bnp-article__content a {
  color: var(--bnp-link);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bnp-article__content a:hover {
  color: var(--bnp-primary);
}

.bnp-article__content hr {
  border: 0;
  border-top: 1px solid var(--bnp-border);
  margin: 2em 0;
}

/* TOC */
.bnp-toc {
  background: linear-gradient(var(--bnp-bg-alt), var(--bnp-surface));
  border: 1px solid var(--bnp-border);
  border-radius: 10px;
  padding: 18px 22px;
  margin: 0 0 26px;
}

.bnp-toc summary {
  font-weight: 700;
  cursor: pointer;
  font-size: 15px;
  font-family: var(--bnp-font-display);
  color: var(--bnp-text);
}

.bnp-toc summary::marker {
  color: var(--bnp-primary);
}

.bnp-toc ol {
  margin: 14px 0 0;
  padding-inline-start: 20px;
}

.bnp-toc ol li {
  margin-bottom: 8px;
  font-size: 14.5px;
}

.bnp-toc ol li a {
  color: var(--bnp-text);
  text-decoration: none;
}

.bnp-toc ol li a:hover {
  color: var(--bnp-primary);
  text-decoration: underline;
}

/* Share bar (below article metadata) — minimal icon-only buttons */
.bnp-share {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin: 20px 0;
  align-items: center;
}

.bnp-share__lbl {
  font-size: 12px;
  font-weight: 700;
  color: var(--bnp-text-muted);
  font-family: var(--bnp-font-display);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-inline-end: 4px;
}

/* Visually hide the button text; the aria-label keeps it accessible. */
.bnp-share__txt {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.bnp-share__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: var(--bnp-text);
  background: transparent;
  border: 1.5px solid var(--bnp-border);
  border-radius: 50%;
  cursor: pointer;
  transition: transform .18s ease, color .18s ease, background .18s ease, border-color .18s ease;
}

.bnp-share__btn svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

/* Hover/tap: fill with the platform's brand colour. */
.bnp-share__btn:hover,
.bnp-share__btn:focus-visible {
  transform: translateY(-3px);
  color: #fff;
  border-color: transparent;
  text-decoration: none;
}

.bnp-share__btn:active {
  transform: translateY(-1px);
}

.bnp-share--wa:hover,
.bnp-share--wa:focus-visible {
  background: #25d366;
}

.bnp-share--fb:hover,
.bnp-share--fb:focus-visible {
  background: #1877f2;
}

.bnp-share--tw:hover,
.bnp-share--tw:focus-visible {
  background: #16181d;
}

.bnp-share--tg:hover,
.bnp-share--tg:focus-visible {
  background: #229ed9;
}

.bnp-share--cp:hover,
.bnp-share--cp:focus-visible {
  background: var(--bnp-accent, #1a3c8c);
}

.bnp-share--native:hover,
.bnp-share--native:focus-visible {
  background: var(--bnp-primary);
}

/* "Copied!" confirmation tooltip on the copy button. */
.bnp-share--cp.is-copied {
  background: #16a34a;
  border-color: transparent;
  color: #fff;
}

.bnp-share--cp.is-copied::after {
  content: "Copied!";
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #16a34a;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
}

/* Author box */
.bnp-authorbox {
  display: flex;
  gap: 18px;
  background: linear-gradient(120deg, var(--bnp-bg-alt), var(--bnp-surface));
  border: 1px solid var(--bnp-border);
  border-radius: 14px;
  padding: 22px;
  margin: 32px 0;
  align-items: center;
}

.bnp-authorbox img {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 3px solid var(--bnp-surface);
  box-shadow: 0 2px 10px rgba(16, 18, 29, .12);
}

.bnp-authorbox h4 {
  margin: 0 0 5px;
  font-family: var(--bnp-font-display);
  font-size: 17px;
}

.bnp-authorbox h4 a {
  color: var(--bnp-text);
}

.bnp-authorbox h4 a:hover {
  color: var(--bnp-primary);
}

.bnp-authorbox p {
  font-size: 14px;
  color: var(--bnp-text-muted);
  margin: 0;
  line-height: 1.6;
}

/* Post nav */
.bnp-postnav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 28px 0;
}

.bnp-postnav a {
  background: var(--bnp-surface);
  border: 1px solid var(--bnp-border);
  border-radius: 8px;
  padding: 14px;
  display: block;
}

.bnp-postnav small {
  color: var(--bnp-text-muted);
  font-size: 12px;
}

.bnp-postnav strong {
  display: block;
  margin-top: 4px;
  color: var(--bnp-text);
  font-size: 15px;
}

/* Live blog */
.bnp-liveblog {
  border-inline-start: 3px solid var(--bnp-primary);
  padding-inline-start: 18px;
  margin: 24px 0;
}

.bnp-liveblog__entry {
  margin-bottom: 20px;
  position: relative;
}

.bnp-liveblog__entry::before {
  content: "";
  position: absolute;
  inset-inline-start: -23px;
  top: 4px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--bnp-primary);
}

.bnp-liveblog__time {
  font-size: 12px;
  color: var(--bnp-primary);
  font-weight: 700;
}

/* ==========================================================================
   12. Widgets
   ========================================================================== */
.bnp-widget {
  background: var(--bnp-surface);
  border: 1px solid var(--bnp-border);
  border-radius: var(--bnp-radius);
  padding: 18px 20px;
  box-shadow: var(--bnp-shadow);
  margin-bottom: var(--bnp-gap);
  transition: box-shadow .18s ease, transform .18s ease;
}

.bnp-widget:hover {
  box-shadow: 0 6px 20px rgba(16, 18, 29, .10);
}

.bnp-sidebar .bnp-widget {
  margin-bottom: 0;
}

.bnp-widget:last-child {
  margin-bottom: 0;
}

/* Recent Posts with thumbnails (core widget, enhanced) */
.bnp-rp-thumbs {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bnp-sidebar .widget_recent_entries .bnp-rp-thumbs li {
  padding: 12px 0;
  border-bottom: 1px solid var(--bnp-border);
}

.bnp-sidebar .widget_recent_entries .bnp-rp-thumbs li::before {
  content: none;
}

.bnp-sidebar .widget_recent_entries .bnp-rp-thumbs li:hover {
  padding-inline-start: 0;
}

.bnp-rp-thumbs .bnp-list-item {
  padding: 12px 0;
  align-items: flex-start;
}

.bnp-rp-thumbs .bnp-list-item__thumb {
  flex: 0 0 76px;
  width: 76px;
  height: 52px;
  aspect-ratio: 16/11;
}

.bnp-rp-thumbs .bnp-list-item__thumb img {
  transition: transform .3s ease;
}

.bnp-rp-thumbs .bnp-list-item:hover .bnp-list-item__thumb img {
  transform: scale(1.06);
}

.bnp-rp-thumbs .bnp-list-item__title {
  font-family: var(--bnp-font-hindi);
  font-weight: 600;
  font-size: 14px;
}

.bnp-rp-thumb--ph {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bnp-bg-alt), var(--bnp-border));
  position: relative;
}

.bnp-rp-thumb--ph::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 22px;
  height: 22px;
  background: var(--bnp-text-muted);
  opacity: .25;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 19V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2zM8.5 11l2.5 3 3.5-4.5L19 17H5l3.5-6z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 19V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2zM8.5 11l2.5 3 3.5-4.5L19 17H5l3.5-6z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Widget heading — English labels, Outfit, with brand accent bar */
.bnp-widget__title,
.bnp-sidebar .widget-title,
.bnp-sidebar .widgettitle,
.bnp-sidebar .wp-block-heading {
  font-family: var(--bnp-font-editorial);
  font-weight: 700;
  letter-spacing: -.01em;
  font-size: 18px;
  margin: 0 0 16px;
  padding: 0 0 10px 14px;
  position: relative;
  border-bottom: 1px solid var(--bnp-border);
  color: var(--bnp-text);
}

.bnp-widget__title::before,
.bnp-sidebar .widget-title::before,
.bnp-sidebar .widgettitle::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 1px;
  bottom: 11px;
  width: 4px;
  border-radius: 0;
  background: var(--bnp-primary);
}

.bnp-widget__title::after {
  content: none;
}

/* ---- Native WordPress widget link lists (Recent Posts, Archives, Categories, Pages, Meta, Recent Comments) ---- */
.bnp-sidebar .bnp-widget ul,
.bnp-sidebar .widget_recent_entries ul,
.bnp-sidebar .widget_archive ul,
.bnp-sidebar .widget_categories ul,
.bnp-sidebar .widget_pages ul,
.bnp-sidebar .widget_meta ul,
.bnp-sidebar .widget_nav_menu ul,
.bnp-sidebar .widget_recent_comments ul,
.bnp-sidebar .wp-block-latest-posts,
.bnp-sidebar .wp-block-categories,
.bnp-sidebar .wp-block-archives {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bnp-sidebar .bnp-widget li,
.bnp-sidebar .widget_recent_entries li,
.bnp-sidebar .widget_archive li,
.bnp-sidebar .widget_categories li,
.bnp-sidebar .widget_pages li,
.bnp-sidebar .widget_meta li,
.bnp-sidebar .widget_nav_menu li,
.bnp-sidebar .wp-block-latest-posts li,
.bnp-sidebar .wp-block-categories li,
.bnp-sidebar .wp-block-archives li {
  position: relative;
  margin: 0;
  padding: 11px 0 11px 22px;
  border-bottom: 1px dashed var(--bnp-border);
  line-height: 1.5;
  transition: padding-inline-start .18s ease;
}

.bnp-sidebar .bnp-widget li:last-child,
.bnp-sidebar .widget_recent_entries li:last-child,
.bnp-sidebar .widget_archive li:last-child,
.bnp-sidebar .widget_categories li:last-child,
.bnp-sidebar .widget_pages li:last-child,
.bnp-sidebar .widget_meta li:last-child,
.bnp-sidebar .wp-block-latest-posts li:last-child,
.bnp-sidebar .wp-block-categories li:last-child,
.bnp-sidebar .wp-block-archives li:last-child {
  border-bottom: 0;
}

/* Chevron marker before each link */
.bnp-sidebar .widget_recent_entries li::before,
.bnp-sidebar .widget_archive li::before,
.bnp-sidebar .widget_categories li::before,
.bnp-sidebar .widget_pages li::before,
.bnp-sidebar .widget_meta li::before,
.bnp-sidebar .wp-block-latest-posts li::before,
.bnp-sidebar .wp-block-categories li::before,
.bnp-sidebar .wp-block-archives li::before {
  content: "›";
  position: absolute;
  inset-inline-start: 4px;
  top: 10px;
  color: var(--bnp-primary);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  transition: inset-inline-start .18s ease;
}

.bnp-sidebar .widget_recent_entries li:hover,
.bnp-sidebar .widget_archive li:hover,
.bnp-sidebar .widget_categories li:hover,
.bnp-sidebar .widget_pages li:hover,
.bnp-sidebar .wp-block-latest-posts li:hover,
.bnp-sidebar .wp-block-categories li:hover,
.bnp-sidebar .wp-block-archives li:hover {
  padding-inline-start: 26px;
}

.bnp-sidebar .widget_categories li:hover,
.bnp-sidebar .widget_archive li:hover {
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(200, 16, 46, .05), transparent);
}

.bnp-sidebar .widget_recent_entries li:hover::before,
.bnp-sidebar .widget_archive li:hover::before,
.bnp-sidebar .widget_categories li:hover::before,
.bnp-sidebar .widget_pages li:hover::before,
.bnp-sidebar .wp-block-latest-posts li:hover::before,
.bnp-sidebar .wp-block-categories li:hover::before,
.bnp-sidebar .wp-block-archives li:hover::before {
  inset-inline-start: 8px;
}

.bnp-sidebar .bnp-widget li a,
.bnp-sidebar .widget_recent_entries li a,
.bnp-sidebar .widget_archive li a,
.bnp-sidebar .widget_categories li a,
.bnp-sidebar .widget_pages li a,
.bnp-sidebar .wp-block-latest-posts li a,
.bnp-sidebar .wp-block-categories li a,
.bnp-sidebar .wp-block-archives li a {
  color: var(--bnp-text);
  font-weight: 500;
  font-size: 14.5px;
  text-decoration: none;
}

.bnp-sidebar .bnp-widget li a:hover,
.bnp-sidebar .widget_recent_entries li a:hover,
.bnp-sidebar .widget_archive li a:hover,
.bnp-sidebar .widget_categories li a:hover,
.bnp-sidebar .widget_pages li a:hover,
.bnp-sidebar .wp-block-latest-posts li a:hover,
.bnp-sidebar .wp-block-categories li a:hover,
.bnp-sidebar .wp-block-archives li a:hover {
  color: var(--bnp-primary);
}

/* Recent Posts: titles are Hindi headlines → Hindi font */
.bnp-sidebar .widget_recent_entries li a,
.bnp-sidebar .wp-block-latest-posts li a {
  font-family: var(--bnp-font-hindi);
}

.bnp-sidebar .widget_recent_entries .post-date,
.bnp-sidebar .wp-block-latest-posts__post-date {
  display: block;
  font-size: 11.5px;
  color: var(--bnp-text-muted);
  font-family: var(--bnp-font);
  margin-top: 3px;
}

/* Count badge on Categories / Archives ("(12)") */
.bnp-sidebar .widget_categories li,
.bnp-sidebar .widget_archive li {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.bnp-sidebar .widget_categories li a,
.bnp-sidebar .widget_archive li a {
  flex: 1;
}

.bnp-sidebar .widget_categories .post-count,
.bnp-sidebar .widget_categories li>.count,
.bnp-sidebar .widget_archive .post-count {
  background: var(--bnp-bg-alt);
  color: var(--bnp-text-muted);
  font-size: 11px;
  font-weight: 600;
  font-family: var(--bnp-font);
  padding: 1px 8px;
  border-radius: 999px;
  flex: 0 0 auto;
}

/* Nested submenus in category/page widgets */
.bnp-sidebar .children,
.bnp-sidebar .sub-menu {
  margin-inline-start: 14px;
}

/* Recent Comments */
.bnp-sidebar .widget_recent_comments li {
  padding-inline-start: 0;
}

.bnp-sidebar .widget_recent_comments li::before {
  content: none;
}

.bnp-sidebar .recentcomments {
  font-size: 13.5px;
  color: var(--bnp-text-muted);
  font-family: var(--bnp-font);
}

.bnp-sidebar .recentcomments a {
  font-weight: 600;
}

.bnp-sidebar .widget_recent_comments .comment-author-link {
  color: var(--bnp-accent);
  font-weight: 600;
}

/* Empty-state text ("No comments to show.") */
.bnp-sidebar .bnp-widget p,
.bnp-sidebar .no-comments {
  font-size: 14px;
  color: var(--bnp-text-muted);
  font-family: var(--bnp-font);
  margin: 0;
}

/* ---- Native search widget / block ---- */
.bnp-sidebar .widget_search .search-form,
.bnp-sidebar .wp-block-search__inside-wrapper {
  display: flex;
  gap: 8px;
}

.bnp-sidebar .widget_search .search-field,
.bnp-sidebar .wp-block-search__input,
.bnp-sidebar input[type="search"] {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  font-size: 14.5px;
  border: 1px solid var(--bnp-border);
  border-radius: 8px;
  background: var(--bnp-bg);
  color: var(--bnp-text);
  font-family: var(--bnp-font);
  transition: border-color .15s ease, box-shadow .15s ease;
}

.bnp-sidebar .widget_search .search-field:focus,
.bnp-sidebar .wp-block-search__input:focus,
.bnp-sidebar input[type="search"]:focus {
  outline: none;
  border-color: var(--bnp-primary);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, .12);
}

.bnp-sidebar .widget_search .search-submit,
.bnp-sidebar .wp-block-search__button {
  background: var(--bnp-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 11px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14.5px;
  font-family: var(--bnp-font-display);
  white-space: nowrap;
  margin: 0;
  transition: background .15s ease;
}

.bnp-sidebar .widget_search .search-submit:hover,
.bnp-sidebar .wp-block-search__button:hover {
  background: var(--bnp-primary-dark);
}

/* Sidebar tag cloud */
.bnp-sidebar .tagcloud a,
.bnp-sidebar .wp-block-tag-cloud a {
  display: inline-block;
  background: var(--bnp-bg-alt);
  border: 1px solid var(--bnp-border);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12.5px !important;
  margin: 0 5px 7px 0;
  color: var(--bnp-text);
  font-family: var(--bnp-font);
  transition: all .15s ease;
}

.bnp-sidebar .tagcloud a:hover,
.bnp-sidebar .wp-block-tag-cloud a:hover {
  background: var(--bnp-primary);
  color: #fff;
  border-color: var(--bnp-primary);
}

.bnp-newsletter input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--bnp-border);
  border-radius: 6px;
  margin-bottom: 10px;
  background: var(--bnp-bg);
  color: var(--bnp-text);
}

.bnp-btn {
  background: var(--bnp-primary);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  width: 100%;
}

.bnp-btn:hover {
  background: var(--bnp-primary-dark);
}

.bnp-poll__option {
  display: block;
  margin-bottom: 8px;
  cursor: pointer;
  font-size: 14px;
}

.bnp-poll__bar {
  height: 6px;
  background: var(--bnp-bg-alt);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 4px;
}

.bnp-poll__bar span {
  display: block;
  height: 100%;
  background: var(--bnp-primary);
}

.bnp-tagcloud a {
  display: inline-block;
  background: var(--bnp-bg-alt);
  border: 1px solid var(--bnp-border);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12.5px;
  margin: 0 4px 6px 0;
  color: var(--bnp-text);
}

.bnp-social-counter {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.bnp-social-counter a {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  border-radius: 8px;
  color: #fff;
  font-size: 12px;
}

/* ==========================================================================
   13. Footer
   ========================================================================== */
.bnp-footer {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  margin-top: 50px;
  color: #c5cad6;
  background: linear-gradient(160deg, #0B1220 0%, #111827 55%, #0F172A 100%);
  font-family: var(--bnp-font);
  /* faint road-network pattern */
  background-image:
    linear-gradient(160deg, #0B1220 0%, #111827 55%, #0F172A 100%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .018) 0 2px, transparent 2px 26px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, .018) 0 2px, transparent 2px 26px);
}

.bnp-footer a {
  color: #c5cad6;
  text-decoration: none;
  transition: color .18s ease;
}

.bnp-footer a:hover {
  color: #fff;
}

/* soft glow accents */
.bnp-footer__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.bnp-footer__glow::before,
.bnp-footer__glow::after {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .22;
}

.bnp-footer__glow::before {
  top: -160px;
  inset-inline-start: -120px;
  background: var(--bnp-primary);
}

.bnp-footer__glow::after {
  bottom: -200px;
  inset-inline-end: -120px;
  background: #2563eb;
  opacity: .16;
}

.bnp-footer>.bnp-container {
  position: relative;
  z-index: 1;
}

/* ---- Stats bar ---- */
.bnp-footer__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 30px 0;
  margin-top: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.bnp-stat {
  text-align: center;
  padding: 20px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.bnp-stat:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .16);
}

.bnp-stat__value {
  display: block;
  font-family: var(--bnp-font-display);
  font-weight: 800;
  font-size: 30px;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -.02em;
  background: linear-gradient(120deg, #fff, #9fb4d8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bnp-stat__label {
  display: block;
  font-size: 13px;
  color: #8b94a7;
  margin-top: 6px;
}

/* ---- Top columns ---- */
.bnp-footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.5fr;
  gap: 40px;
  /* Consistent left/right breathing room for all footer sections. */
  padding: 48px 40px;
}

.bnp-footer__col {
  min-width: 0;
}

.bnp-footer__heading {
  color: #fff;
  font-size: 15px;
  margin: 0 0 20px;
  font-family: var(--bnp-font-display);
  font-weight: 700;
  letter-spacing: .02em;
  position: relative;
  padding-bottom: 10px;
}

.bnp-footer__heading::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 36px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--bnp-primary), transparent);
}

/* Brand */
.bnp-footer__logo-link {
  display: inline-block;
  margin-bottom: 18px;
}

.bnp-footer__logo-img,
.bnp-footer__about .custom-logo {
  width: 92px;
  height: 92px;
  border-radius: 18px;
  background: #fff;
  padding: 7px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, .4);
  object-fit: contain;
  display: block;
}

/* The WordPress custom-logo link wrapper used in the footer. */
.bnp-footer__about .custom-logo-link {
  display: inline-block;
  margin-bottom: 18px;
}

.bnp-footer__about-heading {
  margin-top: 18px;
  margin-bottom: 14px;
}

.bnp-footer__tagline {
  font-family: var(--bnp-font-display);
  font-weight: 600;
  font-size: 15px;
  color: #e7ebf3;
  margin: 0 0 12px;
  line-height: 1.5;
}

.bnp-footer__desc {
  font-size: 13.5px;
  line-height: 1.75;
  color: #9aa3b5;
  margin: 0 0 20px;
  max-width: 42ch;
}

/* Social */
.bnp-footer__social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.bnp-footer__social-link {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  color: #c5cad6;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
}

.bnp-footer__social-link svg {
  width: 18px;
  height: 18px;
}

.bnp-footer__social-link:hover {
  transform: translateY(-3px);
  color: #fff;
  background: var(--bnp-primary);
  border-color: transparent;
  box-shadow: 0 0 0 4px rgba(200, 16, 46, .18), 0 8px 20px rgba(200, 16, 46, .35);
}

/* Link lists */
.bnp-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bnp-footer__links li {
  margin-bottom: 11px;
  font-size: 14px;
}

.bnp-footer__links--icon a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.bnp-footer__ico {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  color: var(--bnp-primary);
  transition: all .2s ease;
}

.bnp-footer__ico svg {
  width: 16px;
  height: 16px;
}

.bnp-footer__links--icon a:hover .bnp-footer__ico {
  background: var(--bnp-primary);
  color: #fff;
  border-color: transparent;
  transform: translateX(3px);
}

/* underline-slide variant (quick links) */
.bnp-footer__links--underline a {
  position: relative;
  display: inline-block;
}

.bnp-footer__links--underline a::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--bnp-primary);
  transition: width .25s ease;
}

.bnp-footer__links--underline a:hover::after {
  width: 100%;
}

.bnp-footer__links--underline a::before {
  content: "›";
  opacity: 0;
  margin-inline-end: 0;
  color: var(--bnp-primary);
  transition: opacity .2s ease, margin .2s ease;
}

.bnp-footer__links--underline a:hover::before {
  opacity: 1;
  margin-inline-end: 6px;
}

/* Latest mini-cards */
.bnp-footer__cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bnp-footer__card {
  display: flex;
  gap: 12px;
  padding: 8px;
  border-radius: 12px;
  align-items: center;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .07);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.bnp-footer__card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .16);
}

.bnp-footer__card-thumb {
  flex: 0 0 64px;
  width: 64px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, .06);
}

.bnp-footer__card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bnp-footer__card-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.bnp-footer__card-badge {
  align-self: flex-start;
  font-size: 9.5px;
  font-weight: 700;
  color: #fff;
  padding: 1px 7px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .3px;
  font-family: var(--bnp-font-display);
}

.bnp-footer__card-title {
  font-size: 13px;
  color: #dfe3ec;
  line-height: 1.35;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bnp-footer__card:hover .bnp-footer__card-title {
  color: #fff;
}

.bnp-footer__card-date {
  font-size: 11px;
  color: #7f889b;
}

/* Newsletter */
.bnp-footer__newsletter {
  padding: 8px 0 36px;
}

.bnp-newsletter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 26px 30px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.bnp-newsletter__text h3 {
  color: #fff;
  font-family: var(--bnp-font-display);
  font-weight: 700;
  font-size: 21px;
  margin: 0 0 6px;
}

.bnp-newsletter__text p {
  color: #9aa3b5;
  font-size: 14px;
  margin: 0;
}

.bnp-newsletter__form {
  display: flex;
  gap: 10px;
  flex: 1;
  min-width: 280px;
  max-width: 460px;
}

.bnp-newsletter__form input {
  flex: 1;
  min-width: 0;
  padding: 13px 16px;
  border-radius: 12px;
  font-size: 14.5px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  color: #fff;
  font-family: var(--bnp-font);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.bnp-newsletter__form input::placeholder {
  color: #8b94a7;
}

.bnp-newsletter__form input:focus {
  outline: none;
  border-color: var(--bnp-primary);
  box-shadow: 0 0 0 4px rgba(200, 16, 46, .16);
}

.bnp-newsletter__form button {
  padding: 13px 26px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--bnp-font-display);
  font-weight: 700;
  font-size: 14.5px;
  color: #fff;
  background: linear-gradient(120deg, var(--bnp-primary), #e23);
  background-size: 160% 160%;
  transition: transform .15s ease, box-shadow .2s ease, background-position .4s ease;
}

.bnp-newsletter__form button:hover {
  transform: scale(1.04);
  background-position: 100% 0;
  box-shadow: 0 8px 22px rgba(200, 16, 46, .4);
}

/* Bottom bar */
.bnp-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #8b94a7;
}

.bnp-footer__bottomnav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 18px;
}

.bnp-footer__bottomnav a {
  font-size: 13px;
}

.bnp-footer__madeby {
  color: #8b94a7;
}

.bnp-footer__heart {
  color: var(--bnp-primary);
  animation: bnp-heart 1.6s ease-in-out infinite;
  display: inline-block;
}

@keyframes bnp-heart {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.25);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bnp-footer__heart {
    animation: none;
  }
}

/* ==========================================================================
   14. Pagination
   ========================================================================== */
.bnp-pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin: 30px 0;
  flex-wrap: wrap;
}

.bnp-pagination .page-numbers {
  background: var(--bnp-surface);
  border: 1px solid var(--bnp-border);
  color: var(--bnp-text);
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
}

.bnp-pagination .page-numbers.current,
.bnp-pagination .page-numbers:hover {
  background: var(--bnp-primary);
  color: #fff;
  border-color: var(--bnp-primary);
  text-decoration: none;
}

.bnp-loadmore {
  text-align: center;
  margin: 24px 0;
}

.bnp-loadmore button {
  background: var(--bnp-primary);
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
}

/* ==========================================================================
   15. Search overlay
   ========================================================================== */
.bnp-search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  z-index: 300;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 16px;
}

.bnp-search-overlay.is-open {
  display: flex;
}

.bnp-search-box {
  width: 100%;
  max-width: 640px;
  background: var(--bnp-surface);
  border-radius: 12px;
  padding: 22px;
}

.bnp-search-box input {
  width: 100%;
  font-size: 18px;
  padding: 14px 16px;
  border: 2px solid var(--bnp-border);
  border-radius: 8px;
  background: var(--bnp-bg);
  color: var(--bnp-text);
}

.bnp-search-results {
  margin-top: 14px;
  max-height: 50vh;
  overflow-y: auto;
}

.bnp-search-results a {
  display: flex;
  gap: 12px;
  padding: 10px;
  border-radius: 8px;
  color: var(--bnp-text);
}

.bnp-search-results a:hover {
  background: var(--bnp-bg-alt);
  text-decoration: none;
}

.bnp-search-results img {
  width: 60px;
  height: 42px;
  object-fit: cover;
  border-radius: 5px;
}

.bnp-search-results mark {
  background: #fff3a3;
  color: inherit;
  padding: 0 2px;
}

/* ==========================================================================
   16. Mobile bottom nav
   ========================================================================== */
.bnp-bottomnav {
  display: none;
}

/* ==========================================================================
   17. Section helpers (video / gallery / reels)
   ========================================================================== */
.bnp-video-card .bnp-card__thumb::after {
  content: "▶";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 52px;
  height: 52px;
  background: rgba(200, 16, 46, .92);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.bnp-reel {
  display: flex;
  justify-content: center;
}

.bnp-reel .instagram-media {
  /* Cap to Instagram's natural embed width so the reel keeps its real
     proportions (forcing 100% of a wide column stretches the video). */
  width: 100% !important;
  min-width: 0 !important;
  max-width: 340px !important;
  margin: 0 auto !important;
  border-radius: 12px;
}

.bnp-reels__more {
  text-align: center;
  margin-top: 18px;
}

.bnp-reels__more .bnp-btn {
  display: inline-block;
  background: var(--bnp-primary);
  color: #fff;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  font-family: var(--bnp-font-display);
}

.bnp-reels__more .bnp-btn:hover {
  background: var(--bnp-accent);
}

.bnp-gallery-grid img {
  border-radius: 8px;
  cursor: zoom-in;
  aspect-ratio: 1;
  object-fit: cover;
}

/* Lightbox */
.bnp-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .92);
  z-index: 400;
  display: none;
  align-items: center;
  justify-content: center;
}

.bnp-lightbox.is-open {
  display: flex;
}

.bnp-lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 6px;
}

.bnp-lightbox__close {
  position: absolute;
  top: 18px;
  inset-inline-end: 18px;
  color: #fff;
  font-size: 30px;
  background: none;
  border: none;
}

/* ==========================================================================
   18. Comments
   ========================================================================== */
.bnp-comments {
  margin-top: 36px;
  padding: 28px;
  background: var(--bnp-surface);
  border: 1px solid var(--bnp-border);
  border-radius: var(--bnp-radius);
  box-shadow: var(--bnp-shadow);
}

.bnp-comments__title,
.bnp-comments .comment-reply-title {
  font-family: var(--bnp-font-head);
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 20px;
  padding-inline-start: 14px;
  position: relative;
}

.bnp-comments__title::before,
.bnp-comments .comment-reply-title::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 3px;
  bottom: 3px;
  width: 5px;
  border-radius: 3px;
  background: linear-gradient(var(--bnp-primary), var(--bnp-accent));
}

.bnp-comments .comment-reply-title small {
  font-size: 13px;
  font-weight: 500;
  margin-inline-start: 10px;
}

/* Comment list */
.bnp-comment-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.bnp-comment-list .comment-body {
  padding: 18px;
  background: var(--bnp-bg-alt);
  border: 1px solid var(--bnp-border);
  border-radius: 10px;
  margin-bottom: 16px;
}

.bnp-comment-list .children {
  list-style: none;
  margin: 0 0 0 28px;
  padding: 0;
}

.bnp-comment-list .comment-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.bnp-comment-list .comment-author img {
  border-radius: 50%;
}

.bnp-comment-list .comment-author .fn {
  font-style: normal;
  font-weight: 700;
  font-family: var(--bnp-font-display);
  color: var(--bnp-text);
  font-size: 15px;
}

.bnp-comment-list .comment-author .says {
  display: none;
}

.bnp-comment-list .comment-meta {
  font-size: 12px;
  color: var(--bnp-text-muted);
  font-family: var(--bnp-font);
  margin-bottom: 8px;
}

.bnp-comment-list .comment-meta a {
  color: var(--bnp-text-muted);
}

.bnp-comment-list .comment-content {
  font-family: var(--bnp-font-hindi);
  line-height: 1.75;
  font-size: 15.5px;
}

.bnp-comment-list .comment-content p {
  margin: 0 0 .7em;
}

.bnp-comment-list .reply {
  margin-top: 6px;
}

.bnp-comment-list .comment-reply-link {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  font-family: var(--bnp-font-display);
  color: var(--bnp-primary);
  padding: 4px 12px;
  border: 1px solid var(--bnp-border);
  border-radius: 999px;
  transition: all .15s ease;
}

.bnp-comment-list .comment-reply-link:hover {
  background: var(--bnp-primary);
  color: #fff;
  border-color: var(--bnp-primary);
  text-decoration: none;
}

.bnp-comment-list .bypostauthor>.comment-body {
  border-inline-start: 3px solid var(--bnp-primary);
}

/* Comment form */
.bnp-comments .comment-respond {
  margin-top: 8px;
}

.bnp-comments .comment-form {
  display: grid;
  gap: 14px;
}

.bnp-comments .comment-form-author,
.bnp-comments .comment-form-email,
.bnp-comments .comment-form-url,
.bnp-comments .comment-form-comment {
  margin: 0;
}

.bnp-comments .logged-in-as,
.bnp-comments .comment-notes {
  font-size: 13.5px;
  color: var(--bnp-text-muted);
  font-family: var(--bnp-font);
  margin: 0;
}

.bnp-comments .comment-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--bnp-font-display);
  margin-bottom: 6px;
  color: var(--bnp-text);
}

.bnp-comments .comment-form input[type="text"],
.bnp-comments .comment-form input[type="email"],
.bnp-comments .comment-form input[type="url"],
.bnp-comments .comment-form textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  font-family: var(--bnp-font-hindi);
  border: 1px solid var(--bnp-border);
  border-radius: 10px;
  background: var(--bnp-bg);
  color: var(--bnp-text);
  box-sizing: border-box;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.bnp-comments .comment-form input:focus,
.bnp-comments .comment-form textarea:focus {
  outline: none;
  border-color: var(--bnp-primary);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, .12);
}

.bnp-comments .comment-form textarea {
  min-height: 130px;
  resize: vertical;
}

.bnp-comments .form-submit {
  margin: 0;
}

.bnp-comments .form-submit .bnp-btn,
.bnp-comments .form-submit input[type="submit"] {
  width: 100%;
  background: var(--bnp-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 13px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  font-family: var(--bnp-font-display);
  transition: background .15s ease, transform .1s ease;
}

.bnp-comments .form-submit .bnp-btn:hover,
.bnp-comments .form-submit input[type="submit"]:hover {
  background: var(--bnp-primary-dark);
}

.bnp-comments .form-submit .bnp-btn:active,
.bnp-comments .form-submit input[type="submit"]:active {
  transform: translateY(1px);
}

.bnp-comments .comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.bnp-comments .comment-form-cookies-consent label {
  margin: 0;
  font-weight: 500;
}

.bnp-comments-closed {
  font-size: 14px;
  color: var(--bnp-text-muted);
  font-family: var(--bnp-font);
}

/* Two-up name/email on wider screens */
@media (min-width: 600px) {
  .bnp-comments .comment-form {
    grid-template-columns: 1fr 1fr;
  }

  .bnp-comments .comment-form-comment,
  .bnp-comments .comment-notes,
  .bnp-comments .logged-in-as,
  .bnp-comments .comment-form-cookies-consent,
  .bnp-comments .form-submit {
    grid-column: 1 / -1;
  }

  .bnp-comments .comment-form-url {
    grid-column: 1 / -1;
  }
}

/* ==========================================================================
   18b. Article premium enhancements
   ========================================================================== */
/* Reading progress bar */
.bnp-reading-progress {
  position: fixed;
  top: 0;
  inset-inline: 0;
  height: 3px;
  z-index: 300;
  background: transparent;
  pointer-events: none;
}

.bnp-reading-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--bnp-primary), #ff5470);
  box-shadow: 0 0 8px rgba(200, 16, 46, .5);
  transition: width .08s linear;
}

/* View count in meta */
.bnp-views {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.bnp-views svg {
  opacity: .7;
}

/* Floating vertical share rail (desktop) */
.bnp-sharerail {
  position: absolute;
  inset-inline-start: -68px;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bnp-article {
  position: relative;
}

.bnp-sharerail__btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bnp-surface);
  border: 1px solid var(--bnp-border);
  color: var(--bnp-text-muted);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(16, 18, 29, .08);
  transition: transform .16s ease, color .16s ease, background .16s ease, box-shadow .16s ease;
}

.bnp-sharerail__btn svg {
  width: 19px;
  height: 19px;
}

.bnp-sharerail__btn:hover {
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 6px 16px rgba(16, 18, 29, .18);
}

.bnp-sharerail--wa:hover {
  background: #25d366;
  border-color: transparent;
}

.bnp-sharerail--fb:hover {
  background: #1877f2;
  border-color: transparent;
}

.bnp-sharerail--tw:hover {
  background: #16181d;
  border-color: transparent;
}

.bnp-sharerail--tg:hover {
  background: #229ed9;
  border-color: transparent;
}

.bnp-sharerail--cp:hover {
  background: var(--bnp-primary);
  border-color: transparent;
}

@media (min-width: 1025px) {
  .bnp-sharerail {
    position: sticky;
    top: 90px;
    float: inline-start;
    margin-inline-start: -68px;
  }
}

/* Content highlight / info / quote / fact boxes (editor classes) */
.bnp-article__content .bnp-box {
  border-radius: 12px;
  padding: 18px 20px;
  margin: 1.6em 0;
  border: 1px solid var(--bnp-border);
}

.bnp-article__content .bnp-box__label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--bnp-font-display);
  font-weight: 700;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 8px;
}

.bnp-article__content .bnp-box p:last-child {
  margin-bottom: 0;
}

.bnp-box--highlight,
.bnp-article__content .is-style-highlight {
  background: rgba(200, 16, 46, .06);
  border-color: rgba(200, 16, 46, .25);
  border-inline-start: 4px solid var(--bnp-primary);
}

.bnp-box--highlight .bnp-box__label {
  color: var(--bnp-primary);
}

.bnp-box--info,
.bnp-article__content .is-style-info {
  background: rgba(37, 99, 235, .06);
  border-color: rgba(37, 99, 235, .25);
  border-inline-start: 4px solid #2563eb;
}

.bnp-box--info .bnp-box__label {
  color: #2563eb;
}

.bnp-box--quote {
  background: var(--bnp-bg-alt);
  border: none;
  border-inline-start: 4px solid var(--bnp-primary);
  font-size: 1.15em;
  font-style: italic;
  line-height: 1.7;
}

/* Fact cards grid */
.bnp-factgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin: 1.6em 0;
}

.bnp-fact {
  background: var(--bnp-bg-alt);
  border: 1px solid var(--bnp-border);
  border-radius: 12px;
  padding: 16px 18px;
}

.bnp-fact__label {
  font-size: 12px;
  color: var(--bnp-text-muted);
  font-family: var(--bnp-font);
  text-transform: uppercase;
  letter-spacing: .03em;
}

.bnp-fact__value {
  font-size: 22px;
  font-weight: 800;
  font-family: var(--bnp-font-display);
  color: var(--bnp-text);
  margin-top: 3px;
  letter-spacing: -.01em;
}

/* Project information card */
.bnp-projinfo {
  background: linear-gradient(135deg, var(--bnp-bg-alt), var(--bnp-surface));
  border: 1px solid var(--bnp-border);
  border-radius: 16px;
  padding: 22px 24px;
  margin: 1.8em 0;
  box-shadow: var(--bnp-shadow);
}

.bnp-projinfo__title {
  font-family: var(--bnp-font-display);
  font-weight: 700;
  font-size: 17px;
  margin: 0 0 16px;
  padding-inline-start: 12px;
  border-inline-start: 4px solid var(--bnp-primary);
}

.bnp-projinfo__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}

.bnp-projinfo__row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--bnp-border);
}

.bnp-projinfo__k {
  font-size: 12px;
  color: var(--bnp-text-muted);
  text-transform: uppercase;
  letter-spacing: .03em;
  font-family: var(--bnp-font);
}

.bnp-projinfo__v {
  font-size: 15px;
  font-weight: 600;
  color: var(--bnp-text);
}

/* Fade-in on scroll */
[data-fade] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease;
}

[data-fade].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-fade] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Sidebar ranked trending */
.bnp-rank--num {
  font-family: var(--bnp-font-display);
  font-weight: 800;
  font-size: 22px;
  flex: 0 0 28px;
  line-height: 1.2;
  background: linear-gradient(var(--bnp-primary), var(--bnp-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: .9;
}

/* Sidebar newsletter widget */
.bnp-widget--newsletter {
  background: linear-gradient(140deg, var(--bnp-bg-alt), var(--bnp-surface));
}

.bnp-widget-nl__text {
  font-size: 13.5px;
  color: var(--bnp-text-muted);
  margin: 0 0 14px;
  line-height: 1.55;
  font-family: var(--bnp-font);
}

.bnp-widget-nl__form {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.bnp-widget-nl__form input {
  padding: 11px 13px;
  border: 1px solid var(--bnp-border);
  border-radius: 9px;
  background: var(--bnp-bg);
  color: var(--bnp-text);
  font-size: 14px;
  font-family: var(--bnp-font);
}

.bnp-widget-nl__form input:focus {
  outline: none;
  border-color: var(--bnp-primary);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, .12);
}

.bnp-widget-nl__form button {
  padding: 11px;
  border: none;
  border-radius: 9px;
  cursor: pointer;
  font-family: var(--bnp-font-display);
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  background: linear-gradient(120deg, var(--bnp-primary), #e23);
  transition: transform .14s ease, box-shadow .18s ease;
}

.bnp-widget-nl__form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(200, 16, 46, .32);
}


@media (max-width: 1024px) {
  .bnp-layout {
    grid-template-columns: 1fr;
  }

  .bnp-sidebar {
    position: static;
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
  }

  .bnp-mega {
    grid-template-columns: 1fr 1fr;
    width: 520px;
  }

  /* Category blocks: ease the column ratios on tablet */
  .bnp-catblock__grid--spotlight,
  .bnp-catblock__grid--feat2x2,
  .bnp-catblock__grid--listv,
  .bnp-catblock__grid--overlay {
    grid-template-columns: 1.2fr 1fr;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  .bnp-header__main {
    padding: 10px 0;
    gap: 12px;
  }

  .bnp-logo img,
  .bnp-logo__img {
    max-height: 48px;
  }

  .bnp-logo__text {
    font-size: 20px;
  }

  .bnp-header__ad,
  .bnp-topbar__date {
    display: none;
  }

  /* With the date hidden, center the remaining top-bar items on mobile. */
  .bnp-topbar .bnp-container {
    justify-content: center;
  }

  .bnp-topbar__right {
    margin-inline-start: 0;
  }

  .bnp-menu-toggle {
    display: inline-flex;
    order: 3;
  }

  /* Slide-out drawer. Keyed off body.bnp-menu-open (toggled in main.js).
     Listing .is-sticky too so it beats the global sticky position rule. */
  .bnp-nav-wrap,
  .bnp-nav-wrap.is-sticky {
    position: fixed;
    top: 0;
    inset-inline-start: 0;
    width: 84%;
    max-width: 360px;
    /* Height follows content; caps at the viewport and scrolls internally. */
    height: auto;
    max-height: 100%;
    max-height: 100dvh;
    display: flex;
    flex-direction: column;
    background: var(--bnp-surface);
    border: 0;
    border-start-end-radius: 18px;
    border-end-end-radius: 18px;
    z-index: 500;
    padding-top: 0;
    box-shadow: none;
    transform: translateX(-100%);
    transition: transform .3s cubic-bezier(.4, 0, .2, 1);
    will-change: transform;
  }

  [dir="rtl"] .bnp-nav-wrap,
  [dir="rtl"] .bnp-nav-wrap.is-sticky {
    inset-inline-start: auto;
    inset-inline-end: 0;
    transform: translateX(100%);
  }

  body.bnp-menu-open .bnp-nav-wrap,
  body.bnp-menu-open .bnp-nav-wrap.is-sticky {
    transform: translateX(0);
    box-shadow: 0 0 40px rgba(0, 0, 0, .35);
  }

  /* Lock background scroll while the drawer is open. */
  body.bnp-menu-open {
    overflow: hidden;
  }

  /* Branding header inside the drawer. */
  .bnp-drawer-head {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    padding: 16px 18px;
    border-bottom: 1px solid var(--bnp-border);
  }

  .bnp-drawer-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    min-width: 0;
  }

  .bnp-drawer-brand__mark {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 4px;
    background: #fff;
    border: 1px solid var(--bnp-border);
    border-radius: 11px;
    box-shadow: 0 2px 8px rgba(16, 18, 29, .12);
  }

  .bnp-drawer-brand__mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }

  .bnp-drawer-brand__name {
    font-family: var(--bnp-font-brand);
    font-weight: 800;
    font-size: 19px;
    line-height: 1.1;
    color: var(--bnp-secondary);
    letter-spacing: -.01em;
  }

  .bnp-drawer-close {
    margin-inline-start: auto;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--bnp-border);
    border-radius: 10px;
    color: var(--bnp-text);
    cursor: pointer;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
  }

  .bnp-drawer-close:active,
  .bnp-drawer-close:hover {
    background: var(--bnp-primary);
    border-color: var(--bnp-primary);
    color: #fff;
  }

  /* Nav scroll area fills remaining height; content scrolls internally. */
  .bnp-nav-wrap > .bnp-container {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 6px 0;
  }

  .bnp-nav {
    display: block;
    width: 100%;
  }

  .bnp-nav ul {
    flex-direction: column;
    overflow: visible;
    width: 100%;
  }

  .bnp-nav>ul>li {
    position: static;
  }

  .bnp-nav>ul>li:not(:last-child)::after {
    display: none;
  }

  .bnp-nav>ul>li>a {
    color: var(--bnp-text);
    padding: 12px 18px;
    font-size: 14px;
    letter-spacing: .03em;
    white-space: normal;
    border-bottom: 1px solid var(--bnp-border);
  }

  .bnp-nav>ul>li:last-child>a {
    border-bottom: 0;
  }

  .bnp-nav>ul>li>a:hover,
  .bnp-nav>ul>li>a:active {
    background: var(--bnp-bg-alt);
    color: var(--bnp-primary);
  }

  .bnp-nav .sub-menu,
  .bnp-mega {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    width: auto;
    display: none;
    grid-template-columns: 1fr;
    border: none;
    background: var(--bnp-bg-alt);
    padding: 0;
  }

  .bnp-nav .sub-menu li a {
    padding: 11px 18px 11px 30px;
    white-space: normal;
    font-size: 13.5px;
    border-bottom: 1px solid var(--bnp-border);
  }

  .bnp-nav li.is-open>.sub-menu,
  .bnp-nav li.is-open>.bnp-mega,
  .bnp-nav li.is-expanded>.sub-menu,
  .bnp-nav li.is-expanded>.bnp-mega {
    display: block;
  }

  .bnp-hero {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .bnp-hero__main {
    min-height: 420px;
  }

  .bnp-hero__media img {
    min-height: 420px;
  }

  .bnp-hero__overlay {
    padding: 20px 16px;
  }

  .bnp-hero__overlay h2 {
    font-size: clamp(1.25rem, 5vw, 1.5rem);
    max-width: 100%;
    -webkit-line-clamp: 3;
  }

  .bnp-hero__cta {
    margin-top: 14px;
  }

  .bnp-hero__btn {
    font-size: 13px;
    padding: 10px 18px;
  }

  .bnp-hero__side {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .bnp-grid--3,
  .bnp-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Category blocks stack on mobile. !important is required because the
     per-variant desktop rules (.bnp-catblock--x .bnp-catblock__grid--x) and the
     data-count="2" rule are more specific and would otherwise keep 2 columns,
     squashing the text to one word per line on phones. Every grid variant
     shares .bnp-catblock__grid, so this single rule covers them all. */
  .bnp-catblock__grid {
    grid-template-columns: 1fr !important;
  }

  .bnp-catblock--solo .bnp-catblock__solo .bnp-card,
  .bnp-catblock--solo-rev .bnp-catblock__solo .bnp-card {
    grid-template-columns: 1fr !important;
  }

  /* Keep the image above the text when the reversed solo card stacks. */
  .bnp-catblock--solo-rev .bnp-catblock__solo .bnp-card__thumb {
    order: -1;
  }

  .bnp-catblock__solo .bnp-card__thumb {
    min-height: 0;
    aspect-ratio: 16/9;
  }

  .bnp-catblock__solo .bnp-card__body {
    padding: 16px 18px;
  }

  .bnp-catblock__feature .bnp-card__thumb {
    height: auto;
    aspect-ratio: 16/9;
  }

  .bnp-catblock__hero .bnp-card__thumb {
    min-height: 0;
    aspect-ratio: 16/9;
  }

  .bnp-catblock__mosaic {
    grid-template-columns: 1fr 1fr;
  }

  .bnp-catblock__hero-overlay {
    padding: 30px 16px 14px;
  }

  .bnp-catblock__hero-overlay .bnp-card__title {
    font-size: 17px;
  }

  .bnp-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .bnp-footer__stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .bnp-footer__about {
    grid-column: 1 / -1;
  }

  .bnp-footer__latest {
    grid-column: 1 / -1;
  }

  .bnp-newsletter {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .bnp-newsletter__form {
    max-width: none;
  }

  .bnp-article {
    padding: 16px;
  }

  .bnp-article {
    padding: 22px 18px;
  }

  .bnp-article__title {
    font-size: 26px;
  }

  .bnp-article__content {
    font-size: 16.5px;
    line-height: 1.85;
  }

  .bnp-article__content>p:first-of-type::first-letter {
    font-size: 2.8em;
  }

  .bnp-authorbox {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  /* Share rail → sticky bottom bar on mobile */
  .bnp-sharerail {
    position: fixed;
    inset-inline: 0;
    bottom: 56px;
    top: auto;
    inset-inline-start: 0;
    margin: 0;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    z-index: 170;
    background: var(--bnp-surface);
    border-top: 1px solid var(--bnp-border);
    padding: 8px;
    box-shadow: 0 -2px 12px rgba(16, 18, 29, .1);
  }

  .bnp-sharerail__btn {
    width: 40px;
    height: 40px;
  }

  .bnp-projinfo__grid {
    grid-template-columns: 1fr;
  }

  .bnp-postnav {
    grid-template-columns: 1fr;
  }

  .bnp-ad--sticky-mobile {
    display: flex;
  }

  .bnp-bottomnav {
    display: flex;
    position: fixed;
    bottom: 0;
    inset-inline: 0;
    z-index: 180;
    background: var(--bnp-surface);
    border-top: 1px solid var(--bnp-border);
    justify-content: space-around;
    padding: 6px 0 env(safe-area-inset-bottom);
  }

  .bnp-bottomnav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 10.5px;
    color: var(--bnp-text-muted);
    padding: 4px 8px;
  }

  .bnp-bottomnav a svg {
    width: 22px;
    height: 22px;
  }

  body {
    padding-bottom: 56px;
  }

  .bnp-menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 490;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
  }

  body.bnp-menu-open .bnp-menu-backdrop {
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 480px) {

  .bnp-grid--2,
  .bnp-grid--3,
  .bnp-grid--4 {
    grid-template-columns: 1fr;
  }

  .bnp-sidebar {
    grid-template-columns: 1fr;
  }

  .bnp-footer__top {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 32px 22px 28px;
    text-align: start;
  }

  .bnp-footer__heading {
    margin-bottom: 14px;
  }

  .bnp-footer__heading::after {
    inset-inline-start: 0;
    inset-inline-end: auto;
    margin: 0;
  }

  .bnp-footer__about {
    text-align: start;
  }

  .bnp-footer__desc {
    max-width: none;
  }

  .bnp-footer__social {
    justify-content: flex-start;
  }

  /* Categories: 2 compact columns so the list isn't an over-long single column. */
  .bnp-footer__links--icon {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 14px;
  }

  .bnp-footer__links--icon li {
    margin-bottom: 4px;
  }

  .bnp-footer__links--icon a {
    justify-content: flex-start;
  }

  .bnp-footer__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .bnp-stat {
    padding: 16px 8px;
    min-width: 0;
  }

  .bnp-stat__value {
    font-size: 24px;
  }

  .bnp-stat__label {
    font-size: 12px;
  }

  .bnp-newsletter {
    padding: 22px 18px;
  }

  .bnp-newsletter__form {
    flex-direction: column;
    min-width: 0;
    max-width: none;
    width: 100%;
  }

  .bnp-newsletter__form input {
    width: 100%;
  }

  .bnp-newsletter__form button {
    width: 100%;
  }

  .bnp-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: start;
    padding: 18px 22px;
  }

  .bnp-footer__bottomnav ul {
    justify-content: flex-start;
    flex-wrap: wrap;
    padding-inline-start: 0;
  }

  /* Latest cards: horizontal swipe on phones */
  .bnp-footer__cards {
    flex-direction: row;
    overflow-x: auto;
    gap: 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
  }

  .bnp-footer__card {
    flex: 0 0 82%;
    scroll-snap-align: start;
    text-align: start;
  }

  .bnp-catblock__mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
}

/* Print + reduced motion */
@media print {

  .bnp-topbar,
  .bnp-nav-wrap,
  .bnp-sidebar,
  .bnp-ad,
  .bnp-footer,
  .bnp-share {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   PREMIUM REDESIGN OVERRIDES — v2.0
   World-class editorial news platform comparable to Bloomberg, Reuters, FT.
   ========================================================================== */

/* --------------------------------------------------------------------------
   ENHANCED DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  --bnp-primary: #c8102e;
  --bnp-primary-dark: #a00d25;
  --bnp-accent: #1a3c8c;
  --bnp-accent2: #0d5c8c;
  --bnp-gold: #c9a84c;
  --bnp-shadow-lg: 0 8px 32px rgba(16, 18, 29, .12), 0 2px 8px rgba(16, 18, 29, .08);
  --bnp-shadow-xl: 0 16px 48px rgba(16, 18, 29, .18);
  --bnp-radius: 12px;
  --bnp-radius-lg: 18px;
  --bnp-maxw: 1240px;
  --bnp-gap: 24px;
  --bnp-transition: .2s cubic-bezier(.4, 0, .2, 1);
}

/* --------------------------------------------------------------------------
   GLOBAL: No text-decoration underlines on any news headlines/links
   -------------------------------------------------------------------------- */
.bnp-card__title a,
.bnp-card__title a:hover,
.bnp-list-item__title a,
.bnp-list-item__title a:hover,
.bnp-catblock__title a,
.bnp-catblock__numtitle,
.bnp-hero__overlay h2 a,
.bnp-hero__overlay h2 a:hover,
.bnp-footer__card-title,
.bnp-hero__thumb-title {
  text-decoration: none !important;
}

a {
  text-decoration: none !important;
}

a:hover {
  text-decoration: none !important;
}

/* --------------------------------------------------------------------------
   TOPBAR — Thin and elegant dark strip with white tags
   -------------------------------------------------------------------------- */
.bnp-topbar {
  background: #111111;
  font-size: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bnp-topbar .bnp-container {
  min-height: 32px;
  padding: 4px 16px;
}

.bnp-topbar a {
  color: rgba(255, 255, 255, 0.85);
}

.bnp-topbar a:hover {
  color: #ffffff;
}

.bnp-topbar__date {
  color: rgba(255, 255, 255, 0.85) !important;
  font-family: var(--bnp-font);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.bnp-topbar__date svg {
  color: #ffffff !important;
}

.bnp-weather {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500;
}

.bnp-weather svg {
  color: #ffffff !important;
}

.bnp-lang-switch select {
  color: rgba(255, 255, 255, 0.85) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  background: transparent;
  outline: none;
}

.bnp-lang-switch select option {
  background: #111111;
  color: #ffffff;
}

.bnp-topbar .bnp-search-toggle {
  color: rgba(255, 255, 255, 0.85) !important;
}

.bnp-topbar .bnp-search-toggle svg {
  color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   HEADER — Clean editorial bar
   -------------------------------------------------------------------------- */
.bnp-header {
  background: var(--bnp-header-bg);
  padding: 28px 0 24px !important;
}

/* Hide legacy/auto logo markup, but keep the branded logo mark visible. */
.bnp-header .bnp-logo__img,
.bnp-header .bnp-logo .custom-logo,
.bnp-header .bnp-logo .custom-logo-link {
  display: none !important;
}

.bnp-header .bnp-logo__mark img {
  display: block !important;
}

.bnp-logo__text {
  font-family: var(--bnp-font-brand) !important;
  font-weight: 900 !important;
  font-size: 64px !important;
  color: var(--bnp-secondary) !important;
  letter-spacing: -0.02em !important;
  line-height: 1.05 !important;
  display: block !important;
  text-align: center !important;
}

/* --------------------------------------------------------------------------
   NAVIGATION — Premium editorial nav (desktop horizontal bar only).
   Scoped to >768px so these red/white !important styles never bleed into the
   mobile slide-out drawer.
   -------------------------------------------------------------------------- */
@media (min-width: 769px) {
  .bnp-nav-wrap {
    background: var(--bnp-primary) !important;
    border-top: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-bottom: 2px solid var(--bnp-primary-dark) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08) !important;
  }

  .bnp-nav>ul>li>a {
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    padding: 12px 15px !important;
  }

  .bnp-nav>ul>li:hover>a {
    background: var(--bnp-primary-dark) !important;
    color: #ffffff !important;
  }
}

/* --------------------------------------------------------------------------
   BREAKING NEWS TICKER
   -------------------------------------------------------------------------- */
.bnp-breaking {
  background: var(--bnp-surface);
  border-bottom: 1px solid var(--bnp-border);
  font-size: 13.5px;
}

.bnp-breaking__label {
  background: #c8102e;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 8px 16px;
}

/* --------------------------------------------------------------------------
   HERO SLIDER — Redesigned with reduced headline size, no underline
   -------------------------------------------------------------------------- */
.bnp-hero {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin-bottom: 36px;
  align-items: stretch;
}

.bnp-hero__main {
  border-radius: var(--bnp-radius-lg);
  overflow: hidden;
  min-height: 460px;
  max-height: 520px;
  box-shadow: var(--bnp-shadow-xl);
  position: relative;
}

.bnp-hero__overlay {
  background: linear-gradient(to top,
      rgba(0, 0, 0, .92) 0%,
      rgba(0, 0, 0, .6) 35%,
      rgba(0, 0, 0, .18) 65%,
      transparent 100%);
  padding: 36px 32px 28px;
}

/* Headline: significantly reduced, clamped, no underline */
.bnp-hero__overlay h2 {
  font-size: clamp(1.1rem, 1.6vw, 1.65rem) !important;
  /* Generous line-height (no bottom padding) so Devanagari matras fit inside
     the last line box and the clamp cuts cleanly — no partial next line. */
  line-height: 1.6 !important;
  font-weight: 800;
  max-width: 95%;
  -webkit-line-clamp: 2 !important;
  margin-bottom: 10px;
  letter-spacing: -.01em;
}

.bnp-hero__overlay h2 a,
.bnp-hero__overlay h2 a:hover,
.bnp-hero__overlay h2 a:focus,
.bnp-hero__overlay h2 a:active,
.bnp-hero__overlay h2 a:visited {
  color: #fff !important;
  text-decoration: none !important;
}

.bnp-hero__meta {
  font-size: 12.5px;
  margin-top: 10px;
  gap: 10px;
}

.bnp-hero__cta {
  margin-top: 16px;
}

.bnp-hero__btn--primary {
  font-size: 13px;
  padding: 10px 20px;
  border-radius: 10px;
  letter-spacing: .01em;
}

/* Side thumbnails */
.bnp-hero__side {
  gap: 10px;
}

.bnp-hero__thumb {
  border-radius: 12px;
  padding: 10px;
  transition: all var(--bnp-transition);
}

.bnp-hero__thumb:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(16, 18, 29, .14);
}

.bnp-hero__thumb-img {
  border-radius: 8px;
}

.bnp-hero__thumb-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  -webkit-line-clamp: 2;
}

.bnp-hero__pill {
  font-size: 11.5px;
  padding: 5px 14px;
  letter-spacing: .05em;
}

/* --------------------------------------------------------------------------
   SECTION HEADERS — Premium editorial design
   -------------------------------------------------------------------------- */
.bnp-section__head {
  border-bottom: 2px solid var(--bnp-border);
  padding-bottom: 10px;
  margin-bottom: 20px;
  position: relative;
}

.bnp-section__head::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: -2px;
  width: 52px;
  height: 2px;
  background: var(--bnp-primary);
  border-radius: 2px;
}

.bnp-section__title {
  font-size: 20px;
  font-family: var(--bnp-font-display);
  font-weight: 700;
  padding-inline-start: 0;
  letter-spacing: -.01em;
}

.bnp-section__title::before {
  display: none;
}

.bnp-viewall {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--bnp-primary);
  font-family: var(--bnp-font-display);
  letter-spacing: .02em;
  padding: 5px 12px;
  border: 1px solid rgba(200, 16, 46, .25);
  border-radius: 20px;
  transition: all var(--bnp-transition);
}

.bnp-viewall:hover {
  background: var(--bnp-primary);
  color: #fff;
  border-color: var(--bnp-primary);
}

/* --------------------------------------------------------------------------
   CARD SYSTEM — Equal heights, equal thumbnails, perfect alignment
   -------------------------------------------------------------------------- */
.bnp-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--bnp-radius);
  transition: transform var(--bnp-transition), box-shadow var(--bnp-transition);
  overflow: hidden;
}

.bnp-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--bnp-shadow-lg);
}

/* Always 16:9 image ratio */
.bnp-card__thumb {
  aspect-ratio: 16 / 9 !important;
  display: block;
  overflow: hidden;
  background: var(--bnp-bg-alt);
  flex-shrink: 0;
}

.bnp-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.bnp-card:hover .bnp-card__thumb img {
  transform: scale(1.05);
}

.bnp-card__body {
  padding: 14px 16px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.bnp-card__title {
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 700;
  /* Generous line-height (no bottom padding) so Devanagari matras fit inside
     the line box and the clamp cuts cleanly — no partial next line. */
  line-height: 1.6;
  margin: 0 0 auto;
  -webkit-line-clamp: 3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bnp-card__title a {
  color: var(--bnp-text);
  transition: color var(--bnp-transition);
}

.bnp-card__title a:hover {
  color: var(--bnp-primary);
  text-decoration: none;
}

.bnp-card__excerpt {
  font-size: 13px;
  color: var(--bnp-text-muted);
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 8px 0;
  line-height: 1.5;
}

.bnp-card__meta {
  font-size: 11.5px;
  color: var(--bnp-text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--bnp-border);
  font-family: var(--bnp-font);
}

/* Grid systems */
.bnp-grid {
  display: grid;
  gap: 20px;
}

.bnp-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.bnp-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.bnp-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Browse-by-category tiles (homepage main column) */
.bnp-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--bnp-gap);
}

.bnp-cat-tile {
  --cat-color: var(--bnp-primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-height: 64px;
  padding: 16px 16px 16px 18px;
  background: var(--bnp-surface);
  border: 1px solid var(--bnp-border);
  border-inline-start: 4px solid var(--cat-color);
  border-radius: var(--bnp-radius);
  box-shadow: var(--bnp-shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}

.bnp-cat-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(16, 18, 29, .12);
  text-decoration: none;
}

.bnp-cat-tile__name {
  font-family: var(--bnp-font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--bnp-text);
  line-height: 1.3;
}

.bnp-cat-tile:hover .bnp-cat-tile__name {
  color: var(--cat-color);
}

.bnp-cat-tile__count {
  font-size: 12px;
  color: var(--bnp-text-muted);
}

/* ==========================================================================
   Dashboard Quick Links — premium SaaS dashboard cards
   ========================================================================== */
/* Dashboard header — eyebrow + accent rule under the page title */
.bnp-dashboard .bnp-article__title {
  position: relative;
  margin-bottom: 22px;
  padding-bottom: 18px;
}

.bnp-dashboard .bnp-article__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--bnp-primary), color-mix(in srgb, var(--bnp-primary) 30%, transparent));
}

.bnp-quicklinks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(264px, 1fr));
  gap: 22px;
  margin: 18px 0 36px;
}

.bnp-quicklink {
  --dcard-accent: var(--bnp-primary);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 212px;
  padding: 24px 24px 22px;
  background: var(--bnp-surface);
  border: 1px solid var(--bnp-border);
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(16, 18, 29, .04), 0 10px 30px rgba(16, 18, 29, .05);
  color: var(--bnp-text);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: transform .26s cubic-bezier(.4, 0, .2, 1), box-shadow .26s ease, border-color .26s ease;
}

/* Soft accent wash that fades in on hover. */
.bnp-quicklink::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(125% 85% at 100% 0%, color-mix(in srgb, var(--dcard-accent) 12%, transparent) 0%, transparent 58%);
  opacity: 0;
  transition: opacity .26s ease;
}

/* Accent bar along the top that wipes in on hover. */
.bnp-quicklink::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--dcard-accent), color-mix(in srgb, var(--dcard-accent) 35%, transparent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}

.bnp-quicklink:hover,
.bnp-quicklink:focus-visible {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--dcard-accent) 50%, var(--bnp-border));
  box-shadow: 0 24px 50px color-mix(in srgb, var(--dcard-accent) 16%, rgba(16, 18, 29, .12));
  text-decoration: none;
  outline: none;
}

.bnp-quicklink:hover::before,
.bnp-quicklink:focus-visible::before {
  opacity: 1;
}

.bnp-quicklink:hover::after,
.bnp-quicklink:focus-visible::after {
  transform: scaleX(1);
}

/* Top row: icon badge (left) + arrow circle (right) */
.bnp-quicklink__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.bnp-quicklink__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  background: linear-gradient(135deg, var(--dcard-accent), color-mix(in srgb, var(--dcard-accent) 62%, #000));
  box-shadow: 0 6px 16px color-mix(in srgb, var(--dcard-accent) 32%, transparent);
  transition: transform .26s ease, box-shadow .26s ease;
}

.bnp-quicklink:hover .bnp-quicklink__icon {
  transform: scale(1.06) rotate(-3deg);
  box-shadow: 0 10px 22px color-mix(in srgb, var(--dcard-accent) 42%, transparent);
}

.bnp-quicklink__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--bnp-border);
  background: var(--bnp-bg-alt);
  color: var(--bnp-text-muted);
  font-size: 15px;
  flex: 0 0 auto;
  transition: transform .26s ease, background .26s ease, color .26s ease, border-color .26s ease;
}

.bnp-quicklink:hover .bnp-quicklink__arrow {
  background: var(--dcard-accent);
  border-color: var(--dcard-accent);
  color: #fff;
  transform: translateX(3px);
}

.bnp-quicklink__title {
  font-family: var(--bnp-font-display);
  font-weight: 800;
  font-size: 19.5px;
  line-height: 1.25;
  letter-spacing: -.01em;
  color: var(--bnp-text);
  transition: color .2s ease;
}

.bnp-quicklink:hover .bnp-quicklink__title {
  color: var(--dcard-accent);
}

.bnp-quicklink__sub {
  margin-top: 7px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--bnp-text-muted);
}

/* Tag pills, pushed to the bottom with a divider above. */
.bnp-quicklink__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--bnp-border);
}

.bnp-quicklink:not(:has(.bnp-quicklink__tags)) .bnp-quicklink__sub {
  margin-bottom: 0;
}

.bnp-quicklink__tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border: 1px solid var(--bnp-border);
  border-radius: 999px;
  background: var(--bnp-bg-alt);
  font-family: var(--bnp-font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--bnp-text);
  white-space: nowrap;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.bnp-quicklink:hover .bnp-quicklink__tag {
  border-color: color-mix(in srgb, var(--dcard-accent) 40%, var(--bnp-border));
  background: color-mix(in srgb, var(--dcard-accent) 8%, var(--bnp-bg-alt));
  color: var(--dcard-accent);
}

@media (max-width: 600px) {
  .bnp-quicklinks {
    /* One full-width card per row on phones, so a lone card never collapses
       into a cramped half-width column (which forced the tags to stack). */
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .bnp-quicklink {
    min-height: 172px;
    padding: 18px 18px 16px;
    border-radius: 16px;
  }

  .bnp-quicklink__icon {
    width: 46px;
    height: 46px;
    font-size: 21px;
  }

  .bnp-quicklink__title {
    font-size: 17px;
  }
}

/* Dark mode */
[data-theme="dark"] .bnp-quicklink {
  background: var(--bnp-surface);
  border-color: var(--bnp-border);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .25);
}

/* ==========================================================================
   Editorial callout (below hero) — premium newspaper band
   ========================================================================== */
.bnp-callout {
  position: relative;
  margin: 32px 0;
  border-radius: 18px;
  border-top: 2px solid var(--bnp-primary);
  overflow: hidden;
  background:
    radial-gradient(130% 150% at 100% 0%, rgba(200, 16, 46, .10) 0%, rgba(200, 16, 46, 0) 46%),
    linear-gradient(135deg, #0f172a 0%, #131f3a 55%, #0d1525 100%);
}

.bnp-callout__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding: 56px;
}

.bnp-callout__label {
  display: inline-block;
  font-family: var(--bnp-font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--bnp-primary);
}

.bnp-callout__title {
  margin: 16px 0 0;
  font-family: var(--bnp-font-editorial);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -.015em;
  color: #fff;
}

.bnp-callout__desc {
  max-width: 46ch;
  margin: 18px 0 0;
  font-family: var(--bnp-font);
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .72);
}

.bnp-callout__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
}

.bnp-callout__btn {
  display: inline-flex;
  align-items: center;
  padding: 13px 26px;
  border-radius: 10px;
  background: var(--bnp-primary);
  color: #fff;
  font-family: var(--bnp-font-display);
  font-weight: 600;
  font-size: 15px;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}

.bnp-callout__btn:hover {
  background: var(--bnp-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(200, 16, 46, .28);
  text-decoration: none;
}

.bnp-callout__link {
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, .3);
  color: rgba(255, 255, 255, .85);
  font-family: var(--bnp-font-display);
  font-weight: 600;
  font-size: 15px;
  transition: color .15s ease, border-color .15s ease;
}

.bnp-callout__link:hover {
  color: #fff;
  border-bottom-color: var(--bnp-primary);
  text-decoration: none;
}

.bnp-callout__aside {
  padding-inline-start: 44px;
  border-inline-start: 1px solid rgba(255, 255, 255, .14);
}

.bnp-callout__quote {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--bnp-font-editorial);
  font-size: clamp(20px, 2.2vw, 27px);
  line-height: 1.45;
  font-style: italic;
  color: rgba(255, 255, 255, .92);
}

.bnp-callout__quote::before {
  content: "\201C";
  position: absolute;
  z-index: -1;
  top: -.42em;
  inset-inline-start: -.2em;
  font-family: var(--bnp-font-brand);
  font-style: normal;
  font-size: 5em;
  line-height: 1;
  color: rgba(200, 16, 46, .26);
  pointer-events: none;
}

@media (max-width: 880px) {
  .bnp-callout__inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 40px 28px;
  }

  .bnp-callout__aside {
    padding-inline-start: 0;
    padding-top: 32px;
    border-inline-start: 0;
    border-top: 1px solid rgba(255, 255, 255, .14);
  }
}

/* Ensure all grid items have equal height */
.bnp-grid>.bnp-card,
.bnp-grid--2>.bnp-card,
.bnp-grid--3>.bnp-card,
.bnp-grid--4>.bnp-card {
  height: 100%;
}

/* Category badge */
.bnp-cat-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   CATEGORY BLOCK HEADERS
   -------------------------------------------------------------------------- */
.bnp-catblock__head {
  border-bottom: 2px solid var(--bnp-border);
  padding-bottom: 12px;
  margin-bottom: 20px;
  position: relative;
}

.bnp-catblock__head::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: -2px;
  width: 52px;
  height: 3px;
  background: var(--cat-color, var(--bnp-primary));
  border-radius: 3px;
  transition: width .3s ease;
}

.bnp-catblock:hover .bnp-catblock__head::after {
  width: 80px;
}

.bnp-catblock__title {
  font-size: 18px;
  font-weight: 700;
  font-family: var(--bnp-font-display);
  color: var(--bnp-text);
  letter-spacing: -.01em;
}

.bnp-catblock__count {
  font-size: 11px;
  font-weight: 600;
  color: var(--bnp-text-muted);
  background: var(--bnp-bg-alt);
  border: 1px solid var(--bnp-border);
  padding: 2px 10px;
  border-radius: 999px;
}

.bnp-catblock {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--bnp-border);
}

.bnp-catblock:last-child {
  border-bottom: none;
}

/* --------------------------------------------------------------------------
   UNIQUE CATEGORY LAYOUTS — Bloomberg/FT editorial style
   Each layout is deliberately distinct.
   -------------------------------------------------------------------------- */

/* --- Layout 0 (spotlight): Large feature LEFT + 4 stacked stories RIGHT --- */
.bnp-catblock--spotlight .bnp-catblock__grid--spotlight {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
  /* Top-align the columns so the feature card sizes to its own content
     (image + headline + excerpt + meta) instead of stretching to match the
     side list and leaving a large empty white area below the text. */
  align-items: start;
}

/* Feature card hugs its content — no forced full-height stretch. */
.bnp-catblock--spotlight .bnp-catblock__feature {
  height: auto;
}

.bnp-catblock--spotlight .bnp-catblock__feature .bnp-card__body {
  flex: 0 0 auto;
}

/* Standard news 16:9 hero crop — prominent but not over-cropped. */
.bnp-catblock--spotlight .bnp-catblock__feature .bnp-card__thumb {
  aspect-ratio: 16/9 !important;
  height: auto !important;
}

.bnp-catblock--spotlight .bnp-catblock__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--bnp-border);
  border-radius: var(--bnp-radius);
  overflow: hidden;
  background: var(--bnp-surface);
  box-shadow: var(--bnp-shadow);
}

.bnp-catblock--spotlight .bnp-catblock__list .bnp-list-item {
  padding: 12px 14px;
  border-bottom: 1px solid var(--bnp-border);
  gap: 12px;
}

.bnp-catblock--spotlight .bnp-catblock__list .bnp-list-item:last-child {
  border-bottom: none;
}

.bnp-catblock--spotlight .bnp-list-item__thumb {
  flex: 0 0 80px;
  width: 80px;
  height: 56px;
  border-radius: 8px;
}

.bnp-catblock--spotlight .bnp-list-item__title {
  font-size: 13.5px;
}

/* --- Layout 1 (grid / mosaic): 2×2 equal card grid --- */
.bnp-catblock--grid .bnp-catblock__grid--feat2x2 {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 20px;
  align-items: start;
}

.bnp-catblock--grid .bnp-catblock__mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  height: 100%;
}

.bnp-catblock--grid .bnp-minicard {
  height: 100%;
}

.bnp-catblock--grid .bnp-minicard .bnp-card__thumb {
  aspect-ratio: 4/3 !important;
}

.bnp-catblock--grid .bnp-minicard .bnp-card__title {
  font-size: 12.5px;
  -webkit-line-clamp: 2;
}

/* --- Layout 2 (overlay): Full-width hero with text overlay + compact right rail --- */
.bnp-catblock--overlay .bnp-catblock__grid--overlay {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.bnp-catblock--overlay .bnp-catblock__hero .bnp-card__thumb {
  aspect-ratio: 16/9 !important;
  min-height: 0 !important;
  border-radius: var(--bnp-radius);
}

.bnp-catblock--overlay .bnp-catblock__hero-overlay {
  padding: 40px 22px 18px;
  background: linear-gradient(to top, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .5) 50%, transparent 100%);
  border-radius: 0 0 var(--bnp-radius) var(--bnp-radius);
}

.bnp-catblock--overlay .bnp-catblock__hero-overlay .bnp-card__title {
  font-size: clamp(15px, 1.4vw, 19px);
  -webkit-line-clamp: 2;
  font-weight: 800;
  line-height: 1.55;
}

.bnp-catblock--overlay .bnp-catblock__rail {
  border: 1px solid var(--bnp-border);
  border-radius: var(--bnp-radius);
  background: var(--bnp-surface);
  padding: 8px 14px;
  box-shadow: var(--bnp-shadow);
}

.bnp-catblock--overlay .bnp-catblock__rail .bnp-list-item {
  padding: 10px 0;
}

/* --- Layout 3 (list): Feature + numbered headline list --- */
.bnp-catblock--list .bnp-catblock__grid--listv {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 20px;
  align-items: start;
}

.bnp-catblock--list .bnp-catblock__numlist {
  background: var(--bnp-surface);
  border: 1px solid var(--bnp-border);
  border-radius: var(--bnp-radius);
  padding: 8px 16px;
  box-shadow: var(--bnp-shadow);
}

.bnp-catblock__numlist a::before {
  font-size: 15px;
  opacity: .5;
  color: var(--cat-color, var(--bnp-primary));
  font-weight: 800;
}

.bnp-catblock__numtitle {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--bnp-text);
  transition: color var(--bnp-transition);
}

.bnp-catblock__numlist a:hover .bnp-catblock__numtitle {
  color: var(--cat-color, var(--bnp-primary));
}

/* --- Solo variant: single featured article (image left, text right) --- */
.bnp-catblock--solo .bnp-catblock__solo .bnp-card {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  border-radius: var(--bnp-radius);
  overflow: hidden;
}

/* Fixed news ratio image; text sits centred beside it — no stretching that
   could leave a large empty gap. */
.bnp-catblock--solo .bnp-catblock__solo .bnp-card__thumb {
  aspect-ratio: 16/9 !important;
  height: auto !important;
  min-height: 0 !important;
  align-self: stretch;
}

.bnp-catblock--solo .bnp-catblock__solo .bnp-card__body {
  padding: 20px 24px;
  justify-content: center;
}

.bnp-catblock--solo .bnp-catblock__solo .bnp-card__title {
  font-size: clamp(17px, 1.6vw, 22px);
  -webkit-line-clamp: 4;
}

/* --- Solo (reversed): single post, image on the right --- */
.bnp-catblock--solo-rev .bnp-catblock__solo .bnp-card {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  align-items: center;
  border-radius: var(--bnp-radius);
  overflow: hidden;
}

.bnp-catblock--solo-rev .bnp-catblock__solo .bnp-card__thumb {
  aspect-ratio: 16/9 !important;
  height: auto !important;
  min-height: 0 !important;
  align-self: stretch;
  order: 2;
}

.bnp-catblock--solo-rev .bnp-catblock__solo .bnp-card__body {
  padding: 20px 24px;
  justify-content: center;
  order: 1;
}

.bnp-catblock--solo-rev .bnp-catblock__solo .bnp-card__title {
  font-size: clamp(17px, 1.6vw, 22px);
  -webkit-line-clamp: 4;
}

/* --- Solo (band): single post, text over a wide hero --- */
.bnp-catblock--solo-band .bnp-catblock__hero {
  display: block;
  border-radius: var(--bnp-radius);
  overflow: hidden;
}

.bnp-catblock--solo-band .bnp-catblock__hero .bnp-card__thumb {
  aspect-ratio: 21/9 !important;
  height: auto !important;
  min-height: 0 !important;
}

/* Hero excerpt (band variant) */
.bnp-catblock__hero-overlay .bnp-card__excerpt {
  color: rgba(255, 255, 255, .88);
  margin: 0 0 8px;
  max-width: 62ch;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- Stream: one row of equal cards, no oversized hero --- */
.bnp-catblock--stream .bnp-catblock__stream {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  align-items: start;
}

.bnp-catblock--stream .bnp-minicard .bnp-card__thumb {
  aspect-ratio: 16/9 !important;
}

/* --- Mirror: headline list LEFT, feature RIGHT --- */
.bnp-catblock--mirror .bnp-catblock__grid--mirror {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 20px;
  align-items: start;
}

.bnp-catblock--mirror .bnp-catblock__feature {
  height: auto;
}

.bnp-catblock--mirror .bnp-catblock__feature .bnp-card__body {
  flex: 0 0 auto;
}

.bnp-catblock--mirror .bnp-catblock__feature .bnp-card__thumb {
  aspect-ratio: 16/9 !important;
  height: auto !important;
}

.bnp-catblock--mirror .bnp-catblock__list {
  border: 1px solid var(--bnp-border);
  border-radius: var(--bnp-radius);
  overflow: hidden;
  background: var(--bnp-surface);
  box-shadow: var(--bnp-shadow);
}

.bnp-catblock--mirror .bnp-catblock__list .bnp-list-item {
  padding: 12px 14px;
  border-bottom: 1px solid var(--bnp-border);
  gap: 12px;
}

.bnp-catblock--mirror .bnp-catblock__list .bnp-list-item:last-child {
  border-bottom: none;
}

.bnp-catblock--mirror .bnp-list-item__thumb {
  flex: 0 0 80px;
  width: 80px;
  height: 56px;
  border-radius: 8px;
}

/* --- Headline: feature + a clean text-only headline column --- */
.bnp-catblock--headline .bnp-catblock__grid--headline {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: start;
}

.bnp-catblock--headline .bnp-catblock__feature {
  height: auto;
}

.bnp-catblock--headline .bnp-catblock__feature .bnp-card__body {
  flex: 0 0 auto;
}

.bnp-catblock--headline .bnp-catblock__feature .bnp-card__thumb {
  aspect-ratio: 16/9 !important;
  height: auto !important;
}

.bnp-catblock__headlines {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--cat-color, var(--bnp-primary));
}

.bnp-catblock__headlines li {
  border-bottom: 1px solid var(--bnp-border);
}

.bnp-catblock__headlines a {
  display: block;
  padding: 13px 2px;
}

.bnp-catblock__hl-title {
  display: block;
  font-family: var(--bnp-font-display);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
  color: var(--bnp-text);
  transition: color .15s ease;
}

.bnp-catblock__headlines a:hover .bnp-catblock__hl-title {
  color: var(--cat-color, var(--bnp-primary));
}

.bnp-catblock__hl-meta {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--bnp-text-muted);
}

/* --- Duo: two large features on top + card row below --- */
.bnp-catblock--duo .bnp-catblock__duo {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bnp-catblock--duo .bnp-catblock__duo-feats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.bnp-catblock--duo .bnp-catblock__feature {
  height: auto;
}

.bnp-catblock--duo .bnp-catblock__feature .bnp-card__body {
  flex: 0 0 auto;
}

.bnp-catblock--duo .bnp-catblock__feature .bnp-card__thumb {
  aspect-ratio: 16/9 !important;
  height: auto !important;
}

.bnp-catblock--duo .bnp-catblock__duo-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.bnp-catblock--duo .bnp-minicard .bnp-card__thumb {
  aspect-ratio: 16/9 !important;
}

/* --- Poster: full-width hero overlay + card row below --- */
.bnp-catblock--poster .bnp-catblock__poster {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bnp-catblock--poster .bnp-catblock__hero {
  border-radius: var(--bnp-radius);
  overflow: hidden;
}

.bnp-catblock--poster .bnp-catblock__hero .bnp-card__thumb {
  aspect-ratio: 21/9 !important;
  height: auto !important;
  min-height: 0 !important;
}

.bnp-catblock--poster .bnp-catblock__poster-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.bnp-catblock--poster .bnp-minicard .bnp-card__thumb {
  aspect-ratio: 16/9 !important;
}

/* Responsive for the new variants */
@media (max-width: 768px) {
  .bnp-catblock__grid--mirror,
  .bnp-catblock__grid--headline {
    grid-template-columns: 1fr;
  }

  /* Show the feature before the list when mirror stacks. */
  .bnp-catblock--mirror .bnp-catblock__grid--mirror .bnp-catblock__feature {
    order: -1;
  }

  .bnp-catblock--duo .bnp-catblock__duo-feats,
  .bnp-catblock--duo .bnp-catblock__duo-row,
  .bnp-catblock--poster .bnp-catblock__poster-row {
    grid-template-columns: 1fr 1fr;
  }

  .bnp-catblock--solo-band .bnp-catblock__hero .bnp-card__thumb,
  .bnp-catblock--poster .bnp-catblock__hero .bnp-card__thumb {
    aspect-ratio: 16/9 !important;
  }
}

@media (max-width: 480px) {
  .bnp-catblock--stream .bnp-catblock__stream,
  .bnp-catblock--duo .bnp-catblock__duo-feats,
  .bnp-catblock--duo .bnp-catblock__duo-row,
  .bnp-catblock--poster .bnp-catblock__poster-row {
    grid-template-columns: 1fr;
  }

  .bnp-catblock--solo-rev .bnp-catblock__solo .bnp-card {
    grid-template-columns: 1fr;
  }

  .bnp-catblock--solo-rev .bnp-catblock__solo .bnp-card__thumb {
    order: -1;
    min-height: 0;
    aspect-ratio: 16/9 !important;
  }
}

/* --------------------------------------------------------------------------
   DYNAMIC LAYOUT ADAPTATIONS — based on article count
   -------------------------------------------------------------------------- */
/* 1 article — keep a standard news ratio (no over-tall/over-wide crop). */
.bnp-catblock[data-count="1"] .bnp-catblock__feature .bnp-card__thumb {
  aspect-ratio: 16/9 !important;
}

/* 2 articles — 50/50 split */
.bnp-catblock[data-count="2"] .bnp-catblock__grid {
  grid-template-columns: 1fr 1fr;
}

/* --------------------------------------------------------------------------
   LIST ITEMS — Enhanced styling
   -------------------------------------------------------------------------- */
.bnp-list-item {
  gap: 12px;
  padding: 12px 0;
  align-items: flex-start;
  transition: background var(--bnp-transition);
}

.bnp-list-item__thumb {
  flex: 0 0 88px;
  width: 88px;
  height: 62px;
  border-radius: 8px;
  overflow: hidden;
}

.bnp-list-item__thumb img {
  transition: transform .35s ease;
}

.bnp-list-item:hover .bnp-list-item__thumb img {
  transform: scale(1.06);
}

.bnp-list-item__title {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.38;
}

.bnp-list-item__title a {
  color: var(--bnp-text);
  transition: color var(--bnp-transition);
}

.bnp-list-item__title a:hover {
  color: var(--bnp-primary);
  text-decoration: none;
}

.bnp-list-item__meta {
  font-size: 11px;
  color: var(--bnp-text-muted);
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   SIDEBAR WIDGETS — Premium redesign
   -------------------------------------------------------------------------- */
.bnp-widget {
  border-radius: var(--bnp-radius);
  padding: 20px 22px;
  box-shadow: var(--bnp-shadow);
  border: 1px solid var(--bnp-border);
  overflow: hidden;
}

.bnp-widget:hover {
  box-shadow: var(--bnp-shadow-lg);
}

/* Widget title — Premium accent bar */
.bnp-widget__title,
.bnp-sidebar .widget-title,
.bnp-sidebar .widgettitle {
  font-size: 15px;
  font-weight: 700;
  font-family: var(--bnp-font-display);
  letter-spacing: .01em;
  text-transform: uppercase;
  padding: 0 0 12px 0;
  border-bottom: 2px solid var(--bnp-border);
  margin-bottom: 16px;
  position: relative;
}

.bnp-widget__title::before,
.bnp-sidebar .widget-title::before,
.bnp-sidebar .widgettitle::before {
  display: none;
}

.bnp-widget__title::after,
.bnp-sidebar .widget-title::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: -2px;
  width: 40px;
  height: 2px;
  background: var(--bnp-primary);
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   RELATED ARTICLES — Premium equal-card grid
   -------------------------------------------------------------------------- */
.bnp-related {
  margin-top: 40px;
}

.bnp-related .bnp-section__title {
  font-size: 19px;
}

.bnp-related .bnp-grid--4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.bnp-related .bnp-card__thumb {
  aspect-ratio: 16/9 !important;
}

.bnp-related .bnp-card__title {
  font-size: 13.5px;
  -webkit-line-clamp: 3;
}

/* --------------------------------------------------------------------------
   ARTICLE PAGE ENHANCEMENTS
   -------------------------------------------------------------------------- */
.bnp-article {
  border-radius: var(--bnp-radius-lg);
  padding: 40px 44px;
  box-shadow: var(--bnp-shadow-lg);
  border: 1px solid var(--bnp-border);
}

.bnp-article__title {
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.2;
  letter-spacing: -.02em;
}

.bnp-article__content {
  font-size: 18px;
  line-height: 1.9;
}

.bnp-article__content h2 {
  font-size: 24px;
}

.bnp-article__content h3 {
  font-size: 20px;
}

/* --------------------------------------------------------------------------
   MOST READ / POPULAR — Premium ranking
   -------------------------------------------------------------------------- */
.bnp-rank {
  font-size: 20px;
  font-weight: 800;
  font-family: var(--bnp-font-display);
  background: linear-gradient(135deg, var(--bnp-primary), var(--bnp-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  flex: 0 0 28px;
  line-height: 1.2;
  opacity: .7;
}

/* --------------------------------------------------------------------------
   LOAD MORE BUTTON
   -------------------------------------------------------------------------- */
.bnp-loadmore {
  text-align: center;
  margin: 28px 0;
}

.bnp-loadmore button {
  background: linear-gradient(120deg, var(--bnp-primary), #e8213a);
  color: #fff;
  border: none;
  padding: 13px 36px;
  border-radius: 999px;
  font-weight: 700;
  font-family: var(--bnp-font-display);
  font-size: 14px;
  letter-spacing: .03em;
  cursor: pointer;
  transition: transform var(--bnp-transition), box-shadow var(--bnp-transition);
  box-shadow: 0 4px 16px rgba(200, 16, 46, .3);
}

.bnp-loadmore button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 16, 46, .4);
}

/* --------------------------------------------------------------------------
   SEARCH OVERLAY — Premium glassmorphism
   -------------------------------------------------------------------------- */
.bnp-search-overlay {
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.bnp-search-box {
  border-radius: var(--bnp-radius-lg);
  box-shadow: var(--bnp-shadow-xl);
  border: 1px solid var(--bnp-border);
}

.bnp-search-box input {
  font-size: 17px;
  border-radius: 10px;
  border: 1.5px solid var(--bnp-border);
}

.bnp-search-box input:focus {
  outline: none;
  border-color: var(--bnp-primary);
  box-shadow: 0 0 0 4px rgba(200, 16, 46, .12);
}

/* --------------------------------------------------------------------------
   COMMENTS — Professional redesign
   -------------------------------------------------------------------------- */
.bnp-comments__title,
.bnp-comments .comment-reply-title {
  font-size: 20px;
}

.bnp-comments .comment-form-comment label {
  font-size: 14px;
}

.bnp-comments .comment-form-cookies-consent label {
  font-size: 13px;
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   FOOTER ENHANCEMENTS
   -------------------------------------------------------------------------- */
.bnp-footer__heading {
  letter-spacing: .03em;
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   LARGE SCREENS 1440px+
   -------------------------------------------------------------------------- */
@media (min-width: 1440px) {
  .bnp-container {
    max-width: 1340px;
  }

  .bnp-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .bnp-hero__main {
    min-height: 500px;
    max-height: 560px;
  }

  .bnp-hero__overlay h2 {
    font-size: clamp(1.2rem, 1.5vw, 1.7rem) !important;
  }
}

@media (min-width: 1920px) {
  .bnp-container {
    max-width: 1560px;
  }
}

@media (min-width: 2560px) {
  .bnp-container {
    max-width: 1800px;
  }

  .bnp-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --------------------------------------------------------------------------
   RESPONSIVE: 1024px (tablet landscape)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .bnp-logo__text {
    font-size: 52px !important;
  }

  .bnp-hero {
    grid-template-columns: 1fr;
  }

  .bnp-hero__main {
    min-height: 400px;
    max-height: 460px;
  }

  .bnp-hero__side {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .bnp-hero__thumb {
    flex-direction: row;
  }

  .bnp-catblock--spotlight .bnp-catblock__grid--spotlight,
  .bnp-catblock--grid .bnp-catblock__grid--feat2x2,
  .bnp-catblock--overlay .bnp-catblock__grid--overlay,
  .bnp-catblock--list .bnp-catblock__grid--listv {
    grid-template-columns: 1.2fr 1fr;
  }

  .bnp-related .bnp-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --------------------------------------------------------------------------
   RESPONSIVE: 768px (tablet portrait)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  /* Premium mobile masthead: single compact row — logo+wordmark left, menu right. */
  .bnp-header {
    padding: 0;
    border-bottom: 1px solid var(--bnp-border);
  }

  .bnp-header__main--centered {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    min-height: 74px;
    padding: 13px 18px;
    padding-inline-end: 64px;
  }

  .bnp-header__main--centered .bnp-logo {
    width: 100%;
    margin: 0;
    justify-content: flex-start;
  }

  .bnp-logo__home {
    gap: 12px;
    align-items: center;
  }

  .bnp-logo__text {
    font-size: 24px !important;
    line-height: 1 !important;
    white-space: nowrap;
  }

  .bnp-logo__mark {
    width: 46px;
    height: 46px;
    padding: 5px;
    border-radius: 13px;
    box-shadow: 0 3px 10px rgba(16, 18, 29, .14);
  }

  /* Menu button: rounded square, aligned with the logo row. */
  .bnp-header__main--centered .bnp-header__tools {
    inset-inline-end: 18px;
  }

  .bnp-menu-toggle {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .bnp-menu-toggle:active {
    transform: scale(.92);
  }

  /* Seamless header → hero: only a small gap. */
  .bnp-main {
    padding-top: 14px;
  }

  .bnp-hero {
    gap: 14px;
  }

  .bnp-hero__main {
    min-height: 340px;
    max-height: none;
    border-radius: var(--bnp-radius);
  }

  .bnp-hero__overlay {
    padding: 22px 18px 20px;
  }

  .bnp-hero__overlay h2 {
    font-size: clamp(1.05rem, 4.5vw, 1.3rem) !important;
    max-width: 100%;
    -webkit-line-clamp: 2;
  }

  .bnp-hero__side {
    grid-template-columns: 1fr;
    display: grid;
  }

  .bnp-hero__thumb {
    flex-direction: row;
  }

  .bnp-catblock--spotlight .bnp-catblock__grid--spotlight,
  .bnp-catblock--grid .bnp-catblock__grid--feat2x2,
  .bnp-catblock--overlay .bnp-catblock__grid--overlay,
  .bnp-catblock--list .bnp-catblock__grid--listv {
    grid-template-columns: 1fr !important;
  }

  .bnp-catblock--solo .bnp-catblock__solo .bnp-card {
    grid-template-columns: 1fr !important;
  }

  .bnp-catblock--solo .bnp-catblock__solo .bnp-card__thumb {
    height: auto !important;
    aspect-ratio: 16/9 !important;
    min-height: 0 !important;
  }

  .bnp-catblock--grid .bnp-catblock__mosaic {
    grid-template-columns: 1fr 1fr;
  }

  .bnp-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .bnp-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .bnp-related .bnp-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .bnp-article {
    padding: 24px 20px;
  }

  .bnp-article__title {
    font-size: 24px;
  }

  .bnp-article__content {
    font-size: 16.5px;
  }

  .bnp-layout {
    grid-template-columns: 1fr;
  }

  .bnp-sidebar {
    position: static;
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
  }
}

/* --------------------------------------------------------------------------
   RESPONSIVE: 480px (mobile)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {

  .bnp-logo img,
  .bnp-logo__img {
    max-height: 34px;
    padding-inline-end: 0;
    border-inline-end: none;
  }

  .bnp-logo__home {
    gap: 11px;
  }

  .bnp-logo__text {
    font-size: 25px !important;
  }

  .bnp-logo__mark {
    width: 44px;
    height: 44px;
    padding: 5px;
    border-radius: 12px;
  }

  .bnp-hero__main {
    min-height: 280px;
  }

  .bnp-hero__overlay h2 {
    font-size: clamp(1rem, 5vw, 1.2rem) !important;
    -webkit-line-clamp: 2 !important;
  }

  .bnp-hero__side {
    grid-template-columns: 1fr;
  }

  .bnp-hero__cta {
    margin-top: 10px;
  }

  .bnp-hero__btn {
    font-size: 12px;
    padding: 8px 14px;
  }

  .bnp-grid--2 {
    grid-template-columns: 1fr;
  }

  .bnp-grid--3 {
    grid-template-columns: 1fr;
  }

  .bnp-grid--4 {
    grid-template-columns: 1fr;
  }

  .bnp-related .bnp-grid--4 {
    grid-template-columns: 1fr;
  }

  .bnp-catblock--grid .bnp-catblock__mosaic {
    grid-template-columns: 1fr;
  }

  .bnp-sidebar {
    grid-template-columns: 1fr;
  }

  .bnp-article {
    padding: 18px 16px;
  }

  .bnp-article__title {
    font-size: 21px;
  }

  .bnp-section__title {
    font-size: 17px;
  }

  .bnp-catblock__title {
    font-size: 16px;
  }
}

/* --------------------------------------------------------------------------
   RESPONSIVE: 375px (small mobile)
   -------------------------------------------------------------------------- */
@media (max-width: 375px) {
  .bnp-logo__text {
    font-size: 20px !important;
  }

  .bnp-logo__mark {
    width: 36px;
    height: 36px;
    padding: 4px;
    border-radius: 10px;
  }

  .bnp-hero__overlay {
    padding: 18px 14px 16px;
  }

  .bnp-hero__overlay h2 {
    font-size: 1rem !important;
  }

  .bnp-card__title {
    font-size: 13.5px;
  }

  .bnp-list-item__thumb {
    flex: 0 0 72px;
    width: 72px;
    height: 52px;
  }
}

/* --------------------------------------------------------------------------
   DARK MODE OVERRIDES
   -------------------------------------------------------------------------- */
[data-theme="dark"] .bnp-card {
  background: var(--bnp-surface);
  border-color: var(--bnp-border);
}

[data-theme="dark"] .bnp-catblock__list,
[data-theme="dark"] .bnp-catblock__rail,
[data-theme="dark"] .bnp-catblock__numlist {
  background: var(--bnp-surface);
  border-color: var(--bnp-border);
}

[data-theme="dark"] .bnp-widget {
  background: var(--bnp-surface);
  border-color: var(--bnp-border);
}

[data-theme="dark"] .bnp-hero__thumb {
  background: var(--bnp-surface);
  border-color: var(--bnp-border);
}

[data-theme="dark"] .bnp-article {
  background: var(--bnp-surface);
}

[data-theme="dark"] .bnp-nav-wrap {
  background: #880a1f;
}

/* --------------------------------------------------------------------------
   PERFORMANCE: Content visibility for off-screen category blocks
   -------------------------------------------------------------------------- */
.bnp-catblock {
  contain: layout style;
}

/* --------------------------------------------------------------------------
   LAZY LOADING images — ensure no layout shift
   -------------------------------------------------------------------------- */
img[loading="lazy"] {
  background: var(--bnp-bg-alt);
}

.bnp-card__thumb img,
.bnp-list-item__thumb img,
.bnp-hero__thumb-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   MICRO INTERACTIONS — Premium hover states
   -------------------------------------------------------------------------- */
.bnp-catblock__head .bnp-viewall {
  color: var(--cat-color, var(--bnp-primary));
  border-color: var(--cat-color, rgba(200, 16, 46, .25));
  font-size: 12px;
  padding: 5px 12px;
}

.bnp-catblock__head .bnp-viewall:hover {
  background: var(--cat-color, var(--bnp-primary));
  color: #fff;
  border-color: transparent;
}

/* Hero counter badge */
.bnp-hero__counter {
  font-size: 12px;
  padding: 4px 10px;
  background: rgba(0, 0, 0, .4);
  backdrop-filter: blur(10px);
}

/* Reading progress bar */
.bnp-reading-progress span {
  background: linear-gradient(90deg, var(--bnp-primary), #ff4060, var(--bnp-accent));
  background-size: 200% 100%;
  animation: bnp-progress-shimmer 2s linear infinite;
}

@keyframes bnp-progress-shimmer {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 200% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bnp-reading-progress span {
    animation: none;
  }
}

/* --------------------------------------------------------------------------
   SECTION: Top Stories — premium 4-up grid
   -------------------------------------------------------------------------- */
.bnp-section .bnp-grid--4 {
  align-items: stretch;
}

.bnp-section .bnp-grid--4>.bnp-card {
  height: 100%;
}

/* --------------------------------------------------------------------------
   VIDEO CARDS — play button overlay
   -------------------------------------------------------------------------- */
.bnp-video-card .bnp-card__thumb::after {
  content: "";
  position: absolute;
  width: 48px;
  height: 48px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(200, 16, 46, .9) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") center/22px no-repeat;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(200, 16, 46, .5);
  transition: transform var(--bnp-transition);
}

.bnp-video-card:hover .bnp-card__thumb::after {
  transform: translate(-50%, -50%) scale(1.1);
}

/* --------------------------------------------------------------------------
   ARCHIVE / SEARCH PAGE
   -------------------------------------------------------------------------- */
.bnp-archive-title {
  font-size: clamp(22px, 3vw, 32px);
  font-family: var(--bnp-font-display);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--bnp-border);
  position: relative;
}

.bnp-archive-title::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: -2px;
  width: 52px;
  height: 2px;
  background: var(--bnp-primary);
}

/* --------------------------------------------------------------------------
   BREADCRUMB — Minimal editorial
   -------------------------------------------------------------------------- */
.bnp-breadcrumb {
  font-size: 12.5px;
  font-family: var(--bnp-font);
  color: var(--bnp-text-muted);
  margin-bottom: 18px;
}

.bnp-breadcrumb a {
  color: var(--bnp-text-muted);
}

.bnp-breadcrumb a:hover {
  color: var(--bnp-primary);
}

/* --------------------------------------------------------------------------
   TAG CLOUD — Professional pill tags
   -------------------------------------------------------------------------- */
.bnp-tagcloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}

.bnp-tagcloud a {
  display: inline-flex;
  align-items: center;
  padding: 5px 13px;
  background: var(--bnp-bg-alt);
  border: 1px solid var(--bnp-border);
  border-radius: 999px;
  font-size: 12.5px;
  font-family: var(--bnp-font-display);
  font-weight: 500;
  color: var(--bnp-text);
  transition: all var(--bnp-transition);
}

.bnp-tagcloud a:hover {
  background: var(--bnp-primary);
  color: #fff;
  border-color: var(--bnp-primary);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   FINAL CLEANUP: Remove any remaining Hindi fire/trending icons
   -------------------------------------------------------------------------- */
.bnp-trending-icon,
.bnp-trending-fire,
[class*="trending"]::before {
  display: none !important;
}