/*
Theme Name: EWI Elementor Child
Theme URI: https://www.executiveworkplace.com/
Description: Lightweight Hello Elementor child theme for Executive WorkPlace International.
Author: Executive WorkPlace
Template: hello-elementor
Version: 1.1.0
Text Domain: ewi-elementor-child
*/

:root {
  --ewi-green: #2e7d32;
  --ewi-green-dark: #174f23;
  --ewi-green-soft: #edf6ee;
  --ewi-ink: #172019;
  --ewi-body: #536057;
  --ewi-line: #dce5dd;
  --ewi-white: #ffffff;
  --ewi-shadow: 0 18px 55px rgba(13, 41, 20, 0.11);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ewi-ink);
  background: #fff;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  color: var(--ewi-ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.14;
  letter-spacing: -0.025em;
}

a {
  color: var(--ewi-green);
}

.ewi-site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid rgba(23, 32, 25, 0.08);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.ewi-header-inner,
.ewi-footer-inner,
.ewi-shell {
  width: min(calc(100% - 32px), 1180px);
  margin-inline: auto;
}

.ewi-header-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.ewi-site-logo img,
.ewi-site-logo .custom-logo {
  width: min(225px, 46vw);
  height: auto;
}

.ewi-primary-menu ul,
.ewi-primary-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ewi-primary-menu a {
  color: var(--ewi-ink);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.ewi-primary-menu a:hover {
  color: var(--ewi-green);
}

.ewi-menu-toggle {
  display: none;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--ewi-line);
  border-radius: 999px;
  background: #fff;
  color: var(--ewi-ink);
  font-weight: 700;
}

.ewi-hero {
  min-height: 72vh;
  color: #fff;
  background:
    radial-gradient(circle at 85% 10%, rgba(118, 181, 120, 0.30), transparent 32%),
    radial-gradient(circle at 15% 85%, rgba(46, 125, 50, 0.28), transparent 34%),
    linear-gradient(135deg, #0b260f 0%, #174f23 52%, #2e7d32 100%);
}

.ewi-hero__inner {
  display: flex;
  min-height: 72vh;
  flex-direction: column;
  justify-content: center;
  padding-block: 90px;
}

.ewi-hero h1,
.ewi-hero p,
.ewi-section--green h2,
.ewi-section--green h3,
.ewi-section--green p {
  color: #fff;
}

.ewi-hero h1 {
  max-width: 880px;
  font-size: clamp(3rem, 8vw, 6.2rem);
}

.ewi-page-hero {
  padding: 92px 0 58px;
  background:
    radial-gradient(circle at 90% 0%, rgba(46, 125, 50, 0.16), transparent 34%),
    #fff;
}

.ewi-page-hero h1 {
  max-width: 900px;
  font-size: clamp(2.7rem, 7vw, 5.2rem);
}

.ewi-section {
  padding: 88px 0;
}

.ewi-section--soft {
  background: #f5f9f5;
}

.ewi-section--green {
  color: #fff;
  background: var(--ewi-green-dark);
}

.ewi-kicker {
  color: var(--ewi-green);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ewi-section--green .ewi-kicker,
.ewi-hero .ewi-kicker {
  color: #bde0c0;
}

.ewi-lead {
  color: var(--ewi-body);
  font-size: 1.04rem;
}

.ewi-two-column {
  display: grid;
  gap: 34px;
}

.ewi-grid {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.ewi-card {
  padding: 25px;
  border: 1px solid var(--ewi-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--ewi-shadow);
}

.ewi-card h3 {
  margin-top: 0;
}

.ewi-card p {
  margin-bottom: 0;
  color: var(--ewi-body);
}

.ewi-section--green .ewi-card {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.ewi-section--green .ewi-card p {
  color: rgba(255, 255, 255, 0.75);
}

.ewi-stats {
  margin-bottom: 35px;
}

.ewi-stat {
  padding: 27px;
  border-left: 4px solid var(--ewi-green);
  background: var(--ewi-green-soft);
}

.ewi-stat h3 {
  margin: 0;
  color: var(--ewi-green-dark);
  font-size: clamp(2.5rem, 6vw, 4.2rem);
}

.ewi-stat p {
  margin: 5px 0 0;
  color: var(--ewi-body);
}

.ewi-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.ewi-button-outline .elementor-button {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  background: transparent;
}

.ewi-prose {
  max-width: 850px;
}

.ewi-site-footer {
  padding: 48px 0;
  color: rgba(255, 255, 255, 0.68);
  background: #0b180d;
}

.ewi-footer-inner {
  display: grid;
  gap: 24px;
}

.ewi-site-footer a {
  color: rgba(255, 255, 255, 0.88);
}

.ewi-single {
  width: min(calc(100% - 32px), 880px);
  margin: 70px auto 100px;
}

.ewi-single__image img {
  width: 100%;
  border-radius: 20px;
}

.ewi-single__meta {
  margin: 16px 0;
  color: var(--ewi-body);
  font-size: 0.82rem;
}

.ewi-single__content {
  font-size: 1.02rem;
}

@media (min-width: 760px) {
  .ewi-two-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
  }

  .ewi-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ewi-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ewi-footer-inner {
    grid-template-columns: 1.4fr 1fr;
  }
}

@media (max-width: 999px) {
  .ewi-menu-toggle {
    display: inline-flex;
    align-items: center;
  }

  .ewi-primary-menu {
    position: absolute;
    top: 78px;
    right: 16px;
    left: 16px;
    display: none;
    padding: 18px;
    border: 1px solid var(--ewi-line);
    border-radius: 15px;
    background: #fff;
    box-shadow: var(--ewi-shadow);
  }

  .ewi-primary-menu.is-open {
    display: block;
  }

  .ewi-primary-menu ul,
  .ewi-primary-menu {
    flex-direction: column;
    align-items: stretch;
  }

  .ewi-primary-menu a {
    display: block;
    padding: 9px 6px;
  }
}


/* v1.1 reliable menu fallback */
.ewi-fallback-menu {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ewi-fallback-menu a {
  color: var(--ewi-ink);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.ewi-fallback-menu a:hover {
  color: var(--ewi-green);
}

.site-main,
.entry-content {
  min-height: 1px;
}

@media (max-width: 999px) {
  .ewi-fallback-menu {
    flex-direction: column;
    align-items: stretch;
  }
}
