/*
Theme Name: General Mbala Profile
Theme URI: https://example.com/general-mbala-profile
Author: Converted for WordPress
Author URI: https://example.com
Description: WordPress and Elementor-ready conversion of the General Célestin Mbala Munsense biographical profile website. Preserves the original navy/gold visual design, media, sections, and source content from the supplied package.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: general-mbala-profile
Tags: biography, profile, one-page, elementor-ready, custom-menu, featured-images
*/

/* WordPress and Elementor compatibility layer */
:root {
  --mbala-navy-dark: #0a1628;
  --mbala-navy: #1a2a44;
  --mbala-navy-light: #2a3a54;
  --mbala-gold: #c9a227;
  --mbala-gold-light: #e5c76b;
}

body {
  margin: 0;
  background: var(--mbala-navy-dark);
}

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

.wp-site-blocks,
.mbala-site {
  background: var(--mbala-navy-dark);
  color: #fff;
}

.admin-bar .mbala-site-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .mbala-site-header {
    top: 46px;
  }
}

.mbala-site-header.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 20px rgba(0,0,0,.25);
  border-bottom: 1px solid rgba(201, 162, 39, .3);
}

.mbala-mobile-menu {
  display: none;
}

.mbala-mobile-menu.is-open {
  display: block;
}

.mbala-page-content {
  padding-top: 7rem;
  min-height: 60vh;
}

.mbala-page-content > .container-custom {
  padding-bottom: 5rem;
}

.mbala-page-content a {
  color: var(--mbala-gold);
}

.mbala-post-card {
  display: block;
  text-decoration: none;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mbala-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 22, 40, .96);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

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

.mbala-lightbox img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: .5rem;
}

.mbala-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: #fff;
  background: transparent;
  border: 0;
  font-size: 2rem;
  cursor: pointer;
}

.mbala-lightbox-close:hover {
  color: var(--mbala-gold);
}

/* Elementor should receive a clean full-width content area. */
.elementor-page .mbala-page-content,
.elementor-template-full-width .mbala-page-content {
  padding-top: 0;
}

.elementor-page .mbala-page-content > .container-custom,
.elementor-template-full-width .mbala-page-content > .container-custom {
  max-width: none;
  padding: 0;
}

.mbala-site-header ul,
.mbala-mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mbala-site-header .menu-item {
  list-style: none;
}

.mbala-site-header .custom-logo {
  max-height: 54px;
  width: auto;
}

.mbala-site-header .hidden.lg\:flex .menu-item a,
.mbala-site-header .desktop-menu .menu-item a {
  color: #d1d5db;
  font-size: .875rem;
  font-weight: 500;
  transition: color .2s ease;
  text-decoration: none;
}

.mbala-site-header .hidden.lg\:flex .menu-item a:hover,
.mbala-site-header .desktop-menu .menu-item a:hover {
  color: var(--mbala-gold);
}

.mbala-mobile-menu .menu-item a {
  display: block;
  padding: .75rem 1rem;
  color: #d1d5db;
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease;
}

.mbala-mobile-menu .menu-item a:hover {
  color: var(--mbala-gold);
  background: #1a2a44;
}
