/*
	Theme Name: Hello Elementor Child
	Theme URI: https://elementor.com/hello-theme/
	Description: A child theme of Hello Elementor. Add your custom CSS and overrides here.
	Author: Your Name
	Author URI: https://yourwebsite.com
	Template: hello-elementor
	Version: 1.0.0
	License: GNU General Public License v3 or later.
	License URI: https://www.gnu.org/licenses/gpl-3.0.html
	Text Domain: hello-elementor-child
*/

/* ============================================================
   DR MM EYE CARE – HEADER STYLES
   ============================================================ */

/* ── Reset / Base ─────────────────────────────────────────── */
html {
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ── Top Info Bar ─────────────────────────────────────────── */
.drmc-top-bar {
  background-color: #1a2540;
  color: #fff;
  font-size: 17px;
  font-family: "Source Sans 3", sans-serif;
  padding: 8px 0;
  position: relative;
  z-index: 9999;
  width: 100%;
  display: block !important;
}

.drmc-top-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}

.drmc-top-bar__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.drmc-top-bar__item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.drmc-top-bar__divider {
  width: 1px;
  height: 14px;
  background: rgba(200, 214, 229, 0.35);
}

.drmc-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  opacity: 0.85;
}

/* ── Main Header ──────────────────────────────────────────── */
.drmc-main-header {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.drmc-main-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}

/* ── Logo ─────────────────────────────────────────────────── */
.drmc-logo {
  flex-shrink: 0;
}

.drmc-logo img,
.drmc-logo .custom-logo {
  height: 56px;
  width: auto;
  display: block;
}

.drmc-logo__link {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.drmc-logo__title {
  font-size: 18px;
  font-weight: 700;
  color: #1b6ca8;
  font-family: 'Inter', sans-serif;
}

.drmc-logo__tagline {
  font-size: 12px;
  color: #555;
  font-family: 'Inter', sans-serif;
}

/* ── Navigation ───────────────────────────────────────────── */
.drmc-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drmc-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.drmc-nav-list li {
  position: relative;
}

.drmc-nav-list>li>a,
.drmc-nav-list>li>span {
  display: block;
  padding: 8px 14px;
  font-size: 17px;
  font-weight: 600;
  color: #1a2540;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.drmc-nav-list>li>a:hover,
.drmc-nav-list>li.current-menu-item>a,
.drmc-nav-list>li.current-menu-ancestor>a {
  color: #1b6ca8;
  background: rgba(27, 108, 168, 0.07);
}

/* ── Dropdown: top-level parent arrow ────────────────────── */
.drmc-nav-list .menu-item-has-children>a::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 6px;
  vertical-align: middle;
  transition: transform 0.2s;
  opacity: 0.65;
}

/* Rotate arrow when dropdown is open */
.drmc-nav-list .menu-item-has-children:hover>a::after,
.drmc-nav-list .menu-item-has-children:focus-within>a::after {
  transform: rotate(180deg);
  opacity: 1;
}

/* ── First-level sub-menu (drops down) ───────────────────── */
.drmc-nav-list>li>.sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 230px;
  background: #ffffff;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.13);
  list-style: none;
  padding: 6px 0;
  margin: 0;
  z-index: 200;
  /* border-top: 3px solid #1b9e6e; */
}

/* ── Sub-menu item link ──────────────────────────────────── */
.drmc-nav-list .sub-menu li {
  position: relative;
}

.drmc-nav-list .sub-menu li>a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #1a2540;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  transition: color 0.18s, background 0.18s, border-color 0.18s;
  border-left: 3px solid transparent;
  background: transparent;
}

/* Hover: teal left-border accent + light blue bg */
.drmc-nav-list .sub-menu li>a:hover,
.drmc-nav-list .sub-menu li.current-menu-item>a {
  /* color: #1b9e6e; */
  background: #f0faf6;
  /* border-left-color: #1b9e6e; */
}

/* Right-arrow chevron for items that have a nested sub-menu */
.drmc-nav-list .sub-menu .menu-item-has-children>a::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 5px solid currentColor;
  margin-left: 8px;
  flex-shrink: 0;
  transform: none;
  opacity: 0.55;
  transition: opacity 0.18s;
}

