@media only screen and (min-width:700px) {
.plyr {
top: 50%;
left: 50%;
transform: translate(50%, 50%);
margin-top: 300px;
max-width: 50%;
}}
/* Footer Text Contrast & Alignment Overrides */
.site-footer-primary-section-wrapper,
.footer-widget-area,
.footer-widget-area p,
.footer-widget-area a,
.footer-widget-area h3,
.footer-widget-area h4,
.footer-widget-area li {
    color: #222222 !important;
    text-align: left !important;
}

.footer-widget-area h3,
.footer-widget-area h4 {
    color: #111111 !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
}

.footer-widget-area a {
    color: #0056b3 !important;
    text-decoration: none !important;
}

.footer-widget-area a:hover {
    color: #003366 !important;
    text-decoration: underline !important;
}
/* Perfect Left Alignment for Footer Widget 1 Title and Content */
.footer-widget-area[class*="footer-widget-1"] h3,
.footer-widget-area[class*="footer-widget-1"] h4,
.footer-widget-area[class*="footer-widget-1"] p {
    margin-left: 0 !important;
    padding-left: 0 !important;
    text-align: left !important;
}
/* Force solid white background and clear text for all submenus */
.main-header-menu .sub-menu, 
.main-header-menu .sub-menu li, 
.main-header-menu .sub-menu a {
    background-color: #ffffff !important;
    color: #1a202c !important;
}

/* Hover state for submenus */
.main-header-menu .sub-menu a:hover {
    background-color: #f5f7fa !important;
    color: #0066cc !important;
}
/* Remove max-width restrictions on Astra header elements */
.ast-builder-menu-1,
.ast-builder-menu-1 .main-header-menu,
.ast-flex,
.site-navigation {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 auto !important;
}

/* Align menu items neatly with consistent spacing */
.main-header-menu {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 15px !important;
}

/* Ensure links stay on a single line */
.main-header-menu > li.menu-item {
    margin: 0 !important;
    white-space: nowrap !important;
}
/* Base Sticky Header */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  transition: background-color 0.4s ease, color 0.4s ease;
  background-color: transparent; /* Default start color */
}

/* Color states triggered by scrolling sections */
.main-header.is-dark {
  background-color: #1a1a1a;
  color: #ffffff;
}

.main-header.is-white {
  background-color: #ffffff;
  color: #333333;
}

.main-header.is-blue {
  background-color: #0d47a1;
  color: #ffffff;
}