/* Custom CSS with Tailwind @apply support */

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

/* WordPress Admin Bar offset */
body.admin-bar #masthead,
body.admin-bar header {
  top: var(--wp-admin--admin-bar--height, 32px);
}
@media screen and (max-width: 600px) {
  body.admin-bar #masthead,
  body.admin-bar header {
    top: 0;
  }
}

/* FluentForm overrides to match React theme styling */
.fluentform.ff-default .ff-el-form-control {
  background-color: #F8FBFF !important;
  border-color: #EAF3FF !important;
  border-radius: 0.375rem !important;
  padding: 0.5rem 0.75rem !important;
  outline: 2px solid transparent !important;
  outline-offset: 2px !important;
  width: 100% !important;
  transition: all 0.2s !important;
}
.fluentform.ff-default .ff-el-form-control:focus {
  border-color: #0B5ED7 !important;
  box-shadow: 0 0 0 2px rgba(11, 94, 215, 0.1) !important;
}
.fluentform.ff-default .ff-btn-submit {
  background-color: #0B5ED7 !important;
  color: #ffffff !important;
  padding: 0.625rem 1rem !important;
  border-radius: 0.375rem !important;
  font-weight: 500 !important;
  width: 100% !important;
  border: none !important;
  cursor: pointer !important;
  transition: background-color 0.2s !important;
}
.fluentform.ff-default .ff-btn-submit:hover {
  background-color: #083B8A !important;
}

/* Custom CSS classes */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;  
  overflow: hidden;
}
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;  
  overflow: hidden;
}

/* Fluent Forms File Upload button styling override */
.fluentform .ff_upload_btn {
  background-color: #0B5ED7 !important;
  color: #ffffff !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 0.375rem !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  border: none !important;
  display: inline-block !important;
  transition: background-color 0.2s !important;
}
.fluentform .ff_upload_btn:hover {
  background-color: #083B8A !important;
}

/* Global Subtle favicon watermark overlay */
body::after {
  content: "";
  position: fixed;
  top: 55%;
  left: 85%;
  transform: translate(-50%, -50%);
  width: 450px;
  height: 450px;
  background-image: url('../images/favicon-web.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.012; /* Very gentle watermark */
  pointer-events: none;
  z-index: 30; /* Overlay on sections but below sticky header (z-50) */
}
@media screen and (max-width: 768px) {
  body::after {
    width: 250px;
    height: 250px;
    left: 50%;
    top: 50%;
    opacity: 0.015;
  }
}

/* Infinite Logo Slider/Marquee style (SwiperJS version) */
.partners-swiper {
  width: 100%;
}

.partners-swiper .swiper-wrapper {
  transition-timing-function: linear !important;
}

.partners-swiper .swiper-slide {
  user-select: none;
}