.drmc-nav-list .sub-menu .menu-item-has-children:hover>a::after {
  opacity: 1;
  transform: none;
  /* override the rotate rule above */
}

/* ── Second-level sub-menu (flies out right) ─────────────── */
.drmc-nav-list .sub-menu .sub-menu {
  display: none;
  position: absolute;
  top: -6px;
  left: 100%;
  min-width: 200px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.13);
  list-style: none;
  padding: 6px 0;
  margin: 0;
  z-index: 300;
  /* border-top: 3px solid #1b9e6e; */
}

/* ── Show dropdowns on hover/focus ───────────────────────── */
.drmc-nav-list .menu-item-has-children:hover>.sub-menu,
.drmc-nav-list .menu-item-has-children:focus-within>.sub-menu {
  display: block;
  animation: drmc-fadeIn 0.18s ease;
}

@keyframes drmc-fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Second-level uses slideX instead */
.drmc-nav-list .sub-menu .menu-item-has-children:hover>.sub-menu,
.drmc-nav-list .sub-menu .menu-item-has-children:focus-within>.sub-menu {
  animation: drmc-slideX 0.18s ease;
}

@keyframes drmc-slideX {
  from {
    opacity: 0;
    transform: translateX(-6px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ── CTA Button ───────────────────────────────────────────── */
.drmc-cta-btn {
  display: inline-block;
  padding: 11px 22px;
  background: linear-gradient(135deg, #6aaf88, #023e88);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  border-radius: 8px;
  text-decoration: none !important;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  /* box-shadow: 0 3px 10px rgba(27, 158, 110, 0.3); */
  letter-spacing: 0.2px;
}

.drmc-cta-btn:hover {
  /* background: #157a55; */
  /* transform: translateY(-1px); */
  /* box-shadow: 0 5px 16px rgba(27, 158, 110, 0.4); */
}

/* ── Hamburger (mobile) ───────────────────────────────────── */
.drmc-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none !important;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
  outline: none !important;
  box-shadow: none !important;
}

.drmc-hamburger:hover,
.drmc-hamburger:focus,
.drmc-hamburger:active {
  background: none !important;
  outline: none !important;
}

.drmc-hamburger span {
  display: block;
  height: 2px;
  background: #1a2540;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s, background 0.3s;
}

/* Transform to X when open */
.drmc-hamburger--open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.drmc-hamburger--open span:nth-child(2) {
  opacity: 0;
}

.drmc-hamburger--open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile Responsive ────────────────────────────────────── */
@media (max-width: 900px) {
  .drmc-main-header__inner {
    height: 64px;
    gap: 12px;
  }

  .drmc-cta-btn {
    display: none;
  }

  .drmc-hamburger {
    display: flex;
  }

  .drmc-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 12px 0 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .drmc-nav.drmc-nav--open {
    display: flex;
  }

  .drmc-nav-list {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .drmc-nav-list>li>a {
    border-radius: 0;
    padding: 12px 24px;
  }

  .drmc-nav-list .sub-menu {
    position: static;
    box-shadow: none;
    border-top: none;
    border-left: 3px solid #1b6ca8;
    margin-left: 20px;
    padding: 4px 0;
    display: none;
  }

  .drmc-nav-list .menu-item-has-children.drmc-open>.sub-menu {
    display: block;
  }
}

@media (max-width: 600px) {
  .drmc-top-bar__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .drmc-top-bar__right {
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* -- Hide Elementor's header & Hello Elementor's fallback header -------- */
/* Our full header is injected via wp_body_open, so we suppress duplicates */
.elementor-location-header,
#site-header.site-header,
.site-header:not(#drmc-site-header) {
  display: none !important;
}

/* -- Footer Section ------------------------------------------ */
.drmc-footer {
  background-color: #121821;
  color: #cbd5e1;
  padding: 40px 0 0;
  /* font-family: 'Inter', sans-serif; */
}

.drmc-footer__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.drmc-footer__col {
  flex: 1;
  min-width: 200px;
}

.drmc-footer__heading {
  color: #ffffff !important;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
  font-family: "Figtree", sans-serif;
}

.drmc-footer__heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background-color: #008cff;
}

.drmc-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.drmc-footer__links li {
  margin-bottom: 12px;
}

.drmc-footer__links a {
  color: #ffffffe6 !important;
  text-decoration: none;
  transition: color 0.2s;
  font-size: 18px;
  font-family: "Source Sans 3", sans-serif;
}

.drmc-footer__links a:hover {
  color: #3b82f6;
}

.drmc-footer__contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.drmc-footer__contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
  align-items: flex-start;
  font-size: 18px;
  font-family: "Source Sans 3", sans-serif;
  color: #ffffffe6 !important;
}

.drmc-footer__contact a {
  color: #ffffffe6 !important;
  text-decoration: none;
}

.drmc-footer__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: #ffffffe6;
}

.drmc-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 25px 0;
  text-align: center;
  font-size: 14px;
}

/* Hide duplicate footers */
.elementor-location-footer,
.site-footer,
footer:not(.drmc-footer) {
  display: none !important;
}

/* Responsive Footer */
@media (max-width: 1200px) {
  .drmc-footer__inner {
    gap: 30px;
  }
}

@media (max-width: 992px) {
  .drmc-footer__inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .drmc-footer__col {
    min-width: 0;
  }
}

@media (max-width: 768px) {
  .drmc-footer {
    padding: 50px 0 0;
  }

  .drmc-footer__heading {
    font-size: 17px;
    margin-bottom: 20px;
  }

  .drmc-footer__links a {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .drmc-footer__inner {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 30px;
  }

  .drmc-footer__bottom {
    padding: 20px 15px;
  }
}

/* ============================================================
   BLOG SINGLE PAGE — Premium Custom Styles
   Dr MM Eye Care | blog-single.css
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  --bs-navy: #000000c9;
  --bs-navy-dark: #122a45;
  --bs-navy-mid: #1d4270;
  --bs-accent: #2196f3;
  --bs-accent-h: #1565c0;
  --bs-white: #ffffff;
  --bs-bg: #f4f7fb;
  --bs-border: #dde4ef;
  --bs-text: #2c3e50;
  --bs-muted: #64748b;
  --bs-radius: 14px;
  --bs-radius-sm: 8px;
  --bs-shadow: 0 2px 20px rgba(26, 58, 92, 0.09);
  --bs-shadow-md: 0 8px 40px rgba(26, 58, 92, 0.14);
}

/* ============================================================
   RESET THEME CONSTRAINT — override theme.css max-width on .site-main
   ============================================================ */
body.single .site-main,
body.single-post .site-main {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: #ffffff !important;
  border-bottom: 3px solid var(--bs-navy) !important;
  box-shadow: 0 2px 12px rgba(26, 58, 92, 0.08) !important;
}

.site-header .site-title a,
.site-header .site-branding a {
  color: var(--bs-navy) !important;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

.site-header .site-navigation ul.menu li a {
  color: var(--bs-navy) !important;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.93rem;
  transition: color 0.2s;
}

.site-header .site-navigation ul.menu li a:hover,
.site-header .site-navigation ul.menu li.current-menu-item>a {
  color: var(--bs-accent) !important;
}

/* ============================================================
   HERO BANNER
   ============================================================ */
.bsh-hero {
  background: linear-gradient(135deg, #023779, #1b5d93);
  padding: 56px 0 52px;
  position: relative;
  overflow: hidden;
}

/* Decorative blobs */
.bsh-hero::before,
.bsh-hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.bsh-hero::before {
  width: 380px;
  height: 380px;
  background: rgba(255, 255, 255, 0.035);
  top: -120px;
  right: -60px;
}

.bsh-hero::after {
  width: 220px;
  height: 220px;
  background: rgba(255, 255, 255, 0.025);
  bottom: -80px;
  left: 8%;
}

.bsh-hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 48px;
}

.bsh-hero-content {
  flex: 1;
  min-width: 0;
}

/* Category pill */
.bsh-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50px;
  padding: 5px 14px 5px 10px;
  margin-bottom: 20px;
  text-decoration: none !important;
  transition: background 0.2s;
}

.bsh-cat-pill:hover {
  background: rgba(255, 255, 255, 0.22);
}

.bsh-cat-pill-dot {
  width: 7px;
  height: 7px;
  background: #63d2ff;
  border-radius: 50%;
  flex-shrink: 0;
}

.bsh-cat-pill span {
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.775rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* Title */
.bsh-title,
.bsh-title a,
.bsh-hero .bsh-title {
  font-family: 'Source Sans 3', sans-serif !important;
  font-size: clamp(1.85rem, 3.2vw, 2.75rem) !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  line-height: 1.18 !important;
  margin: 0 0 26px !important;
  letter-spacing: -0.025em !important;
}

/* Meta bar */
.bsh-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.bsh-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
}

.bsh-meta-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  stroke: rgba(255, 255, 255, 0.65);
}

.bsh-meta-sep {
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 50%;
}

/* Hero thumbnail */
.bsh-hero-thumb {
  flex-shrink: 0;
  width: 498px;
  position: relative;
}

.bsh-hero-thumb::before {
  content: '';
  position: absolute;
  inset: -8px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: calc(var(--bs-radius) + 6px);
  pointer-events: none;
}

.bsh-hero-img {
  width: 100%;
  height: 276px;
  object-fit: cover;
  border-radius: var(--bs-radius);
  display: block;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

/* ============================================================
   PAGE LAYOUT (content + sidebar)
   ============================================================ */
.bsh-page {
  background: var(--bs-bg);
  padding: 52px 0 80px;
}

.bsh-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 36px;
  align-items: start;
}

/* ============================================================
   ARTICLE CARD
   ============================================================ */
.bsh-article {
  background: var(--bs-white);
  border-radius: var(--bs-radius);
  box-shadow: var(--bs-shadow);
  overflow: hidden;
}

/* Progress bar accent */
.bsh-article::before {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--bs-navy) 0%, var(--bs-accent) 100%);
}

