/*
Theme Name: Primo Academy
Theme URI: https://primo.academy
Author: Bluechip Technologies
Description: Custom theme for Primo Academy, converted from the static HTML site. Header and footer are theme templates; page content is built with Elementor (one container per section).
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: primo
*/

/* The design lives in assets/css/primo.css (the original styles.css, unchanged).
   This file only holds WordPress / Elementor compatibility rules. */

/* Elementor containers that hold an original section: no padding, gap or max-width,
   so the section renders exactly as in the static site. */
.primo-section.e-con,
.primo-section.e-con > .e-con-inner {
  --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px;
  --gap: 0px; --row-gap: 0px; --column-gap: 0px;
  --content-width: 100%; --container-max-width: none;
  padding: 0; gap: 0; max-width: none;
}
.primo-section .elementor-widget-html,
.primo-section .elementor-widget-html > .elementor-widget-container { width: 100%; margin: 0; }

/* WordPress admin bar: keep the absolutely-positioned header below it */
body.admin-bar .site-header { top: calc(var(--header-top) + 32px); }
@media (max-width: 782px) { body.admin-bar .site-header { top: calc(var(--header-top-mobile) + 46px); } }

/* Menu items generated by WordPress */
.site-nav__list .menu-item { list-style: none; }
