/* ==========================================================
   PINNACLE FORENSICS — CLEAN MASTER CSS (PASTE ALL)
   Location: Appearance → Customize → Additional CSS
========================================================== */


/* ==========================================================
   1) GLOBAL BUTTON BASELINE (Elementor buttons)
========================================================== */
a.elementor-button.elementor-button-link,
.elementor a.elementor-button.elementor-button-link{
  background-color: #2469E0 !important;
  color: #ffffff !important;
  border-radius: 12px !important;
  border: 2px solid transparent !important;

  padding: 10px 22px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.2px !important;

  box-shadow: none !important;
  text-decoration: none !important;
  transition: background-color 0.18s ease-in-out, transform 0.12s ease-in-out;
}

a.elementor-button.elementor-button-link:hover,
.elementor a.elementor-button.elementor-button-link:hover,
a.elementor-button.elementor-button-link:focus,
.elementor a.elementor-button.elementor-button-link:focus{
  background-color: #1F56C2 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

a.elementor-button.elementor-button-link:active,
.elementor a.elementor-button.elementor-button-link:active{
  transform: translateY(1px);
}


/* ==========================================================
   2) SECONDARY / GHOST BUTTON (.pf-secondary-btn)
========================================================== */
.pf-secondary-btn a.elementor-button.elementor-button-link,
.pf-secondary-btn a.elementor-button.elementor-button-link:visited{
  background-color: transparent !important;
  background-image: none !important;
  color: #2469E0 !important;

  border: 2px solid #2469E0 !important;
  border-radius: 12px !important;

  padding: 10px 22px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;

  box-shadow: none !important;
  text-shadow: none !important;
}

.pf-secondary-btn a.elementor-button.elementor-button-link:hover,
.pf-secondary-btn a.elementor-button.elementor-button-link:focus{
  background-color: #2469E0 !important;
  color: #ffffff !important;
  border-color: #2469E0 !important;
  text-shadow: none !important;
}


/* ==========================================================
   3) HERO BUTTON OVERRIDE (.pf-hero-btn)
========================================================== */
.pf-hero-btn a.elementor-button.elementor-button-link{
  padding: 12px 26px !important;
  border-radius: 14px !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
}


/* ==========================================================
   4) FORCE CTA WIDGET BUTTONS TO MATCH (.pf-cta-btn)
========================================================== */
.pf-cta-btn a,
.pf-cta-btn button{
  background-color: #2469E0 !important;
  color: #ffffff !important;

  border-radius: 12px !important;
  border: 2px solid transparent !important;

  padding: 10px 22px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.2px !important;

  box-shadow: none !important;
  text-decoration: none !important;
  transition: background-color 0.18s ease-in-out, transform 0.12s ease-in-out;
}

.pf-cta-btn a:hover,
.pf-cta-btn button:hover,
.pf-cta-btn a:focus,
.pf-cta-btn button:focus{
  background-color: #1F56C2 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.pf-cta-btn a:active,
.pf-cta-btn button:active{
  transform: translateY(1px);
}


/* ==========================================================
   5) DISABLE ENTRANCE ANIMATIONS SITEWIDE
========================================================== */
.elementor-invisible,
.elementor-animated,
.animated{
  animation: none !important;
  transform: none !important;
  opacity: 1 !important;
}
/* ==========================================================
   6) REMOVE IMAGE SHADOWS SITEWIDE
========================================================== */
img{
  box-shadow: none !important;
}


/* ==========================================================
   7) ELEMENTSKIT TESTIMONIALS (wrapper: .pf-testimonials)
========================================================== */
.pf-testimonials,
.pf-testimonials .elementor-container,
.pf-testimonials .elementor-widget-container{
  box-shadow: none !important;
  background: transparent !important;
}

.pf-testimonials .swiper-wrapper,
.pf-testimonials .slick-track{
  display: flex !important;
  align-items: stretch !important;
}

.pf-testimonials .swiper-slide,
.pf-testimonials .slick-slide{
  height: auto !important;
  display: flex !important;
}

.pf-testimonials .elementskit-single-testimonial,
.pf-testimonials .ekit-testimonial,
.pf-testimonials .ekit-testimonial--item,
.pf-testimonials .elementskit-testimonial-card,
.pf-testimonials .elementskit-testimonial{
  width: 100% !important;
  height: 100% !important;

  background: #fff !important;
  border: 1px solid rgba(0,0,0,0.08) !important;
  border-radius: 14px !important;
  box-shadow: 0 6px 18px rgba(0,0,0,0.10) !important;

  text-align: left !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 26px 28px !important;
}

.pf-testimonials .elementskit-single-testimonial *,
.pf-testimonials .ekit-testimonial *,
.pf-testimonials .ekit-testimonial--item *{
  text-align: left !important;
}

.pf-testimonials .elementskit-star-rating,
.pf-testimonials .elementskit-rating,
.pf-testimonials .ekit-star-rating,
.pf-testimonials .ekit-rating,
.pf-testimonials .rating,
.pf-testimonials .stars{
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
}

.pf-testimonials .elementskit-testimonial-content,
.pf-testimonials .ekit-testimonial--content,
.pf-testimonials .ekit-testimonial-content,
.pf-testimonials .elementskit-commentor-content{
  flex: 1 1 auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.pf-testimonials .elementskit-profile-info,
.pf-testimonials .ekit-testimonial--meta,
.pf-testimonials .ekit-testimonial-meta,
.pf-testimonials .elementskit-commentor-bio{
  margin-top: auto !important;
  padding-top: 16px !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
  display: block !important;
  text-align: left !important;
}


/* ==========================================================
   8) GLOBAL TEXT RHYTHM
========================================================== */
.elementor .elementor-widget-container > :first-child{
  margin-top: 0 !important;
}

.elementor .elementor-widget-container > :last-child{
  margin-bottom: 0 !important;
}

.elementor .elementor-widget-text-editor p{
  margin: 0 !important;
}

.elementor .elementor-widget-text-editor p + p{
  margin-top: 14px !important;
}

.elementor .elementor-widget-text-editor ul,
.elementor .elementor-widget-text-editor ol{
  margin: 8px 0 12px 0 !important;
  padding-left: 1.25em !important;
}

.elementor .elementor-widget-text-editor li{
  margin: 0 0 8px 0 !important;
}

.elementor .elementor-widget-text-editor li:last-child{
  margin-bottom: 0 !important;
}

@media (max-width: 767px){
  .elementor .elementor-widget-text-editor p + p{
    margin-top: 12px !important;
  }

  .elementor .elementor-widget-text-editor li{
    margin-bottom: 10px !important;
  }
}


/* ==========================================================
   9) READABLE TEXT MEASURE UTILITY (.pf-text-measure)
========================================================== */
@media (min-width: 768px){
  .pf-text-measure .elementor-widget-container{
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }
}

.pf-text-measure p,
.pf-text-measure li{
  text-align: left;
}


/* ==========================================================
   10) READY CTA LINK STYLE (.pf-ready-cta)
========================================================== */
.pf-ready-cta a{
  color: #2469E0;
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.pf-ready-cta a:hover{
  text-decoration-thickness: 2px;
}


/* ==========================================================
   11) TABLEPRESS — TABLE #4 ONLY
   Requirement:
   - TablePress → Table 4 → Extra CSS Classes: pf-upcoming-training
   - Wrap the TablePress widget/container with class: pf-table-scroll
     (Elementor container → Advanced → CSS Classes)
========================================================== */

/* Base table styling */
#tablepress-4.pf-upcoming-training.tablepress{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #e9eef6;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

/* Header */
#tablepress-4.pf-upcoming-training.tablepress thead th{
  background: #2469E0;
  color: #fff;
  font-weight: 700;
  padding: 14px 16px;
  border: 0;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
}

#tablepress-4.pf-upcoming-training.tablepress thead tr:first-child th:first-child{
  border-top-left-radius: 12px;
}

#tablepress-4.pf-upcoming-training.tablepress thead tr:first-child th:last-child{
  border-top-right-radius: 12px;
}

/* Body */
#tablepress-4.pf-upcoming-training.tablepress tbody td{
  padding: 14px 16px;
  border-top: 1px solid #e9eef6;
  vertical-align: middle;
  text-align: center;
}

