/* sticky header */

@media screen and (min-width: 800px) {
	.site-header {
 top: 0;
 position: sticky;
 width: 100%!important;
}
}

.tags-links {
	color:#fff;
}

.tags-links a {
	color:#fff;
	background-color: #0878bd;
	border-radius: 5px;
	padding: .3rem;
	margin: .2rem;
	
}

.tags-links a:hover {
	background-color: #c62893;
	color:#fff!important;
	
	
}

/* blog tags */

.ast-badge-tax {
	padding: 0.15rem!important;
	font-weight: 500;
}

/* Mobile Menu */

.menu-toggle, 
.main-header-menu-toggle, 
.ast-mobile-menu-trigger-minimal {
	box-shadow: none!important;
}


 .ast-menu-toggle {
	box-shadow: none;
}

.ast-menu-toggle:focus {
	outline: none;
	color:#293574!important;
} */

/* Grid Posts */

/* .eael-grid-post .eael-entry-wrapper, .eael-grid-post .eael-entry-footer {
    padding: 15px 0px 15px 15px !important;
	
} */

@media screen and (min-width: 800px) {
    .eael-entry-wrapper {
	
	display: flex;
	flex-direction: column;
	justify-content : space-between;
	height:320px!important;
 
}

}



/* 
Layout shift fixes */
@media (min-width: 922px) {
	.site-content .ast-container {
		display: block!important;
	}
}

/* Video guides */
.pps-video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

/* 2 columns on tablets */
@media (min-width: 600px) {
  .pps-video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 3 columns on desktops */
@media (min-width: 900px) {
  .pps-video-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Video card styling */
.pps-video-card {
  border: 1px solid #ddd;
  padding: 15px;
  background: #fff;
  border-radius: 3px;
  text-align: center;
}

.pps-video-card img {
  max-width: 100%;
  border-radius: 4px;
  margin-bottom: 10px;
}

/* Filter buttons */
.pps-filter-bar {
  text-align: center;
  margin-bottom: 20px;
}

.pps-filter-btn {
  margin: 0 5px;
  padding: 8px 15px;
  border: none;
  cursor: pointer;
  border-radius: 25px;
}

.pps-filter-btn.active {
  background: #293574;
  color: #fff;
}

/* Dropdown for mobile/tablet */
.pps-filter-dropdown {
  display: none;
  margin: 0 auto 20px;
  padding: 8px;
  font-size: 16px;
}

@media (max-width: 768px) {
  .pps-filter-bar {
    display: none;
  }
  .pps-filter-dropdown {
    display: block;
  }
}

/* Lightbox overlay */
#pps-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Lightbox content */
.pps-lightbox-content {
  position: relative;
  background: #000;
  padding: 10px;
  border-radius: 8px;
  max-width: 90%;
  max-height: 80%;
}

.pps-lightbox-content iframe {
  width: 100%;
  height: 450px;
  border-radius: 6px;
}

/* Close button */
.pps-lightbox-close {
  position: absolute;
  top: -35px;
  right: -10px;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
}

@media (max-width: 768px) {
  .pps-lightbox-content iframe {
    height: 250px;
  }
}

/*divider */
.divider {
  position: relative;
  
}

.divider::after {
  content: "";
  position: absolute;
  left: 25%;
  bottom: 0.1rem;         
  width: 50%;
  height: 2px;
  background: #0878BD;   
}

/*Header Accent*/
.header-accent {
	color: #0878BD;
}

/* Service Grid */
.pps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
	max-width: 1600px;
}

@media (max-width: 1024px) {
    .pps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .pps-grid {
        grid-template-columns: 1fr;
    }
}

.pps-card {
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow .2s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pps-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}

.pps-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 24px;
    text-decoration: none;
    color: inherit;
    padding: 20px;
}

.pps-card-media {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
}

/* .pps-card-media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
} */
.pps-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

.pps-card-title {
    font-size: 18px;
    line-height: 1.3;
    margin: 0;
    margin-bottom: 4px;
}

