.elementor-54699 .elementor-element.elementor-element-1d347d1 > .elementor-container{max-width:1140px;}.elementor-54699 .elementor-element.elementor-element-3bab5d5:not(.elementor-motion-effects-element-type-background) > .elementor-widget-wrap, .elementor-54699 .elementor-element.elementor-element-3bab5d5 > .elementor-widget-wrap > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#EDF9F5;}.elementor-54699 .elementor-element.elementor-element-3bab5d5 > .elementor-element-populated{transition:background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;}.elementor-54699 .elementor-element.elementor-element-3bab5d5 > .elementor-element-populated > .elementor-background-overlay{transition:background 0.3s, border-radius 0.3s, opacity 0.3s;}.elementor-widget-image .widget-image-caption{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );text-transform:var( --e-global-typography-primary-text-transform );color:var( --e-global-color-primary );}.elementor-widget-button .elementor-button{background-color:var( --e-global-color-accent );font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-54699 .elementor-element.elementor-element-d677b9f > .elementor-element-populated{margin:0px 0px 50px 20px;--e-column-margin-right:0px;--e-column-margin-left:20px;}.elementor-widget-icon-box.elementor-view-stacked .elementor-icon{background-color:var( --e-global-color-primary );}.elementor-widget-icon-box.elementor-view-framed .elementor-icon, .elementor-widget-icon-box.elementor-view-default .elementor-icon{fill:var( --e-global-color-primary );color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-widget-icon-box .elementor-icon-box-title, .elementor-widget-icon-box .elementor-icon-box-title a{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );text-transform:var( --e-global-typography-primary-text-transform );}.elementor-widget-icon-box .elementor-icon-box-title{color:var( --e-global-color-primary );}.elementor-widget-icon-box:has(:hover) .elementor-icon-box-title,
					 .elementor-widget-icon-box:has(:focus) .elementor-icon-box-title{color:var( --e-global-color-primary );}.elementor-widget-icon-box .elementor-icon-box-description{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-54699 .elementor-element.elementor-element-4c606a5 .elementor-icon-box-wrapper{align-items:start;gap:15px;}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-54699 .elementor-element.elementor-element-f488f0a .elementor-icon-box-wrapper{align-items:start;gap:15px;}.elementor-54699 .elementor-element.elementor-element-cd63a1d .elementor-icon-box-wrapper{align-items:start;gap:15px;}.elementor-54699 .elementor-element.elementor-element-77b0b6e1{overflow:hidden;}@media(min-width:768px){.elementor-54699 .elementor-element.elementor-element-3bab5d5{width:20.042%;}.elementor-54699 .elementor-element.elementor-element-d677b9f{width:79.958%;}}/* Start custom CSS for text-editor, class: .elementor-element-1c83b6d *//* Defensive styling to prevent Specialties pills from breaking when edited visually */
.ccfam-specialties-wrap .elementor-text-editor,
.ccfam-specialties-wrap .elementor-text-editor p {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px 12px !important;
  margin: 0 !important; /* Removes standard vertical paragraph margins */
}/* End custom CSS */
/* Start custom CSS for section, class: .elementor-element-1d347d1 *//* ==========================================
   CCFAM Trainer Profile Template Styles
   ========================================== */

/* Global section wrapper styling */
.ccfam-trainer-section {
  background: #f7fafb !important;
  padding: clamp(40px, 6vw, 80px) 20px;
}

/* Main profile card (Inner Section wrapper) */
.ccfam-trainer-card {
  background: #ffffff !important;
  border: 1px solid #e9eef0 !important;
  border-radius: 24px;
  box-shadow: 0 18px 34px rgba(35, 48, 52, 0.12);
  padding: clamp(24px, 4vw, 40px) !important;
}

/* 
   FORCE SIDE-BY-SIDE LAYOUT
   Targets both Container-based engines (.e-con) and Section/Column engines (.elementor-container)
*/
.ccfam-trainer-card,
.ccfam-trainer-card > .elementor-container {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 30px !important;
  align-items: stretch !important;
}

/* Left Sidebar Column Sizing */
.ccfam-trainer-sidebar {
  width: 35% !important;
  max-width: 35% !important;
  flex: 0 0 35% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

/* Right Details Column Sizing (Offset exactly to match gap spacing) */
.ccfam-trainer-details {
  width: calc(65% - 30px) !important;
  max-width: calc(65% - 30px) !important;
  flex: 1 1 auto !important;
}

/* 
   BLUE / MINT SIDEBAR BACKGROUND
   Universal fallback rules targeting both newer Containers and legacy Column wrappers
*/
.ccfam-trainer-sidebar,
.ccfam-trainer-sidebar > .elementor-widget-wrap,
.ccfam-trainer-sidebar > .elementor-column-wrap {
  background-color: #edf9f5 !important; /* Soft mint background */
  border-radius: 18px !important;
}

/* Smart Padding Logic: Prevents double-padding on older Section/Column frameworks */
.ccfam-trainer-sidebar {
  padding: 36px 24px !important;
  box-sizing: border-box !important;
}
.ccfam-trainer-sidebar:not(.e-con) {
  padding: 0 !important; /* Resets outer column wrapper in standard sections */
}
.ccfam-trainer-sidebar:not(.e-con) > .elementor-widget-wrap,
.ccfam-trainer-sidebar:not(.e-con) > .elementor-column-wrap {
  padding: 36px 24px !important; /* Safely moves padding to internal wrap */
}

/* Spacing layout for elements inside sidebar */
.ccfam-trainer-sidebar .elementor-widget {
  width: 100% !important;
  margin-bottom: 16px !important;
  position: relative !important;
}
.ccfam-trainer-sidebar .elementor-widget:last-child {
  margin-bottom: 0 !important;
}

/* Perfectly Round Circle Avatar Fix (Prevents Egg Shape) */
.ccfam-trainer-avatar,
.ccfam-trainer-avatar .elementor-widget-container,
.ccfam-trainer-avatar .elementor-image {
  width: 200px !important;
  height: 200px !important;
  max-width: 200px !important;
  max-height: 200px !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 50% !important;
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.ccfam-trainer-avatar img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  border: 6px solid #ffffff !important;
  box-shadow: 0 8px 20px rgba(11, 166, 192, 0.12) !important;
}

/* Trainer Name (Updated to be half its original size) */
.ccfam-trainer-name .elementor-heading-title {
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: clamp(11px, 1.5vw, 14px) !important; /* Exactly half of clamp(22px, 3vw, 28px) */
  font-weight: 800;
  color: #3f4146 !important;
  margin: 18px 0 6px !important;
  line-height: 1;
}

/* Under-name License/Creds */
.ccfam-trainer-creds .elementor-heading-title {
  font-size: 13px;
  font-weight: 800;
  color: #087b90 !important; /* Deep contrast teal */
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 20px !important;
}

/* Role Badge */
.ccfam-trainer-badge .elementor-button {
  background-color: #0ba6c0 !important;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 24px !important;
  border-radius: 8px !important;
  text-transform: none;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(11, 166, 192, 0.15);
}

/* Details Right Column Layout */
.ccfam-trainer-details > .elementor-widget-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

/* Heading & Icon Row formatting using exact brand blue */
.ccfam-detail-heading .elementor-icon-box-wrapper {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  text-align: left !important;
}

/* Target both FontAwesome and SVG icons specifically */
.ccfam-detail-heading .elementor-icon,
.ccfam-detail-heading .elementor-icon i,
.ccfam-detail-heading .elementor-icon svg,
.ccfam-detail-heading .elementor-icon svg path {
  color: #0ba6c0 !important; /* Original brand blue */
  fill: #0ba6c0 !important;
  font-size: 22px !important;
}

.ccfam-detail-heading .elementor-icon-box-title {
  margin: 0 !important;
  color: #0ba6c0 !important; /* Original brand blue */
  font-size: 14px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
}

/* Details Paragraph copy */
.ccfam-trainer-bio p,
.ccfam-credentials-list p {
  color: #3f4146 !important;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Specialty Pill Tags Grid */
.ccfam-specialties-wrap .elementor-text-editor {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.ccfam-specialties-wrap span {
  background: rgba(11, 166, 192, 0.08) !important;
  color: #087b90 !important;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 18px !important;
  border-radius: 8px !important;
  display: inline-block;
  white-space: nowrap;
}

/* Mobile Responsive Breakpoints */
@media (max-width: 980px) {
  .ccfam-trainer-card,
  .ccfam-trainer-card > .elementor-container {
    flex-direction: column !important;
    gap: 24px !important;
  }
  .ccfam-trainer-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }
  .ccfam-trainer-details {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }
}


/* Perfect vertical alignment for Icon Box Headings (Bio, Specialties, Key Credentials) */
.ccfam-detail-heading .elementor-icon-box-wrapper {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important; /* Vertically centers the icon and the text content */
  gap: 12px !important;
  text-align: left !important;
}

/* Reset default bottom margins on the icon container wrapper */
.ccfam-detail-heading .elementor-icon-box-icon {
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
}

/* Reset default bottom margins on the text content wrapper */
.ccfam-detail-heading .elementor-icon-box-content {
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
}

/* Force standard line-height and strip default heading margins to keep the text exactly centered */
.ccfam-detail-heading .elementor-icon-box-title {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important; /* Keeps uppercase text perfectly centered with the icon height */
}

/* 
   HIGH-SPECIFICITY BULLETED LIST TO HORIZONTAL PILLS
   These .elementor-54699 .elementor-element.elementor-element-1d347d1s are structured to override any aggressive theme styles.
*/
.ccfam-specialties-wrap ul,
.elementor-widget.ccfam-specialties-wrap ul,
.elementor-widget-text-editor.ccfam-specialties-wrap .elementor-text-editor ul {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 10px 12px !important;
  list-style: none !important; /* Forces bullets to hide */
  list-style-type: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.ccfam-specialties-wrap li,
.elementor-widget.ccfam-specialties-wrap li,
.elementor-widget-text-editor.ccfam-specialties-wrap .elementor-text-editor li {
  background-color: rgba(11, 166, 192, 0.08) !important; /* Soft brand blue */
  color: #087b90 !important; /* High contrast dark blue */
  font-size: 13px !important;
  font-weight: 800 !important;
  padding: 8px 18px !important;
  border-radius: 8px !important;
  display: inline-block !important;
  white-space: nowrap !important;
  margin: 0 !important; /* Removes vertical margin overrides */
}/* End custom CSS */