/* Content body */
.bsh-body {
  padding: 40px 46px 36px;
  font-family: 'Source Sans 3', sans-serif !important;
  font-size: 1rem;
  line-height: 1.88;
  color: var(--bs-text);
}

/* Typography within content */
.bsh-body h1,
.bsh-body h2,
.bsh-body h3,
.bsh-body h4 {
  font-family: 'Figtree', sans-serif !important;
  font-weight: 500;
  color: var(--bs-navy);
  margin-top: 2.2rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.bsh-body h2 {
  font-size: 1.5rem;
}

.bsh-body h3 {
  font-size: 1.2rem;
}

.bsh-body h4 {
  font-size: 1.05rem;
}

.bsh-body p {
  margin-bottom: 1.15rem;
}

.bsh-body ul,
.bsh-body ol {
  padding-left: 1.6rem;
  margin-bottom: 1.15rem;
}

.bsh-body li {
  margin-bottom: 0.5rem;
}

.bsh-body a {
  color: var(--bs-accent);
  text-decoration: underline;
}

.bsh-body a:hover {
  color: var(--bs-accent-h);
}

.bsh-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--bs-radius-sm);
  margin: 1.2rem 0;
}

.bsh-body blockquote {
  border-left: 4px solid var(--bs-navy);
  background: var(--bs-bg);
  margin: 1.8rem 0;
  padding: 1.1rem 1.6rem;
  border-radius: 0 var(--bs-radius-sm) var(--bs-radius-sm) 0;
  font-style: italic;
  color: var(--bs-muted);
}

