/*
Theme Name: Sunwin Governance Child
Theme URI: https://sunwin.org/
Description: Flatsome child theme containing the complete Sunwin governance website and WordPress page importer.
Author: Sunwin
Template: flatsome
Version: 1.0.4
Text Domain: sunwin-governance
Requires at least: 6.2
Requires PHP: 7.4
*/

:root { color-scheme: dark; }
html { scroll-behavior: smooth; }
body.sunwin-imported-page { margin: 0; background: #090302; color: #fff; }
body.sunwin-imported-page #wrapper,
body.sunwin-imported-page #main { background: transparent; }
/* Flatsome defines .section as a horizontal flex row. Sunwin section layouts
   stack their heading above the visual/grid and must remain block containers. */
body.sunwin-imported-page main > section.section { display: block; }
/* Flatsome adds a clearfix as .container::after. Inside Sunwin grid/flex
   containers it becomes an extra empty item and creates a large trailing gap. */
body.sunwin-imported-page main .container::after { content: none; display: none; }
body.sunwin-imported-page h1,
body.sunwin-imported-page h2,
body.sunwin-imported-page h3,
body.sunwin-imported-page h4,
body.sunwin-imported-page h5,
body.sunwin-imported-page h6 { font-family: "Be Vietnam Pro", system-ui, sans-serif; color: inherit; text-transform: none; }
body.sunwin-imported-page .v2-reveal,
body.sunwin-imported-page .about-reveal,
body.sunwin-imported-page .reveal { opacity: 1 !important; transform: none !important; }
.sunwin-primary-menu,
.sunwin-footer-menu { margin: 0; padding: 0; list-style: none; }
.main-nav > .sunwin-primary-menu { display: flex; align-items: center; gap: 2px; }
.main-nav > .sunwin-primary-menu > li { position: relative; list-style: none; }
.main-nav > .sunwin-primary-menu > li > a { display: flex; align-items: center; }
.main-nav .menu-item-has-children > a::after { content: '⌄'; margin-left: 5px; opacity: .7; }
.main-nav .mega-panel { min-width: 245px; margin: 0; list-style: none; }
.main-nav .mega-panel > li { margin: 0; padding: 0; list-style: none; }
.main-nav .mega-panel a { display: block; }
.main-nav .mega-panel small { display: block; opacity: .66; font-size: 11px; }
.footer-column .sunwin-footer-menu li { list-style: none; margin: 0; }
.footer-column .sunwin-footer-menu a { display: inline-block; }
.sunwin-standard-content { width: min(1120px, calc(100% - 40px)); margin: 130px auto 80px; }
.sunwin-standard-content article { padding: 32px; border: 1px solid rgba(255,184,56,.35); border-radius: 22px; background: rgba(31,8,4,.88); }
.sunwin-standard-content h1 { color: #ffe18b; }
.sunwin-standard-content a { color: #ffc84f; }
@media (max-width: 900px) {
  .main-nav > .sunwin-primary-menu { display: block; }
  .main-nav .mega-panel { position: static; min-width: 0; }
}
