/*=======================================================

   Custom CSS for Ajax Loop Search
=======================================================*/
.ajax-loop-input-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 400px;
}

.ajax-loop-input {
    width: 100%;
    padding: 10px 45px 10px 15px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 25px;
    outline: none;
    transition: all 0.3s ease;
}

.ajax-loop-input:focus {
    border-color: #0073aa;
    box-shadow: 0 0 5px rgba(0, 115, 170, 0.3);
}

.ajax-loop-btn {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #555;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
}

.ajax-loop-btn:hover {
    color: #0073aa;
}

.ajax-loop-results {
    margin-top: 30px;
    display: grid;
    gap: 30px;
}

.ajax-loop-pagination {
    text-align: center;
    margin-top: 25px;
}

.ajax-loop-pagination button {
    background: #f5f5f5;
    border: none;
    margin: 0 4px;
    padding: 8px 14px;
    border-radius: 5px;
    cursor: pointer;
}

.ajax-loop-pagination button.active {
    background: #0073aa;
    color: #fff;
}
#ajax-loop-results .format-standard {
   /* margin-bottom: 10px; */
}
.ast-page-builder-template .hentry {
    margin: 0px 0px 50px 0px !important;
}
.blog-categories label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-transform: capitalize;
  float: left;
}

.blog-categories input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #0073e6;
  cursor: pointer;
  margin-right:20px;
}

.news-categories label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-transform: capitalize;
  float: left;
}

.news-categories input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #0073e6;
  cursor: pointer;
}
.breadcrumb {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
  font-family: 'League Spartan';
  width: 900px;
}

.breadcrumb a {
  color: #2A8FFF;
  text-decoration: none;
  font-size: 16px;
  line-height: 32px;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  color: #003055;
  font-size: 16px;
  line-height: 32px;
  font-family: 'League Spartan';
}
.author-box-wrapper .author-box {
  display: flex;
  align-items: flex-start;
  background-color: #E8F2FA;
  padding: 25px 30px;
  border-radius: 12px;
  margin-top: 40px;
}
.author-box-wrapper .author-image img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 25px;
}
.author-box-wrapper .author-info h4 {
  margin-bottom: 8px;
  color: #003366;
  font-size: 18px;
}
.author-box-wrapper .author-info p {
  margin: 0 0 8px;
  color: #333;
  line-height: 1.6;
}
.author-box-wrapper .author-readmore {
  color: #0073aa;
  text-decoration: underline;
  font-weight: 500;
}
.author-box-wrapper .author-readmore:hover {
  color: #005a87;
}

.custom-author-box {
  display: flex;
  align-items: flex-start;
  background-color: #E8F2FA; /* Light blue */
  padding: 25px 30px;
  border-radius: 12px;
  margin-top: 40px;
  gap: 20px;
}

.custom-author-box .author-image img {
  max-width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 4px #fff;
}

.custom-author-box .author-content h4 {
  margin: 0 0 10px;
  color: #002E5D;
  font-size: 20px;
  font-weight: 700;
}

.custom-author-box .author-content p {
  margin: 0 0 12px;
  color: #333;
  line-height: 1.6;
  font-size: 15px;
}

.custom-author-box .author-content strong {
  color: #000;
}

.custom-author-box .author-readmore {
  color: #0073aa;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.3s;
}

.custom-author-box .author-readmore:hover {
  color: #005b87;
}

/* Responsive */
@media (max-width: 768px) {
  .custom-author-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .custom-author-box .author-image {
    margin-bottom: 15px;
  }

  .custom-author-box .author-content {
    max-width: 90%;
  }
}


/*=======================================================
   Authore Meta Shortcode CSS
=======================================================*/
.author-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 8px 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

/* Left group: avatar + info */
.author-meta__left {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* avatar */
.author-meta__avatar-wrap {
  flex: 0 0 44px;
  display: inline-block;
}
.author-meta__avatar-wrap img{
  border-radius: 50px;
  max-width: 58px;
}
.author-meta__avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: block;
  object-fit: cover;
  border: 2px solid rgba(61,44,119,0.06);
}