#tablepress-4.pf-upcoming-training.tablepress tbody tr:nth-child(even) td{
  background: #f7f9fc;
}

/* First column (Course names) left aligned in BODY only */
#tablepress-4.pf-upcoming-training.tablepress tbody td:first-child{
  text-align: left;
}

/* Links */
#tablepress-4.pf-upcoming-training.tablepress a{
  color: #2469E0;
  text-decoration: underline;
  font-weight: 600;
}

#tablepress-4.pf-upcoming-training.tablepress tbody td:first-child a{
  color: #111;
  text-decoration: none;
  font-weight: 600;
}

#tablepress-4.pf-upcoming-training.tablepress tbody td:first-child a:hover{
  color: #2469E0;
  text-decoration: underline;
}

/* Optional: Enroll button style if using class .pf-enroll-btn in table HTML */
#tablepress-4.pf-upcoming-training.tablepress .pf-enroll-btn{
  display: inline-block !important;
  background-color: #2469E0 !important;
  color: #ffffff !important;
  text-decoration: none !important;

  padding: 10px 22px !important;
  border-radius: 12px !important;

  font-weight: 700 !important;
  font-size: 0.9rem !important;
  line-height: 1.2 !important;

  border: none !important;
  box-shadow: none !important;
  white-space: nowrap !important;
}

