.mkp-button,
.mkp-button:hover {
  color: black;
  padding: 15px 25px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  font-weight: 700;
}

.mkp-div {
  text-align: center;
}

.filter-ico {
  font-size: 18px !important;
  margin: 0px 10px 0px 0px;
}

.facetwp-mobile-panel-trigger.opener,
.facetwp-mobile-panel-trigger.opener:hover {
  background-color: #d4d4d4;
  padding: 10px 50px 10px 50px;
  color: black;
  border: none;
}

.back-to-ad {
  display: inline-block;
  padding: 10px 15px;
  border-radius: 0.25rem;
  margin: 30px 0;
  color: #fff;
  background: #007cff;
}

.back-to-ad a {
  color: #fff;
  font-size: 11pt;
  font-family: sans-serif;
}

.flex-wrapper {
  display: inline-flex;
  width: 100%;
  border: 10px;
  border: 1px solid #e5e5e5;
  padding: 16px;
  margin-top: 15px;
  border-radius: 0.25rem;
}

.flex-thumb {
  width: 66%;
  float: left;
  margin-right: 15px;
  overflow: hidden;
}

.flex-thumb amp-img {
  border-radius: 5px;
}

.flex-title-right-wrapper .title {
  display: inline;
  color: #b40000;
  font-size: 20px;
}

.flex-title-right-wrapper p {
  font-size: 12pt;
}

.pagination-wrapper {
  margin-top: 20px;
}

.flex-title-right-wrapper {
  width: inherit;
}

@media screen and (max-width: 640px) {
  .flex-wrapper {
    display: inline-block;
    margin-top: 5px;
  }

  .flex-thumb {
    width: 100%;
    margin: 0 0 10px;
  }

  .flex-title-right-wrapper p {
    margin: 10px 0 15px;
  }

  .flex-title-right-wrapper .button-link {
    display: block;
    text-align: center;
  }

  .extra-fields0 th {
    width: auto;
  }
}

.primary-menu {
  width: 100%;
}

.suggestion {
  max-height: 75vh;
  overflow-y: scroll;
  background-color: white;
  overflow: auto;
  padding: 5px;
}

.big-menu-adp {
  position: fixed;
  width: 500px;
}

.bb-search-dropdown {
  width: 500px;
}

.search-field-top {
  border: 1px solid #ccc !important;
  border-radius: 4px;
  box-sizing: border-box;
  height: 44px !important;
}

.search-form {
  max-width: 500px;
  position: relative;
  margin: 0 auto !important;
}

.search-title {
  display: block;
  padding: 7px;
  border: 0px solid #ddd;
  font-weight: 200;
  border-bottom: solid 1px #f3f3f3;
}

.search-heading {
  background-color: #cecece;
  pointer-events: none;
  color: #484848;
  font-weight: bold;
}

.search-description {
  display: block;
  font-size: 13px;
  color: #8d4921;
  font-style: italic;
}

.search-image {
  width: 40px;
  height: auto;
  margin-right: 10px;
}

.suggestion a {
  display: flex;
}

@media screen and (max-width: 520px) {

  .suggestion {
    width: calc(100vw - 20px) !important;
    max-width: initial;
  }

  .bb-search-dropdown {
    width: calc(100vw - 22px) !important;
    max-width: initial;
  }
}

.mainpage-location .carousel-container.article-carousel {
  gap: 15px;
  margin-bottom: 10px;
}
.mainpage-location.ai-articles .carousel-nav{
	background-color: #033356;
}
.mainpage-location.ai-articles .image-slider{
    border-top: 2px solid #033356;
    background-color: #fafbfc;
}

.mainpage-location .image-slider {
  flex: 0 0 310px;
  position: relative;
  overflow: hidden;
  padding: 20px;
  vertical-align: top;
  border-radius: 10px;
  border-top: 2px solid #e6ae34;
  background-color: #cfccc81c;
  box-shadow: 0 0 5px -2px;
  margin: 10px 0;
}

.carousel-img-article {
  position: relative;
  width: 270px;
  height: 180px;
  overflow: hidden;
  margin-bottom: 15px;
  color: #484848;
}

.mainpage-location .carousel-img-article img {
  width: 100%;
  height: 100%;
  object-fit:cover;
}

