/* body::before {
  content: "✅ New CSS Loaded";
  position: fixed;
  top: 0;
  left: 0;
  background: lime;
  color: black;
  padding: 5px;
  z-index: 9999;
}  */

.video-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
	font-family: 'Poppins', sans-serif !important;
}

@media (min-width: 768px) {
  .video-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .video-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.video-item {
  border: 1px solid #ddd;
  padding: 1rem;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s ease-in-out;
}
.video-item:hover {
  transform: scale(1.02);
	font-family: 'Poppins', sans-serif !important;
}
.video-item h2 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
	font-family: 'Poppins', sans-serif !important;
}
form {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
  align-items: center;
  justify-content: space-between;
  width: 100%;
	font-family: 'Poppins', sans-serif !important;
}
form input[type="text"],
form select {
  flex: 1 1 250px;
  padding: 0.75rem 1rem;
  padding-right: 2.5rem; /* make space for custom arrow */
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  background-color: white;
  font-family: 'Poppins', sans-serif !important;

  /* Remove native styling (removes native arrow) */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  /* Fix background rendering */
  background-clip: padding-box;
  -webkit-background-clip: padding-box;

  /* Custom dropdown arrow icon */
  background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='10' viewBox='0 0 24 24' width='10' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
}


/* Ensure text inputs don't get the dropdown arrow */
form input[type="text"] {
  background-image: none !important;
  padding-right: 1rem !important;
}

/* Additional Safari compatibility */
form select::-ms-expand {
  display: none;
}

form select:focus {
  outline: 2px solid #0073aa;
  outline-offset: 2px;
}
form button {
  background-color: #0073aa;
  color: white;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}
form button:hover {
  background-color: #005f8d;
}

.download-resources-btn {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;

  /* ✅ Ensure proper centering and wrapping */
  margin: 0 auto;
  max-width: 100%;
  text-align: center;
  white-space: nowrap;
}


.zip-size{
    text-align: center;
    display: block;
}

.video-resources {
  margin-top: 15px;
  padding: 10px;
  background: #f5f5f5;
  border-radius: 5px;
  text-align: center;
  box-sizing: border-box;
  overflow: hidden;

  /* ✅ Add this to ensure proper content containment */
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* WP Bakery Button Container Styles - Force consistent sizing */
.vc_row .wpb_wrapper .wvl-category-btn {
  width: 100% !important;
  /* height: 60px !important;
  min-height: 60px !important; */
  max-height: 60px !important;
  margin-bottom: 15px;
  box-sizing: border-box !important;
  padding: 8px 12px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.1 !important;
  white-space: normal !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  text-align: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  
  /* Custom button styling */
  color: #ffffff !important;
  border-color: #386082 !important;
  background-color: #386082 !important;
  border-radius: 100px !important;
  -moz-border-radius: 100px !important;
  -webkit-border-radius: 100px !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  border-width: 1px !important;
  border-style: solid !important;
  transition: background-color 0.3s ease !important;
}

/* Hover effect for category buttons */
.vc_row .wpb_wrapper .wvl-category-btn:hover {
  background-color: #000000 !important;
  border-color: #000000 !important;
  color: #ffffff !important;
}
/* Force all WP Bakery columns to be the same height */
.vc_inner .wpb_column {
  display: flex !important;
  align-items: stretch !important;
}

.vc_inner .wpb_column .vc_column-inner {
  display: flex !important;
  width: 100% !important;
  align-items: stretch !important;
}

.vc_inner .wpb_column .wpb_wrapper {
  display: flex !important;
  align-items: stretch !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 60px !important;
}

/* Mobile responsive adjustments for WP Bakery columns */
@media (max-width: 768px) {
  .vc_col-xs-6 {
    width: 50% !important;
  }
}

@media (max-width: 480px) {
  .vc_col-xs-6 {
    width: 100% !important;
  }
  
  .vc_inner .wpb_column .wpb_wrapper {
    min-height: 50px;
  }
  
  .vc_row .wpb_wrapper .wvl-category-btn {
    margin-bottom: 10px;
  }
}

/* Modal Styles */
.wvl-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  backdrop-filter: blur(5px);
}