.bsh-body strong {
  color: var(--bs-navy);
}

.bsh-body table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.2rem;
  font-size: 0.93rem;
}

.bsh-body th {
  background: var(--bs-navy);
  color: #fff;
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
}

.bsh-body td {
  padding: 9px 14px;
  border-bottom: 1px solid var(--bs-border);
}

.bsh-body tr:nth-child(even) td {
  background: var(--bs-bg);
}

/* Tags strip */
.bsh-tags {
  padding: 16px 46px;
  border-top: 1px solid var(--bs-border);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-family: 'Source Sans 3', sans-serif !important;
  font-size: 0.83rem;
}

.bsh-tags .tag-label {
  font-weight: 600;
  color: var(--bs-navy);
  margin-right: 4px;
}

.bsh-tags a {
  background: var(--bs-bg);
  color: var(--bs-muted) !important;
  border: 1px solid var(--bs-border);
  border-radius: 20px;
  padding: 3px 12px;
  text-decoration: none !important;
  transition: background 0.2s, color 0.2s;
}

.bsh-tags a:hover {
  background: var(--bs-navy);
  color: #fff !important;
  border-color: var(--bs-navy);
}

/* Author card */
.bsh-author-card {
  margin: 0 46px 36px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bs-bg);
  border: 1px solid var(--bs-border);
  border-radius: var(--bs-radius);
  padding: 20px 24px;
}

