/*
Theme Name: AAC Energy
Theme URI: https://aacec.in
Author: Vishal Raipure
Author URI: https://aacec.in
Description: Lightweight, Elementor-compatible custom theme for AAC Energy Consultants. Logo-only palette (green/yellow/charcoal), built for an energy-audit B2B site with Projects, Case Studies and a Blog. Header & footer are coded fallbacks that Elementor Pro Theme Builder can override.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aac-energy
Tags: business, blog, custom-logo, custom-menu, featured-images, full-width-template, translation-ready
*/

/* ---------------------------------------------------------------------------
   The full design system lives in /assets/css/aac.css (enqueued separately).
   This file holds ONLY WordPress-specific overrides that layer on top.
   --------------------------------------------------------------------------- */

/* Fixed-header offset when the WP admin bar is visible */
body.admin-bar .hdr{top:32px}
@media(max-width:782px){body.admin-bar .hdr{top:46px}}

/* Map WordPress menu "current" classes onto our active-link underline */
.nav-links .current-menu-item > a::after,
.nav-links .current_page_item > a::after,
.nav-links .current-menu-ancestor > a::after{width:100%}
.nav-links .current-menu-item > a,
.nav-links .current_page_item > a,
.nav-links .current-menu-ancestor > a{color:#fff}
.hdr.solid .nav-links .current-menu-item > a,
.hdr.solid .nav-links .current_page_item > a,
.hdr.solid .nav-links .current-menu-ancestor > a{color:var(--ink)}

/* WordPress core alignment & media helpers */
.alignleft{float:left;margin:0 24px 16px 0}
.alignright{float:right;margin:0 0 16px 24px}
.aligncenter{display:block;margin-left:auto;margin-right:auto}
.wp-caption{max-width:100%}
.wp-caption-text{font-size:.85rem;color:var(--ink-300);margin-top:6px}
.screen-reader-text{position:absolute !important;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
.sticky{display:block}

/* Pagination */
.aac-pagination{display:flex;gap:8px;justify-content:center;margin-top:48px;flex-wrap:wrap}
.aac-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;padding:0 12px;border:1px solid var(--line);border-radius:8px;font-weight:600;color:var(--ink-700);transition:.18s}
.aac-pagination .page-numbers.current{background:var(--ink);color:#fff;border-color:var(--ink)}
.aac-pagination .page-numbers:hover{border-color:var(--green)}
