/*
Theme Name: ACP Leadership
Theme URI: https://craftedcampus.com
Author: Crafted Campus
Author URI: https://craftedcampus.com
Description: Custom WordPress theme for ACP — a boutique leadership capability partner for technically-led organisations. Built with Elementor and the Crafted Campus Elementor Addon.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: acp-leadership
Tags: elementor, custom-menu, sticky-header, responsive-layout, one-column, two-columns
*/

/* =========================================================
   ACP Leadership Theme — Base Styles
   All visual design is handled by the Elementor addon CSS.
   This file provides only essential WordPress resets.
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    background: #f9f9f9;
    color: #414042;
    line-height: 1.75;
	font-size: 18px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* WordPress core alignment classes */
.alignleft { float: left; margin-right: 1.5em; margin-bottom: 1em; }
.alignright { float: right; margin-left: 1.5em; margin-bottom: 1em; }
.aligncenter { display: block; margin: 0 auto 1em; }
.alignwide { max-width: 1200px; margin: 0 auto; }
.alignfull { max-width: 100%; }

/* Screen reader text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 6px;
    z-index: 999999;
    background: #006d77;
    color: #fff;
    padding: 8px 16px;
    border-radius: 0 0 4px 4px;
    font-weight: 700;
    text-decoration: none;
    transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* Elementor compatibility */
.elementor-section { position: relative; }
.elementor-container { max-width: 100%; }

/* WordPress page/post title — hide when Elementor controls */
.wp-block-post-title { display: none; }
.entry-title.elementor-heading-title { display: block; }

/* WP admin bar spacing */
.admin-bar .site-header,
.admin-bar .cc-sticky-header { top: 32px !important; }

@media (max-width: 782px) {
    .admin-bar .site-header,
    .admin-bar .cc-sticky-header { top: 46px !important; }
}

/* Remove default Elementor margins that clash with design */
.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: var(--cc-max, 1180px);
}

/* Ensure images are responsive */
img { max-width: 100%; height: auto; display: block; }

/* Links */
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }

/* Lists reset for nav */
ul, ol { list-style: none; padding: 0; margin: 0; }

/* Print styles */
@media print {
    .site-header,
    .site-footer,
    .cc-cta-banner { display: none; }
    body { color: #000; background: #fff; }
}