.bsh-author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bs-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
}

.bsh-author-info h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--bs-navy);
  margin: 0 0 3px;
}

.bsh-author-info p {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: var(--bs-muted);
  margin: 0;
  line-height: 1.4;
}

/* CTA box */
.bsh-cta {
  margin: 0 46px 46px;
  background: linear-gradient(130deg, var(--bs-navy-dark) 0%, var(--bs-navy-mid) 100%);
  border-radius: var(--bs-radius);
  padding: 36px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.bsh-cta::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
  top: -80px;
  right: -50px;
  pointer-events: none;
}

.bsh-cta h3 {
  font-family: 'Source Sans 3', sans-serif !important;
  font-size: 1.3rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 0 10px !important;
}

.bsh-cta p {
  font-family: 'Source Sans 3', sans-serif !important;
  font-size: 0.9rem !important;
  color: rgba(255, 255, 255, 0.82) !important;
  margin: 0 0 22px !important;
  line-height: 1.6 !important;
}

.bsh-cta-btn {
  display: inline-block;
  background: #ffffff;
  color: var(--bs-navy) !important;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 13px 32px;
  border-radius: var(--bs-radius-sm);
  text-decoration: none !important;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.bsh-cta-btn:hover {
  background: #e8f0fb;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.bsh-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 24px;
}

.bsh-widget {
  background: var(--bs-white);
  border-radius: var(--bs-radius);
  box-shadow: var(--bs-shadow);
  overflow: hidden;
}

.bsh-widget-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 17px 20px 14px;
  border-bottom: 1px solid var(--bs-border);
}

.bsh-widget-head-bar {
  width: 4px;
  height: 18px;
  background: linear-gradient(180deg, var(--bs-accent) 0%, var(--bs-navy) 100%);
  border-radius: 4px;
  flex-shrink: 0;
}

.bsh-widget-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--bs-navy);
  margin: 0;
}

/* Recent posts list */
.bsh-recent-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bsh-recent-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 20px;
  border-bottom: 1px solid var(--bs-border);
  transition: background 0.2s;
}

.bsh-recent-item:last-child {
  border-bottom: none;
}

.bsh-recent-item:hover {
  background: var(--bs-bg);
}

.bsh-recent-num {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--bs-bg);
  border: 1px solid var(--bs-border);
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--bs-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.bsh-recent-info {
  flex: 1;
  min-width: 0;
}

.bsh-recent-link {
  display: block;
  font-family: "Source Sans 3", sans-serif;
  font-size: 16px;
  color: var(--bs-navy) !important;
  text-decoration: none !important;
  line-height: 1.4;
  margin-bottom: 3px;
  transition: color 0.2s;
}

.bsh-recent-link:hover {
  color: var(--bs-accent) !important;
}

.bsh-recent-date {
  font-family: "Source Sans 3", sans-serif;
  font-size: 14px;
  color: #023E88;
}