/* author info stacked vertically (small label + name) */
.author-meta__info {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.author-meta__label {
  font-family: 'League Spartan', sans-serif;
  font-size: 20px;
  line-height: 100%;
  font-weight: 700;
  color: #003055; /* subtle text */
  margin-bottom: 2px;
  display: inline-block;
}
.author-meta__name {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: #003055;
  display: inline-block;
}

/* Right group: category pill + reading time pill aligned horizontally */
.author-meta__right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto; /* push to far right */
}

/* Pills */
.author-meta__category,
.author-meta__reading-time {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
  box-shadow: none;
}

/* Category colored pill (blue) */
.author-meta__category {
  background: #E4EEFA;
  color: #003055;
  border: 1px solid rgba(30,77,216,0.08);
  font-family: 'League Spartan', sans-serif;
  font-size: 14px;
  line-height: 32px;
}

/* Reading time neutral pill */
.author-meta__reading-time {
  color: #8E8E8E;
  border: 1px solid rgba(11,22,33,0.04);
  font-family: 'League Spartan', sans-serif;
  font-size: 14px;
  line-height: 32px;
}

/* Compact spacing for smaller screens (stack right block under left) */
@media (max-width: 640px) {
  .author-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .author-meta__right {
    margin-left: 0;
    width: 100%;
    justify-content: flex-start;
    gap: 8px;
  }
}

.author-related-posts {
    margin-top: 40px;
}
.author-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}
.author-related-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 15px;
    transition: 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.author-related-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.author-related-item img {
    border-radius: 8px;
    width: 100%;
    height: auto;
}
.related-title {
    font-size: 16px;
    margin-top: 10px;
    color: #333;
}

/* =======================================================
   HubSpot Form CSS
=======================================================*/
.hubspot-form-container {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.hubspot-form-container iframe {
  border: none !important;
  width: 100% !important;
}

/* ===========================================
 * Custom Pagination
 * ==================================*/
/* === Custom Circular Pagination Styling === */
.elementor-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
  font-family: 'Inter', sans-serif;
}

/* Default page numbers (links and spans) */
.elementor-pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  line-height: 36px;
  border-radius: 50%;
  background-color: #fde4c8; /* soft beige background */
  color: #222;
  font-size: 15px;
  text-decoration: none; /* remove underline */
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Remove underline for all links explicitly */
.elementor-pagination .page-numbers:link,
.elementor-pagination .page-numbers:visited,
.elementor-pagination .page-numbers:hover,
.elementor-pagination .page-numbers:active {
  text-decoration: none;
}

/* Active/current page */
.elementor-pagination .page-numbers.current {
  background-color: #e67e22; /* orange highlight */
  color: #fff !important; /* white text for active page */
  text-decoration: none;
}

/* Hover effect */
.elementor-pagination .page-numbers:hover {
  background-color: #e67e22;
  color: #fff;
}

/* Prev/Next buttons */
.elementor-pagination .page-numbers.prev,
.elementor-pagination .page-numbers.next {
  background-color: transparent;
  color: #222;
  width: auto;
  height: auto;
  border-radius: 0;
  padding: 0 8px;
  text-decoration: none;
}

/* Hover effect for Prev/Next */
.elementor-pagination .page-numbers.prev:hover,
.elementor-pagination .page-numbers.next:hover {
  color: #e67e22;
}

/* Dots (...) styling */
.elementor-pagination .page-numbers.dots {
  background: transparent;
  color: #666;
  cursor: default;
}

/* Responsive */
@media (max-width: 480px) {
  .elementor-pagination {
    flex-wrap: wrap;
    gap: 8px;
  }
}

.news_card_heading a {
    text-decoration: unset !important;
}
.blog_card__heading a {
    text-decoration: unset !important;
}

/* Force each checkbox + label onto its own line */
.lgefep-filter-bar-list {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 8px; /* space between each label */
}

.lgefep-filter-bar-list .lgefep-filter-bar-list-item {
  display: flex !important;
  align-items: center;
}

.lgefep-filter-bar-list .lgefep-filter-bar-list-item input[type="checkbox"] {
  margin-right: 8px;
  flex-shrink: 0;
}