#tablepress-4.pf-upcoming-training.tablepress .pf-enroll-btn:hover{
  background-color: #1F56C2 !important;
  color: #ffffff !important;
}

/* Mobile/tablet: allow swipe scroll inside wrapper only */
@media (max-width: 1024px){
  .pf-table-scroll{
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }

  .pf-table-scroll table{
    width: max-content;
    min-width: 100%;
  }

  /* Prevent awkward wrapping in key columns */
  #tablepress-4 td.column-2,
  #tablepress-4 td.column-5,
  #tablepress-4 th.column-2,
  #tablepress-4 th.column-5{
    white-space: nowrap;
  }

  /* Flyer link stays on one line */
  #tablepress-4 td.column-6 a{
    white-space: nowrap;
  }
}


/* ==========================================================
   12) HERO / CTA OVERRIDES
========================================================== */

/* Hero secondary button override (expert witness pages) */
.pf-hero-btn-secondary .elementor-button{
  padding: 14px 22px;
  font-size: 1rem;
  line-height: 1em;
}

/* Make both hero buttons the same size (only in this hero) */
.pf-expert-hero .pf-hero-ctas .elementor-button{
  padding: 14px 22px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1em;
  box-sizing: border-box;
}

@media (min-width: 768px) and (max-width: 1024px){
  /* Make the CTA container align children left */
  .pf-hero-ctas{
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  /* Elementor often centers buttons via wrapper text-align */
  .pf-hero-ctas .elementor-button-wrapper{
    text-align: left !important;
    width: 100%;
  }

  /* Ensure the button itself isn't auto-centered */
  .pf-hero-ctas .elementor-button{
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* If any widget-level centering is forcing it */
  .pf-hero-ctas .elementor-widget-button{
    align-self: flex-start !important;
  }
}


/* ==========================================================
   13) BPA HANDPRINT MOBILE IMAGE CONTROL
========================================================== */
@media (max-width: 767px){
  .pf-bpa-handprint img{
    width: 100%;
    max-height: 260px; /* try 240–300px */
    object-fit: cover;
    object-position: center;
    display: block;
  }
}
/* Contact form checkbox spacing + alignment */
.pf-contact-form .elementor-field-type-checkbox .elementor-field-subgroup,
.pf-contact-form .elementor-field-type-acceptance .elementor-field-subgroup{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pf-contact-form .elementor-field-type-checkbox .elementor-field-option,
.pf-contact-form .elementor-field-type-acceptance .elementor-field-option{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
}

.pf-contact-form .elementor-field-type-checkbox input[type="checkbox"],
.pf-contact-form .elementor-field-type-acceptance input[type="checkbox"]{
  margin: 0 !important;
  position: relative;
  top: 6px;
  flex: 0 0 auto;
}

.pf-contact-form .elementor-field-type-checkbox label,
.pf-contact-form .elementor-field-type-acceptance label{
  margin: 0 !important;
  line-height: 1.35;
}