.slider-text {
  font-size: 1rem;
  width: 270px;
  overflow: hidden;
  white-space: normal;
  font-weight: 500;
  line-height: 1.4em;
  letter-spacing: -0.2px;
  font-family: "Quicksand", Sans-serif;
}

.mainpage-location .carousel-container.article-cards {
  align-items: stretch;
}

.mainpage-location .article-card {
  display: flex;
}

.mainpage-location .article-card .carousal-link {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.mainpage-location .article-card .card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 270px;
}

.mainpage-location .article-card .card-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 8px;
  font-family: "Quicksand", sans-serif;
}

.mainpage-location .article-card .card-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  color: #111827;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mainpage-location .article-card .card-excerpt {
  font-size: 15px;
  line-height: 1.5;
  color: #111827;
  margin: 0 0 16px;
  font-family: "Quicksand", sans-serif;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mainpage-location .article-card .card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  font-size: 0.8125rem;
  font-family: "Quicksand", sans-serif;
}

.mainpage-location .article-card .card-read-min {
  color: #6b7280;
}

.mainpage-location .article-card .card-readmore {
  color: #2563eb;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s ease;
  font-size: 14px;
}

.mainpage-location .article-card .card-readmore .arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.mainpage-location .article-card:hover .card-readmore .arrow {
  transform: translateX(3px);
}

.mainpage-location .article-card.cap-card {
  border-top-color: #0099dc;
}

.mainpage-location .article-card.cap-card .card-label {
	color: #008ad8;
	text-transform: none;
	font-size: 13px;
}

.mainpage-location .article-card .cap-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background-color: #0f172a;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 6px;
  font-family: "Quicksand", sans-serif;
}

.mainpage-location .article-card .card-label.cap-label {
  display: inline-block;
  align-self: flex-start;
  border-radius: 3px;
  padding: 3px 12px;
  background: linear-gradient(135deg, #0066CC 0%, #00A3E0 100%);
  color: white;
  font-size: 14px;
}

.mainpage-location .article-card.cap-card .card-excerpt{
	display: block;
	margin-bottom: 10px;
}

.mainpage-location .article-card .article-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 4px 0 16px;
  padding: 15px 4px;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.mainpage-location .article-card .article-author__avatar {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: #e6effe;
  color: #2563eb;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Quicksand", sans-serif;
}

.mainpage-location .article-card .article-author__content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mainpage-location .article-card .article-author__label {
  margin: 0 0 2px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
  font-family: "Quicksand", sans-serif;
}

.mainpage-location .article-card .article-author__content h3 {
  margin: 2px 0 2px;
  font-size: 15px;
  line-height: 1.3;
  color: #111827;
  font-family: "Quicksand", sans-serif;
}

.mainpage-location .article-card .article-author__content span {
  font-size: 13px;
  line-height: 1.4;
  color: #111827;
  margin-bottom: 10px;
  font-family: "Quicksand", sans-serif;
}

.mainpage-location .article-card .article-author__content a {
  font-size: 13px;
  color: #0a66c2;
  text-decoration: none;
}

.mainpage-location .article-card .article-author__content a:hover {
  text-decoration: underline;
}
.mainpage-location.ai-articles h2 {
  color: #033356;
}

/* Chatbot carousel */
.ai-chatbots {
  margin: 0 0 2rem;
}

.ai-chatbots h2 {
  margin-bottom: 10px;
}

.ai-chatbots p {
  margin-bottom: 2rem;
  font-size: 20px;
  text-align: center;
  font-family: "Quicksand", sans-serif;
}

.mainpage-location .carousel-wrapper {
  position: relative;
}

.mainpage-location .carousel-container {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  align-items: center;
}

.mainpage-location .carousel-container::-webkit-scrollbar {
  display: none;
}

.mainpage-location .carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 34px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 10;
  color: #fff;
  background-color: #e6ae35;
  box-shadow: 0 0 10px #7e7c7ca1;
}

.mainpage-location .carousel-nav:hover {
  transform: translateY(-50%) scale(1.1);
}

.mainpage-location .carousel-nav.prev {
  display: none;
  left: 15px;
}

.mainpage-location .carousel-wrapper:hover .carousel-nav.prev {
  display: flex;
}

.mainpage-location .carousel-nav.next {
  right: 15px;
}

@media only screen and (max-width: 1439px) {

  .mainpage-location .carousel-nav.next,
  .mainpage-location .carousel-wrapper:hover .carousel-nav.prev {
    display: flex;
  }
}