.twae-wrapper .twae-icon .twae_icon_text, .twae-wrapper .twae-icon i{ display:none;}
.twae-icon{background-color:#fff !important;}

p.issue_list {
    font-size: 14px;
    line-height: 20px;
}
.blog-grid-heading a {
    text-decoration: none !important;
}

.donate-paypal-link{ 
	text-decoration: underline;
    text-decoration-color:#fff;
	pointer: hand;
}

#news-post-filter .e-filter-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

#news-post-filter .news-filter-checkbox {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* Each filter item in its own row */
#news-post-filter .filter-with-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 50px; 
}

/* Checkbox styling */
#news-post-filter .news-filter-checkbox {
    margin: 0;
}

/* Ensure button text aligns well */
#news-post-filter .e-filter-item {
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
}

/*  ====== BLOG =============*/
#blog-post-filter .e-filter-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

#blog-post-filter .news-filter-checkbox {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* Each filter item in its own row */
#blog-post-filter .filter-with-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 70px; 
}

/* Checkbox styling */
#blog-post-filter .news-filter-checkbox {
    margin: 0;
}

/* Ensure button text aligns well */
#blog-post-filter .e-filter-item {
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
}

.blog-detail-featured-image img {
    max-width: 800px !important;
}
.blog-detail-page img{ max-width:400px}
.craftdata-badges-wrapper {
    margin-bottom: 10px;
}
.craftdata-badge {
    background-color: #003055;
    color: #FFFFFF;
    border-radius: 1px;
    font-size: 16px;
    margin: 1px;
    font-family: "League Spartan", Sans-serif;
    font-weight: 300;
    text-transform: none;
    font-style: normal;
    text-decoration: none;
    line-height: 1.5em;
	padding: 10px 10px;
    border-radius: 10px 0px 0px 0px;
}
.author-container img {
    width: 100px;
}

/*==========  Loader CSS ===============*/
.ajax-loader {
    display: none;
    text-align: center;
    padding: 40px 0;
}

.ajax-loader .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #ddd;
    border-top-color: #0073aa;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}


.logos-section__wrapper .elementor-widget-image img{ width:230px;}
.search-result-form input {
    min-height: 40px !important;
	max-height: 16px;
}
.search-result-form button {
    min-height: 40px !important;
	max-height: 0px; !important;
	padding: 10px 20px 10px 20px !important;
}
.craftdata-badge-wrapper {
    margin-bottom: 10px;
}

.elementor-nav-menu .craftdata-badge-wrapper {
    display: none;
}
.blog-section__blog-block {
    height: 353.8px;
}
.no-results-message {
    padding: 20px;
    background: #fff5f5;
    border: 1px solid #ffcccc;
    border-radius: 8px;
    color: #cc0000;
    font-size: 16px;
    margin: 20px 0;
	text-align: center;
}
/*===========  Search result page ============= */
.custom-search-form {
	display: flex;
	align-items: center;
	gap: 8px;
	max-width: 350px;
	width: 100%;
	position: relative;
}

.custom-search-input {
	width: 100%;
	padding: 10px 40px 10px 12px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 15px;
}

.custom-search-btn {
	position: absolute;
	right: 0px;
	background: none;
	border: none;
	font-size: 18px;
	cursor: pointer;
	padding:10px 20px 10px 20px !important;
}

.custom-search-input:focus {
	outline: none;
	border-color: #2196F3;
	box-shadow: 0 0 0 2px rgba(33, 150, 243, .2);
}


#search-filter-form {
    display: flex !important;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 16px;
    width: 100%;
}

#search-filter-form {
   display: inline-flex !important;   /* key change */
    align-items: flex-end;
    gap: 16px;
    margin-left: auto;                 /* pushes form to right */
    width: auto !important;            /* prevent full-width */
}

/* Group */
.sf-group {
    display: flex;
    flex-direction: column;
}

/* Label */
.sf-label {
    margin-bottom: 10px;
    white-space: nowrap;
    font-family: "League Spartan", Sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #003055;
    line-height: 1.3em;
}

/* Fields */
#search-filter-form input,
#search-filter-form select,
#search-filter-form button {
    height: 42px;
}

#search-filter-form input,
#search-filter-form select {
    width: 330px;
}

