/* Moves the home page rotator up to reduce whitespace */
/*  In your page stylesheet, with higher specificity */
.DnnModule .frame.frame-space-before-large {
  --frame-outer-spacing-before: 10px; /* Your desired small value */
}

.DnnModule .frame.frame-space-after-extra-large {
  --frame-outer-spacing-after: 10px; /* Your desired small value */
}
    .tns-item_content .container {
    max-width: 1200px !important;
    width: 100%;
  }
/* Adjust carousel to prevent content jumping */
  .carousel-item .tns-item_content {
    min-height: 380px;   /* ← start here — increase to 260px, 280px etc. until jump disappears */
  }

  /* Optional safeguard: force consistent height on all carousel items */
  .carousel-inner .carousel-item {
    min-height: 480px;   /* ← tune this based on your image height + text block; e.g. 500–600px */
  }
/* Hide/defeat search icon */  
.header-search .btn-link {
    --bs-btn-font-size: 1px;
}

/* Testimonial slider: show the full review text on desktop */
html body .edstr__TabTheme1 .ms-tabs-template.edsms_layout3 .ms-layer.edsms_slideDescription3 {
  height: auto !important;
  overflow: visible !important;
  max-width: 80% !important;
}
html body .edstr__TabTheme1 .ms-tabs-template.edsms_layout3 .ms-layer.edsms_slideTitle3 {
  bottom: auto !important;
  top: 20px !important;
}
/* Testimonial slider on phones: show the review text below the photo */
@media (max-width: 480px) {
  html body .edstr__TabTheme1 .ms-tabs-template.edsms_layout3 .ms-layer.edsms_slideTitle3 {
    top: 8px !important;
    right: 8px !important;
    margin: 0 8px 0 0 !important;
    font-size: 15px !important;
    line-height: 20px !important;
  }
  html body .edstr__TabTheme1 .ms-tabs-template.edsms_layout3 .ms-layer.edsms_slideDescription3 {
    display: block !important;
    position: absolute !important;
    top: 166px !important;
    bottom: auto !important;
    left: 0 !important;
    right: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    font-size: 13px !important;
    line-height: 19px !important;
    padding: 12px 14px !important;
  }
  html body .edstr__TabTheme1 .ms-tabs-template.edsms_layout3,
  html body .edstr__TabTheme1 .ms-tabs-template.edsms_layout3 .ms-view,
  html body .edstr__TabTheme1 .ms-tabs-template.edsms_layout3 .ms-slide,
  html body .edstr__TabTheme1 .ms-tabs-template.edsms_layout3 .ms-slide-layers,
  html body .edstr__TabTheme1 .ms-tabs-template.edsms_layout3 .ms-container,
  html body .edstr__TabTheme1 .ms-tabs-template.edsms_layout3 .ms-inner-controls-cont {
    height: 380px !important;
  }
}