.chatbots-carousel .chatbot-slider {
  flex: 0 0 370px;
  padding: 20px 15px 20px;
  background: #343434;
  border: 1px solid #33333312;
  transition: all 0.3s ease-in-out;
  border-radius: 10px;
  box-shadow: 0 0 5px -2px;
}

.chatbots-carousel .chatbot-slider:hover {
  background: #000000;
  -webkit-box-shadow: -3px 2px 4px rgb(0 0 0 / 25%);
  box-shadow: -3px 2px 4px rgb(0 0 0 / 25%);
}

.chatbots-carousel .chatbot-slider:hover .chatbot-name h4 {
  text-decoration: underline;
}

.chatbots-carousel .chatbot-slider a {
  display: block;
  height: 100px;
}

.chatbots-carousel .chatbot-slider .chatbot-img {
  display: table-cell;
  height: 100px;
  width: 100px;
  overflow: hidden;
  margin-bottom: 20px;
  color: #484848;
  box-shadow: rgb(100 100 111 / 67%) 0px 7px 29px 0px;
  border-radius: 50%;
  border: 2px solid #fed400;
}

.chatbots-carousel .chatbot-slider .chatbot-img img {
  object-fit: cover;
  border-radius: 50%;
  height: 100%;
  width: 100%;
}

.chatbots-carousel .chatbot-slider .chatbot-name {
  display: table-cell;
  vertical-align: top;
  padding-left: 15px;
}

.chatbots-carousel .chatbot-slider .chatbot-name h3 {
  color: #fed400;
  font-size: 20px;
  font-family: "Quicksand", sans-serif;
  margin: 10px 0;
}

.chatbots-carousel .chatbot-slider .chatbot-name p {
  margin-bottom: 0 !important;
  color: #d8d8d8;
  font-size: 14px;
  font-family: "Quicksand", sans-serif;
  white-space: initial;
  text-align: left;
}

.chatbots-carousel .chatbot-slider .chatbot-name p.ai-greeting {
  font-size: 12px;
}

.chatbots-carousel .chatbot-slider a:hover {
  text-decoration: none;
}

@media screen and (min-width:320px) and (max-width:650px) {
  .ai-chatbots h2 {
    margin-top: 0 !important;
    margin-bottom: 10px;
  }

  .ai-chatbots p {
    font-size: 15px;
  }

  .image-carousel h2 {
    margin-top: 0 !important;
  }
}

@media screen and (max-width: 1024px) {
  .back-to-ad {
    margin-left: 20px;
  }

  .back-to-ad a {
    font-size: 10pt;
  }
}

@media screen and (max-width: 799px) {
  .header-search-wrap .search-form {
    max-width: inherit !important;
  }
}

/* Image carousel */
.image-carousel {
    margin: 3rem 0;
}

.image-carousel h2 {
    text-align: center;
}

.image-carousel amp-img img {
    display: block;
    width: 250px !important;
    min-width: auto !important;
}

.image-carousel .image-carousel-container {
	position: relative;
	width: 100%;
	overflow: hidden;
	padding: 5px 0 40px;
}

.image-carousel .carousel-wrapper {
	position: relative;
	margin: 0;
	overflow: hidden;
}

.image-carousel .carousel-track {
	display: flex;
	animation: scroll 30s linear infinite;
	width: fit-content;
}

.image-carousel .carousel-track:hover {
	animation-play-state: paused;
}

.image-carousel .media-logo {
	flex-shrink: 0;
	max-width: 350px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 50px;
	position: relative;
}

.image-carousel .media-logo img {
	width: auto;
	object-fit: cover;
	transition: all 0.3s ease;
}

.image-carousel .media-logo:hover img {
	opacity: 1;
	transform: scale(1.05);
}

.image-carousel .carousel-wrapper::before,
.image-carousel .carousel-wrapper::after {
	content: '';
	position: absolute;
	top: 0;
	width: 100px;
	height: 100%;
	z-index: 2;
	pointer-events: none;
}

.image-carousel .carousel-wrapper::before {
	left: 0;
}

.image-carousel .carousel-wrapper::after {
	right: 0;
}

@keyframes scroll {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

@media (max-width: 768px) {
	.image-carousel .media-logo {
		max-width: 250px;
		padding: 0 20px;
	}
}
