/*
Theme Name: Central Park Tutors
Theme URI: https://centralparktutors.com/
Description: Central Park Tutors child theme of Hello Elementor
Author: Gerald
Template: hello-elementor
Version: 1.0.0
Text Domain: cpt-theme
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/* ── GLOBAL COLOR TOKENS ──────────────────────────────────────────────────── */
:root {
  --navy:       #1e2d27;
  --navy-mid:   #2A3C32;
  --teal:       #3A5244;
  --teal-light: #4E6B5A;
  --teal-dark:  #2A3C32;
  --gold:       #B8860B;
  --gold-light: #D4A843;
  --cream:      #FDFAF5;
  --cream-dark: #F4EFE3;
  --text:       #1a1a2e;
  --text-muted: #5a5a72;
  --border:     #D8D0BC;
  --white:      #FFFFFF;
}

/* ── HEADER ────────────────────────────────────────────────────────────────── */

/* Sticky handled by Elementor Motion Effects — no CSS override needed */
.cpt-site-header {
  z-index: 100;
}

/* Logo — tint to navy */
.cpt-logo img {
  height: 44px;
  width: auto;
  filter: brightness(0) saturate(100%) invert(14%) sepia(15%) saturate(800%) hue-rotate(108deg) brightness(1);
}

/* Nav menu — dropdown teal top accent, shadow, and dividers */
.elementor-nav-menu--main .elementor-nav-menu .sub-menu {
  border-top: 2px solid var(--teal) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
  min-width: 260px !important;
}

.elementor-nav-menu--main .elementor-nav-menu .sub-menu li a {
  border-bottom: 1px solid var(--cream-dark) !important;
}

.elementor-nav-menu--main .elementor-nav-menu .sub-menu li:last-child a {
  border-bottom: none !important;
}

/* CTA button — remove Elementor's default border-radius */
.cpt-header-cta-btn .elementor-button {
  border-radius: 0 !important;
  white-space: nowrap;
}

/* ── FOOTER ────────────────────────────────────────────────────────────────── */

/* Logo — white version */
.cpt-footer-logo img {
  filter: brightness(0) invert(1);
  opacity: 0.9;
  height: 44px;
  width: auto;
}

/* Remove bullets and padding from icon-list used as footer links */
.cpt-footer-col .elementor-icon-list-items {
  list-style: none;
  padding: 0;
}

.cpt-footer-col .elementor-icon-list-item {
  margin-bottom: 8px;
}

.cpt-footer-col .elementor-icon-list-icon {
  display: none;
}

.cpt-footer-col .elementor-icon-list-text {
  font-size: 0.88rem;
  color: rgba(253, 250, 245, 0.7);
  text-decoration: none;
  transition: color 0.15s ease;
}

.cpt-footer-col .elementor-icon-list-item a:hover .elementor-icon-list-text {
  color: #D4A843;
}

/* Footer bottom bar */
.cpt-footer-bottom .elementor-text-editor p {
  margin: 0;
}

.cpt-footer-bottom a:hover {
  color: #D4A843 !important;
}

/* Responsive: 2 cols at 900px, 1 col at 560px */
@media (max-width: 900px) {
  .cpt-footer-grid .e-con {
    width: calc(50% - 20px) !important;
  }
}

@media (max-width: 560px) {
  .cpt-footer-grid .e-con {
    width: 100% !important;
  }
}