/* Sidebar CTA (navy) */
.bsh-widget-cta {
  background: linear-gradient(135deg, var(--bs-navy) 0%, var(--bs-navy-mid) 100%);
  border-radius: var(--bs-radius);
  box-shadow: var(--bs-shadow-md);
  padding: 28px 22px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.bsh-widget-cta::after {
  content: '';
  position: absolute;
  width: 160px;
  height: 160px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
  bottom: -70px;
  right: -50px;
  pointer-events: none;
}

.bsh-cta-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bsh-cta-icon svg {
  width: 24px;
  height: 24px;
  stroke: #fff;
}

.bsh-widget-cta h3 {
  font-family: 'Source Sans 3', sans-serif !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 0 8px !important;
}

.bsh-widget-cta p {
  font-family: 'Source Sans 3', sans-serif !important;
  font-size: 0.825rem !important;
  color: rgba(255, 255, 255, 0.82) !important;
  margin: 0 0 20px !important;
  line-height: 1.55 !important;
}

.bsh-widget-cta-btn {
  display: block;
  background: #fff;
  color: var(--bs-navy) !important;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 11px 18px;
  border-radius: var(--bs-radius-sm);
  text-decoration: none !important;
  transition: background 0.2s, transform 0.15s;
}

.bsh-widget-cta-btn:hover {
  background: #e8f0fb;
  transform: translateY(-2px);
}

/* Categories */
.bsh-cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bsh-cat-item {
  border-bottom: 1px solid var(--bs-border);
}

.bsh-cat-item:last-child {
  border-bottom: none;
}

.bsh-cat-item a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 20px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 15px;
  color: var(--bs-text) !important;
  text-decoration: none !important;
  transition: color 0.2s, background 0.2s;
}

.bsh-cat-item a:hover {
  color: var(--bs-accent) !important;
  background: var(--bs-bg);
}

.bsh-cat-count {
  background: var(--bs-bg);
  border: 1px solid var(--bs-border);
  color: var(--bs-muted);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  min-width: 24px;
  text-align: center;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1060px) {
  .bsh-grid {
    grid-template-columns: 1fr 280px;
    gap: 28px;
  }

  .bsh-hero-thumb {
    width: 300px;
  }
}

@media (max-width: 820px) {
  .bsh-hero-inner {
    flex-direction: column-reverse;
    gap: 26px;
    padding: 0 20px;
  }

  .bsh-hero-thumb {
    width: 100%;
  }

  .bsh-hero-img {
    height: 200px;
  }

  .bsh-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .bsh-sidebar {
    position: static;
  }

  .bsh-body {
    padding: 28px 22px 22px;
  }

  .bsh-author-card {
    margin: 0 22px 28px;
  }

  .bsh-cta {
    margin: 0 22px 28px;
    padding: 28px 22px;
  }

  .bsh-tags {
    padding: 14px 22px;
  }
}

@media (max-width: 480px) {
  .bsh-title {
    font-size: 1.7rem;
  }

  .bsh-hero {
    padding: 38px 0 32px;
  }

  .bsh-meta {
    gap: 10px;
  }

  .bsh-meta-sep {
    display: none;
  }
}


/* ============================================================
   BLOG ARCHIVE / LISTING PAGE
   3-column card grid with hero banner
   ============================================================ */

/* Fix theme constraint for archive pages */
body.blog .site-main,
body.archive .site-main,
body.category .site-main,
body.home .site-main {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}

/* ---- HERO ---- */
.ba-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #023779 0%, #1b5d93 100%);
}

/* hero background texture dots */
.ba-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* decorative circle */
.ba-hero::after {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  right: -100px;
  top: -120px;
  pointer-events: none;
}

.ba-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 32px;
  width: 100%;
}

.ba-hero-text {
  max-width: 620px;
}

.ba-hero-eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.775rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 14px;
}

.ba-hero-title {
  font-family: 'Source Sans 3', sans-serif !important;
  font-size: clamp(2rem, 4vw, 3rem) !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  line-height: 1.15 !important;
  margin: 0 0 18px !important;
  letter-spacing: -0.025em !important;
}

.ba-hero-desc {
  font-family: "Source Sans 3", sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  margin: 0 0 28px;
}

.ba-hero-btn {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: #ffffff !important;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none !important;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  backdrop-filter: blur(6px);
}

.ba-hero-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

/* ---- PAGE WRAPPER ---- */
.ba-page {
  background: #f4f7fb;
  padding: 52px 0 80px;
}