.pps-card-excerpt {
    font-size: 14px;
    color: #555;
    margin: 0;
    margin-bottom: 8px;
}

.pps-card-cta {
/*     background-color: var(--e-global-color-astglobalcolor6); */
	background-color: #293574;
    font-size: 16px;
    font-weight: bold;
    color: #e2e2e2;
	text-align: center;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 0.5rem 1.5rem;
    width: 100%;
    display: block;
    margin-top: auto;
    margin-left: 0;
    margin-right: 0;

    transition: box-shadow 0.3s ease;
}

/* Fallback for CSS variable if not defined */
/* .pps-card-cta {
    background-color: #114BCD;
} */

.pps-card-cta:hover {
    box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.3);
}

/* Collapse behaviour */
.pps-grid-wrapper[data-collapsed='true'] .pps-hidden-when-collapsed {
    display: none;
}

.pps-more-wrap {
    text-align: center;
    margin-top: 16px;
}

.pps-more-btn {
    border: 1px solid #ccc;
    border-radius: 999px;
    padding: 10px 16px;
    background: #fff;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s;
	margin-top: 2rem;
}

.pps-more-btn:hover {
    background: #f5f5f5;
    border-color: #999;
}

/* Web to lead form */

/* Container */
.pam-lead-form {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
   box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
	border-radius: 10px;
}

@media screen and (max-width: 600px) {
	.pam-lead-form {
		padding: 1rem; 
	}
}

/* Labels */
.pam-lead-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #293574;
	font-size: 18px;
}


/* Text fields, select, textarea */
.pam-lead-form input[type="text"],
.pam-lead-form input[type="email"],
.pam-lead-form input[type="tel"],
.pam-lead-form select,
.pam-lead-form textarea {
	background: transparent;
  width: 100%;
  padding: 10px 14px;
	border: 1px transparent;
  border-bottom: 1px solid #293574;
  border-radius: 10px;
  font-size: 18px;
  margin-bottom: 2rem;
  box-sizing: border-box;
  color: #293574;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
}

.pam-lead-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* Checkbox inline with label */
.pam-lead-form input[type="checkbox"] {
  margin-right: 8px;
}

/* reCAPTCHA block */
.pam-lead-form .g-recaptcha {
  margin: 20px 0;
}

/* Submit button */
.pam-lead-form input[type="submit"] {
  display: block;
  background: #293574;
  color: #fff;
  padding: 14px 26px;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  width: 50%;
  text-align: center;
  margin: 0 auto;
  transition: all 0.2s;
}

.pam-lead-form input[type="submit"]:hover {
  background: #293574;
}

/* Focus styles for accessibility */
.pam-lead-form input:focus,
.pam-lead-form select:focus,
.pam-lead-form textarea:focus {
  outline: 2px solid #293574;
  outline-offset: 2px;
}

.pam-lead-form .required {
  color: #d00;
  margin-left: 2px;
}

.pam-lead-form .optin {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0 4px;
  line-height: 1.5;
  color: #293574;
  font-size: 18px;
  font-weight: 500;
}

.pam-lead-form .optin input[type="checkbox"] {
  margin-top: 3px;
}

.pam-lead-form .form-hint {
  margin: 20px 0 22px;
  color: #293574;
  font-size: 15px;
}

.pam-lead-form .form-hint a {
  text-decoration: underline;
}

.pam-lead-form .hp-field {
  position: absolute !important;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/*  Turn off Elementor's "stretched section" behaviour */
.elementor-section.elementor-section-stretched {
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Constrain classic Elementor sections */
.elementor-section > .elementor-container {
    max-width: 1700px !important;  /* Adjust as needed */
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Constrain Elementor Flexbox containers */
.elementor-page .e-con {
    max-width: 1700px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* 404 page */

.ast-404-layout-1 h1.page-title {
	color: #000 !important;
}

.elementor-kit-45 button {
	box-shadow:none !important;
}
