/* ==========================================================================
   EMOTIONSPÄDAGOGIK INSTITUT — BRAND STYLESHEET
   
   This file contains ALL brand-specific CSS for the Elementor build.
   It works with Elementor Free by targeting Elementor's generated classes
   and custom CSS classes you assign to sections/widgets.
   
   HOW TO USE WITH ELEMENTOR:
   - Add CSS classes to sections/widgets via Advanced → CSS Classes
   - This stylesheet targets those classes + Elementor defaults
   - No Elementor Pro "Custom CSS" field needed
   ========================================================================== */


/* ==========================================================================
   1. CSS VARIABLES (BRAND TOKENS)
   ========================================================================== */

:root {
  /* Colors */
  --ep-coral: #FF8A65;
  --ep-pink: #E83E8C;
  --ep-purple: #A86BBE;
  --ep-cream: #F7F3EE;
  --ep-white: #FFFFFF;
  --ep-text: #3A3A3A;
  --ep-text-muted: #6B6B6B;
  --ep-border: #E6E0DA;

  /* Typography */
  --ep-font-heading: 'Libre Baskerville', Georgia, serif;
  --ep-font-body: 'Source Sans 3', -apple-system, sans-serif;

  /* Spacing */
  --ep-section-padding: 100px;
  --ep-section-padding-large: 130px;
  --ep-section-padding-mobile: 64px;
  --ep-container-max: 1100px;
  --ep-card-radius: 8px;
  --ep-button-radius: 24px;

  /* Effects */
  --ep-shadow-soft: 0 1px 2px rgba(58, 58, 58, 0.02);
  --ep-gradient-warm: linear-gradient(135deg, #FF8A65 0%, #E83E8C 100%);
  --ep-gradient-authority: linear-gradient(135deg, #A86BBE 0%, #8B5CA0 100%);
  --ep-transition: 0.25s ease;
}



/* ==========================================================================
   2. BASE & BODY OVERRIDES
   ========================================================================== */

body.ep-brand {
  font-family: var(--ep-font-body);
  color: var(--ep-text-muted);
  background-color: var(--ep-cream);
  font-size: 0.92rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.ep-brand a {
  color: var(--ep-pink);
  text-decoration: none;
  transition: all var(--ep-transition);
}

body.ep-brand a:hover {
  color: #d1357d;
}


/* ==========================================================================
   3. TYPOGRAPHY — ELEMENTOR OVERRIDES
   
   Elementor generates headings inside .elementor-heading-title
   These rules ensure brand fonts override Elementor defaults.
   ========================================================================== */

body.ep-brand h1,
body.ep-brand h2,
body.ep-brand h3,
body.ep-brand h4,
body.ep-brand .elementor-heading-title {
  font-family: var(--ep-font-heading);
  color: var(--ep-text);
  font-weight: 400;
  line-height: 1.3;
}

body.ep-brand h1,
body.ep-brand h1.elementor-heading-title {
  font-size: 3.35rem;
  line-height: 1.15;
}

body.ep-brand h2,
body.ep-brand h2.elementor-heading-title {
  font-size: 2.45rem;
  margin-bottom: 16px;
}

/* Hero headline — tighter spacing than section H2s */
body.ep-brand .ep-hero-heading h2.elementor-heading-title,
body.ep-brand .ep-hero-heading .elementor-heading-title {
  font-size: 3.4rem;
  line-height: 1.15;
  margin-bottom: 24px;
}

body.ep-brand h3,
body.ep-brand h3.elementor-heading-title {
  font-size: 1.4rem;
}

body.ep-brand h4,
body.ep-brand h4.elementor-heading-title {
  font-size: 1.2rem;
}

body.ep-brand .elementor-widget-text-editor {
  font-family: var(--ep-font-body);
  color: var(--ep-text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* Section label — the small uppercase pink label above headings */
/* Add class "ep-section-label" to a Heading widget set to <span> or <p> */
body.ep-brand .ep-section-label,
body.ep-brand .ep-section-label .elementor-heading-title {
  font-family: var(--ep-font-body) !important;
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--ep-pink) !important;
  margin-bottom: 18px !important;
}

/* White section label (on colored backgrounds) */
body.ep-brand .ep-section-label-white,
body.ep-brand .ep-section-label-white .elementor-heading-title {
  font-family: var(--ep-font-body) !important;
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: rgba(255, 255, 255, 0.85) !important;
  margin-bottom: 18px !important;
}

/* Muted body text helper */
body.ep-brand .ep-text-muted,
body.ep-brand .ep-text-muted .elementor-heading-title {
  color: var(--ep-text-muted) !important;
}

/* To prevent hello to add 52px margin-block end on h2 (FB 2026-02-27) */
.ep-brand h1,
.ep-brand h2,
.ep-brand h3,
.ep-brand h4,
.ep-brand h5,
.ep-brand h6 {
  margin-block-start: 0;
  margin-block-end: 0;
  font-weight: inherit;
}

/* ==========================================================================
   4. BUTTONS
   
   Apply these classes to Elementor Button widgets via Advanced → CSS Classes
   ========================================================================== */

/* Primary pink button — class: ep-btn-primary */
body.ep-brand .ep-btn-primary .elementor-button {
  background-color: var(--ep-pink) !important;
  color: #FFFFFF !important;
  border-radius: var(--ep-button-radius) !important;
  padding: 14px 28px !important;
  font-family: var(--ep-font-body) !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  border: none !important;
  transition: all 0.3s ease !important;
}

body.ep-brand .ep-btn-primary .elementor-button:hover {
  background-color: #d1357d !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Large primary — class: ep-btn-primary-lg */
body.ep-brand .ep-btn-primary-lg .elementor-button {
  background-color: var(--ep-pink) !important;
  color: #FFFFFF !important;
  border-radius: var(--ep-button-radius) !important;
  padding: 14px 28px !important;
  font-family: var(--ep-font-body) !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  border: none !important;
  transition: all 0.3s ease !important;
}

body.ep-brand .ep-btn-primary-lg .elementor-button:hover {
  background-color: #d1357d !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Secondary outline button — class: ep-btn-secondary */
body.ep-brand .ep-btn-secondary .elementor-button {
  background-color: transparent !important;
  color: var(--ep-pink) !important;
  border: 1.5px solid rgba(232, 62, 140, 0.45) !important;
  border-radius: var(--ep-button-radius) !important;
  padding: 14px 28px !important;
  font-family: var(--ep-font-body) !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
}

body.ep-brand .ep-btn-secondary .elementor-button:hover {
  border-color: var(--ep-pink) !important;
  transform: translateY(-2px);
}

/* White button (on colored backgrounds) — class: ep-btn-white */
body.ep-brand .ep-btn-white .elementor-button {
  background-color: #FFFFFF !important;
  color: var(--ep-pink) !important;
  border-radius: var(--ep-button-radius) !important;
  padding: 18px 40px !important;
  font-family: var(--ep-font-body) !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  border: none !important;
  transition: all 0.3s ease !important;
}

body.ep-brand .ep-btn-white .elementor-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Small button — add "ep-btn-sm" alongside primary/secondary */
body.ep-brand .ep-btn-sm .elementor-button {
  padding: 10px 22px !important;
  font-size: 0.88rem !important;
}


/* ==========================================================================
   5. CARDS
   
   Apply class "ep-card" to an Elementor container/column
   ========================================================================== */

body.ep-brand .ep-card {
  background: var(--ep-white);
  border-radius: var(--ep-card-radius);
  padding: 32px;
  box-shadow: var(--ep-shadow-soft);
  border: 1px solid rgba(230, 224, 218, 0.6);
  transition: all 0.3s ease;
}

body.ep-brand .ep-card-hover:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(58, 58, 58, 0.06);
  border-color: rgba(232, 62, 140, 0.25);
}


/* ==========================================================================
   5b. CARD GRID — Elementor flex container equal-height fix
   
   Elementor sets --container-widget-height: 100% and 
   --container-widget-align-self: stretch on child containers,
   forcing all cards to match the tallest row height.
   Apply class "ep-card-grid" to the parent flex container.
   ========================================================================== */

body.ep-brand .ep-card-grid {
  --container-widget-height: auto !important;
  --container-widget-flex-grow: 0 !important;
  --container-widget-align-self: flex-start !important;
  align-items: flex-start !important;
}

body.ep-brand .ep-card-grid > .e-con,
body.ep-brand .ep-card-grid > .e-con.e-con-full,
body.ep-brand .ep-card-grid > .elementor-element {
  --container-widget-height: auto !important;
  --container-widget-flex-grow: 0 !important;
  --container-widget-align-self: flex-start !important;
  --height: auto !important;
  --min-height: initial !important;
  height: auto !important;
  min-height: 0 !important;
  align-self: flex-start !important;
  flex-grow: 0 !important;
  flex-basis: auto !important;
}

/* Also target the Elementor-generated element-specific class pattern */
body.ep-brand .ep-card-grid > [data-element_type="container"] {
  --container-widget-height: auto !important;
  --container-widget-align-self: flex-start !important;
  height: auto !important;
  align-self: flex-start !important;
}


/* ==========================================================================
   6. ICON CONTAINERS
   
   Apply class "ep-icon-wrap" to a container holding an icon widget
   ========================================================================== */

body.ep-brand .ep-icon-wrap {
  width: 42px;
  height: 42px;
  background: rgba(232, 62, 140, 0.07);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 20px;
}

body.ep-brand .ep-icon-wrap .elementor-widget-icon {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.ep-brand .ep-icon-wrap .elementor-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Center Custom HTML widgets (SVG icons) inside icon wrap */
body.ep-brand .ep-icon-wrap .elementor-widget-html {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.ep-brand .ep-icon-wrap .elementor-widget-html .elementor-widget-container {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
}

body.ep-brand .ep-icon-wrap svg,
body.ep-brand .ep-icon-wrap i {
  width: 19px;
  height: 19px;
  color: var(--ep-pink);
  stroke: var(--ep-pink);
  stroke-width: 1.5;
  fill: none;
}

body.ep-brand .ep-icon-wrap-purple {
  background: rgba(168, 107, 190, 0.08);
}

body.ep-brand .ep-icon-wrap-purple svg,
body.ep-brand .ep-icon-wrap-purple i {
  color: var(--ep-purple);
  stroke: var(--ep-purple);
}

body.ep-brand .ep-icon-wrap-lg {
  width: 52px;
  height: 52px;
}

body.ep-brand .ep-icon-wrap-lg svg {
  width: 22px;
  height: 22px;
}


/* ==========================================================================
   7. SECTION BACKGROUNDS
   
   Apply these classes to Elementor SECTIONS via Advanced → CSS Classes
   ========================================================================== */

/* Cream background (default page background) */
body.ep-brand .ep-bg-cream {
  background-color: var(--ep-cream) !important;
}

/* White background */
body.ep-brand .ep-bg-white {
  background-color: var(--ep-white) !important;
}

/* Warm gradient band (coral) */
body.ep-brand .ep-band-warm {
  background: var(--ep-gradient-warm) !important;
  color: #FFFFFF;
}

body.ep-brand .ep-band-warm h2,
body.ep-brand .ep-band-warm h3,
body.ep-brand .ep-band-warm h4,
body.ep-brand .ep-band-warm .elementor-heading-title {
  color: #FFFFFF !important;
}

body.ep-brand .ep-band-warm p,
body.ep-brand .ep-band-warm .elementor-widget-text-editor {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Authority band (purple) */
body.ep-brand .ep-band-authority {
  background: var(--ep-gradient-authority) !important;
  color: #FFFFFF;
}

body.ep-brand .ep-band-authority h2,
body.ep-brand .ep-band-authority h3,
body.ep-brand .ep-band-authority h4,
body.ep-brand .ep-band-authority .elementor-heading-title {
  color: #FFFFFF !important;
}

body.ep-brand .ep-band-authority p,
body.ep-brand .ep-band-authority .elementor-widget-text-editor {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Coral solid background */
body.ep-brand .ep-bg-coral {
  background-color: var(--ep-coral) !important;
}

/* Section padding standard */
body.ep-brand .ep-section-standard {
  padding-top: var(--ep-section-padding) !important;
  padding-bottom: var(--ep-section-padding) !important;
}

/* Section padding large (authority/important sections) */
body.ep-brand .ep-section-large {
  padding-top: var(--ep-section-padding-large) !important;
  padding-bottom: var(--ep-section-padding-large) !important;
}


/* ==========================================================================
   8. NAVIGATION (for UAE Header Builder)
   
   These styles target the UAE header. Build the header as:
   - Container with nav-logo (left)
   - UAE Nav Menu widget (center/right)
   - Language switcher via shortcode [ep_lang_switch]
   - CTA button (right)
   ========================================================================== */

/* Overall header bar */
body.ep-brand .ep-header {
  background: var(--ep-white) !important;
  border-bottom: 1px solid rgba(230, 224, 218, 0.5);
  height: 72px;
  position: relative;
  z-index: 999 !important;
}

/* Nav link styling */
body.ep-brand .ep-header .uae-nav-menu .menu-item > a,
body.ep-brand .ep-header .uae-nav-menu a {
  font-family: var(--ep-font-body) !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  color: var(--ep-text-muted) !important;
  transition: color var(--ep-transition) !important;
}

body.ep-brand .ep-header .uae-nav-menu .menu-item > a:hover,
body.ep-brand .ep-header .uae-nav-menu a:hover {
  color: var(--ep-pink) !important;
}

/* Active nav item */
body.ep-brand .ep-header .uae-nav-menu .current-menu-item > a {
  color: var(--ep-text) !important;
  font-weight: 600 !important;
}

/* Nav CTA button */
body.ep-brand .ep-nav-cta .elementor-button {
  background: var(--ep-pink) !important;
  color: var(--ep-white) !important;
  padding: 10px 22px !important;
  border-radius: var(--ep-button-radius) !important;
  font-weight: 600 !important;
  font-size: 0.82rem !important;
  font-family: var(--ep-font-body) !important;
  transition: transform var(--ep-transition), box-shadow var(--ep-transition) !important;
}

body.ep-brand .ep-nav-cta .elementor-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(232, 62, 140, 0.25);
}

/* Language switcher */
.lang-switch {
  display: flex;
  align-items: center;
  background: var(--ep-cream);
  border: 1px solid var(--ep-border);
  border-radius: 20px;
  padding: 2px 3px;
  font-family: var(--ep-font-body);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}

.lang-switch a {
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 16px;
  transition: all 0.2s;
  font-weight: 500;
}

.lang-switch a.lang-active {
  background: var(--ep-white);
  color: var(--ep-text) !important;
  font-weight: 600 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.lang-switch a.lang-inactive {
  color: var(--ep-text-muted) !important;
  opacity: 0.6;
}

.lang-switch a.lang-inactive:hover {
  opacity: 1;
  color: var(--ep-text) !important;
}


/* ==========================================================================
   9. FOOTER
   
   Build footer with UAE Footer Builder or as a section at page bottom.
   Apply class "ep-footer" to the footer section.
   ========================================================================== */

body.ep-brand .ep-footer {
  background: var(--ep-white) !important;
  border-top: 1px solid var(--ep-border);
  padding: 56px 0 36px !important;
}

body.ep-brand .ep-footer .ep-footer-title {
  font-family: var(--ep-font-body) !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  color: var(--ep-text-muted) !important;
  margin-bottom: 14px !important;
}

body.ep-brand .ep-footer a {
  display: block;
  font-family: var(--ep-font-body);
  font-size: 0.82rem;
  color: var(--ep-text-muted);
  padding: 4px 0;
  transition: color var(--ep-transition);
}

body.ep-brand .ep-footer a:hover {
  color: var(--ep-pink);
}

body.ep-brand .ep-footer-divider {
  border: none;
  border-top: 1px solid var(--ep-border);
  margin-bottom: 20px;
}

body.ep-brand .ep-footer-badges img {
  height: 25px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

body.ep-brand .ep-footer-badges img:hover {
  filter: grayscale(0%);
  opacity: 0.85;
}

body.ep-brand .ep-footer-copyright {
  font-family: var(--ep-font-body);
  font-size: 0.7rem;
  color: var(--ep-text-muted);
  opacity: 0.6;
  text-align: center;
}


/* ==========================================================================
   10. FAQ / ACCORDION
   
   Elementor Free has a built-in Accordion widget.
   Apply class "ep-faq" to the Accordion widget container.
   ========================================================================== */

body.ep-brand .ep-faq {
  max-width: 700px;
}

body.ep-brand .ep-faq .elementor-accordion {
  border: none !important;
}

body.ep-brand .ep-faq .elementor-accordion-item {
  border-bottom: 1px solid rgba(230, 224, 218, 0.6) !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
}

body.ep-brand .ep-faq .elementor-tab-title {
  font-family: var(--ep-font-body) !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  color: var(--ep-text) !important;
  padding: 24px 0 !important;
  background: transparent !important;
}

body.ep-brand .ep-faq .elementor-tab-title .elementor-accordion-icon {
  color: var(--ep-pink) !important;
}

body.ep-brand .ep-faq .elementor-tab-title a {
  color: var(--ep-text) !important;
  text-decoration: none !important;
}

body.ep-brand .ep-faq .elementor-tab-content {
  font-family: var(--ep-font-body) !important;
  font-size: 0.88rem !important;
  line-height: 1.75 !important;
  color: var(--ep-text-muted) !important;
  padding: 0 0 24px !important;
  max-width: 620px;
  border: none !important;
  background: transparent !important;
}


/* ==========================================================================
   11. TESTIMONIALS
   
   Build as a grid of containers. Apply "ep-testimonial-card" to each.
   ========================================================================== */

body.ep-brand .ep-testimonial-card {
  background: var(--ep-white);
  border-radius: var(--ep-card-radius);
  padding: 32px;
  box-shadow: var(--ep-shadow-soft);
  border: 1px solid rgba(230, 224, 218, 0.6);
}

body.ep-brand .ep-testimonial-card blockquote,
body.ep-brand .ep-testimonial-card .ep-testimonial-quote {
  font-family: var(--ep-font-heading);
  font-size: 0.92rem;
  font-style: italic;
  color: var(--ep-text);
  line-height: 1.65;
  margin-bottom: 24px;
  border: none;
  padding: 0;
}

body.ep-brand .ep-testimonial-author strong {
  display: block;
  font-family: var(--ep-font-body);
  font-size: 0.85rem;
  color: var(--ep-text);
}

body.ep-brand .ep-testimonial-author span {
  font-size: 0.78rem;
  color: var(--ep-text-muted);
}

body.ep-brand .ep-testimonial-photo img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
}


.testimonial-portrait img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: top;
}

/* ==========================================================================
   12. PORTRAIT / TRAINER SECTION
   ========================================================================== */

body.ep-brand .ep-portrait-circle img {
  width: 408px;
  height: 408px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
}

body.ep-brand .ep-portrait-caption strong {
  display: block;
  font-family: var(--ep-font-heading);
  font-size: 1.01rem;
  color: var(--ep-text);
  font-weight: 400;
  margin-bottom: 4px;
}

body.ep-brand .ep-portrait-caption span {
  font-size: 0.98rem;
  color: var(--ep-text-muted);
}


/* ==========================================================================
   13. EMAIL FORM (for WPForms / Contact Form 7)
   
   Style override for email capture in the Final CTA section.
   ========================================================================== */

body.ep-brand .ep-email-form input[type="email"],
body.ep-brand .ep-email-form .wpforms-field input {
  font-family: var(--ep-font-body);
  font-size: 0.92rem;
  padding: 16px 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--ep-button-radius);
  background: rgba(255, 255, 255, 0.12);
  color: white;
  outline: none;
  transition: border-color 0.3s;
  width: 320px;
}

body.ep-brand .ep-email-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

body.ep-brand .ep-email-form input[type="email"]:focus {
  border-color: rgba(255, 255, 255, 0.6);
}

body.ep-brand .ep-email-form button[type="submit"],
body.ep-brand .ep-email-form .wpforms-submit {
  background: white;
  color: var(--ep-pink);
  padding: 16px 32px;
  border-radius: var(--ep-button-radius);
  font-family: var(--ep-font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

body.ep-brand .ep-email-form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}


/* ==========================================================================
   14. ELEMENTOR CONTAINER OVERRIDES
   
   Ensure Elementor's container system respects our max-width and spacing.
   ========================================================================== */

/* Override Elementor's default container max-width */
body.ep-brand .elementor-section .elementor-container {
  max-width: var(--ep-container-max);
}

/* Remove Elementor's default widget spacing where we handle it manually */
body.ep-brand .ep-no-gap .elementor-widget:not(:last-child) {
  margin-bottom: 0;
}

/* Overflow visible on sections (for blob images that bleed) */
body.ep-brand .ep-overflow-visible,
body.ep-brand .ep-overflow-visible > .elementor-container {
  overflow: visible !important;
}


/* ==========================================================================
   15. RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 1024px) {

  body.ep-brand .ep-footer .elementor-container {
    flex-wrap: wrap;
  }

  body.ep-brand .ep-portrait-circle img {
    width: 336px;
    height: 336px;
  }
}

@media (max-width: 768px) {

  body.ep-brand h1,
  body.ep-brand h1.elementor-heading-title {
    font-size: 2.6rem !important;
  }

  body.ep-brand h2,
  body.ep-brand h2.elementor-heading-title {
    font-size: 2rem !important;
    margin-bottom: 36px !important;
  }

  body.ep-brand h3,
  body.ep-brand h3.elementor-heading-title {
    font-size: 1.2rem !important;
  }

  body.ep-brand .ep-section-standard {
    padding-top: var(--ep-section-padding-mobile) !important;
    padding-bottom: var(--ep-section-padding-mobile) !important;
  }

  body.ep-brand .ep-section-large {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
  }

  body.ep-brand .ep-portrait-circle img {
    width: 280px;
    height: 280px;
  }

  body.ep-brand .ep-email-form input[type="email"] {
    width: 100%;
  }


}

@media (max-width: 480px) {

  body.ep-brand h1,
  body.ep-brand h1.elementor-heading-title {
    font-size: 2.2rem !important;
  }

  body.ep-brand h2,
  body.ep-brand h2.elementor-heading-title {
    font-size: 1.8rem !important;
  }
}


/* ==========================================================================
   16. UTILITY CLASSES
   ========================================================================== */

/* Center content */
.ep-text-center { text-align: center; }
.ep-text-left { text-align: left; }

/* Max-width helpers */
.ep-max-w-narrow { max-width: 620px; }
.ep-max-w-medium { max-width: 800px; }

/* Hero subtitle max-width */
body.ep-brand .ep-hero-subtitle {
  max-width: 460px;
}

/* Spacing helpers */
.ep-mb-0 { margin-bottom: 0 !important; }
.ep-mb-sm { margin-bottom: 18px !important; }
.ep-mb-md { margin-bottom: 36px !important; }
.ep-mb-lg { margin-bottom: 52px !important; }
.ep-mb-xl { margin-bottom: 80px !important; }
.ep-mt-0 { margin-top: 0 !important; }

/* Gap helpers for Elementor flex containers */
.ep-gap-sm { gap: 14px !important; }
.ep-gap-md { gap: 28px !important; }
.ep-gap-lg { gap: 48px !important; }
.ep-gap-xl { gap: 64px !important; }

/* Grayscale logos (certification badges) */
body.ep-brand .ep-logo-grayscale {
  max-width: 80px !important;
}

body.ep-brand .ep-logo-grayscale img,
body.ep-brand .ep-logo-grayscale svg {
  max-height: 25px !important;
  width: auto !important;
  height: auto !important;
  filter: grayscale(100%);
  opacity: 0.75;
}

/* Hero portrait (if using raw photo without blob composite) */
body.ep-brand .ep-hero-portrait img {
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
}
/* ==========================================================================
   17. MISC
   ========================================================================== */


/* Training path card numbers — gradient text */
body.ep-brand .ep-num-gradient .elementor-heading-title {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 3rem;
  font-weight: 400;
  line-height: 1;
  background: linear-gradient(135deg, #FF8A65 0%, #E83E8C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Training path card — gradient top accent line */
body.ep-brand .ep-card-accent {
  position: relative;
  overflow: hidden;
}
body.ep-brand .ep-card-accent::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #FF8A65, #E83E8C);
}

/* round corners for video testimonial  */
body.ep-brand .ep-video-rounded .elementor-wrapper {
  border-radius: 16px;
  overflow: hidden;
}

.video-frame {
    max-width: 720px;
    margin: 0 auto 56px;
    background: white;
    border-radius: 16px;
    padding: 0px 10px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

.video-quote v1-quote {
    font-size: 1.1rem;
    color: white;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 20px;
}
.video-quote .author {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.82rem;
    line-height: 1.5;
}

.video-quote .author strong {
    display: block;
    font-weight: 600;
    color: white;
    font-size: 0.88rem;
    margin-bottom: 2px;
}


body.ep-brand .ep-about-photo-panel {
  background: linear-gradient(135deg, #FF8A65 0%, #E83E8C 100%);
  position: relative;
  overflow: hidden;
}
body.ep-brand .ep-about-photo-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('http://emotions-paedagogik.org/wp-content/uploads/2026/02/business-24.png') center center / cover no-repeat;
  z-index: 0;
}

/* ABOUT THE INSTITUTE PANEL ON HOMEPAGE */
body.ep-brand .ep-about-photo-panel {
  background: linear-gradient(135deg, #FF8A65 0%, #E83E8C 100%);
  position: relative;
  overflow: hidden;
}
body.ep-brand .ep-about-photo-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('http://emotions-paedagogik.org/wp-content/uploads/2026/02/business-24-1.png') center center / cover no-repeat;
  z-index: 0;
}
body.ep-brand .ep-about-photo-panel::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(0,0,0,0.35) 0%, transparent 100%);
  z-index: 1;
}
body.ep-brand .ep-about-photo-panel > .elementor-element {
  position: relative;
  z-index: 2;
}

body.ep-brand .ep-faq .elementor-tab-title {
  background: transparent !important;
}
body.ep-brand .ep-faq .elementor-tab-content {
  background: transparent !important;
}

/* STYLING FAQ ON HOMEPAGE */
body.ep-brand .ep-faq .elementor-accordion-item {
  border: none !important;
  border-bottom: 1px solid #E6E0DA !important;
}
/* HOST SECTION ON ENTRY COURSE PAGE */
.ep-trainer-text.e-con {
  max-width: 560px !important;
}

/* ==========================================================================
   17. MOBILE MENU (UAE Nav Menu responsive dropdown)
   
   Works WITH UAE's native dropdown behavior — no position:fixed override.
   CTA menu item has class: ep-mobile-cta (set in WP Menus > CSS Classes)
   ========================================================================== */

/* --- Hide the CTA menu item on desktop (separate Button widget handles it) --- */
@media (min-width: 1026px) {
  .ep-header .hfe-nav-menu .ep-mobile-cta {
    display: none !important;
  }
}

/* --- Hamburger & close icon: clean, no border --- */
.ep-header .hfe-menu-toggle {
  border: none !important;
  background: none !important;
  box-shadow: none !important;
}

/* --- Mobile styles (≤1025px) --- */
@media (max-width: 1025px) {

  /* Dropdown panel styling */
  .ep-header ul.hfe-nav-menu,
  .ep-header ul.hfe-nav-menu[style] {
    background: #FFFFFF !important;
    padding: 16px 32px 32px !important;
    border-top: 1px solid #E6E0DA !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08) !important;
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    margin-left: 0 !important;
  }

  /* Nav link list items */
  .ep-header .hfe-nav-menu > li.menu-item {
    border-bottom: 1px solid #E6E0DA !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    float: none !important;
    display: block !important;
  }

  .ep-header .hfe-nav-menu > li.menu-item:first-child {
    border-top: 1px solid #E6E0DA !important;
  }

  /* Nav link text */
  .ep-header .hfe-nav-menu > li.menu-item > a,
  .ep-header .hfe-nav-menu > li.menu-item > .hfe-menu-item {
    font-family: 'Libre Baskerville', Georgia, serif !important;
    font-size: 1.25rem !important;
    font-weight: 400 !important;
    color: #3A3A3A !important;
    padding: 20px 4px !important;
    display: block !important;
    line-height: 1.3 !important;
    background: none !important;
  }

  .ep-header .hfe-nav-menu > li.menu-item > a:hover {
    color: #E83E8C !important;
  }

  /* Active page link */
  .ep-header .hfe-nav-menu > li.current-menu-item > a {
    font-weight: 700 !important;
    color: #3A3A3A !important;
  }

  /* --- CTA button: pink pill --- */
  .ep-header .hfe-nav-menu > li.ep-mobile-cta {
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    margin-top: 24px !important;
    padding: 0 !important;
  }

  .ep-header .hfe-nav-menu > li.ep-mobile-cta > a,
  .ep-header .hfe-nav-menu > li.ep-mobile-cta > .hfe-menu-item {
    background: #E83E8C !important;
    color: #FFFFFF !important;
    font-family: 'Source Sans 3', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    text-align: center !important;
    padding: 16px 32px !important;
    border-radius: 24px !important;
    display: block !important;
    transition: background 0.25s ease !important;
  }

  .ep-header .hfe-nav-menu > li.ep-mobile-cta > a:hover {
    background: #d1357d !important;
    color: #FFFFFF !important;
  }
  
.ep-header .hfe-nav-menu > li.ep-mobile-cta > a:hover {
    background: #d1357d !important;
    color: #FFFFFF !important;
  }

  /* Keep header logo + hamburger in one row */
  .ep-header .elementor-container,
  .ep-header .elementor-container > .elementor-element {
    flex-wrap: nowrap !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  /* Lang switcher in mobile header bar */
  .ep-header .lang-switch {
    display: flex !important;
    font-size: 0.68rem !important;
    padding: 2px 2px !important;
    margin-right: 4px !important;
  }

  .ep-header .lang-switch a {
    padding: 3px 8px !important;
  }
}
  
}


/* ==========================================================================
   18.  RESPONSIVE ADJUSTEMENTS
   ========================================================================== */

@media (max-width: 767px) {
  .ep-sticky-sidebar {
    position: static !important;
    top: auto !important;
  }
}
@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
  }
}

/* ============================================================
   ACTIVECAMPAIGN FORM — Brand overrides
   Targets AC form with ID _form_1 embedded across pages
   ============================================================ */

/* Reset AC's garish default wrapper */
#_form_1,
form#_form_1,
._form_1 #_form_1 {
  background: transparent !important;
  color: #3A3A3A !important;
  max-width: 560px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  font-family: 'Source Sans 3', sans-serif !important;
  box-shadow: none !important;
  border: none !important;
}

/* Form title — use brand heading font */
#_form_1 ._form-title {
  font-family: 'Libre Baskerville', serif !important;
  font-size: 22px !important;
  font-weight: 400 !important;
  color: #3A3A3A !important;
  margin: 0 0 12px !important;
  line-height: 1.3 !important;
}

/* Intro text */
#_form_1 ._html-code p {
  font-family: 'Source Sans 3', sans-serif !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  color: #6B6B6B !important;
  margin: 0 0 20px !important;
}

/* Input fields */
#_form_1 input[type="text"],
#_form_1 input[type="email"] {
  background: #fff !important;
  color: #3A3A3A !important;
  border: 1px solid #E6E0DA !important;
  border-radius: 6px !important;
  padding: 14px 16px !important;
  font-size: 16px !important;
  font-family: 'Source Sans 3', sans-serif !important;
  height: auto !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

#_form_1 input[type="text"]:focus,
#_form_1 input[type="email"]:focus {
  border-color: #E83E8C !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(232, 62, 140, 0.12) !important;
}

/* Labels & legends */
#_form_1 ._form-label,
#_form_1 ._row label,
#_form_1 legend {
  color: #6B6B6B !important;
  font-family: 'Source Sans 3', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

/* Checkbox row */
#_form_1 ._row._checkbox-radio label {
  color: #6B6B6B !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  display: inline !important;
}

#_form_1 ._row._checkbox-radio input[type="checkbox"] {
  margin-right: 8px !important;
  accent-color: #E83E8C !important;
}

/* Submit button */
#_form_1 ._submit {
  background: #E83E8C !important;
  color: #fff !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 14px 32px !important;
  font-family: 'Source Sans 3', sans-serif !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  cursor: pointer !important;
  width: auto !important;
  transition: background 0.2s ease, transform 0.2s ease !important;
}

#_form_1 ._submit:hover {
  background: #d1357d !important;
  transform: translateY(-1px) !important;
}

/* Hide AC branding */
#_form_1 ._form-branding {
  display: none !important;
}

/* Required asterisk */
#_form_1 .field-required {
  color: #E83E8C !important;
}

/* Form spacing */
#_form_1 ._form_element {
  margin-bottom: 16px !important;
}

/* Thank-you state */
#_form_1 ._form-thank-you {
  font-family: 'Source Sans 3', sans-serif !important;
  font-size: 16px !important;
  color: #3A3A3A !important;
  padding: 20px !important;
  background: rgba(232, 62, 140, 0.06) !important;
  border-radius: 8px !important;
  text-align: center !important;
}

/* Mobile */
@media (max-width: 767px) {
  #_form_1 {
    padding: 0 8px !important;
  }
  #_form_1 ._submit {
    width: 100% !important;
  }
}