.ba-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---- FILTER PILLS ---- */
.ba-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.ba-filter-pill {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.825rem;
  font-weight: 600;
  color: #64748b !important;
  background: #ffffff;
  border: 1.5px solid #dde4ef;
  border-radius: 50px;
  padding: 7px 18px;
  text-decoration: none !important;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  white-space: nowrap;
}

.ba-filter-pill:hover {
  background: #1a3a5c;
  color: #ffffff !important;
  border-color: #1a3a5c;
  transform: translateY(-1px);
}

.ba-filter-active {
  background: #1a3a5c !important;
  color: #ffffff !important;
  border-color: #1a3a5c !important;
}

/* ---- 3-COLUMN CARD GRID ---- */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ---- CARD ---- */
.ba-card {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 2px 20px rgba(26, 58, 92, 0.09);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.ba-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(26, 58, 92, 0.15);
}

/* Card thumbnail */
.ba-card-thumb-link {
  display: block;
}

.ba-card-thumb {
  position: relative;
  overflow: hidden;
  height: 210px;
  background: #e8eef7;
}

.ba-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.ba-card:hover .ba-card-img {
  transform: scale(1.04);
}

.ba-card-no-thumb {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #023779, #1b5d93);
}

.ba-card-no-thumb svg {
  width: 48px;
  height: 48px;
  stroke: rgba(255, 255, 255, 0.4);
}

/* Category badge on image */
.ba-card-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(26, 58, 92, 0.82);
  backdrop-filter: blur(6px);
  color: #ffffff !important;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  text-decoration: none !important;
  transition: background 0.2s;
}

.ba-card-cat:hover {
  background: rgba(26, 58, 92, 1);
}

/* Card body */
.ba-card-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Meta (date + read time) */
.ba-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.ba-card-date,
.ba-card-read {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: "Figtree", sans-serif;
  font-size: 0.775rem;
  color: #64748b;
  font-weight: 500;
}

.ba-card-date svg,
.ba-card-read svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  stroke: #94a3b8;
}

/* Card title */
.ba-card-title {
  font-family: "Figtree", sans-serif !important;
  font-size: 23px !important;
  font-weight: 700;
  line-height: 29px !important;
  margin: 0 0 12px;
}

.ba-card-title a {
  color: #1a3a5c !important;
  text-decoration: none !important;
  transition: color 0.2s;
}

.ba-card-title a:hover {
  color: #2196f3 !important;
}

/* Card excerpt */
.ba-card-excerpt {
  flex: 1;
  margin-bottom: 18px;
}

.ba-card-excerpt p {
  font-family: "Source Sans 3", sans-serif;
  font-size: 16px;
  color: #000000c9;
  line-height: 1.7;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Read more link */
.ba-card-readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #2196f3 !important;
  text-decoration: none !important;
  transition: gap 0.2s, color 0.2s;
}

.ba-card-readmore svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  stroke: currentColor;
  transition: transform 0.2s;
}

.ba-card-readmore:hover {
  color: #1565c0 !important;
  gap: 10px;
}

.ba-card-readmore:hover svg {
  transform: translateX(3px);
}

/* ---- PAGINATION ---- */
.ba-pagination {
  margin-top: 52px;
  display: flex;
  justify-content: center;
}

.ba-pagination .page-numbers {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.ba-pagination .page-numbers li a,
.ba-pagination .page-numbers li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.2s, color 0.2s;
  border: 1.5px solid #dde4ef;
  background: #ffffff;
  color: #1a3a5c !important;
}

.ba-pagination .page-numbers li a:hover {
  background: #1a3a5c;
  color: #ffffff !important;
  border-color: #1a3a5c;
}

.ba-pagination .page-numbers li .current {
  background: #1a3a5c;
  color: #ffffff !important;
  border-color: #1a3a5c;
}

.ba-pagination .page-numbers li .prev,
.ba-pagination .page-numbers li .next {
  width: auto;
  padding: 0 16px;
  font-size: 0.8rem;
}

/* ---- NO POSTS ---- */
.ba-no-posts {
  text-align: center;
  padding: 80px 20px;
  color: #64748b;
}