.wvl-modal-content {
  position: relative;
  background-color: #fff;
  margin: 5% auto;
  padding: 0;
  width: 90%;
  max-width: 900px;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from { opacity: 0; transform: translateY(-50px); }
  to { opacity: 1; transform: translateY(0); }
}

.wvl-modal-header {
  padding: 20px 25px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wvl-modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
  color: #333;
}

.wvl-close {
  background: none;
  border: none;
  font-size: 28px;
  font-weight: bold;
  color: #aaa;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.wvl-close:hover {
  color: #000;
  background-color: #f0f0f0;
}

.wvl-modal-body {
  padding: 25px;
}

.wvl-modal-video {
  width: 100%;
  height: 400px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .wvl-modal-content {
    width: 95%;
    margin: 10% auto;
  }
  .wvl-modal-video {
    height: 250px;
  }
}

/* Removed conflicting reset styles to allow custom button styling */

/* Container for category buttons - only layout, no styling */
.wvl-categories-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0;
  width: 100%;
  padding: 0 1rem;
  box-sizing: border-box;
}

/* Mobile responsive fixes to prevent buttons from going off screen */
@media (max-width: 767px) {
  .wvl-categories-container {
    flex-direction: column;
    align-items: stretch;
    padding: 0 0.5rem;
    gap: 0.5rem;
  }
  
  /* Ensure buttons don't exceed container width on mobile */
  .wvl-category-btn.qbutton.center.default {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    text-align: center !important;
  }
}

@media (max-width: 480px) {
  .wvl-categories-container {
    padding: 0 0.25rem;
  }
  
  .wvl-category-btn.qbutton.center.default {
    font-size: 0.9rem !important;
    padding: 0.75rem 0.5rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 44px !important;
  }
}

/* Extra aggressive mobile fixes for actual devices */
@media (max-width: 390px) {
  .wvl-categories-container {
    padding: 0 0.125rem;
    margin: 0.5rem 0;
  }
  
  .wvl-category-btn.qbutton.center.default {
    min-width: unset !important;
    max-width: calc(100vw - 1rem) !important;
    width: calc(100vw - 1rem) !important;
    margin: 0.125rem 0 !important;
    padding: 0.75rem 0.25rem !important;
    font-size: 0.85rem !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 44px !important;
    line-height: 1.2 !important;
  }
}

/* Hide only the progress bar and timeline controls in thumbnail view */
.video-item .wistia_embed .w-bottom-bar,
.video-item .wistia_embed .w-playbar,
.video-item .wistia_embed .w-playbar-wrapper,
.video-item .wistia_embed .w-progress,
.video-item .wistia_embed .w-progress-bar {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
}

/* Ensure proper containment and positioning for the click overlay */
.video-item .wistia_embed {
  position: relative !important;
  overflow: hidden !important;
}

.video-item .wistia-click-overlay {
  pointer-events: auto !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-height: 200px !important;
  background: transparent !important;
  z-index: 10 !important;
  cursor: pointer !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  outline: none !important;
}

/* Ensure the overlay doesn't extend beyond its container */
.video-item {
  position: relative !important;
  overflow: visible !important;
}

/* Make sure category buttons have higher z-index than video overlays */
.wvl-category-btn,
.vc_row .wpb_wrapper .wvl-category-btn {
  position: relative !important;
  z-index: 100 !important;
}

a.cmc-newsletter-button.qbutton.center.default {
    font-family: 'Poppins', sans-serif !important;
}

button.wvl-category-btn.qbutton.center.default {
    font-family: Poppins, sans-serif;
}

form input[type="text"]::placeholder {
  font-family: 'Poppins', sans-serif !important;
}

/* Safari & iOS */
form input[type="text"]::-webkit-input-placeholder {
  font-family: 'Poppins', sans-serif !important;
}

/* Firefox */
form input[type="text"]::-moz-placeholder {
  font-family: 'Poppins', sans-serif !important;
}

/* Internet Explorer 10-11 */
form input[type="text"]:-ms-input-placeholder {
  font-family: 'Poppins', sans-serif !important;
}

/* Edge */
form input[type="text"]::-ms-input-placeholder {
  font-family: 'Poppins', sans-serif !important;
}

form input[type="text"]::placeholder,
form select::placeholder {
  font-family: 'Poppins', sans-serif !important;
  color: #999; /* Optional: adjust color if needed */
}



