
:root {
  --wp--custom--ast-content-width-size: 100% !important;
  --wp--custom--ast-wide-width-size: 100% !important;
  --ast-normal-container-width: 100% !important;
  --ast-narrow-container-width: 100% !important;
}
.ast-container, .entry-content, #primary {
  --ast-content-width: 100% !important;
}
\n
/* === MK DHAWAN SITE — FULL WIDTH LAYOUT FIX === */

/* Dark background */
html, body { background-color:#0A0908 !important; }

/* Override ALL Astra layout containers — plain-container AND full-width-container */
.plain-container, .plain-container #page, .plain-container .site,
.full-width-container, .full-width-container #page,
.ast-container, #content > .ast-container, .site-content > .ast-container,
#page, .site, #content, .site-content, #primary.content-area,
.ast-full-width-layout, #main.site-main, #wrapper {
  max-width: 100% !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
  float: none !important;
}

/* Hide Astra default header */
#masthead.site-header, .main-header-bar-wrap, .ast-desktop-header,
.ast-builder-grid-row-container, .ast-above-header-bar, .ast-below-header-bar,
.ast-mobile-header-wrap, .site-header { display:none !important; }

/* Hide Astra page chrome elements */
.ast-page-title-wrap, .page-header, .entry-header .page-title,
.page .entry-header, .ast-entry-meta-wrap, .entry-footer,
.ast-breadcrumbs-wrap { display:none !important; }

/* Hide legacy / Novamira panel */
#mkd-nav, #cur-dot, #cur-ring { display:none !important; }
#novamira-frontend-panel, .novamira-frontend-panel, [id*="novamira-btn"] { display:none !important; }

/* Full-width post/page content */
body.page .entry-content, body.home .entry-content,
body.single .entry-content, .ast-article-single {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  float: none !important;
}

/* Xpro header + footer — force full stretch */
.xpro-theme-builder-header, .xpro-theme-builder-header-wrap,
.xpro-theme-builder-header-nav,
.xpro-theme-builder-footer, .xpro-theme-builder-footer-wrap {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  box-sizing: border-box !important;
}
.xpro-theme-builder-header .elementor-section,
.xpro-theme-builder-header-wrap .elementor-section,
.xpro-theme-builder-footer .elementor-section,
.xpro-theme-builder-footer-wrap .elementor-section {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

/* Nav link contrast — crisp white */
.xpro-elementor-nav-link, .xpro-elementor-nav-link.menu-link,
.xpro-elementor-horizontal-navbar-nav a {
  color: #FFFFFF !important;
  opacity: 1 !important;
}
.xpro-elementor-nav-link:hover, .xpro-elementor-nav-link.menu-link:hover,
.xpro-elementor-horizontal-navbar-nav a:hover,
.xpro-elementor-horizontal-navbar-nav .active > a,
.xpro-elementor-horizontal-navbar-nav .current-menu-item > a {
  color: #C9A84C !important;
}

/* Single post dark content area */
body.single #content, .single #primary { background: #0A0908 !important; }

/* === SINGLE POST CONTENT STYLING === */
.mkd-post-content, .elementor-widget-xpro-post-content .elementor-widget-container {
  max-width: 760px; margin: 0 auto; color: #C2BDB8;
}
.xpro-elementor-post-content p, .elementor-widget-xpro-post-content p {
  color: #C2BDB8; font-size:18px; line-height:1.85; font-weight:300; margin-bottom:24px;
}
.xpro-elementor-post-content h2, .elementor-widget-xpro-post-content h2 {
  font-family:"Playfair Display",serif; font-size:clamp(24px,3vw,34px); font-weight:700;
  color:#F5F0E8; margin:48px 0 20px; line-height:1.2; padding-bottom:12px; border-bottom:1px solid #2A2825;
}
.xpro-elementor-post-content h3, .elementor-widget-xpro-post-content h3 {
  font-family:"Playfair Display",serif; font-size:clamp(18px,2.2vw,24px);
  font-weight:700; color:#F5F0E8; margin:36px 0 16px; line-height:1.3;
}
.xpro-elementor-post-content h4, .elementor-widget-xpro-post-content h4 {
  font-size:14px; font-weight:700; letter-spacing:0.14em; text-transform:uppercase; color:#C9A84C; margin:28px 0 12px;
}
.xpro-elementor-post-content a, .elementor-widget-xpro-post-content a {
  color:#C9A84C; text-decoration:none; border-bottom:1px solid rgba(201,168,76,0.3);
}
.xpro-elementor-post-content a:hover, .elementor-widget-xpro-post-content a:hover { border-color:#C9A84C; }
.xpro-elementor-post-content blockquote, .elementor-widget-xpro-post-content blockquote {
  border-left:3px solid #C9A84C; padding:20px 28px; margin:32px 0;
  background:rgba(201,168,76,0.04); font-family:"Playfair Display",serif;
  font-size:20px; font-style:italic; color:#F5F0E8; line-height:1.6;
}
.xpro-elementor-post-content ul, .xpro-elementor-post-content ol,
.elementor-widget-xpro-post-content ul, .elementor-widget-xpro-post-content ol {
  color:#C2BDB8; padding-left:24px; margin-bottom:24px;
}
.xpro-elementor-post-content li, .elementor-widget-xpro-post-content li { margin-bottom:8px; line-height:1.7; }
.xpro-elementor-post-content strong, .elementor-widget-xpro-post-content strong { color:#F5F0E8; font-weight:600; }
.xpro-elementor-post-content em, .elementor-widget-xpro-post-content em { color:#C9A84C; font-style:italic; }

/* Mobile adjustments */
@media(max-width:768px) {
  .xpro-theme-builder-header .elementor-container { padding:0 20px !important; }
  .mkd-post-content, .elementor-widget-xpro-post-content .elementor-widget-container { max-width:100%; }
}