.ba-no-posts svg {
  width: 56px;
  height: 56px;
  stroke: #cbd5e1;
  margin-bottom: 16px;
}

.ba-no-posts h3 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a3a5c;
  margin: 0 0 8px;
}

.ba-no-posts p {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.9rem;
  margin: 0;
}

/* ---- ARCHIVE RESPONSIVE ---- */
@media (max-width: 1024px) {
  .ba-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .ba-hero-inner {
    padding: 50px 24px;
  }
}

@media (max-width: 640px) {
  .ba-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ba-container {
    padding: 0 20px;
  }

  .ba-hero-inner {
    padding: 44px 20px;
  }

  .ba-hero-title {
    font-size: 1.8rem !important;
  }

  .ba-page {
    padding: 36px 0 60px;
  }

  .ba-filter-bar {
    gap: 8px;
  }

  .ba-card-thumb {
    height: 180px;
  }
}

/* ============================================================
   FAQ SECTION & ACCORDION (Premium Flat Style)
   ============================================================ */
.drmc-faq-section {
  padding: 10px 0;
  border-top: 1px solid var(--bs-border);
}

.drmc-faq-section-title {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--bs-navy);
  margin-bottom: 30px;
  text-align: left;
  /* Left align as requested */
  letter-spacing: -0.02em;
}

.drmc-accordion {
  max-width: 100%;
  /* Fill the container */
  margin: 0;
}

.drmc-accordion-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid #eee;
  border-radius: 0;
  margin-bottom: 0;
  transition: background 0.2s ease;
}

.drmc-accordion-item:last-child {
  border-bottom: none;
}

.drmc-accordion-header {
  width: 100%;
  padding: 20px 0;
  background: transparent !important;
  /* Ensure no background color */
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  outline: none;
  box-shadow: none !important;
}

.drmc-accordion-header:hover,
.drmc-accordion-header:focus,
.drmc-accordion-header:active {
  background: transparent !important;
  outline: none !important;
}

.drmc-accordion-header h3 {
  margin: 0 !important;
  font-family: 'Source Sans 3', sans-serif !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: var(--bs-navy) !important;
  line-height: 1.4 !important;
  transition: color 0.2s ease;
}

.drmc-accordion-header:hover h3 {
  color: var(--bs-accent) !important;
}

.drmc-accordion-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bs-navy);
  transition: transform 0.3s ease;
  opacity: 0.7;
}

.drmc-accordion-header.is-active .drmc-accordion-icon {
  transform: rotate(180deg);
  opacity: 1;
}

.drmc-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.drmc-accordion-body {
  padding: 0 0 25px;
  font-family: "Source Sans 3", sans-serif;
  font-size: 1.05rem;
  color: #4a5568;
  line-height: 1.7;
}

.drmc-accordion-item.is-open .drmc-accordion-content {
  max-height: 800px;
}

/* ============================================================
   TABLE OF CONTENTS
   ============================================================ */
.drmc-toc-list {
  padding: 15px 20px;
}

.drmc-toc-item {
  display: block;
  padding: 6px 0;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 15px;
  color: var(--bs-navy) !important;
  text-decoration: none !important;
  transition: color 0.2s;
  line-height: 1.4;
  border-bottom: 1px solid #f0f0f0;
}

.drmc-toc-item:last-child {
  border-bottom: none;
}

.drmc-toc-item:hover {
  color: var(--bs-accent) !important;
}

.drmc-toc-item.toc-h3 {
  padding-left: 20px;
  font-size: 15px;
  opacity: 0.85;
  position: relative;
}

.drmc-toc-item.toc-h3::before {
  content: '•';
  position: absolute;
  left: 6px;
  color: var(--bs-accent);
  font-weight: bold;
}

/* Sticky sidebar enhancement */
@media (min-width: 1060px) {
  .bsh-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
  }
}



/* ---- HEADING SCROLL OFFSET (For Table of Contents) ---- */
.bsh-body h2,
.bsh-body h3 {
  scroll-margin-top: 90px;
  /* Perfect clearance for 72px header */
}